A method and apparatus for detecting fuel dispenser tampering

By generating fake serial numbers and simulating refueling operations, the problem of detecting cheating at fuel dispensers has been solved, achieving rapid and effective cheating detection, simplifying the inspection process, and improving accuracy.

CN120483029BActive Publication Date: 2025-12-23北京市朝阳区计量检测所
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510561433.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-12-23
Estimated Expiration
2045-04-30

AI Technical Summary

Technical Problem

Cheating exists with existing fuel dispensers, and the internal structures of different models of fuel dispensers vary greatly, lacking suitable and rapid inspection devices and methods.

Method used

By generating a fake serial number that differs from the standard serial number of the monitoring microprocessor and sending it to the encoder of the fuel dispenser, a specific number of refueling operations are simulated. If the fuel dispenser does not lock, it is determined that cheating has occurred.

Benefits of technology

It enables rapid, effective, and convenient detection of fuel dispenser fraud, simplifies the law enforcement process, avoids disassembling and inspecting fuel dispensers, and improves the accuracy and efficiency of inspections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120483029B_ABST
    Figure CN120483029B_ABST
Patent Text Reader

Abstract

The application discloses a method and device for checking cheating of a fuel dispenser. The method comprises the following steps: receiving a serial number pairing relationship between an encoder of a fuel dispenser and a monitoring microprocessor; generating a false serial number different from a standard serial number of the monitoring microprocessor according to the serial number pairing relationship and sending the false serial number to the encoder; and determining that the fuel dispenser has cheating in the case that the fuel dispenser is used for a specific number of times but is still not locked. The application tests whether the self-locking function of the fuel dispenser has been broken by means of the generated false serial number, so that the cheating behavior of the fuel dispenser can be checked quickly, effectively and conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the mechanical field, more particularly, to a method and device for checking cheating of a fuel dispenser. BACKGROUND

[0002] With the development of automobile traffic, fuel dispensers have also developed rapidly. At present, fuel dispensers usually adopt computer technology and are controlled by computers to make refueling convenient, fast and accurate.

[0003] Figure 1 is a schematic diagram of the working principle of a fuel dispenser according to the related art. As shown in Figure 1 , a control signal is sent by a control mainboard to drive a motor, and the motor then drives an oil pump to work, so that fuel is delivered to the oil tank of a vehicle through an oil-gas separator, a control valve, a flow measurement transducer and a gun. As Figure 1 can be seen, during refueling, the fuel pushes the flow measurement transducer to drive the main shaft of the encoder to rotate. The encoder converts the mechanical rotation amount of the flow measurement transducer into a pulse signal or a digital signal and transmits it to the control mainboard. The control mainboard processes the received signal to obtain the refueling volume and the payment amount and transmits them to a display device.

[0004] However, although fuel dispensers have achieved high automation and electronicization, cheating still exists. Therefore, there is an urgent need for a device and method for quickly checking whether a fuel dispenser cheats. The internal structures of different types of fuel dispensers are different, and a checking device suitable for different types of fuel dispensers is needed. SUMMARY

[0005] The present application aims to provide a method for checking cheating of a fuel dispenser, which can quickly, effectively and conveniently check cheating behavior of a fuel dispenser.

[0006] According to one aspect of the present application, a method for checking cheating of a fuel dispenser is provided, comprising: receiving a serial number pairing relationship between an encoder of a fuel dispenser and a monitoring microprocessor; generating a false serial number different from a standard serial number of the monitoring microprocessor according to the serial number pairing relationship and sending it to the encoder; and determining that the fuel dispenser cheats in the case that the fuel dispenser is refueled for a specific number of times but still does not lock.

[0007] Preferably, after the fuel dispenser is locked, the method further comprises: sending the standard serial number to the encoder to unlock the fuel dispenser.

[0008] Preferably, after sending the false serial number to the encoder, the method further comprises: generating a brand new pulse signal according to the standard pulse signal sent by the encoder and sending it to the main control board of the fuel dispenser to simulate meter cheating; and determining that the fuel dispenser is cheating in case that the fuel dispenser performs a certain number of refueling operations for simulating meter cheating but still does not lock the machine.

[0009] Preferably, after sending the brand new pulse signal to the main control board, the method further comprises: determining that the fuel dispenser is cheating in case that the fuel dispenser performs a certain number of refueling operations for simulating meter cheating but there is no corresponding abnormal refueling record.

[0010] Preferably, the false serial number and the standard serial number have the same total number of bits, and both contain the same fuel dispenser manufacturer code, fuel dispenser model code, fuel dispenser serial number code and random code.

[0011] Preferably, the false serial number is generated in the following way: S 虚假

[0012] S 虚假 f M 标准 g T 标准 h N 标准 k R 标准

[0013]

[0014] M T N R

[0015] f M 标准 M 标准 K K

[0016] g T 标准 ​​​​​​​​​​​​​​​​​​​​​( T 标准 + Delta T )mod10 L T , Delta T is a fixed offset, L T is a number of model code bits;

[0017] h ( N 标准 )=( N 标准 × P )mod10 L N , P is a prime number, L N is a number of serial code bits;

[0018] k ( R 标准 )= H ( R 标准 ∣∣ Salt ), H is a hash function, Salt is a random salt value;

[0019] False serial number and standard serial number check code C satisfies:

[0020] C 虚假 =CRC( S 虚假 R 虚假 )

[0021] where CRC is a cyclic redundancy check algorithm, ensuring the format integrity of the false serial number; backslash indicates that the random code in the false serial number C 虚假 should be excluded when calculating the check code S 虚假 R 虚假 .

[0022] ​According to another aspect of the present application, there is also provided a fuel dispenser cheating inspection device, comprising: a first connector for connecting an encoder of a fuel dispenser, for receiving a serial number pairing relationship between the encoder and a monitoring microprocessor from the encoder; a tester connected to the first connector, for generating a false serial number different from a standard serial number of the monitoring microprocessor according to the serial number pairing relationship; and the first connector is further for sending the false serial number to the encoder; and the tester is further for determining that the fuel dispenser cheats if the fuel dispenser is not locked after a certain number of refuelings.

[0023] Preferably, the first connector also sends the standard serial number to the encoder to unlock the fuel dispenser.

[0024] Preferably, the device further comprises: a second connector for connecting a control mainboard of the fuel dispenser; the first connector is further for receiving a standard pulse signal sent by the encoder; and the tester is further for generating a brand new pulse signal according to the standard pulse signal and sending the brand new pulse signal to the control mainboard through the second connector.

[0025] Preferably, the tester is further for determining that the fuel dispenser cheats if the fuel dispenser is not locked after a certain number of refuelings but there is no corresponding abnormal refueling record.

[0026] In summary, the present application provides a fuel dispenser cheating inspection method and device, by generating a false serial number and sending it to the encoder, if the fuel dispenser is not locked after a certain number of refuelings (usually three times), the self-locking function of the fuel dispenser cheats because it does not meet the requirements of the regulations. The present application tests whether the self-locking function of the fuel dispenser has been broken by means of the generated false serial number, so that the cheating behavior of the fuel dispenser can be quickly, effectively and conveniently inspected. BRIEF DESCRIPTION OF DRAWINGS

[0027] The accompanying drawings, which are included to provide a further understanding of the present application and are incorporated in and constitute a part of this application, illustrate embodiments of the present application and together with the description serve to explain the present application. In the drawings:

[0028] Figure 1 is a schematic diagram of the working principle of a fuel dispenser according to the prior art;

[0029] Figure 2 is a flowchart of a fuel dispenser cheating inspection method according to an embodiment of the present application;

[0030] Figure 3 is a schematic diagram of the working principle of a fuel dispenser according to an embodiment of the present application;

[0031] Figure 4 is a schematic diagram of the operation panel of a tester according to an embodiment of the present application; and

[0032] Figure 5 is a flow chart of the fuel dispenser cheating inspection method according to an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following examples are given for the purpose of clarity only and are not intended to limit the scope of the application. Various changes and modifications can be made to the embodiments described above and below, which fall within the scope of the present application, based on the description provided above and below.

[0034] It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0035] The present application provides a fuel dispenser cheating inspection method. Figure 2 is a flow chart of the fuel dispenser cheating inspection method according to an embodiment of the present application, as shown in Figure 2 , comprising the following steps.

[0036] S202: receiving a serial number pairing relationship between an encoder of a fuel dispenser and a monitoring microprocessor.

[0037] S204: generating a false serial number different from a standard serial number of the monitoring microprocessor according to the serial number pairing relationship and sending the false serial number to the encoder.

[0038] S206: determining that the fuel dispenser exists cheating in the case that the fuel dispenser is refueled for a specific number of times but still does not lock.

[0039] In the related art, in the law enforcement process of law enforcement personnel, if abnormal conditions are found by checking the components, connecting lines, etc. of the fuel dispenser, the fuel dispenser mainboard can only be disassembled and sent for inspection, and the software cheating behavior cannot be immediately confirmed. The present application generates a false serial number and sends it to the encoder. After the fuel dispenser is refueled for a specific number of times (usually three times), if the fuel dispenser does not lock, the self-locking function of the fuel dispenser exists cheating because it does not meet the requirements of the regulations. The present application tests whether the self-locking function of the fuel dispenser has been broken by means of the generated false serial number, so as to quickly, effectively and conveniently inspect the cheating behavior of the fuel dispenser.

[0040] According to an embodiment of the present application, after the fuel dispenser is locked, the method further comprises: sending the standard serial number to the encoder to unlock the fuel dispenser. The embodiment of the present application unlocks the fuel dispenser as soon as possible after the fuel dispenser inspection is not cheating, thereby avoiding affecting its normal use.

[0041] Preferably, after sending the false serial number to the encoder, the method further comprises: generating a brand-new pulse signal according to the standard pulse signal sent by the encoder and sending the brand-new pulse signal to the main control board of the fuel dispenser to simulate meter cheating in a set proportion; and determining that the fuel dispenser is cheating in the case that the fuel dispenser performs a specific number (usually five) of fueling operations for simulating meter cheating but still does not lock the machine. Alternatively, determining that the fuel dispenser is cheating in the case that the fuel dispenser performs a specific number of fueling operations for simulating meter cheating but there is no corresponding abnormal fueling record. The embodiments of the present application provide two ways to determine cheating. The two ways are relatively common in the current fuel dispenser cheating, and the checking operation is simple and the checking result is accurate.

[0042] According to an embodiment of the present application, the false serial number and the standard serial number have the same total number of bits, and both contain the same fuel dispenser manufacturer code, fuel dispenser model code, fuel dispenser serial number code and random code.

[0043] According to an embodiment of the present application, the false serial number S 虚假 is generated in the following manner:

[0044] S 虚假 = f ( M 标准 ) g ( T 标准 ) h ( N 标准 ) k ( R 标准 )

[0045] wherein:

[0046] M is the fuel dispenser manufacturer code, T is the fuel dispenser model code, N is the fuel dispenser serial number code, and R is the random code;

[0047] f ( M 标准 )= M 标准 ⊕ K , K is a preset key, and ⊕ represents an XOR operation;

[0048] g ( T标准 T 标准 Delta T )mod10 L T Delta T is a fixed offset, L T is the number of bits of the dispenser model code;

[0049] h N 标准 N 标准 × P )mod10 L N is a prime number, L N is the number of bits of the dispenser serial code;

[0050] k R 标准 H R 标准 Salt ), H is a hash function, Salt is a random salt value;

[0051] False serial number and standard serial number check code C satisfies:

[0052] C 虚假 =CRC( S 虚假 R 虚假 )

[0053] where CRC is a cyclic redundancy check algorithm, ensuring the format integrity of the false serial number;

[0054] backslash indicates that, in the calculation of the check code C 虚假 , the random code in the false serial number S 虚假 must be excluded R 虚假 .

[0055] The application also provides a dispenser cheating inspection device. Figure 3 is a schematic diagram of the working principle of the dispenser according to an embodiment of the application, and Figure 3 Figure 1 ​​​​​​​​​​In comparison, a tester is added between the encoder and the control board. The specific description is as follows.

[0056] The fuel dispenser cheating inspection device comprises: a first connector for connecting the encoder of the fuel dispenser, for receiving the serial number pairing relationship between the encoder and the monitoring microprocessor from the encoder; a tester connected to the first connector, for generating a false serial number different from the standard serial number of the monitoring microprocessor according to the serial number pairing relationship; and the first connector is also used for sending the false serial number to the encoder; and the tester is also used for determining that the fuel dispenser exists cheating when the fuel dispenser performs a certain number (usually five) of fueling operations for simulating metering cheating but still does not lock the machine.

[0057] In the related art, during the law enforcement process of law enforcement personnel, if abnormal conditions are found by checking the components, connecting lines, etc. of the fuel dispenser, the fuel dispenser mainboard can only be disassembled and sent for inspection, and the software cheating behavior cannot be immediately confirmed. The present application generates a false serial number and sends it to the encoder, and after the fuel dispenser performs a certain number (usually three) of fueling, if the fuel dispenser does not lock the machine, the self-locking function of the fuel dispenser exists cheating because it does not meet the requirements of the regulations. The present application tests whether the self-locking function of the fuel dispenser has been broken by means of the generated false serial number, so that the fuel dispenser cheating behavior can be quickly, effectively and conveniently inspected.

[0058] It should be noted that the first connector in the embodiment is applicable to various types of encoders produced by different self-locking function manufacturers, and is also applicable to fuel dispensers of different brands. The first connector can also be designed as a plug connector, which can be conveniently and quickly connected with the encoder.

[0059] It should be noted that the monitoring microprocessor with the self-locking function of the fuel dispenser and the encoder in the embodiment have and only have a unique serial number. After the self-locking function is started, the monitoring microprocessor and the encoder are automatically bound, and the unique serial number pairing relationship formed by the serial number of the monitoring microprocessor and the serial number of the encoder is stored in the encoder.

[0060] According to one embodiment of the present application, after the fuel dispenser is locked, the first connector also sends the standard serial number to the encoder to unlock the fuel dispenser. The embodiment of the present application unlocks as soon as possible after the fuel dispenser inspection is not cheated, thereby avoiding affecting the normal use thereof.

[0061] According to one embodiment of the present invention, the fuel dispenser cheating detection device further includes: a second connector, suitable for fuel dispenser control motherboards of different brands and used to connect to these control motherboards. The second connector can be a plug-in design for convenient and quick connection to these control motherboards. The first connector is also used to receive a standard pulse signal sent by the encoder; the tester is also used to generate a new pulse signal according to the standard pulse signal at a set ratio and send it to the control motherboard through the second connector to simulate metering cheating; the tester is also used to determine that the fuel dispenser is cheating if the fuel dispenser performs a specific number (usually five) of refueling operations for simulating metering cheating but does not lock the dispenser. Simultaneously, the tester is also used to determine that the fuel dispenser is cheating if the fuel dispenser performs a specific number of refueling operations for simulating metering cheating but no corresponding abnormal refueling record exists. This embodiment of the present invention provides two methods for determining cheating. These two methods are currently relatively common in fuel dispenser cheating, and the inspection operation is simple and the inspection results are accurate.

[0062] Furthermore, the tester's chip is encapsulated in epoxy resin, and the casing is welded. It features a self-destruct function upon opening, formatting and deleting the internal program to prevent counterfeiting by disassembling the tester and its internal chip and program. Additionally, the tester employs an explosion-proof design, meeting the safety requirements for use in gas stations.

[0063] The present invention also provides a specific example to illustrate the specific implementation process of the above-mentioned method and device for detecting cheating on fuel dispensers. Figure 4 This is a schematic diagram of the operation panel of the tester according to a specific embodiment of the present invention. Figure 5 This is a flowchart of a method for detecting cheating on fuel dispensers according to a specific example of the present invention.

[0064] S1. According to the verification procedure of JJG 443-2023 "Fuel Dispenser (Trial)", use the handheld terminal for fuel dispenser verification (hereinafter referred to as the handheld terminal) to query and verify the activation status of the fuel dispenser's self-locking function, the serial number of the monitoring microprocessor, the serial number of the encoder, the serial number of the indicator device, abnormal refueling records, etc., to conduct a preliminary inspection of the fuel dispenser.

[0065] S2, the fuel dispenser is powered off. Disconnect the fuel dispenser encoder from the control board. Connect the first connector to the encoder and the second connector to the control board. Connect the encoder, tester, and control board in series.

[0066] S3, the oil dispenser is powered on. Select the "63 lock machine" button, the tester identifies the serial number pairing relationship between the monitoring microprocessor and the encoder sent by the encoder, generates a different monitoring microprocessor serial number according to the monitoring microprocessor serial number in the serial number pairing relationship, and sends it to the encoder. After three oiling operations, the gun is raised again. The self-locking function system of the oil dispenser is normal. At this time, it should be locked and cannot be oiled, and prompts "63". If the oil dispenser is not locked, according to JJG 443-2023 "Fuel dispenser (trial)" verification regulation 6.3.5: "After starting the self-locking function, the oil dispenser should not automatically start the self-locking function after replacing the monitoring microprocessor. If the self-locking function is not restarted, the encoder should stop sending signals to the monitoring microprocessor after three oiling operations, and the oil dispenser should be locked and cannot be oiled." It can be determined that the self-locking function of the oil dispenser does not meet the requirements of the regulation and is unqualified, and there is a suspicion of cheating.

[0067] Since each oil dispenser serial number is verified by a special algorithm and key, and must be kept secret and cannot be disclosed, this specific example will assume that the false serial number and its verification process are as follows:

[0068] Assume that in the standard serial number, the oil dispenser manufacturer code M 标准 =001, the oil dispenser model code T 标准 =05, the oil dispenser serial number code N 标准 =1001, random code R 标准 =7A3DS.

[0069] Further, assume f (001)=9 A 2, g (05)=12, h (1001)=3003, k (7 A 3 D )= D 4 F 1.

[0070] Therefore, the false serial number should be 9A2123003D4F1.

[0071] In addition, in the CRC verification, the random code in the false serial number S 虚假 should be excluded R 虚假 = D 4 F 1, to ensure the accuracy of the CRC verification and the integrity of the format of the false serial number.

[0072] S4. For fuel dispensers that show a "63" lockout, select the "Cancel 63 Lockout" button. The tester will then send the original monitoring microprocessor and encoder's serial number pairing relationship to the encoder.

[0073] S5. Use the handheld terminal to restart the self-locking function of the fuel dispenser. The purpose is to: (1) reconfirm the serial number pairing relationship between the original monitoring microprocessor and the encoder; (2) unlock the fuel dispenser that was locked during the S3 operation (if the lock occurs during the S3 operation).

[0074] S6, select "64 Lock Machine" in sequence. N "Button ( N The numbers 1 to 5 represent pulse signals indicating the addition of 10%, 20%, 30%, 40%, and 50% respectively, and the fuel dispenser is operated to refuel five times.

[0075] S7. Use a handheld terminal to check if there are any newly added abnormal refueling records on the fuel dispenser. A normal fuel dispenser should store five abnormal refueling records. Otherwise, the fuel dispenser does not meet the requirements of the procedure, is unqualified, and has cheating behavior.

[0076] S8, refueling again. A normal fuel dispenser should be locked and unable to refuel, and display "64". Otherwise, the fuel dispenser does not meet the requirements of the procedure, is unqualified, and indicates cheating.

[0077] In summary, according to the above embodiments of the present invention: (1) A false serial number is generated and sent to the encoder. After the fuel dispenser has refueled a specific number of times (usually three times), if the fuel dispenser does not lock, the self-locking function of the fuel dispenser is considered fraudulent because it does not meet the procedural requirements. (2) Based on the standard pulse signal sent by the encoder, a new pulse signal is generated according to a set ratio and sent to the fuel dispenser's metering control mainboard to simulate metering fraud; and if the fuel dispenser performs a specific number of simulated metering fraudulent refueling operations (usually five times) but still does not lock, it is determined that the fuel dispenser is fraudulent. (3) If the fuel dispenser performs a specific number of simulated metering fraudulent refueling operations but there is no corresponding abnormal refueling record, it is determined that the fuel dispenser is fraudulent. The present invention uses the generated false serial number to test whether the fuel dispenser's self-locking function has been broken, or to confirm whether the fuel dispenser has been identified, recorded, and locked after simulated metering fraud, thereby enabling rapid, effective, and convenient detection of fuel dispenser fraudulent behavior.

[0078] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method of fuel dispenser tamper detection, the method comprising: The method comprises: receiving a serial number pairing relationship between an encoder of a fuel dispenser and a monitoring microprocessor; generating a false serial number different from a standard serial number of the monitoring microprocessor according to the serial number pairing relationship and sending the false serial number to the encoder; determining that the fuel dispenser is cheating in the case that the fuel dispenser performs a specific number of fueling operations for simulating metering cheating but still does not lock the machine; wherein, after sending the false serial number to the encoder, the method further comprises generating a brand new pulse signal according to a standard pulse signal sent by the encoder and sending the brand new pulse signal to a control mainboard of the fuel dispenser to simulate metering cheating in a set proportion; and determining that the fuel dispenser is cheating in the case that the fuel dispenser performs a specific number of fueling operations for simulating metering cheating but still does not lock the machine; wherein, after sending the brand new pulse signal to the control mainboard, the method further comprises determining that the fuel dispenser is cheating in the case that the fuel dispenser performs a specific number of fueling operations for simulating metering cheating but there is no corresponding abnormal fueling record; wherein the false serial number and the standard serial number have the same total number of bits and contain the same fuel dispenser manufacturer code, fuel dispenser model code, fuel dispenser serial number code, and random code; The false serial number S 虚假 The generation mode is that: S 虚假 = f ( M 标准 ) g ( T 标准 ) h ( N 标准 ) k ( R 标准 ) wherein: M coding for the fuel dispenser manufacturer, T coding for the fuel dispenser model, N coding for the fuel dispenser serial number, and R random coding; f M 标准 M 标准 K K is a preset key, and ⊕ represents an XOR operation.​​​​ g T 标准 T 标准 Δ T ) mod 10 L T Δ T is a fixed offset, L T is the number of bits of the dispenser model code;​​​​ h N 标准 ) = N 标准 ×P )mod 10 L N , P is a prime number, L N is the number of digits of the dispenser number code;​​ k R 标准 H R 标准 ∣∣Salt) H is a hash function, Salt is a random salt value.​​​​ 2. The method of claim 1, wherein, after the fuel dispenser is locked, the method further comprises sending the standard serial number to the encoder to unlock the fuel dispenser.

3. The method of claim 1, wherein, the false serial number and the check code of the standard serial number C satisfies: C 虚假 = CRC( S 虚假 R 虚假 ) wherein CRC is a cyclic redundancy check algorithm, which ensures the format integrity of the false serial number; Backslash indicates a check code C 虚假 The calculation of the false sequence number S 虚假 Random encoding in R 虚假 .

4. A dispenser fraud inspection apparatus for applying the dispenser fraud inspection method according to any one of claims 1 to 3, characterized by The method comprises: a first connector for connecting an encoder of a fuel dispenser, for receiving a serial number pairing relationship between the encoder and a monitoring microprocessor from the encoder; a tester connected to the first connector, for generating a false serial number different from a standard serial number of the monitoring microprocessor according to the serial number pairing relationship; and the first connector is further configured to send the false serial number to the encoder; the tester is further configured to determine that the fuel dispenser is cheating in the case that the fuel dispenser performs a specific number of fueling operations for simulating metering cheating but still does not lock the machine.

5. The apparatus of claim 4, wherein, The first connector further sends the standard serial number to the encoder to unlock the fuel dispenser.

6. The apparatus of claim 4, wherein, The method further comprises: a second connector for connecting a control mainboard of the fuel dispenser; the first connector is further configured to receive a standard pulse signal sent by the encoder; the tester is further configured to generate a brand new pulse signal according to the standard pulse signal and send the brand new pulse signal to the control mainboard through the second connector in a set proportion.

Citation Information

Patent Citations

  • Oiling machine system with self-checking function and self-checking method of oiling machine system

    CN115973987A

  • Cheating system is prevented to tanker aircraft

    CN208135892U