Early warning method and device for supply interruption of petroleum products and storage medium

By calculating the risk warning parameters of vehicle real-time transportation information and sales forecast data, the oil outage risk level of gas stations and oil depots is determined, and the problem of inaccurate warning information for the supply of petroleum products is solved, and accurate early warning and stable operation are achieved.

CN120218582APending Publication Date: 2025-06-27RICHFIT INFORMATION TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311795218.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

During the transportation of petroleum products, due to communication problems or abnormal states, petroleum product supply interruptions in gas stations and oil depots, which affects stable operation. It is difficult to ensure the accuracy of early warning information by relying on human experience in the existing technology.

Method used

By using real-time vehicle transportation information data and terminal station petroleum product sales forecast data, the risk warning parameters of each terminal station are calculated, and substituted into the arrival time and oil disconnection time formulas to determine the oil disconnection risk level and provide accurate warning information.

Benefits of technology

Accurate early warning of interruption of petroleum product supply has been achieved, the accuracy of early warning information has been improved, and false alarms and misreports have been reduced due to human experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120218582A_ABST
    Figure CN120218582A_ABST
Patent Text Reader

Abstract

The invention discloses a petroleum product supply interruption early warning method and device and a storage medium, and belongs to the technical field of oil and gas resource allocation and transportation. The method comprises the following steps: obtaining risk early warning parameters of each terminal station according to vehicle real-time dispatching information data and sales volume prediction data of petroleum products of each terminal station in a to-be-detected area; substituting the risk early warning parameter of each terminal station into an arrival time formula to obtain the arrival time of each terminal station; substituting the risk early warning parameter of each terminal station and the arrival time of each terminal station into a fuel cut-off time formula to obtain the fuel cut-off time of each terminal station; and substituting the fuel cut-off time of each terminal station into the correlation between the fuel cut-off risk level and the fuel cut-off time, and determining the fuel cut-off risk level of each terminal station. According to the method, the accuracy of early warning information is ensured in a mode of providing fuel cut risk levels for related personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of oil and gas resource transportation, and particularly to a warning method, device, and storage medium for oil product supply interruption. Background Art

[0002] During the transportation of oil products, information deviations caused by communication problems or abnormal states may occur in the vehicles actually performing the transportation tasks, gas stations, and oil depots involved in the transportation process. As a result, the phenomenon of oil product supply interruption may occur at gas stations and oil depots, affecting the stable operation of gas stations and oil depots.

[0003] In the related art, relevant personnel usually rely on their own experience to determine which gas station or oil depot needs to send a warning message for oil product supply interruption. However, this method is too dependent on the personal experience of relevant personnel and it is difficult to ensure the accuracy of the warning message. Summary of the Invention

[0004] In view of this, this application provides a warning method, device, and storage medium for oil product supply interruption, which ensures the accuracy of the warning message by providing the relevant personnel with the risk level of running out of oil.

[0005] Specifically, the technical solutions include the following:

[0006] In a first aspect, an embodiment of this application provides a warning method for oil product supply interruption, and the method includes:

[0007] Obtain the risk warning parameters of each terminal station according to the vehicle real-time transportation information data and the sales volume prediction data of oil products at each terminal station in the area to be measured;

[0008] Substitute the risk warning parameters of each terminal station into the arrival time formula to obtain the arrival time of each terminal station;

[0009] Substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the out-of-oil time formula to obtain the out-of-oil time of each terminal station;

[0010] Substitute the out-of-oil time of each terminal station into the correlation between the out-of-oil risk level and the out-of-oil time to determine the out-of-oil risk level of each terminal station.

[0011] In some embodiments, before obtaining the risk warning parameters of each terminal station according to the vehicle real-time transportation information data and the sales volume prediction data of oil products at each terminal station in the area to be measured, the method further includes:

[0012] Obtain the vehicle real-time transportation information data and the historical sales volume data of oil products at each terminal station in the area to be measured;

[0013] Substitute the historical sales data of the petroleum products at each terminal station in the area to be measured into the double exponential smoothing method function to obtain the sales prediction data of the petroleum products at each terminal station in the area to be measured.

[0014] In some embodiments, before determining the fuel cut-off risk level of each terminal station by substituting the fuel cut-off time of each terminal station into the correlation between the fuel cut-off risk level and the fuel cut-off time, the method further includes:

[0015] Obtain the correlation between the fuel cut-off risk level and the fuel cut-off time, where the fuel cut-off risk level corresponds one-to-one with the fuel cut-off time.

[0016] In some embodiments, for each terminal station, the risk warning parameters include:

[0017] Parameter S kot , where S kot indicates whether the distribution task of the cargo hold o of the fuel tanker k in trip t has been completed. If it has been completed or is in transit, then S kot =0. If it has not started, then S kot =1. The transportation distance D n1n2 from gas station n1 to gas station n2, the current information collection time Ti, the current vehicle speed V k of the fuel tanker k, the distance D k of the fuel tanker k from the current location to the next destination, the real-time inventory RE ng of the oil tank g of gas station n at the collection time, the predicted sales volume PR ng today of the oil tank g of gas station n, the sales ratio XSB ngh in the hth hour of the oil tank g of gas station n, parameter S ktnp , where S ktnp indicates whether the fuel tanker k delivers oil to the oil tank p of gas station n in trip t. If it delivers oil, then S ktnp =1. If there is no distribution plan, then S ktnp =0. The expected arrival time Ti kot at the designated gas station of the distribution task of the cargo hold o of the fuel tanker k in trip t, the cargo hold set O of the fuel tanker k = {o|o = 1, 2, 3,..., O}, the daily working trips T of the fuel tanker = {t|t = 1, 2,..., T}, the pump-stop tank capacity L ng of the oil tank g of gas station n, the predicted oil spill time HY np of the oil tank p of gas station n, the cargo hold distribution volume CR kot of the cargo hold o of the fuel tanker k in trip t, the maximum tank capacity LM ng of the oil tank g of gas station n, the set of all fuel tankers K = {k|k = 1, 2, 3,..., K}, the planned prediction time span t p , the transportation distance Dmn The fuel delivery time T from the oil depot m to the gas station n mn The fuel delivery time from the gas station n1 to the gas station n2 Parameter S nk , where S nk Indicates that if the departure place of the previous stop of the tanker truck k arriving at the gas station n is the oil depot, then S nk = 0; if the previous departure place is other gas stations, then S nk = 1. Parameter S nk′ , where S nk′ Indicates that if the departure place of the previous stop of the tanker truck k arriving at the gas station n is the oil depot, then S nk′ = 1; if the previous departure place is other gas stations, then S nk′ = 0.

[0018] In some embodiments, the method further includes:

[0019] Substituting the risk warning parameters of each terminal station and the arrival time of each terminal station into the oil spill time formula to obtain the oil spill time of each terminal station;

[0020] Substituting the oil spill time of each terminal station into the correlation between the oil spill risk level and the oil spill time to determine the oil spill risk level of each terminal station.

[0021] In some embodiments, the method further includes:

[0022] Substituting the risk warning parameters of each terminal station into the out-of-fuel warning formula and the oil spill warning formula respectively to obtain the out-of-fuel risk warning value of each terminal station and the oil spill risk warning value of each terminal station.

[0023] In some embodiments, the arrival time formula is:

[0024]

[0025] Where H kot Is the completion time of the fuel delivery calculation of the tanker truck k for the vehicle compartment o in the trip t, S kot Indicates whether the distribution task of the vehicle compartment o of the tanker truck k in the trip t has been completed. If completed or in transit, then S kot = 0; if not started, then S kot = 1, D n1n2 Is the transportation distance from the gas station n1 to the gas station n2, Ti is the current information collection time, V k Is the current vehicle speed of the tanker truck k, D k Is the distance of the tanker truck k from the current location to the next destination;

[0026] The out-of-fuel time formula is:

[0027]

[0028] Among them, HD np is the predicted out-of-oil time of the oil tank p at gas station n, vE ng is the real-time inventory of the oil tank g at gas station n at the collection time, PR ng is the predicted daily sales volume of the oil tank g at gas station n, XSB ngh is the sales ratio of the oil tank g at gas station n in the hth hour, S ktnp is whether the oil tanker k delivers oil to the oil tank p at gas station n in trip t. If it delivers oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0, Ti kot is the time when the distribution task of the compartment o of the oil tanker k in trip t is expected to reach the designated gas station. O is the set of compartments of the oil tanker k, O = {o|o = 1, 2, 3,..., O}, and T is the daily working trips of the oil tanker, T = {t|t = 1, 2,..., T};

[0029] The out-of-oil warning formula is as follows:

[0030]

[0031] Among them, X is the out-of-oil risk warning value, L ng is the pump-stop tank capacity of the oil tank g at gas station n.

[0032] The overfill time formula is as follows:

[0033]

[0034] Among them, HY np is the predicted overfill time of the oil tank p at gas station n, CR kot is the compartment delivery volume of the compartment o of the oil tanker k in trip t, LM ng is the maximum tank capacity of the oil tank g at gas station n;

[0035] The overfill warning formula is as follows:

[0036]

[0037] Among them, Y is the overfill risk warning value.

[0038] In some embodiments, the method further includes:

[0039] Substituting the risk warning parameters of each terminal station into the deviation probability function to obtain the warning deviation values of each terminal station. Among them, the deviation probability function is:

[0040]

[0041] Among them, SPI is the warning deviation value, K is the set of all oil tank trucks K = {k|k = 1, 2, 3, …, K}, T is the number of working trips of the oil tank truck on the current day T = {t|t = 1, 2, …, T}, V k is the current vehicle speed of oil tank truck k, t p is the planned prediction time span, D mn is the transportation distance from oil depot m to gas station n, is the transportation distance from gas station n1 to gas station n2, T mn is the oil delivery duration from oil depot m to gas station n, is the oil delivery duration from gas station n1 to gas station n2, S nk is the departure place of the previous stop of oil tank truck k arriving at gas station n. If it is an oil depot, then S nk = 0. If the previous departure place is another gas station, then S nk = 1, S nk′ is the departure place of the previous stop of oil tank truck k arriving at gas station n. If it is an oil depot, then S nk′ = 1. If the previous departure place is another gas station, then S nk′ = 0, S ktnp is whether oil tank truck k delivers oil to oil tank p at gas station n during trip t. If delivering oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0.

[0042] Second, the embodiment of the present application also provides a warning device for oil product supply interruption. The device includes:

[0043] The first obtaining module is used to obtain the risk warning parameters of each terminal station according to the vehicle real-time dispatching information data and the sales volume prediction data of the oil products at each terminal station in the area to be measured;

[0044] The second obtaining module is used to substitute the risk warning parameters of each terminal station into the arrival time formula to obtain the arrival time of each terminal station;

[0045] The third obtaining module is used to substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the out-of-oil time formula to obtain the out-of-oil time of each terminal station;

[0046] The determination module is used to substitute the out-of-oil time of each terminal station into the correlation between the out-of-oil risk level and the out-of-oil time to determine the out-of-oil risk level of each terminal station.

[0047] Thirdly, an embodiment of the present application further provides a non-volatile readable storage medium, characterized in that at least one program is stored in the non-volatile readable storage medium, and the at least one program is loaded and executed by a processor to implement the early warning method for oil product supply interruption as described in any one of the first aspects.

[0048] The beneficial effects of the technical solutions provided by the embodiments of the present application at least include:

[0049] For the early warning method for oil product supply interruption provided by the embodiments of the present application, first, risk warning parameters are obtained from vehicle real-time dispatching information data and sales volume prediction data of oil products at each terminal station in the area to be measured. Then, the risk warning parameters are substituted into the arrival time formula to obtain the arrival time of each terminal station. Next, the risk warning parameters of each terminal station and the arrival time of each terminal station are substituted into the out-of-oil time formula to obtain the out-of-oil time of each terminal station. Then, the out-of-oil time is substituted into the correlation between the out-of-oil risk level and the out-of-oil time, so as to determine the out-of-oil risk level of each terminal station, and realize the early warning of oil product supply interruption. This method obtains the out-of-oil risk level of each terminal station through multiple processing and calculations of relevant data, thereby providing a way for relevant personnel to obtain the out-of-oil risk level, ensuring the accuracy of the early warning information, and replacing the method in the related technology where relevant personnel determine which gas station or oil depot needs to issue an early warning information for oil product supply interruption based on their own experience, ensuring the accuracy of the early warning information. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0051] Figure 1 It is a flowchart of an early warning method for oil product supply interruption provided by an embodiment of the present application;

[0052] Figure 2 It is a flowchart of another early warning method for oil product supply interruption provided by an embodiment of the present application;

[0053] Figure 3 It is a schematic structural diagram of an early warning device for oil product supply interruption provided by an embodiment of the present application.

[0054] Through the above-mentioned drawings, the clear embodiments of the present application have been shown, and there will be more detailed descriptions later. These drawings and text descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed implementation manners

[0055] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0056] Unless otherwise defined, all technical terms used in the embodiments of the present application have the same meaning as commonly understood by those of ordinary skill in the art.

[0057] To make the technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0058] During the transportation process of petroleum products, information deviations may occur in the vehicles actually performing the transportation tasks, the gas stations and oil depots involved in the transportation process due to communication problems or extreme weather and other factors, which may lead to the interruption of the supply of petroleum products in gas stations and oil depots, affecting the stable operation of gas stations and oil depots. Therefore, it is necessary to give an early warning of this phenomenon to remind relevant personnel to adjust the transportation plan in time and reduce or eliminate the risk of running out of oil.

[0059] In the related art, relevant personnel usually decide which gas station or which oil depot needs to send an early warning message for the interruption of the supply of petroleum products based on their own experience. However, this method relies too much on the personal experience of relevant personnel and it is difficult to ensure the accuracy of the early warning information.

[0060] To solve the technical problems existing in the related art, the embodiments of the present application provide an early warning method for the interruption of the supply of petroleum products, which ensures the accuracy of the early warning information by providing relevant personnel with the risk level of running out of oil.

[0061] Figure 1 It is a flowchart of an early warning method for the interruption of the supply of petroleum products provided by the embodiments of the present application.

[0062] See Figure 1 , the method includes the following steps:

[0063] Step 101, obtain the risk early warning parameters of each terminal station according to the real-time transportation information data of the vehicle and the sales volume prediction data of the petroleum products of each terminal station in the area to be measured.

[0064] Step 102, substitute the risk early warning parameters of each terminal station into the arrival time formula to obtain the arrival time of each terminal station.

[0065] Step 103: Substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the fuel cut-off time formula to obtain the fuel cut-off time of each terminal station.

[0066] Step 104: Substitute the fuel cut-off time of each terminal station into the correlation between the fuel cut-off risk level and the fuel cut-off time to determine the fuel cut-off risk level of each terminal station.

[0067] Therefore, for the warning method of petroleum product supply interruption provided by the embodiments of the present application, first obtain the risk warning parameters through the vehicle real-time dispatching information data and the sales volume prediction data of petroleum products at each terminal station in the area to be measured. Then substitute the risk warning parameters into the arrival time formula to obtain the arrival time of each terminal station. Next, substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the fuel cut-off time formula to obtain the fuel cut-off time of each terminal station. Then substitute the fuel cut-off time into the correlation between the fuel cut-off risk level and the fuel cut-off time, so as to determine the fuel cut-off risk level of each terminal station, and realize the warning of petroleum product supply interruption. This method obtains the fuel cut-off risk level of each terminal station through multiple processing and calculations of relevant data, thereby providing a way for relevant personnel to obtain the fuel cut-off risk level, ensuring the accuracy of warning information, and replacing the method in the related technology where relevant personnel determine which gas station or oil depot needs to issue a warning message for petroleum product supply interruption based on their own experience, ensuring the accuracy of warning information.

[0068] In some embodiments, before obtaining the risk warning parameters of each terminal station according to the vehicle real-time dispatching information data and the sales volume prediction data of petroleum products at each terminal station in the area to be measured, the method further includes:

[0069] Obtain the vehicle real-time dispatching information data and the historical sales volume data of petroleum products at each terminal station in the area to be measured;

[0070] Substitute the historical sales volume data of petroleum products at each terminal station in the area to be measured into the double exponential smoothing method function to obtain the sales volume prediction data of petroleum products at each terminal station in the area to be measured.

[0071] In some embodiments, before substituting the fuel cut-off time of each terminal station into the correlation between the fuel cut-off risk level and the fuel cut-off time to determine the fuel cut-off risk level of each terminal station, the method further includes:

[0072] Obtain the correlation between the fuel cut-off risk level and the fuel cut-off time, where the fuel cut-off risk level and the fuel cut-off time are in one-to-one correspondence.

[0073] In some embodiments, for each terminal station, the risk warning parameters include:

[0074] Parameter S kot , where S kotIndicates whether the delivery task of the cargo hold o of the tanker truck k in trip t has been completed. If it has been completed or is in transit, then S kot = 0. If it has not started, then S kot = 1, the transportation distance D from gas station n1 to gas station n2 n1n2 , the current information collection time Ti, the current vehicle speed V of the tanker truck k k , the distance D of the tanker truck k from the current location to the next destination k , the real-time inventory RE of the oil tank g at gas station n at the collection time ng , the predicted daily sales volume PR of the oil tank g at gas station n ng , the sales ratio XSB of the oil tank g at gas station n in the hth hour ngh , the parameter S ktnp , where S ktnp Indicates whether the tanker truck k in trip t delivers oil to the oil tank p at gas station n. If it delivers oil, then S ktnp = 1. If there is no delivery plan, then S ktnp = 0, the estimated arrival time Ti of the delivery task of the cargo hold o of the tanker truck k in trip t at the designated gas station kot , the cargo hold set O of the tanker truck k = {o|o = 1, 2, 3,..., O}, the daily working trips T of the tanker truck = {t|t = 1, 2,..., T}, the shut-off tank capacity L of the oil tank g at gas station n ng , the predicted overfill time HY of the oil tank p at gas station n np , the cargo hold delivery volume CR of the cargo hold o of the tanker truck k in trip t kot , the maximum tank capacity LM of the oil tank g at gas station n ng , the set of all tanker trucks K = {k|k = 1, 2, 3,..., K}, the planned prediction time span t p , the transportation distance D from the oil depot m to the gas station n mn , the oil delivery duration T from the oil depot m to the gas station n mn , the oil delivery duration from gas station n1 to gas station n2 The parameter S nk , where S nk Indicates that if the departure place of the previous stop of the tanker truck k arriving at gas station n is the oil depot, then S nk = 0. If the previous departure place is other gas stations, then S nk = 1, the parameter S nk′ , where S nk′ Indicates that if the departure place of the previous stop of the tanker truck k arriving at gas station n is the oil depot, then S nk′ = 1. If the previous departure place is other gas stations, then S nk′ = 0.

[0075] In some embodiments, the method further includes:

[0076] Substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the oil spill time formula to obtain the oil spill time of each terminal station;

[0077] Substitute the oil spill time of each terminal station into the correlation between the oil spill risk level and the oil spill time to determine the oil spill risk level of each terminal station.

[0078] In some embodiments, the method further includes:

[0079] Substitute the risk warning parameters of each terminal station into the fuel cut-off warning formula and the oil spill warning formula respectively to obtain the fuel cut-off risk warning value of each terminal station and the oil spill risk warning value of each terminal station.

[0080] In some embodiments, the arrival time formula is:

[0081]

[0082] where H kot is the completion time of the oil delivery calculation for tank o in trip t of tanker truck k, S kot indicates whether the distribution task of tank o of tanker truck k in trip t has been completed. If completed or in transit, then S kot = 0. If not started, then S kot = 1, D n1n2 is the transportation distance from gas station n1 to gas station n2, Ti is the current information collection time, V k is the current vehicle speed of tanker truck k, D k is the distance of tanker truck k from the current location to the next destination;

[0083] The fuel cut-off time formula is:

[0084]

[0085] where HD np is the predicted fuel cut-off time of tank p at gas station n, RE ng is the real-time inventory of tank g at gas station n at the collection time, PR ng is the predicted daily sales volume of tank g at gas station n, XSB ngh is the sales ratio of tank g at gas station n in the hth hour, S ktnp indicates whether tanker truck k delivers oil to tank p at gas station n in trip t. If delivering oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0, Ti kot is the time when the distribution task of tank o of tanker truck k in trip t is expected to reach the designated gas station, O is the set of tanks of tanker truck k, O = {o|o = 1, 2, 3,..., O}, and T is the daily working trips of the tanker truck, T = {t|t = 1, 2,..., T};

[0086] The formula for fuel cut-off warning is:

[0087]

[0088] Among them, X is the fuel cut-off risk warning value, and L ng is the pump stop tank capacity of the oil tank g of gas station n.

[0089] The formula for oil spill time is:

[0090]

[0091] Among them, HY np is the predicted oil spill time of the oil tank p of gas station n, and CR kot is the delivery volume of the vehicle compartment o of the tanker truck k in trip t, and LM ng is the maximum tank capacity of the oil tank g of gas station n;

[0092] The formula for oil spill warning is:

[0093]

[0094] Among them, Y is the oil spill risk warning value.

[0095] In some embodiments, the method further includes:

[0096] Substituting the risk warning parameters of each terminal station into the deviation probability function to obtain the warning deviation value of each terminal station, where the deviation probability function is:

[0097]

[0098] Among them, SPI is the warning deviation value, K is the set of all tanker trucks K = {k|k = 1, 2, 3,..., K}, T is the daily working trips of the tanker truck T = {t|t = 1, 2,..., T}, V k is the current vehicle speed of the tanker truck k, t p is the planned prediction time span, D mn is the transportation distance from the oil depot m to the gas station n, is the transportation distance from gas station n1 to gas station n2, T mn is the oil delivery duration from the oil depot m to the gas station n, is the oil delivery duration from gas station n1 to gas station n2, S nk If the departure place of the previous station of the tanker truck k arriving at the gas station n is the oil depot, then S nk = 0, if the previous departure place is other gas stations, then S nk = 1, S nk′ If the departure place of the previous station of the tanker truck k arriving at the gas station n is the oil depot, then S nk′= 1. If the previous departure location is another gas station, then S nk′ = 0, S ktnp indicates whether the tanker truck k delivers oil to the oil tank p of gas station n in trip t. If it delivers oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0.

[0099] Figure 2 is the flowchart of another early warning method for oil product supply interruption provided by the embodiments of the present application. Refer to Figure 2 , the method includes:

[0100] Step 201, obtain the real-time vehicle dispatching information data and the historical sales data of oil products at each terminal station in the area to be measured.

[0101] Obtain the historical sales data of oil products at each terminal station in the area to be measured and the vehicle implementation dispatching information data, so as to obtain the sales prediction data of each terminal station in the area to be measured through data processing in the next step.

[0102] Step 202, substitute the historical sales data of oil products at each terminal station in the area to be measured into the double exponential smoothing method function to obtain the sales prediction data of oil products at each terminal station in the area to be measured.

[0103] Obtain the sales prediction data of oil products at each terminal station in the area to be measured by substituting the historical sales data of oil products at each terminal station in the area to be measured and the vehicle implementation dispatching information data into the double exponential smoothing method function.

[0104] In some embodiments, the double exponential smoothing method function further includes a single exponential smoothing method function, where the single exponential smoothing method function is:

[0105] y′ t+1 = ay t +(1 - a)y′ t ;

[0106] where, y′ t+1 is the predicted value of the (t + 1)th period, that is, the smoothed value S t of the current period (tth period), y t is the actual value of the tth period, y′ t is the predicted value of the tth period, that is, the smoothed value S t-1 of the previous period,

[0107] Based on the single exponential smoothing, the double exponential smoothing method function is:

[0108]

[0109] where, is the double exponential smoothing value of the tth cycle, is the single exponential smoothing value for the t-th period, is the double exponential smoothing value for the (t - 1)-th period, and α can be 0.2.

[0110] It can be understood that α is a weighting coefficient, and the value of α determines the proportion of new data and the original predicted value in the new predicted value, that is, the larger the value of α, the greater the proportion of new data.

[0111] Step 203: Obtain the risk warning parameters of each terminal station according to the vehicle real-time dispatching information data and the sales volume prediction data of petroleum products at each terminal station in the area to be measured.

[0112] Obtain the risk warning parameters of each terminal station through the vehicle real-time dispatching information data and the sales volume prediction data of petroleum products at each terminal station in the area to be measured, so as to substitute them into the formula for calculation in the next step.

[0113] In some embodiments, the vehicle real-time dispatching information data includes the data in the vehicle real-time information table and the distance data between each gas station and each oil depot.

[0114] In some embodiments, for each terminal station, the risk warning parameters include:

[0115] Parameter S kot , where S kot indicates whether the delivery task of the cargo hold o of the tanker truck k in trip t has been completed. If it has been completed or is in transit, then S kot = 0. If it has not started, then S kot = 1. The transport distance D n1n2 from gas station n1 to gas station n2, the current information collection time Ti, the current vehicle speed V k of the tanker truck k, the distance D k of the tanker truck k from the current location to the next destination, the real-time inventory RE ng of the oil tank g of gas station n at the collection time, the predicted daily sales volume PR ng of the oil tank g of gas station n, the sales ratio XSB ngh at the h-th hour of the oil tank g of gas station n, parameter S ktnp , where S ktnp indicates whether the tanker truck k delivers oil to the oil tank p of gas station n in trip t. If it delivers oil, then S ktnp = 1. If there is no delivery plan, then S ktnp = 0. The estimated arrival time Ti kot at the designated gas station of the delivery task of the cargo hold o of the tanker truck k in trip t, the set of cargo holds O of the tanker truck k = {o|o = 1, 2, 3,..., O}, the daily working trips T of the tanker truck = {t|t = 1, 2,..., T}, and the pump-off tank capacity L ng, the predicted oil spill time HY of the oil tank p at gas station n np , the delivery volume CR of the cargo hold o of the tanker truck k in trip t kot , the maximum tank capacity LM of the oil tank g at gas station n ng , the set of all tanker trucks K = {k|k = 1, 2, 3, …, K}, the planned prediction time span t p , the transportation distance D from the oil depot m to the gas station n mn , the oil delivery duration T from the oil depot m to the gas station n mn , the oil delivery duration from gas station n1 to gas station n2 Parameter S nk , where S nk indicates that if the departure place of the previous stop of the tanker truck k arriving at the gas station n is the oil depot, then S nk = 0, if the previous departure place is other gas stations, then S nk = 1, parameter S nk′ , where S nk′ indicates that if the departure place of the previous stop of the tanker truck k arriving at the gas station n is the oil depot, then S nk′ = 1, if the previous departure place is other gas stations, then S nk′ = 0.

[0116] Step 204, substitute the risk warning parameters of each terminal station into the arrival time formula to obtain the arrival time of each terminal station.

[0117] By substituting the risk warning parameters into the arrival time formula, the arrival time of each terminal station can be obtained, that is, the arrival time when the tanker truck delivers the petroleum products to each terminal station.

[0118] In some embodiments, the arrival time formula is:

[0119]

[0120] where H kot is the delivery calculation completion time of the cargo hold o of the tanker truck k in trip t, S kot indicates whether the delivery task of the cargo hold o of the tanker truck k in trip t has been completed. If it is completed or in transit, then S kot = 0, if it has not started, then S kot = 1, D n1n2 is the transportation distance from gas station n1 to gas station n2, Ti is the current information collection time, V k is the current vehicle speed of the tanker truck k, D k is the distance of the tanker truck k from the next destination.

[0121] Step 205, substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the out-of-fuel time formula to obtain the out-of-fuel time of each terminal station.

[0122] By substituting the risk warning parameters of each terminal station and the arrival time of each terminal station into the fuel cut-off time formula, the fuel cut-off time of each terminal station can be obtained.

[0123] In some embodiments, the fuel cut-off time formula is:

[0124]

[0125] Wherein, HD np is the predicted fuel cut-off time of the oil tank p of gas station n, RE ng is the real-time inventory of the oil tank g of gas station n at the collection time, PR ng is the predicted daily sales volume of the oil tank g of gas station n, XSB ngh is the sales ratio of the hth hour of the oil tank g of gas station n, S ktnp is whether the oil tanker k delivers oil to the oil tank p of gas station n in trip t. If it delivers oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0, Ti kot is the time when the distribution task of the cargo hold o of the oil tanker k in trip t is expected to reach the designated gas station. O is the set of cargo holds of the oil tanker k, O = {o|o = 1, 2, 3,..., O}, and T is the daily working trips of the oil tanker, T = {t|t = 1, 2,..., T}.

[0126] Step 206: Obtain the correlation between the fuel cut-off risk level and the fuel cut-off time, where the fuel cut-off risk level and the fuel cut-off time are in one-to-one correspondence.

[0127] Step 207: Substitute the fuel cut-off time of each terminal station into the correlation between the fuel cut-off risk level and the fuel cut-off time to determine the fuel cut-off risk level of each terminal station.

[0128] By substituting the obtained fuel cut-off time of each terminal station into the correlation between the fuel cut-off risk level and the fuel cut-off time, the fuel cut-off risk level of each terminal station can be determined. For example, it can be set that the fuel cut-off time less than one to three days corresponds to the first-level fuel cut-off risk, the fuel cut-off time less than four to five days corresponds to the second-level fuel cut-off risk, and the fuel cut-off time less than six to seven days corresponds to the third-level fuel cut-off risk. In this way, the purpose of providing accurate fuel cut-off risk levels for relevant personnel as accurate warning information can be achieved.

[0129] Step 208: Substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the fuel spill time formula to obtain the fuel spill time of each terminal station.

[0130] By substituting the risk warning parameters of each terminal station and the arrival time of each terminal station into the fuel spill time formula, the fuel spill time of each terminal station can be obtained.

[0131] Step 209: Substitute the oil spill time of each terminal station into the correlation between the oil spill risk level and the oil spill time to determine the oil spill risk level of each terminal station.

[0132] By substituting the obtained oil spill time of each terminal station into the correlation between the oil spill risk level and the oil spill time, the oil spill risk level of each terminal station is determined. For example, it can be set that when the oil spill time is less than one to three days, it corresponds to a first-level oil spill risk; when the oil spill time is less than four to five days, it corresponds to a second-level oil spill risk; when the oil spill time is less than six to seven days, it corresponds to a third-level oil spill risk. In this way, the purpose of providing accurate oil spill risk levels for relevant personnel as accurate early warning information is achieved.

[0133] Step 210: Substitute the risk early warning parameters of each terminal station into the fuel cut-off early warning formula and the oil spill early warning formula respectively to obtain the fuel cut-off risk early warning value of each terminal station and the oil spill risk early warning value of each terminal station.

[0134] That is to say, after obtaining the fuel cut-off risk level and the oil spill risk level, the fuel cut-off risk early warning value of each terminal station and the oil spill risk early warning value of each terminal station can also be obtained through the fuel cut-off early warning formula and the oil spill early warning formula, so as to provide more sufficient, accurate and complete early warning information for relevant personnel as a reference.

[0135] In some embodiments, the fuel cut-off early warning formula is:

[0136]

[0137] Wherein, X is the fuel cut-off risk early warning value, and L ng is the pump stop tank volume of the oil tank g of gas station n.

[0138] The oil spill time formula is:

[0139]

[0140] Wherein, HY np is the predicted oil spill time of the oil tank p of gas station n, CR kot is the vehicle compartment delivery volume of the vehicle compartment o of the oil tanker k in trip t, and LM ng is the maximum tank volume of the oil tank g of gas station n.

[0141] The oil spill early warning formula is:

[0142]

[0143] Wherein, Y is the oil spill risk early warning value.

[0144] In some embodiments, when X ∈ (1, +∞), it represents that the remaining inventory is greater than the pump shutdown tank capacity, and in this case, no oil cut-off accident will occur. The larger X is, the higher the inventory level. When x ∈ (-∞, 1], it represents that the remaining inventory is lower than the pump shutdown tank capacity and an oil cut-off accident occurs. The smaller X is, the higher the degree of oil cut-off. Similarly, when Y ∈ (1, +∞), it represents that the inventory after unloading is greater than the maximum tank capacity and an oil spill accident occurs. The larger Y is, the higher the oil spill risk. When Y ∈ (0, 1], it represents that the inventory after unloading is less than the maximum tank capacity and no oil spill accident will occur. The smaller Y is, the lower the risk.

[0145] Step 211, substitute the risk warning parameters of each terminal station into the deviation probability function to obtain the warning deviation values of each terminal station. Among them, the deviation probability function is:

[0146]

[0147] Among them, SPI is the warning deviation value, K is the set of all oil tank trucks K = {k|k = 1, 2, 3,..., K}, T is the number of working trips of the oil tank truck on the current day T = {t|t = 1, 2,..., T}, V k is the current vehicle speed of oil tank truck k, t p is the planned prediction time span, D mn is the transportation distance from oil depot m to gas station n, is the transportation distance from gas station n1 to gas station n2, T mn is the oil delivery duration from oil depot m to gas station n, is the oil delivery duration from gas station n1 to gas station n2, S nk If the departure place of oil tank truck k arriving at gas station n for the previous stop is the oil depot, then S nk = 0. If the previous departure place is other gas stations, then S nk = 1, S nk′ If the departure place of oil tank truck k arriving at gas station n for the previous stop is the oil depot, then S nk′ = 1. If the previous departure place is other gas stations, then S nk′ = 0, S ktnp is whether oil tank truck k delivers oil to oil tank p at gas station n during trip t. If it delivers oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0.

[0148] It can be understood that the warning deviation values of each terminal station obtained by substituting the risk warning parameters of each terminal station into the deviation probability function are used as the deviation degree of the warning information, so as to provide a reference for relevant personnel.

[0149] Therefore, for the early warning method of oil product supply interruption provided by the embodiments of the present application, first, risk warning parameters are obtained through vehicle real-time dispatching information data and sales volume prediction data of oil products at each terminal station within the area to be measured. Then, the risk warning parameters are substituted into the arrival time formula to obtain the arrival time of each terminal station. Next, the risk warning parameters of each terminal station and the arrival time of each terminal station are substituted into the out-of-oil time formula to obtain the out-of-oil time of each terminal station. Then, the out-of-oil time is substituted into the correlation between the out-of-oil risk level and the out-of-oil time, so as to determine the out-of-oil risk level of each terminal station, realizing the early warning of oil product supply interruption. This method obtains the out-of-oil risk level of each terminal station through multiple processes and calculations of relevant data, thereby providing a way for relevant personnel to obtain the out-of-oil risk level, ensuring the accuracy of the early warning information, and replacing the method in the related technology where relevant personnel determine which gas station or oil depot needs to issue an early warning message for oil product supply interruption based on their own experience, ensuring the accuracy of the early warning information.

[0150] Figure 3 It is a schematic structural diagram of an early warning device for oil product supply interruption provided by an embodiment of the present application. Refer to Figure 3 , the device 300 includes:

[0151] The first obtaining module 301 is configured to obtain the risk warning parameters of each terminal station according to the vehicle real-time dispatching information data and the sales volume prediction data of oil products at each terminal station within the area to be measured;

[0152] The second obtaining module 302 is configured to substitute the risk warning parameters of each terminal station into the arrival time formula to obtain the arrival time of each terminal station;

[0153] The third obtaining module 303 is configured to substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the out-of-oil time formula to obtain the out-of-oil time of each terminal station;

[0154] The determining module 304 is configured to substitute the out-of-oil time of each terminal station into the correlation between the out-of-oil risk level and the out-of-oil time to determine the out-of-oil risk level of each terminal station.

[0155] In some embodiments, the device further includes:

[0156] The first acquisition module is configured to acquire the vehicle real-time dispatching information data and the historical sales volume data of oil products at each terminal station within the area to be measured;

[0157] The fourth obtaining module is configured to substitute the historical sales volume data of oil products at each terminal station within the area to be measured into the double exponential smoothing method function to obtain the sales volume prediction data of oil products at each terminal station within the area to be measured.

[0158] In some embodiments, the device further includes:

[0159] A second acquisition module, configured to acquire the correlation between the fuel cut-off risk level and the fuel cut-off time, where the fuel cut-off risk level corresponds to the fuel cut-off time one by one.

[0160] In some embodiments, for each terminal station, the risk warning parameters include:

[0161] Parameter S kot , where S kot indicates whether the distribution task of the cargo hold o of the tanker truck k in trip t has been completed. If it is completed or in transit, then S kot = 0. If it has not started, then S kot = 1, the transportation distance D n1n2 from gas station n1 to gas station n2, the current information collection time Ti, the current vehicle speed V k of the tanker truck k, the distance D k from the tanker truck k to the next destination currently, the real-time inventory RE ng of the oil tank g of gas station n at the collection time, the predicted daily sales volume PR ng of the oil tank g of gas station n, the sales ratio XSB ngh in the hth hour of the oil tank g of gas station n, parameter S ktnp , where S ktnp indicates whether the tanker truck k in trip t delivers oil to the oil tank p of gas station n. If it delivers oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0, the time Ti kot when the distribution task of the cargo hold o of the tanker truck k in trip t is expected to reach the designated gas station, the cargo hold set O of the tanker truck k = {o|o = 1, 2, 3,..., O}, the daily working trips T of the tanker truck = {t|t = 1, 2,..., T}, the pump stop tank capacity L ng of the oil tank g of gas station n, the predicted oil spill time HY np of the oil tank p of gas station n, the cargo hold distribution volume CR kot of the cargo hold o of the tanker truck k in trip t, the maximum tank capacity LM ng of the oil tank g of gas station n, the set of all tanker trucks K = {k|k = 1, 2, 3,..., K}, the planned prediction time span t p , the transportation distance D mn from the oil depot m to the gas station n, the oil delivery duration T mn from the oil depot m to the gas station n, the oil delivery duration Parameter S nk , where S nk indicates that if the departure place of the previous stop of the tanker truck k arriving at the gas station n is the oil depot, then S nk = 0. If the previous departure place is other gas stations, then S nk = 1, parameter Snk′ , where S nk′ represents the previous departure location of the tanker truck k arriving at gas station n. If the previous departure location is the oil depot, then S nk′ = 1. If the previous departure location is another gas station, then S nk′ = 0.

[0162] In some embodiments, the device further includes:

[0163] A fifth obtaining module, configured to substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the oil spill time formula to obtain the oil spill time of each terminal station;

[0164] A first level determination module, configured to substitute the oil spill time of each terminal station into the correlation between the oil spill risk level and the oil spill time to determine the oil spill risk level of each terminal station.

[0165] In some embodiments, the device further includes:

[0166] A sixth obtaining module, configured to substitute the risk warning parameters of each terminal station into the out-of-fuel warning formula and the oil spill warning formula respectively to obtain the out-of-fuel risk warning value of each terminal station and the oil spill risk warning value of each terminal station.

[0167] In some embodiments, the arrival time formula is:

[0168]

[0169] where H kot is the calculation completion time of the oil delivery of the tanker truck k in the vehicle compartment o for the trip t, S kot represents whether the distribution task of the vehicle compartment o of the tanker truck k for the trip t has been completed. If it has been completed or is in transit, then S kot = 0. If it has not started, then S kot = 1, D n1n2 is the distance between gas station n1 and gas station n2, Ti is the current information collection time, V k is the current vehicle speed of the tanker truck k, D k is the current distance of the tanker truck k from the next destination;

[0170] The out-of-fuel time formula is:

[0171]

[0172] where HD np is the predicted out-of-fuel time of the oil tank p at gas station n, RE ng is the real-time inventory of the oil tank g at gas station n at the collection time, PR ng is the predicted daily sales volume of the oil tank g at gas station n, XSB nghSales ratio of the oil tank g of gas station n in the hth hour, S ktnp Whether the fuel tanker k delivers oil to the oil tank p of gas station n in trip t. If it delivers oil, then S ktnp = 1. If there is no delivery plan, then S ktnp = 0, Ti kot The expected arrival time of the distribution task of the vehicle compartment o of the fuel tanker k in trip t at the designated gas station. O is the set of vehicle compartments of the fuel tanker k, O = {o|o = 1, 2, 3,..., O}, and T is the number of working trips of the fuel tanker on the same day, T = {t|t = 1, 2,..., T};

[0173] The formula for out-of-oil warning is:

[0174]

[0175] Among them, X is the out-of-oil risk warning value, L ng Is the pump-off tank capacity of the oil tank g of gas station n.

[0176] The formula for oil spill time is:

[0177]

[0178] Among them, HY np Is the predicted oil spill time of the oil tank p of gas station n, CR kot Is the compartment delivery volume of the vehicle compartment o of the fuel tanker k in trip t, LM ng Is the maximum tank capacity of the oil tank g of gas station n;

[0179] The formula for oil spill warning is:

[0180]

[0181] Among them, Y is the oil spill risk warning value.

[0182] In some embodiments, the device further includes:

[0183] The seventh obtaining module is used to substitute the risk warning parameters of each terminal station into the deviation probability function to obtain the warning deviation values of each terminal station. Among them, the deviation probability function is:

[0184] Among them, SPI is the warning deviation value, K is the set of all fuel tankers, K = {k|k = 1, 2, 3,..., K}, T is the number of working trips of the fuel tanker on the same day, T = {t|t = 1, 2,..., T}, V k Is the current vehicle speed of the fuel tanker k, t p Is the planned prediction time span, D mn Is the transportation distance from the oil depot m to the gas station n, Is the transportation distance from gas station n1 to gas station n2, T mnThe fuel delivery duration from oil depot m to gas station n The fuel delivery duration from gas station n1 to gas station n2, S nk The departure location of tanker truck k arriving at gas station n. If it is the oil depot, then S nk = 0. If the previous departure location is another gas station, then S nk = 1, S nk′ The departure location of tanker truck k arriving at gas station n. If it is the oil depot, then S nk′ = 1. If the previous departure location is another gas station, then S nk′ = 0, S ktnp Whether tanker truck k delivers fuel to tank p at gas station n during trip t. If it delivers fuel, then S ktnp = 1. If there is no delivery plan, then S ktnp = 0.

[0185] Therefore, for the early warning device for petroleum product supply interruption provided by the embodiments of the present application, first, risk warning parameters are obtained through vehicle real-time dispatching information data and sales volume prediction data of petroleum products at each terminal station within the area to be measured. Then, the risk warning parameters are substituted into the arrival time formula to obtain the arrival time of each terminal station. Next, the risk warning parameters of each terminal station and the arrival time of each terminal station are substituted into the fuel cut-off time formula to obtain the fuel cut-off time of each terminal station. Then, the fuel cut-off time is substituted into the correlation between the fuel cut-off risk level and the fuel cut-off time, so as to determine the fuel cut-off risk level of each terminal station, realizing the early warning of petroleum product supply interruption. This method obtains the fuel cut-off risk level of each terminal station through multiple processing and calculations of relevant data, thereby providing a way for relevant personnel to obtain the fuel cut-off risk level, ensuring the accuracy of the early warning information, and replacing the method in the related technology where relevant personnel determine which gas station or which oil depot needs to issue an early warning message for petroleum product supply interruption based on their own experience, ensuring the accuracy of the early warning information.

[0186] The embodiments of the present application also provide a non-volatile readable storage medium, in which at least one program is stored, and the at least one program is loaded and executed by a processor to implement the early warning method for petroleum product supply interruption in any of the above embodiments.

[0187] In the present application, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance. The term "plural" means two or more, unless otherwise clearly defined.

[0188] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the present application disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include well-known common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and examples are only regarded as exemplary.

[0189] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.

Claims

1. A warning method for interruption of petroleum product supply, characterized in that, The method includes: Obtaining risk warning parameters for each terminal station based on the real-time vehicle dispatching information data and the sales volume prediction data of petroleum products at each terminal station within the area to be measured; Substituting the risk warning parameters of each terminal station into the arrival time formula to obtain the arrival time of each terminal station; Substituting the risk warning parameters of each terminal station and the arrival time of each terminal station into the out-of-fuel time formula to obtain the out-of-fuel time of each terminal station; Substituting the out-of-fuel time of each terminal station into the correlation between the out-of-fuel risk level and the out-of-fuel time to determine the out-of-fuel risk level of each terminal station.

2. The early warning method for interruption of petroleum product supply according to claim 1, wherein Before obtaining the risk warning parameters for each terminal station based on the real-time vehicle dispatching information data and the sales volume prediction data of petroleum products at each terminal station within the area to be measured, the method further includes: Obtaining the real-time vehicle dispatching information data and the historical sales volume data of petroleum products at each terminal station within the area to be measured; Substituting the historical sales volume data of petroleum products at each terminal station within the area to be measured into the double exponential smoothing method function to obtain the sales volume prediction data of petroleum products at each terminal station within the area to be measured.

3. The early warning method for the interruption of petroleum product supply according to claim 1, wherein Before substituting the out-of-fuel time of each terminal station into the correlation between the out-of-fuel risk level and the out-of-fuel time to determine the out-of-fuel risk level of each terminal station, the method further includes: Obtaining the correlation between the out-of-fuel risk level and the out-of-fuel time, where the out-of-fuel risk level and the out-of-fuel time are in one-to-one correspondence.

4. The early warning method for interruption of petroleum product supply according to claim 1, characterized in that, For each terminal station, the risk warning parameters include: Parameter S kot , where S kot indicates whether the distribution task of the cargo hold o of the fuel tanker k in trip t has been completed. If it has been completed or is in transit, then S kot = 0. If it has not started, then S kot = 1, the transportation distance D from gas station n1 to gas station n2 n1n2 , the current information collection time Ti, the current vehicle speed V of the fuel tanker k k , the distance D of the fuel tanker k from the current location to the next destination k , the real-time inventory RE of the oil tank g at gas station n at the collection time ng , the predicted daily sales volume PR of the oil tank g at gas station n ng , the sales ratio XSB of the oil tank g at gas station n in the h-th hour ngh Parameter S ktnp , where S ktnp indicates whether the fuel tanker k delivers oil to the oil tank p at gas station n in trip t. If it delivers oil, then S ktnp = 1. If there is no distribution plan, then S ktnp = 0, the expected arrival time Ti of the distribution task of the cargo hold o of the fuel tanker k in trip t at the designated gas station kot , the set of cargo holds O of the fuel tanker k = {o|o = 1, 2, 3,..., O}, the daily working trips T of the fuel tanker = {t|t = 1, 2,..., T}, the pump-off tank capacity L of the oil tank g at gas station n ng , the predicted oil spill time HY of the oil tank p at gas station n np , the cargo hold distribution volume CR of the cargo hold o of the fuel tanker k in trip t kot , the maximum tank capacity LM of the oil tank g at gas station n ng , the set of all fuel tankers K = {k|k = 1, 2, 3,..., K}, the planned prediction time span t p , the transportation distance D from the oil depot m to the gas station n mn , the oil delivery duration T from the oil depot m to the gas station n mn , the oil delivery duration from gas station n1 to gas station n2 Parameter S nk , where S nk indicates that if the departure location of the fuel tanker k arriving at gas station n for the previous stop is the oil depot, then S nk = 0. If the previous departure location is another gas station, then S nk = 1. Parameter S nk′ , where S nk′ indicates that if the departure location of the fuel tanker k arriving at gas station n for the previous stop is the oil depot, then S nk′ = 1. If the previous departure location is another gas station, then S nk′ = 0.

5. The early warning method for the interruption of petroleum product supply according to claim 1, characterized in that The method further includes: Substituting the risk warning parameters of each terminal station and the arrival time of each terminal station into the oil spill time formula to obtain the oil spill time of each terminal station; Substituting the oil spill time of each terminal station into the correlation between the oil spill risk level and the oil spill time to determine the oil spill risk level of each terminal station.

6. The early warning method for the interruption of petroleum product supply according to claim 5, wherein The method further includes: Substituting the risk warning parameters of each terminal station into the out-of-fuel warning formula and the oil spill warning formula respectively to obtain the out-of-fuel risk warning value of each terminal station and the oil spill risk warning value of each terminal station.

7. The early warning method for interruption of petroleum product supply according to claim 6, characterized in that The arrival time formula is: Among them, H kot is the completion time of the oil delivery calculation for the tank truck k in the trip t for the cargo hold o, S kot indicates whether the distribution task of the cargo hold o of the tank truck k in the trip t has been completed. If it has been completed or is in transit, then S kot = 0. If it has not started, then S kot = 1, D n1n2 is the transportation distance from gas station n1 to gas station n2, Ti is the current information collection time, V k is the current vehicle speed of the tank truck k, D k is the distance of the tank truck k from the next destination; The out-of-fuel time formula is: Among them, HD np is the predicted out-of-oil time of oil tank p at gas station n, RE ng is the real-time inventory of oil tank g at gas station n at the collection time, PR mg is the predicted daily sales volume of oil tank g at gas station n, XSB ngh is the sales ratio of oil tank g at gas station n in the h-th hour, S ktnp is whether the tanker truck k delivers oil to oil tank p at gas station n in trip t. If it delivers oil, then S ktnp = 1. If there is no delivery plan, then S ktnp = 0, Ti kot is the estimated arrival time of the delivery task of compartment o of tanker truck k at the designated gas station in trip t. O is the set of compartments of tanker truck k, O = {o|o = 1, 2, 3,..., O}, and T is the number of daily trips of the tanker truck, T = {t|t = 1, 2,..., T}; The out-of-fuel warning formula is: where X is the fuel cut-off risk warning value, and L ng is the pump-stop tank capacity of the oil tank g at gas station n; The oil spill time formula is: Among them, HY np is the predicted oil spill time of the oil tank p at gas station n, CR kot is the delivery volume of the cargo hold o of the tanker truck k for trip t, LM ng is the maximum tank capacity of the oil tank g at gas station n; The oil spill warning formula is: Wherein, Y is the oil spill risk warning value.

8. The early warning method for interruption of petroleum product supply according to claim 1, characterized in that, The method further includes: Substituting the risk warning parameters of each terminal station into the deviation probability function to obtain the warning deviation value of each terminal station, where the deviation probability function is: Among them, SPI is the warning deviation value, K is the set of all oil tank trucks K = {k|k = 1, 2, 3,..., K}, T is the number of working trips of the oil tank truck on the current day T = {t|t = 1, 2,..., T}, V k is the current vehicle speed of oil tank truck k, t p is the planned prediction time span, D mn is the transportation distance from oil depot m to gas station n, is the transportation distance from gas station n1 to gas station n2, T mn is the oil delivery duration from oil depot m to gas station n, is the oil delivery duration from gas station n1 to gas station n2, S nk If the previous departure location of oil tank truck k arriving at gas station n is the oil depot, then S nk = 0, if the previous departure location is other gas stations, then S nk = 1, S nk′ If the previous departure location of oil tank truck k arriving at gas station n is the oil depot, then S nk′ = 1, if the previous departure location is other gas stations, then S nk′ = 0, S ktnp indicates whether oil tank truck k delivers oil to oil tank p at gas station n during trip t. If delivering oil, then S ktnp = 1, if there is no distribution plan, then S ktnp = 0.

9. An early warning device for interruption of petroleum product supply, characterized in that, The device includes: A first obtaining module, configured to obtain risk warning parameters for each terminal station based on the real-time vehicle dispatching information data and the sales volume prediction data of petroleum products at each terminal station within the area to be measured; A second obtaining module, configured to substitute the risk warning parameters of each terminal station into the arrival time formula to obtain the arrival time of each terminal station; A third obtaining module, configured to substitute the risk warning parameters of each terminal station and the arrival time of each terminal station into the out-of-fuel time formula to obtain the out-of-fuel time of each terminal station; A determination module, configured to substitute the out-of-fuel time of each terminal station into the correlation between the out-of-fuel risk level and the out-of-fuel time to determine the out-of-fuel risk level of each terminal station.

10. A non-volatile readable storage medium, characterized in that, At least one program is stored in the non-volatile readable storage medium, and the at least one program is loaded and executed by a processor to implement the early warning method for oil product supply interruption as described in any one of claims 1 to 8.