1.1 App system
The future design direction of the App system is divided into the user App and an administrator App. Currently, the user App implementation mode is considered first.
The user-side App is designed to facilitate the use of driver-side users, so that drivers can query their card information, consumption information, recharge information, current location information of each station, energy unit price information, etc. The main functions are divided into the following points: basic information acquisition function, data query function, card package function, map (including navigation and station information, if the user can provide navigation-related API), online payment function (for stored value or non-oil consumption), etc.
1.1.1 Basic information

Basic information extraction is shown in the figure above: the user-side App actively initiates an application to the central service system. After the application information is verified, the central service system will return the encrypted information to the user-side App. After the user-side App successfully decrypts, the acquired data will be displayed on the App interface.
1.1.2 Data query function
The data query function mainly displays its transaction record information, report summary information, etc. for users. The overall process structure diagram is shown in the figure above.

1.1.3 Map display function
It is mainly realized by relying on major map companies (Google is the first choice abroad, and Amap, Baidu, Tencent, etc. can be selected in China). Its process mode is similar to the above figure. When the user uses the map function, the App will automatically send a site data request to the central server. The central server will return all the sites currently established by the customer, as well as the energy unit price information corresponding to the site, and display each site on the map according to the returned site latitude and longitude. (The navigation function requires the customer to provide a local navigation tool that can be used normally to implement it, and its API needs to be connected).
1.1.4 Online payment function
The online payment function is mainly used for the following scenarios for development:
- Non-gas station use: This scenario is mainly used for non-gas consumption. Users use it in convenience stores restaurants and other non-gas station places. Users enter the employee-specified amount in the APP for payment. After the payment is completed, an order record will be generated in the central service system, and a notification will be sent to the employee.
- Gas station use: Users directly enter the specified amount of consumption in the mobile app. After submitting and confirming the order, the App will send a request for data to the central service system. After the central service system verifies it, it will give a series of verification code information to the App, and the App will display it. When the user enters the verification code information into the oil machine, the oil machine will detect the validity of the verification code to the central service system. After the detection is completed, the verification code will be invalidated, and the oil machine will feedback on whether to start refueling information.
- The user directly performs the recharge operation: the user selects a card in the card package, enters the amount, and submits the order to the central service system. After the system verifies the order, it will be stored in the database and the card balance will be changed.