Mobile payment and automatic billing integrated solution system suitable for service scene of gas station
By introducing an integrated solution system for mobile payment and automatic invoice billing in gas stations, the problems of separation of payment and invoice procedures and complex operations in the existing technology are solved, and the seamless connection between payment and invoice billing is achieved, and service efficiency and system reliability are improved.
Patent Information
- Application Number
- CN202411938460.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-22
AI Technical Summary
The payment and invoice process at existing gas stations are separated, the operation is complex and low in automation, causing consumers to need additional operations to complete invoice application, adding operational steps and may cause inefficiency problems.
An integrated solution system for mobile payment and automatic invoice is designed, including product management module, fuel gun management module, QR code management module, order management module, invoice management module and background management module. Through the coordinated work of these modules, the close connection between payment and invoice process is achieved. Consumers can complete fuel payment and invoice application by scanning the QR code on the fuel gun.
It realizes seamless integration of gas station payment and invoice process, simplifies consumer operations, improves service efficiency, reduces operating costs, and improves the reliability and stability of the system through automated and intelligent design.
Smart Images

Figure CN119863239A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic payment technology, and specifically to an integrated mobile payment and automatic invoicing solution system suitable for gas station business scenarios. Background Art
[0002] With the development of mobile payment technology, gas stations have gradually introduced mobile-based payment methods, such as Alipay and WeChat Pay, providing consumers with a more convenient payment method. In the prior art, gas stations usually exchange data with payment systems through gas pump equipment, and consumers can settle by scanning the code after refueling. At the same time, some gas stations also support invoice issuance services, and consumers can apply for invoices after filling in the invoice information through the gas station's invoicing terminal equipment or mobile terminal. This model has improved the cumbersomeness of the traditional paper invoice process to a certain extent and met the basic needs of daily operations of gas stations.
[0003] However, in the prior art, the payment and invoicing processes at gas stations are mostly still separated, and consumers need to perform additional operations to complete the invoice application after payment is completed. Due to the lack of close connection between the payment and invoicing processes, consumers need to manually enter the invoice header information, and even need to use special equipment at the gas station to complete the invoicing in some scenarios. This method not only increases the number of operation steps, but is also prone to inefficiency due to information entry errors or operation delays, especially during peak hours, which can easily lead to queuing. In addition, traditional systems have difficulty in quickly adapting to oil price fluctuations or changes in tax policies in terms of the management and maintenance of commodity information. The update of commodity information (such as tax codes, tax rates, etc.) often lags behind actual needs, which may lead to inaccurate or even non-compliant invoice information, further affecting consumers' experience and the operating efficiency of gas stations. Therefore, there is still a lot of room for optimization in the prior art. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides an integrated mobile payment and automatic invoicing solution suitable for gas station business scenarios, which solves the problems of separation of payment and invoicing processes, complex operations and low degree of automation in existing gas stations.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a mobile payment and automatic invoicing integrated solution system suitable for gas station business scenarios, including: The commodity management module is used to maintain the basic information of the invoiced commodities, including commodity name, tax code, unit price, unit and tax rate; The fuel gun management module is used to manage the fuel gun information. Each fuel gun corresponds to a unique number and is bound to the product information. The QR code management module is used to generate a QR code bound to the fuel gun number. The QR code contains the encrypted fuel gun number information. The order management module is used to process business orders associated with the gas station backend management system, including order generation, payment and status management; The invoicing management module is used to process the invoice application after the consumer has successfully paid, and send the electronic invoice to the consumer via SMS or email; The backend management module is connected with the fuel dispenser equipment, payment channels and invoicing channels to realize the real-time transmission of fueling data, payment processing and invoice management.
[0006] Preferably, the QR code management module generates a QR code containing encrypted data according to the fuel gun number, and the QR code content includes the fuel gun number and the encrypted identifier.
[0007] Preferably, the order management module generates an order by comprising the following steps: a. Receive refueling data transmitted by the refueling machine; b. Generate an order based on the received data and mark the order status as "unpaid"; The refueling data includes the refueling gun number, refueling quantity, unit price and amount.
[0008] Preferably, the payment management module includes: Payment interface, used to access the mobile payment platform; The payment processing unit determines the payment environment and initiates a payment request. After the payment is successful, the order status is automatically updated to "Payment Successful"; The mobile payment platforms include but are not limited to Alipay and WeChat.
[0009] Preferably, the invoicing management module generates an invoice application after the order payment is successful, and supports the following operations: (1) Receive the invoicing header information filled in by the consumer; (2) Apply for electronic invoices through the tax system interface; (3) Record the invoicing status. If the invoicing fails, a retry mechanism is triggered.
[0010] Preferably, the background management module includes: Product information management unit, used to update and maintain product name, tax code, unit price and tax rate; The fuel gun management unit is used to maintain the binding relationship between the fuel gun number and the product information; Order query unit, used to display the payment status and invoicing status of the order; The invoicing retry unit is used to automatically retry orders that fail invoicing.
[0011] Preferably, the two-dimensional code management module realizes free modification of the binding relationship between the fuel gun and the two-dimensional code through the dynamic binding mechanism in the background management system, specifically including: A. The administrator can select the target fuel gun number in the backend management system. B. Modify the binding relationship between the QR code and the new fuel pump number. C. The modified QR code can continue to be used without regenerating it.
[0012] Preferably, in the payment processing unit, the following formula conditions are satisfied after successful payment: Total order amount = refueling amount × unit price Among them, the refueling quantity and unit price are transmitted from the refueling machine to the background management module.
[0013] Preferably, in the invoicing module, the issuance of electronic invoices must meet the following conditions: Tax amount = total order amount × tax rate Among them, the tax rate is configured in the commodity management module according to the tax code of the commodity.
[0014] Preferably, the QR code management module includes a guidance mechanism. After the consumer scans the QR code on the fuel pump, the system operation page is automatically entered. The operation page includes: Automatically obtain the corresponding fuel gun number and order information; Provide order confirmation and payment entry; Support users to apply for invoicing on their own, fill in the invoicing header information and submit the invoicing application; Provide a download link or send option for electronic invoice.
[0015] The present invention provides a mobile payment and automatic invoicing integrated solution system suitable for gas station business scenarios. It has the following beneficial effects: 1. The present invention realizes the integrated integration of gas station payment and invoicing processes for the first time through the collaborative work of system modules. Consumers can complete gas payment and invoice application by scanning the QR code on the gas pump without additional operation or special equipment. After the payment is completed, the system automatically generates an order and applies for an electronic invoice, which is sent to the consumer via SMS or email. This design effectively simplifies the complex process of separation of payment and invoicing in the traditional model, reduces consumer operating costs, and significantly improves service efficiency.
[0016] 2. The present invention not only reduces the operation links by seamlessly connecting the payment and invoicing processes, but also avoids queuing and congestion problems caused by separation of operations during peak hours. Consumers can quickly complete payment and invoicing operations through mobile terminals after refueling, avoiding the inconvenience caused by manual intervention or system delays. At the same time, the convenience and smoothness of the service are improved. Gas stations can also operate efficiently under high traffic conditions, effectively responding to the demand for fast services during peak hours.
[0017] 3. The present invention realizes real-time update of order status and automatic generation of invoice after successful payment through efficient collaboration of the product management module, order management module and invoicing management module. At the same time, when invoicing fails, the system can trigger a retry mechanism to ensure that the invoice application is finally completed. The dynamic binding mechanism of the QR code management module further enhances the flexibility of the system. The precise association between the gas pump and product information effectively avoids data errors in traditional operations. The automation and intelligent design of the entire process makes the system highly reliable and stable.
[0018] 4. The present invention provides flexible configuration functions through the background management module. Administrators can dynamically adjust the unit price, tax rate and promotion rules of goods to quickly adapt to oil price fluctuations or tax policy changes. The product code synchronization function of the product management module and the tax authority ensures the accuracy and compliance of the invoicing data, avoiding tax risks caused by input errors or inconsistent data. At the same time, the modular design facilitates the system to access more payment platforms or external tax interfaces, and has good scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of a module of the present invention; Figure 2 This is the operation logic diagram of the present invention. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the specification of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] Please see attached Figure 1 -Attached Figure 2 The embodiment of the present invention provides a mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios, including: The commodity management module is used to maintain the basic information of the invoiced commodities, including commodity name, tax code, unit price, unit and tax rate; The fuel gun management module is used to manage the fuel gun information. Each fuel gun corresponds to a unique number and is bound to the product information. The QR code management module is used to generate a QR code bound to the fuel gun number. The QR code contains the encrypted fuel gun number information. The order management module is used to process business orders associated with the gas station backend management system, including order generation, payment and status management; The invoicing management module is used to process the invoice application after the consumer has successfully paid, and send the electronic invoice to the consumer via SMS or email; The backend management module connects with the fuel dispenser equipment, payment channels and invoicing channels to achieve real-time transmission of fueling data, payment processing and invoice management; The QR code management module generates a QR code containing encrypted data according to the fuel gun number, and the QR code content includes the fuel gun number and the encryption identifier; The order management module generates an order by following these steps: a. Receive refueling data transmitted by the refueling machine; b. Generate an order based on the received data and mark the order status as "unpaid"; The refueling data includes the refueling gun number, refueling quantity, unit price and amount; The payment management module includes: Payment interface, used to access the mobile payment platform; The payment processing unit determines the payment environment and initiates a payment request. After the payment is successful, the order status is automatically updated to "Payment Successful"; Mobile payment platforms include but are not limited to Alipay and WeChat.
[0022] The invoicing management module generates an invoice application after the order payment is successful, and supports the following operations: (1) Receive the invoicing header information filled in by the consumer; (2) Apply for electronic invoices through the tax system interface; (3) Record the invoicing status and trigger a retry mechanism if the invoicing fails; The QR code management module uses the dynamic binding mechanism in the background management system to freely modify the binding relationship between the fuel gun and the QR code, including: A. The administrator can select the target fuel gun number in the backend management system. B. Modify the binding relationship between the QR code and the new fuel pump number. C. The modified QR code can continue to be used without regenerating; In the payment processing unit, the following formula conditions are met after the payment is successful: Total order amount = refueling amount × unit price Among them, the refueling quantity and unit price are transmitted from the refueling machine to the background management module; In the invoicing module, the issuance of electronic invoices must meet the following conditions: Tax amount = total order amount × tax rate Among them, the tax rate is configured in the commodity management module according to the tax code of the commodity.
[0023] Specifically, the present invention provides an integrated mobile payment and automatic invoicing solution system suitable for gas station business scenarios, in which the product management module is responsible for maintaining and managing the basic information of gas station invoicing products, and is an important module for realizing accurate data processing in the system. The product management module interacts with the gas pump management module, order management module, etc. to ensure the consistency and accuracy of product information in payment, order generation and subsequent operations. It should be noted that this module not only supports the entry and verification of product information, but also provides dynamic adjustment, promotion rule setting and synchronization with external system data to adapt to the diversity of gas station business needs.
[0024] In this embodiment, the commodity management module allows the gas station administrator to enter the basic information of the commodity to ensure that the commodity data in the system is consistent with the standards of the tax authorities. Commodity information includes but is not limited to the following: Product name: such as "92# gasoline", "95# gasoline"; Tax code: such as "2710192010", which must comply with the standards issued by the national tax authorities; Unit: such as "liter"; Unit price: such as 8 yuan / liter; Tax rate: such as 13%.
[0025] Specifically, when goods are entered, the system assigns a unique identifier to each product, which corresponds one-to-one with the tax code, ensuring that the product is unique in the system and avoiding product identification problems caused by duplicate names or entry errors.
[0026] As an option, the product management module provides an automatic verification function for input information. When entering product information, the system will verify the following data: The matching relationship between product name and tax code: For example, when the product name is "92# Gasoline", its tax code must conform to the standard code for gasoline products; The matching relationship between tax rate and tax code: For example, the tax rate for gasoline products is usually 13%. If the entered tax rate does not match, the administrator will be prompted to correct it; Tax code format verification: Tax codes must meet the standard length and content format specified by the tax authorities.
[0027] For example, when the administrator enters "No. 95 gasoline", if the tax code entered is "12345678901234" but the code does not exist in the system's tax database, the system will prompt "Tax code invalid" in real time and prevent entry to ensure data accuracy.
[0028] The commodity management module supports flexible adjustment of commodity unit prices and tax rates to adapt to scenarios such as oil price fluctuations or tax policy changes. The dynamic adjustment function is implemented through the backend management system, which specifically includes the following two parts: Dynamic adjustment of unit price: When oil prices fluctuate, administrators can enter new unit prices in the product management module and set the effective time. For example, when the unit price of No. 92 gasoline is adjusted from 8 yuan / liter to 7.5 yuan / liter, the administrator can set the "effective time" in the module to midnight the next day to ensure that the adjusted unit price is only effective for future orders, while historical order records remain unchanged.
[0029] Dynamic adjustment of tax rates: In the event of a national tax policy adjustment, the administrator can update the tax rate through the product management module. For example, if the tax authority adjusts the tax rate on gasoline from 13% to 10%, the administrator only needs to modify the tax rate of the corresponding product, and subsequent orders and data processing will be calculated based on the new tax rate. In the historical records, the original tax rate will be retained for traceability.
[0030] It should be noted that the product management module has designed a detailed adjustment record log to record the time, operator and adjustment content of each unit price or tax rate adjustment for subsequent query or audit.
[0031] The product management module supports flexible configuration of promotion rules to meet the needs of gas stations to provide preferential prices during specific time periods. For example, a gas station can set a promotional price of 7.5 yuan / liter for No. 92 gasoline during holidays. The configuration of promotion rules includes the following elements: Promotional unit price: such as 7.5 yuan / liter; Promotion period: e.g. 00:00 on January 1, 2024 to 24:00 on January 7, 2024; Scope of application: For example, it is only applicable to No. 92 gasoline.
[0032] In some embodiments, promotion rules can also set complex discount conditions, such as: Get a discount after refueling a certain amount, such as "get a 10% discount after refueling 50 liters"; Different discounts for different time periods, for example, "20% off from 10am to 2pm, 10% off at other times".
[0033] The system will dynamically select product prices based on promotional rules when an order is generated. For example, if the order is generated during the promotion period, the system will automatically apply the promotional price, otherwise the standard price will be used.
[0034] As an improvement, the commodity management module supports synchronization with the commodity coding standards of the tax authorities to ensure the timeliness and accuracy of tax coding and commodity information. Specifically, the system achieves data synchronization through the following steps: Regularly obtain the latest product information from the tax authority database, including product name, tax code and tax rate; Compare existing product data with synchronized data and mark inconsistent data; Notify administrators to manually confirm and update data to avoid accidental updates.
[0035] For example, when the tax authority adjusts the tax code of gasoline from "2710192010" to "56789012345678", the system will automatically prompt the administrator to update the tax code of the product and record the change in the background.
[0036] The commodity management module in this embodiment also supports the export function of commodity information to meet audit and tax reporting requirements. The exported report includes the following fields: Product name; Tax code; unit price; tax rate; Commodity unit.
[0037] The report format supports both CSV and Excel, and supports filtering data by time period or product category. For example, a gas station manager can export a product information report for a specified month for internal reconciliation or to submit relevant materials to the tax authorities.
[0038] Through the above design, the commodity management module realizes the functions of commodity data entry, verification, dynamic adjustment, promotion configuration and data synchronization, ensures the integrity and consistency of commodity information, and provides solid data support for the payment and invoicing functions of the system. Those skilled in the art can reproduce the functions of the commodity management module based on the above disclosure and integrate it seamlessly into the system.
[0039] The fuel pump management module is one of the basic functional modules of the system, responsible for managing the fuel pump number information and the binding relationship with the product information. The fuel pump management module realizes the precise association of fueling data and product information through collaborative interaction with the product management module, QR code management module and order management module, providing data support for order generation and subsequent payment and invoicing processes.
[0040] It is understandable that the functional design of the fuel pump management module directly affects the stability and accuracy of the system in the actual fueling business scenario. By uniformly managing fuel pump information, gas stations can efficiently and reliably collect fueling data and generate orders, and ensure the convenience of consumers' scanning code payment and invoicing operations.
[0041] In this embodiment, the fuel gun management module assigns a unique number to each fuel gun and uses the number as the unique identification of the fuel gun to ensure accurate transmission and recording of each refueling operation data. The fuel gun number is associated with the fuel dispenser equipment and is bound to the product information in the product management module. The specific implementation is as follows: As an option, the number of each fuel gun can be entered through the backend system, and the system will generate a unique identifier, such as "GUN001", "GUN002", etc., to distinguish different devices. During the operation of the system, each refueling operation is centered on the fuel gun number, and the product information in the product management module (such as product name, tax code, unit price and tax rate, etc.) is called through the number.
[0042] It should be noted that the binding relationship between the goods and the gas pumps in the commodity management module can be flexibly adjusted according to actual business needs. For example, when the supply of a gas pump changes from "92-grade gasoline" to "95-grade gasoline", the administrator only needs to modify the binding commodity information of the gas pump in the system without changing or modifying the gas pump number. This flexible binding mechanism effectively reduces equipment maintenance costs and improves the applicability of the system.
[0043] In a possible implementation, the fuel gun management module cooperates with the QR code management module to bind each fuel gun to a unique QR code. The QR code stores the encrypted information of the fuel gun number. The specific design is as follows: The content of the QR code includes the fuel gun number and its encrypted verification information, for example: Fuel gun number: "GUN001"; Encryption information: "ENCODED_DATA".
[0044] After the consumer scans the QR code on the gas pump, the system will obtain the corresponding gas pump number through background decoding, and automatically match the gas pump information recorded in the background system to obtain product data and gas order data. It should be noted that the QR code is generated using an encryption algorithm to prevent the gas pump number from being maliciously tampered with or forged.
[0045] In some embodiments, the binding information between the QR code and the gas pump can be dynamically updated. For example, when a gas pump is repaired, replaced, or reallocated, the administrator only needs to rebind the gas pump with a new QR code in the system without physically replacing the QR code label. This design greatly improves the flexibility of gas station equipment management.
[0046] In this embodiment, the fuel gun management module is connected to the fuel dispenser device in real time, responsible for collecting fueling data and transmitting it to the background management system. The collected data includes but is not limited to the following: Fuel gun number; Fuel volume (in liters); Unit price of the product (unit: yuan / liter); Refueling amount (unit: yuan).
[0047] Specifically, the fuel pump management module packages the above data and transmits it to the backend management system after each refueling. The system generates an order based on the received data and marks the order status as "unpaid".
[0048] It should be noted that during the order generation process, the fuel gun management module collaborates with the order management module to ensure the correct association between the fuel gun number and the order information.
[0049] In an exemplary implementation, the fuel pump management module supports real-time data verification. For example, when the fuel quantity or fuel amount data is abnormal (such as the fuel quantity is negative or the amount is 0), the system will trigger an error warning and require the administrator to check the relevant equipment.
[0050] In this embodiment, the fuel gun management module also supports real-time monitoring and management of the fuel gun status. The monitoring data includes the working status, fault status and maintenance records of the fuel gun. For example: Working status: normal working, idle, busy; Fault status: such as abnormal communication or equipment failure; Maintenance records: including maintenance time, maintenance reasons and maintenance results.
[0051] As an improvement, the fuel pump management module provides administrators with a visual display of the device status through the background interface. For example, the administrator can view the current status of each fuel pump through the system interface and arrange maintenance in a timely manner based on the fault alarm records.
[0052] In some embodiments, the fuel gun management module also supports the generation of maintenance logs to record the maintenance history of the equipment. For example, when a communication abnormality occurs in the fuel gun numbered "GUN001", the system will generate a fault log to record the time when the fault occurred and the time when it was repaired. This log function provides data support for equipment management and operation optimization.
[0053] As an extended function, the gas pump management module also supports data synchronization and report export. For example, gas station managers can export reports containing gas pump numbers, product binding information, current status, etc. through the system to facilitate equipment management and operation analysis.
[0054] Exemplarily, the exported report fields include: Fuel gun number; Bind product name; Current status (normal, faulty, under maintenance); The most recent maintenance record.
[0055] The exported reports can be used for device audit or operation reporting. The formats support CSV or Excel files and allow administrators to define custom filtering conditions.
[0056] Through the above functional design, the fuel gun management module realizes the unified management of fuel gun numbers, the binding relationship with product information, the QR code association, and the collection and transmission of fueling data. The flexibility and reliability of this module provide important guarantees for the payment and invoicing process of the system. Those skilled in the art can reproduce the functions of the fuel gun management module based on the above public content and integrate it with other modules into the overall system.
[0057] The QR code management module is one of the core components of the system. Its function is to realize the binding management of the unique identification information of each gas pump and the QR code, and provide users with a convenient entry for scanning code payment and automatic order acquisition. The QR code management module achieves efficient connection in the payment, order generation and invoicing links through collaboration with the gas pump management module, order management module and product management module.
[0058] It should be noted that the QR code management module provides key support for mobile payment and automatic invoicing in gas station scenarios by generating and maintaining encrypted QR codes containing gas pump numbers. This module has multiple functions such as QR code generation, binding, updating and verification, and supports rapid adjustment of binding relationships when equipment is maintained or replaced, ensuring the continuity and flexibility of the system.
[0059] In this embodiment, the QR code management module generates a unique QR code for each fuel gun, and the QR code contains the encrypted information of the fuel gun number and the verification mark. Specifically, the QR code generation process includes the following steps: As an option, the QR code management module encrypts the fuel gun number using a predefined encryption algorithm, such as AES or SHA-256 encryption algorithm, to ensure the security of the QR code information. The generated QR code content structure is as follows: Fuel gun number: for example, "GUN001"; Encrypted information: the result of encrypting the pump number and timestamp; Verification mark: used to verify the integrity and validity of the QR code.
[0060] The generated QR code will be output in the form of an image, and the QR code label will be affixed to the corresponding gas pump through a printing device. It can be understood that this encryption-based data encapsulation method effectively prevents the QR code information from being tampered with or forged.
[0061] In a possible implementation, the QR code management module binds each generated QR code to the corresponding fuel pump through the background management system. The specific binding relationship includes: QR code content: stores the fuel gun number and its encrypted information; Fuel gun number: an identifier that uniquely identifies each fuel gun; Product information: product information indirectly bound to the product management module through the gas pump management module, such as "No. 92 gasoline" or "No. 95 gasoline".
[0062] As an improvement, the QR code management module supports dynamic adjustment of binding relationships. For example, when a gas pump needs to be replaced with a new device, the administrator can unbind the QR code of the old device through the background management interface and rebind it to the new device. This dynamic binding mechanism not only avoids the cost of re-making QR code labels, but also significantly improves the system maintenance efficiency.
[0063] It should be noted that the binding information of the QR code will be synchronized to the order management module in real time to ensure that the gas pump number and its product information can be correctly associated when scanning the code for payment.
[0064] In this embodiment, after the consumer scans the QR code on the gas pump through the mobile terminal, the system will automatically decode and obtain the encrypted gas pump number, and call the corresponding order information and product data from the background management system according to the number. The specific decoding process is as follows: The system decrypts and verifies the QR code content through the background decoding module. For example: Extract the encrypted information in the QR code; Use the corresponding decryption algorithm to restore the fuel gun number and timestamp; Verify the integrity of the decoding result to ensure that the QR code has not been tampered with.
[0065] As an option, in order to improve the efficiency of code scanning and decoding, the system jumps directly to the payment page after scanning the code, and consumers can view the order details on the page, including the gas pump number, gas quantity, unit price of the product and order amount.
[0066] In some embodiments, the QR code decoding process also supports an error handling mechanism. For example, when the QR code fails to be decoded due to contamination, the system will prompt the consumer to re-scan the code or contact the administrator to replace the QR code label.
[0067] The QR code management module in this embodiment supports the update and maintenance functions of the QR code, and is applicable to the following scenarios: Equipment replacement: When the fuel gun is replaced, the administrator only needs to rebind the fuel gun and the QR code in the system without regenerating the QR code; Information changes: If the product information is adjusted (such as No. 92 gasoline is changed to No. 95 gasoline), the system will automatically update the associated information of the QR code through the background.
[0068] As an improvement, the QR code management module also provides a batch update function for QR codes. For example, during the equipment upgrade process at a gas station, the administrator can update the QR code binding information of multiple gas pumps at once through the system interface, avoiding the tedious operation of each one.
[0069] The QR code management module ensures data security and tamper-proofing through the following methods: Encryption algorithm: The QR code content is processed using an encryption algorithm to ensure that even if the QR code is copied, its information cannot be maliciously parsed; Timestamp verification: The system verifies the timestamp generated by the QR code during the decoding process to ensure that the QR code has not expired; Checksum mechanism: Each QR code content contains a checksum to verify data integrity and prevent the QR code information from being tampered with.
[0070] For example, when a consumer scans a QR code, the system will first verify the checksum. If the verification fails, the system will prompt "The QR code is invalid" and reject subsequent payment and invoicing operations.
[0071] In this embodiment, the QR code management module also provides a QR code status monitoring function. The administrator can view the current status of all QR codes through the background system, including whether they are working normally, whether they have been bound to the gas pump, and the generation time.
[0072] As an extended function, the system supports the export of QR code data reports for equipment audit or maintenance. The exported report fields include: QR code number; Associated fuel nozzle number; Product information; Generation time; The time of last modification.
[0073] The exported reports support CSV and Excel formats and allow filtering data by time period. For example, a gas station manager can export QR code records updated in the last week for subsequent inspection.
[0074] Through the above detailed design, the QR code management module in the present invention realizes the generation, encryption, binding management, code scanning decoding and dynamic update functions of the QR code, ensuring the stability and security of the code scanning payment and automatic invoicing process in the gas station scenario. Those skilled in the art can reproduce the functions of the QR code management module based on the above public content, and integrate it with other modules into the system to realize an integrated solution for payment and invoicing.
[0075] The order management module is one of the core modules of the system, which is mainly responsible for processing order generation, status management, and connection with payment and invoicing processes. The order management module ensures the integrity and accuracy of order information through close collaboration with the gas pump management module, product management module and payment interface, providing consumers with a smooth payment and invoicing experience.
[0076] It should be noted that the functional design of the order management module runs through all aspects of gas station services, from the collection of refueling data to the status update after payment, and then to the data transmission of subsequent invoicing applications, all rely on the efficient operation of this module. At the same time, this module supports dynamic status management, data verification and exception handling of orders, which improves the reliability of the system.
[0077] In this embodiment, the order management module automatically generates corresponding order information by receiving the refueling data transmitted by the refueling gun management module. The refueling data includes but is not limited to the following: Fuel gun number: such as "GUN001", used to identify the currently operating fueling equipment; Refueling volume: such as 50 liters, indicating the specific amount of refueling this time; Product unit price: such as 8 yuan / liter, provided by the product management module; Total amount: calculated based on the amount of fuel charged and the unit price of the goods.
[0078] The order generation logic is as follows: First, after refueling is completed, the system receives the refueling data uploaded by the refueling gun management module. Subsequently, the order management module calls the commodity information (such as unit price and tax rate) provided by the commodity management module, and then calculates the total amount of the order.
[0079] It should be noted that when the order management module generates an order, it will assign a unique order number to each order. The order number format can be designed as "YYYYMMDD+gas gun number+serial number", such as "20241220001GUN001", to ensure that the order is unique in the system.
[0080] As an improvement, the order management module sets a dynamic status flag for each order to track the progress of the order in the payment and invoicing process. Order status includes but is not limited to: Unpaid: After an order is generated, the default status is unpaid; Payment successful: When the consumer completes the payment, the order status is updated to payment successful; Invoicing: When a consumer initiates an invoicing application, the order status is updated to Invoicing; Successful invoicing: When the invoice is generated and sent to the consumer, the order status is updated to Successful invoicing; Exception: When an error occurs during payment or invoicing, the order status is updated to Exception.
[0081] Specifically, when the consumer scans the QR code and confirms payment, the order management module will update the order status to payment success according to the return result of the payment interface. After the payment is successful, the order information will be automatically passed to the invoicing management module for subsequent invoicing operations.
[0082] In one possible implementation, the order management module also supports timestamp recording of status changes. For example, when an order changes from "unpaid" to "paid successfully", the system will record the payment time and store it in the order data. Through this design, the system administrator can trace the status changes of the order, which is convenient for subsequent audits and troubleshooting.
[0083] The order management module in this embodiment is equipped with a complete data verification mechanism to ensure the accuracy of order data. For example: Amount verification: When the system generates an order, it will verify whether the total amount is equal to the product of the refueling amount and the unit price of the product. If it is inconsistent, the order will be rejected; Data integrity check: When an order is generated, the system will check whether necessary fields (such as pump number, product information, fuel quantity, etc.) are missing. If missing, the administrator or gas station staff will be prompted to re-enter; Status verification: After the order is paid, the system will verify whether the return result of the payment interface is valid. If an invalid payment result is found, the order status will be refused to be updated.
[0084] As an improvement, the order management module also designs an exception handling mechanism to deal with payment failure or invoicing failure. For example: If the payment fails, the order status remains "unpaid" and the consumer can scan the code again to pay; If the invoicing fails, the order status will change to "abnormal" and the invoicing retry mechanism will be triggered to ensure that the invoice is finally generated and sent.
[0085] It should be noted that the order management module will record abnormal orders in the log and provide it to the administrator for query and processing. The log information includes the order number, abnormal type, occurrence time and possible error cause.
[0086] The order management module interacts with the invoicing management module through the payment interface. For example, when a consumer scans a code to pay, the order management module will call the payment interface to initiate a payment request and update the payment result to the order status in real time. After the payment is completed, the order management module will pass the order information (including order number, payment amount, product name, etc.) of the successful payment to the invoicing management module for invoicing.
[0087] Specifically, the logic of the interaction between the order management module and the payment and invoicing module is as follows: After the consumer scans the code, the order management module obtains the corresponding order information and initiates a payment request; After the payment is successful, the order management module updates the order status to "Payment Successful" and synchronizes the payment result to the backend; If the consumer chooses to issue an invoice, the order management module will pass the order information (such as product name, amount, tax rate, etc.) to the invoicing management module and update the order status to "invoicing".
[0088] In an exemplary implementation, the order management module also supports the reconciliation function of payment data. The system will regularly compare the payment records returned by the payment interface with the order data to ensure that the payment amount is consistent with the order amount. The reconciliation results are output in the form of a report for financial verification.
[0089] The order management module also provides order data storage and report export functions. All order data is stored in the system database and supports query and export according to multiple conditions (such as date range, order status, fuel pump number, etc.).
[0090] Exemplarily, the exported order report fields include: Order number; Fuel gun number; Refueling quantity; Unit price of the product; lump sum; Payment status; Invoicing status.
[0091] The report format supports CSV and Excel, and allows administrators to customize filter conditions. For example, administrators can export a report of unpaid orders in the past week to analyze consumer behavior or handle payment issues.
[0092] Through the above design, the order management module realizes the whole process management from order generation to payment and invoicing, ensuring the accuracy of order data and dynamic tracking of status. Those skilled in the art can reproduce the functions of the order management module based on the above public content and integrate it with other modules to build a complete gas station mobile payment and automatic invoicing system.
[0093] The invoicing management module is one of the core modules of the system, responsible for processing the invoicing application, invoice generation and invoice delivery process after the consumer successfully pays. The invoicing management module collaborates with the order management module, the product management module and the external tax system to ensure the accuracy and compliance of electronic invoices. Through this module, consumers can quickly apply for and receive electronic invoices after completing payment without additional operations or special equipment.
[0094] It should be noted that the invoicing management module not only achieves seamless integration of payment and invoicing processes through precise data transmission and efficient processing logic, but also supports dynamic management and exception handling of invoicing status, thereby ensuring the success rate of invoicing operations and user experience.
[0095] In this embodiment, the invoicing management module allows consumers to select the invoice issuance service after the order status is updated to "Payment Successful". The invoicing application initiation and processing process is as follows: As an option, after the consumer completes the payment, the system will provide him with an invoice application portal. The consumer can fill in the invoice header information, such as company name, taxpayer identification number, etc. through the mobile interface. After completing the filling, the consumer submits the invoice application, and the invoice management module starts processing the application.
[0096] The invoicing management module first obtains key order-related information from the order management module, including: Order number; Product name; Refueling quantity; Unit price of the product; tax rate; lump sum.
[0097] It should be noted that the invoicing management module ensures that the goods in the invoice are consistent with the requirements of the tax authorities by calling the commodity tax rate and commodity code information provided by the commodity management module. For example, for "92 gasoline", its commodity tax code and tax rate will be accurately matched to the corresponding invoicing data.
[0098] In one possible implementation, the invoicing management module is connected to the electronic invoice system of the tax authority to realize the online application and generation of invoices. The specific implementation is as follows: The invoicing management module sends an invoicing request to the tax system based on the application data submitted by the consumer. The request data includes: Invoice header information: such as company name, taxpayer identification number; Product information: such as product name, product code, amount excluding tax, and tax amount; Invoiced Amount: Total amount.
[0099] After receiving the invoicing request, the tax system generates an electronic invoice and returns the invoice's unique identification code (such as the invoice number and verification code) and the electronic invoice file.
[0100] As an improvement, the invoicing management module supports verification of the response data of the tax system. For example, when the invoice data returned by the tax system is inconsistent with the invoicing request data, the system will record the abnormal information and trigger the re-application logic. It should be noted that this verification mechanism effectively improves the accuracy of the invoice data.
[0101] The invoicing management module supports the delivery of generated electronic invoices to consumers, with two delivery methods: SMS and email. Consumers can choose the receiving method according to their needs.
[0102] Specifically, when the invoice is generated, the system will send the invoice download link in the following form according to the consumer's choice: If the consumer chooses SMS delivery, the system will send the invoice download link to the reserved mobile phone number through the SMS interface; If the consumer chooses email delivery, the system will send the invoice file as an attachment to the consumer's email address via email service.
[0103] In some embodiments, the invoicing management module also supports storing the invoice file directly in the backend system of the gas station to facilitate subsequent inquiries or reissue of invoices by consumers. For example, when a consumer loses an invoice, the invoice file can be retrieved in the customer service system of the gas station by entering the order number.
[0104] It should be noted that in order to ensure the security and integrity of the invoice file, the system uses encrypted storage for the invoice file and adds an expiration date limit to the download link. After the expiration date, consumers need to reapply to obtain a new download link.
[0105] The invoicing management module in this embodiment sets a dynamic status flag for each invoicing request to reflect the progress of the invoicing process in real time. The invoicing status includes but is not limited to: Waiting for invoicing: the invoicing application has been submitted but not yet processed; Invoicing: The invoicing request has been sent to the tax system and is waiting for a response; Invoicing is successful: the invoice has been generated and delivered to the consumer; Invoicing failure: an exception occurs during the invoicing process (such as a tax system failure).
[0106] Specifically, the invoicing status is updated based on the response of the tax system. For example, when the tax system returns confirmation information that the invoice has been successfully generated, the system updates the invoicing status to "invoicing successful" and records the relevant information of the invoice (such as the invoice number and verification code).
[0107] As an improvement, the invoicing management module also supports a retry mechanism after invoicing fails. For example, when invoicing fails due to network interruption, the system will resend the invoicing request according to the set retry logic until the invoicing succeeds or the retry limit is reached.
[0108] The invoicing management module is equipped with a comprehensive exception handling function to solve various problems in the invoicing process. For example: Data anomaly: If the invoicing data is missing or in the wrong format, the system will refuse to submit the invoicing request and prompt the consumer to modify or supplement the relevant information; Interface exception: If the tax system interface response times out or returns an error code, the system will record the exception and trigger a retry mechanism; Delivery exceptions: If a text message or email fails to be sent, the system will record the reason for the failure and provide an option to resend.
[0109] It should be noted that the invoicing management module will record all abnormal events in the log, including the abnormality type, occurrence time, order number and processing result. The administrator can query the log through the backend management interface for subsequent investigation and optimization.
[0110] The invoicing management module supports the storage and export of invoicing data. All invoicing records are stored in the database as structured data, and the fields include: Invoice number; Consumer information (e.g., mobile phone number, email address); Product information (such as product name, product code, amount, tax rate); Invoice generation time; Delivery status.
[0111] As an option, the system supports querying invoicing records by time period, order number or consumer information, and exporting the query results to CSV or Excel files. The exported reports can be used for financial reconciliation or tax declaration.
[0112] Through the above design, the invoicing management module realizes the full process functions of invoicing application, invoice generation, status management and delivery, ensuring the accuracy and efficiency of invoicing operations. Those skilled in the art can reproduce the functions of the invoicing management module based on the above public content and seamlessly integrate it into the system to meet the invoicing needs in the gas station business scenario.
[0113] The backend management module is the core management platform of the entire system, responsible for maintaining product information, managing the binding relationship between the fuel pump and the QR code, monitoring the order and invoicing status, handling abnormal situations, and providing data statistics and report export functions. The backend management module works in collaboration with other modules (such as the product management module, fuel pump management module, QR code management module, order management module, and invoicing management module) to ensure the overall efficiency and stability of the system.
[0114] It should be noted that the backend management module is not only the management center of the system, but also provides an intuitive operation interface for gas station managers for real-time monitoring and operation. Through this module, managers can dynamically configure product and equipment information, track payment and invoicing processes, and efficiently handle various problems in the system.
[0115] In this embodiment, the backend management module interacts directly with the product management module to maintain the accuracy and completeness of product information. The manager can enter, modify or delete product information through the backend management module. The specific operations include: Enter product information: for example, the product name is "92 gasoline", the unit is "liter", the unit price is 8 yuan / liter, and the tax rate is 13%; modify the unit price or tax rate of the product: when the oil price fluctuates or the tax rate is adjusted, the administrator can dynamically modify the unit price and tax rate of the product through the background interface; Delete product information: For products that have stopped selling, the administrator can set their status to "off the shelves" and remove the product from the QR code binding relationship.
[0116] It should be noted that all operations performed by the backend management module on product information will generate log records, which include the operation time, operator and modification content, for subsequent query and audit.
[0117] As an improvement, the backend management module also supports the batch import function of product information. For example, when a gas station needs to update the tax code of a large number of products, the manager can upload the product data through an Excel file, and the system will automatically verify the file format and data integrity, and perform batch updates after the verification is passed.
[0118] The background management module interacts with the fuel gun management module and the QR code management module to manage the binding relationship between the fuel gun and the QR code. The administrator can operate the binding relationship between the fuel gun and the QR code through the background interface. The specific implementation is as follows: As an option, each gas pump is bound to a unique QR code through the backend management module. The QR code contains encrypted information of the gas pump number, which is used to identify the device and obtain order data. For example, a device with a gas pump number of "GUN001" can be bound to the system through the QR code "QR001". After the binding is completed, consumers can complete the payment and invoicing operations by scanning the QR code.
[0119] In one possible implementation, when a refueling pump device needs to be repaired, replaced, or reallocated, the administrator can unbind the old QR code and rebind the new QR code through the backend management interface. This binding mechanism effectively improves the flexibility of device management while reducing the workload of regenerating QR codes.
[0120] It should be noted that the backend management module supports dynamic monitoring and verification of binding relationships. For example, when an unused QR code or unconfigured gas pump is detected in a binding relationship, the system will automatically generate a prompt to remind the administrator to complete it.
[0121] The backend management module provides real-time monitoring of order and invoicing status, which helps managers gain a comprehensive understanding of system operation. Specifically, managers can view the following contents through the backend interface: Order status: such as "Unpaid", "Payment Successful", "Payment Failed", etc.; Invoicing status: such as "Waiting for invoicing", "Invoicing in progress", "Invoicing successful", "Invoicing failed", etc.
[0122] As an improvement, the backend management module allows administrators to filter order and invoicing records by conditions. For example, administrators can query all orders that have been paid successfully but not invoiced within a certain period of time, or filter out all invoicing failure records for troubleshooting.
[0123] It should be noted that the backend management module supports visual display of order and invoicing status. For example, the system can display the quantity distribution of orders or invoices in different statuses through pie charts or bar charts, so that managers can quickly understand the operation of the system.
[0124] The background management module in this embodiment has a powerful exception handling function, which is used to solve various problems in system operation. For example: Payment exception: When a consumer fails to pay, the system will generate an exception record in the background, including the order number, error information returned by the payment interface, etc. Invoicing exception: When invoice generation fails, the background management module will record the reason for the failure and trigger a retry mechanism.
[0125] As an improvement, the backend management module also provides the function of manually handling abnormal events. For example, when the system fails to issue an invoice after multiple retries, the administrator can manually modify the invoicing data or re-initiate an invoicing application.
[0126] It should be noted that the backend management module will record all abnormal events in the log, which includes the abnormality type, occurrence time, associated order number and processing result. Administrators can query these logs through the backend interface to optimize system operation later.
[0127] The backend management module supports various forms of data statistics and report export functions, which makes it easier for managers to analyze and record system operation data. For example: Order statistics: statistics on the quantity and amount distribution of orders in different statuses; Invoicing statistics: statistics on the success rate of invoicing, the main reasons for invoicing failure, etc.; Product statistics: statistics on sales quantity and amount of different products.
[0128] As an option, the system supports filtering statistical data by time period, product type or payment method. For example, the manager can export a sales data report of all No. 92 gasoline in a quarter, including order number, refueling volume, unit price, total amount, payment status and invoicing status.
[0129] Exemplarily, the exported report supports CSV and Excel formats, and provides a graphical display of statistical results, such as a bar chart showing the sales share of different products.
[0130] The background management module also supports flexible configuration of system parameters, such as: QR code generation rules: set the encryption algorithm or content format of the QR code; Order numbering rule: Set the format for generating order numbers, such as "YYYYMMDD+gas gun number+serial number"; Log storage period: Configure the storage time of system logs to save storage space.
[0131] It should be noted that these parameter configurations are all operated through the background interface and will take effect in real time without restarting the system.
[0132] Through the above design, the background management module realizes the comprehensive management of product information, the binding relationship between the gas pump and the QR code, the order and the invoicing status, and provides powerful exception handling and data statistics functions. Those skilled in the art can reproduce the functions of the background management module based on the above public content, and seamlessly integrate it with other modules to build a complete mobile payment and automatic invoicing integrated solution system.
[0133] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. The integrated mobile payment and automatic invoicing solution system applicable to gas station business scenarios is characterized by: include: The commodity management module is used to maintain the basic information of the invoiced commodities, including commodity name, tax code, unit price, unit and tax rate; The fuel gun management module is used to manage fuel gun information. Each fuel gun has a unique number and is bound to the product information. A QR code management module is used to generate a QR code bound to the fuel gun number, and the QR code contains encrypted fuel gun number information; The order management module is used to process business orders associated with the gas station backend management system, including order generation, payment and status management; The invoicing management module is used to process the invoice application after the consumer has successfully paid, and send the electronic invoice to the consumer via SMS or email; The backend management module is connected with the fuel dispenser equipment, payment channels and invoicing channels to realize the real-time transmission of fueling data, payment processing and invoice management.
2. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: The two-dimensional code management module generates a two-dimensional code containing encrypted data according to the fuel gun number, and the content of the two-dimensional code includes the fuel gun number and the encryption mark.
3. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: The order management module generates an order by including the following steps: a. Receive refueling data transmitted by the refueling machine; b. Generate an order based on the received data and mark the order status as "unpaid"; The refueling data includes the refueling gun number, refueling quantity, unit price and amount.
4. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: The payment management module includes: Payment interface, used to access the mobile payment platform; The payment processing unit determines the payment environment and initiates a payment request. After the payment is successful, the order status is automatically updated to "Payment Successful"; The mobile payment platforms include but are not limited to Alipay and WeChat.
5. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: The invoicing management module generates an invoice application after the order payment is successful, and supports the following operations: (1) Receive the invoice header information filled in by the consumer; (2) Apply for electronic invoices through the tax system interface; (3) Record the invoicing status. If the invoicing fails, a retry mechanism is triggered.
6. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: The background management module includes: Product information management unit, used to update and maintain product name, tax code, unit price and tax rate; The fuel gun management unit is used to maintain the binding relationship between the fuel gun number and the product information; Order query unit, used to display the payment status and invoicing status of the order; The invoicing retry unit is used to automatically retry orders that fail invoicing.
7. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: The two-dimensional code management module realizes the free modification of the binding relationship between the fuel gun and the two-dimensional code through the dynamic binding mechanism in the background management system, which specifically includes: A. The administrator can select the target fuel gun number in the backend management system. B. Modify the binding relationship between the QR code and the new fuel pump number. C. The modified QR code can continue to be used without regenerating it.
8. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 4 is characterized in that: In the payment processing unit, the following formula conditions are met after the payment is successful: Total order amount = refueling amount × unit price Among them, the refueling quantity and unit price are transmitted from the refueling machine to the background management module.
9. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: In the invoicing module, the issuance of electronic invoices must meet the following conditions: Tax amount = total order amount × tax rate Among them, the tax rate is configured in the commodity management module according to the tax code of the commodity.
10. The mobile payment and automatic invoicing integrated solution system applicable to gas station business scenarios according to claim 1 is characterized in that: The QR code management module includes a guidance mechanism. After the consumer scans the QR code on the fuel pump, the system operation page is automatically entered. The operation page includes: Automatically obtain the corresponding fuel gun number and order information; Provide order confirmation and payment entry; Support users to apply for invoicing on their own, fill in the invoicing header information and submit the invoicing application; Provide a download link or send option for electronic invoice.