Method and system for improving electronic coupon verification efficiency

By collecting and storing electronic voucher data on the mobile terminal, and using the message queue service to process it in an orderly manner, the problem of low electronic voucher verification efficiency is solved, and the verification efficiency and cloud resource response capabilities are improved.

CN118628173APending Publication Date: 2024-09-10GUIYANG SHIJIHENGTONG TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410791348.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

When electronic coupons are used in automotive aftermarket service scenarios, insufficient data transmission bandwidth or excessively large files lead to low verification efficiency, and when multiple merchants write off at the same time, the server responds slowly, affecting the write-off efficiency.

Method used

Read the electronic coupon information through the mobile terminal and upload it to the cloud, generate the order number and save it locally, collect the data and store it in the mobile terminal database, use the message queue service to process the data in an orderly manner, and reduce the impact of bandwidth and file size on efficiency. And achieve concurrent processing through configuration.

Benefits of technology

It improves the efficiency of electronic voucher verification, avoids delays caused by bandwidth or file size, and reduces the problem of unresponsive cloud resources under high concurrency conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628173A
    Figure CN118628173A
Patent Text Reader

Abstract

The invention discloses a method and system for improving electronic coupon verification efficiency, and the method comprises the steps: storing data in a database of a mobile terminal after a verification unit of the mobile terminal executes all steps, uploading an order and the collected data to a cloud terminal through a task module when the task module is idle, and enabling an order unit of the cloud terminal to complete the verification of the electronic coupon according to an uploading sequence. The data is stored in the message queue, and the message is created, so that the efficiency of electronic coupon verification cannot be influenced due to too small bandwidth or too large file; and secondly, the task unit can simultaneously process the concurrency number of the message according to the configuration, and orderly process the message data, so that the problem that cloud resources cannot respond during the high concurrency verification of the electronic coupons can be reduced through the scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic voucher verification, and in particular to a method and system for improving the efficiency of electronic voucher verification. Background Art

[0002] As society continues to develop, there are more and more scenarios for the use of electronic coupons, especially in the service scenarios for the automotive aftermarket. The use process and steps of electronic coupons will be relatively complicated. In order to ensure that the service process is authentic and effective, it is necessary to collect relevant supporting data, such as license plate recognition, driver's seat photos, wheel photos, etc. If during the service process, on the one hand, when these data are transmitted to the cloud in real time, the efficiency of electronic coupon verification will be affected due to small bandwidth or large file size; on the other hand, when multiple merchants redeem electronic coupons at the same time, the server response will be slow, which will also affect the efficiency of electronic coupon redemption. Summary of the invention

[0003] In order to overcome the problem of slow electronic voucher verification efficiency, the present invention provides a method and system for improving electronic voucher verification efficiency.

[0004] The technical solution of the present invention is:

[0005] A method for improving the efficiency of electronic voucher verification includes the following steps:

[0006] (1) Read the electronic voucher information through the mobile terminal and upload it to the cloud;

[0007] (2) The cloud determines whether the electronic voucher has been used. If not, a unique order number is generated, and the electronic voucher status is updated to in use. The electronic voucher verification steps are then returned to the mobile terminal, and the mobile terminal saves the order number and order verification steps locally;

[0008] (3) The mobile terminal collects relevant data according to the verification steps and saves it in the database of the mobile terminal;

[0009] (4) After the mobile terminal completes all the steps, it uploads the order and collected data to the cloud, which creates messages in the message queue service based on the upload order;

[0010] (5) The cloud subscribes to the e-voucher message in the message queue, writes the data into the database according to the message content, and the e-voucher verification is completed.

[0011] Furthermore, the data collected in step 3 includes license plate recognition, handwritten signature, and front photo of the vehicle.

[0012] The present invention also provides a system for improving the efficiency of electronic voucher verification, which is used to implement the above-mentioned method for improving the efficiency of electronic voucher verification, and includes a mobile terminal and a cloud;

[0013] The mobile terminal is composed of a verification unit, a task module and a database, wherein the verification unit is used to collect verification information and execute verification steps, and the task module is used to interact with the cloud to verify the data of the task;

[0014] The cloud includes an e-voucher unit, an order unit, a database, a task unit, a merchant unit, a database and a message queue; the e-voucher unit is used to collect and store the e-voucher information issued by the merchant unit, and to interact with the verification unit for data; the order unit is used to generate and manage order information; the task unit is used to subscribe to messages in the message queue and write data into the database according to the message content; the task unit realizes the concurrent number of messages processed simultaneously according to the configuration, and realizes the orderly processing of message data.

[0015] The present invention is beneficial in that:

[0016] After the verification unit on the mobile terminal in the present invention has executed all the steps, it first stores the data in the database on the mobile terminal. The task module uploads the order and the collected data to the cloud when it is idle. The order unit on the cloud stores the data in the message queue and creates messages according to the upload sequence. The efficiency of the electronic voucher verification will not be affected due to the small bandwidth or the large file size. Secondly, the task unit can realize the concurrent number of messages processed at the same time according to the configuration, and realize the orderly processing of message data. This solution can reduce the problem of cloud resources being unable to respond during high-concurrency verification of electronic vouchers. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic block diagram of the system architecture in the present invention.

[0018] In the figure: 10-mobile terminal, 11-verification unit, 12-task module, 13-database, 20-cloud, 21-order unit, 22-merchant unit, 23-message queue, 24-electronic voucher unit, 25-task unit, 26-database. DETAILED DESCRIPTION

[0019] The specific embodiments of the present invention are further described below in conjunction with the accompanying drawings. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0020] like Figure 1 As shown:

[0021] The present invention also provides a system for improving the efficiency of electronic voucher verification, including a mobile terminal and a cloud terminal;

[0022] The mobile terminal is composed of a verification unit, a task module and a database, wherein the verification unit is used to collect verification information and execute verification steps, and the task module is used to interact with the cloud to verify the data of the task;

[0023] The cloud includes an e-voucher unit, an order unit, a database, a task unit, a merchant unit, a database and a message queue; the e-voucher unit is used to collect and store the e-voucher information issued by the merchant unit, and to interact with the verification unit for data; the order unit is used to generate and manage order information; the task unit is used to subscribe to messages in the message queue and write data into the database according to the message content.

[0024] The specific operation method is as follows:

[0025] S1, the mobile terminal 10 reads the electronic voucher information through the verification unit 11 and uploads it to the cloud 20.

[0026] S2. The electronic voucher unit 24 of the cloud 20 determines whether the electronic voucher is used. The electronic voucher unit 24 collects and stores the electronic voucher information issued by the merchant unit 22. If it is not used, a unique order number is generated by the order unit 21, and then the order number information is written into the database 26, and the electronic voucher status is updated to being used. Then, the electronic voucher verification steps in the electronic voucher unit 24 are returned to the mobile terminal 10, and the mobile terminal 10 locally saves the order number and the order verification step information into the database 13.

[0027] S3. The verification unit 11 of the mobile terminal 10 collects relevant data according to the verification steps stored in the database, such as license plate recognition, handwritten signature, front photo and other information, and stores it in the database 13.

[0028] S4. After the verification unit 11 of the mobile terminal 10 executes all the steps, the task module 12 uploads the order and the collected data to the cloud 20 when it is idle. The order unit 21 of the cloud stores the data in the message queue 23 and creates a message according to the upload order.

[0029] S5, the task unit 25 in the cloud 20 subscribes to the message in the message queue 23, writes the data into the database 26 according to the message content, and the electronic voucher verification is completed. The task unit can realize the concurrent number of simultaneous message processing according to the configuration, and realize the orderly processing of message data. This solution can reduce the problem of cloud resources being unable to respond when the electronic voucher is verified with high concurrency.

[0030] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. For those skilled in the art, various changes, modifications, substitutions and variations of these embodiments are made without departing from the principles and spirit of the present invention, and still fall within the scope of protection of the present invention.

Claims

1. A method for improving the efficiency of electronic voucher verification, characterized in that: The following steps are involved: (1) Read the electronic voucher information through the mobile terminal and upload it to the cloud; (2) The cloud determines whether the electronic voucher has been used. If not, a unique order number is generated, and the electronic voucher status is updated to in use. The electronic voucher verification steps are then returned to the mobile terminal, and the mobile terminal saves the order number and order verification steps locally; (3) The mobile terminal collects relevant data according to the verification steps and saves it in the database of the mobile terminal; (4) After the mobile terminal completes all the steps, it uploads the order and collected data to the cloud when it is idle. The cloud creates messages in the message queue service according to the upload order; (5) The cloud subscribes to the e-voucher message in the message queue, writes the data into the database according to the message content, and the e-voucher verification is completed.

2. The method for improving the efficiency of electronic voucher verification according to claim 1, characterized in that: The data collected in step 3 includes license plate recognition, handwritten signature, and front photo of the vehicle.

3. A system for improving the efficiency of electronic voucher verification, used to implement the method for improving the efficiency of electronic voucher verification as described in any one of claims 1-2, characterized in that: Including mobile and cloud; The mobile terminal is composed of a verification unit, a task module and a database, wherein the verification unit is used to collect verification information and execute verification steps, and the task module is used to interact with the cloud to verify the data of the task; The cloud includes an electronic voucher unit, an order unit, a database, a task unit, a merchant unit, a database, and a message queue; the electronic voucher unit is used to collect and store the electronic voucher information issued by the merchant unit, and to interact with the verification unit; the order unit is used to generate and manage order information; The task unit is used to subscribe to messages in the message queue and write data into the database based on the message content.