A method, device and electronic equipment for predicting oil inflow at a gas station

By using historical sales and current consumption data to predict the inventory margin of the gas station, obtain the available oil products and determine the replenishment parameters, the problem of inaccurate prediction of oil volume in the gas station is solved, and the replenishment accuracy and inventory stability are improved.

CN113971541BActive Publication Date: 2025-03-14SHANDONG ENERGY CHAIN HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111261815.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-28
Publication Date
2025-03-14
Estimated Expiration
2041-10-28

AI Technical Summary

Technical Problem

In the prior art, the accuracy of oil volume prediction at the gas station is low, resulting in frequent occurrence of oil volume at the gas station but oil supply has not yet arrived.

Method used

By predicting the inventory margin at each time based on the historical oil sales data of the gas station and the current oil consumption data, the inventory margin at each time is obtained based on the inventory margin, and the oil order parameters are determined to ensure that the gas station replenishes goods in a timely manner.

Benefits of technology

It improves the accuracy of oil supply at the gas station, reduces the probability that the oil supply at the gas station has been consumed but the oil supply has not yet arrived, and ensures the stability of gas station inventory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113971541B_ABST
    Figure CN113971541B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for predicting the oil supply of a gas station. According to the historical oil sales data and current oil consumption data of the gas station, the inventory balance of the gas station at each time point is predicted; according to the inventory balance at each time point, the oil availability time of the gas station is obtained; and based on the oil availability time, oil order parameters are determined so that the gas station can supply oil according to the oil order parameters. The method, device and electronic equipment for predicting the oil supply of a gas station disclosed in the present invention can effectively improve the accuracy of the oil supply of the gas station and reduce the probability that the oil supply of the gas station has been consumed but the oil supply has not yet arrived.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gas stations, and in particular to a method, device and electronic equipment for predicting oil intake at a gas station. Background Art

[0002] With the rapid development of automobile technology, the supporting facilities of automobiles have also developed rapidly. Supporting facilities such as gas stations have been greatly expanded. With the increase in the number of gas stations, users can use a shorter time to enter the corresponding gas station for refueling, which improves the efficiency of refueling.

[0003] In the prior art, the increase in the number of gas stations can make refueling more convenient. As the number of cars refueling increases, the amount of oil at the gas station will gradually decrease, necessitating oil replenishment. However, when refueling at a gas station, it is usually calculated based on manual experience, and the accuracy of manual calculation is low, and there may be a situation where the oil at the gas station has been consumed but the oil replenishment has not yet arrived. Summary of the invention

[0004] The embodiments of the present invention provide a method, device and electronic device for predicting the oil intake of a gas station, which can effectively improve the accuracy of oil replenishment at the gas station and reduce the probability that the oil at the gas station has been consumed but the oil replenishment has not yet arrived.

[0005] A first aspect of an embodiment of the present invention provides a method for predicting oil intake at a gas station, the method comprising:

[0006] Based on the historical oil sales data and current oil consumption data of the oil station, predict the inventory balance of the oil station at each time point;

[0007] Obtaining the available time of the oil product at the gas station according to the inventory balance at each time point;

[0008] The oil product ordering parameters are determined based on the oil product available time, so that the oil station purchases oil according to the oil product ordering parameters.

[0009] Optionally, predicting the inventory balance of the gas station at each time point based on the historical oil sales data and current oil consumption data of the gas station includes:

[0010] Obtaining the oil volume forecast data of the gas station according to the historical oil sales data;

[0011] Acquiring oil quantity correction data of the oil station according to the current oil consumption data;

[0012] The oil quantity correction data is used to correct the oil quantity prediction data to obtain the inventory balance of the oil station at each time point.

[0013] Optionally, obtaining the oil volume forecast data of the gas station according to the historical oil product sales data includes:

[0014] Obtaining actual oil sales data of the gas station;

[0015] The actual oil product sales data is input into a trained oil product prediction model to obtain the oil quantity prediction data, wherein the oil product prediction model is trained based on the historical oil product sales data.

[0016] Optionally, obtaining the oil volume forecast data of the gas station according to the historical oil product sales data includes:

[0017] Obtain the influencing parameters that affect the sales volume of oil products;

[0018] The oil product forecast data is obtained according to the influencing parameters and the historical oil product sales data.

[0019] Optionally, acquiring the oil quantity correction data of the gas station according to the current oil quantity consumption data includes:

[0020] Obtaining historical refueling data, fuel remaining amount and current driving data of each vehicle within a preset range of the gas station;

[0021] For each vehicle within the preset range, based on the historical refueling data of the vehicle, the remaining fuel amount and the current driving data, determining whether the vehicle is a target refueling vehicle that comes to the gas station for refueling;

[0022] The fuel quantity correction data is obtained according to the remaining fuel quantity of the target refueling vehicle.

[0023] Optionally, judging whether the vehicle is a target refueling vehicle for refueling at the gas station based on the historical refueling data, the remaining fuel and the current driving data of the vehicle includes:

[0024] Based on the historical refueling data of the vehicle, obtain the average remaining fuel volume of the vehicle when refueling;

[0025] Determining whether the remaining fuel amount of the vehicle is not greater than the average remaining fuel amount, to obtain a first determination result;

[0026] Determining whether the current driving data of the vehicle meets the preset refueling condition, and obtaining a second determination result;

[0027] According to the first judgment result and the second judgment result, it is judged whether the vehicle is the target refueling vehicle.

[0028] Optionally, the determining whether the current driving data of the vehicle meets the preset refueling condition to obtain a second determination result includes:

[0029] If the current driving data of the vehicle includes the driving direction and driving road of the vehicle, then determine whether the driving direction is toward the gas station to obtain a first sub-result; determine whether the driving road is the main road corresponding to the gas station to obtain a second sub-result; based on the first sub-result and the second sub-result, obtain the second judgment result.

[0030] Optionally, the determining whether the current driving data of the vehicle meets the preset refueling condition to obtain a second determination result includes:

[0031] If the current driving data of the vehicle includes the navigation route of the vehicle, determine whether the distance between the route end point or the route passing point of the navigation route and the gas station is less than the set distance, and obtain a third sub-result; based on the third sub-result, obtain the second judgment result.

[0032] Optionally, the step of obtaining the fuel quantity correction data according to the remaining fuel quantity of the target refueling vehicle includes:

[0033] Determining an expected refueling amount of the target refueling vehicle based on the remaining fuel amount and refueling habits of the target refueling vehicle;

[0034] Based on the expected refueling amount, the oil amount correction data is acquired.

[0035] Optionally, the using the oil quantity correction data to correct the oil quantity prediction data to obtain the inventory balance of the oil station at each time point includes:

[0036] Acquire a ratio of the oil quantity correction data to the oil quantity prediction data;

[0037] The oil quantity forecast data is corrected according to the ratio to obtain the inventory balance of the oil station at each time point.

[0038] Optionally, determining the oil product order parameter based on the oil product available time so that the oil station purchases oil according to the oil product order parameter includes:

[0039] Estimating the transportation time for transporting the oil product to the said oil station;

[0040] According to the oil product available time and the transportation time, the oil product order parameters for the oil station to purchase oil are obtained, so that the oil station purchases oil according to the oil product order parameters.

[0041] Optionally, the estimating the transportation time of the oil product to the oil station includes:

[0042] Obtain available warehouses and available transport vehicles corresponding to the gas station;

[0043] The transportation time is estimated according to the distance from the available warehouse to the oil station and the transportation parameters related to the available transportation vehicles.

[0044] A second aspect of an embodiment of the present invention further provides a device for predicting oil intake at a gas station, the device comprising:

[0045] An inventory prediction unit, used to predict the inventory balance of the gas station at each time point based on the historical oil sales data and current oil consumption data of the gas station;

[0046] A time prediction unit, used to obtain the available time of the oil product at the gas station according to the inventory balance at each time point;

[0047] The order parameter acquisition unit is used to determine the oil product order parameter based on the oil product available time, so that the gas station purchases oil according to the oil product order parameter.

[0048] Optionally, the inventory forecasting unit is used to obtain the oil quantity forecasting data of the gas station based on the historical oil sales data; obtain the oil quantity correction data of the gas station based on the current oil consumption data; and use the oil quantity correction data to correct the oil quantity forecasting data to obtain the inventory balance of the gas station at each time point.

[0049] A third aspect of an embodiment of the present invention provides an electronic device, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute operation instructions corresponding to the method for predicting fuel intake at a gas station as provided in the first aspect.

[0050] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps corresponding to the method for predicting oil intake at a gas station as provided in the first aspect.

[0051] The above one or at least one technical solution in the embodiments of the present application has at least the following technical effects:

[0052] Based on the above technical solution, the inventory balance of the gas station at each time point is predicted according to the historical oil sales data and current oil consumption data of the gas station; the available time of the oil at the gas station is obtained according to the inventory balance at each time point; and the oil order parameters are determined based on the available time of the oil, so that the gas station purchases oil according to the oil order parameters; in this way, the oil order parameters are determined according to the available time of the oil, and the available time of the oil is determined according to the inventory balance at each time point, and the inventory balance at each time point is predicted according to the historical oil sales data and current oil consumption data of the gas station, so that the accuracy of the inventory balance at each time point is high. On the basis of the high accuracy of the inventory balance at each time point, the oil order parameters predicted based on the inventory balance at each time point will also have a high matching degree with the gas station, thereby effectively improving the accuracy of the oil replenishment of the gas station and reducing the probability that the oil at the gas station has been consumed but the oil replenishment has not yet arrived. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic diagram of a flow chart of a method for predicting oil intake at a gas station provided in an embodiment of the present application;

[0054] Figure 2 A block diagram of a device for predicting oil intake at a gas station provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The main implementation principles, specific implementation methods and corresponding beneficial effects of the technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0057] Example

[0058] Please refer to Figure 1 The present application embodiment provides a method for predicting oil intake at a gas station, the method comprising:

[0059] S101, predicting the inventory balance of the gas station at each time point based on the historical oil sales data and current oil consumption data of the gas station;

[0060] S102, obtaining the available time of the oil product of the gas station according to the inventory balance at each time point;

[0061] S103: Determine oil product order parameters based on the oil product available time, so that the gas station purchases oil according to the oil product order parameters.

[0062] The method for predicting the oil intake of a gas station in the embodiment of this specification is usually used in background services, and the background server can be, for example, electronic devices such as laptop computers, desktop computers, tablet computers and all-in-one computers; further, the gas station in the embodiment of this specification refers to a gas station.

[0063] Among them, in step S101, all the oil sales data of the gas station can be written into the corresponding storage device in advance, so that the historical oil sales data of the gas station can be obtained from the storage device. The historical oil sales data can be the oil sales data stored in a set time period, or it can be all the oil sales data stored in the storage device, etc., wherein the set time period can be the most recent time period of the gas station, such as the most recent year or the most recent two years, etc., or it can be a period of the same period of the previous year. For example, if it is September now, the oil sales data of September last year can be used as the historical oil sales data, so that the obtained historical oil sales data is more closely matched with the current data of the gas station, so that the accuracy of the oil order parameters predicted in the subsequent prediction based on the historical oil sales data is improved.

[0064] Specifically, the oil quantity forecast data of the gas station can be obtained based on the historical oil sales data; the oil quantity correction data of the gas station can be obtained based on the current oil consumption data; the oil quantity correction data can be used to correct the oil quantity forecast data to obtain the inventory balance of the gas station at each time point.

[0065] Specifically, when obtaining the oil volume forecast data of a gas station based on historical oil product sales data, the actual oil product sales data of the gas station can be obtained; the actual oil product sales data is input into the trained oil product forecast model to obtain the oil volume forecast data, wherein the oil product forecast model is trained based on the historical oil product sales data. In this way, the model can be first trained based on the historical oil product sales data as training data to obtain the oil product forecast model. Since the oil product forecast model is trained based on the historical oil product sales data of the gas station, the prediction accuracy of the oil product forecast model is higher than that of the gas station. In this way, when the actual oil product sales data is input into the oil product forecast model, the accuracy of the predicted oil volume forecast data will also be higher.

[0066] For example, taking the oil product prediction model A1 as an example, the actual oil product sales data of the gas station including the hourly oil product sales volume and the current total oil product sales volume, etc. are obtained, and then the actual oil product sales data is input into A1 for prediction to predict the oil product prediction data.

[0067] In another embodiment of the present specification, when obtaining the oil volume forecast data of the gas station based on the historical oil sales data, the influencing parameters that affect the oil sales can be obtained first; and then the oil forecast data can be obtained based on the influencing parameters and the historical oil sales data. The influencing parameters can be the current weather, the current time parameters (such as whether it is a holiday and whether it is a peak or off-peak period), the refueling price and other parameters. These parameters will affect the sales volume. For example, the hotter the weather, the higher the oil sales volume will be, and the oil sales volume will also increase during holidays. The oil sales volume will increase during peak periods and decrease during off-peak periods, and the higher the refueling price, the lower the oil sales volume will be. In this way, it is necessary to obtain these influencing parameters that affect the oil sales volume.

[0068] And, after obtaining the influencing parameters, the oil product prediction data is obtained based on the influencing parameters and the historical oil product sales data. At this time, the historical oil product sales data and the historical influencing parameters can also be used as training data for training, and the model that meets the constraint conditions is trained as another oil product prediction model. After the other oil product prediction model is trained, the actual oil product sales data and the current influencing parameters of the gas station are input into the other oil product prediction model to predict the oil product prediction data.

[0069] For example, taking another oil product prediction model as model A2, the actual oil product sales data of the gas station including the hourly oil product sales volume and the current total oil product sales volume, etc., and the current influencing parameters of the gas station are obtained. For example, if the date is October 1, then the current influencing parameters are determined to be that 9 o'clock in the morning of the holiday is the peak refueling period, the current weather is sunny and the temperature is 24°C, and the refueling price is 6.25 yuan. In this way, the current influencing parameters and the actual oil product sales data are input into A2 for prediction, and the oil product prediction data is predicted.

[0070] Furthermore, when obtaining the fuel quantity correction data of the gas station based on the current fuel consumption data, the historical refueling data, fuel remaining amount and current driving data of each vehicle within the preset range of the gas station can be obtained; for each vehicle within the preset range, based on the historical refueling data, fuel remaining amount and current driving data of the vehicle, it is determined whether the vehicle is a target refueling vehicle that comes to the gas station for refueling; and the fuel quantity correction data is obtained based on the fuel remaining amount of the target refueling vehicle.

[0071] In the embodiments of this specification, the preset range can be set according to actual conditions, or can be set manually or by the device. The preset range can be, for example, within the range of 5km, 6km and 8km, and this specification does not impose any specific restrictions.

[0072] Specifically, after setting the preset range, each vehicle within the preset range of the gas station can be determined through sensors in the vehicle, such as GPS and on-board equipment. After each vehicle is determined, the historical refueling data of each vehicle is obtained from the data storage server that stores the relevant data of each vehicle, and the fuel remaining and current driving data can be obtained by uploading from each vehicle. The fuel remaining can be the fuel display on the dial of each vehicle, and the current driving data can be obtained based on the sensors on each vehicle. In this way, after each vehicle obtains the fuel remaining and current driving data, it is uploaded to the background service, so that the background server can obtain the historical refueling data, fuel remaining and current driving data of each vehicle within the preset range of the gas station.

[0073] Specifically, after obtaining the historical refueling data, fuel remaining amount and current driving data of each vehicle within a preset range of the gas station, for each vehicle within the preset range, the average remaining fuel amount of the vehicle when refueling can be obtained based on the historical refueling data of the vehicle; then, it is determined whether the fuel remaining amount of the vehicle is not greater than the average remaining fuel amount to obtain a first judgment result; and it is determined whether the current driving data of the vehicle meets the preset refueling conditions to obtain a second judgment result; based on the first judgment result and the second judgment result, it is determined whether the vehicle is a target refueling vehicle; in this way, through this method, it can be obtained whether each vehicle within the preset range is a target refueling vehicle.

[0074] Specifically, for each vehicle, after obtaining the average remaining fuel amount of the vehicle, it is determined whether the fuel remaining amount of the vehicle is not greater than the average remaining fuel amount to obtain a first judgment result; if the fuel remaining amount of the vehicle is 15%, and the average remaining fuel amount is 10%, since 15%>10%, it is determined that the first judgment result indicates that the fuel remaining amount of the vehicle is greater than the average remaining fuel amount; if the average remaining fuel amount is 18%, since 18%>15%, it is determined that the first judgment result indicates that the fuel remaining amount of the vehicle is not greater than the average remaining fuel amount.

[0075] And, specifically, for each vehicle, after obtaining the average remaining fuel volume of the vehicle, it is also necessary to determine whether the current driving data of the vehicle meets the preset refueling conditions to obtain a second judgment result. The current driving data may include the driving direction and driving road of the vehicle. Of course, the vehicle driving data may also include the driving speed of the vehicle, etc., which is not specifically limited in this specification.

[0076] Specifically, when the current driving data includes the driving direction and the vehicle position, the sensor may be a camera, and the road image may be captured by the camera installed on the vehicle, and then the driving road of the vehicle may be obtained based on the captured road image; the driving direction is determined based on the direction on the current driving road, for example, the vehicle is currently traveling in the southeast direction on Road A. Of course, when the current driving data includes the driving speed, the driving speed of the vehicle may also be obtained through a speed sensor. After the vehicle obtains the driving road, driving direction and driving speed, the driving road, driving direction and driving speed are sent to the background server, so that the background server obtains the current driving data of the vehicle based on the received driving road, driving direction and driving speed, so that the current driving data includes the driving road, driving direction and driving speed. The following specifically takes the current driving data including the driving road and driving direction as an example.

[0077] Specifically, when judging whether the current driving data of the vehicle meets the preset conditions for refueling, a second judgment result is obtained. If the current driving data of the vehicle includes the driving direction and the driving road of the vehicle, then it is judged whether the driving direction is toward the gas station to obtain the first sub-result; it is judged whether the driving road is the main road corresponding to the gas station to obtain the second sub-result; based on the first sub-result and the second sub-result, a second judgment result is obtained; if it is toward the gas station and the driving road is the main road corresponding to the gas station, then it is determined that the second judgment result indicates that the preset conditions for refueling are met; otherwise, it is determined that the second judgment result indicates that the preset conditions for refueling are not met.

[0078] If the vehicle driving information also includes driving speed, then judging whether the current driving data of the vehicle meets the preset refueling conditions also includes: judging whether the driving speed exceeds the set speed; if it is judged that the driving direction is toward the gas station and the driving road is a main road, and the driving speed exceeds the set speed, then determining that the second judgment result indicates that the preset refueling conditions are met; otherwise, determining that the second judgment result indicates that the preset refueling conditions are not met. The set speed is usually not less than 60Km / h, for example, 60Km / h, 65Km / h and 70Km / h.

[0079] In the embodiments of this specification, the main road can be understood as the road that must be taken to enter or leave the gas station, or the main road near the gas station;

[0080] For example, taking the gas station B as an example, each vehicle within 5km of B is obtained as vehicles A1 and A2 in sequence, then the driving direction of A1 is obtained as southwest, and the driving road is road C1; if B is in the southwest of A1, then the driving direction of A1 is determined to be towards B, if the main roads of B include main roads C1, C2 and C3, since the driving road is C1, it is determined that the driving road is the main road, and it is determined that the vehicle driving data of A1 meets the preset conditions for refueling; and the driving direction of A2 is obtained as southwest and the driving road is C4, since C4 is not the main road of B, it is determined that the vehicle driving data of A1 does not meet the preset conditions for refueling.

[0081] In this way, when the first judgment result determines whether the fuel remaining amount of the vehicle is not greater than the average remaining fuel amount, it is determined that the vehicle has a need for refueling, and when the second judgment result determines that the vehicle is traveling toward the gas station and the driving road is the main road of the gas station, in this way, when the vehicle has a need for refueling and the vehicle is traveling toward the gas station and the driving road is the main road of the gas station, it can be determined that the probability of the vehicle traveling to the gas station for refueling is high, and the accuracy of determining that the vehicle is the target refueling vehicle of the gas station will also be higher. In this way, the accuracy of obtaining the target refueling vehicle of the gas station can be effectively improved.

[0082] In another embodiment of the present specification, when determining whether the current driving data of the vehicle meets the preset refueling conditions and obtaining the second judgment result, if the current driving data of the vehicle includes the navigation route of the vehicle, determine whether the distance between the route end point or the route passing point of the navigation route and the gas station is less than the set distance, and obtain a third sub-result; based on the third sub-result, obtain the second judgment result.

[0083] Specifically, when the third sub-result determines that the distance between the route end point or the route passing point and the gas station is less than the set distance, the second judgment result is determined to indicate that the preset conditions for refueling are met; otherwise, the second judgment result is determined to indicate that the preset conditions for refueling are not met.

[0084] Specifically, it is possible to first determine whether the distance between the end point of the route and the gas station is less than the set distance. If so, there is no need to determine the route waypoints, and the second determination result can be directly determined to indicate that the preset refueling conditions are met; if not, it is further determined whether the distance between the route waypoints and the gas station is less than the set distance. If so, it is determined that the second determination result indicates that the preset refueling conditions are met; otherwise, it is determined that the second determination result indicates that the preset refueling conditions are not met. Of course, it is also possible to simultaneously determine whether the distance between the end point of the route and the gas station is less than the set distance, and whether the distance between the route waypoints and the gas station is less than the set distance; it is also possible to first determine whether the distance between the route waypoints and the gas station is less than the set distance, and then determine whether the distance between the end point of the route and the gas station is less than the set distance.

[0085] Specifically, when judging whether the distance between a route waypoint and a gas station is less than a set distance, the nearest waypoint from the gas station can be directly selected from the navigation route according to the navigation route to judge whether the distance between the nearest waypoint and the gas station is less than the set distance. If so, it is determined that the second judgment result indicates that the preset conditions for refueling are met; if not, it is continued to judge whether the distance between the route waypoint and the gas station is less than the set distance.

[0086] In the embodiments of this specification, the set distance can be set according to actual conditions, or can be set manually or by the device. The set distance can be, for example, 5km, 6km, and 7km, etc., and this specification does not make any specific restrictions.

[0087] For example, taking the gas station as B and the vehicle as A1, obtain the navigation route displayed on the vehicle terminal of A1 or the user terminal corresponding to A1, such as a smart phone and tablet computer. After obtaining the navigation route, select the nearest waypoint from B from the navigation route according to the relative position of the navigation route and B, and then obtain the distance between the nearest waypoint and B as 5km. At this time, the nearest waypoint may be the end point; if the set distance is 6km, since 5<6, it is determined that the distance between the nearest waypoint and the gas station is less than the set distance, that is, the second judgment result indicates that the preset conditions for refueling are met.

[0088] In this way, when the first judgment result determines whether the fuel remaining amount of the vehicle is not greater than the average remaining fuel amount, it is determined that the vehicle has a need for refueling, and when the second judgment result determines that the distance between the route end point or the route waypoint and the gas station is less than the set distance, it is determined that the distance for the vehicle to reach the gas station is short. In this way, when the vehicle has a need for refueling and the distance for the vehicle to reach the gas station is short, it can be determined that the probability of the vehicle traveling to the gas station for refueling is high, which also makes the accuracy of determining that the vehicle is the target refueling vehicle of the gas station higher.

[0089] Furthermore, for each vehicle within the set range of the gas station, after determining whether the vehicle is the target refueling vehicle of the gas station, the fuel remaining amount of the target refueling vehicle of the gas station is obtained, and the fuel remaining amount of the target refueling vehicle is the total fuel remaining amount of all the target refueling vehicles of the gas station; and then the fuel amount correction data is obtained based on the fuel remaining amount of the target refueling vehicle.

[0090] Specifically, when obtaining the remaining fuel of the target refueling vehicle, the expected refueling amount of the target refueling vehicle can be determined based on the remaining fuel and refueling habits of the target refueling vehicle, and the fuel amount correction data can be obtained based on the expected refueling amount. Alternatively, the expected refueling amount of the target refueling vehicle can be determined directly based on the remaining fuel of the target refueling vehicle, and the fuel amount correction data can be obtained based on the expected refueling amount.

[0091] Specifically, when obtaining the remaining fuel of the target refueling vehicle, if there are multiple target refueling vehicles, the remaining fuel of each target refueling vehicle among the multiple target refueling vehicles is obtained, and the expected refueling amount of the target refueling vehicle is determined according to the remaining fuel and refueling habits of each target refueling vehicle. If there is only one target refueling vehicle, the remaining fuel and refueling habits of the target refueling vehicle are obtained, and the expected refueling amount of the target refueling vehicle is determined according to the remaining fuel of the target refueling vehicle. The following takes the case where there is only one target refueling vehicle as an example.

[0092] In actual application, when a vehicle refuels at a gas station, there are usually two situations: one is to refuel in full, which means to fill the tank. The other is to refuel in a fixed amount, which means to refuel in an integer amount. Therefore, in the embodiment of this specification, it is necessary to predict the refueling habits of the target refueling vehicle to improve the accuracy of the prediction of the final gas station inventory. The refueling habits of the target refueling vehicle are predicted as follows:

[0093] First, based on the historical refueling amount of the target refueling vehicle, the refueling habit of the target refueling vehicle is determined. The historical refueling data of the target refueling vehicle includes the historical refueling amount. Specifically, if the historical refueling amount of the target refueling vehicle is to fill the tank to the point of jumping the gun, the refueling habit is determined to be sufficient refueling; in addition, if the sum of the historical refueling amount of the target refueling vehicle and the remaining fuel is approximately equal to the tank capacity, the refueling habit can also be determined to be sufficient refueling, where approximately equal to means that the error is less than or equal to 2~4L, and 2L, 3L, and 4L can be taken according to the specific vehicle model without restriction. If the difference between the sum of the historical refueling amount and the remaining fuel of the target refueling vehicle and the tank capacity is greater than 4L, it can be considered that the target refueling vehicle is a fixed-quota refueling; in addition, the historical refueling data of the target refueling vehicle also includes the historical refueling fee. If the historical refueling fee of the target refueling vehicle is an integer amount, it can be determined that the target refueling vehicle is a fixed-quota refueling. When the historical refueling data of the target refueling vehicle includes both sufficient refueling and fixed-quota refueling, the refueling habit with more times is selected as the refueling habit of the current target refueling vehicle.

[0094] Next, based on the fuel remaining amount and refueling habits of the target refueling vehicle, the expected refueling amount of the target refueling vehicle is determined. Specifically, when the refueling habit is to refuel in full, the expected refueling amount is: expected refueling amount = tank capacity - fuel remaining amount; more accurately, it can be: expected refueling amount = tank capacity - fuel remaining amount + compensation amount. It should be noted that the compensation amount can be ignored when the historical position of the target refueling vehicle is close to the gas station, and the same applies to the following text. When the refueling habit is fixed-quota refueling, the fuel remaining amount can be matched with the fuel remaining amount in the historical refueling data. For example, the current fuel remaining amount has the smallest numerical difference with a certain target fuel remaining amount in the historical refueling data, that is, it is closest, then the refueling amount corresponding to the target fuel remaining amount in the historical refueling data can be determined as the amount of refueling for the target refueling vehicle after entering the gas station. Finally, the expected refueling amount can be obtained by dividing the refueling amount by the oil price of the day.

[0095] For example, taking the gas station as B and the target refueling vehicles A1 and A2 as examples, the remaining fuel amount of A1 is 10L, and the remaining fuel amount of A2 is 8L. If A1's refueling habit is to refuel in full and the tank capacity of A1 is 45L, then the expected refueling amount of A1 is determined to be 35L; if A2's refueling habit is to refuel in a fixed amount, and the fixed amount of refueling is to refuel 20L, then the expected refueling amount of A2 is determined to be 20L. At this time, the sum of the expected refueling amounts of A1 and A2, that is, 55L, is used as the expected refueling amount of the target refueling vehicle.

[0096] Also, after obtaining the expected refueling amount, the fuel amount correction data is obtained. At this time, the expected refueling amount can be directly used as the fuel amount correction data, or the product of the expected refueling amount and the weight can be used as the fuel amount correction data. This manual does not make specific restrictions.

[0097] In this way, after obtaining the oil quantity prediction data and the oil quantity correction data, the oil quantity correction data is used to correct the oil quantity prediction data to obtain the inventory balance of the gas station at each time point, so that the obtained inventory balance of the gas station at each time point is more accurate.

[0098] Specifically, when performing correction, the ratio of the oil quantity correction data to the oil quantity prediction data can be obtained; the oil quantity prediction data is corrected according to the ratio to obtain the inventory balance of the oil station at each time point.

[0099] Specifically, if the oil quantity correction data is greater than the oil quantity prediction data, when the oil quantity prediction data is corrected according to the ratio, the predicted quantity at each time point in the oil quantity preset data can be deducted according to the ratio to obtain the inventory balance of the gas station at each time point; if the oil quantity correction data is not greater than the oil quantity prediction data, when the oil quantity prediction data is corrected according to the ratio, the predicted quantity at each time point in the oil quantity preset data can be added according to the ratio to obtain the inventory balance of the gas station at each time point.

[0100] For example, if the oil quantity correction data exceeds the oil quantity prediction data, and the ratio is 10%, then the prediction data at each future time point in the oil quantity prediction data is deducted according to 10% of the consumption, and the inventory at each time point of the gas station is obtained. If the oil quantity correction data does not exceed the oil quantity prediction data, and the ratio is 8%, then the prediction data at each future time point in the oil quantity prediction data is increased according to 8% of the consumption, and the inventory at each time point of the gas station is obtained.

[0101] After obtaining the inventory of the gas station at each time point, step S102 is executed.

[0102] In step S102, the available time of the oil product can be determined based on the safety inventory set by the gas station and the inventory balance at each time point, wherein the safety inventory can be set according to the actual situation, and can also be set manually or by equipment. The safety inventory can be, for example, 10%, 8% and 5% of the total inventory of the gas station.

[0103] Specifically, when determining the available time of oil products based on the safety inventory set by the gas station and the inventory balance at each time point, the available time of oil products can be determined by finding the difference between the inventory balance at a time point and the safety inventory from the inventory balance at each time point. If the difference is within the set threshold, the available time of oil products can be determined based on the time point and the current clock. The threshold can be set according to the actual situation, or it can be set manually or by equipment. For example, the threshold can be 10L and 20L, etc.

[0104] For example, from the inventory balance at each time point, it is found that the inventory balance at 15:00 on July 15 is 150L, ​​and the safety stock is 140L, and the set threshold is 15L. Since 150-140=10, and 10<15, based on 15:00 on July 15 and the current time (9:00 on July 14), the available time of the oil is determined to be 30 hours.

[0105] After obtaining the oil product available time, step S103 is executed.

[0106] In step S103, the transportation time of the oil product to the gas station can be estimated; according to the oil product available time and the transportation time, the oil product order parameters for the gas station to purchase oil are obtained, so that the gas station purchases oil according to the oil product order parameters.

[0107] Specifically, when estimating the transportation time of oil products to the gas station, the available warehouses and available transport vehicles corresponding to the gas station are obtained; the transportation time is estimated based on the distance from the available warehouse to the gas station and the transportation parameters related to the available transport vehicles. The transportation parameters include the average operating speed of the available transport vehicles, the current weather conditions, the current time point such as whether it is a holiday and whether it is the peak period for transporting oil products, the driver's rest status, the current road condition information and the expected waiting time at the available warehouse.

[0108] Specifically, after obtaining the distance from the available warehouse to the gas station and the transportation parameters related to the available transport vehicles, the distance and transportation parameters are input into the pre-trained transportation time prediction model to obtain the transportation time. The transportation time prediction model can be trained based on historical transportation parameters and historical distances. Also, after obtaining the transportation time, the order parameters for the oil station to enter the oil are obtained based on the available time and transportation time of the oil products, wherein the order parameters include the order time and the order quantity; when determining the order quantity, it is necessary to determine it based on the inventory at each time point, so as to take into account the consumption of the oil station inventory when the available transport vehicles transport the oil from the available warehouse to the gas station, so as to improve the accuracy of the obtained order quantity.

[0109] For example, taking gas station B as an example, if the inventory of B at 15:00 on July 15 is 150L, ​​it is close to the safety inventory of 140L, and the inventory at 14:00 on July 15 is 80L, which is lower than the safety inventory; and the transportation time of available vehicles at this time is 5 hours, and the total amount of B is 1000L, then the order time can be determined as any time point between 10-11 o'clock on July 15, such as 10:30, and the order quantity is 900L. After the background server predicts the order parameters, it sends the order parameters to B, so that B purchases oil according to the order parameters. In this way, it can ensure that the inventory of the gas station is kept above the safety inventory as much as possible, and the order quantity is more closely matched with the actual consumption of the gas station.

[0110] The above one or at least one technical solution in the embodiments of the present application has at least the following technical effects:

[0111] Based on the above technical solution, the inventory balance of the gas station at each time point is predicted according to the historical oil sales data and current oil consumption data of the gas station; the available time of the oil at the gas station is obtained according to the inventory balance at each time point; and the oil order parameters are determined based on the available time of the oil, so that the gas station purchases oil according to the oil order parameters; in this way, the oil order parameters are determined according to the available time of the oil, and the available time of the oil is determined according to the inventory balance at each time point, and the inventory balance at each time point is predicted according to the historical oil sales data and current oil consumption data of the gas station, so that the accuracy of the inventory balance at each time point is high. On the basis of the high accuracy of the inventory balance at each time point, the oil order parameters predicted based on the inventory balance at each time point will also have a high matching degree with the gas station, thereby effectively improving the accuracy of the oil replenishment of the gas station and reducing the probability that the oil at the gas station has been consumed but the oil replenishment has not yet arrived.

[0112] In view of the above-mentioned embodiment, a method for predicting the oil intake of a gas station is provided. In the embodiment of the present application, a device for predicting the oil intake of a gas station is also provided. Figure 2 , the device comprises:

[0113] The inventory prediction unit 201 is used to predict the inventory balance of the gas station at each time point based on the historical oil sales data and current oil consumption data of the gas station;

[0114] The time prediction unit 202 is used to obtain the available time of the oil product of the gas station according to the inventory balance at each time point;

[0115] The order parameter acquisition unit 203 is used to determine the oil product order parameter based on the oil product available time, so that the gas station purchases oil according to the oil product order parameter.

[0116] In an optional embodiment, the inventory prediction unit 201 is used to obtain the oil quantity prediction data of the gas station based on the historical oil sales data; obtain the oil quantity correction data of the gas station based on the current oil consumption data; and use the oil quantity correction data to correct the oil quantity prediction data to obtain the inventory balance of the gas station at each time point.

[0117] In an optional embodiment, the inventory prediction unit 201 is used to obtain the actual oil sales data of the gas station; input the actual oil sales data into a trained oil prediction model to obtain the oil quantity prediction data, wherein the oil prediction model is trained based on the historical oil sales data.

[0118] In an optional implementation, the inventory forecasting unit 201 is used to obtain influencing parameters that affect the sales volume of oil products; and obtain the oil product forecasting data based on the influencing parameters and the historical oil product sales data.

[0119] In an optional embodiment, the inventory prediction unit 201 is used to obtain the historical refueling data, fuel remaining amount and current driving data of each vehicle within a preset range of the gas station; for each vehicle within the preset range, based on the historical refueling data, the fuel remaining amount and the current driving data of the vehicle, determine whether the vehicle is a target refueling vehicle that comes to the gas station for refueling; and obtain the fuel quantity correction data according to the fuel remaining amount of the target refueling vehicle.

[0120] In an optional embodiment, the inventory prediction unit 201 is used to obtain the average remaining fuel amount of the vehicle when refueling based on the historical refueling data of the vehicle; determine whether the fuel remaining amount of the vehicle is not greater than the average remaining fuel amount to obtain a first judgment result; determine whether the current driving data of the vehicle meets the preset refueling conditions to obtain a second judgment result; and determine whether the vehicle is the target refueling vehicle based on the first judgment result and the second judgment result.

[0121] In an optional embodiment, the inventory prediction unit 201 is used to determine whether the driving direction is toward the gas station if the current driving data of the vehicle includes the driving direction and the driving road of the vehicle, and obtain a first sub-result; determine whether the driving road is the main road corresponding to the gas station, and obtain a second sub-result; and obtain the second judgment result based on the first sub-result and the second sub-result.

[0122] In an optional embodiment, the inventory prediction unit 201 is used to determine whether the distance between the end point or the waypoint of the navigation route and the gas station is less than a set distance if the current driving data of the vehicle includes the navigation route of the vehicle, and obtain a third sub-result; based on the third sub-result, obtain the second judgment result.

[0123] In an optional implementation, the inventory prediction unit 201 is used to determine the expected refueling amount of the target refueling vehicle based on the remaining fuel amount and refueling habits of the target refueling vehicle; and obtain the fuel amount correction data based on the expected refueling amount.

[0124] In an optional implementation, the inventory prediction unit 201 is used to obtain the ratio of the oil quantity correction data to the oil quantity prediction data; correct the oil quantity prediction data according to the ratio to obtain the inventory balance of the gas station at each time point.

[0125] Optionally, the order parameter acquisition unit 203 is used to estimate the transportation time of transporting the oil product to the gas station; based on the available time of the oil product and the transportation time, obtain the oil product order parameters for the gas station to purchase oil, so that the gas station purchases oil according to the oil product order parameters.

[0126] In an optional implementation, the order parameter acquisition unit 203 is used to obtain the available warehouse and available transport vehicles corresponding to the gas station; and estimate the transportation time based on the distance from the available warehouse to the gas station and the transportation parameters related to the available transport vehicles.

[0127] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0128] Figure 3 1 is a block diagram of an electronic device 800 for a method for predicting the oil intake of a gas station according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0129] Reference Figure 3 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / display (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0130] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0131] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0132] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0133] The multimedia component 808 includes a screen that provides a display interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0134] The audio component 810 is configured to present and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for presenting audio signals.

[0135] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0136] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0137] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0138] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0139] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0140] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to execute a method for predicting the oil filling of a gas station, the method comprising:

[0141] Based on the historical oil sales data and current oil consumption data of the oil station, predict the inventory balance of the oil station at each time point;

[0142] Obtaining the available time of the oil product at the gas station according to the inventory balance at each time point;

[0143] The oil product ordering parameters are determined based on the oil product available time, so that the oil station purchases oil according to the oil product ordering parameters.

[0144] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0145] It should be understood that the present invention is not limited to the precise structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

[0146] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for predicting oil intake at a gas station, characterized in that: The method comprises: Based on the historical oil sales data and current oil consumption data of the oil station, predict the inventory balance of the oil station at each time point; Obtaining the available time of the oil product at the gas station according to the inventory balance at each time point; Determining oil product order parameters based on the oil product available time, so that the oil station purchases oil according to the oil product order parameters; The method of predicting the inventory balance of the gas station at each time point based on the historical oil sales data and current oil consumption data of the gas station includes: Obtaining the oil volume forecast data of the gas station according to the historical oil sales data; Acquiring oil quantity correction data of the oil station according to the current oil consumption data; Correcting the oil quantity prediction data using the oil quantity correction data to obtain the inventory balance of the oil station at each time point; The step of obtaining the oil quantity correction data of the oil station according to the current oil quantity consumption data includes: Obtaining historical refueling data, fuel remaining amount and current driving data of each vehicle within a preset range of the gas station; For each vehicle within the preset range, based on the historical refueling data of the vehicle, the remaining fuel amount and the current driving data, determining whether the vehicle is a target refueling vehicle that comes to the gas station for refueling; Acquiring the fuel quantity correction data according to the remaining fuel quantity of the target refueling vehicle; The step of obtaining the fuel quantity correction data according to the remaining fuel quantity of the target refueling vehicle includes: Determining an expected refueling amount of the target refueling vehicle based on the remaining fuel amount and refueling habits of the target refueling vehicle; Based on the expected refueling amount, the oil amount correction data is acquired.

2. The method according to claim 1, characterized in that The step of obtaining the oil volume forecast data of the gas station according to the historical oil product sales data includes: Obtaining actual oil sales data of the gas station; The actual oil product sales data is input into a trained oil product prediction model to obtain the oil quantity prediction data, wherein the oil product prediction model is trained based on the historical oil product sales data.

3. The method according to claim 1, characterized in that The step of obtaining the oil volume forecast data of the gas station according to the historical oil product sales data includes: Obtain the influencing parameters that affect the sales volume of oil products; The oil quantity forecast data is obtained according to the influencing parameters and the historical oil product sales data.

4. The method according to claim 1, characterized in that The determining whether the vehicle is a target refueling vehicle for refueling at the gas station based on the historical refueling data, the remaining fuel and the current driving data of the vehicle includes: Based on the historical refueling data of the vehicle, obtain the average remaining fuel volume of the vehicle when refueling; Determining whether the remaining fuel amount of the vehicle is not greater than the average remaining fuel amount, to obtain a first determination result; Determine whether the current driving data of the vehicle meets the preset refueling condition, and obtain a second determination result; According to the first judgment result and the second judgment result, it is judged whether the vehicle is the target refueling vehicle.

5. The method according to claim 4, characterized in that The determining whether the current driving data of the vehicle meets the preset refueling condition to obtain a second determination result includes: If the current driving data of the vehicle includes the driving direction and driving road of the vehicle, then determine whether the driving direction is toward the gas station to obtain a first sub-result; determine whether the driving road is the main road corresponding to the gas station to obtain a second sub-result; based on the first sub-result and the second sub-result, obtain the second judgment result.

6. The method according to claim 4, characterized in that The determining whether the current driving data of the vehicle meets the preset refueling condition to obtain a second determination result includes: If the current driving data of the vehicle includes the navigation route of the vehicle, determine whether the distance between the route end point or the route passing point of the navigation route and the gas station is less than the set distance, and obtain a third sub-result; based on the third sub-result, obtain the second judgment result.

7. The method according to claim 1, characterized in that The method of correcting the oil quantity prediction data using the oil quantity correction data to obtain the inventory balance of the oil station at each time point includes: Acquire a ratio of the oil quantity correction data to the oil quantity prediction data; The oil quantity forecast data is corrected according to the ratio to obtain the inventory balance of the oil station at each time point.

8. The method according to any one of claims 1 to 7, characterized in that: The step of determining the oil product order parameter based on the oil product available time so that the oil station supplies oil according to the oil product order parameter includes: Estimating the transportation time for transporting the oil product to the said oil station; According to the oil product available time and the transportation time, the oil product order parameters for the oil station to purchase oil are obtained, so that the oil station purchases oil according to the oil product order parameters.

9. A prediction device for oil inflow at a gas station, the prediction device being used to implement the method as claimed in any one of claims 1 to 8, characterized in that: The device comprises: An inventory prediction unit, used to predict the inventory balance of the gas station at each time point based on the historical oil sales data and current oil consumption data of the gas station; A time prediction unit, used to obtain the available time of the oil product at the gas station according to the inventory balance at each time point; The order parameter acquisition unit is used to determine the oil product order parameter based on the oil product available time, so that the gas station purchases oil according to the oil product order parameter.

10. The device according to claim 9, characterized in that The inventory prediction unit is used to obtain the oil quantity prediction data of the gas station based on the historical oil sales data; obtain the oil quantity correction data of the gas station based on the current oil consumption data; and use the oil quantity correction data to correct the oil quantity prediction data to obtain the inventory balance of the gas station at each time point.

11. An electronic device, characterized in that: It includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute the operation instructions corresponding to the method according to any one of claims 1 to 8 contained in the one or more programs.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps corresponding to the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Method and system for calculating mileage of remaining oil quantity of vehicle

    CN106289297A

  • Method for recording refueling data of vehicle and vehicle-mounted device

    CN107730656A