Monitoring method for privately feeding oil in permitted franchising station

By standardizing the ERP or oil depot delivery system and gas station purchase and acceptance operations, and using algorithm models to achieve oil product matching at gas stations, the problem of difficulty in monitoring the risk of private oil imports at franchise stations has been solved, and the timeliness and pertinence of risk prevention and control have been improved. , reducing labor costs.

CN118607977APending Publication Date: 2024-09-06CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410629184.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

There are flaws in the quantity and quality management of franchised gas stations, which makes it difficult to effectively monitor the risk of private oil imports. Traditional risk management and control methods rely on on-site supervision and random inspections, which lack timeliness and pertinence.

Method used

By standardizing the ERP or oil depot delivery system and gas station purchase and acceptance operations, we can achieve an accurate match between the actual oil products entering the tank at the gas station and the oil products shipped by the ERP system, and use algorithm models to establish and push abnormal risk reminders in real time.

Benefits of technology

It improves the timeliness and pertinence of the risk of unauthorized oil entry at franchised stations, reduces labor costs and laboratory costs, and enables timely prevention and control of abnormal oil entry risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607977A
    Figure CN118607977A
Patent Text Reader

Abstract

The invention relates to a method for monitoring private oil feeding of a franchising station, and the method achieves the precise matching between the actual in-tank oil product of a gas station and the oil product delivered by an ERP system through the standardization of the purchase acceptance operation of an ERP or oil depot delivery system and the gas station, and achieves the timely push reminding of the abnormal oil feeding risk through the establishment of an algorithm model. The method has the advantages that original monthly purchase-sale-stock checking is replaced by automatic comparison push problem checking, day clearing and day settlement are achieved, and the timeliness, pertinence and effectiveness of privately oil inlet risk prevention and control of the permitted franchise station are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of data quality monitoring, and in particular relates to a monitoring method for unauthorized oil intake at a franchised station. Background Art

[0002] It is understood that franchised gas stations sometimes have oil quality problems, and there is a mismatch between purchase and sales at the problematic stations. It is very likely that franchised stations purchase other oil products from the society without permission.

[0003] There are defects in the quality management of franchised stations. The biggest risk in quality management is that franchised stations buy oil without permission. Traditional risk control methods rely more on on-site supervision by station managers, spot checks by managers of local companies, monthly purchase and sales verification, and oil quality spot checks. These methods require a high sense of responsibility and skills of personnel, and the workload is large, the delay is long, and there is a lack of specificity. Summary of the invention

[0004] The purpose of the present invention is to provide a monitoring method for franchised stations that secretly purchase oil in response to existing problems. By standardizing the ERP or oil depot delivery system and the purchase acceptance operation of the gas station, an accurate match between the oil products actually put into the tank of the gas station and the oil products shipped by the ERP system can be achieved. By establishing an algorithm model, timely push reminders of abnormal oil purchase risks can be achieved.

[0005] In order to achieve the above objectives, the present invention provides a method for monitoring the unauthorized oil supply of a franchised station, comprising the following steps:

[0006] Step 1: Obtain the actual oil products entering the tanks of the franchised gas stations and the oil products shipped from the oil depot or ERP system;

[0007] Step 2: Match the actual oil entering the tanks of the franchised gas stations with the oil shipped from the oil depot or ERP system to identify the abnormal risk situation of the franchised gas stations.

[0008] The method of the present invention has the function of supervising the risk of unauthorized purchase of goods by franchised gas stations:

[0009] The biggest risk in quality management is that franchised gas stations purchase goods without permission. The present invention standardizes the ERP (financial) system or oil depot delivery system and the gas station purchase acceptance operation to achieve an accurate match between the actual oil products entering the tank of the gas station and the oil products shipped by the ERP system. Through the establishment of an algorithm model, it can push reminders for abnormal risks in a timely manner.

[0010] The technical solution further optimized by the present invention is as follows:

[0011] The specific operations of step 1 are:

[0012] Step 1.1, monitor the status of the liquid level meter in use to check whether the liquid level meter at the gas station is in normal use. If the liquid level meter is not in normal use, it is necessary to report the deactivation. If the liquid level meter is in normal use, further determine whether the liquid level meter has a disconnection problem. If not, it means that there is no risk problem at the gas station and the operation is ended. If the liquid level meter is disconnected, it will prompt the gas station that the liquid level meter is disconnected and go to step 1.2;

[0013] Step 1.2, calculate the actual amount of oil tanks received, and verify the daily amount of oil tanks received by the franchised station through the historical level curve data of the oil tank level meter; go to step 1.3;

[0014] Step 1.3, calculation of the oil depot shipment data, check through the ERP system whether the customer corresponding to the franchised station has purchased goods at the oil depot, if not, end the operation, if yes, further query the actual purchase quantity data of the franchised station.

[0015] In step 1.2, the volume of the low and high points of the historical liquid level curve of the liquid level meter after filtering by the Kalman filter algorithm is used to calculate the number of liters of oil entering the oil tank of the gas station, and then the tonnage of oil entering is estimated according to 0.74 tons / cubic meter for gasoline and 0.84 tons / cubic meter for diesel.

[0016] In step 1.3, the MB51 material voucher of the ERP system is used to query the quantity of shipments from the oil depot to external customers on the previous day, and the consignee in the ERP query details is matched with the franchise station to obtain the corresponding shipment quantity of the customer code and brand.

[0017] The specific operation of step 2 is: comparing the actual purchase volume of the franchise station with the shipment volume of the oil depot, and generating abnormal risk of the franchise station for the franchise station whose difference between the actual purchase volume and the shipment volume of the oil depot is 2 tons or more.

[0018] The advantage of the present invention is that it adopts automatic comparison and push problem verification to replace the original monthly purchase, sales and inventory verification, and daily settlement is achieved, thereby improving the timeliness, pertinence and effectiveness of the risk prevention and control of unauthorized oil purchase by franchised stations. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The present invention will be further described below in conjunction with the accompanying drawings. In exemplary embodiments of the present invention, the same reference numerals generally represent the same components.

[0020] Figure 1 It is a timing diagram of the calculation procedure in the present invention;

[0021] Figure 2 The Kalman filter in the present invention estimates the optimal result graph from the uncertain observation data;

[0022] Figure 3 A comparison diagram of the Kalman filter curve and the actual liquid level in the present invention;

[0023] Figure 4 This is a comparison diagram of the filter curve of the No. 3 oil tank of a certain gas station on November 9 in the present invention;

[0024] Figure 5 This is an example diagram of the operation of the purchase and sales verification program of the franchise station in the present invention.

[0025] Figure 6 For the client role in the present invention Gas station Schematic diagram of the many-to-many-to-many relationship of oil product number = oil tank number. DETAILED DESCRIPTION

[0026] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0027] The risk supervision of unauthorized purchase of goods by franchised gas stations of the present invention comprises the following specific steps:

[0028] Step 1: Obtain the actual oil products entering the tanks of the franchised gas stations and the oil products shipped from the oil depot or ERP system;

[0029] Step 2: Match the actual oil entering the tanks of the franchised gas stations with the oil shipped from the oil depot or ERP system to identify the abnormal risk situation of the franchised gas stations.

[0030] The specific operation of step 1 is as follows: Step 1.1, supervise the status of the liquid level meter in use to verify whether the liquid level meter at the gas station is in normal use. If the liquid level meter is not in normal use, it is necessary to report the deactivation. If the liquid level meter is in normal use, further determine whether the liquid level meter has a disconnection problem. If not, it means that there is no risk problem at the gas station, and the operation ends. If the liquid level meter is disconnected, it prompts the gas station that the liquid level meter is disconnected, and enters step 1.2;

[0031] Step 1.2, calculate the actual amount of oil tanks received, and verify the daily amount of oil tanks received by the franchised station through the historical level curve data of the oil tank level meter; go to step 1.3;

[0032] Step 1.3, calculation of the oil depot shipment data, check through the ERP system whether the customer corresponding to the franchised station has purchased goods at the oil depot, if not, end the operation, if yes, further query the actual purchase quantity data of the franchised station.

[0033] In step 1.2, the Kalman filter algorithm filters the historical liquid level curve of the liquid level meter, takes the low and high point volumes of the historical liquid level curve of the liquid level meter by the slope, calculates the number of liters of oil entering the oil tank of the gas station, and then estimates the number of tons of oil entering according to 0.74 tons / cubic meter for gasoline and 0.84 tons / cubic meter for diesel.

[0034] In step 1.3, the MB51 material voucher of the ERP system is used to query the quantity of shipments from the oil depot to external customers on the previous day, and the corresponding customer code classification brand and shipment quantity are obtained by matching the consignee in the ERP query details with the franchise station.

[0035] The specific operation of step 2 is: sort and summarize the actual purchase quantity of franchised stations according to customer code classification, sort and summarize the shipment quantity of oil depot by oil type, then check the difference between the purchase quantity and the shipment quantity, calculate the difference between the two, and generate abnormal risk for franchised stations whose actual purchase quantity is greater than the shipment quantity of oil depot (that is, the difference between the two) by 2 tons or more.

[0036] Embodiment 1

[0037] The method of this embodiment includes: monitoring the in-use status of the liquid level meter; calculating the actual incoming quantity of the oil tank; calculating the shipping quantity data of the oil depot; checking the difference according to the product number, and pushing the problem.

[0038] (1) Monitoring of the status of the liquid level meter in use.

[0039] Check each tank for the oil tanks that have not been reported to be out of service to see if the gas station level meter is in normal use and if there are any disconnections. If there are disconnections, push the gas station level meter disconnection. For the oil tanks that are indeed out of service, it is necessary to report and change the program master data.

[0040] (2) Calculation of actual oil tank intake quantity.

[0041] Through the historical liquid level curve data, according to the franchise station list of the program master data, and the liquid level meter system calculated according to the specified program, the daily oil tank intake is checked. The volume of the low and high points of the liquid level meter curve is taken by the slope to preliminarily calculate the number of liters of oil in the tank. The tonnage of gasoline is estimated at 0.74 tons / cubic meter and the tonnage of diesel is estimated at 0.84 tons / cubic meter.

[0042] (3) Calculation of oil depot shipment data.

[0043] Check the ERP system to see if the customer code corresponding to the franchised station has purchased goods in the oil depot, as well as the actual purchase quantity data. Query the MB51 material voucher of the ERP system to check the number of shipments to external customers of the oil depot on the previous day. Match the "consignee" in the ERP query details with the franchised station to obtain the corresponding customer code and brand number shipment quantity.

[0044] (4) Check differences by product number and push issues.

[0045] According to the customer code classification, the total amount of oil received by the gas station (the amount of oil tank received by the level meter) and the amount of oil shipped by the oil depot are matched, and the difference is checked by product number. For gas stations where the amount of oil received by the level meter of the ground tank is 2 tons or more greater than the amount shipped by the oil depot, the local city company will be pushed to check the reasons one by one. According to the set logic, if the amount of oil received by the level meter of the ground tank of the gas station is greater than 500kg and less than 2 tons, but there is no oil depot shipment on the same day, the key risk push will be carried out and the local city company will be checked.

[0046] The algorithms involved in this embodiment include:

[0047] (1) Algorithm logic explanation

[0048] like Figure 1 As shown, data collection is included: data comes from the liquid level, time vector, volume, etc. in the liquid level meter system, and is collected through pre-set customer information (including role code, tank type, tank number, time, etc.).

[0049] Data preprocessing: The collected data is first cleaned and formatted, and then sorted by customer role, gas station, oil tank and product number, outliers in the data are removed and the data is standardized to form a data table. The database paradigm principle is used for decomposition, and the non-paradigm data in the database is converted to the first paradigm (there cannot be multiple values ​​in the same column, that is, a certain attribute in the entity cannot have multiple values ​​or duplicate attributes). Then, it is converted to the second paradigm data and the primary key of the data is reconfirmed, that is, all data elements must not only be uniquely identified by the primary keyword, but also must be independent of each other, without any other functional relationship, and finally form a customer role. Gas station Many-to-many-to-many relationship of oil product number = oil tank number (such as Figure 6 shown).

[0050] Key algorithm components: Use Kalman filtering to adjust and filter the original liquid level data of the liquid level meter, determine the starting point of the liquid level, and use data matching logic, anomaly detection algorithm, prediction model, etc. to output the optimal oil intake, oil unloading times, start and end times, and abnormal liquid level (see the core algorithm description for details).

[0051] Result output: output the actual oil unloading details, delivery details, abnormal report, liquid level failure situation, etc.

[0052] (2) Description of the core algorithm

[0053] The prediction model uses the Kalman filtering prediction model. Through the prediction model, the next liquid level value can be iteratively calculated based on the previous liquid level and the previous liquid level conditions to form a filtered liquid level, avoiding data errors caused by liquid level fluctuations that hinder the judgment of the authenticity of the liquid level. The calculation formula is as follows:

[0054]

[0055] like Figure 2 As shown, the calculation principle is as follows: (1) Obtain Kn), where Kn is the Kalman gain coefficient; the optimal estimate error refers to the error estimated by the liquid level meter in advance; the measurement error refers to the error measured by the liquid level meter, such as plus or minus 2 mm; the optimal estimate refers to the initial value of the liquid level meter estimated by the person, which here refers to the first value measured by the liquid level meter on the day. The specific formula is as follows:

[0056]

[0057] (2) Obtain the optimal estimate, which refers to the most realistic liquid level situation; the optimal estimate is a recursive formula, that is, the optimal estimate obtained by the last calculation; the measured value refers to the measured value measured by the liquid level meter. The specific solution formula is as follows:

[0058]

[0059] (3) Continue iterating the calculation to obtain an array of optimal estimates, which is displayed in the form of a chart. See the example chart for details. Figure 3 ,In the figure, red represents the curve after the Kalman filter algorithm, and blue represents the original curve.

[0060] Optimization strategy: By continuously adjusting the above Kalman filter prediction model, the curve flatness value (noise covariance) and the measurement data accuracy value (observation noise covariance) are obtained. The two form the most suitable liquid level estimation curve for the level meter. Combined with the oil unloading speed threshold, the oil unloading start time and liquid level are determined to avoid a certain range of errors (see Figure 4 ), and then obtain the most realistic liquid level curve to determine the amount of oil unloading.

[0061] Effect evaluation: Through visual chart generation and comparison, the actual liquid level and the estimated oil inlet level, the actual liquid level and the estimated oil discharge level are judged, the effect of the prediction model and optimization strategy is evaluated, and the model accuracy is improved through backtesting.

[0062] The quality risk prevention and control of franchised stations was originally carried out in the form of monthly full coverage of gas stations and quarterly full coverage of oil tanks, which was labor-intensive and lacked accuracy. After adopting the method of the present invention, the quality sampling of franchised stations is adjusted from the original monthly full coverage of gas stations and quarterly full coverage of oil tanks to quarterly full coverage of gas stations and semi-annual full coverage of oil tanks. The focus of sampling is to push out abnormal oil tanks, which improves the pertinence of sampling and greatly reduces labor costs and testing costs.

[0063] The present invention standardizes the ERP or oil depot delivery system and the gas station purchase acceptance operation, realizes the accurate match between the actual oil products entering the gas station and the oil products shipped by the ERP system, and realizes the timely push reminder of abnormal oil entry risks through the establishment of an algorithm model. The present invention adopts automatic comparison and push problem verification to replace the original monthly purchase and sales verification, and daily settlement, which improves the timeliness, pertinence and effectiveness of the risk prevention and control of franchised stations illegally entering oil. Change human defense to technical defense, effectively maintain the brand image, and prevent and control risks.

[0064] In addition to the above embodiments, the present invention may also have other implementation modes. Any technical solution formed by equivalent replacement or equivalent transformation falls within the protection scope required by the present invention.

Claims

1. A method for monitoring the unauthorized oil supply to franchised stations. It is characterized in that The following steps are involved: Step 1: Obtain the actual oil products entering the tanks of the franchised gas stations and the oil products shipped from the oil depot or ERP system; Step 2: Match the actual oil entering the tanks of the franchised gas stations with the oil shipped from the oil depot or ERP system to identify the abnormal risk situation of the franchised gas stations.

2. A method for monitoring the unauthorized oil supply of a franchised station according to claim 1, It is characterized in that The specific operations of step 1 are: Step 1.1, monitor the status of the liquid level meter in use to check whether the liquid level meter at the gas station is in normal use. If the liquid level meter is not in normal use, it is necessary to report the deactivation. If the liquid level meter is in normal use, further determine whether the liquid level meter has a disconnection problem. If not, it means that there is no risk problem at the gas station and the operation is ended. If the liquid level meter is disconnected, it will prompt the gas station that the liquid level meter is disconnected and go to step 1.2; Step 1.2, calculate the actual amount of oil tanks received, and verify the daily amount of oil tanks received by the franchised station through the historical level curve data of the oil tank level meter; go to step 1.3; Step 1.3, calculation of the oil depot shipment data, check through the ERP system whether the customer corresponding to the franchised station has purchased goods at the oil depot, if not, end the operation, if yes, further query the actual purchase quantity data of the franchised station.

3. A method for monitoring the unauthorized oil supply of a franchised station according to claim 2, It is characterized in that In step 1.2, the volume of the low and high points of the historical liquid level curve of the liquid level meter after filtering by the Kalman filter algorithm is used to calculate the number of liters of oil entering the tank, and the number of tons of oil entering is estimated based on 0.74 tons / cubic meter for gasoline and 0.84 tons / cubic meter for diesel.

4. A method for monitoring the unauthorized oil supply of a franchised station according to claim 2, It is characterized in that In step 1.3, the MB51 material voucher of the ERP system is used to query the quantity of shipments from the oil depot to external customers on the previous day, and the consignee in the ERP query details is matched with the franchise station to obtain the corresponding shipment quantity of the customer code and brand.

5. According to the method for monitoring the unauthorized oil supply of a franchised station as described in claim 1, It is characterized in that The specific operation of step 2 is: comparing the actual purchase volume of the franchise station with the shipment volume of the oil depot, and generating abnormal risk of the franchise station for the franchise station whose difference between the actual purchase volume and the shipment volume of the oil depot is 2 tons or more.