Product oil distribution method, electronic equipment and storage medium

By optimizing the demand information of gas stations and oil depots, the location and road conditions of oil tankers, the problems of human factors interfering with and inaccurate distribution in existing refined oil distribution are solved, and efficient and safe delivery of oil tankers is achieved.

CN119204901APending Publication Date: 2024-12-27CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

There are human factors in the existing refined oil distribution business that interfere with each other and lack of active optimization, resulting in insufficient accurate delivery plans and inability to monitor delivery vehicles in real time, which may lead to safety hazards and low transportation efficiency.

Method used

By determining the demand status of the gas station and the location information of the oil depot, combining the location and load information of the idle oil tanker truck, optimizing the refined oil distribution plan of the oil depot to the gas station, using road conditions information to adjust the distribution route, and ensuring that the delivery vehicle is within an appropriate time period Arrival, the tanker at the gas station can be fully filled.

Benefits of technology

It realizes efficient delivery of refined oil, reduces human interference, improves the accuracy and safety of distribution plans, and ensures that the tanker truck can arrive at the gas station on time and transport it with full load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119204901A_ABST
    Figure CN119204901A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a product oil distribution method and device, electronic equipment and a storage medium. The method comprises the steps that the demand condition of each gas station in a target area in each time period in the current day is determined; acquiring position information of each gas station and each oil depot in the target area; and according to the demand condition of each gas station in each time period in the current day, the position information of each gas station and each oil depot, and the position information and the load information of the idle oil tank truck in the current time period, determining the product oil distribution information of the oil depot supply gas station in the current time period. According to the demand condition of each gas station in each time period in the current day, the position information of each gas station and each oil depot, and the position information and the load information of the idle oil tank truck in the current time period, the product oil distribution information of the oil depot supply gas station in the current time period is determined, and efficient transportation can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of petrochemical industry, and in particular to a method, device, electronic equipment and storage medium for distributing finished oil. Background Art

[0002] Finished oil logistics includes transporting various grades of gasoline, kerosene and diesel produced by refineries to terminal sales points or direct sales customers through pipelines, railways, ships and roads. In the domestic business management system, provincial and municipal companies are usually divided into corresponding regional companies. Regional companies are responsible for the management and coordination of refineries to oil depots, while provincial and municipal companies are responsible for the management and coordination of oil depots to sales outlets and direct sales customers.

[0003] At present, for the distribution business of refined oil, gas stations actively submit demands, and the company collects and summarizes them to arrange the distribution plan. This method is interfered by many human factors and lacks active optimization links. The business personnel of the gas station determine the demand based on past experience and sales volume in recent days. The business personnel of the company arrange the supply plan of the oil depot to the gas station based on experience, and then contact the carrier to coordinate the distribution vehicle. The oil pick-up business of some oil depots requires the delivery driver to make an appointment for oil pick-up one day in advance, while some oil depots queue up in order of the driver's arrival time at the oil depot the next day. After the oil pick-up is completed, the distribution vehicle selects the distribution route based on the driver's transportation experience. However, during the distribution process, except for the company's business personnel, the gas station and other relevant demand parties do not know the real-time location and driving status of the tanker. In some cases, due to the large distribution plan, the driver does not know the real-time liquid level of the gas station tank. After the tanker arrives at the gas station, the gas station tank cannot be fully loaded, resulting in the inability of the distribution vehicle to unload oil, which creates safety hazards. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a finished oil distribution method, device, electronic equipment and storage medium.

[0005] The present invention provides a method for distributing refined oil, comprising:

[0006] Determine the demand status of each gas station in the target area in each time period of the current day; the target area is provided with oil depots and gas stations, and the oil depot can only supply finished oil to gas stations in the same area;

[0007] Obtain the location information of each gas station and oil depot in the target area;

[0008] According to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period, the finished oil distribution information of the oil depot supplying the gas station in the current time period is determined.

[0009] According to a method for distributing refined oil provided by the present invention, the method further comprises:

[0010] Determine the road condition information between the first delivery tanker truck and the gas station to which the first delivery tanker truck is to deliver in the current time period;

[0011] If it is determined that the estimated arrival time based on the road condition information is not within the current time period, then obtaining road condition information between a second delivery tank truck and the gas station to be delivered by the first delivery tank truck, road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck, and the delivery volume of the second delivery tank truck, wherein the second delivery tank truck is a tank truck that delivers the same refined oil as the first delivery tank truck;

[0012] When it is determined that the estimated arrival time based on the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck and the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck is within the current time period, and the delivery volume of the second delivery tank truck is higher than a preset multiple of the required oil volume of the gas station to be delivered by the first delivery tank truck, it is determined that the second delivery tank truck delivers finished oil to the gas station to be delivered by the first delivery tank truck.

[0013] According to a method for distributing refined oil products provided by the present invention, the step of determining the demand status of each gas station in a target area in each time period of the current day includes:

[0014] Obtain the historical demand status of each gas station in the target area at each time period within the historical day;

[0015] Obtain the emergency situation in the target area on the current day;

[0016] Determine the demand status of each gas station in the target area in each time period of the current day based on the historical demand status and the emergency device.

[0017] According to a method for distributing refined oil provided by the present invention, the method determines the refined oil distribution information of the oil depot supplying the gas station in the current time period according to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of the idle tank trucks in the current time period, including:

[0018] Based on the finished oil storage information and location information of the oil depot in the target area, as well as the demand status and location information of each gas station in each time period of the current day, an objective function and constraint conditions are constructed, and the distribution information of unallocated finished oil from the oil depot to the gas station in the current time period is determined according to the objective function and the constraint conditions, with the minimum distribution freight of the tank truck as the goal;

[0019] The refined oil distribution information of the oil depot supplying the gas station in the current time period is determined according to the unallocated refined oil distribution information and the position information and load information of the idle oil tankers in the current time period.

[0020] The present invention also provides a finished oil distribution device, comprising:

[0021] A determination module is used to determine the demand status of each gas station in the target area in each time period of the current day; the target area is provided with oil depots and gas stations, and the oil depot can only supply finished oil to gas stations in the same area;

[0022] An acquisition module is used to obtain the location information of each gas station and each oil depot in the target area;

[0023] The distribution module is used to determine the finished oil distribution information of the oil depot supplying the gas station in the current time period according to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of the idle tank trucks in the current time period.

[0024] According to a refined oil distribution device provided by the present invention, the device also includes a monitoring module for:

[0025] Determine the road condition information between the first delivery tanker truck and the gas station to which the first delivery tanker truck is to deliver in the current time period;

[0026] If it is determined that the estimated arrival time based on the road condition information is not within the current time period, then obtaining road condition information between a second delivery tank truck and the gas station to be delivered by the first delivery tank truck, road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck, and the delivery volume of the second delivery tank truck, wherein the second delivery tank truck is a tank truck that delivers the same refined oil as the first delivery tank truck;

[0027] When it is determined that the estimated arrival time based on the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck and the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck is within the current time period, and the delivery volume of the second delivery tank truck is higher than a preset multiple of the required oil volume of the gas station to be delivered by the first delivery tank truck, it is determined that the second delivery tank truck delivers finished oil to the gas station to be delivered by the first delivery tank truck.

[0028] According to a refined oil distribution device provided by the present invention, the determination module is specifically used for:

[0029] Obtain the historical demand status of each gas station in the target area at each time period within the historical day;

[0030] Obtain the emergency situation in the target area on the current day;

[0031] Determine the demand status of each gas station in the target area in each time period of the current day based on the historical demand status and the emergency device.

[0032] According to a refined oil distribution device provided by the present invention, the distribution module is specifically used for:

[0033] Based on the finished oil storage information and location information of the oil depot in the target area, as well as the demand status and location information of each gas station in each time period of the current day, an objective function and constraint conditions are constructed, and the distribution information of unallocated finished oil from the oil depot to the gas station in the current time period is determined according to the objective function and the constraint conditions, with the minimum distribution freight of the tank truck as the goal;

[0034] The refined oil distribution information of the oil depot supplying the gas station in the current time period is determined according to the unallocated refined oil distribution information and the position information and load information of the idle oil tankers in the current time period.

[0035] 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 the processor implements the steps of the above-mentioned refined oil distribution method when executing the program.

[0036] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned finished oil distribution method are implemented.

[0037] The embodiments of the present invention provide a method, device, electronic device and storage medium for distributing refined oil, which can ensure efficient transportation by determining the refined oil distribution information supplied from the oil depot to the gas station in the current time period based on the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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.

[0039] Figure 1 This is a flow chart of an embodiment of a method for distributing refined oil of the present invention;

[0040] Figure 2 This is a structural diagram of an embodiment of a finished oil distribution device of the present invention;

[0041] Figure 3 It is a structural diagram of an electronic device embodiment of the present invention. DETAILED DESCRIPTION

[0042] 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.

[0043] Combine the following Figure 1-Figure 3 The invention describes a method, device, electronic device and storage medium for distributing refined oil.

[0044] Figure 1 A schematic diagram of a method for distributing refined oil provided by the present invention is shown in FIG. Figure 1 , the method comprises the following steps:

[0045] 11. Determine the demand status of each gas station in the target area at each time period of the current day; there are oil depots and gas stations in the target area, and the oil depot can only supply finished oil to gas stations in the same area;

[0046] 12. Obtain the location information of each gas station and oil depot in the target area;

[0047] 13. According to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period, the finished oil distribution information of the oil depot supplying the gas station in the current time period is determined.

[0048] Regarding steps 11 to 13, it should be noted that in the present invention, the supply of refined oil at a gas station requires a tanker truck to extract the amount of oil required by the gas station from the oil depot and transport it to the gas station. The gas station includes a variety of oil products, different types of gasoline and diesel. An oil depot is set up underground at the gas station. When the storage capacity of oil products in the oil depot decreases to a certain amount, it will be reported to the corresponding oil depot in advance. The reported information is the oil demand information of the gas station, which includes the types of oil products required by the gas station and the corresponding demand for each type of oil product. Correspondingly, there will also be stored oil types in the oil depot, as well as the storage capacity corresponding to each type of oil product.

[0049] In the present invention, gas stations consume oil at different time periods every day. The amount of oil consumed at different time periods every day is different. For example, there are fewer vehicles refueling in the middle of the night, and the amount of oil consumed in this time period is less. After the gas station consumes oil every day, it may replenish the oil in time on the next day. To this end, the demand status of each gas station in each time period of the next day is estimated (i.e. what type of refined oil is required, and the demand for each type of refined oil). The estimated demand status of each gas station in each time period of the next day is equivalent to determining the demand status of each gas station in the target area in each time period of the current day when pacing the transportation on the next day (i.e. the current day).

[0050] In the present invention, gas stations in a region are supplied by oil depots in the region. Oil depots and gas stations are set up in the target region, and oil depots can only supply refined oil to gas stations in the same region. In the region, multiple oil depots can be set up, and different oil depots may supply refined oil to the same gas station.

[0051] In the present invention, the tanker truck transports the finished oil from the oil depot to the gas station. From the perspective of distribution freight, it is necessary to obtain the location information of each gas station and each oil depot in the target area. The distance between the gas station and the oil depot can be determined through the location information.

[0052] In the present invention, different oil depots may or may not supply finished oil to the same gas station. This is mainly based on the limitation of the distribution distance. For example, oil depot 1 may supply finished oil to gas station abc, and oil depot 2 may supply finished oil to gas station cde. For this reason, considering the overall finished oil supply of each oil depot and each gas station in a region, it is necessary to construct an objective function, which takes the minimum distribution freight of the tanker as the goal. From the solution of the objective function, a finished oil distribution plan can be determined according to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot. However, the oil depot has fewer vehicles of its own and cannot meet the use. For this reason, it is necessary to hire some tankers of transportation companies to complete the finished oil distribution work. For this reason, it is also necessary to obtain the location information and load information of the idle tankers of each transportation company in the current time period, and the location information can be used to select the idle tankers that are closer to the oil depot. The load information can be used to select whether the idle tankers can meet the transportation-related demand. Therefore, based on the location information and load information of the idle tank trucks, a qualified tank truck can be selected for the above-mentioned refined oil distribution plan.

[0053] From the above, it can be seen that in the present invention, the finished oil distribution information of the oil depot supplying the gas station in the current time period can be comprehensively determined based on the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period.

[0054] The refined oil distribution method provided by the embodiment of the present invention can ensure efficient transportation by determining the refined oil distribution information supplied by the oil depot to the gas station in the current time period based on the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period.

[0055] In a further method of the above method, it is mainly aimed at how to realize the supply of finished oil by the refueling truck when the oil tank trucks fail to reach the gas station on time during the distribution process of the oil tank trucks in the current time period. In this regard, the present invention is specifically as follows:

[0056] Determine the road condition information between the first delivery tank truck and the gas station to which the first delivery tank truck is to deliver in the current time period;

[0057] If it is determined that the estimated arrival time based on the road condition information is not within the current time period, then the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck, the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck, and the delivery volume of the second delivery tank truck are obtained, and the second delivery tank truck is a tank truck that delivers the same refined oil as the first delivery tank truck;

[0058] When it is determined that the estimated arrival time based on the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck and the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck is within the current time period, and the delivery volume of the second delivery tank truck is higher than a preset multiple of the required oil volume of the gas station to be delivered by the first delivery tank truck, it is determined that the second delivery tank truck delivers finished oil to the gas station to be delivered by the first delivery tank truck.

[0059] In this regard, it should be noted that in the present invention, there are many tank trucks sent out from the oil depot, and the distribution process of each tank truck must be analyzed separately. In this regard, each analyzed tank truck can be called a first distribution tank truck, and other tank trucks can be called second distribution tank trucks.

[0060] Determine the road condition information between the first delivery tanker in the current time period and the gas station to be delivered by the first delivery tanker. The road condition information includes the remaining distance of the planned transportation route and the emergencies on the route (such as traffic jams, vehicle failures, etc.). Therefore, based on the road condition information, the arrival time of the tanker at the gas station to be delivered can be estimated, and then the arrival time is matched with the current time period. If the arrival time is not within the current time period, it means that the tanker cannot reach the gas station within the current time period to supply oil to the gas station. To this end, it is necessary to analyze whether other tankers can be replenished in time to solve the oil supply demand of the gas station. Here, it can be understood as changing the delivery route of other tankers. Let other tankers replenish the oil supply demand of the first delivery tanker, which requires that the type of finished oil of other tankers is the same as that of the first delivery tanker, and the finished oil delivered by other tankers cannot be completely delivered to the gas station planned to be delivered by the first delivery tanker. Some oil needs to be left to complete their own delivery plan.

[0061] Therefore, it is necessary to obtain the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck within the preset area where the gas station is located, the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck, and the delivery volume of the second delivery tank truck.

[0062] Next, when it is determined that the estimated arrival time based on the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck and the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck is within the current time period, and when the delivery volume of the second delivery tank truck is higher than a preset multiple of the required oil volume of the gas station to be delivered by the first delivery tank truck, it is determined that the second delivery tank truck delivers finished oil to the gas station to be delivered by the first delivery tank truck.

[0063] In a further method of the present invention, by monitoring each tanker on the distribution route, the distribution routes of some tankers can be changed in time when road problems occur, so as to achieve the overall distribution of refined oil in the current time period.

[0064] In a further method of the above method, the process of determining the demand status of each gas station in the target area at each time period of the current day is mainly explained as follows:

[0065] Obtain the historical demand status of each gas station in the target area at each time period within the historical day;

[0066] Obtain the emergency situation in the target area on the current day;

[0067] Determine the demand status of each gas station in the target area at each time period of the current day based on historical demand conditions and emergency devices.

[0068] In this regard, it should be noted that in the present invention, there may be some activities on a certain day, such as promotional activities at gas stations, temporary traffic control for other activities, and these activities will have a certain impact on the entry of vehicles into the gas station. To this end, the historical demand conditions of each gas station in the target area in each time period of the historical days are obtained, and the emergency conditions in the current day in the target area are obtained, and then the historical demand conditions and emergency conditions are used to calculate the demand conditions of each gas station in the target area in each time period of the current day based on the preset calculation model.

[0069] In a further step of the method, various factors that affect the oil consumption of gas stations can be comprehensively considered to obtain a more accurate demand status of each gas station in each time period of the current day.

[0070] In a further method of the above method, the processing process of determining the finished oil distribution information of the oil depot supplying the gas station in the current time period according to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of the idle tank trucks in the current time period is explained as follows:

[0071] Based on the storage information and location information of finished oil products in the oil depots in the target area, as well as the demand status and location information of each gas station in each time period of the current day, the objective function and constraint conditions are constructed. With the minimum delivery freight of the tank truck as the goal, the unallocated finished oil delivery information of the oil depot supplying the gas station in the current time period is determined according to the objective function and constraint conditions.

[0072] The refined oil distribution information of the oil depot supplying the gas station in the current time period is determined according to the unallocated refined oil distribution information and the position information and load information of the idle oil tankers in the current time period.

[0073] In this regard, it should be noted that in the present invention, different oil depots may or may not supply finished oil to the same gas station. This is mainly based on the limitation of the distribution distance. For example, oil depot 1 may supply finished oil to gas station abc, and oil depot 2 may supply finished oil to gas station cde. For this reason, considering the overall finished oil supply of each oil depot and each gas station in a region, it is necessary to construct an objective function, which takes the minimum distribution freight of the tank truck as the goal. Based on the finished oil storage information and location information of the oil depot in the target area, as well as the demand status and location information of each gas station in each time period of the current day, the objective function and constraints are constructed, with the minimum distribution freight of the tank truck as the goal, and the unallocated finished oil distribution information of the oil depot supplying the gas station in the current time period is determined according to the objective function and constraints. The unallocated finished oil distribution information is that it has not yet been decided which tank truck to use for the distribution of finished oil. Therefore, the idle tank trucks are determined again according to their location information and load information in the current time period, and then the idle tank trucks are combined with the unallocated refined oil distribution information to obtain the refined oil distribution information of the oil depot supplying the gas station in the current time period.

[0074] In the present invention, the objective function can be in the following form:

[0075] The objective functions include:

[0076] Minf=x 11 ·s 11 +…+x 1j ·s 1j +x 21 ·s 21 +…+x 2m ·s 2m

[0077] +……+x i1 ·s i1 +…+x in ·s in

[0078] Among them, Minf is the minimum delivery fee, x 11 The amount of oil products delivered by oil depot 1 to the first gas station, s 11 is the distribution distance between oil depot 1 and the first gas station it supplies; x 1j is the oil product delivery volume supplied by oil depot 1 to the jth gas station, s 1j is the distribution distance between oil depot 1 and the jth gas station it supplies; x 21 The amount of oil products delivered by oil depot 2 to the first gas station, s 21 is the distribution distance between oil depot 2 and the first gas station it supplies; x2m is the amount of oil products delivered by oil depot 2 to the mth gas station, s 2m is the distribution distance between oil depot 2 and the mth gas station it supplies; x i1 is the oil product delivery volume supplied by oil depot i to the first gas station, s i1 is the distribution distance between oil depot i and the first gas station it supplies; x in is the oil product delivery volume supplied by oil depot i to the nth gas station, s in is the distribution distance between oil depot i and the nth gas station it supplies; wherein the gas stations supplied by each oil depot are the same and / or different.

[0079] In addition, constraints need to be established based on the oil demand information of each gas station and the distribution relationship from the oil depot to the gas station.

[0080] For example, there are two oil depots D1 and D2 and three gas stations. Gas station S1 needs 18,000 tons of 92# gasoline, gas station S2 needs 17,000 tons of 92# gasoline, and gas station S3 needs 11,000 tons of 92# gasoline.

[0081] The distribution relationship from oil depot to gas station is:

[0082] x1:D1→S1, x2:D1→S2, x3:D1→S3, x4:D2→S1, x5:D2→S2, x6:D2→S3.

[0083] x1, x2, x3, x4, x5, and x6 are variables of distribution relationships respectively.

[0084] The constraints at this time are:

[0085] The variable constraints are:

[0086] 0≤x1≤18000, 0≤x2≤17000, 0≤x3≤11000, 0≤x4≤18000, 0≤x5≤17000, 0≤x6≤11000.

[0087] The supply constraint is:

[0088] 0≤x1+x4≤18000,0≤x2+x5≤17000,0≤x3+x6≤11000.

[0089] The refined oil distribution method provided by the embodiment of the present invention can ensure efficient transportation by determining the refined oil distribution information supplied by the oil depot to the gas station in the current time period based on the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period.

[0090] The finished oil dispensing device provided by the present invention is described below. The finished oil dispensing device described below and the finished oil dispensing method described above can be referred to each other.

[0091] Figure 2 A schematic diagram of the structure of a finished oil distribution device provided by the present invention is shown in FIG. Figure 2 The device comprises a determination module 21, an acquisition module 22 and a distribution module 23, wherein:

[0092] The determination module 21 is used to determine the demand status of each gas station in the target area in each time period of the current day; the target area is provided with oil depots and gas stations, and the oil depot can only supply finished oil to gas stations in the same area;

[0093] An acquisition module 22 is used to acquire location information of each gas station and each oil depot in the target area;

[0094] The distribution module 23 is used to determine the finished oil distribution information of the oil depot supplying the gas station in the current time period according to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of the idle tank trucks in the current time period.

[0095] In a further embodiment of the above device, the device further comprises a monitoring module, which is used to:

[0096] Determine the road condition information between the first delivery tank truck and the gas station to which the first delivery tank truck is to deliver in the current time period;

[0097] If it is determined that the estimated arrival time based on the road condition information is not within the current time period, then obtaining road condition information between a second delivery tank truck and a gas station to be delivered by the first delivery tank truck, road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck, and a delivery volume of the second delivery tank truck, wherein the second delivery tank truck is a tank truck that delivers the same refined oil as the first delivery tank truck;

[0098] When it is determined that the estimated arrival time based on the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck and the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck is within the current time period, and the delivery volume of the second delivery tank truck is higher than a preset multiple of the required oil volume of the gas station to be delivered by the first delivery tank truck, it is determined that the second delivery tank truck delivers finished oil to the gas station to be delivered by the first delivery tank truck.

[0099] In a further device of the above device, the determining module is specifically used for:

[0100] Obtain the historical demand status of each gas station in the target area at each time period within the historical day;

[0101] Obtain the emergency situation in the target area on the current day;

[0102] Determine the demand status of each gas station in the target area in each time period of the current day based on the historical demand status and the emergency device.

[0103] In a further embodiment of the above device, the delivery module is specifically used for:

[0104] Based on the finished oil storage information and location information of the oil depot in the target area, as well as the demand status and location information of each gas station in each time period of the current day, an objective function and constraint conditions are constructed, and the distribution information of unallocated finished oil from the oil depot to the gas station in the current time period is determined according to the objective function and the constraint conditions, with the minimum distribution freight of the tank truck as the goal;

[0105] The refined oil distribution information of the oil depot supplying the gas station in the current time period is determined according to the unallocated refined oil distribution information and the position information and load information of the idle oil tankers in the current time period.

[0106] Since the principle of the device described in the embodiment of the present invention is the same as that of the method described in the above embodiment, a more detailed explanation will not be repeated here.

[0107] It should be noted that, in the embodiment of the present invention, the relevant functional modules can be implemented by a hardware processor.

[0108] The finished oil distribution device provided by the present invention can ensure efficient transportation by determining the finished oil distribution information of the oil depot supplying the gas station in the current time period based on the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period.

[0109] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 31, a communication interface 32, a memory 33 and a communication bus 34, wherein the processor 31, the communication interface 32 and the memory 33 communicate with each other via the communication bus 34. The processor 31 may call the logic instructions in the memory 33 to execute the following method:

[0110] Determine the demand status of each gas station in the target area at each time period of the current day; there are oil depots and gas stations in the target area, and the oil depot can only supply finished oil to gas stations in the same area;

[0111] Obtain the location information of each gas station and oil depot in the target area;

[0112] According to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period, the finished oil distribution information of the oil depot supplying the gas station in the current time period is determined.

[0113] In addition, the logic instructions in the above-mentioned memory 33 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.

[0114] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can perform the method provided by the above methods, the method comprising:

[0115] Determine the demand status of each gas station in the target area at each time period of the current day; there are oil depots and gas stations in the target area, and the oil depot can only supply finished oil to gas stations in the same area;

[0116] Obtain the location information of each gas station and oil depot in the target area;

[0117] According to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period, the finished oil distribution information of the oil depot supplying the gas station in the current time period is determined.

[0118] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the methods provided in the above embodiments, for example, including:

[0119] Determine the demand status of each gas station in the target area at each time period of the current day; there are oil depots and gas stations in the target area, and the oil depot can only supply finished oil to gas stations in the same area;

[0120] Obtain the location information of each gas station and oil depot in the target area;

[0121] According to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period, the finished oil distribution information of the oil depot supplying the gas station in the current time period is determined.

[0122] 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.

[0123] 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 distributing refined oil, characterized in that: include: Determine the demand status of each gas station in the target area in each time period of the current day; the target area is provided with oil depots and gas stations, and the oil depot can only supply finished oil to gas stations in the same area; Obtain the location information of each gas station and oil depot in the target area; According to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of idle tank trucks in the current time period, the finished oil distribution information of the oil depot supplying the gas station in the current time period is determined.

2. The method for distributing refined oil according to claim 1, characterized in that: The method further comprises: Determine the road condition information between the first delivery tanker truck and the gas station to which the first delivery tanker truck is to deliver in the current time period; If it is determined that the estimated arrival time based on the road condition information is not within the current time period, then obtaining road condition information between a second delivery tank truck and the gas station to be delivered by the first delivery tank truck, road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck, and the delivery volume of the second delivery tank truck, wherein the second delivery tank truck is a tank truck that delivers the same refined oil as the first delivery tank truck; When it is determined that the estimated arrival time based on the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck and the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck is within the current time period, and the delivery volume of the second delivery tank truck is higher than a preset multiple of the required oil volume of the gas station to be delivered by the first delivery tank truck, it is determined that the second delivery tank truck delivers finished oil to the gas station to be delivered by the first delivery tank truck.

3. The method for distributing refined oil according to claim 2, characterized in that: Determining the demand status of each gas station in the target area in each time period of the current day includes: Obtain the historical demand status of each gas station in the target area at each time period within the historical day; Obtain the emergency situation in the target area on the current day; Determine the demand status of each gas station in the target area in each time period of the current day based on the historical demand status and the emergency device.

4. The method for distributing refined oil according to claim 1, characterized in that: The method of determining the refined oil distribution information of the oil depot supplying the gas station in the current time period according to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of the idle oil tanker in the current time period includes: Based on the finished oil storage information and location information of the oil depot in the target area, as well as the demand status and location information of each gas station in each time period of the current day, an objective function and constraint conditions are constructed, and the distribution information of unallocated finished oil from the oil depot to the gas station in the current time period is determined according to the objective function and the constraint conditions, with the minimum distribution freight of the tank truck as the goal; The refined oil distribution information of the oil depot supplying the gas station in the current time period is determined according to the unallocated refined oil distribution information and the position information and load information of the idle oil tankers in the current time period.

5. A finished oil distribution device, characterized in that: include: A determination module is used to determine the demand status of each gas station in the target area in each time period of the current day; The target area is provided with an oil depot and a gas station, and the oil depot can only supply refined oil to the gas stations in the same area; An acquisition module is used to obtain the location information of each gas station and each oil depot in the target area; The distribution module is used to determine the finished oil distribution information of the oil depot supplying the gas station in the current time period according to the demand conditions of each gas station in each time period of the current day, the location information of each gas station and each oil depot, and the location information and load information of the idle tank trucks in the current time period.

6. The refined oil distribution device according to claim 5, characterized in that: The device also includes a monitoring module, which is used to: Determine the road condition information between the first delivery tanker truck and the gas station to which the first delivery tanker truck is to deliver in the current time period; If it is determined that the estimated arrival time based on the road condition information is not within the current time period, then obtaining road condition information between a second delivery tank truck and the gas station to be delivered by the first delivery tank truck, road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck, and the delivery volume of the second delivery tank truck, wherein the second delivery tank truck is a tank truck that delivers the same refined oil as the first delivery tank truck; When it is determined that the estimated arrival time based on the road condition information between the second delivery tank truck and the gas station to be delivered by the first delivery tank truck and the road condition information between the gas station to be delivered by the first delivery tank truck and the gas station to be delivered by the second delivery tank truck is within the current time period, and the delivery volume of the second delivery tank truck is higher than a preset multiple of the required oil volume of the gas station to be delivered by the first delivery tank truck, it is determined that the second delivery tank truck delivers finished oil to the gas station to be delivered by the first delivery tank truck.

7. The refined oil distribution device according to claim 6, characterized in that: The determination module is specifically used for: Obtain the historical demand status of each gas station in the target area at each time period within the historical day; Obtain the emergency situation in the target area on the current day; Determine the demand status of each gas station in the target area in each time period of the current day based on the historical demand status and the emergency device.

8. The refined oil distribution device according to claim 6, characterized in that: The distribution module is specifically used for: Based on the finished oil storage information and location information of the oil depot in the target area, as well as the demand status and location information of each gas station in each time period of the current day, an objective function and constraint conditions are constructed, and the distribution information of unallocated finished oil from the oil depot to the gas station in the current time period is determined according to the objective function and the constraint conditions, with the minimum distribution freight of the tank truck as the goal; The refined oil distribution information of the oil depot supplying the gas station in the current time period is determined according to the unallocated refined oil distribution information and the position information and load information of the idle oil tankers in the current time period.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the finished oil distribution method as described in any one of claims 1 to 4 are implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the finished oil distribution method as claimed in any one of claims 1 to 4 are implemented.