The application relates to a divisional application of Chinese patent application with the application date of 2020, 04 month and 20 days, the application number of 202010312310.2 and the name of vehicle electronic tag payment generation method.
Disclosure of Invention
The embodiment of the application aims to provide a vehicle electronic tag payment generation method, which aims to solve the problems in the prior art.
To solve the above problems, in a first aspect, the present application provides a vehicle electronic tag payment generating method, including:
receiving electronic tag service application information sent by a user terminal, wherein the electronic tag service application information comprises a user ID and a vehicle ID;
according to the electronic tag service application information, sending the allocated electronic tag ID to the user terminal; the electronic tag ID is bound with the vehicle ID and stored in user account information; the electronic tag corresponding to the electronic tag ID is arranged on the inner side of the fuel tank cover of the vehicle corresponding to the vehicle ID;
receiving oiling request information sent by oiling equipment after receiving an electronic tag ID sent by a card reader on an oil gun; the oiling request information comprises an electronic tag ID, a gun ID, an oiling equipment ID and a gas station ID;
inquiring target user account information corresponding to the electronic tag ID according to the electronic tag ID;
inquiring whether pre-fueling order information corresponding to the gas station ID and the electronic tag ID exists in the target user account information according to the gas station ID and the electronic tag ID; the pre-fueling order information comprises a pre-fueling vehicle ID, a pre-fueling electronic tag ID, a pre-fueling gas station ID and a pre-fueling amount;
generating a command for setting the pre-fueling quantity when the pre-fueling order information corresponding to the gas station ID and the electronic tag ID does not exist in the target user account information;
the instruction for setting the pre-fueling quantity is sent to fueling equipment corresponding to the fueling equipment ID so as to instruct the fueling equipment to set the pre-fueling quantity;
receiving pre-fueling request information sent by the fueling equipment; the prefill request information includes the prefill amount;
inquiring the credit score of the account information of the target user;
inquiring payable amount of the account information of the target user when the credit score is not smaller than a preset credit score threshold; calculating the fuel filling amount of the account information of the target user according to the payable amount;
generating a fueling command when the refuelable amount is not less than the pre-fueling amount; the oiling instruction comprises the oil gun ID and the prefill amount;
the oiling instruction is sent to oiling equipment corresponding to the oiling equipment ID so as to instruct the oiling equipment to carry out oiling according to the pre-oiling amount;
receiving a refueling completion message sent by the refueling equipment; the oiling completion message comprises the electronic tag ID, a gas station ID, an oiling device ID, a gun ID, an actual oiling amount and a consumption amount;
and generating a settlement order according to the oiling completion message and sending the settlement order to a third party server so as to enable the third party server to make the secret payment.
In a possible implementation manner, before the sending the allocated electronic tag ID to the user terminal according to the electronic tag service application information, the method further includes:
inquiring whether the vehicle ID with the electronic tag ID bound is present or not according to the vehicle ID, and rejecting the service application information if the vehicle ID is present.
In one possible implementation manner, after receiving the electronic tag ID sent by the card reader on the oil gun, the method further includes, before the sent oil filling request information:
receiving pre-fueling order information sent by a user terminal; the pre-fueling order information comprises a pre-fueling vehicle ID, a pre-fueling electronic tag ID, a pre-fueling gas station ID and a pre-fueling amount;
inquiring the credit score of user account information corresponding to the pre-fueling electronic tag ID according to the pre-fueling electronic tag ID;
inquiring payable amount of the user account information when the credit score is not smaller than a preset credit score threshold value; calculating the fuel filling amount of the user account information according to the payable amount;
and generating prefill order information when the refuelable volume is not less than the prefill volume.
In one possible implementation manner, the generating a settlement order according to the oiling completion message and sending the settlement order to a third party server specifically includes:
filling the actual fuel filling amount and the consumption amount into a pre-fueling order to obtain the settlement order;
and sending a secret payment-free request to the third party server according to the consumption amount in the settlement order.
In one possible implementation, the method further includes:
and determining the third party server according to the user-bound secret payment-free mode.
In one possible implementation manner, the determining the third party server according to the payment manner bound by the user ID specifically includes:
and when the user binds a plurality of secret payment-free modes, determining the third party server according to the priorities of the plurality of secret payment-free modes.
In a second aspect, the application provides an apparatus comprising a memory for storing a program and a processor for performing the method of any of the first aspects.
In a third aspect, the application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method according to any of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs a method according to any of the first aspects.
By applying the vehicle electronic tag payment generation method provided by the application, a user can pre-establish pre-fueling order information, directly fueling through the electronic tag of the identification vehicle after arriving at the fueling station, and directly leave the fueling station after the fueling is completed without payment operation, and the server generates a settlement order according to the actual fueling data of the user and performs the password-free payment, thereby saving the time of the user and the fueling station, improving the operation efficiency of the fueling station, and simultaneously, the post-payment non-inductive payment method not only improves the user experience, but also does not occupy the money of the user in advance, and the user can conveniently inquire all fueling records through the user terminal, which is equal to increasing the viscosity of the user of the fueling station.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 is a schematic flow chart of a payment generation method of a vehicle electronic tag according to an embodiment of the present application, where the method is applied to a vehicle, and an application scenario of the method is a scenario in which the vehicle enters a gas station to perform refueling. The execution subject of the method is a system server with a computing processing function. As shown in fig. 1, the method comprises the steps of:
step 101, receiving electronic tag service application information sent by a user terminal, wherein the electronic tag service application information comprises a user ID and a vehicle ID.
The user terminal refers to a mobile terminal device provided with a grease APP, which is an application program for a vehicle driver to perform a fueling transaction with a fueling station. And the user sends electronic tag service application information to the system server through the group oil APP installed on the user terminal, wherein the electronic tag service information comprises a user ID and a vehicle ID. The user ID is used for identifying user account information registered by a user to the system server through the oil APP in advance, and one user ID corresponds to only one user account information. The vehicle ID is used to identify one piece of vehicle information added in the user account information, one vehicle ID corresponds to only one piece of vehicle information, and the vehicle ID may be a license plate number or a globally unique number of the vehicle. One user may have one vehicle ID or may have a plurality of vehicle IDs. When the electronic tag service application information is sent, the user selects and sends the vehicle ID of one vehicle which does not apply for the electronic tag service in all vehicles in the user account information.
102, sending an allocated electronic tag ID to a user terminal according to electronic tag service application information; the electronic tag ID is bound with the vehicle ID and stored in the user account information; the electronic tag corresponding to the electronic tag ID is provided inside the fuel tank cap of the vehicle corresponding to the vehicle ID.
The electronic tag consists of a coupling element and a chip, is a carrier with a radio frequency identification technology, each electronic tag has a unique electronic tag ID, a high-capacity electronic tag has a storage space which can be written by a user, and the high-capacity electronic tag is attached to an object to identify a target object. The system server binds the unassigned electronic tag ID with the vehicle ID and stores it in the user account information. Meanwhile, the electronic tag corresponding to the electronic tag ID is arranged in the fuel tank cover of the vehicle corresponding to the vehicle ID, and the correspondence between the electronic tag ID bound with the vehicle ID in the user account information in the system server and the actual vehicle of the user is completed.
Step 103, receiving fueling request information sent after fueling identification is received and the electronic tag ID sent by a card reader on the fuel gun is received; the fueling request information includes an electronic tag ID, a gun ID, a fueling device ID, and a fueling station ID.
When a user enters a gas station to refuel, and when an operator inserts a gun into a fuel filler, a card reader arranged in the gun body of the gun reads data which is emitted outwards by an electronic tag in a fuel tank cover of the vehicle, wherein the data comprises an electronic tag ID. The card reader also comprises a storage module and a communication module, wherein the storage module can store the oil gun ID, the oil filling equipment ID of the oil filling equipment corresponding to the oil gun and the gas station ID. Wherein the gas station ID is used to uniquely identify the gas station, the fueling device ID is used to uniquely identify a fueling device within the gas station, and the gun ID is used to uniquely identify a gun on a fueling device within the gas station. The structure of the fueling equipment ID is: "gas station number-fueling equipment number", the structure of the gun ID is: "gas station number-fueling device number-gun number", for example, "0001-001" may have the meaning of: fueling equipment of fueling equipment number "001" of fueling station number "0001"; the meaning of "0001-001-01" may be: the oil gun of the oil gun number "01" of the oil filling device number "001" of the oil filling station number "0001" can obtain the corresponding oil filling device of the oil filling station through the oil filling device ID, and can obtain the corresponding oil gun under the corresponding oil filling device of the oil filling station through the oil gun ID.
After the card reader reads the electronic tag ID transmitted by the electronic tag, the electronic tag ID, the oil gun ID, the oiling equipment ID and the gas station ID are packaged to generate oiling request information, and the oiling request information is transmitted to the system server.
Step 104, inquiring the target account information corresponding to the electronic tag ID according to the electronic tag ID.
And the system server searches all user account information in the system server for user account information corresponding to the current electronic tag ID as target user account information according to the received electronic tag ID.
Step 105, inquiring whether the corresponding pre-fueling order information exists in the account information of the target user according to the gas station ID and the electronic tag ID.
The pre-fueling order information comprises a vehicle ID (identity) of pre-fueling of a user, an electronic tag ID of pre-fueling, a gas station ID of pre-fueling and a pre-fueling amount.
Specifically, the system server may store pre-fueling order information that is applied in advance by the user. The user can select a gas station and a vehicle through the user terminal, the pre-fueling quantity is set and sent to the system server, the system server verifies the credit capacity and the payment capacity of the information submitted by the user, and after the verification is passed, pre-fueling order information is generated.
Thus, prior to step 105, the present application may further comprise the steps of:
receiving pre-fueling order information sent by a user terminal; the pre-fueling order information comprises a pre-fueling vehicle ID, a pre-fueling electronic tag ID, a pre-fueling gas station ID and a pre-fueling amount;
inquiring the credit score of the user account information corresponding to the pre-fueling electronic tag ID according to the pre-fueling electronic tag ID;
inquiring payable amount of user account information when the credit score is not smaller than a preset credit score threshold value;
calculating the fuel filling amount of the user account information according to the payable amount;
when the refuelable volume is not less than the pre-refuelable volume, pre-refuelable order information is generated.
The fuel filling amount is calculated by the payable amount of the user and the current fuel price.
Step 106, when the target user account information does not contain the pre-fueling order information corresponding to the fueling station ID and the electronic tag ID, generating a pre-fueling amount setting instruction;
step 107, sending the instruction of setting the pre-fueling quantity to fueling equipment corresponding to the fueling equipment ID;
step 108, receiving pre-fueling request information sent by fueling equipment;
step 109, inquiring the credit score of the account information of the target user;
step 110, inquiring the payable amount of the account information of the target user when the credit score is not smaller than a preset credit score threshold value;
step 111, calculating the fuel filling amount of the account information of the target user according to the payable amount;
step 112, when the fuel filling amount is not less than the pre-filling amount, generating a fuel filling instruction;
in one example, when there is no pre-fueling order information corresponding to the fueling station ID and the electronic tag ID, a set pre-fueling amount instruction for setting the pre-fueling amount is generated. And sending the instruction for setting the pre-fueling quantity to fueling equipment, and reminding the user of setting the pre-fueling quantity by the fueling equipment. Receiving pre-fueling request information sent by fueling equipment; the prefill request information includes a prefill amount set by the fueling device. After receiving the pre-fueling quantity sent by the fueling equipment, inquiring the credit score of the account information of the target user; inquiring payable amount of user account information when the credit score is not smaller than a preset credit score threshold value; calculating the fuel filling amount of the user account information according to the payable amount; generating a fueling command when the refuelable amount is not less than the pre-fueling amount; the fueling command comprises a gun ID and a prefilled fuel quantity, wherein the refuelable fuel quantity is calculated by the payable amount of the user and the current fuel price. Meanwhile, a piece of pre-fueling order information is generated in the account information of the target user, wherein the pre-fueling order information comprises a pre-fueling vehicle ID, a pre-fueling electronic tag ID, a pre-fueling gas station ID and a pre-fueling quantity. The pre-fueling electronic tag ID and the pre-fueling gas station ID come from fueling request information, and the pre-fueling vehicle ID can be obtained through inquiring the pre-fueling electronic tag ID.
In another example, if pre-fueling order information is present, fueling instructions may be generated based on the pre-fueling amount in the pre-fueling order information; the fueling command includes a gun ID and a prefill volume.
And 113, sending a fueling instruction to the fueling equipment corresponding to the fueling equipment ID to instruct the fueling equipment to fueling according to the pre-fueling amount.
And the system server sends a fueling instruction containing the gun ID and the pre-fueling amount to fueling equipment corresponding to the fueling equipment ID, wherein the fueling equipment ID is the fueling equipment ID contained in the fueling request message. The refueling device performs a refueling operation for the vehicle according to the prefill amount in the refueling instruction.
Step 114, receiving a refueling completion message sent by a refueling device; the fueling completion message includes the electronic tag ID, the fueling station ID, the fueling device ID, the gun ID, the actual fueling amount, and the amount of the fuel consumption.
When the refueling equipment is used for refueling the vehicle, an actual refueling amount can be obtained, and the actual refueling amount is not more than the pre-refueling amount because the pre-refueling amount is estimated by a user according to the existing fuel amount of the vehicle and the total fuel tank amount of the vehicle.
In one example, the user sets the pre-fueling quantity 40L, the actual fueling quantity of the vehicle is 38L, the fueling device is filled with fuel when the fueling indication reaches 38L, the fuel tank is full, the fuel gun jumps, and the fueling device stops fueling when receiving the fuel gun jump instruction, so that the actual fueling quantity is 38L.
In another example, the user sets the pre-fueling amount 40L and the actual vehicle fueling amount is 43L, and the fueling device actively stops fueling when the fueling indication reaches 40L while fueling, and the actual fueling amount is 40L.
After the oiling device stops oiling, the consumption amount is calculated according to the actual oiling amount and the current oil price, the electronic tag ID, the gas station ID, the oiling device ID, the oil gun ID, the actual oiling amount and the consumption amount are packaged to generate an oiling completion message, and the oiling completion message is sent to the system server.
And step 115, generating a settlement order according to the oiling completion message and sending the settlement order to the third party server so as to enable the third party server to make the secret payment.
After receiving the oiling completion message, the system server fills the fields of the actual oiling amount and the consumption amount into the pre-oiling order, updates the pre-oiling order into a settlement order, and initiates a secret payment-free request to a third party server according to the consumption amount in the settlement order.
The third party server may be a server of the payment system, and is determined according to a payment mode pre-bound by the user. For example, when the user binds a payment treasures or WeChat in the user account information in advance without secret payment, the third party server may implement the payment treasures or WeChat server; when the user binds the deposit card in the user account information in advance to avoid the secret payment, the third party server can be a settlement server of a bank corresponding to the deposit card. The user can bind a secret payment-free mode in the user account information, can bind a plurality of secret payment-free modes, and sets priority for the plurality of secret payment-free modes.
And for the user, when the oiling device finishes oiling, the user can directly drive the vehicle to leave the gas station without carrying out payment operation or waiting for payment results. The subsequent user can check all the oiling record information, payment results and the like through the oiling record provided by the user terminal.
By applying the vehicle electronic tag payment generation method provided by the embodiment of the application, a user can pre-establish pre-fueling order information, directly fueling through identifying the electronic tag of the vehicle after arriving at the fueling station, and directly leave the fueling station after fueling is completed without payment operation, and a server generates a settlement order according to actual fueling data of the user and performs secret-free payment, thereby saving the time of the user and the fueling station, improving the operation efficiency of the fueling station, and simultaneously, the post-payment non-inductive payment method not only improves the user experience, but also does not occupy the money of the user in advance, and the user can conveniently inquire all fueling records through the user terminal, which is equal to increasing the viscosity of the user of the fueling station.
The second embodiment of the application provides a device, which comprises a memory and a processor, wherein the memory is used for storing programs, and the memory can be connected with the processor through a bus. The memory may be non-volatile memory, such as a hard disk drive and flash memory, in which software programs and device drivers are stored. The software program can execute various functions of the method provided by the embodiment of the application; the device driver may be a network and interface driver. The processor is configured to execute a software program, where the software program is executed to implement the method provided in the first embodiment of the present application.
A third embodiment of the present application provides a computer program product containing instructions, which when executed on a computer, cause the computer to perform the method provided by the first embodiment of the present application.
The fourth embodiment of the present application provides a computer readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method provided in the first embodiment of the present application is implemented.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing detailed description of the application has been presented for purposes of illustration and description, and it should be understood that the application is not limited to the particular embodiments disclosed, but is intended to cover all modifications, equivalents, alternatives, and improvements within the spirit and principles of the application.