Oil purchase order payment method and device, computer equipment and storage medium

By acquiring prepaid fuel purchase orders and actual fuel purchase data from refueling vehicles, the system automatically updates and generates actual fuel purchase orders, and transfers resources between the resource initiator and the recipient. This solves the problem of low payment efficiency for traditional gas station fuel purchase orders and achieves automated fuel purchase efficiency improvement.

CN118886902APending Publication Date: 2024-11-01TIANJIN YINENG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411023859.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Traditional payment methods for fuel purchase orders at gas stations are inefficient, require manual intervention, and cannot automate the handling of discrepancies in fuel purchase orders.

Method used

By acquiring the prepaid fuel purchase orders and actual fuel purchase data of vehicles waiting to be refueled, the system automatically updates and generates actual fuel purchase orders, and performs resource transfer processing between the resource initiator and the recipient to eliminate resource deviations.

Benefits of technology

It improves oil purchasing efficiency, eliminates the need for manual operation, and automates the processing of deviations in oil purchase orders, thereby increasing the transaction efficiency between the resource initiator and the recipient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886902A_ABST
    Figure CN118886902A_ABST
Patent Text Reader

Abstract

The invention relates to an oil purchase order payment method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a prepayment oil purchasing order of a vehicle to be refueled; the prepayment oil order comprises an order identifier and paid resources; after the to-be-refueled vehicle is refueled based on the prepayment oil purchase order, actual oil purchase data corresponding to the order identifier is acquired; according to the actual oil purchasing data and paid resources in the prepayment oil purchasing order, updating the prepayment oil purchasing order to obtain an actually-paid oil purchasing order; wherein the actually-paid oil purchasing order comprises deviation resources; the deviation resources are to-be-returned resources or to-be-supplemented resources; and under the condition that the deviation resource in the actually-paid oil purchasing order is not zero, carrying out resource transfer processing on the deviation resource between the resource initiator and the resource receiver so as to eliminate the deviation resource. By adopting the method, the oil purchasing efficiency between the resource initiator and the resource receiver can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for paying for an oil purchase order. Background Art

[0002] With the development of non-stop toll collection systems, non-stop toll collection systems have been applied in various fields. In traditional technology, the way to charge vehicles at gas stations is still that the staff will pay for the oil purchase order after serving the car owner. Although this method can complete the payment of the oil purchase order, it has the problem of low oil purchase efficiency. Summary of the invention

[0003] Based on this, it is necessary to provide an oil purchase order payment method, device, computer equipment and storage medium that can improve oil purchase efficiency in response to the above technical problems.

[0004] In a first aspect, the present application provides a method for paying an oil purchase order, comprising:

[0005] Obtain the prepaid fuel purchase order of the vehicle to be refueled; the prepaid fuel purchase order includes the order identifier and the paid resources;

[0006] After the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained;

[0007] According to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented;

[0008] When the deviation resources in the actual oil purchase order are not zero, resource transfer processing is performed between the resource initiator and the resource receiver for the deviation resources to eliminate the deviation resources.

[0009] In one embodiment, the prepaid oil purchase order is updated based on the actual oil purchase data and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order, including:

[0010] Determine the actual paid resources corresponding to the order identifier based on the purchased oil volume and unit price per volume in the actual oil purchase data;

[0011] According to the difference between the actual paid resources and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order.

[0012] In one embodiment, according to the difference between the actual paid resources and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order, including:

[0013] In the case where the actual paid resources are greater than the paid resources, the first difference between the actual paid resources and the paid resources is used as the resources to be supplemented, and the resources to be supplemented are added to the prepaid oil purchase order as deviation resources to obtain the actual paid oil purchase order;

[0014] In the case where the actual paid resources are less than the paid resources, the second difference between the paid resources and the actual paid resources is used as the resources to be returned, and the resources to be returned are added to the prepaid oil purchase order as deviation resources to obtain the actual paid oil purchase order;

[0015] When the actual paid resources are equal to the prepaid resources, a deviation resource with a value of zero is added to the prepaid oil purchase order to obtain the actual paid oil purchase order.

[0016] In one embodiment, when the deviation resource in the actual oil purchase order is not zero, resource transfer processing is performed between the resource initiator and the resource receiver for the deviation resource, including:

[0017] When there are non-zero resources to be returned in the actual oil purchase order, the resources to be returned are transferred from the resource receiver to the resource initiator;

[0018] When there are non-zero resources to be replenished in the actual oil purchase order, the resources to be replenished are transferred from the resource initiator to the resource receiver.

[0019] In one embodiment, the prepaid oil purchase order is generated in the following manner:

[0020] Get the historical fuel purchase orders of the vehicles to be refueled;

[0021] Determine the target credit score of the order initiator for the prepaid oil purchase order based on the resource payment status in the historical oil purchase order;

[0022] When the target credit score is greater than the preset score threshold, a reservation purchase order number is generated according to the oil purchase business corresponding to the vehicle to be refueled;

[0023] Generate a prepaid oil purchase order based on the reserved oil purchase order number and the resources to be prepaid;

[0024] Among them, the resources to be prepaid in the prepaid oil purchase order will be changed to paid resources after the order initiator successfully pays.

[0025] In one embodiment, determining a target credit score of an order initiator corresponding to a prepaid oil purchase order based on resource payment status in historical oil purchase orders includes:

[0026] Determine the first credit score of the order initiator according to whether the order initiator belongs to the preset blacklist user in the historical oil purchase order;

[0027] Determine the second credit score of the order initiator according to whether the order initiator has any associated unpaid orders in the historical oil purchase orders;

[0028] A target credit score of the order initiator is determined according to the first credit score and the second credit score.

[0029] In a second aspect, the present application also provides an oil purchase order payment device, comprising:

[0030] An order acquisition module is used to acquire a prepaid oil purchase order for a vehicle to be refueled; the prepaid oil purchase order includes an order identifier and paid resources;

[0031] A data acquisition module, used to acquire actual oil purchase data corresponding to the order identifier after the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order;

[0032] The order update module is used to update the prepaid oil purchase order according to the actual oil purchase data and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented;

[0033] The resource transfer module is used to perform resource transfer processing on the deviation resources between the resource initiator and the resource receiver to eliminate the deviation resources when the deviation resources in the actual oil purchase order are not zero.

[0034] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0035] Obtain the prepaid fuel purchase order of the vehicle to be refueled; the prepaid fuel purchase order includes the order identifier and the paid resources;

[0036] After the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained;

[0037] According to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented;

[0038] When the deviation resources in the actual oil purchase order are not zero, resource transfer processing is performed between the resource initiator and the resource receiver for the deviation resources to eliminate the deviation resources.

[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0040] Obtain the prepaid fuel purchase order of the vehicle to be refueled; the prepaid fuel purchase order includes the order identifier and the paid resources;

[0041] After the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained;

[0042] According to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented;

[0043] When the deviation resources in the actual oil purchase order are not zero, resource transfer processing is performed between the resource initiator and the resource receiver for the deviation resources to eliminate the deviation resources.

[0044] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0045] Obtain the prepaid fuel purchase order of the vehicle to be refueled; the prepaid fuel purchase order includes the order identifier and the paid resources;

[0046] After the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained;

[0047] According to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented;

[0048] When the deviation resources in the actual oil purchase order are not zero, resource transfer processing is performed between the resource initiator and the resource receiver for the deviation resources to eliminate the deviation resources.

[0049] The above-mentioned oil purchase order payment method, device, computer equipment and storage medium obtain a prepaid oil purchase order for a vehicle to be refueled; the prepaid oil purchase order includes an order identifier and paid resources; after the vehicle to be refueled is refueled based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained; according to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain an actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented; when the deviation resources in the actual paid oil purchase order are not zero, resource transfer processing is performed between the resource initiator and the resource receiver for the deviation resources to eliminate the deviation resources. In this embodiment, the prepaid oil purchase order that has been paid is updated through the actual oil purchase data to generate an actual paid oil purchase order, and when the deviation resources in the actual paid oil purchase order are not zero, the deviation resources are eliminated, thereby improving the oil purchase efficiency between the resource initiator and the resource receiver. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 An application environment diagram of an oil purchase order payment method provided in this embodiment;

[0052] Figure 2 A schematic diagram of the process of the first oil purchase order payment method provided in this embodiment;

[0053] Figure 3 A schematic diagram of the flow of the second oil purchase order payment method provided in this embodiment;

[0054] Figure 4 A structural block diagram of an oil purchase order payment device provided in this embodiment;

[0055] Figure 5 An internal structure diagram of a first computer device provided in this embodiment;

[0056] Figure 6 This is a diagram of the internal structure of the second computer device provided in this embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] The oil purchase order payment method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the resource receiver 104 can be a receiver of resources, and the receiver can be a gas station. The resource initiator 102 can be an initiator of paying resources after receiving the oil purchase order, and the resource initiator can be a terminal device of the corresponding owner of the vehicle to be refueled. The resource receiver 104 obtains the prepaid oil purchase order of the vehicle to be refueled; the prepaid oil purchase order includes an order identifier and paid resources; after the refueling of the vehicle to be refueled based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained; according to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented; when the deviation resources in the actual paid oil purchase order are not zero, resource transfer processing is performed on the deviation resources between the resource initiator 102 and the resource receiver 104 to eliminate the deviation resources.

[0059] In an exemplary embodiment, Figure 2 As shown, a method for paying for oil purchase orders is provided, and the method is applied to Figure 1 The resource receiver 104 in the example is used as an example to illustrate, including the following steps 201 to 204. Among them:

[0060] Step 201, obtaining a prepaid fuel purchase order for a vehicle to be refueled.

[0061] The vehicle to be refueled may be a vehicle that enters a gas station and waits for refueling. The prepaid oil purchase order includes an order identifier and paid resources.

[0062] Optionally, the resource recipient obtains a prepaid fuel purchase order corresponding to the vehicle to be refueled through the Electronic Toll Collection (ETC) system.

[0063] It should be noted that before obtaining the prepaid oil purchase order, it also includes: the resource initiator corresponding to the vehicle to be refueled binds the license plate of the vehicle to be refueled on the mini program in advance, and activates the password-free resource transfer. After the vehicle to be refueled enters the parking space next to the oil engine of the gas station, the parking space mode can be turned on in the operation panel of the oil engine, and a refueling instruction is generated to send the refueling instruction to the identification device. The identification device accepts the refueling instruction and identifies the vehicle to be refueled in the parking space according to the refueling instruction (such as starting the antenna to identify the vehicle-mounted unit OBU and ETC card information of the vehicle to be refueled), and confirms the historical oil purchase order of the resource initiator corresponding to the vehicle to be refueled. When it is determined that there is no error in the historical oil purchase order, a prepaid oil purchase order is generated, and resource deduction processing is performed, and synchronous and asynchronous execution is performed to display the license plate and other data of the vehicle to be refueled in the operation panel.

[0064] Step 202, after refueling the vehicle to be refueled based on the prepaid oil purchase order, obtain the actual oil purchase data corresponding to the order identifier.

[0065] Among them, the actual oil purchase data can be the data generated in the process of adding oil to the vehicle to be refueled. For example, the actual oil purchase data includes: oil number, oil gun number, preset oil purchase resources, oil purchase volume, unit price per volume and gas station preferential resources, etc.

[0066] Specifically, after the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order, the order identifier and the actual oil purchase data are obtained, and the order identifier is associated with the actual oil purchase data.

[0067] Step 203: update the prepaid oil purchase order according to the actual oil purchase data and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order.

[0068] Among them, the actual paid oil purchase order includes deviation resources; deviation resources are resources to be returned or to be replenished.

[0069] Specifically, according to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the deviation resources are determined, the deviation resources are added to the prepaid oil purchase order, and the prepaid oil purchase order is updated to obtain the actual paid oil purchase order.

[0070] Step 204: When the deviation resource in the actual oil purchase order is not zero, a resource transfer process is performed between the resource initiator and the resource receiver for the deviation resource to eliminate the deviation resource.

[0071] Specifically, when the deviation resources in the actual oil purchase order are not zero, the positive or negative status of the deviation resources is determined. If the deviation resources are positive, it proves that the deviation resources are resources to be replenished. Therefore, the resources to be replenished are transferred from the resource initiator to the resource recipient; if the deviation resources are negative, it proves that the deviation resources are resources to be returned. Therefore, the resources to be returned are transferred from the resource recipient to the resource initiator to eliminate the deviation resources.

[0072] Optionally, in some embodiments, when the deviation resources in the actual paid oil purchase order are not zero, resource transfer processing is performed for the deviation resources between the resource initiator and the resource receiver, including: when there are non-zero resources to be returned in the actual paid oil purchase order, the resources to be returned are transferred from the resource receiver to the resource initiator; when there are non-zero resources to be replenished in the actual paid oil purchase order, the resources to be replenished are transferred from the resource initiator to the resource receiver.

[0073] It should be noted that after eliminating the deviation resources, a message reminder of the completion of the actual payment oil purchase order can also be generated and output.

[0074] The above-mentioned oil purchase order payment method obtains a prepaid oil purchase order for a vehicle to be refueled; the prepaid oil purchase order includes an order identifier and paid resources; after the vehicle to be refueled is refueled based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained; according to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain an actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented; when the deviation resources in the actual paid oil purchase order are not zero, resource transfer processing is performed between the resource initiator and the resource receiver for the deviation resources to eliminate the deviation resources. In this embodiment, the prepaid oil purchase order that has been paid is updated through the actual oil purchase data to generate an actual paid oil purchase order, and when the deviation resources in the actual paid oil purchase order are not zero, the deviation resources are eliminated, thereby improving the oil purchase efficiency between the resource initiator and the resource receiver.

[0075] In some embodiments, the prepaid oil purchase order is updated based on the actual oil purchase data and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order, including: determining the actual paid resources corresponding to the order identifier based on the purchased oil volume and the unit price per volume in the actual oil purchase data; and updating the prepaid oil purchase order based on the difference between the actual paid resources and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order.

[0076] Specifically, the product value between the purchased oil volume and the unit price per volume in the actual oil purchase data is determined, and the product value is used as the actual paid resource corresponding to the order identifier. Then, according to the difference between the actual paid resource and the paid resource in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual paid oil purchase order.

[0077] In some embodiments, the prepaid oil purchase order is updated according to the difference between the actual paid resources and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order, including: when the actual paid resources are greater than the paid resources, the first difference between the actual paid resources and the paid resources is used as the resources to be supplemented, and the resources to be supplemented are added to the prepaid oil purchase order as deviation resources to obtain the actual paid oil purchase order; when the actual paid resources are less than the paid resources, the second difference between the paid resources and the actual paid resources is used as the resources to be returned, and the resources to be returned are added to the prepaid oil purchase order as deviation resources to obtain the actual paid oil purchase order; when the actual paid resources are equal to the prepaid resources, a deviation resource with a value of zero is added to the prepaid oil purchase order to obtain the actual paid oil purchase order.

[0078] Specifically, when the actual paid resources are greater than the paid resources, at this time, after the paid resources are deducted from the actual paid resources, some of the actual paid resources will still be unpaid, that is, the first difference between the actual paid resources and the paid resources is used as the resources to be replenished, and the resources to be replenished are added to the prepaid oil purchase order as deviation resources to obtain the actual paid oil purchase order; when the actual paid resources are less than the paid resources, at this time, after the paid resources are deducted from the actual paid resources, some of the paid resources will still be unused, that is, the second difference between the paid resources and the actual paid resources is used as the resources to be returned, and the resources to be returned are added to the prepaid oil purchase order as deviation resources to obtain the actual paid oil purchase order; when the actual paid resources are equal to the prepaid resources, at this time, there is no remaining paid resources after deducting the actual paid resources. Therefore, it can be determined that the deviation resources are zero, and the deviation resources with a value of zero are added to the prepaid oil purchase order to obtain the actual paid oil purchase order.

[0079] This embodiment determines the actual paid resources corresponding to the order identifier based on the actual oil purchase volume and unit price per volume in the actual oil purchase data, and then updates the prepaid oil purchase order based on the difference between the actual paid resources and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order, thereby improving the accuracy of the generation of the actual paid oil purchase order.

[0080] In some embodiments, a prepaid oil purchase order is generated in the following manner: historical oil purchase orders of the vehicle to be refueled are obtained; a target credit score of the order initiator corresponding to the prepaid oil purchase order is determined based on the resource payment status in the historical oil purchase orders; when the target credit score is greater than a preset score threshold, a pre-order oil purchase order number is generated based on the oil purchase business corresponding to the vehicle to be refueled; and a prepaid oil purchase order is generated based on the pre-order oil purchase order number and the resources to be prepaid.

[0081] Among them, the resources to be prepaid in the prepaid oil purchase order will be changed to paid resources after the order initiator successfully pays.

[0082] Specifically, after the vehicle to be refueled enters the gas station and parks in the parking space, the historical oil purchase orders of the vehicle to be refueled are obtained, the resource payment status of each historical oil purchase order is determined, and the target credit score of the order initiator corresponding to the prepaid oil purchase order is determined according to the resource payment status; if the target credit score is less than or equal to the preset score threshold, an output reminder prohibiting the vehicle to be refueled from refueling is directly output; if the target credit score is greater than the preset score threshold, according to the oil purchase business corresponding to the vehicle to be refueled, a pre-trained order number is generated through an order number generation algorithm, and the pre-paid oil purchase order is composed of the pre-paid oil purchase order.

[0083] It should be noted that the resource recipient of the present application can complete the resource transfer of the resources to be prepaid in the prepaid oil purchase order and the resource transfer of the deviation resources in the actual paid oil purchase order through the electronic non-stop toll collection system.

[0084] In some embodiments, a target credit score of an order initiator corresponding to a prepaid oil purchase order is determined based on resource payment status in historical oil purchase orders, including: determining a first credit score of the order initiator based on whether the order initiator in the historical oil purchase orders belongs to a preset blacklist user; determining a second credit score of the order initiator based on whether the order initiator in the historical oil purchase orders has any associated unpaid orders; and determining the target credit score of the order initiator based on the first credit score and the second credit score.

[0085] It should be noted that, this embodiment can also directly output an output reminder prohibiting the vehicle to be refueled from refueling when it is determined that the order initiator in the historical oil purchase order is a blacklist user, or when it is determined that the order initiator in the historical oil purchase order has an associated unpaid order.

[0086] This embodiment improves the refueling efficiency and does not require manual operation. It is fully automated and simplifies manual operation.

[0087] In one embodiment, this embodiment provides an optional method for paying for an oil purchase order, and takes the method applied to a server as an example for explanation. Figure 3 As shown, the method comprises the following steps:

[0088] Step 301, obtaining the historical fuel purchase orders of the vehicle to be refueled.

[0089] Step 302: Determine the target credit score of the order initiator corresponding to the prepaid oil purchase order based on the resource payment status in the historical oil purchase order.

[0090] Step 303: When the target credit score is greater than a preset score threshold, a fuel purchase order number is generated according to the fuel purchase business corresponding to the vehicle to be refueled.

[0091] Step 304: Generate a prepaid oil purchase order based on the reserved oil purchase order number and the resources to be prepaid.

[0092] Step 305, obtaining a prepaid oil purchase order for the vehicle to be refueled; wherein the prepaid oil purchase order includes an order identifier and paid resources; the resources to be prepaid in the prepaid oil purchase order are changed to paid resources after the order initiator successfully pays.

[0093] Step 306, after the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order, the actual oil purchase data corresponding to the order identifier is obtained.

[0094] Step 307, determining the actual payment resources corresponding to the order identifier according to the purchased oil volume and unit price per volume in the actual oil purchase data.

[0095] Step 308: update the prepaid oil purchase order according to the difference between the actual paid resources and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes the deviation resources.

[0096] Step 309: When the deviation resource in the actual oil purchase order is not zero, a resource transfer process is performed between the resource initiator and the resource receiver for the deviation resource to eliminate the deviation resource.

[0097] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0098] Based on the same inventive concept, the embodiment of the present application also provides an oil purchase order payment device for implementing the above-mentioned oil purchase order payment method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the oil purchase order payment device provided below can refer to the limitations of the oil purchase order payment method above, and will not be repeated here.

[0099] In an exemplary embodiment, Figure 4 As shown, a device for paying for oil purchase orders is provided, comprising: an order acquisition module 10, a data acquisition module 11, an order update module 12 and a resource transfer module 13, wherein:

[0100] The order acquisition module 10 is used to acquire the prepaid oil purchase order of the vehicle to be refueled; the prepaid oil purchase order includes an order identifier and paid resources;

[0101] The data acquisition module 11 is used to acquire the actual oil purchase data corresponding to the order identifier after the refueling of the vehicle to be refueled is completed based on the prepaid oil purchase order;

[0102] The order updating module 12 is used to update the prepaid oil purchase order according to the actual oil purchase data and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented;

[0103] The resource transfer module 13 is used to perform resource transfer processing on the deviation resources between the resource initiator and the resource receiver to eliminate the deviation resources when the deviation resources in the actual oil purchase order are not zero.

[0104] In one embodiment, Figure 4 The order update module 12 is also used to determine the actual payment resources corresponding to the order identifier according to the actual oil purchase volume and unit price per volume in the actual oil purchase data; according to the difference between the actual payment resources and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actual payment oil purchase order.

[0105] In one embodiment, Figure 4The order updating module 12 in the embodiment is also used for, when the actual paid resources are greater than the paid resources, taking the first difference between the actual paid resources and the paid resources as the resources to be supplemented, and adding the resources to be supplemented as the deviation resources to the prepaid oil purchase order to obtain the actual paid oil purchase order; when the actual paid resources are less than the paid resources, taking the second difference between the paid resources and the actual paid resources as the resources to be returned, and adding the resources to be returned as the deviation resources to the prepaid oil purchase order to obtain the actual paid oil purchase order; when the actual paid resources are equal to the prepaid resources, adding the deviation resources with a value of zero to the prepaid oil purchase order to obtain the actual paid oil purchase order.

[0106] In one embodiment, Figure 4 The resource transfer module 13 is also used to transfer the resources to be returned from the resource receiver to the resource initiator when there are non-zero resources to be returned in the actual paid oil purchase order; and to transfer the resources to be replenished from the resource initiator to the resource receiver when there are non-zero resources to be replenished in the actual paid oil purchase order.

[0107] In one embodiment, Figure 4 The oil purchase order payment device is also used to obtain historical oil purchase orders of vehicles to be refueled; determine the target credit score of the order initiator corresponding to the prepaid oil purchase order according to the resource payment status in the historical oil purchase orders; when the target credit score is greater than a preset score threshold, generate a prepaid oil purchase order number according to the oil purchase business corresponding to the vehicle to be refueled; generate a prepaid oil purchase order according to the prepaid oil purchase order number and the resources to be prepaid; wherein the resources to be prepaid in the prepaid oil purchase order are changed to paid resources after the order initiator successfully pays.

[0108] In one embodiment, Figure 4 The oil purchase order payment device is also used to determine the first credit score of the order initiator according to whether the order initiator in the historical oil purchase orders belongs to a preset blacklist user; determine the second credit score of the order initiator according to whether the order initiator in the historical oil purchase orders has associated unpaid orders; and determine the target credit score of the order initiator according to the first credit score and the second credit score.

[0109] Each module in the above-mentioned oil purchase order payment device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0110] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store oil purchase order data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for paying for an oil purchase order is implemented.

[0111] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for paying for an oil purchase order is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0112] Those skilled in the art will understand that Figure 5 and Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0113] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0114] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0115] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0116] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0117] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0118] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0119] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for paying for an oil purchase order, characterized in that: The method comprises: Obtaining a prepaid oil purchase order for a vehicle to be refueled; the prepaid oil purchase order includes an order identifier and paid resources; After the vehicle to be refueled is refueled based on the prepaid oil purchase order, actual oil purchase data corresponding to the order identifier is obtained; According to the actual oil purchase data and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain an actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented; When the deviation resource in the actual oil purchase order is not zero, a resource transfer process is performed between the resource initiator and the resource receiver for the deviation resource to eliminate the deviation resource.

2. The method according to claim 1, characterized in that The updating process of the prepaid oil purchase order according to the actual oil purchase data and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order includes: Determine the actual payment resources corresponding to the order identifier according to the purchased oil volume and unit price per volume in the actual oil purchase data; According to the difference between the actually paid resources and the paid resources in the prepaid oil purchase order, the prepaid oil purchase order is updated to obtain the actually paid oil purchase order.

3. The method according to claim 2, characterized in that The updating process of the prepaid oil purchase order according to the difference between the actual paid resources and the paid resources in the prepaid oil purchase order to obtain the actual paid oil purchase order includes: In the case where the actual paid resources are greater than the paid resources, taking a first difference between the actual paid resources and the paid resources as the resources to be replenished, and adding the resources to be replenished as the deviation resources to the prepaid oil purchase order to obtain the actual paid oil purchase order; In the case that the actual paid resources are less than the paid resources, taking the second difference between the paid resources and the actual paid resources as the resources to be returned, and adding the resources to be returned as the deviation resources to the prepaid oil purchase order to obtain the actual paid oil purchase order; In the case where the actual paid resources are equal to the prepaid resources, a deviation resource with a value of zero is added to the prepaid oil purchase order to obtain the actual paid oil purchase order.

4. The method according to claim 1, characterized in that When the deviation resource in the actual oil purchase order is not zero, performing resource transfer processing for the deviation resource between the resource initiator and the resource receiver includes: In the case that there are non-zero resources to be returned in the actual oil purchase order, transferring the resources to be returned from the resource receiver to the resource initiator; In the case that there are non-zero resources to be replenished in the actual oil purchase order, the resources to be replenished are transferred from the resource initiator to the resource receiver.

5. The method according to claim 1, characterized in that The prepaid oil purchase order is generated in the following manner: Obtaining historical fuel purchase orders for the vehicle to be refueled; Determining a target credit score of the order initiator corresponding to the prepaid oil purchase order according to the resource payment status in the historical oil purchase order; When the target credit score is greater than a preset score threshold, a reservation oil purchase order number is generated according to the oil purchase business corresponding to the vehicle to be refueled; Generating the prepaid oil purchase order according to the reserved oil purchase order number and the resources to be prepaid; The resources to be prepaid in the prepaid oil purchase order are changed to the paid resources after the order initiator successfully pays.

6. The method according to claim 5, characterized in that Determining the target credit score of the order initiator corresponding to the prepaid oil purchase order according to the resource payment status in the historical oil purchase order includes: Determining a first credit score of the order initiator according to whether the order initiator in the historical oil purchase order belongs to a preset blacklist user; Determining a second credit score of the order initiator according to whether the order initiator has any associated unpaid orders in the historical oil purchase orders; A target credit score of the order initiator is determined according to the first credit score and the second credit score.

7. A device for paying for oil purchase orders, characterized in that: The device comprises: An order acquisition module is used to acquire a prepaid oil purchase order for a vehicle to be refueled; the prepaid oil purchase order includes an order identifier and paid resources; A data acquisition module, used for acquiring actual oil purchase data corresponding to the order identifier after the vehicle to be refueled is refueled based on the prepaid oil purchase order; An order update module is used to update the prepaid oil purchase order according to the actual oil purchase data and the paid resources in the prepaid oil purchase order to obtain an actual paid oil purchase order; wherein the actual paid oil purchase order includes deviation resources; the deviation resources are resources to be returned or to be supplemented; The resource transfer module is used to perform resource transfer processing on the deviation resource between the resource initiator and the resource receiver to eliminate the deviation resource when the deviation resource in the actual oil purchase order is not zero.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.