A method, equipment, and medium for statistical analysis of storage tank returns and deliveries.
By establishing a comparative statistical model of materials and quality inspection results, the data on the return and delivery of oil products in storage tanks is processed automatically, solving the problems of reliance on manual statistics and insufficient frequency in existing technologies, and achieving efficient and accurate statistics on oil products in storage tanks.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, the statistical calculation of oil movement in storage tanks relies on manual labor, which is infrequent and time-consuming, resulting in low statistical accuracy and inefficiency.
A statistical method for the return and delivery of storage tanks is designed. By establishing a comparative statistical model of materials and quality inspection results, the material receipt and payment data of finished storage tanks is converted into the transfer-in and transfer-out data of semi-finished storage tanks. The return and delivery data are automatically calculated based on the quality inspection results, replacing manual intervention.
It improved the accuracy and efficiency of the statistics on the return and delivery of oil products in storage tanks, reduced human error, shortened the statistical interval, and saved manpower.
Smart Images

Figure CN116881330B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data statistics technology, and in particular to a method, equipment, and medium for statistical analysis of storage tank returns and withdrawals. Background Technology
[0002] The statistical calculation of oil movement in the tank area is of great significance to the plant. It is a prerequisite for ensuring efficient statistics and data analysis, and it serves as the basic data basis for subsequent statistical analyses.
[0003] The factory currently handles the tracking of oil movement in storage tanks in two steps. The MES (Manufacturing Execution System) calculates and records the movement of oil in the tanks periodically based on the tank's instruments and international standards. At the end of the month, workers conduct a monthly inventory check and perform statistical analysis of the recorded oil movement data and LIMS (Limited Information Management System) quality inspection results. Based on the analysis results, the production plan for the next cycle is formulated.
[0004] The current statistical analysis method is semi-automated, requiring workers to perform secondary statistical analysis and identification of all production and quality inspection data for the current month during the end-of-month inventory check. Human intervention often introduces errors, and the current statistical frequency is limited to once a month, which is both time-consuming and inefficient. Therefore, continuous production enterprises need an automated method for calculating the return and transfer of oil products from storage tanks to replace manual intervention, thereby improving the accuracy and efficiency of factory statistics. Summary of the Invention
[0005] (a) Technical problems to be solved
[0006] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a method, equipment and medium for statistical analysis of tank handover and return, which solves the technical problems that the statistical calculation of oil movement in existing tank farms relies on manual labor, has a low frequency of statistics and is too time-consuming.
[0007] (II) Technical Solution
[0008] To achieve the above objectives, the main technical solutions adopted by the present invention include:
[0009] In a first aspect, embodiments of the present invention provide a method for statistical analysis of storage tank returns and deliveries, including:
[0010] Establish a comparative statistical model for materials and quality inspection results; the statistical model for the return and delivery of storage tanks includes semi-finished product storage tanks and statistical modules set up among several finished product storage tanks that constitute a payment relationship;
[0011] When payments and receipts occur between finished product storage tanks, the material payment and receipt data of the finished product storage tanks are converted into transfer-in and transfer-out data of finished product storage tanks.
[0012] The data of incoming and outgoing finished product storage tanks that have received and paid out are processed into semi-finished product material data and then transferred into the semi-finished product storage tanks for quality inspection.
[0013] The statistical module directly converts the semi-finished material data of the semi-finished storage tanks into the delivery and return data of the finished storage tanks that have received and paid out, based on the obtained quality inspection results, or converts them into the delivery and return data of the finished storage tanks that have received and paid out after reconciliation.
[0014] Optionally, the semi-finished product storage tank is an abstract object that acts as an intermediate transition at the statistical level. The semi-finished product materials stored in it are virtual materials used for accounting purposes, which are different from the actual materials transferred between finished product storage tanks.
[0015] Optionally, when receipts and payments occur between finished product storage tanks, the material receipt and payment data of the obtained finished product storage tanks is converted into transfer-in and transfer-out data of the finished product storage tanks, including:
[0016] Once a payment or receipt occurs between finished product storage tanks, the material payment or receipt data of the finished product storage tanks involved in the payment or receipt is obtained.
[0017] The material receipt and payment data of the finished product storage tanks are converted into the transfer-in and transfer-out data of the finished product storage tanks by using the transfer-out and transfer-in formulas.
[0018] in,
[0019] The formula for the amount to be transferred is:
[0020]
[0021] In the formula, F n D, the amount of output per tank in one production cycle (i)out The amount of material dispatched for each storage tank, where m is the number of material dispatches within a production cycle;
[0022] The formula for the amount transferred in is:
[0023]
[0024] In the formula, D (0)in S represents the amount carried in by the storage tank. n Let n be the amount of material received by the storage tank in one production cycle, and n be the number of times material is received in one production cycle.
[0025] Optionally, the data on the transfer in and out of finished product storage tanks that involve receipts and payments is processed into semi-finished product material data, and then transferred into the semi-finished product storage tanks for quality inspection, including:
[0026] The data on the transfer in and out of finished product storage tanks that involve receipts and payments will be processed into semi-finished product material data.
[0027] The semi-finished material data is transferred into the semi-finished storage tank, and several quality inspections are performed using a pre-set LIMS system to obtain the LIMS quality inspection results.
[0028] Optionally, based on the obtained quality inspection results, the semi-finished product material data of the semi-finished product storage tanks can be directly converted into the delivery and return data of the finished product storage tanks that have received and paid out, or converted into the delivery and return data of the finished product storage tanks that have received and paid out after reconciliation processing.
[0029] During the quality inspection, all semi-finished material data processed from the data of the transfer in and out of finished product storage tanks are assigned to their respective time dimensions.
[0030] If a qualified quality inspection result is obtained, all semi-finished product material data processed from the data of the transfer in and out of the finished product storage tank will be attributed to the time dimension of the qualified occurrence, as the delivery and return quantity. The amount of semi-finished products transferred in will be included in the delivery quantity, and the delivery quantity data will be included in the finished product inbound quantity.
[0031] If an unqualified quality inspection result is obtained, all incoming and outgoing materials will undergo one or more reconciliation processes. Once the quality inspection is passed, the material properties in the semi-finished product tank will be converted from semi-finished to finished products, and the converted finished product material data will be used as the return and delivery data for the finished product storage tank.
[0032] Optionally, the expression for the statistics module is:
[0033]
[0034] In the formula, M represents the quantity of materials returned to the warehouse. If it is 0, it means that the current quality inspection result is unqualified, and there is no statistical data on the return of semi-finished products to finished products; T c To adjust the parameters, the default value is the result of the previous quality inspection. When cumulative processing or correction processing for the current return / delivery is required, T... c It can be adjusted according to actual needs; D0 is the quantity returned to the warehouse after passing the previous quality inspection; T s The current quality inspection result is 1 for qualified and 0 for unqualified. If qualified, the total amount of semi-finished products transferred in from the previous qualified inspection to the current qualified inspection is calculated, where i is the number of times semi-finished products were transferred in from the previous qualified inspection to the current qualified inspection. n This refers to the amount of semi-finished product added each time.
[0035] Optionally, the material receipt and payment data includes: tank name, tank material, receipt and payment status, receipt and payment quantity, and the name of the counterparty's tank;
[0036] The tank name is the unique identifier for the current tank.
[0037] Tank material is used to identify the material currently in the tank.
[0038] The receipt / payment status indicates whether the current storage tank is receiving materials from the other storage tank or transferring materials to the other storage tank.
[0039] The receipt and payment volume is used to record the amount of material received or issued by the tank within a shift period.
[0040] The name of the other party's storage tank is used to record the materials currently received or issued by the storage tank.
[0041] Optionally, the storage tank delivery and return data includes: oil product name, initial inventory, amount transferred in, amount delivered, amount received, amount transferred out, and ending inventory.
[0042] The oil product name is the unique identifier for the materials stored in the tank.
[0043] Initial inventory records the actual amount of material stored in the tank at the start of the production cycle.
[0044] The input quantity is the amount of material currently added to the storage tank during a certain period of the production execution cycle.
[0045] The delivery quantity is used to record the amount of semi-finished products transferred in after the products have passed inspection.
[0046] The inbound quantity is used to record the amount of finished products transferred in after the products have passed inspection.
[0047] The amount to be transferred out is used to record the amount of material released from storage tanks during the production execution cycle.
[0048] Ending inventory refers to the actual amount of material stored in the storage tank at the end of the production cycle.
[0049] The return quantity is used to record the amount of semi-finished products that are transferred out after the products have passed inspection.
[0050] Outbound quantity is used to record the amount of finished products transferred out after passing product inspection.
[0051] Secondly, the present invention provides a storage tank return and return statistics device, comprising: at least one database; and a memory communicatively connected to the at least one database; wherein the memory stores instructions executable by the at least one database, the instructions being executed by the at least one database to enable the at least one database to perform the storage tank return and return statistics method as described above.
[0052] Thirdly, the present invention provides a computer-readable medium having computer-executable instructions stored thereon, wherein the executable instructions, when executed by a processor, implement the storage tank return and return statistics method as described above.
[0053] (III) Beneficial Effects
[0054] The beneficial effects of this invention are as follows: Based on the on-site storage tank material movement receipt and payment model and statistical methods, this invention designs a material comparison statistical model based on business statistics. At the data statistics level, materials are reclassified into finished products and semi-finished products, and based on the quality inspection results, the receipt and payment data are re-statistically attributed to the corresponding finished or semi-finished products. This allows for the automatic calculation of material delivery and return data based on the quality inspection results. This invention can replace the manual data collection process, while shortening the interval cycle, thereby reducing the interference of human error on the data, greatly improving the statistical efficiency of enterprise storage tank delivery and return, and saving manpower. Attached Figure Description
[0055] Figure 1 A flowchart illustrating a method for statistical analysis of storage tank returns and withdrawals provided by this invention;
[0056] Figure 2 A schematic diagram of a comparative statistical model for materials and quality inspection results in a storage tank return and return statistical method provided by the present invention;
[0057] Figure 3 A detailed flowchart illustrating step S2 of the storage tank return and return statistics method provided by the present invention;
[0058] Figure 4 A detailed flowchart illustrating step S3 of the storage tank return and return statistics method provided by the present invention;
[0059] Figure 5 A detailed flowchart illustrating step S4 of the storage tank return and return statistics method provided by the present invention;
[0060] Figure 6 This is a schematic diagram of the overall process of a storage tank return and inventory statistics method provided by the present invention. Detailed Implementation
[0061] To better explain and facilitate understanding of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0062] This invention is based on a newly designed quality inspection result and output material comparison model, combined with the original tank farm oil return and delivery statistics method, to establish an algorithm that automatically calculates tank farm oil return and delivery based on quality inspection results. This solves the problems of automation of tank farm oil return and delivery statistics and long statistical intervals in continuous production enterprises, while taking into account the openness and future scalability of the software system. Therefore, the key model design of the system must meet this requirement.
[0063] like Figure 1As shown in the embodiment of the present invention, a storage tank return and delivery statistics method includes: establishing a comparative statistical model of materials and quality inspection results; the storage tank return and delivery statistics model includes semi-finished product storage tanks and a statistical module set among several finished product storage tanks constituting a payment relationship; when a payment occurs between finished product storage tanks, the obtained material payment data of the finished product storage tanks is converted into transfer-in and transfer-out data of the finished product storage tanks; the transfer-in and transfer-out data of the finished product storage tanks that have undergone payment are processed into semi-finished product material data and transferred into the semi-finished product storage tanks for quality inspection; the statistical module directly converts the semi-finished product material data of the semi-finished product storage tanks into the return and delivery data of the finished product storage tanks that have undergone payment, or converts it into the return and delivery data of the finished product storage tanks that have undergone payment after reconciliation processing, based on the obtained quality inspection results.
[0064] This invention, based on a field storage tank material movement receipt and payment model and statistical methods, designs a material comparison statistical model based on business statistics. At the data statistics level, materials are reclassified into finished products and semi-finished products, and based on quality inspection results, receipt and payment data are re-statistically assigned to the corresponding finished or semi-finished product categories. This automatically generates material delivery and return data based on quality inspection results. This invention replaces manual data collection, shortens the time interval, reduces human error interference with data, significantly improves the statistical efficiency of storage tank delivery and return for enterprises, and saves manpower.
[0065] To better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention can be understood more clearly and thoroughly, and that the scope of the present invention can be fully conveyed to those skilled in the art.
[0066] Specifically, the present invention provides a method for statistical analysis of storage tank returns and deliveries, which includes:
[0067] S1. Establish a comparative statistical model for materials and quality inspection results; the statistical model for tank delivery and return includes semi-finished product tanks and statistical modules set up among several finished product tanks that constitute a payment relationship.
[0068] refer to Figure 2 Semi-finished product storage tanks are abstract objects that serve as an intermediate transition at the statistical level. The semi-finished materials stored in them are virtual materials used for accounting purposes, distinct from the actual materials transferred between finished product storage tanks. In actual finished product storage tanks, the material is a material to be determined. Once the quality inspection is passed, the material can be identified as a specific finished product.
[0069] Storage tanks T1 to Tn are the payers, finished product storage tank Tc is the receiver, materials M1 to Mn are payers, Mc is finished product material, Mb is semi-finished product material, and Tb is the semi-finished product storage tank used for statistics. Figure 2 In the diagram, the left side shows the actual receipt and payment data of the storage tank materials. The process after the materials are transferred to the semi-finished product storage tank is a statistical model. In the actual quality inspection process, there is no semi-finished product storage tank as shown in the diagram. There are only finished product storage tanks, finished product materials, and a comparison table of finished product materials and semi-finished product materials.
[0070] In the actual production process at the factory, material 1, material 2... material n are all transferred into the gasoline storage tank and blended into gasoline. When compiling reports, a material comparison table is included, showing finished gasoline and semi-finished gasoline. Before the quality inspection results are available, the gasoline in the storage tank is considered semi-finished gasoline; once the quality inspection results are satisfactory, the gasoline in the storage tank is considered finished gasoline. (Reference) Figure 2 When starting to collect statistics, a material comparison table will be used. This table is only used for data statistics, and the actual table is a comparison relationship of names.
[0071] S2. When payments and receipts occur between finished product storage tanks, the obtained material payment and receipt data of the finished product storage tanks are converted into transfer-in and transfer-out data of the finished product storage tanks.
[0072] Furthermore, such as Figure 3 As shown, step S2 includes:
[0073] S21. After a payment or receipt occurs between finished product storage tanks, obtain the material payment or receipt data of the finished product storage tanks where the payment or receipt occurred.
[0074] S22. Convert the material receipt and payment data of the finished product storage tank into the transfer-in and transfer-out data of the finished product storage tank using the transfer-out formula and the transfer-in formula.
[0075] In actual payment and receipt data, all material transfers from storage tanks by the payer are included in the amount of finished products transferred into storage tanks by the recipient. However, before verifying the quality inspection results, all transfers are statistically included in the amount of semi-finished material transferred into storage tanks.
[0076] in,
[0077] The formula for the amount to be transferred is:
[0078]
[0079] In the formula, F n D, the amount of output per tank in one production cycle (i)out The amount of material dispatched from each storage tank is denoted by m, which represents the number of material dispatches within a production cycle.
[0080] The formula for the amount transferred in is:
[0081]
[0082] In the formula, D (0)in S represents the amount carried in by the storage tank. n Let n be the amount of material received by the storage tank in one production cycle, and n be the number of times material is received in one production cycle.
[0083] S3. Process the data of incoming and outgoing finished product storage tanks that have been received and paid into semi-finished product material data, and transfer them into the semi-finished product storage tanks for quality inspection.
[0084] Furthermore, such as Figure 4 As shown, step S3 includes:
[0085] S31. Process the data on the transfer in and out of finished product storage tanks into semi-finished product material data. This processing involves a transformation of the data's meaning. Before statistics are compiled, this data represents the actual transfer in and out of materials; at the start of statistics, this data becomes the transfer in and out of semi-finished product materials. The actual value of the data remains unchanged; only the material corresponding to the data has changed.
[0086] S31. Transfer the semi-finished product material data into the semi-finished product storage tank, and perform several quality inspections based on the pre-set LIMS system to obtain the LIMS quality inspection results.
[0087] S4. Based on the obtained quality inspection results, the statistical module directly converts the semi-finished material data of the semi-finished storage tanks into the delivery and return data of the finished storage tanks that have received and paid out, or converts them into the delivery and return data of the finished storage tanks that have received and paid out after reconciliation.
[0088] Furthermore, such as Figure 5 As shown, step S4 includes:
[0089] S41. During the quality inspection period, all semi-finished material data generated from the data of the transfer in and out of finished product storage tanks shall be assigned to their respective time dimensions.
[0090] S42a. If a qualified quality inspection result is obtained, all semi-finished product material data processed from the data of the transfer in and out of the finished product storage tank shall be attributed to the time dimension of the qualified occurrence as the delivery and return quantity, and the transfer in quantity of semi-finished products shall be included in the delivery quantity, and the delivery quantity data shall be included in the finished product inbound quantity.
[0091] S42b. If an unqualified quality inspection result is obtained, all incoming and outgoing materials shall be reconciled once or multiple times. After the quality inspection is qualified, the material properties in the semi-finished product tank shall be converted from semi-finished product to finished product, and the converted finished product material data shall be used as the return and delivery data of the finished product storage tank.
[0092] refer to Figure 6As shown, after the initial data processing of actual receipts and payments, before verifying the LIMS quality inspection results, all tank transfer-in and transfer-out data are processed into semi-finished product material data. Then, the actual finished product data is statistically analyzed based on the LIMS quality inspection results. Generally, there are multiple quality inspections between the current quality inspection passing and the previous quality inspection passing. During this period, all transfers in and out are categorized into their respective dimensions. Once a quality inspection passes, all transfers are categorized into the time dimension of the passing result as the delivery / return quantity. That is, before a quality inspection passes, there may be multiple non-compliant transfers in and out. If the current quality inspection result is qualified, all transfers in and out from the previous passing result to the current passing result (including the current qualified transfers in and out) are included in the current qualified transfers in and out. Finally, the semi-finished product transfer-in quantity is included in the delivery quantity, and then the delivery quantity data is included in the finished product inbound quantity.
[0093] After one or more reconciliation processes, once the system recognizes the output of the LIMS quality inspection report, the material properties in the Tc tank are converted from semi-finished product to finished product. The statistical formula is as follows:
[0094]
[0095] In the formula, Mc is the amount of finished product material transferred in after passing quality inspection, i is the number of quality inspections, Dn is the nth transfer amount into tank Tb, i is the number of quality inspections from the first quality inspection to passing quality inspection, and Mb is the amount of semi-finished product delivered to the warehouse after passing quality inspection.
[0096] Based on the above statistical calculation formulas, the final expression for the statistical module is:
[0097]
[0098] In the formula, M represents the quantity of materials returned to the warehouse. If it is 0, it means that the current quality inspection result is unqualified, and there is no statistical data on the return of semi-finished products to finished products; T c To adjust the parameters, the default value is the result of the previous quality inspection. When cumulative processing or correction processing for the current return / delivery is required, T... c It can be adjusted according to actual needs; D0 is the quantity returned to the warehouse after passing the previous quality inspection; T s The current quality inspection result is 1 for qualified and 0 for unqualified. If qualified, the total amount of semi-finished products transferred in from the previous qualified inspection to the current qualified inspection is calculated, where i is the number of times semi-finished products were transferred in from the previous qualified inspection to the current qualified inspection. n This refers to the amount of semi-finished product added each time.
[0099] Furthermore, material receipt and payment data includes: tank name, tank material, receipt / payment status, receipt / payment quantity, and the name of the counterparty tank; the tank name is the unique identifier for the current tank. Tank material identifies the material currently in the tank. The receipt / payment status indicates whether the current tank is receiving material from the counterparty tank or transferring material to the counterparty tank. The receipt / payment quantity records the amount of material received or issued by the current tank within a shift period. The counterparty tank name records the tank from which the current tank received or issued materials.
[0100] Subsequently, the storage tank delivery and return data includes: oil product name, initial inventory, quantity transferred in, quantity delivered, quantity received, quantity transferred out, and ending inventory. The oil product name serves as a unique identifier for the storage tank material; the initial inventory records the actual storage quantity of material in the current tank at the start of the production cycle; the quantity transferred in records the amount of material added to the current tank within a certain period during the production cycle; the quantity delivered records the quantity of semi-finished products transferred in after product testing; the quantity received records the quantity of finished products transferred in after product testing; the quantity transferred out records the amount of material put into the storage tank during the production cycle; the ending inventory records the actual storage quantity of material in the current tank at the end of the production cycle; the quantity returned records the quantity of semi-finished products transferred out after product testing; and the quantity discharged records the quantity of finished products transferred out after product testing.
[0101] The significance of delivery volume, inbound volume, return volume, and outbound volume lies in business requirements. Transfer in and out refers to the actual amount of material moved in the storage tank each time. Delivery and inbound are statistical data after quality inspection, used for monthly report statistics. The reports do not focus on each transfer in and out, but only on the delivery and return of qualified products.
[0102] Furthermore, the present invention also provides a storage tank return and inventory statistics device, comprising: at least one database; and a memory communicatively connected to the at least one database; wherein the memory stores instructions executable by the at least one database, the instructions being executed by the at least one database to enable the at least one database to perform the storage tank return and inventory statistics method as described above.
[0103] Furthermore, the present invention also provides a computer-readable medium having computer-executable instructions stored thereon, which, when executed by a processor, implement the storage tank return and return statistics method as described above.
[0104] In summary, this invention provides a method, equipment, and medium for statistical analysis of storage tank returns and deliveries. The solution of this invention executes the following steps: After the completion of the previous statistical cycle, at the start of the current statistical cycle, obtain all incoming and outgoing quantities of materials from each storage tank within the current time frame, as well as the quality inspection results of materials in storage tanks containing finished products that actually need to be delivered. According to the statistical algorithm, the actual incoming and outgoing quantities of materials are first reset to the data of semi-finished materials in the material reference table. Then, based on the quality inspection results, the quantity of returns and deliveries is statistically analyzed. After the statistical results are obtained, manual analysis is performed by comparing them with actual instrument readings to determine the accuracy of the statistical results.
[0105] The above solution fully considers the efficiency of the statistical analysis process. By establishing a material and LIMS quality inspection result comparison model at the statistical level, it automatically obtains the tank receipt and payment data, and automatically calculates the receipt, payment, delivery and return data of finished or semi-finished products in the comparison model based on the quality inspection results. Moreover, the current statistical cycle can be completed after the receipt and payment of a shift or a day.
[0106] The significance of this invention is mainly reflected in the following aspects:
[0107] 1. A new design of a comparison model for materials and quality inspection results replaces manual identification and labeling of data, greatly improving efficiency and accuracy.
[0108] 2. Automatically analyzes and statistically determines the material delivery and return data for storage tanks based on the material movement receipt and payment record sheet, reducing the need for manual statistical analysis.
[0109] 3. By digitizing all data on oil product movement records and oil product delivery and return data, not only is the efficiency of statistics improved, but data support is also provided for subsequent statistical analysis.
[0110] It is worth mentioning that statistical analysis can be performed after a payment and receipt data is completed. The frequency of statistics has increased to a certain extent compared to before, which can meet the current needs of enterprise production statistics.
[0111] Since the systems / devices described in the above embodiments of the present invention are systems / devices used to implement the methods of the above embodiments of the present invention, those skilled in the art can understand the specific structure and modifications of the systems / devices based on the methods described in the above embodiments of the present invention, and therefore will not be repeated here. All systems / devices used in the methods of the above embodiments of the present invention fall within the scope of protection of the present invention.
[0112] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0113] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions.
[0114] It should be noted that any reference numerals placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In claims that enumerate several means, several of these means may be embodied by the same hardware. The use of the terms first, second, third, etc., is merely for convenience of expression and does not indicate any order. These terms can be understood as part of the component names.
[0115] Furthermore, it should be noted that in the description of this specification, the terms "one embodiment," "some embodiments," "embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0116] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the claims should be interpreted to include both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0117] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, then this invention should also include these modifications and variations.
Claims
1. A method for tank deposit and withdrawal statistics, characterized by, The application relates to a statistical model for establishing a material and quality inspection result contrast, and a statistical model for tank delivery and return. The statistical model for tank delivery and return comprises a semi-finished product tank and a statistical module arranged between a plurality of finished product tanks constituting a receiving and paying relationship. When the receiving and paying between the finished product tanks occurs, the obtained material receiving and paying data of the finished product tank is converted into the data of the finished product tank being adjusted in and out. The data of the finished product tank being adjusted in and out is processed into semi-finished product data, and is adjusted into the semi-finished product tank to be inspected. The semi-finished product data of the semi-finished product tank is directly converted into the data of the finished product tank being delivered and returned, or is converted into the data of the finished product tank being delivered and returned after being adjusted and processed, according to the obtained inspection result through the statistical module. The semi-finished product tank is an object abstracted as an intermediate transition for a statistical layer, and the semi-finished product material stored in the semi-finished product tank is virtual material used for representing the receiving and paying amount, which is different from the actual material transferred due to the receiving and paying between the finished product tanks. When the receiving and paying between the finished product tanks occurs, the obtained material receiving and paying data of the finished product tank is converted into the data of the finished product tank being adjusted in and out.
2. The tank delivery and withdrawal statistics method of claim 1 wherein, When the receiving and paying between the finished product tanks occurs once, the material receiving and paying data of the finished product tank being adjusted in and out is obtained. The material receiving and paying data of the finished product tank is converted into the data of the finished product tank being adjusted in and out through an out-amount formula and an in-amount formula. The out-amount formula is as follows: The in-amount formula is as follows: The data of the finished product tank being adjusted in and out is processed into semi-finished product data, and is adjusted into the semi-finished product tank to be inspected. ; where F n is the amount of one-off payment for each tank in a production cycle, D (i)out is the amount of adjustment for each tank, and m is the number of material payments in a production cycle. The data of the finished product tank being adjusted in and out is processed into semi-finished product data. ; where D (0)in is the amount of the tank brought in, S n is the amount of the tank in a production cycle, n is the number of times of the material income in a production cycle.
3. The tank delivery and withdrawal statistics method of claim 1 wherein, The semi-finished product data is adjusted into the semi-finished product tank, and is subjected to a plurality of inspections depending on a pre-set LIMS system, so as to obtain LIMS inspection results. During the inspection, all the semi-finished product data processed from the in and out data of the finished product tank is attributed to respective time dimensions. If the qualified inspection result is obtained, all the semi-finished product data processed from the in and out data of the finished product tank is attributed to the time dimension of the qualified occurrence, as the delivery and return amount, and the in-amount of the semi-finished product is counted into the delivery amount, and the data of the delivery amount is counted into the in-amount of the finished product.
4. The tank delivery and withdrawal statistics method of claim 3 wherein, If the unqualified inspection result is obtained, after the semi-finished product tank is subjected to one or more times of adjustment and processing, the material attribute in the semi-finished product tank is converted into the finished product after the inspection is qualified, and the converted finished product data is taken as the delivery and return data of the finished product tank. The expression of the statistical module is as follows: The material receiving and paying data comprises a tank name, a tank material, a receiving and paying state, a receiving and paying amount and an opposite tank name. The tank name is a unique identification of the current tank.
5. The tank delivery and withdrawal accounting method as claimed in claim 1, wherein The tank material is used for identifying the material in the current tank. ; In the formula, M is the amount of material in and out of the warehouse. If it is 0, it represents that the current quality inspection result is unqualified; T c is an adjustment parameter, and the default is the result of the last qualified quality inspection. When cumulative processing or correction processing for the current in and out of the warehouse is needed, T c is adjusted according to actual needs. D0 is the last time the inspection qualified for the return to the library quantity; T s The current quality inspection results, qualified for 1, unqualified for 0, i is the number of semi-finished product adjustment from the last time the inspection qualified to the current inspection qualified interval, D n The amount of semi-finished product adjustment each time.
6. The tank delivery and withdrawal statistics method according to any one of claims 1 to 5, characterized in that, The receiving and paying state is used for identifying whether the current tank receives the material of the opposite tank or adjusts the material out to the opposite tank. The receiving and paying quantity is used for recording the receiving or paying quantity of the current tank in a shift period; The opposite tank name is used for recording the tank receiving or paying the material; 7. The tank delivery and withdrawal statistics method according to any one of claims 1 to 5, characterized in that, The tank delivery and return data includes the oil product name, the initial actual storage, the transferred-in quantity, the delivery quantity, the storage quantity, the transferred-out quantity and the final actual storage; The oil product name is the unique identification of the tank material; The initial actual storage is used for recording the actual storage of the current tank at the beginning of the production execution cycle; The transferred-in quantity is used for recording the quantity of the material put into the current tank in a period during the production execution cycle; The delivery quantity is used for recording the transferred-in quantity of the semi-finished product after the product is detected to be qualified; The storage quantity is used for recording the transferred-in quantity of the finished product after the product is detected to be qualified; The transferred-out quantity is used for recording the quantity of the material put out of the tank during the production execution cycle; The final actual storage is used for recording the actual storage of the current tank at the end of the production execution cycle; The return quantity is used for recording the transferred-out quantity of the semi-finished product after the product is detected to be qualified; The storage quantity is used for recording the transferred-in quantity of the finished product after the product is detected to be qualified.
8. A tank deposit and withdrawal counting device characterized by comprising: It comprises: at least one database; and a memory in communication connection with the at least one database; Wherein the memory stores instructions executable by the at least one database, and the instructions are executed by the at least one database to enable the at least one database to execute the tank delivery and return statistical method according to any one of claims 1-7.
9. A computer readable medium having stored thereon computer- executable instructions, characterized in that, The executable instructions are executed by the processor to realize the tank delivery and return statistical method according to any one of claims 1-7.
Citation Information
Patent Citations
Quality inspection strategy adaptive adjustment method and device and storage medium
CN115630861A