Methods, devices, electronic equipment, and storage media for acquiring fuel quantity data at gas stations

By analyzing the load and trajectory data of oil transport vehicles and combining it with the location of refueling stations, the system can quickly calculate the amount of oil delivered and the difference between delivery and sales, solving the problem of low efficiency in statistical analysis of oil delivery at refueling stations and achieving efficient and accurate acquisition of oil delivery volume and anomaly detection.

CN116308081BActive Publication Date: 2026-03-10AEROSPACE INFORMATION RES INST CAS +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, manually analyzing the amount of oil received at gas stations is inefficient, especially for a large number of busy gas stations where it is difficult to efficiently obtain the actual amount of oil received.

Method used

By acquiring vehicle load and trajectory data from electronic waybills for oil transportation, and combining this with the location of refueling stations, the number of unloadings and the amount of unloading are analyzed. The satellite positioning system is used to determine the parking point and distance to judge the unloading status, calculate the amount of oil entering the system, and analyze the information on the difference between entering and selling.

Benefits of technology

It enables efficient acquisition of actual fuel purchases at gas stations, avoiding the inefficiency of manual statistics, and can quickly identify abnormal discrepancies between purchases and sales, thus assisting in tax supervision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116308081B_ABST
    Figure CN116308081B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, electronic device, and storage medium for acquiring fuel volume data at gas stations. The method includes: acquiring electronic waybill data for fuel transportation during a target time period, the electronic waybill data including vehicle load data and vehicle trajectory data; acquiring unloading data for each gas station based on the vehicle trajectory data and the location of each gas station; and acquiring the fuel intake volume for each gas station based on the vehicle load data and the unloading data. By comparing the vehicle trajectory data with the location of each gas station, and analyzing the number of times each fuel transport vehicle unloads at a gas station, the unloading data of each gas station can be obtained. This allows for the statistical analysis of the amount of fuel unloaded by each fuel transport vehicle at each gas station, thus enabling the acquisition of the actual fuel intake volume of each gas station within the target time period and achieving efficient acquisition of the actual fuel intake volume of gas stations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for acquiring fuel quantity data at gas stations. Background Technology

[0002] In tax supervision, the actual fuel purchase volume of gas stations is typically analyzed manually. However, due to the large number of gas stations, their busy schedules, and the diverse fuel purchase channels, conducting a thorough investigation of each station's long-term operations involves a significant workload. Therefore, efficiently obtaining the actual fuel purchase volume of gas stations is a pressing issue that the industry needs to address. Summary of the Invention

[0003] To address the problems existing in the prior art, embodiments of the present invention provide a method, device, electronic device, and storage medium for acquiring fuel quantity data at gas stations.

[0004] In a first aspect, the present invention provides a method for acquiring fuel quantity data at gas stations, comprising:

[0005] Obtain electronic waybill data for oil transportation within a target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle load data is used to represent the load of each oil transportation vehicle, and the vehicle trajectory data is used to represent the trajectory of each oil transportation vehicle within the target time period.

[0006] Based on the vehicle trajectory data and the location of each gas station, unloading data of each gas station is obtained. The unloading data is used to indicate the number of times each oil transport vehicle unloads at the gas station.

[0007] Based on the vehicle load data and the unloading data of each gas station, unloading statistics are performed to obtain the amount of oil received at each gas station.

[0008] Optionally, according to the method for acquiring fuel volume data at gas stations provided by the present invention, the vehicle trajectory data includes multiple vehicle positioning coordinates and vehicle positioning time points corresponding to each vehicle positioning coordinate. The step of acquiring unloading data for each gas station based on the vehicle trajectory data and the location of each gas station includes:

[0009] Based on a preset stop duration threshold, the positioning coordinates of each vehicle, and the vehicle positioning time point corresponding to each vehicle positioning coordinate, the parking data corresponding to each oil transport vehicle is determined. The parking data is used to represent the parking point of the oil transport vehicle during the target time period.

[0010] Based on the parking data of each oil transport vehicle and the location of each gas station, the unloading data of each gas station is obtained by analyzing the distance between the parking point and the gas station.

[0011] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, the step of obtaining unloading data of each gas station by analyzing the distance between the parking point and the gas station based on the parking data corresponding to each fuel transport vehicle and the location of each gas station includes:

[0012] Based on the parking data corresponding to each oil transport vehicle and the location of each gas station, distance statistics are obtained by analyzing the distance between parking points and gas stations;

[0013] Based on a preset distance threshold and the distance statistics, it is determined whether the oil transport vehicle unloads at the gas station during each parking process, and the unloading data of each gas station is obtained.

[0014] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, the vehicle load data includes the full load fuel volume of each oil transport vehicle, and the step of performing unloading statistics based on the vehicle load data and the unloading data of each gas station to obtain the fuel intake volume of each gas station includes:

[0015] Based on the unloading data of each gas station and the full load of oil in each oil transport vehicle, unloading statistics are conducted to obtain the oil intake of each gas station.

[0016] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, after performing unloading statistics based on the vehicle load data and the unloading data of each gas station to obtain the fuel intake volume of each gas station, the method further includes:

[0017] Based on the oil purchase volume and the reported sales volume of each gas station, the purchase and sales difference information of each gas station is obtained by analyzing the purchase and sales difference. The reported sales volume is used to represent the sales volume of the gas station in the target time period.

[0018] Optionally, according to the method for obtaining fuel volume data of gas stations provided by the present invention, the step of obtaining the purchase-sales difference information of each gas station by analyzing the purchase-sales difference based on the fuel purchase volume and the declared sales volume of each gas station includes:

[0019] For each gas station, the ratio between the gas station's oil purchase volume and its declared oil sales volume is calculated, and the ratio is determined as the gas station's purchase and sales difference information.

[0020] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, after obtaining the purchase-sales difference information of each gas station by analyzing the purchase-sales difference based on the fuel purchase volume and the declared sales volume of each gas station, the method further includes:

[0021] Based on a preset sorting method and the purchase and sales differences of each gas station, the gas stations are sorted and the sorting results are obtained.

[0022] The default sorting method is to sort by the difference between purchase and sales volume from largest to smallest.

[0023] Secondly, the present invention also provides a device for acquiring fuel quantity data at gas stations, comprising:

[0024] The first acquisition module is used to acquire electronic waybill data for oil transportation during a target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle load data is used to represent the load of each oil transportation vehicle, and the vehicle trajectory data is used to represent the trajectory of each oil transportation vehicle during the target time period.

[0025] The second acquisition module is used to acquire unloading data of each gas station based on the vehicle operation trajectory data and the location of each gas station. The unloading data is used to represent the number of times each oil transport vehicle unloads at the gas station.

[0026] The third acquisition module is used to perform unloading statistics based on the vehicle load data and the unloading data of each gas station, and to obtain the amount of oil received at each gas station.

[0027] Thirdly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the fuel quantity data acquisition method for gas stations as described above.

[0028] Fourthly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for obtaining fuel quantity data at a gas station as described above.

[0029] The present invention provides a method, apparatus, electronic device, and storage medium for acquiring fuel volume data at gas stations. By acquiring electronic waybill data for fuel transportation within a target time period, it can compare vehicle trajectory data with the location of each gas station, analyze the number of times each fuel transport vehicle unloads at a gas station, and obtain unloading data for each gas station. Furthermore, based on vehicle load data and unloading data from each gas station, it can statistically analyze the amount of fuel unloaded by each fuel transport vehicle at each gas station, thereby obtaining the fuel intake volume of each gas station within the target time period. This avoids the need for manual statistical analysis of fuel intake volume at gas stations and enables efficient acquisition of the actual fuel intake volume of gas stations. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0031] Figure 1 This is one of the flowcharts illustrating the method for acquiring fuel quantity data at gas stations provided by the present invention;

[0032] Figure 2 This is a flowchart illustrating the process of identifying the parking location of an oil transport vehicle provided by the present invention;

[0033] Figure 3 This is the second flowchart illustrating the method for acquiring fuel quantity data at gas stations provided by the present invention.

[0034] Figure 4 This is a schematic diagram of the structure of the fuel quantity data acquisition device for gas stations provided by the present invention;

[0035] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0036] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0037] Figure 1 This is one of the flowcharts illustrating the method for acquiring fuel quantity data at gas stations provided by the present invention, such as... Figure 1 As shown, the execution entity of the method for acquiring fuel quantity data at gas stations can be an electronic device, such as a server. The method includes:

[0038] Step 101: Obtain electronic waybill data for oil transportation within the target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle load data is used to represent the load of each oil transportation vehicle, and the vehicle trajectory data is used to represent the trajectory of each oil transportation vehicle within the target time period.

[0039] Specifically, in order to improve the efficiency of obtaining the actual oil intake of gas stations, electronic waybill data for oil transportation during the target time period can be obtained. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle trajectory data can be used in subsequent step 102 to obtain the unloading data of each gas station, and the vehicle load data can be used in subsequent step 103 to obtain the oil intake of each gas station.

[0040] Understandably, heavy-duty trucks weighing over 12 tons generally need to be equipped with satellite positioning systems during transportation. Vehicles transporting hazardous chemicals need to collect satellite positioning data in real time. This satellite positioning data can reflect the trajectory of each vehicle's geographical location at different times (i.e., vehicle trajectory data). Since refined oil logistics transportation usually uses heavy-duty trucks, electronic waybill data for oil transportation within the target time period can be obtained from relevant transportation systems.

[0041] Optionally, the electronic waybill data for oil transportation may include vehicle license plate data, full load data (which can be used as vehicle load data), and vehicle trajectory data (such as satellite positioning time points and corresponding latitude and longitude coordinates).

[0042] Step 102: Based on the vehicle trajectory data and the location of each gas station, obtain the unloading data of each gas station. The unloading data is used to indicate the number of times each oil transport vehicle unloads at the gas station.

[0043] Specifically, after obtaining the electronic waybill data for oil transportation within the target time period, the vehicle trajectory data can be compared with the location of each gas station to analyze the number of times each oil transportation vehicle unloads at the gas station, thus obtaining the unloading data of each gas station.

[0044] Optionally, data on gas stations within a designated jurisdiction can be obtained from the tax system, including the gas station name, latitude and longitude coordinates (which can be used as the location of the gas station), declared sales volume of oil, and tax amount.

[0045] Step 103: Based on the vehicle load data and the unloading data of each gas station, perform unloading statistics to obtain the amount of oil received at each gas station.

[0046] Specifically, after obtaining the unloading data of each gas station, the amount of oil unloaded by each oil transport vehicle to each gas station can be calculated based on the vehicle load data and the unloading data of each gas station, thus obtaining the amount of oil received by each gas station within the target time period.

[0047] Understandably, if it is determined that the vehicle unloads at the same gas station multiple times, the amount of fuel entering the gas station is accumulated one by one. By processing each vehicle trajectory as described above, an estimate of the amount of fuel entering the gas station in the target time period and area can be obtained.

[0048] The method for acquiring fuel volume data at gas stations provided by this invention compares vehicle trajectory data with the location of each gas station by acquiring electronic waybill data for fuel transportation within a target time period. It analyzes the number of times each fuel transport vehicle unloads at a gas station, thereby acquiring unloading data for each gas station. Based on vehicle load data and unloading data from each gas station, it can then calculate the amount of fuel unloaded by each fuel transport vehicle at each gas station, thus obtaining the fuel intake volume of each gas station within the target time period. This avoids the need for manual statistical analysis of fuel intake volume at gas stations and enables efficient acquisition of the actual fuel intake volume of gas stations.

[0049] Optionally, according to the method for acquiring fuel volume data at gas stations provided by the present invention, the vehicle trajectory data includes multiple vehicle positioning coordinates and vehicle positioning time points corresponding to each vehicle positioning coordinate. The step of acquiring unloading data for each gas station based on the vehicle trajectory data and the location of each gas station includes:

[0050] Based on a preset stop duration threshold, the positioning coordinates of each vehicle, and the vehicle positioning time point corresponding to each vehicle positioning coordinate, the parking data corresponding to each oil transport vehicle is determined. The parking data is used to represent the parking point of the oil transport vehicle during the target time period.

[0051] Based on the parking data of each oil transport vehicle and the location of each gas station, the unloading data of each gas station is obtained by analyzing the distance between the parking point and the gas station.

[0052] Specifically, by analyzing the positioning coordinates of each vehicle and the corresponding vehicle positioning time points, the parking duration of each vehicle stop can be determined. By analyzing the relationship between the parking duration of each vehicle stop and the preset stop duration threshold, if the parking duration is greater than or equal to the preset stop duration threshold, the vehicle is in a parking state requiring a long time for loading or unloading during that parking period. If the parking duration is less than the preset stop duration threshold, the vehicle is not in a parking state requiring a long time for loading or unloading during that parking period. This allows for quick determination of whether a vehicle is in a parking state requiring a long time for loading or unloading, and efficient determination of the parking data corresponding to each oil transport vehicle.

[0053] Specifically, after obtaining the parking data corresponding to each oil transport vehicle, the unloading data of each oil transport vehicle can be obtained by analyzing the distance between the parking point (e.g., loading parking point or unloading parking point) and the gas station based on the parking data corresponding to each oil transport vehicle and the location of each gas station. If the distance is close, the parking point is the unloading parking point (each unloading parking corresponds to the oil transport vehicle unloading once at the gas station).

[0054] Optionally, the vehicle's real-time location changes can determine whether it is moving or stationary. If stationary, it may be due to one of the following: 1. Loading process; 2. Unloading process; 3. Traffic congestion; 4. Other situations, such as parking in a parking lot, maintenance, etc. To exclude temporary traffic congestion and identify loading and unloading processes, a preset stop duration threshold T (e.g., 15 minutes) can be set. When the stop time is greater than or equal to T, the time and location are marked as loading or unloading.

[0055] Optionally, Figure 2 This is a flowchart illustrating the process of identifying the parking point of an oil transport vehicle provided by the present invention, as shown below. Figure 2 As shown, a vehicle at a certain time t and its corresponding latitude and longitude coordinates (x, y) can be represented as a set of trajectory numbers (t, x, y). Since the satellite positioning trajectory data is arranged in chronological order, the specific algorithm for determining the parking point of the oil transport vehicle can include steps 201 to 205:

[0056] Step 201: Obtain a set of trajectory numbers (t1, x1, y1).

[0057] Step 202: Read in the next set of trajectory numbers in chronological order, denoted as (t2, x2, y2).

[0058] Step 203: Determine if the vehicle's position has changed.

[0059] Specifically, compare the latitude and longitude data of the two sets of trajectory numbers (t1, x1, y1) and (t2, x2, y2) to see if they change. If the latitude and longitude data change, it can be determined that the vehicle is in a driving state. Record (t2, x2, y2) as (t1, x1, y1) and continue to execute step 202 (read in the next set of trajectory numbers, record it as (t2, x2, y2), and compare it with (t1, x1, y1)). If the latitude and longitude data do not change, continue to read in the next set of trajectory numbers, still record it as (t2, x2, y2), and compare it with (t1, x1, y1). Repeat this process until the latitude and longitude of the next set of trajectory numbers changes. Then the vehicle stays at this position for tp = t2 - t1, and continue to execute step 204.

[0060] Step 204: Determine whether tp is greater than or equal to T.

[0061] Specifically, a preset stop time threshold T can be set to determine whether tp is greater than or equal to T. If tp is greater than or equal to T, then step 205 is executed. If tp is less than T, then (t2, x2, y2) is recorded as (t1, x1, y1), and step 202 is executed.

[0062] Step 205: Determine the parking location for the oil transport vehicle.

[0063] When tp>T, it is determined that the vehicle status is not a traffic jam or a short stop, but a parking state that requires a longer period of operation (such as loading, unloading, or possibly in a parking lot, maintenance, or other states), and the parking point can be recorded.

[0064] Therefore, by analyzing the relationship between the parking duration of each vehicle stop and the preset stopping duration threshold, it is possible to quickly determine whether the vehicle is in a parking state that requires a long time for loading or unloading, thus efficiently determining the parking data corresponding to each oil transport vehicle.

[0065] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, the step of obtaining unloading data of each gas station by analyzing the distance between the parking point and the gas station based on the parking data corresponding to each fuel transport vehicle and the location of each gas station includes:

[0066] Based on the parking data corresponding to each oil transport vehicle and the location of each gas station, distance statistics are obtained by analyzing the distance between parking points and gas stations;

[0067] Based on a preset distance threshold and the distance statistics, it is determined whether the oil transport vehicle unloads at the gas station during each parking process, and the unloading data of each gas station is obtained.

[0068] Specifically, the distance statistics can be statistics on the distance parameters between vehicle parking points (e.g., loading or unloading parking points) and gas stations. By analyzing the relationship between a preset distance threshold (e.g., 100 meters) and each distance parameter in the distance statistics, if a distance parameter is less than or equal to the preset distance threshold, it indicates that the vehicle parking point corresponding to that distance parameter is an unloading parking point, and the vehicle unloads at the gas station corresponding to that distance parameter (each unloading stop corresponds to one unloading of oil by the oil transport vehicle at the gas station). This allows for quick determination of whether the oil transport vehicle unloads at the gas station during each parking period, thereby efficiently obtaining unloading data from each gas station. The unloading data can represent the number of times each oil transport vehicle unloads at the gas station.

[0069] Therefore, by analyzing the relationship between the preset distance threshold and the distance parameters in the distance statistics, it is possible to quickly determine whether the oil transport vehicle unloads at the gas station during each parking process, thus achieving efficient acquisition of unloading data from each gas station.

[0070] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, the vehicle load data includes the full load fuel volume of each oil transport vehicle, and the step of performing unloading statistics based on the vehicle load data and the unloading data of each gas station to obtain the fuel intake volume of each gas station includes:

[0071] Based on the unloading data of each gas station and the full load of oil in each oil transport vehicle, unloading statistics are conducted to obtain the oil intake of each gas station.

[0072] Specifically, oil tanker vehicles are typically kept as fully loaded as possible to save on transportation costs. Therefore, the full load of oil tanker vehicles can be used as their actual load capacity. Vehicle load data can include the full load of each oil tanker vehicle. By using the full load of each oil tanker vehicle and the unloading data of each gas station, it is possible to quickly calculate the amount of oil unloaded from each oil tanker vehicle to each gas station, thereby efficiently obtaining the amount of oil received by each gas station within a target time period.

[0073] Optionally, the above processing can be performed on all trajectories of each oil transport vehicle to determine the unloading location, and the oil volume can be summed to obtain the total oil volume for the corresponding gas station, which can be calculated using the following formula:

[0074] Q i =∑ j ∑ k q j,k ;

[0075] Q i Let q represent the total amount of fuel received by the i-th gas station over a certain period of time. j,k The amount of fuel provided by the k-th vehicle to the gas station during the j-th transport mission (the amount of fuel provided for each transport mission is calculated based on the full load capacity).

[0076] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, after performing unloading statistics based on the vehicle load data and the unloading data of each gas station to obtain the fuel intake volume of each gas station, the method further includes:

[0077] Based on the oil purchase volume and the reported sales volume of each gas station, the purchase and sales difference information of each gas station is obtained by analyzing the purchase and sales difference. The reported sales volume is used to represent the sales volume of the gas station in the target time period.

[0078] Specifically, based on the oil purchase volume and the declared sales volume of each gas station, the difference between the oil purchase volume and the declared sales volume of each gas station can be analyzed. This can efficiently obtain the purchase and sales difference information of each gas station. The purchase and sales difference information can help tax supervisors analyze whether there are any abnormalities in the purchase and sales data of gas stations. In the actual work of the tax authorities, "abnormal purchase and sales data" can be used as the basis for identifying "gas stations with abnormal tax declarations".

[0079] Understandably, heavy-duty trucks weighing over 12 tons generally need to be equipped with satellite positioning systems during transportation, and vehicles transporting hazardous chemicals need to collect real-time satellite positioning data. Refined oil logistics transportation typically uses heavy-duty trucks. This invention starts with the key stages of loading and unloading oil products, and by analyzing vehicle satellite positioning trajectories (i.e., vehicle operation trajectory data), it establishes an evaluation algorithm model to estimate the oil purchase volume of each gas station. This model is then matched with tax self-declaration data (the declared sales volume of oil at each gas station). Based on the matching results, it can efficiently obtain information on the purchase and sales discrepancies of each gas station. This information can assist tax regulators in analyzing whether there are any anomalies in the gas station's purchase and sales data.

[0080] Optionally, according to the method for obtaining fuel volume data of gas stations provided by the present invention, the step of obtaining the purchase-sales difference information of each gas station by analyzing the purchase-sales difference based on the fuel purchase volume and the declared sales volume of each gas station includes:

[0081] For each gas station, the ratio between the gas station's oil purchase volume and its declared oil sales volume is calculated, and the ratio is determined as the gas station's purchase and sales difference information.

[0082] Specifically, the process of analyzing the difference between the amount of oil purchased and the amount of oil declared for sale at a gas station can include: calculating the ratio between the amount of oil purchased and the amount of oil declared for sale, and determining this ratio as the gas station's purchase-sales discrepancy information. A larger ratio indicates a larger purchase-sales discrepancy, while a smaller ratio indicates a smaller discrepancy. This ratio can help tax regulators quickly determine whether there are any anomalies in the gas station's purchase and sales data. In the actual work of the tax authorities, "abnormal purchase and sales data" can serve as the analytical basis for identifying "gas stations with abnormal tax declarations."

[0083] Alternatively, the purchase and sales discrepancy information for gas stations can be determined using the following formula:

[0084] D i =Q i / P i ;

[0085] Among them, D iP represents the purchase and sales discrepancy information for the i-th gas station. i Q represents the declared sales volume of the i-th gas station. i Let be the calculated amount of oil received at the i-th gas station.

[0086] Optionally, according to the method for obtaining fuel volume data at gas stations provided by the present invention, after obtaining the purchase-sales difference information of each gas station by analyzing the purchase-sales difference based on the fuel purchase volume and the declared sales volume of each gas station, the method further includes:

[0087] Based on a preset sorting method and the purchase and sales differences of each gas station, the gas stations are sorted and the sorting results are obtained.

[0088] The default sorting method is to sort by the difference between purchase and sales volume from largest to smallest.

[0089] Specifically, based on a preset sorting method and the purchase and sales difference information of each gas station, the gas stations can be sorted from largest to smallest purchase and sales difference to obtain the sorting results. The sorting results can reflect the size relationship between the purchase and sales differences of each gas station, so as to help tax supervisors quickly identify the gas stations that need to be investigated in detail and improve work efficiency.

[0090] Optionally, Figure 3 This is a second flowchart illustrating the method for acquiring fuel quantity data at gas stations provided by the present invention, as shown below. Figure 3 As shown, the method includes steps 301 to 305:

[0091] Step 301: Obtain the electronic waybill data for oil transportation within the target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data.

[0092] Step 302: Based on the vehicle's trajectory data and the location of each gas station, obtain the unloading data of each gas station;

[0093] Step 303: Based on vehicle load data and unloading data of each gas station, perform unloading statistics to obtain the amount of oil received at each gas station;

[0094] Step 304: Based on the oil purchase volume and the oil sales volume reported by each gas station, obtain the purchase and sales difference information of each gas station by analyzing the purchase and sales difference.

[0095] Step 305: Based on the preset sorting method and the purchase and sales difference information of each gas station, sort each gas station and obtain the sorting result.

[0096] The method for acquiring fuel volume data at gas stations provided by this invention compares vehicle trajectory data with the location of each gas station by acquiring electronic waybill data for fuel transportation within a target time period. It analyzes the number of times each fuel transport vehicle unloads at a gas station, thereby acquiring unloading data for each gas station. Based on vehicle load data and unloading data from each gas station, it can then calculate the amount of fuel unloaded by each fuel transport vehicle at each gas station, thus obtaining the fuel intake volume of each gas station within the target time period. This avoids the need for manual statistical analysis of fuel intake volume at gas stations and enables efficient acquisition of the actual fuel intake volume of gas stations.

[0097] The fuel quantity data acquisition device for gas stations provided by the present invention is described below. The fuel quantity data acquisition device for gas stations described below can be referred to in correspondence with the fuel quantity data acquisition method for gas stations described above.

[0098] Figure 4 This is a schematic diagram of the structure of the fuel quantity data acquisition device for gas stations provided by the present invention, as shown below. Figure 4 As shown, the device includes: a first acquisition module 401, a second acquisition module 402, and a third acquisition module 403, wherein:

[0099] The first acquisition module 401 is used to acquire electronic waybill data for oil transportation during a target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle load data is used to represent the load of each oil transportation vehicle, and the vehicle trajectory data is used to represent the trajectory of each oil transportation vehicle during the target time period.

[0100] The second acquisition module 402 is used to acquire unloading data of each gas station based on the vehicle operation trajectory data and the location of each gas station. The unloading data is used to indicate the number of times each oil transport vehicle unloads at the gas station.

[0101] The third acquisition module 403 is used to perform unloading statistics based on the vehicle load data and the unloading data of each gas station, and to acquire the amount of oil received at each gas station.

[0102] The fuel volume data acquisition device for gas stations provided by this invention can compare vehicle trajectory data with the location of each gas station by acquiring electronic waybill data for fuel transportation during a target time period. It can analyze the number of times each fuel transportation vehicle unloads at the gas station and obtain unloading data for each gas station. Based on the vehicle load data and the unloading data of each gas station, it can count the amount of fuel unloaded by each fuel transportation vehicle at each gas station and obtain the fuel intake of each gas station during the target time period. This avoids the need for manual statistical analysis of fuel intake at gas stations and enables efficient acquisition of the actual fuel intake of gas stations.

[0103] Optionally, the vehicle trajectory data includes multiple vehicle positioning coordinates and the vehicle positioning time points corresponding to each vehicle positioning coordinate, and the second acquisition module is specifically used for:

[0104] Based on a preset stop duration threshold, the positioning coordinates of each vehicle, and the vehicle positioning time point corresponding to each vehicle positioning coordinate, the parking data corresponding to each oil transport vehicle is determined. The parking data is used to represent the parking point of the oil transport vehicle during the target time period.

[0105] Based on the parking data of each oil transport vehicle and the location of each gas station, the unloading data of each gas station is obtained by analyzing the distance between the parking point and the gas station.

[0106] Optionally, the second acquisition module is specifically used for:

[0107] Based on the parking data corresponding to each oil transport vehicle and the location of each gas station, distance statistics are obtained by analyzing the distance between parking points and gas stations;

[0108] Based on a preset distance threshold and the distance statistics, it is determined whether the oil transport vehicle unloads at the gas station during each parking process, and the unloading data of each gas station is obtained.

[0109] Optionally, the vehicle load data includes the full load fuel volume of each oil transport vehicle, and the third acquisition module is specifically used for:

[0110] Based on the unloading data of each gas station and the full load of oil in each oil transport vehicle, unloading statistics are conducted to obtain the oil intake of each gas station.

[0111] Optionally, the device further includes a fourth acquisition module. After performing unloading statistics based on the vehicle load data and the unloading data of each refueling station to obtain the oil intake volume of each refueling station, the fourth acquisition module is used to:

[0112] Based on the oil purchase volume and the reported sales volume of each gas station, the purchase and sales difference information of each gas station is obtained by analyzing the purchase and sales difference. The reported sales volume is used to represent the sales volume of the gas station in the target time period.

[0113] Optionally, the fourth acquisition module is specifically used for:

[0114] For each gas station, the ratio between the gas station's oil purchase volume and its declared oil sales volume is calculated, and the ratio is determined as the gas station's purchase and sales difference information.

[0115] Optionally, the device further includes a fifth acquisition module. After obtaining the purchase-sales difference information of each gas station by analyzing the purchase-sales difference based on the oil purchase volume and the declared sales volume of each gas station, the fifth acquisition module is specifically used for:

[0116] Based on a preset sorting method and the purchase and sales differences of each gas station, the gas stations are sorted and the sorting results are obtained.

[0117] The default sorting method is to sort by the difference between purchase and sales volume from largest to smallest.

[0118] The fuel volume data acquisition device for gas stations provided by this invention can compare vehicle trajectory data with the location of each gas station by acquiring electronic waybill data for fuel transportation during a target time period. It can analyze the number of times each fuel transportation vehicle unloads at the gas station and obtain unloading data for each gas station. Based on the vehicle load data and the unloading data of each gas station, it can count the amount of fuel unloaded by each fuel transportation vehicle at each gas station and obtain the fuel intake of each gas station during the target time period. This avoids the need for manual statistical analysis of fuel intake at gas stations and enables efficient acquisition of the actual fuel intake of gas stations.

[0119] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a method for acquiring fuel quantity data at a gas station, the method including:

[0120] Obtain electronic waybill data for oil transportation within a target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle load data is used to represent the load of each oil transportation vehicle, and the vehicle trajectory data is used to represent the trajectory of each oil transportation vehicle within the target time period.

[0121] Based on the vehicle trajectory data and the location of each gas station, unloading data of each gas station is obtained. The unloading data is used to indicate the number of times each oil transport vehicle unloads at the gas station.

[0122] Based on the vehicle load data and the unloading data of each gas station, unloading statistics are performed to obtain the amount of oil received at each gas station.

[0123] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0124] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being able to be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer is able to execute the gas station fuel quantity data acquisition method provided by the above methods, the method comprising:

[0125] Obtain electronic waybill data for oil transportation within a target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle load data is used to represent the load of each oil transportation vehicle, and the vehicle trajectory data is used to represent the trajectory of each oil transportation vehicle within the target time period.

[0126] Based on the vehicle trajectory data and the location of each gas station, unloading data of each gas station is obtained. The unloading data is used to indicate the number of times each oil transport vehicle unloads at the gas station.

[0127] Based on the vehicle load data and the unloading data of each gas station, unloading statistics are performed to obtain the amount of oil received at each gas station.

[0128] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for obtaining fuel quantity data at gas stations provided by the methods described above, the method comprising:

[0129] Obtain electronic waybill data for oil transportation within a target time period. The electronic waybill data for oil transportation includes vehicle load data and vehicle trajectory data. The vehicle load data is used to represent the load of each oil transportation vehicle, and the vehicle trajectory data is used to represent the trajectory of each oil transportation vehicle within the target time period.

[0130] Based on the vehicle trajectory data and the location of each gas station, unloading data of each gas station is obtained. The unloading data is used to indicate the number of times each oil transport vehicle unloads at the gas station.

[0131] Based on the vehicle load data and the unloading data of each gas station, unloading statistics are performed to obtain the amount of oil received at each gas station.

[0132] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method of acquiring oil amount data of a refueling site, characterized by, The method comprises the following steps: obtaining oil product transportation electronic waybill data of a target time period, wherein the oil product transportation electronic waybill data comprises vehicle load data and vehicle running track data, the vehicle load data is used to represent the load of each oil product transportation vehicle, and the vehicle running track data is used to represent the running track of each oil product transportation vehicle in the target time period; obtaining unloading data of each refueling station based on the vehicle running track data and the position of each refueling station, wherein the unloading data is used to represent the number of times of unloading of each oil product transportation vehicle to the refueling station; carrying out unloading statistics based on the vehicle load data and the unloading data of each refueling station, and obtaining the oil inflow of each refueling station; after the step of carrying out unloading statistics based on the vehicle load data and the unloading data of each refueling station, and obtaining the oil inflow of each refueling station, the method further comprises the following steps: obtaining the difference between the oil inflow and the reported sales oil of each refueling station by analyzing the difference between the oil inflow and the reported sales oil, and obtaining the difference information between the oil inflow and the reported sales oil of each refueling station, wherein the reported sales oil is used to represent the sales oil of the refueling station in the target time period; the step of obtaining the difference between the oil inflow and the reported sales oil of each refueling station by analyzing the difference between the oil inflow and the reported sales oil, and obtaining the difference information between the oil inflow and the reported sales oil of each refueling station comprises the following steps: for each refueling station, calculating the ratio between the oil inflow and the reported sales oil of the refueling station, and determining the ratio as the difference information between the oil inflow and the reported sales oil of the refueling station; after the step of obtaining the difference between the oil inflow and the reported sales oil of each refueling station by analyzing the difference between the oil inflow and the reported sales oil, and obtaining the difference information between the oil inflow and the reported sales oil of each refueling station, the method further comprises the following steps: sorting each refueling station based on a preset sorting mode and the difference information between the oil inflow and the reported sales oil of each refueling station, and obtaining a sorting result; the preset sorting mode is a sorting mode from large to small according to the difference between the oil inflow and the reported sales oil.

2. The method of claim 1, wherein The vehicle running track data comprises a plurality of vehicle positioning coordinates and vehicle positioning time points corresponding to each vehicle positioning coordinate, and the step of obtaining the unloading data of each refueling station based on the vehicle running track data and the position of each refueling station comprises the following steps: determining parking data corresponding to each oil product transportation vehicle based on a preset stop duration threshold, each vehicle positioning coordinate and the vehicle positioning time point corresponding to each vehicle positioning coordinate, wherein the parking data is used to represent the parking point of the oil product transportation vehicle in the target time period; obtaining the unloading data of each refueling station by analyzing the distance between the parking point and the refueling station based on the parking data corresponding to each oil product transportation vehicle and the position of each refueling station.

3. The method of claim 2, wherein The step of obtaining the unloading data of each refueling station by analyzing the distance between the parking point and the refueling station based on the parking data corresponding to each oil product transportation vehicle and the position of each refueling station comprises the following steps: obtaining distance statistical data by analyzing the distance between the parking point and the refueling station based on the parking data corresponding to each oil product transportation vehicle and the position of each refueling station; judging whether the oil product transportation vehicle unloads to the refueling station in each parking process based on a preset distance threshold and the distance statistical data, and obtaining the unloading data of each refueling station.

4. The method of claim 1, wherein The vehicle load data includes full load oil of each oil transportation vehicle, and the unloading statistics are performed based on the vehicle load data and unloading data of each refueling station to obtain oil intake of each refueling station, including: The unloading statistics are performed based on the unloading data of each refueling station and the full load oil of each oil transportation vehicle to obtain the oil intake of each refueling station.

5. A fueling site fuel quantity data acquisition apparatus characterized by comprising: Including: The first obtaining module is configured to obtain oil transportation electronic waybill data of a target time period, the oil transportation electronic waybill data including vehicle load data and vehicle running track data, the vehicle load data being used to indicate load of each oil transportation vehicle, and the vehicle running track data being used to indicate running track of each oil transportation vehicle in the target time period; The second obtaining module is configured to obtain unloading data of each refueling station based on the vehicle running track data and positions of the refueling stations, the unloading data being used to indicate unloading times of each oil transportation vehicle to the refueling stations; The third obtaining module is configured to perform unloading statistics based on the vehicle load data and the unloading data of each refueling station to obtain oil intake of each refueling station; After the unloading statistics are performed based on the vehicle load data and the unloading data of each refueling station to obtain the oil intake of each refueling station, the method further includes: Based on the oil intake of each refueling station and reported sales oil of each refueling station, the method further includes: The method further includes: For each refueling station, a ratio between the oil intake and the reported sales oil of the refueling station is calculated, and the ratio is determined as the refueling station's information of difference between intake and sales; After the information of difference between intake and sales of each refueling station is obtained based on the oil intake of each refueling station and the reported sales oil of each refueling station, the method further includes: Based on a preset sorting mode and the information of difference between intake and sales of each refueling station, each refueling station is sorted to obtain a sorting result; The preset sorting mode is a sorting mode from large to small according to the information of difference between intake and sales.

6. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the method for obtaining oil quantity data of a refueling station according to any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method for obtaining oil quantity data of a refueling station according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Automatic oil discharge detection method and system for filling station

    CN105160145A

  • Transportation management system for hazardous chemicals

    CN108197875A