Method, device, equipment and storage medium for determining tobacco filling weight

By updating the preset filling weight and determining the standard weight range, the problem of inaccurate filling weight of cut tobacco is solved, filling accuracy and product stability are improved, and the efficiency and high quality of tobacco production are ensured.

CN117775768BActive Publication Date: 2024-09-13CHINA TOBACCO JIANGSU INDAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410095508.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2024-09-13
Estimated Expiration
2044-01-23

AI Technical Summary

Technical Problem

There are inaccuracies in the filling weight of cut tobacco during the storage and packing process, resulting in low equipment operation efficiency and unstable product quality, mainly due to weighing errors and instability of filling equipment.

Method used

By receiving the preset filling weight corresponding to the current filling box, and updating the preset filling weight based on the moisture detection result of the cut tobacco, it is determined whether the actual weight of the cut tobacco to be filled meets the preset conditions, and if so, the standard weight range is determined, and based on This range and the actual weight determine the target fill weight to ensure accurate filling.

Benefits of technology

It improves the accuracy of the filling weight of cut tobacco, ensures the stability and product quality of subsequent processes, ensures that the volume of materials in each filling box is consistent, reduces the impact of water loss, and improves tobacco production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117775768B
    Figure CN117775768B
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for determining the filling weight of tobacco shreds. The method includes: in the process of filling the target tobacco shreds, receiving a preset filling weight corresponding to the current filling box, and updating the preset filling weight based on the moisture detection result of the target tobacco shreds, wherein the preset filling weight is a theoretical filling weight determined based on the tobacco shreds filling process standard, and the target tobacco shreds include filled tobacco shreds and tobacco shreds to be filled; when it is determined that the actual weight of the tobacco shreds to be filled meets the preset conditions, determining the standard weight range corresponding to the preset filling weight; based on the standard weight range and the actual weight of the tobacco shreds to be filled, determining the target filling weight corresponding to the current filling box, so as to fill the tobacco shreds to be filled into the current filling box based on the target filling weight. The problem of low accuracy of tobacco shreds filling weight is solved, the accuracy of tobacco shreds filling weight is improved, and the stability of subsequent processes and product quality are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method, device, equipment and storage medium for determining tobacco filling weight. Background Art

[0002] In the tobacco production process, the storage and packaging of tobacco is crucial. Traditionally, tobacco is stored in cabinets. When it needs to be packed, the central control system will issue batch parameters containing information such as tobacco batch number, brand, and single box filling weight. Among them, the single box filling weight parameter is determined by the size of the tobacco box, process requirements, and the capacity of transportation and loading and unloading equipment.

[0003] In the relevant technical scheme for determining the filling weight of tobacco, different single-box filling weight parameters are set for different product brands. However, in actual operation, on the one hand, due to weighing errors, the total weight of the tobacco in the storage cabinet and the weighing during the packing process are inaccurate; on the other hand, the filling equipment is unstable, resulting in large differences between the filling weights of each box in the same filling batch; in summary, the relevant filling weight determination scheme may affect the equipment operation efficiency and product quality. Summary of the invention

[0004] The invention provides a method, device, equipment and storage medium for determining the filling weight of shredded tobacco, so as to improve the accuracy of the filling weight of shredded tobacco.

[0005] According to one aspect of the present invention, a method for determining tobacco filling weight is provided, the method comprising:

[0006] In the process of filling the target shredded tobacco, a preset filling weight corresponding to the current filling box is received, and the preset filling weight is updated based on the moisture detection result of the target shredded tobacco, wherein the preset filling weight is a theoretical filling weight determined based on the shredded tobacco filling process standard, and the target shredded tobacco includes the filled shredded tobacco and the shredded tobacco to be filled;

[0007] When it is determined that the actual weight of the tobacco shreds to be filled does not meet the preset condition, the tobacco shreds to be filled are filled into the current filling box based on the preset filling weight;

[0008] When it is determined that the actual weight of the shredded tobacco to be loaded meets the preset condition, determining a standard weight range corresponding to the preset loading weight;

[0009] Based on the standard weight range and the actual weight of the tobacco shreds to be loaded, a target loading weight corresponding to the current loading box is determined, so that the tobacco shreds to be loaded are loaded into the current loading box based on the target loading weight.

[0010] Further, determining that the actual weight of the tobacco to be loaded meets the preset conditions includes:

[0011] Determine the actual weight of the tobacco to be filled based on the total weight of the tobacco corresponding to the target tobacco and the weight of the tobacco corresponding to the filled tobacco;

[0012] The ratio of the actual weight of the tobacco to be loaded to the total weight of the tobacco is determined. If the ratio is less than or equal to a preset ratio, it is determined that the actual weight of the tobacco to be loaded meets the preset condition.

[0013] Furthermore, the determining of the number of standard filling boxes based on the standard weight range and the actual weight of the tobacco to be filled includes:

[0014] Determining the number of at least one filling box to be processed based on the median weight corresponding to the standard weight range and the actual weight of the tobacco shreds to be filled;

[0015] The number of standard filling boxes is determined based on the number of the at least one to-be-processed filling boxes, the actual weight of the to-be-filled tobacco shreds, and the standard weight range.

[0016] Further, the determining the number of standard filling boxes based on the number of the at least one filling box to be processed, the actual weight of the tobacco shreds to be filled and the standard weight range includes:

[0017] For each number of filling boxes to be processed, determining the ratio of the actual weight of the tobacco shreds to be filled to the number of the filling boxes to be processed;

[0018] Based on the ratio and the standard weight range, the standard filling box quantity is determined.

[0019] Further, the determining the number of standard filling boxes based on the number of the at least one filling box to be processed and the actual weight of the tobacco shreds to be filled includes:

[0020] For each number of filling boxes to be processed, determining the ratio of the actual weight of the tobacco shreds to be filled to the number of the filling boxes to be processed;

[0021] Based on the ratio and the standard weight range, the standard filling box quantity is determined.

[0022] Further, the updating of the preset filling weight based on the moisture detection result of the target shredded tobacco includes:

[0023] Under the condition that the moisture detection result is greater than a preset moisture threshold, based on a first correspondence between the moisture detection result and the filling volume, updating the filling volume corresponding to the current filling box; wherein the first correspondence includes the to-be-selected filling volumes corresponding to different moisture detection results;

[0024] The preset filling weight is determined based on the updated filling volume and the second corresponding relationship between the filling volume and the filling weight; wherein the second corresponding relationship includes the filling weights to be selected corresponding to different filling volumes.

[0025] Furthermore, the determining of the standard weight range corresponding to the preset filling weight includes:

[0026] Based on the tobacco filling process standard, determining the maximum filling weight and the minimum filling weight corresponding to the preset filling weight;

[0027] Based on the maximum filling weight and the minimum filling weight, a standard weight range corresponding to the preset filling weight is determined.

[0028] According to another aspect of the present invention, a device for determining tobacco filling weight is provided, the device comprising:

[0029] a preset filling weight updating module, used for receiving a preset filling weight corresponding to a current filling box during the process of filling target shredded tobacco, and updating the preset filling weight based on a moisture detection result of the target shredded tobacco, wherein the preset filling weight is a theoretical filling weight determined based on a shredded tobacco filling process standard, and the target shredded tobacco includes shredded tobacco that has been filled and shredded tobacco to be filled;

[0030] A first tobacco shred filling module, configured to fill the tobacco shreds to be filled into the current filling box based on the preset filling weight when it is determined that the actual weight of the tobacco shreds to be filled does not meet the preset condition;

[0031] A standard weight range determination module, used to determine a standard weight range corresponding to the preset filling weight when it is determined that the actual weight of the tobacco to be filled meets the preset condition;

[0032] The second tobacco filling module is used to determine the target filling weight corresponding to the current filling box based on the standard weight range and the actual weight of the tobacco to be filled, so as to fill the tobacco to be filled into the current filling box based on the target filling weight.

[0033] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0034] at least one processor; and

[0035] a memory communicatively connected to at least one processor; wherein,

[0036] The memory stores a computer program executable by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the method for determining the tobacco filling weight of any embodiment of the present invention.

[0037] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions for enabling a processor to implement the method for determining tobacco filling weight according to any embodiment of the present invention when the computer instructions are executed.

[0038] The technical solution of the embodiment of the present invention is that during the process of filling the target tobacco, a preset filling weight corresponding to the current filling box is received, and the preset filling weight is updated based on the moisture detection result of the target tobacco, wherein the preset filling weight is a theoretical filling weight determined based on the tobacco filling process standard, and the target tobacco includes filled tobacco and tobacco to be filled; when it is determined that the actual weight of the tobacco to be filled does not meet the preset conditions, the tobacco to be filled is filled into the current filling box based on the preset filling weight; when it is determined that the actual weight of the tobacco to be filled meets the preset conditions, the standard weight range corresponding to the preset filling weight is determined; based on the standard weight range and the actual weight of the tobacco to be filled, the target filling weight corresponding to the current filling box is determined, so that the tobacco to be filled is filled into the current filling box based on the target filling weight. The problem of low accuracy of tobacco filling weight is solved, the accuracy of tobacco filling weight is improved, and the stability of subsequent processes and product quality are guaranteed.

[0039] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 is a flow chart of a method for determining tobacco filling weight provided in an embodiment of the present invention;

[0042] Figure 2 is a flow chart of another method for determining tobacco filling weight provided in an embodiment of the present invention;

[0043] Figure 3 is a flowchart of a specific method for determining tobacco filling weight provided in an embodiment of the present invention;

[0044] Figure 4 is a schematic diagram of a specific tobacco filling system provided according to an embodiment of the present invention;

[0045] Figure 5 is a structural block diagram of a device for determining tobacco filling weight provided according to an embodiment of the present invention;

[0046] Figure 6 It is a structural block diagram of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0048] It should be noted that the terms "first" and "second" and the like in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0049] Figure 1 It is a flow chart of a method for determining tobacco filling weight provided according to an embodiment of the present invention. This embodiment can be applicable to the scenario of packaging batches of tobacco, and can be executed by a tobacco filling weight determination device. The tobacco filling weight determination device can be implemented in the form of hardware and / or software and configured in the processor of the electronic device.

[0050] like Figure 1 As shown, the method for determining the tobacco filling weight comprises the following steps:

[0051] S110. During the process of filling target shredded tobacco, a preset filling weight corresponding to the current filling box is received, and the preset filling weight is updated based on the moisture detection result of the target shredded tobacco, wherein the target shredded tobacco includes filled shredded tobacco and shredded tobacco to be filled.

[0052] The target tobacco is the tobacco that needs to be filled, for example, the target tobacco is the tobacco that needs to be filled into at least one filling box. Correspondingly, the filled tobacco is the tobacco that has been filled into the filling box, and the unfilled tobacco is the tobacco that has not yet been filled into the filling box.

[0053] Among them, the preset filling weight is a theoretical filling weight determined based on the tobacco filling process standards.

[0054] It is understandable that factors affecting the weight of tobacco filling include: tobacco moisture, tobacco temperature and tobacco brand.

[0055] Optionally, the theoretical filling amount can be determined based on the moisture content of the cut tobacco, the temperature of the cut tobacco and the brand of the cut tobacco, and the cut tobacco filling process standard includes the corresponding relationship between the cut tobacco brand, the temperature of the cut tobacco, the moisture content of the cut tobacco and the filling weight. Correspondingly, determining the preset filling weight includes: determining the filling weight according to the corresponding relationship between the original cut tobacco temperature, the cut tobacco brand and the moisture content of the original cut tobacco of the target cut tobacco and the brand, the temperature of the cut tobacco, the moisture content of the cut tobacco and the filling weight in the cut tobacco filling process standard, and using it as the preset filling weight.

[0056] In this embodiment, considering that the storage cabinet for storing tobacco is usually located in a constant temperature room, the temperature of the tobacco should be constant. Therefore, in order to solve the problem that the low filling weight of a single box causes the tobacco moisture to be lost too quickly and affects the tobacco quality, before filling, the preset filling weight of the tobacco is determined based on the moisture detection result of the tobacco.

[0057] Optionally, updating the preset filling weight based on the moisture detection result of the target tobacco includes: determining the filling weight according to the tobacco temperature, tobacco brand, real-time tobacco moisture detection result of the tobacco to be loaded in the target tobacco, and the correspondence between the tobacco brand, tobacco temperature, tobacco moisture and filling weight in the tobacco filling process standard, and using it as the updated preset filling weight.

[0058] The moisture detection result may include indicators such as the moisture content and / or humidity of the tobacco.

[0059] Optionally, considering that in some application scenarios, the moisture content is proportional to the filling weight, the preset filling weight can be updated based on the corresponding relationship between the moisture content and the filling weight. Exemplarily, the moisture content of the tobacco to be filled in the target tobacco is detected to obtain the actual moisture content of the tobacco to be filled, and based on the corresponding relationship between the moisture content and the filling weight, the filling weight corresponding to the actual moisture content is determined, and the preset filling weight is updated based on the filling weight.

[0060] In this embodiment, the preset filling weight is updated based on the moisture detection result of the target tobacco, including: under the condition that the moisture detection result is greater than the preset moisture threshold, based on the first corresponding relationship between the moisture detection result and the filling volume, updating the filling volume corresponding to the current filling box; based on the updated filling volume and the second corresponding relationship between the filling volume and the filling weight, determining the preset filling weight.

[0061] It is understandable that, considering that tobacco with the same weight but different moisture content is filled into the same filling box, the tobacco with a higher moisture content may not be fluffy enough, which may lead to a smaller volume of tobacco in the filling box, and then the moisture in the filling box may increase during transportation. Therefore, in order to keep the moisture content of the tobacco in the filling box constant after filling, the preset filling weight is updated based on the moisture detection result and the filling volume.

[0062] The preset moisture threshold may be a threshold corresponding to indicators such as humidity and / or water content of the tobacco.

[0063] Among them, the first corresponding relationship includes the to-be-selected filling volumes corresponding to different moisture detection results. Correspondingly, determining the first corresponding relationship includes, for tobacco with the same moisture content in tobacco of different moisture contents, filling it into multiple identical filling boxes, and the height of tobacco filled in each filling box is different; after a period of time, the moisture content of the tobacco in the filling box is tested, and tobacco corresponding to the moisture detection result that meets the process standards is obtained, and the filling volume in the filling box corresponding to the tobacco is used as the to-be-selected filling volume corresponding to the tobacco with the moisture content, so as to obtain the first corresponding relationship.

[0064] Optionally, under the condition that the moisture detection result is greater than a preset moisture threshold, based on the first corresponding relationship between the moisture detection result and the filling volume, updating the filling volume corresponding to the current filling box includes: when indicators such as the humidity and / or water content of the moisture detection result of the tobacco to be filled are greater than the corresponding threshold, determining that the moisture content of the tobacco to be filled is large, and based on the first corresponding relationship, determining a to-be-selected filling volume corresponding to indicators such as the humidity and / or water content of the moisture detection result of the tobacco to be filled, and using the to-be-selected filling volume as the filling volume corresponding to the current filling box.

[0065] Among them, the second corresponding relationship includes the filling weight to be selected corresponding to different filling volumes. Correspondingly, determining the second corresponding relationship can include, for the tobacco corresponding to the moisture detection result that meets the above-mentioned process standards, using the filling mass in the filling box corresponding to the tobacco as the filling mass to be selected corresponding to the filling volume, so as to obtain the second corresponding relationship.

[0066] Optionally, determining the preset filling weight based on the updated filling volume and the second corresponding relationship between the filling volume and the filling weight includes: determining the filling weight to be selected corresponding to the updated filling volume based on the second corresponding relationship, and using the filling weight to be selected as the updated preset filling weight. The advantage of this is that the volume of materials in each filling box can be kept consistent.

[0067] Optionally, for different tobacco brands, the first corresponding relationship and the second corresponding relationship corresponding to each tobacco brand may be predetermined.

[0068] Furthermore, under the condition that the preset moisture detection result is less than / equal to the preset moisture threshold, there is no need to update the preset filling weight based on the moisture detection result, and the preset filling weight can remain unchanged.

[0069] S120: When it is determined that the actual weight of the tobacco shreds to be loaded does not meet the preset condition, the tobacco shreds to be loaded are loaded into the current loading box based on the preset loading weight.

[0070] Among them, the preset condition may include a preset weight.

[0071] Optionally, the preset condition may be a weight less than a preset filling weight. Correspondingly, when it is determined that the actual weight of the tobacco shreds to be filled does not meet the preset condition, the tobacco shreds to be filled are filled into the current filling box based on the preset filling weight, including: when it is determined that the actual weight of the remaining unfilled tobacco shreds is greater than the preset filling weight, there is no need to correct the preset filling weight, the tobacco shreds to be filled with the preset filling weight are determined, and they are filled into the current filling box.

[0072] Optionally, the preset condition may be a preset ratio, for example, the preset condition may be the ratio of the weight of the loaded tobacco to the target total weight of the tobacco, or the ratio of the weight of the tobacco to be loaded to the target total weight of the tobacco. The target total weight of the tobacco is the weight of the target tobacco before loading.

[0073] In this embodiment, the preset condition may be a preset ratio of the weight of the tobacco to be loaded to the total weight of the target tobacco. Correspondingly, determining that the actual weight of the tobacco to be loaded does not meet the preset condition includes: determining the total weight of the tobacco to be loaded, the total weight of the target tobacco before the target tobacco is loaded, and obtaining the ratio of the total weight of the tobacco to be loaded to the total weight of the target tobacco. When the ratio is greater than the preset ratio, it is determined that the actual weight of the tobacco to be loaded does not meet the preset condition.

[0074] S130. When it is determined that the actual weight of the tobacco to be loaded meets the preset condition, determine a standard weight range corresponding to the preset loading weight.

[0075] It is understandable that when it is determined that the actual weight of the remaining unfilled tobacco is less than or equal to the preset filling weight, the preset filling weight needs to be corrected.

[0076] Optionally, the preset condition may be a weight less than a preset filling weight. Correspondingly, determining that the actual weight of the tobacco to be filled meets the preset condition includes: when it is determined that the actual weight of the remaining unfilled tobacco is greater than the preset filling weight, determining that the actual weight of the tobacco to be filled meets the preset condition.

[0077] Optionally, the preset condition may be a preset ratio of the weight of the tobacco to be loaded to the total weight of the target tobacco. Correspondingly, determining that the actual weight of the tobacco to be loaded meets the preset condition includes: determining the total weight of the tobacco to be loaded, the total weight of the target tobacco before the target tobacco is loaded, and obtaining the ratio of the total weight of the tobacco to be loaded to the total weight of the target tobacco. When the ratio is less than or equal to the preset ratio, it is determined that the actual weight of the tobacco to be loaded meets the preset condition.

[0078] In the present embodiment, determining whether the actual weight of the tobacco to be loaded meets the preset conditions includes: determining the actual weight corresponding to the tobacco to be loaded based on the total weight of the tobacco corresponding to the target tobacco and the weight of the tobacco corresponding to the loaded tobacco; determining the ratio of the actual weight corresponding to the tobacco to be loaded to the total weight of the tobacco, and if the ratio is less than or equal to the preset ratio, determining that the actual weight of the tobacco to be loaded meets the preset conditions.

[0079] It is understandable that, considering that during the process of loading the target tobacco, a part of the tobacco to be loaded is already outside the storage cabinet, the step of determining the actual weight of the tobacco to be loaded is relatively complicated. Therefore, the actual weight of the tobacco to be loaded is determined based on the weight of the loaded tobacco and the total weight of the target tobacco before loading.

[0080] Optionally, determining the weight of tobacco corresponding to the filled tobacco includes: weighing a filling box each time after filling is completed to obtain the weight of the filling box after filling; determining the weight of the filled tobacco corresponding to the filling box based on the dead weight of the filling box before filling and the weight of the filling box after filling to obtain the weight of all filled tobacco.

[0081] Optionally, based on the total weight of tobacco corresponding to the target tobacco and the weight of tobacco corresponding to the loaded tobacco, determining the actual weight corresponding to the tobacco to be loaded includes: determining the difference between the total weight of tobacco corresponding to the target tobacco and the weight of tobacco corresponding to the loaded tobacco, and using the difference as the actual weight corresponding to the tobacco to be loaded.

[0082] In this embodiment, the preset ratio is 70%. Correspondingly, the ratio of the actual weight of the tobacco to be loaded to the total weight of the tobacco is determined. If the ratio is less than or equal to the preset ratio, determining that the actual weight of the tobacco to be loaded meets the preset condition includes: determining the ratio of the actual weight of the tobacco to be loaded to the total weight of the tobacco. When it is determined that the ratio is less than or equal to 70%, determining that the actual weight of the tobacco to be loaded meets the preset condition.

[0083] The standard weight range is a reasonable weight variation range corresponding to the preset filling weight. Correspondingly, determining the standard weight range corresponding to the preset filling weight may include: setting a reasonable variation range corresponding to the preset filling weight in advance according to the process quality requirements, for example, if the process quality requirements are high, the standard weight range is small; if the process quality requirements are low, the standard weight range is large.

[0084] Optionally, the standard weight range is a reasonable weight variation range corresponding to the preset filling weight, determined based on the tobacco filling process standard. Correspondingly, determining the standard weight range corresponding to the preset filling weight includes: determining the maximum filling weight and the minimum filling weight corresponding to the preset filling weight based on the tobacco filling process standard; and determining the standard weight range corresponding to the preset filling weight based on the maximum filling weight and the minimum filling weight.

[0085] Wherein, the tobacco filling process standard includes a reasonable weight variation range corresponding to the preset filling weight. Correspondingly, determining the maximum filling weight and the minimum filling weight corresponding to the preset filling weight based on the tobacco filling process standard includes: obtaining a reasonable weight variation range corresponding to the preset filling weight based on the tobacco filling process standard, and determining the maximum filling weight and the minimum filling weight corresponding to the preset filling weight based on the variation range and the preset filling weight.

[0086] In this embodiment, based on the maximum filling weight and the minimum filling weight, determining the standard weight range corresponding to the preset filling weight includes: determining the weight range corresponding to the minimum filling weight to the maximum filling weight, and using it as the standard weight range corresponding to the preset filling weight.

[0087] It can be understood that there is an or relationship between S120 and S130.

[0088] S140, determining a target filling weight corresponding to the current filling box based on the standard weight range and the actual weight of the tobacco shreds to be filled, so as to fill the tobacco shreds to be filled into the current filling box based on the target filling weight.

[0089] Wherein, the target filling weight is the corrected preset filling weight. Correspondingly, based on the standard weight range and the actual weight of the tobacco to be filled, determining the target filling weight corresponding to the current filling box includes: determining the weight median corresponding to the standard weight range based on the maximum and minimum values ​​corresponding to the standard weight range; if the weight median is less than or equal to the actual weight of the tobacco to be filled, setting the target filling weight corresponding to the current filling box to the weight median; if the weight median is greater than the actual weight of the tobacco to be filled, using the actual weight of the tobacco to be filled as the target filling weight corresponding to the current filling box.

[0090] The technical solution of the embodiment of the present invention is that during the process of filling the target tobacco, a preset filling weight corresponding to the current filling box is received, and the preset filling weight is updated based on the moisture detection result of the target tobacco, wherein the preset filling weight is a theoretical filling weight determined based on the tobacco filling process standard, and the target tobacco includes filled tobacco and tobacco to be filled; when it is determined that the actual weight of the tobacco to be filled does not meet the preset conditions, the tobacco to be filled is filled into the current filling box based on the preset filling weight; when it is determined that the actual weight of the tobacco to be filled meets the preset conditions, the standard weight range corresponding to the preset filling weight is determined; based on the standard weight range and the actual weight of the tobacco to be filled, the target filling weight corresponding to the current filling box is determined, so that the tobacco to be filled is filled into the current filling box based on the target filling weight. The problem of low accuracy of tobacco filling weight is solved, the accuracy of tobacco filling weight is improved, and the stability of subsequent processes and product quality are guaranteed.

[0091] Figure 2 It is a flow chart of another method for determining tobacco filling weight provided according to an embodiment of the present invention. This embodiment can be applicable to the scenario of batch filling of tobacco. This embodiment and the method for determining tobacco filling weight in the above embodiment belong to the same inventive concept. On the basis of the above embodiment, it further describes the process of determining the target filling weight corresponding to the current filling box based on the standard weight range and the actual weight of the tobacco to be filled.

[0092] The method includes:

[0093] S210. During the process of filling target shredded tobacco, a preset filling weight corresponding to the current filling box is received, and the preset filling weight is updated based on the moisture detection result of the target shredded tobacco, wherein the target shredded tobacco includes filled shredded tobacco and shredded tobacco to be filled.

[0094] S220: When it is determined that the actual weight of the tobacco shreds to be loaded does not meet the preset condition, the tobacco shreds to be loaded are loaded into the current loading box based on the preset loading weight.

[0095] S230: When it is determined that the actual weight of the tobacco to be loaded meets the preset condition, determine a standard weight range corresponding to the preset loading weight.

[0096] It can be understood that there is an or relationship between S220 and S230.

[0097] S240: Determine the number of standard filling boxes based on the standard weight range and the actual weight of the tobacco to be filled.

[0098] Among them, the standard filling box quantity is the filling box quantity corresponding to the median weight. Correspondingly, based on the standard weight range and the actual weight of the tobacco to be filled, determining the standard filling box quantity includes: determining the median weight based on the standard weight range, determining the ratio of the actual weight of the tobacco to be filled to the median weight, taking the value of the ratio, obtaining the filling box quantity, and taking it as the standard filling box quantity.

[0099] Considering that in some application scenarios, the filling weight is inversely proportional to the number of filling boxes, in order to save transportation space, the number of filling boxes can be determined to minimize the number of filling boxes.

[0100] Optionally, the standard filling box quantity is the minimum filling box quantity. Based on the standard weight range and the actual weight of the tobacco to be filled, determining the standard filling box quantity includes determining the maximum weight of the standard weight range, determining the ratio of the actual weight of the tobacco to be filled to the maximum weight, rounding the ratio, obtaining the minimum filling box quantity, and using it as the standard filling box quantity.

[0101] In this embodiment, the number of standard filling boxes is determined based on the standard weight range and the actual weight of the tobacco to be filled, including: determining at least one number of filling boxes to be processed based on the median weight corresponding to the standard weight range and the actual weight of the tobacco to be filled; determining the number of standard filling boxes based on the at least one number of filling boxes to be processed, the actual weight of the tobacco to be filled and the standard weight range.

[0102] Among them, the number of filling boxes to be processed corresponds to a value in the target numerical range corresponding to the median weight, that is, each value in the target numerical range corresponding to the median weight has a corresponding number of filling boxes to be processed; correspondingly, based on the median weight corresponding to the standard weight range and the actual weight of the tobacco to be filled, determining at least one number of filling boxes to be processed includes: determining the median weight corresponding to the standard weight range, and a target numerical range corresponding to the median weight; for each value in the target numerical range, determining the ratio of the actual weight of the tobacco to be filled to the value, and obtaining the number of filling boxes to be processed corresponding to the value.

[0103] The standard filling box quantity is the minimum filling box quantity corresponding to the actual weight of the tobacco shreds to be filled. Correspondingly, based on the at least one number of filling boxes to be processed, the actual weight of the tobacco shreds to be filled and the standard weight range, the standard filling box quantity is determined, including: for each number of filling boxes to be processed, determining the ratio of the actual weight of the tobacco shreds to be filled to the number of filling boxes to be processed, and obtaining the filling weight corresponding to the number of filling boxes to be processed; for all filling weights, determining at least one filling weight that meets the standard weight range; for the at least one filling weight, determining the maximum filling weight, and determining the ratio of the actual weight of the tobacco shreds to be filled to the maximum filling weight, rounding the ratio to obtain the standard filling box quantity.

[0104] In this embodiment, the number of standard filling boxes is determined based on the at least one number of filling boxes to be processed, the actual weight of the tobacco to be filled, and the standard weight range, including: for each number of filling boxes to be processed, determining the ratio of the actual weight of the tobacco to be filled to the number of filling boxes to be processed; based on the ratio and the standard weight range, determining the number of standard filling boxes.

[0105] Specifically, for each number of filling boxes to be processed, determine the ratio of the actual weight of the tobacco to be filled to the number of filling boxes to be processed; for each ratio, determine whether the ratio meets the standard weight range to obtain the ratio that meets the standard weight range, and determine the maximum ratio among the ratios that meet the standard weight range, determine the ratio of the actual weight of the tobacco to be filled to the maximum ratio, and round it to obtain the standard number of filling boxes.

[0106] Optionally, the maximum ratio may be directly used as the target filling weight corresponding to the current filling box.

[0107] S250: Determine a target filling weight corresponding to the current filling box based on the number of standard filling boxes and the actual weight of the tobacco to be filled, so as to fill the tobacco to be filled into the current filling box based on the target filling weight.

[0108] Based on the standard filling box quantity and the actual weight of the tobacco to be filled, determining the target filling weight corresponding to the current filling box includes: determining the ratio of the actual weight of the tobacco to be filled and the standard filling box quantity to obtain the target filling weight corresponding to the current filling box.

[0109] The technical solution of this embodiment determines the minimum number of filling boxes, and then determines the filling weight corresponding to the minimum number of filling boxes, which can save transportation space and improve tobacco production efficiency.

[0110] Figure 3 is a flowchart of a specific method for determining the weight of tobacco filling provided by an embodiment of the present invention. The method for determining the weight of tobacco filling is configured in Figure 4In the tobacco filling system.

[0111] S310. During the process of filling the target shredded tobacco, a preset filling weight corresponding to the current filling box is received.

[0112] refer to Figure 4 The tobacco filling system includes: a belt scale 401 with a moisture detection function, a tobacco cabinet 402, a filling unit 403, a tension sensor 404, a filling box 405, a weighing platform 406, a filling control unit 407, a tobacco cabinet control unit 408, a weighing control unit 409; and a total control unit 410.

[0113] The target tobacco is loaded, and the main control unit 410 issues a batch discharging instruction corresponding to the target tobacco to the tobacco cabinet control unit 408. The instruction includes the tobacco brand number p, the tobacco batch number and the preset loading weight. The tobacco cabinet control unit 408 receives the instruction and starts to execute the discharging operation.

[0114] S320: Under the condition that the moisture detection result is greater than a preset moisture threshold, based on the first corresponding relationship between the moisture detection result and the filling volume, update the filling volume corresponding to the current filling box.

[0115] refer to Figure 4 , the moisture of the tobacco is detected based on the belt scale 401 with moisture detection function to obtain a moisture detection result. Under the condition that the moisture detection result is greater than the preset moisture threshold, the filling volume corresponding to the current filling box is updated based on the first corresponding relationship between the moisture detection result and the filling volume.

[0116] Optionally, the belt scale 401 with moisture detection function performs moisture detection on the tobacco to be loaded every 30 seconds, records the moisture detection result as s, and transmits it to the main control unit 410 to assign a value to the variable a.

[0117] The first corresponding relationship includes the filling volumes to be selected corresponding to different moisture detection results. Correspondingly, determining the first corresponding relationship includes: determining the filling volumes corresponding to different material moisture and different tobacco brands based on empirical values, obtaining a mapping relationship table between the moisture detection results and the filling volumes to be selected, and using the mapping relationship table as the first corresponding relationship.

[0118] Optionally, under the condition that the moisture detection result is greater than a preset moisture threshold, based on the first correspondence between the moisture detection result and the filling volume, updating the filling volume corresponding to the current filling box includes: determining the filling volume corresponding to the current filling box according to the tobacco brand of the target tobacco, the moisture value corresponding to the moisture detection result, and the first correspondence.

[0119] Exemplarily, based on the mapping relationship table and the variable a, the filling volume t (unit: cm) corresponding to the value of the variable a in the mapping relationship table is determined. 3 / g).

[0120] S330: Determine a preset filling weight based on the updated filling volume and the second corresponding relationship between the filling volume and the filling weight.

[0121] The second corresponding relationship includes the filling weights to be selected corresponding to different filling volumes.

[0122] For example, let the filling volume be V (unit: cm 3 ), the loading weight to be selected is w (unit: kg), and the second corresponding relationship is determined based on formula (1):

[0123] w=v÷t×1000(1).

[0124] S340: When it is determined that the actual weight of the tobacco shreds to be loaded does not meet the preset condition, the tobacco shreds to be loaded are loaded into the current loading box based on the preset loading weight.

[0125] For example, the preset filling weight is 180 kg / box, and the total weight of the tobacco in the tobacco cabinet 402 is W1=10084.68 kg. After each box of tobacco is filled by the filling unit 403, the weight of the tobacco in the box is calculated as Q n The actual weight of the tobacco to be filled is W2 = 10084.68 kg - Q1 - ... - Q n .

[0126] After 40 boxes are filled, if W2≥[(W1-Q1-…-Q 40 )×70%], determining that the actual weight of the tobacco to be filled does not meet the preset condition, and filling the tobacco to be filled into the current filling box based on the preset filling weight.

[0127] S350: When it is determined that the actual weight of the tobacco to be loaded meets the preset condition, determine a standard weight range corresponding to the preset loading weight.

[0128] For example, W2 = 2882.25 kg, W2 < [(W1-Q1-...-Q 40 )×70%], and determine that the actual weight of the tobacco to be loaded meets the preset conditions.

[0129] According to the process standards, the minimum weight of the standard weight range corresponding to the preset filling weight is determined to be 170 kg, and the maximum weight of the standard weight range corresponding to the preset filling weight is determined to be 190 kg.

[0130] It can be understood that there is an OR relationship between S340 and S350.

[0131] S360: Determine the number of standard filling boxes based on the standard weight range and the actual weight of the tobacco to be filled.

[0132] Exemplarily, the median weight (Y) of the standard weight range is determined based on the standard weight range (170 kg to 190 kg). M =180kg), based on the rounding function (ceil function), determine the number of boxes to be processed corresponding to the median weight (180kg) N1 = ceil (W2 / Y M )=16, obtain the maximum number of boxes to be processed (N2=N1+1=17) and the minimum number of boxes to be processed (N3=N1-1=15) corresponding to the number of boxes to be processed, determine the ratio of the actual weight of the tobacco to be filled to N1, the ratio of the actual weight of the tobacco to be filled to N2, and the ratio of the actual weight of the tobacco to be filled to N3, and determine the ratio of each ratio to the weight median (Y M =180kg), that is, to determine ABS(W2 / N1-Y based on the ABS function M )、ABS(W2 / N2-Y M ) and ABS(W2 / N3-Y M ); determine the minimum absolute value, and determine the number of to-be-processed filling boxes corresponding to the minimum absolute value, and use it as the standard filling box number.

[0133] S370: Determine a target filling weight corresponding to the current filling box based on the number of standard filling boxes and the actual weight of the tobacco to be filled, so as to fill the tobacco to be filled into the current filling box based on the target filling weight.

[0134] For example, if ABS(W2 / N2-Y M ) is the minimum absolute value, determine W2 / N2=180.14kg, and take 180.14kg as the target loading weight.

[0135] The technical solution of this embodiment uses the weight data provided by the belt scale and the weighing device of the box packing unit to modify the filling weight parameters in the batch order in real time, so that the tobacco height in the filling box of the same batch can be kept consistent, thereby improving the product quality of the tobacco and the stability of subsequent production.

[0136] Figure 5 This is a structural block diagram of a device for determining tobacco filling weight provided according to an embodiment of the present invention. This embodiment is applicable to the scenario of packaging batches of tobacco. The device can be implemented in the form of hardware and / or software and integrated into a processor of an electronic device with application development capabilities.

[0137] like Figure 5As shown, the tobacco shred filling weight determination device comprises: a preset filling weight updating module 501, which is used to receive a preset filling weight corresponding to a current filling box during the process of filling target shred tobacco, and update the preset filling weight based on the moisture detection result of the target shred tobacco, wherein the preset filling weight is a theoretical filling weight determined based on the tobacco shred filling process standard, and the target shred tobacco includes filled shred tobacco and shred tobacco to be filled; a first shred tobacco filling module 502, which is used to update the preset filling weight when it is determined that the actual weight of the shred tobacco to be filled does not meet the preset condition The standard weight range determination module 503 is used to determine the standard weight range corresponding to the preset filling weight when it is determined that the actual weight of the tobacco to be filled meets the preset conditions; the second tobacco filling module 504 is used to determine the target filling weight corresponding to the current filling box based on the standard weight range and the actual weight of the tobacco to be filled, so as to fill the tobacco to be filled into the current filling box based on the target filling weight. The problem of low accuracy of tobacco filling weight is solved, the accuracy of tobacco filling weight is improved, and the stability of subsequent processes and product quality are guaranteed.

[0138] Optionally, the standard weight range determination module 503 includes a preset condition satisfaction unit, and the preset condition satisfaction unit is used to:

[0139] Determining the actual weight of the to-be-filled tobacco based on the total weight of the target tobacco and the weight of the loaded tobacco;

[0140] The ratio of the actual weight of the tobacco to be loaded to the total weight of the tobacco is determined. If the ratio is less than or equal to a preset ratio, it is determined that the actual weight of the tobacco to be loaded meets the preset condition.

[0141] Optionally, the second tobacco filling module 504 includes a target filling weight determination submodule, and the target filling weight determination submodule is specifically used for:

[0142] Determining the number of standard filling boxes based on the standard weight range and the actual weight of the tobacco to be filled;

[0143] Based on the standard filling box quantity and the actual weight of the tobacco shreds to be filled, a target filling weight corresponding to the current filling box is determined.

[0144] Optionally, the target filling weight determination submodule includes a standard filling box quantity determination unit, and the standard filling box quantity determination unit is used to:

[0145] Determining the number of at least one filling box to be processed based on the median weight corresponding to the standard weight range and the actual weight of the tobacco shreds to be filled;

[0146] The number of standard filling boxes is determined based on the number of the at least one to-be-processed filling boxes, the actual weight of the to-be-filled tobacco shreds, and the standard weight range.

[0147] Optionally, the standard filling box quantity determination unit is specifically used for:

[0148] For each number of filling boxes to be processed, determining the ratio of the actual weight of the tobacco shreds to be filled to the number of the filling boxes to be processed;

[0149] Based on the ratio and the standard weight range, the standard filling box quantity is determined.

[0150] Optionally, the preset filling weight updating module 501 includes a preset filling weight updating unit, and the preset filling weight updating unit is specifically used for:

[0151] Under the condition that the moisture detection result is greater than a preset moisture threshold, based on a first correspondence between the moisture detection result and the filling volume, updating the filling volume corresponding to the current filling box; wherein the first correspondence includes the to-be-selected filling volumes corresponding to different moisture detection results;

[0152] The preset filling weight is determined based on the updated filling volume and the second corresponding relationship between the filling volume and the filling weight; wherein the second corresponding relationship includes the filling weights to be selected corresponding to different filling volumes.

[0153] Optionally, the standard weight range determination module 503 includes a standard weight range determination unit, and the standard weight range determination unit is used to:

[0154] Based on the tobacco filling process standard, determining a maximum filling weight and a minimum filling weight corresponding to the preset filling weight;

[0155] Based on the maximum filling weight and the minimum filling weight, a standard weight range corresponding to the preset filling weight is determined.

[0156] The device for determining the tobacco filling weight provided in the embodiment of the present invention can execute the method for determining the tobacco filling weight provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0157] Figure 6It is a block diagram of an electronic device provided according to an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0158] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0159] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0160] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining the weight of tobacco filling.

[0161] In some embodiments, the method for determining the weight of the tobacco filling may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining the weight of the tobacco filling described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method for determining the weight of the tobacco filling by any other appropriate means (e.g., by means of firmware).

[0162] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0163] The computer programs for implementing the method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, a special purpose computer or other programmable tobacco fill weight determination device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0164] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0165] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0166] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0167] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0168] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0169] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining the weight of tobacco filling, characterized in that: The method comprises: In the process of filling the target shredded tobacco, a preset filling weight corresponding to the current filling box is received, and the preset filling weight is updated based on the moisture detection result of the target shredded tobacco, wherein the preset filling weight is a theoretical filling weight determined based on the shredded tobacco filling process standard, and the target shredded tobacco includes the filled shredded tobacco and the shredded tobacco to be filled; When it is determined that the actual weight of the tobacco shreds to be filled does not meet the preset condition, filling the tobacco shreds to be filled into the current filling box based on the preset filling weight; When it is determined that the actual weight of the shredded tobacco to be loaded meets the preset condition, determining a standard weight range corresponding to the preset loading weight; Determining a target filling weight corresponding to the current filling box based on the standard weight range and the actual weight of the shredded tobacco to be filled, so as to fill the shredded tobacco to be filled into the current filling box based on the target filling weight; Wherein, updating the preset filling weight based on the moisture detection result of the target shredded tobacco includes: Under the condition that the moisture detection result is greater than a preset moisture threshold, based on a first correspondence between the moisture detection result and the filling volume, updating the filling volume corresponding to the current filling box; wherein the first correspondence includes the to-be-selected filling volumes corresponding to different moisture detection results; The preset filling weight is determined based on the updated filling volume and the second corresponding relationship between the filling volume and the filling weight; wherein the second corresponding relationship includes the filling weights to be selected corresponding to different filling volumes.

2. The method according to claim 1, characterized in that: The determining that the actual weight of the tobacco to be loaded meets a preset condition includes: Determining the actual weight of the to-be-filled tobacco based on the total weight of the target tobacco and the weight of the loaded tobacco; The ratio of the actual weight of the tobacco to be loaded to the total weight of the tobacco is determined. If the ratio is less than or equal to a preset ratio, it is determined that the actual weight of the tobacco to be loaded meets the preset condition.

3. The method according to claim 1, characterized in that The determining of the target filling weight corresponding to the current filling box based on the standard weight range and the actual weight of the tobacco shreds to be filled includes: Determining the number of standard filling boxes based on the standard weight range and the actual weight of the tobacco to be filled; Based on the standard filling box quantity and the actual weight of the tobacco shreds to be filled, a target filling weight corresponding to the current filling box is determined.

4. The method according to claim 3, characterized in that The step of determining the number of standard filling boxes based on the standard weight range and the actual weight of the tobacco shreds to be filled includes: Determining the number of at least one filling box to be processed based on the median weight corresponding to the standard weight range and the actual weight of the tobacco shreds to be filled; The number of standard filling boxes is determined based on the number of the at least one to-be-processed filling boxes, the actual weight of the to-be-filled tobacco shreds, and the standard weight range.

5. The method according to claim 4, characterized in that The determining the number of standard filling boxes based on the number of the at least one to-be-processed filling box, the actual weight of the to-be-filled tobacco, and the standard weight range comprises: For each number of filling boxes to be processed, determining the ratio of the actual weight of the tobacco shreds to be filled to the number of the filling boxes to be processed; Based on the ratio and the standard weight range, the standard filling box quantity is determined.

6. The method according to claim 1, characterized in that The determining of the standard weight range corresponding to the preset filling weight comprises: Based on the tobacco filling process standard, determining a maximum filling weight and a minimum filling weight corresponding to the preset filling weight; Based on the maximum filling weight and the minimum filling weight, a standard weight range corresponding to the preset filling weight is determined.

7. A device for determining the weight of tobacco filling, characterized in that: The device comprises: a preset filling weight updating module, used for receiving a preset filling weight corresponding to a current filling box during the process of filling target shredded tobacco, and updating the preset filling weight based on a moisture detection result of the target shredded tobacco, wherein the preset filling weight is a theoretical filling weight determined based on a shredded tobacco filling process standard, and the target shredded tobacco includes shredded tobacco that has been filled and shredded tobacco to be filled; A first tobacco shred filling module, configured to fill the tobacco shreds to be filled into the current filling box based on the preset filling weight when it is determined that the actual weight of the tobacco shreds to be filled does not meet the preset condition; A standard weight range determination module, used to determine a standard weight range corresponding to the preset filling weight when it is determined that the actual weight of the tobacco to be filled meets the preset condition; a second tobacco shred filling module, configured to determine a target filling weight corresponding to the current filling box based on the standard weight range and the actual weight of the tobacco shreds to be filled, so as to fill the tobacco shreds to be filled into the current filling box based on the target filling weight; Among them, the preset filling weight update module includes a preset filling weight update unit, and the preset filling weight update unit is specifically used to: under the condition that the moisture detection result is greater than the preset moisture threshold, based on the first corresponding relationship between the moisture detection result and the filling volume, update the filling volume corresponding to the current filling box; wherein, the first corresponding relationship includes the filling volumes to be selected corresponding to different moisture detection results; based on the updated filling volume and the second corresponding relationship between the filling volume and the filling weight, determine the preset filling weight; wherein, the second corresponding relationship includes the filling weights to be selected corresponding to different filling volumes.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method for determining the tobacco filling weight according to any one of claims 1-6.

9. 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 processor to implement the method for determining the tobacco filling weight according to any one of claims 1 to 6 when executed.