The Design and Implementation of Transac-Tion and Monitoring System of Card-Machine Combined Control of Gas Station
- Author
- LiuJing
- Advisor
- JiangXiaoNing
- School
- Zhejiang Technology and Business University
- Major
- Electronics and Communication Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2014
- Downloads
- 1
- Citations
- 0
Abstract
Compared with the developed countries, the informatization manag-ement level of gas station in china is relatively backward. On one hand, the automation degree is still very low: the transaction process is not simple and effective, the capabilities of automated settlement is deficient, manual management and report are ubiquitous; on the other hand, the upervision of purchasing, sales, inventory is not power effectively, the gas station attendants won’t be able to predict unusual phenomenon timely, which will bring economic losses to the gas station. So it is imperative to improve the informationization and automation of gas station.In order to solve the above-mentioned current situation, this thesis chooses "card-machine interlocking" of Sinopec and "card-machine connection" of PetroChina as backdrops, puts forward the "card-machine combined control" system according to the actual requirement of gas station, which realize the new models of controlling tanker by POS. The main research achievement of this thesis are as follows:1. Designed the transaction state transition diagrams of gas station. Based on the detailed analysis of gas station’s business processes, we abstracted six statuses:begin to authorize status, authorization status, withdraw authorization status, end of refueling status, begin to settlement status, end of settlement status, and we designed the transition rules of each status and by which realized the "card-machine combined control" system of gas station which based on IC card. The actual running result shows that the robustness and fault tolerance have been improved.2. Realized real-time monitoring interface of the oil guns, tankers and transaction data in the gas station. We set triggers for tables of which the data changing frequently, the data will be saved into the memcached. Then by using Ajax technology poll the memcached which reduces the pressure of the system and its real time capability can be achieve second level.3. Established alarm model and realized flexible alarm mechanism. The alarm model is made up by data acquisition, alarm rules, alarm engine and alarm occur. Users can define different levels of alarm which are absolutely vital for the staff to realize and responses the unusual phenomenon of gas station.4. The web interface is based on LAMP(Linux+Apache+MySQL+PHP) architecture, which can be used very expediently, and it has hign stability and low cost. Compared with C/S products on WINDOWS system, using B/S mode simplifies the client installation and reduces maintenance costs, better supports for mobile devices such as phones and tablet computers.The system has been installed and used in some gas stations. It works well, the data are accurate and has high real time capability. It greatly improves the service level and work efficiency which provides adequate technical support for managers making scientific decisions.
Table of contents
Abstract 2-4
ABSTRACT 4-7
catalog 7-9
1 Introduction 9-15
1.1 background and Significance domestic and foreign research status quo 1.2 9
foreign research status quo 1.2.1 9-12
9-11
1.2.2 domestic Research Status main research work 11-12
1.3 article organizational structure 12-13
1.4 papers 13-15
2 feasibility and demand analysis feasibility analysis 15-20
2.1 system 15
2.2 system requirements analysis 15-19
2.2.1 functional Requirements analysis 16
2.2.2 non-functional requirements analysis 16-19
2.3 chapter Summary 19-20
3 overall system design 20 -32
3.1 system architecture design 20-26
3.1.1 physical infrastructure 20
3.1.2 logical Architecture 20-22 <br / > 3.1.3 running architecture 22-25
3.1.3.1 system data flow analysis 22-23
3.1.3.2 packet processing 23-24
3.1.3.3 internal and external communication protocols 24-25
3.1.4 development Framework 25-26
3.2 database design 26-31 <br / > 3.2.1 database design principles 26-27
3.2.2 database conceptual design 27-28
3.2.3 database table structure design 28-31
3.3 chapter Summary 31-32
4 main functions of the system implementation and key technology research 32-71
4.1 card machine Control transaction status transformation diagram design 32-35
4.2 petrol stations functional design and implementation of trade achieve 35-44
4.2.1 protocol conversion 35-38
4.2.2 scheduling strategy 38-39
4.2.3 oil Gun Registration check-out module 39-41
4.2.4 authorization and revocation of authorization module 41-43 <br / > 4.2.5 billing module 43-44
4.3 Research and implementation of monitoring stations 44-69
4.3.1 WEB interface implementation related technology research 44 -50
4.3.1.1 LAMP brief 44-46
4.3.1.2 mode selection 46-48
4.3.1.3 MVC architecture 48- 50
4.3.2 real-time monitoring technology research 50-61
4.3.2.1 oil gun real-time monitoring 50-51
4.3.2.2 tank real-time monitoring 51
4.3.2.3 Real-time monitoring of water sales 51-52
4.3.2.4 Real-time monitoring of key technologies 52-61
4.3.3 analysis and alarm Module achieve 61-65
4.3.3.1 functional Description 61-62
4.3.3.2 alarm model 62
4.3.3.3 data Acquisition 62-63
4.3.3.4 alarm rules 63
4.3.3.5 alarm engine 63-65
4.3.4 statistical reporting module 65- 66
4.3.5 control Module 66-69
4.4 Summary 69-71
5 system testing 71-80
5.1 test principle 71
5.2 test methods and procedures 71-72
5.3 test 72-79
5.3.1 Registration check-out module testing 72-73
5.3.2 authorization and revocation of authorization module test 73-74
5.3.3 billing module test 74-75
5.3.4 WEB monitor real-time test 75
5.3.5 alarm module test 75-76
5.3.6 Reporting module test 76-79
5.4 of this chapter summary 79-80
6 summary and Outlook 80-82
6.1 summarizes 80
6.2 Looking 80-82 <br / > References participate in 82-84
Master author during the research and published papers 84-85
Thanks 85-86
Related dissertations
- Labor intensive SMEs incentive mechanism of employee in Chengdu YH gas station as an example
- Research on Customer Satisfaction of Gas Station
- The Hospital Transfusion Monitoring System Design and Implementation
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Gas Station Design Real-time Monitoring and Data Analysis System
- The Research of Real-time Simulation Experiment of Process Controlbased on Web
- The Research of Active Surveillance Video System Based on Object Recognition
- The Research and Application of Hydrological Observation System Management
- The Devlelopment of Online Temperature Measurement System during the Growth of LED
- Research on Monitoring System in Pedicle Screw Implantation Surgery Based on Nirs and CT Images
- The Preliminary Study on Real-time Monitoring by Ultrasound Image during Pulsed High Intensity Focused Ultrasound Irradiation
- Prevalence Study about Occupational Health and the Health Status of Workers at Gas Station
- The Research of Lightning Location in the Transmission Line
- Design of the Real-time Monitoring System for the Small PV Stations
- Design of the10kv Dry-type Core Reator for Wireless Temperature Measuring System
- Researching for Regional Cathodic Protection of Urban Gas Stations
- Design of Real-time Monitoring System for Municipal Water Supply Network and Optimization of Monitoring Points
- Real-time Monitoring and Early Warning Method of Scaffold Utilizing Radio Frequency Identification Technology
- Study on an Automated Construction Progress Monitoring System Based on BIM As-built Model
- The Optimization Design of Jinan Luding International Foundation Pit Engineering Pile Anchor Bracing System