CN105159162B - The processing method of non-metering data in metering system - Google Patents
The processing method of non-metering data in metering system Download PDFInfo
- Publication number
- CN105159162B CN105159162B CN201510500861.0A CN201510500861A CN105159162B CN 105159162 B CN105159162 B CN 105159162B CN 201510500861 A CN201510500861 A CN 201510500861A CN 105159162 B CN105159162 B CN 105159162B
- Authority
- CN
- China
- Prior art keywords
- buffer
- data
- consumption data
- metering
- deposited
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Loading And Unloading Of Fuel Tanks Or Ships (AREA)
Abstract
The processing method of non-metering data in metering system, step 10, resets to buffer, sets timer.Step 20, non-consumption data are read, the 1st buffer is deposited with.Step 30, the data in the 1st and the 2nd buffer are compared.Step 40, if both are identical, into step 50, step 60 is entered if different.Step 50, the data-pushing in the 1st or the 2nd buffer is shown to display device.Step 60, by the data in the 1st buffer, copy in the 2nd buffer and deposit, counter is added up.Step 70, judge whether count value is more than or equal to setting A, if it is, into step 100, otherwise into step 80.Step 80, judge whether the timing of timer has arrived, if do not arrived, into step 90, otherwise, into step 110.Step 90, oiling display device is made to show non-consumption data.Step 100, the information of mistake is shown.Step 110, counter is reset, restarts and step 20 is returned to after timer.
Description
Technical field
The present invention relates to the processing method of the non-metering data in metering system.
Background technology
Fuel charger of metering system such as gas station etc. needs the product monitored, in order to prevent cheating, protects the profit of consumer
Benefit, generally to continuous data, i.e., consumption data such as is encrypted at the processing, it is ensured that the correctness that consumption data is shown.And to metering
The non-metering data that system is sent, such as fuel charger is under non-fueling state, the non-consumption data of display fuel charger state etc., then not
Process and be directly sent to display screen and show.Shown because the non-consumption data that metering system is sent are directly sent to display screen, can be with
Out-tricked monitoring system using non-consumption data command, pretend to be consumption data to show on a display screen modified non-consumption data
Show, and existing monitoring method can not play supervisory function bit for this cheating, it is impossible to entirely prevent the generation of cheating problem.
It is an object of the invention to provide a kind of processing method of non-metering data that can be in monitoring measuring system, prevent
Practised fraud using non-metering data.
The content of the invention
The present invention the first technical scheme be metering system in non-metering data processing method, it is characterised in that tool
There are following steps,
Step 10, the 1st buffer and the 2nd buffer are reset, timer timing are set,
Step 20, non-consumption data are read, the 1st buffer is deposited with,
Step 30, compare the non-consumption data being deposited with the 1st buffer and the 2nd buffer, judge previous frame data and
Whether the current data that receive are identical,
Step 40, if the non-consumption data being deposited with the 1st buffer and the 2nd buffer are identical, then it is assumed that data are just
Often, into step 50, if it is different, then into step 60,
Step 50, directly the non-consumption data-pushing being deposited with the 1st buffer or the 2nd buffer is entered to display device
Row display,
Step 60, the non-consumption data that will be deposited with the 1st buffer, copy in the 2nd buffer and deposit, and to counting
Device carries out accumulation operations,
Step 70, judge whether the count value of counter is more than or equal to setting A, if the count value of counter is more than
Or equal to setting A, into step 100, otherwise into step 80,
Step 80, judge whether the timing of timer has arrived, if do not arrived, into step 90, otherwise, into step
110,
Step 90, by the non-consumption data-pushing being deposited with the 1st buffer or the 2nd buffer to oiling display device pair
Non-consumption data are shown,
Step 100, the information of mistake is shown by display device,
Step 110, counter is reset, restarts and step 20 is returned to after timer.
The second technical scheme of the present invention is based on the first technical scheme, it is characterised in that the metering system is gas station
Fuel-filling metering system in fuel charger, the non-metering data are non-consumption data.
Brief description of the drawings
During Fig. 1 is gas station's fuel charger, the structured flowchart of the monitoring system of non-consumption data is monitored;
Fig. 2 is the process chart of non-consumption data.
Embodiment
Hereinafter, embodiments of the present invention are illustrated with reference to the accompanying drawings.In Fig. 1 gas stations fuel charger, non-consumption is monitored
The structured flowchart of the monitoring system of data.
Monitoring system 3 is arranged between Fuel-filling metering system 1 and oiling display device 2.Fuel-filling metering system 1 passes through difference
Order send consumption data and non-consumption data to monitoring system 3, consumption data be when putting the gun refueling continuous data (plus
Oily data), non-consumption data are the data under the non-fueling state of fuel charger, the real time information of display fuel charger state etc..Disappear
Expense data are related to volume read-out continuous datas in refueling process, the characteristics of with consecutive variations, rather than consumption data then with
Volume read-out is unrelated, the characteristics of without consecutive variations.The present invention using non-consumption data will not consecutive variations the characteristics of, disappear to non-
Expense data are identified;If non-consumption data consecutive variations, then it is assumed that non-consumption data there may be problem, prevent non-consumption
The display of data simultaneously carries out miscue.
Monitoring system 3 is as shown in figure 1, with non-consumption data processor 3a and consumption data processor 3b.Consumption data
Processor 3b inputs consumption data according to the order of Fuel-filling metering system 1, after handling consumption data, is output to oiling aobvious
Show that equipment 2 is shown.Consumption data processor 3b uses prior art, can be provided with various anti-cheating functions, concrete structure
Pertinent literature is referred to, be will not be repeated here.Non-consumption data processor 3a is used to monitor non-consumption data, with modular
1st buffer, the 2nd buffer, timer, counter, comparator, display controller.Non-consumption data processor 3a can make
Realized with microprocessor by software.
Fig. 2 is process charts of the non-consumption data processor 3a to non-consumption data.Below according to Fig. 2, to non-consumption
The processing procedure of data is illustrated.
Step 10, the 1st buffer and the 2nd buffer are reset, timer timing is set, timing can appoint as needed
Meaning setting, is such as set in several milliseconds.
Step 20, the non-consumption data that Fuel-filling metering system 1 is inputted, are deposited with the 1st buffer.
Step 30, compare the non-consumption data being deposited with the 1st buffer and the 2nd buffer, judge previous frame data and
Whether the data currently received are identical.
Step 40, if the non-consumption data being deposited with the 1st buffer and the 2nd buffer are identical, then it is assumed that data are just
Often, into step 50, if it is different, then into step 60, determining whether.
Step 50, display controller directly arrives the non-consumption data-pushing being deposited with the 1st buffer or the 2nd buffer
Non-consumption data are shown by oiling display device 2.Step 20 is returned to afterwards, the non-consumption data of next frame are read, and is repeated
Each step of the above.
Step 60, the non-consumption data that will be deposited with the 1st buffer, copy in the 2nd buffer and deposit, and to counting
Device carries out accumulation operations.
Step 70, judge whether the count value of counter is more than or equal to setting A.If the count value of counter is less than
Setting A, into step 100, otherwise into step 80.Setting A is set in 2 or more than 2, can so avoid it is first, because
There is no non-consumption data in 2nd buffer, and misjudgment occur.
Step 80, judge whether the timing of timer has arrived.If do not arrived, into step 90, otherwise into step
110。
Step 90, display controller by the non-consumption data-pushing being deposited with the 1st buffer or the 2nd buffer to refuel
Non-consumption data are shown by display device 2.Return to step 20 afterwards, read the non-consumption data of next frame, and repeat with
Upper each step
Step 100, display controller sends the information for showing mistake to oiling display device 2, without by non-consumption data
It is pushed to oiling display device 2.
Step 110, counter is reset, restarts and step 20 is returned to after timer, next frame non-consumption data are read, and repeat
Each step of the above.
Above is in present embodiment, to the processing method of non-metering data, being to non-consumption data at the appointed time
The no continuous change of appearance is judged, if there is continuous change, then it is assumed that non-consumption data are changed, now, are stopped
Only non-consumption data to display device transmit while, show error message, so as to effectively prevent using non-consumption data,
Pretend to be the approach that consumption data is practised fraud, with reference to the monitoring to consumption data, can comprehensively prevent the generation of cheating problem.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, as long as the present invention's
Within spirit and principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (2)
1. the processing method of the non-metering data in metering system, it is characterised in that have steps of,
Step 10, the 1st buffer and the 2nd buffer are reset, timer timing are set,
Step 20, non-consumption data are read, the 1st buffer is deposited with,
Step 30, compare the non-consumption data being deposited with the 1st buffer and the 2nd buffer, judge previous frame data and current
Whether identical receive data,
Step 40, if the non-consumption data being deposited with the 1st buffer and the 2nd buffer are identical, then it is assumed that data are normal, enter
Enter step 50, if it is different, then into step 60,
Step 50, directly the non-consumption data-pushing being deposited with the 1st buffer or the 2nd buffer is entered to oiling display device
Step 20 is returned to after row display,
Step 60, the non-consumption data that will be deposited with the 1st buffer, copy in the 2nd buffer and deposit, and counter is entered
Row accumulation operations,
Step 70, judge whether the count value of counter is more than or equal to setting A, if the count value of counter is more than or waited
In setting A, into step 100, otherwise into step 80,
Wherein, the setting A is set in 2 or more than 2,
Step 80, judge whether the timing of timer has arrived, if do not arrived, into step 90, otherwise, into step 110,
Step 90, the non-consumption data-pushing being deposited with the 1st buffer or the 2nd buffer is disappeared to oiling display device to non-
Expense data return to step 20 after being shown,
Step 100, the information of mistake is shown by display device,
Step 110, counter is reset, restarts and step 20 is returned to after timer.
2. the processing method of the non-metering data in metering system according to claim 1, it is characterised in that the metering
System is the Fuel-filling metering system in gas station's fuel charger, and the non-metering data are non-consumption data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510500861.0A CN105159162B (en) | 2015-08-14 | 2015-08-14 | The processing method of non-metering data in metering system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510500861.0A CN105159162B (en) | 2015-08-14 | 2015-08-14 | The processing method of non-metering data in metering system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159162A CN105159162A (en) | 2015-12-16 |
CN105159162B true CN105159162B (en) | 2017-11-07 |
Family
ID=54800049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510500861.0A Active CN105159162B (en) | 2015-08-14 | 2015-08-14 | The processing method of non-metering data in metering system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159162B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657052B (en) * | 2016-12-16 | 2020-04-24 | 湖南国科微电子股份有限公司 | Access management method and system for stored data |
WO2018138590A1 (en) * | 2017-01-24 | 2018-08-02 | Semiconductor Energy Laboratory Co., Ltd. | Display device and electronic device |
CN112988719B (en) * | 2019-12-02 | 2023-04-04 | 金色熊猫有限公司 | Data quality detection method and device, readable medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101481078A (en) * | 2008-01-08 | 2009-07-15 | 北京拓盛电子科技有限公司 | Anti-cheat module of fueller and anti-cheat method therefor |
CN103508404A (en) * | 2012-12-28 | 2014-01-15 | 北京拓盛电子科技有限公司 | Communication method of oiling machine measuring microprocessor and monitoring microprocessor |
CN104359519A (en) * | 2014-11-28 | 2015-02-18 | 成都千嘉科技有限公司 | Parameter storage method for flowmeter |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120126497A (en) * | 2011-05-12 | 2012-11-21 | 김두봉 | weighing fuel dispenser |
-
2015
- 2015-08-14 CN CN201510500861.0A patent/CN105159162B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101481078A (en) * | 2008-01-08 | 2009-07-15 | 北京拓盛电子科技有限公司 | Anti-cheat module of fueller and anti-cheat method therefor |
CN103508404A (en) * | 2012-12-28 | 2014-01-15 | 北京拓盛电子科技有限公司 | Communication method of oiling machine measuring microprocessor and monitoring microprocessor |
CN104359519A (en) * | 2014-11-28 | 2015-02-18 | 成都千嘉科技有限公司 | Parameter storage method for flowmeter |
Also Published As
Publication number | Publication date |
---|---|
CN105159162A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108427632B (en) | Automatic test method and device | |
CN110046076A (en) | Intelligent system equipment environment checking method, system, equipment and storage medium | |
CN106354645A (en) | Test method and test platform based on background system service or interface | |
CN105159162B (en) | The processing method of non-metering data in metering system | |
CN104008458A (en) | Hidden danger checking and treatment method and system and server | |
CN108182479A (en) | Equipment point-detecting method, device and server | |
JP2011123885A5 (en) | ||
CN105281945A (en) | Data flow-based deterministic network integrity fault detection method | |
CN107209829A (en) | Data judging device, data judging method and program | |
CN104461765A (en) | Interlocking system data accuracy detection method based on version verification | |
Feo-Arenis et al. | The wireless fire alarm system: ensuring conformance to industrial standards through formal verification | |
CN106920022A (en) | The Security Vulnerability appraisal procedure of cigarette industry control system, system and equipment | |
CN108023769B (en) | Internet of Things group, which hinders, determines method and device | |
CN117252420A (en) | Job risk assessment method, device, equipment and storage medium | |
CN104021499B (en) | Semiconductor manufacturing control method | |
CN107133821A (en) | Equipment updating method, device and system of multi-online charging system | |
CN116048589A (en) | Configuration change verification method, device, computer equipment and storage medium | |
CN105890810A (en) | Setting method for temperature detecting equipment and grain condition detecting system | |
CN115760493A (en) | Investment project land monitoring system | |
CN115204690A (en) | Target work order processing method and device | |
CN103955808A (en) | Pollution source patrol method and system | |
CN109102083A (en) | A kind of the quantity configuration method and relevant device of maintenance of equipment | |
KR101290169B1 (en) | Meter data management method | |
CN104980699B (en) | A kind of splice displaying system and image-signal processing method therein and device | |
CN114743301B (en) | Method, device, equipment and medium for detecting target in designated area |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |