Gas station replenishment method and device

By determining the replenishment demand based on the predicted sales volume and safe inventory in the gas station, and determining the replenishment method and time window based on the weight of the tanker truck, the problem of mismatch between the replenishment and tanker compartment capacity in the prior art is solved, and transportation safety is improved.

CN119721517APending Publication Date: 2025-03-28CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311251385.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the prior art, the gas station replenishment method cannot match the tanker compartment capacity, resulting in the risk of deficit tank transportation, tanking or out-of-stocking.

Method used

Determine whether replenishment is needed by predicting the total sales volume, current inventory volume and safety inventory of the gas station based on the next day forecast, and determine the replenishment delivery method and time window based on the maximum tank truck load weight, upper and lower safety inventory volume.

Benefits of technology

It effectively avoids the risks of deficit tank transportation, tanking or out-of-stocking, and maximizes the full tank transportation of oil tankers and improves transportation safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119721517A_ABST
    Figure CN119721517A_ABST
Patent Text Reader

Abstract

The invention provides a gas station replenishment method and device, and the method comprises the steps: determining a first replenishment time window based on the next-day predicted total sales, the current stock, the upper limit safety stock and the lower limit safety stock under the condition that the replenishment distribution mode is one-time distribution; and under the condition that the replenishment distribution mode is multi-time distribution, a second replenishment time window is determined based on the minimum tank car load capacity, the maximum tank car load capacity, the next-day predicted total sales amount, the current stock amount, the upper limit safety stock amount and the lower limit safety stock amount. Under the condition of ensuring that the gas station does not have the danger of tank overflowing or denitration, the full-tank transportation of the oil tank truck is met to the greatest extent, and the transportation safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of finished oil tanker delivery, and in particular to a gas station replenishment method and device. Background Art

[0002] The distribution of gasoline and diesel to gas stations via tanker trucks is the last link in the finished oil supply chain. In order to reduce the safety hazards caused by the shaking of oil products in the compartments during tanker transportation, tanker transportation should reduce the empty tank transportation state as much as possible.

[0003] At present, the demand for refined oil reported by gas stations based on experience or demand forecasts is often unable to match the tank truck compartment capacity. If replenishment is carried out in full accordance with the reported demand, a large number of tank shortages will occur; if the demand is simply rounded up to the nearest compartment capacity, it is easy to cause the risk of tank overflow or out-of-stock. Summary of the invention

[0004] The present invention provides a gas station replenishment method and device, which are used to solve the defects of the prior art gas station replenishment method that cannot match the tank compartment capacity, easily leads to insufficient tank transportation, and easily causes the risk of tank overflow or out of stock.

[0005] The present invention provides a gas station replenishment method, comprising:

[0006] Determining whether the gas station needs to be replenished the next day based on the total sales volume predicted for the next day of the gas station, the current inventory of the gas station, and the lower limit safety inventory of the gas station;

[0007] In the case where it is determined that the gas station needs to be replenished the next day, determining the replenishment distribution method of the gas station based on the maximum tank truck load, the upper limit safety inventory of the gas station and the lower limit safety inventory;

[0008] In the case where the replenishment delivery method is one-time delivery, determining a first replenishment time window based on the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory;

[0009] When the replenishment and delivery method is multiple deliveries, the second replenishment time window is determined based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales, the current inventory, the upper safety inventory and the lower safety inventory.

[0010] According to a gas station replenishment method provided by the present invention, the method determines whether the gas station needs to be replenished the next day based on the total sales volume predicted for the next day of the gas station, the current inventory of the gas station, and the lower limit safety inventory of the gas station, including:

[0011] When the predicted sales volume for the next day is greater than the first threshold, determining that the gas station needs to replenish the stock for the next day;

[0012] When the predicted sales volume for the next day is less than or equal to the first threshold, determining that the gas station does not need to replenish the stock for the next day;

[0013] The first threshold is determined based on the current inventory level and the lower limit safety stock level.

[0014] According to a gas station replenishment method provided by the present invention, the replenishment distribution method of the gas station is determined based on the maximum tank truck load, the upper limit safety inventory of the gas station, and the lower limit safety inventory, including:

[0015] When the maximum tank truck load is greater than or equal to a second threshold and the next day's predicted total sales volume is less than or equal to the second threshold, determining the replenishment delivery method to be one-time delivery;

[0016] When the maximum tank truck load is greater than or equal to the second threshold and the next day's predicted total sales volume is greater than the second threshold, determining that the replenishment delivery method is multiple deliveries;

[0017] When the maximum tank truck load is less than the second threshold and the next day's predicted total sales volume is less than or equal to the maximum tank truck load, determining the replenishment delivery mode to be one-time delivery;

[0018] When the maximum tank truck load is less than the second threshold and the next day's predicted total sales volume is greater than the maximum tank truck load, determining the replenishment delivery method to be multiple deliveries;

[0019] The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

[0020] According to a gas station replenishment method provided by the present invention, determining a first replenishment time window based on the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes:

[0021] Determine the number of distribution compartments and the remaining capacity of the distribution compartments based on the total sales volume predicted for the next day and the load capacity of each type of tank truck;

[0022] Determine the target number of compartments and the first target compartment capacity based on the number of compartments of each type of tank truck, the number of delivery compartments and the remaining capacity of the delivery compartments;

[0023] Determining a candidate replenishment quantity based on the target compartment quantity and the first target compartment capacity;

[0024] The first replenishment time window is determined based on the next day's predicted sales volume by time period, the next day's predicted total sales volume, the current inventory level, the upper limit safety inventory level, the lower limit safety inventory level, and the candidate replenishment levels.

[0025] According to a gas station replenishment method provided by the present invention, the first replenishment time window is determined based on the next day's time period predicted sales volume, the next day's predicted total sales volume, the current inventory volume, the upper limit safety inventory volume, the lower limit safety inventory volume, and the candidate replenishment volume, including:

[0026] Determine a first replenishment time based on the next day's predicted sales volume by time period, the next day's predicted total sales volume, the current inventory volume, and the upper limit safety inventory volume;

[0027] Determining a second replenishment time based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume;

[0028] Determining a third replenishment time based on the next day's time-phased predicted sales volume, the current inventory volume, the candidate replenishment volume, and the upper limit safety inventory volume;

[0029] The first replenishment time window is determined based on the first replenishment time, the second replenishment time, and the third replenishment time.

[0030] According to a gas station replenishment method provided by the present invention, determining the first replenishment time window based on the first replenishment time, the second replenishment time, and the third replenishment time includes:

[0031] When the third replenishment time is later than or equal to the first replenishment time and earlier than or equal to the second replenishment time, the third replenishment time is used as the start time of the first replenishment time window, the second replenishment time is used as the end time of the first replenishment time window, and the candidate replenishment quantity is used as the target replenishment quantity;

[0032] When the third replenishment time is later than the second replenishment time, the first replenishment time is used as the start time of the first replenishment time window, the second replenishment time is used as the end time of the first replenishment time window, and the next day's predicted total sales volume is used as the target replenishment quantity.

[0033] According to a gas station replenishment method provided by the present invention, the second replenishment time window is determined based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales, the current inventory, the upper limit safety inventory, and the lower limit safety inventory, including:

[0034] In the case where the minimum tank truck load is greater than the second threshold, the number of sub-time windows corresponding to the second replenishment time window is determined based on the next day's predicted total sales volume and the second target compartment capacity; the second target compartment capacity refers to the maximum compartment capacity of the tank truck corresponding to the tank truck load being less than the second threshold;

[0035] Determine the start time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, the second target compartment capacity, and the lower limit safety inventory volume;

[0036] Determining the end time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume;

[0037] Determine the start time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, the second target compartment capacity, and the lower limit safety inventory volume;

[0038] Determine the end time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume;

[0039] The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

[0040] According to a gas station replenishment method provided by the present invention, the second replenishment time window is determined based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales, the current inventory, the upper limit safety inventory, and the lower limit safety inventory, including:

[0041] When the minimum tank truck load is less than a second threshold, determining the number of sub-time windows corresponding to the second replenishment time window based on the next day's predicted total sales volume and the minimum tank truck load;

[0042] Determine the start time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, the maximum tank truck load, and the lower limit safety inventory volume;

[0043] Determining the end time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume;

[0044] Determine the start time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume;

[0045] Determine the end time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume;

[0046] The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

[0047] According to a gas station replenishment method provided by the present invention, the second replenishment time window is determined based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales, the current inventory, the upper limit safety inventory, and the lower limit safety inventory, including:

[0048] In a case where the next day's predicted total sales volume is greater than the maximum tank truck load, determining the number of sub-time windows corresponding to the second replenishment time window based on the next day's predicted total sales volume and the maximum tank truck load;

[0049] Determine the start time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, the maximum tank truck load, and the upper limit safety inventory volume;

[0050] Determining the end time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume;

[0051] Determine the start time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, the maximum tank truck load, and the upper limit safety inventory volume;

[0052] Based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume and the lower limit safety inventory volume, the end time of the nth sub-time window is determined.

[0053] The present invention also provides a gas station replenishment device, comprising:

[0054] A first determination unit, configured to determine whether the gas station needs to be replenished the next day based on the total sales volume predicted for the next day of the gas station, the current inventory of the gas station, and the lower limit safety inventory of the gas station;

[0055] A second determination unit is used to determine the replenishment distribution mode of the gas station based on the maximum tank truck load, the upper limit safety inventory of the gas station and the lower limit safety inventory when it is determined that the gas station needs to be replenished the next day;

[0056] A single delivery unit, configured to determine a first replenishment time window based on the next day's predicted total sales volume, the current inventory volume, the upper limit safety inventory volume, and the lower limit safety inventory volume when the replenishment delivery mode is one-time delivery;

[0057] The multiple delivery unit is used to determine the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total sales volume predicted for the next day, the current inventory, the upper safety inventory and the lower safety inventory when the replenishment delivery method is multiple delivery.

[0058] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any one of the above-mentioned gas station replenishment methods is implemented.

[0059] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the gas station replenishment method as described in any one of the above is implemented.

[0060] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the gas station replenishment method as described above is implemented.

[0061] The gas station replenishment method and device provided by the present invention, when determining the first replenishment time window and the second replenishment time window, simultaneously considers situations such as tank overflow, out-of-stock, and full-warehouse transportation of tank trucks at the gas station, so as to ensure that there is no risk of tank overflow or out-of-stock at the gas station, and to maximize the full-warehouse transportation of tank trucks, thereby improving transportation safety. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0063] Figure 1 It is a schematic diagram of the flow of the gas station replenishment method provided by the present invention;

[0064] Figure 2 It is a structural schematic diagram of the gas station replenishment device provided by the present invention;

[0065] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] At present, the demand for refined oil reported by gas stations based on experience or demand forecasts is often unable to match the tank truck compartment capacity. If replenishment is carried out in full accordance with the reported demand, a large number of tank shortages will occur. If the demand is simply rounded up to the nearest compartment capacity without matching it with the demand time window, it is easy to cause the risk of tank overflow or out-of-stock.

[0068] Therefore, how to determine the reasonable replenishment quantity and replenishment time window for gas stations so as to meet full-tank transportation to the greatest extent possible and reduce the number of vehicle deliveries and the number of compartments used without causing tank overflow / out-of-stock accidents has become a technical problem that needs to be solved urgently.

[0069] To this end, the present invention provides a gas station replenishment method. Figure 1 : is a flow chart of the gas station replenishment method provided by the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0070] Step 110: Determine whether the gas station needs to replenish the stock the next day based on the total sales volume predicted for the next day, the current inventory of the gas station, and the lower limit safety inventory of the gas station.

[0071] Here, the predicted sales volume of the next day of the gas station refers to the predicted value of the total sales volume of the next day of the gas station, which can be determined based on the historical daily sales volume by time period. The current inventory volume refers to the inventory volume of the gas station at the current moment, and the lower limit safety inventory volume refers to the lower limit value of the safety inventory of the gas station.

[0072] Optionally, the average of the hourly sales of the gas station in the previous three days can be used as the predicted sales volume Qi (i ranges from 1 to 24) of the gas station for the next day, and the predicted sales volume for the next day can be accumulated by adding up the 24 predicted sales volumes for the next day. For example, the sales volume of the gas station in the time period 14:00-15:00 in the previous three days are Q1, Q2 and Q3 respectively, then the average of Q1, Q2 and Q3 can be used as the predicted sales volume for the next day time period (14:00-15:00), and so on, to predict the predicted sales volume for the next day corresponding to other time periods, and accumulate the predicted sales volume for each next day time period to obtain the predicted sales volume for the next day.

[0073] Optionally, machine learning can also be performed based on historical daily time-phase sales and corresponding time-phase sales to obtain a sales volume prediction model, and based on the sales volume prediction model, the predicted sales volume for the next day by time phase is obtained, and the predicted sales volume for each next day by time phase is accumulated to obtain the predicted total sales volume for the next day.

[0074] If the difference between the current inventory and the lower limit safety inventory is greater than or equal to the total sales volume predicted for the next day, it indicates that the gas station does not need to replenish the next day and can proceed to the next replenishment cycle forecast, that is, use the same method as above to predict whether the gas station needs to replenish the next day. If the difference between the current inventory and the lower limit safety inventory is less than the total sales volume predicted for the next day, it indicates that the gas station needs to replenish the next day.

[0075] Step 120: When it is determined that the gas station needs to be replenished the next day, the replenishment distribution method of the gas station is determined based on the maximum tank truck load, the upper limit safety inventory and the lower limit safety inventory of the gas station.

[0076] Specifically, the maximum tank truck load refers to the maximum load among all types of tank trucks, and the upper limit safety stock refers to the upper limit of the safety stock of the gas station. The replenishment delivery method can include one-time delivery and multiple deliveries.

[0077] If the current maximum tank truck load is greater than or equal to the difference between the upper and lower safety stock levels, and the total sales volume forecast for the next day is less than or equal to the difference between the upper and lower safety stock levels, the replenishment delivery method is one-time delivery.

[0078] If the current maximum tank truck load is greater than or equal to the difference between the upper and lower safety stock levels, and the total sales volume forecast for the next day is greater than the difference between the upper and lower safety stock levels, the replenishment delivery method is multiple deliveries.

[0079] If the current maximum tank truck load is less than the difference between the upper safety stock and the lower safety stock, and the total sales volume predicted for the next day is less than or equal to the upper safety stock, the replenishment delivery method is one-time delivery.

[0080] If the current maximum tank truck load is less than the difference between the upper safety stock and the lower safety stock, and the total sales volume predicted for the next day is greater than the upper safety stock, the replenishment delivery method is multiple deliveries.

[0081] Step 130: When the replenishment delivery method is one-time delivery, determine the first replenishment time window based on the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory.

[0082] Specifically, the first replenishment time window refers to the time range for replenishment, that is, the time range determined based on the start time and the end time of replenishment. When the replenishment delivery method is one-time delivery, the first time replenishment window is determined based on the next day's predicted total sales, the current inventory, the upper limit safety inventory, and the lower limit safety inventory. Since the embodiment of the present invention combines the next day's predicted total sales, the current inventory, the upper limit safety inventory, and the lower limit safety inventory to determine the first time replenishment time window, that is, it simultaneously considers the situations of tank overflow, out of stock, and full tank transportation of tank trucks at gas stations, so as to ensure that there is no risk of tank overflow or out of stock at gas stations, and to meet the full tank transportation of tank trucks to the greatest extent, and to perform one-time delivery and replenishment based on the first replenishment time window to improve transportation safety.

[0083] Step 140: When the replenishment delivery method is multiple deliveries, determine the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales, the current inventory, the upper safety inventory, and the lower safety inventory.

[0084] Specifically, since the second replenishment time window corresponds to multiple deliveries, and each delivery corresponds to a sub-time window, the second replenishment time window includes multiple sub-time windows. Since the embodiment of the present invention combines the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales, the current inventory, the upper limit safety inventory, and the lower limit safety inventory to determine the second time replenishment time window, that is, the gas station overflow, out of stock, and full tanker transportation are taken into account at the same time, so as to ensure that the gas station does not have the risk of overflow or out of stock, and to meet the full tanker transportation to the greatest extent, multiple delivery replenishments are carried out based on the second replenishment time window to improve transportation safety.

[0085] The gas station replenishment method provided in the embodiment of the present invention takes into account the situations of tank overflow, out-of-stock, and full-tank transportation of tank trucks at the gas station when determining the first replenishment time window and the second replenishment time window, so as to maximize the full-tank transportation of tank trucks and improve transportation safety while ensuring that there is no risk of tank overflow or out-of-stock at the gas station.

[0086] Based on the above embodiment, determining whether the gas station needs to replenish the next day based on the predicted total sales volume of the gas station for the next day, the current inventory of the gas station, and the lower limit safety inventory of the gas station includes:

[0087] When the total sales volume predicted for the next day is greater than the first threshold, determining that the gas station needs to replenish the stock the next day;

[0088] When the predicted sales volume for the next day is less than or equal to the first threshold, it is determined that the gas station does not need to replenish the goods for the next day;

[0089] The first threshold is determined based on the current inventory quantity and the lower limit safety stock quantity.

[0090] Specifically, the first threshold can be the current inventory Is and the lower limit safety inventory Vs min The difference between the first threshold value = Is-Vs min .

[0091] When the next day's predicted total sales volume Qt is greater than the first threshold, that is, Qt>Is-Vs min , determine that the gas station needs to replenish the next day; when the total sales volume Qt predicted for the next day is less than or equal to the first threshold, that is, Qt≤Is-Vs min , making sure that gas stations do not need to restock the next day.

[0092] Based on any of the above embodiments, the replenishment distribution method of the gas station is determined based on the maximum tank truck load, the upper limit safety inventory and the lower limit safety inventory of the gas station, including:

[0093] When the maximum tank truck load is greater than or equal to the second threshold and the next day's predicted total sales volume is less than or equal to the second threshold, the replenishment delivery method is determined to be one-time delivery;

[0094] When the maximum tank truck load is greater than or equal to the second threshold and the next day's predicted total sales volume is greater than the second threshold, the replenishment delivery method is determined to be multiple deliveries;

[0095] When the maximum tank truck load is less than the second threshold and the next day's predicted total sales volume is less than or equal to the maximum tank truck load, the replenishment delivery method is determined to be one-time delivery;

[0096] When the maximum tank truck load is less than the second threshold and the next day's predicted total sales volume is greater than the maximum tank truck load, the replenishment delivery method is determined to be multiple deliveries;

[0097] The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

[0098] For ease of description, V 车max Indicates the maximum tank truck load, Vs max Represents the upper limit safety stock, Vs min represents the lower limit safety stock, and Qt represents the total sales volume predicted for the next day.

[0099] For Vs max -Vs min ≤V 车max Situation:

[0100] If Qt≤Vs max -Vs min , then it is necessary to restock and deliver to the gas station, and the task can be completed in one delivery;

[0101] If Qt>Vs max-Vs min , then it is necessary to carry out replenishment delivery to the gas station and it should be divided into multiple deliveries.

[0102] For Vs max -Vs min >V 车max Situation:

[0103] If Qt≤V 车max , then it is necessary to restock and deliver to the gas station, and the task can be completed in one delivery;

[0104] If Qt>V 车max , then it is necessary to carry out replenishment delivery to the gas station and it should be divided into multiple deliveries.

[0105] Based on any of the above embodiments, determining a first replenishment time window based on the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes:

[0106] Determine the number of distribution compartments and the remaining capacity of the distribution compartments based on the total sales volume predicted for the next day and the load capacity of each type of tank truck;

[0107] Determine the target number of compartments and the first target compartment capacity based on the number of compartments of each type of tank truck, the number of delivery compartments and the remaining capacity of the delivery compartments;

[0108] Determine a candidate replenishment quantity based on the target compartment quantity and the first target compartment capacity;

[0109] The first replenishment time window is determined based on the next day's predicted sales volume by time period, the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, the lower limit safety inventory, and the candidate replenishment quantities.

[0110] First, the compartment capacity V of n types of tank trucks j Sort from large to small, j = 1, 2, ... n. Calculate the number of tanker compartments Tr required for the next day's predicted sales volume Qt of the gas station j and the remaining capacity of the compartment Z j .

[0111] Among them, Tr j For Qt and V j The integer part of the quotient of ×m, where m is Qt and V j The decimal part of the quotient, that is

[0112] From the above Tr j Find the one that satisfies Tr j ≤n 舱 (n 舱 V jThe corresponding number of compartments of the tank truck) and Z j The target compartment quantity Tr and the first target compartment capacity Vr corresponding to the minimum condition, and then the candidate replenishment quantity Qr = (Tr+1)×V r .

[0113] Next, based on the next day's predicted sales volume by time period, the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, the lower limit safety inventory, and the candidate replenishment quantities, the first replenishment time window is determined, specifically including:

[0114] Determine the first replenishment time based on the next day's predicted sales volume by time period, the next day's predicted total sales volume, the current inventory volume, and the upper limit safety inventory volume;

[0115] Determine the second replenishment time based on the next day's time-phased sales forecast, current inventory, and lower limit safety inventory;

[0116] Determine the third replenishment time based on the next day's time-phased forecast sales volume, current inventory, candidate replenishment quantities, and upper limit safety inventory;

[0117] A first replenishment time window is determined based on the first replenishment time, the second replenishment time, and the third replenishment time.

[0118] Specifically, the next day's time-segment sales forecast value Q i Refers to the sales forecast value corresponding to each time period of the next day, where each hour can be regarded as a time period, or multiple hours can be regarded as a time period, which is not specifically limited in the embodiment of the present invention. The first replenishment time refers to the earliest replenishment time, the second replenishment time refers to the latest replenishment time, and the third replenishment time refers to the earliest time when the tank of the gas station can completely unload the candidate replenishment quantity Qr. The determination methods of the above three replenishment times are as follows:

[0119] The first replenishment time x1 is determined based on the following formula:

[0120]

[0121] If I s +Q t -V smax <0, then x1=0.

[0122] The second replenishment time x2 is determined based on the following formula:

[0123]

[0124] The third replenishment time x3 is determined based on the following formula:

[0125]

[0126] After determining the first replenishment time, the second replenishment time, and the third replenishment time, it is necessary to determine whether the gas station has the ability to receive and unload a full tank of oil products. Specifically, based on the first replenishment time, the second replenishment time, and the third replenishment time, the first replenishment time window is determined, including:

[0127] When the third replenishment time is later than or equal to the first replenishment time and earlier than or equal to the second replenishment time, the third replenishment time is used as the start time of the first replenishment time window, the second replenishment time is used as the end time of the first replenishment time window, and the candidate replenishment quantity is used as the target replenishment quantity;

[0128] When the third replenishment time is later than the second replenishment time, the first replenishment time is used as the start time of the first replenishment time window, the second replenishment time is used as the end time of the first replenishment time window, and the next day's predicted total sales volume is used as the target replenishment quantity.

[0129] If x1≤x3≤x2, the gas station has the ability to receive and unload full tanks of oil products. The start time of the first replenishment time window (i.e., the earliest time for the gas station to receive and unload oil products) is T start = x3, the end time of the first replenishment time window (i.e. the latest time for the gas station to load and unload oil products) T end =x2, that is, the first replenishment time window is T start to T end If the oil is unloaded outside this time period, there will be a risk of overflow or out of stock. In addition, the target replenishment quantity Q of the gas station is s =(Tr+1)×V j .

[0130] If x3>x2, the gas station does not have the capacity to receive and unload full tanks of oil products and can only transport part of the tank; the start time of the first replenishment time window (i.e., the earliest time for the gas station to receive and unload oil products) is T start = x1, the end time of the first replenishment time window (i.e. the latest time for the gas station to load and unload oil products) T end = x2. In addition, the target replenishment quantity of the gas station is Q s =Qt.

[0131] Based on any of the above embodiments, determining the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total sales volume predicted for the next day, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes:

[0132] When the minimum tank truck load is greater than the second threshold, the number of sub-time windows corresponding to the second replenishment time window is determined based on the next day's predicted total sales volume and the second target compartment capacity; the second target compartment capacity refers to the maximum compartment capacity of the tank truck corresponding to the tank truck load being less than the second threshold;

[0133] Determine the start time of the first sub-time window based on the next day's time-segment forecast sales volume, current inventory volume, second target compartment capacity, and lower limit safety inventory volume;

[0134] Based on the next day's time-segment forecast sales volume, current inventory, and lower limit safety inventory, determine the end time of the first sub-time window;

[0135] Based on the end time of the first sub-time window, the next day's time-segment forecast sales volume, the current inventory volume, the second target compartment capacity, and the lower limit safety inventory volume, determine the start time of the nth sub-time window;

[0136] Based on the end time of the first sub-time window, the next day's time-segment forecast sales volume, the current inventory volume, and the lower limit safety inventory volume, determine the end time of the nth sub-time window;

[0137] The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

[0138] Among them, the second target compartment capacity Vt refers to the tank truck load less than Vs max -Vs min The largest compartment capacity of all tank trucks.

[0139] If Vs max -Vs min <V 车min (V 车min represents the minimum tank truck load), then calculate Then Qt should be split into n+1 batches, that is, the number of sub-time windows corresponding to the second replenishment time window is n+1. The replenishment quantity of the first n sub-time windows is Vt, and the specific method for determining each sub-time window is as follows:

[0140] The starting time ys1 of the first sub-time window is determined based on the following formula:

[0141]

[0142] The end time ye1 of the first sub-time window is determined based on the following formula:

[0143]

[0144] The starting time ys2 of the second sub-time window is determined based on the following formula:

[0145]

[0146] Among them, I s1 The current inventory of the gas station after completing the replenishment corresponding to the first sub-time window.

[0147] The end time ye2 of the second sub-time window is determined based on the following formula:

[0148]

[0149] And so on, the starting time ysn of the nth sub-time window is:

[0150]

[0151] The end time of the nth sub-time window is:

[0152]

[0153] Where, yen-1 is the end time of the n-1th sub-time window, I sn-1 The current inventory of the gas station after completing the replenishment corresponding to the n-1th sub-time window.

[0154] Among them, the replenishment quantity corresponding to the n+1th sub-time window is Vr, and the compartment closest to Vr is selected to adopt full-load transportation.

[0155] Based on any of the above embodiments, determining the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total sales volume predicted for the next day, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes:

[0156] When the minimum tank truck load is less than the second threshold, the number of sub-time windows corresponding to the second replenishment time window is determined based on the next day's predicted total sales volume and the minimum tank truck load;

[0157] Determine the start time of the first sub-time window based on the next day's time-segment forecast sales volume, current inventory, maximum tank truck load, and lower limit safety inventory;

[0158] Based on the next day's time-segment forecast sales volume, current inventory, and lower limit safety inventory, determine the end time of the first sub-time window;

[0159] Based on the end time of the first sub-time window, the next day's time-segment forecast sales volume, the current inventory volume, and the lower limit safety inventory volume, determine the start time of the nth sub-time window;

[0160] Based on the end time of the first sub-time window, the next day's time-segment forecast sales volume, the current inventory volume, and the lower limit safety inventory volume, determine the end time of the nth sub-time window;

[0161] The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

[0162] If Vs max -Vs min >V车min , then calculate Then Qt should be split into n+1 batches, that is, the number of sub-time windows corresponding to the second replenishment time window is n+1. The replenishment quantity of the first n sub-time windows is V 车min , the specific method for determining each sub-time window is as follows:

[0163] The starting time zs1 of the first sub-time window is determined based on the following formula:

[0164]

[0165] The end time ze1 of the first sub-time window is determined based on the following formula:

[0166]

[0167] The starting time zs2 of the second sub-time window is determined based on the following formula:

[0168]

[0169] Among them, I s1 The current inventory of the gas station after completing the replenishment corresponding to the first sub-time window.

[0170] The end time ze2 of the second sub-time window is determined based on the following formula:

[0171]

[0172] And so on, the starting time zsn of the nth sub-time window is:

[0173]

[0174] The end time zen of the nth sub-time window:

[0175]

[0176] Among them, zen-1 is the end time of the n-1th sub-time window, I sn-1 The current inventory of the gas station after completing the replenishment corresponding to the n-1th sub-time window.

[0177] The replenishment quantity corresponding to the n+1th sub-time window is Vr. The method for determining Vr is as described in any of the above embodiments, but when calculating Vr, Qt needs to be replaced by Qt-n×V 车min , the current inventory quantity Is is replaced by the current inventory quantity corresponding to the end time of the nth sub-time window, and the sum calculation start time is replaced from 0 to the end time of the nth sub-time window.

[0178] Based on any of the above embodiments, determining the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total sales volume predicted for the next day, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes:

[0179] When the total sales volume predicted for the next day is greater than the maximum tank truck load, the number of sub-time windows corresponding to the second replenishment time window is determined based on the total sales volume predicted for the next day and the maximum tank truck load;

[0180] Based on the next day's time-segment forecast sales volume, current inventory, maximum tank truck load, and upper limit safety inventory, determine the start time of the first sub-time window;

[0181] Based on the next day's time-segment forecast sales volume, current inventory, and lower limit safety inventory, determine the end time of the first sub-time window;

[0182] Based on the end time of the first sub-time window, the next day's forecast sales volume by time period, the current inventory, the maximum tank truck load, and the upper limit safety inventory, determine the start time of the nth sub-time window;

[0183] The end time of the nth sub-time window is determined based on the end time of the first sub-time window, the next day's time-segment forecast sales volume, the current inventory volume, and the lower limit safety inventory volume.

[0184] If Qt>V 车max , then calculate Then Qt should be split into n+1 batches, that is, the number of sub-time windows corresponding to the second replenishment time window is n+1. The replenishment quantity of the first n sub-time windows is V 车max , the specific method for determining each sub-time window is as follows:

[0185] The starting time os1 of the first sub-time window is determined based on the following formula:

[0186]

[0187] The end time oe1 of the first sub-time window is determined based on the following formula:

[0188]

[0189] The starting time os2 of the second sub-time window is determined based on the following formula:

[0190]

[0191] Among them, I s1 The current inventory of the gas station after completing the replenishment corresponding to the first sub-time window.

[0192] The end time oe2 of the second sub-time window is determined based on the following formula:

[0193]

[0194] And so on, the starting time of the nth sub-time window is osn:

[0195]

[0196] The end time oen of the nth sub-time window:

[0197]

[0198] Among them, oen-1 is the end time of the n-1th sub-time window, I sn-1 The current inventory of the gas station after completing the replenishment corresponding to the n-1th sub-time window.

[0199] The replenishment quantity corresponding to the n+1th sub-time window is Vr. The method for determining Vr is as described in any of the above embodiments, but when calculating Vr, Qt needs to be replaced by Qt-N×V 车max , the current inventory quantity Is is replaced by the current inventory quantity corresponding to the end time of the nth sub-time window, and the sum calculation start time is replaced from 0 to the end time of the nth sub-time window.

[0200] In order to better understand the present invention, the content of the present invention is further described below in conjunction with the embodiments, but the present invention is not limited to the following embodiments.

[0201] The upper limit safety inventory of a gas station tank is 40m 3 , lower limit safety stock 5m 3 , the current inventory at the beginning of the period is 12m 3 There are 4 types of tank trucks: loading capacity is 36m 3 Double cabin model with a loading capacity of 24m 3 Double cabin model with a loading capacity of 50m 3 Single cabin model and loading capacity is 5m 3 A single-cabin model.

[0202] First, the average value of the historical data of the gas station in each period of the previous three days is used as the predicted sales volume Qi of the gas station for the next day. Qi is [0.012, 0, 0, 0.041, 0.032, 0.102, 1.021, 1.211, 2.533, 1.532, 1.569, 1.23, 2.438, 2.986, 1.32, 1.237, 1.311, 1.385, 1.985, 2.322, 2.578, 1.396, 0.322, 0.4], and the predicted total sales volume Qt for the next day is 28.963m3 .

[0203] Next, determine whether the gas station needs to be replenished, the replenishment quantity, and whether it needs to be split into multiple deliveries:

[0204] According to the actual situation of the gas station V smin =3m 3 、Is=10m 3 , calculate Is-Vs min =7m 3 , and then we can get Qt>Is-Vs min Therefore, the gas station needs to replenish its stock this time.

[0205] According to the actual situation of the gas station V smax =40m 3 , the maximum load capacity among the 4 models is V 车max 50m 3 , calculated Vs max -Vs min =37m 3 , and then we can get Vs max -Vs min ≤V 车max And Qt≤Vs max -Vs min Therefore, the gas station can complete the task with one delivery.

[0206] On this basis, the target replenishment quantity for one delivery is determined as follows:

[0207] The capacity of the compartments of the four types of tankers V j Sort from largest to smallest, the result is V j =[50, 18, 12, 5].

[0208] When j = 0,

[0209] When j = 1,

[0210] When j = 2,

[0211] When j = 3,

[0212] Meet Tr j ≤n 舱 And Z j The first target compartment number Tr of the minimum condition is Tr 1=1, the target compartment capacity Vr is V 1 =18m 3 , and then calculate the target replenishment quantity Qr = (Tr + 1) × V r =36m 3 .

[0213] calculate It is obtained that x1 = 0:00, that is, the first replenishment time T1 = 0:00;

[0214] calculate The difference calculation method is used between Qi to obtain x2 = 10:19, that is, the second replenishment time T2 = 10:19;

[0215] calculate x3=9:41, i.e. the third replenishment time T3=9:41;

[0216] After determining the first replenishment time, the second replenishment time, and the third replenishment time, determine whether the gas station has the ability to receive and unload the full tank of oil products:

[0217] Since the judgment condition of T1≤T3≤T2 is met, the gas station has the ability to receive and unload full tanks of oil products. Therefore, the start time of the first replenishment time window (i.e. the earliest time for the gas station to receive and unload oil products) is 9:41, and the end time of the first replenishment time window (i.e. the latest time for receiving and unloading oil products is 10:19). The replenishment quantity of the gas station is 36m 3 , using 1 vehicle with a loading capacity of 36m 3 Double-cabin tanker truck.

[0218] It can be seen that the present invention can meet the full-load transportation of vehicles to the maximum extent, reduce the use of compartments and the number of vehicle distribution times, and reduce the distribution cost of tank trucks, while ensuring that there is no risk of tank overflow or out-of-stock at gas stations.

[0219] The gas station replenishment device provided by the present invention is described below. The gas station replenishment device described below and the gas station replenishment method described above can be referenced to each other.

[0220] Based on any of the above embodiments, the present invention also provides a gas station replenishment device, such as Figure 2 As shown, the device comprises:

[0221] A first determination unit 210 is used to determine whether the gas station needs to replenish the next day based on the total sales volume predicted for the next day of the gas station, the current inventory of the gas station, and the lower limit safety inventory of the gas station;

[0222] The second determination unit 220 is used to determine the replenishment distribution mode of the gas station based on the maximum tank truck load, the upper limit safety inventory and the lower limit safety inventory of the gas station when it is determined that the gas station needs to be replenished the next day;

[0223] A single delivery unit 230 is used to determine a first replenishment time window based on the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory when the replenishment delivery mode is one-time delivery;

[0224] The multiple delivery unit 240 is used to determine the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total sales volume predicted for the next day, the current inventory, the upper safety inventory and the lower safety inventory when the replenishment delivery method is multiple delivery.

[0225] Figure 3 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 3 As shown, the electronic device may include: a processor (processor) 310, a memory (memory) 320, a communication interface (Communications Interface) 330 and a communication bus 340, wherein the processor 310, the memory 320, and the communication interface 330 communicate with each other through the communication bus 340. The processor 310 can call the logic instructions in the memory 320 to execute the gas station replenishment method, which includes: determining whether the gas station needs replenishment the next day based on the total predicted sales volume of the gas station for the next day, the current inventory volume of the gas station, and the lower limit safety inventory volume of the gas station; if it is determined that the gas station needs replenishment the next day, determining the replenishment delivery method of the gas station based on the maximum tank truck load, the upper limit safety inventory volume of the gas station, and the lower limit safety inventory volume; if the replenishment delivery method is a one-time delivery, determining a first replenishment time window based on the total predicted sales volume for the next day, the current inventory volume, the upper limit safety inventory volume, and the lower limit safety inventory volume; if the replenishment delivery method is multiple deliveries, determining a second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total predicted sales volume for the next day, the current inventory volume, the upper limit safety inventory volume, and the lower limit safety stock volume.

[0226] In addition, the logic instructions in the above-mentioned memory 320 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0227] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the gas station replenishment method provided by the above methods, the method comprising: determining whether the gas station needs replenishment the next day based on the total predicted sales volume of the gas station for the next day, the current inventory of the gas station, and the lower limit safety inventory of the gas station; if it is determined that the gas station needs replenishment the next day, determining the replenishment delivery method of the gas station based on the maximum tank truck load, the upper limit safety inventory of the gas station, and the lower limit safety inventory; if the replenishment delivery method is a single delivery, determining a first replenishment time window based on the total predicted sales volume for the next day, the current inventory, the upper limit safety inventory, and the lower limit safety inventory; if the replenishment delivery method is multiple deliveries, determining a second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total predicted sales volume for the next day, the current inventory, the upper limit safety inventory, and the lower limit safety stock.

[0228] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the above-mentioned gas station replenishment method, the method comprising: determining whether the gas station needs replenishment the next day based on the total predicted sales volume of the gas station for the next day, the current inventory of the gas station and the lower limit safety inventory of the gas station; in the case where it is determined that the gas station needs replenishment the next day, determining the replenishment delivery method of the gas station based on the maximum tank truck load, the upper limit safety inventory of the gas station and the lower limit safety inventory; in the case where the replenishment delivery method is a single delivery, determining a first replenishment time window based on the total predicted sales volume for the next day, the current inventory, the upper limit safety inventory and the lower limit safety stock; in the case where the replenishment delivery method is multiple deliveries, determining a second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total predicted sales volume for the next day, the current inventory, the upper limit safety stock and the lower limit safety stock.

[0229] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0230] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0231] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for replenishing gas stations, characterized in that: include: Determining whether the gas station needs to be replenished the next day based on the total sales volume predicted for the next day of the gas station, the current inventory of the gas station, and the lower limit safety inventory of the gas station; In the case where it is determined that the gas station needs to be replenished the next day, determining the replenishment distribution method of the gas station based on the maximum tank truck load, the upper limit safety inventory of the gas station and the lower limit safety inventory; In the case where the replenishment delivery method is one-time delivery, determining a first replenishment time window based on the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory; When the replenishment and delivery method is multiple deliveries, the second replenishment time window is determined based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales, the current inventory, the upper safety inventory and the lower safety inventory.

2. The gas station replenishment method according to claim 1, characterized in that: The determining whether the gas station needs to replenish the next day based on the predicted total sales volume of the gas station for the next day, the current inventory volume of the gas station, and the lower limit safety inventory volume of the gas station includes: When the predicted sales volume for the next day is greater than the first threshold, determining that the gas station needs to replenish the stock for the next day; When the predicted sales volume for the next day is less than or equal to the first threshold, determining that the gas station does not need to replenish the stock for the next day; The first threshold is determined based on the current inventory level and the lower limit safety stock level.

3. The gas station replenishment method according to claim 1, characterized in that: The method of determining the replenishment and delivery method of the gas station based on the maximum tank truck load, the upper limit safety inventory of the gas station, and the lower limit safety inventory includes: When the maximum tank truck load is greater than or equal to a second threshold and the next day's predicted total sales volume is less than or equal to the second threshold, determining the replenishment delivery method to be one-time delivery; When the maximum tank truck load is greater than or equal to the second threshold and the next day's predicted total sales volume is greater than the second threshold, determining that the replenishment delivery method is multiple deliveries; When the maximum tank truck load is less than the second threshold and the next day's predicted total sales volume is less than or equal to the maximum tank truck load, determining the replenishment delivery mode to be one-time delivery; When the maximum tank truck load is less than the second threshold and the next day's predicted total sales volume is greater than the maximum tank truck load, determining the replenishment delivery method to be multiple deliveries; The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

4. The method for replenishing gas station according to claim 1, characterized in that: The determining the first replenishment time window based on the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes: Determine the number of distribution compartments and the remaining capacity of the distribution compartments based on the total sales volume predicted for the next day and the load capacity of each type of tank truck; Determine the target number of compartments and the first target compartment capacity based on the number of compartments of each type of tank truck, the number of delivery compartments and the remaining capacity of the delivery compartments; Determining a candidate replenishment quantity based on the target compartment quantity and the first target compartment capacity; The first replenishment time window is determined based on the next day's predicted sales volume by time period, the next day's predicted total sales volume, the current inventory level, the upper limit safety inventory level, the lower limit safety inventory level, and the candidate replenishment levels.

5. The gas station replenishment method according to claim 4, characterized in that: The determining the first replenishment time window based on the next day's time period predicted sales volume, the next day's predicted total sales volume, the current inventory volume, the upper limit safety inventory volume, the lower limit safety inventory volume, and the candidate replenishment volume includes: Determine a first replenishment time based on the next day's predicted sales volume by time period, the next day's predicted total sales volume, the current inventory volume, and the upper limit safety inventory volume; Determining a second replenishment time based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume; Determining a third replenishment time based on the next day's time-phased predicted sales volume, the current inventory volume, the candidate replenishment volume, and the upper limit safety inventory volume; The first replenishment time window is determined based on the first replenishment time, the second replenishment time, and the third replenishment time.

6. The gas station replenishment method according to claim 5, characterized in that: The determining the first replenishment time window based on the first replenishment time, the second replenishment time, and the third replenishment time includes: When the third replenishment time is later than or equal to the first replenishment time and earlier than or equal to the second replenishment time, the third replenishment time is used as the start time of the first replenishment time window, the second replenishment time is used as the end time of the first replenishment time window, and the candidate replenishment quantity is used as the target replenishment quantity; When the third replenishment time is later than the second replenishment time, the first replenishment time is used as the start time of the first replenishment time window, the second replenishment time is used as the end time of the first replenishment time window, and the next day's predicted total sales volume is used as the target replenishment quantity.

7. The gas station replenishment method according to claim 1, characterized in that: The determining of the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes: In the case where the minimum tank truck load is greater than the second threshold, the number of sub-time windows corresponding to the second replenishment time window is determined based on the next day's predicted total sales volume and the second target compartment capacity; the second target compartment capacity refers to the maximum compartment capacity of the tank truck corresponding to the tank truck load being less than the second threshold; Determine the start time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, the second target compartment capacity, and the lower limit safety inventory volume; Determining the end time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume; Determine the start time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, the second target compartment capacity, and the lower limit safety inventory volume; Determine the end time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume; The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

8. The gas station replenishment method according to claim 1, characterized in that: The determining of the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes: When the minimum tank truck load is less than a second threshold, determining the number of sub-time windows corresponding to the second replenishment time window based on the next day's predicted total sales volume and the minimum tank truck load; Determine the start time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, the maximum tank truck load, and the lower limit safety inventory volume; Determining the end time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume; Determine the start time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume; Determine the end time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume; The second threshold is determined based on the upper limit safety stock amount and the lower limit safety stock amount.

9. The gas station replenishment method according to claim 1, characterized in that: The determining of the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the next day's predicted total sales volume, the current inventory, the upper limit safety inventory, and the lower limit safety inventory includes: In a case where the next day's predicted total sales volume is greater than the maximum tank truck load, determining the number of sub-time windows corresponding to the second replenishment time window based on the next day's predicted total sales volume and the maximum tank truck load; Determine the start time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, the maximum tank truck load, and the upper limit safety inventory volume; Determining the end time of the first sub-time window based on the next day's time-phased predicted sales volume, the current inventory volume, and the lower limit safety inventory volume; Determine the start time of the nth sub-time window based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume, the maximum tank truck load, and the upper limit safety inventory volume; Based on the end time of the first sub-time window, the next day's time-phased predicted sales volume, the current inventory volume and the lower limit safety inventory volume, the end time of the nth sub-time window is determined.

10. A gas station replenishment device, characterized in that: include: A first determination unit, configured to determine whether the gas station needs to be replenished the next day based on the total sales volume predicted for the next day of the gas station, the current inventory of the gas station, and the lower limit safety inventory of the gas station; A second determination unit is used to determine the replenishment distribution mode of the gas station based on the maximum tank truck load, the upper limit safety inventory of the gas station and the lower limit safety inventory when it is determined that the gas station needs to be replenished the next day; A single delivery unit, configured to determine a first replenishment time window based on the next day's predicted total sales volume, the current inventory volume, the upper limit safety inventory volume, and the lower limit safety inventory volume when the replenishment delivery mode is one-time delivery; The multiple delivery unit is used to determine the second replenishment time window based on the minimum tank truck load, the maximum tank truck load, the total sales volume predicted for the next day, the current inventory, the upper safety inventory and the lower safety inventory when the replenishment delivery method is multiple delivery.