CN111784327A - Two-dimensional code based method and system for selling and verifying promissory tickets - Google Patents
Two-dimensional code based method and system for selling and verifying promissory tickets Download PDFInfo
- Publication number
- CN111784327A CN111784327A CN202010719957.7A CN202010719957A CN111784327A CN 111784327 A CN111784327 A CN 111784327A CN 202010719957 A CN202010719957 A CN 202010719957A CN 111784327 A CN111784327 A CN 111784327A
- Authority
- CN
- China
- Prior art keywords
- dimensional code
- app
- ticket
- background
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/14—Payment architectures specially adapted for billing systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0283—Price estimation or determination
- G06Q30/0284—Time or distance, e.g. usage of parking meters or taximeters
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B13/00—Taximeters
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/20—Individual registration on entry or exit involving the use of a pass
Abstract
The invention discloses a two-dimensional code-based promissory note selling and verifying system, which is characterized in that a promissory note generating code is purchased at an APP client side, and the generating code is used for verifying at a gate terminal, so that a two-dimensional code ticket card can be used for multiple times in generation and verification, is not limited by a single settlement mode, and brings great convenience and preference for a user to take a bus. The invention also discloses a method for selling and verifying the promissory note based on the two-dimensional code. In the invention, the fixed-term ticket generating code is purchased at the APP client, and the generating code is used for verification at the gate terminal, so that the generation and verification of the two-dimensional code ticket card can be used for multiple times without being limited by a single settlement mode, and great convenience and preference are brought to the riding of a user.
Description
Technical Field
The invention relates to the technical field of public transportation, in particular to a method and a system for selling and verifying a promissory note based on a two-dimensional code.
Background
In the current society, mobile intelligent equipment (such as mobile phones, APPs and the like) gradually becomes an indispensable article in people's life, and public transport check by bus is carried out by using the two-dimensional code of the mobile intelligent equipment, so that ticket buying by bus can be avoided, and the loss of a radio frequency card can also be avoided.
However, the current two-dimensional bus taking code is in a one-time ticket counting mode, namely, only one bus can be taken once every time one two-dimensional bus is generated. For passengers who do not frequently take public transport means, such as foreign lego, the ticket purchasing is inconvenient because of the limitation of a single settlement mode, and the passengers cannot enjoy a preferential scheme of purchasing tickets for multiple times.
Disclosure of Invention
In order to solve the technical problems in the background art, the invention provides a method and a system for selling and verifying a fixed-term ticket based on a two-dimensional code, and aims to solve the problem that the two-dimensional code for counting tickets once is inconvenient to use in the prior art.
The invention provides a two-dimensional code-based system for selling and verifying promissory tickets, which comprises:
the APP background is used for generating authorization signature data according to a request of the APP client, performing account management on the APP client, simultaneously performing account fee deduction on the APP client according to fee deduction data received from the payment system, and pushing fee deduction information and travel details corresponding to the account of the fee deduction information to the APP client;
the APP client is connected with the APP background and used for account registration and login, and the authorized signature data is acquired online from the APP background after the account registration and login, so that the promissory note of the two-dimensional code ticket card can be inquired, purchased and generated at the APP client;
the two-dimensional code ticket selling system is connected with the APP background and used for sending the scheduled ticket information of the two-dimensional code ticket to the APP client through the APP background according to the request of the APP client;
the gate terminal is used for scanning and identifying the promissory note of the two-dimensional code ticket card provided by the APP client, controlling a gate channel to be closed or opened according to an identification result, recording account information corresponding to the promissory note of the two-dimensional code ticket card when a user enters or exits the station, and transmitting the account information and the station information of the gate terminal to the in-station server;
the station server is connected with the gate terminal, receives account information and site information sent by the gate terminal, and sends the station entering and leaving information of the user to the charging system;
the charging system is connected with the in-station server, matches the business data to be matched with the business data of the in-station and out-station, charges the business data to obtain a charging result, and sends the business data to the verification and cancellation system; after receiving the verification result returned by the verification and cancellation system, sending a money requisition operation instruction to the money requisition system;
the verification and cancellation system is connected with the charging system, verifies the promissory note purchased by the corresponding account of the matched transaction data of the user according to the received transaction data of the charging result, and returns the verification result to the charging system;
and the money requesting system is connected with the charging system and used for deducting the consumption amount of the travel transaction formed by the account corresponding to the APP client after receiving the money requesting operation instruction.
Preferably, the APP client comprises:
the client communication module is used for establishing a communication network with the APP background;
the account registration and login module is connected with the client communication module and used for registering and logging in a user account of the two-dimensional code riding to the APP background;
the authorization data acquisition module is connected with the client communication module and used for acquiring authorization signature data for generating the two-dimensional code ticket card from the APP background;
the two-dimensional code ticket selling module is connected with the client communication module and used for acquiring corresponding ticket information from the two-dimensional code ticket selling system;
the code generation module is connected with the authorization data acquisition module and the two-dimensional code ticket card selling module and is used for generating a two-dimensional code corresponding to the promissory ticket of the two-dimensional code ticket card according to the acquired authorization signature data and the ticket type information;
the client storage module is connected with the code generation module and used for storing the generated two-dimensional code ticket card certificate;
and the display module is connected with the code generation module and used for displaying the generated two-dimensional code ticket card so as to facilitate the scanning of the gate terminal when a user enters or exits the subway station.
Preferably, the gate terminal includes:
the output end of the two-dimensional code card reader is connected with the industrial control host and is used for scanning a two-dimensional code ticket card provided by a user when the user enters and exits the station;
the terminal communication module is connected with the in-station server;
the terminal storage module is used for storing the two-dimensional code sending public key and the station information of the gate terminal;
the industrial control host is respectively connected with the gate driver, the terminal communication module and the terminal storage module, after the two-dimensional code data scanned by the two-dimensional code reader are received, the two-dimensional code is signed and verified by using the two-dimensional code sending public key stored in the terminal storage module, the gate driver is controlled to be switched on and switched off according to the verification result, user account information is identified from the two-dimensional code data, when a user enters and exits a station, the user account information and station information where the gate terminal is located are cached, and after the terminal communication module is communicated with the in-station server, the user account information and the station information where the gate terminal is located are transmitted to the in-station server together.
Preferably, the billing system comprises:
the server communication module is used for establishing a communication network with the in-station server and the APP background;
the transaction data matching module is connected with the server communication module and used for matching user in-and-out data according to the received account information to obtain an in-station site and an out-station site corresponding to each user and transmitting the in-station site and the out-station site as transaction data to the APP background;
and the transaction data charging module is connected with the server communication module, and the user calculates the amount payable for the travel according to the corresponding site of the matched journey and initiates the request for checking and canceling the corresponding ticket type to the checking and canceling system and the money requesting system.
Preferably, the core-pin system comprises:
the ticket selling module is used for transmitting the selling information of the promissory ticket to the APP client side for displaying and storing;
and the stroke verification and cancellation module is used for matching the ticket types corresponding to the strokes to verify and cancel.
Preferably, the chargeback system includes:
the money requesting module is used for deducting money from a signing payment channel corresponding to the user when the ticket is purchased and the travel fee is deducted;
and the repayment module is used for actively repayment after the user makes a deduction failure corresponding to the payment channel, providing repayment to the APP background and actively repayment to the APP client.
The invention provides a method for selling and verifying a promissory note based on a two-dimensional code ticket card, which comprises the following steps of:
the APP client side carries out account registration login in an APP background, and selects a corresponding ticket card product;
the APP background generates authorization signature data of the two-dimensional code ticket card generated code for the APP client side according to the two-dimensional code sending public key;
the APP client side is connected with the APP background regularly, and authorized signature data are obtained from the APP background;
the APP client side obtains a two-dimensional code ticket card corresponding to the authorized signature data according to the user account information and the promissory ticket purchase information;
when a bus enters and leaves the station, the generated two-dimensional code ticket card is displayed to the gate terminal;
the gate terminal scans the two-dimensional code ticket card to obtain two-dimensional code data, carries out signature verification on the two-dimensional code data, and opens a gate channel when the two-dimensional code data are legal;
the gate terminal uploads the user account information and site information corresponding to the gate terminal to a charging system through an intra-site server;
the charging system carries out transaction matching on the station entering and leaving data of the user and submits the matched transaction data to a verification and cancellation system for verification and cancellation;
the verification and cancellation system verifies and cancels the purchased promissory note and returns the promissory note to the charging system to initiate a request;
and the debit system carries out fee deduction settlement on the user account and pushes fee deduction information to the APP client side of the corresponding user.
Preferably, the APP client performs account registration login in the APP background, and selects a corresponding ticket card product, which specifically includes:
sending an inquiry request to a ticket card background through an APP background, inquiring a ticket card product list in issuance, and returning the ticket card product list to an APP client side through the APP background by the ticket card background;
the APP client side sends a fare inquiry request to the APP background, and the APP background returns fare of the ticket card;
the APP client sends a payment mode query request to the APP background, and the APP background returns a payment mode list;
and the APP client side selects corresponding ticket card products according to the ticket card product list, the ticket price of the ticket card and the payment mode list.
Preferably, the APP client obtains the two-dimensional code ticket card corresponding to the authorized signature data according to the user account information and the promissory ticket purchase information, and specifically includes:
the method comprises the steps that an APP client sends a ticket buying request to an APP background, the APP background sends a payment signature obtaining request to a payment system, the payment system returns a payment signature to the APP background, the APP background returns the payment signature to the APP client, and the APP client invokes a payment control to carry out user payment;
the payment system confirms that payment is successful and then sends payment callback information to the APP background, the APP background returns a result to the payment system, the APP background sends a ticket card selling request to the ticket card background, the ticket card background sends ticket card information to the APP client side through the APP background, and the APP client side generates a two-dimensional code ticket card according to the ticket card information.
In the invention, the fixed-term ticket generating code is purchased at the APP client, and the generating code is used for verification at the gate terminal, so that the generation and verification of the two-dimensional code ticket card can be used for multiple times without being limited by a single settlement mode, and great convenience and preference are brought to the riding of a user.
Drawings
Fig. 1 is a structural diagram of a two-dimensional code-based promissory note selling and verifying system according to an embodiment of the present invention;
fig. 2 is a diagram of an APP client structure according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for selling and verifying a promissory note based on a two-dimensional code according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a two-dimensional code-based promissory note selling and verifying system, as shown in fig. 1, comprising:
the APP background 10 is configured to generate authorization signature data according to a request of the APP client 20, perform account management on the APP client 20, perform account fee deduction operation on the APP client 20 according to fee deduction data received from the debit system 80, and push fee deduction information and travel details corresponding to the account thereof to the APP client 20;
the APP client 20 is connected with the APP background 10 and used for account registration and login, and obtains authorization signature data from the APP background 10 on line after account registration and login so as to inquire, purchase and generate a fixed-term ticket of the two-dimensional code ticket card at the APP client, and when a user enters and exits the station, the fixed-term ticket is identified by a gate terminal;
the two-dimensional code ticket selling system 30 is connected with the APP background 10 and used for sending the scheduled ticket information of the two-dimensional code ticket to the APP client 20 through the APP background 10 according to the request of the APP client 20;
the gate terminal 40 is used for scanning and identifying the scheduled tickets of the two-dimensional code ticket cards provided by the APP client 20, controlling the gate channel to be closed or opened according to the identification result, recording account information corresponding to the scheduled tickets of the two-dimensional code ticket cards when a user enters or exits the station, and transmitting the account information and the station information of the gate terminal to the server 50 in the corresponding station;
the station server 50 is connected with the gate terminal 40, receives the account information and the station information sent by the gate terminal 40, and sends the station information of the user to the charging system 60;
the charging system 60 is connected with the in-station server 50, matches the business data to be matched with the business data of the in-station and out-station, charges the business data to obtain a charging result, and sends the business data to the verification and cancellation system 70; then, after receiving the verification result returned from the verification system 70, the payment system issues a payment operation instruction. The method is characterized in that the information of the scheduled tickets is recorded in the background and is not restricted by the fact that the tickets of the entity of the single tickets are easy to lose, and the information of the incoming and outgoing stations is recorded in the background of the charging system, so that the travel records of each time can be seen in the APP for a long time; the matching process is that after the outbound journey of the user is sent to the charging system, the charging system searches the nearest inbound record, judges whether the journey is legal or not according to the standard travel time parameter and completes fare calculation; and after the matching is finished, the accounting system finishes the verification of the promissory note, judges whether the money request system needs to request money or not after the verification is finished, and if the money request system needs to request money, the money request system needs to carry out the money request flow of transaction.
The verification and cancellation system 70 is connected with the charging system 60, verifies the promissory note purchased by the corresponding account of the matched transaction data of the user according to the received transaction data of the charging result, and returns the verification result to the charging system 60;
and the money requesting system 80 is connected with the charging system 60 and is used for deducting the consumption amount of the travel transaction formed by the account corresponding to the APP client 20 after receiving the money requesting operation instruction.
The APP client 20 includes:
the client communication module 21 is used for establishing a communication network with the APP background to realize signal transmission;
the account registration and login module 22 is connected with the client communication module 21 and used for registering and logging in a user account of the two-dimensional code riding to the APP background 10;
the authorization data acquisition module 23 is connected with the client communication module 21 and used for acquiring authorization signature data for generating the two-dimensional code ticket card from the APP background 10;
the two-dimensional code ticket selling module 24 is connected with the client communication module 21 and used for acquiring corresponding ticket information from the two-dimensional code ticket selling system 30;
the code generation module 25 is connected with the authorization data acquisition module 23 and the two-dimensional code ticket selling module 2 and is used for generating a two-dimensional code corresponding to the scheduled ticket of the two-dimensional code ticket according to the acquired authorization signature data and the ticket information;
the client storage module 26 is connected with the code generation module 25 and is used for storing the generated two-dimensional code ticket card;
and the display module 27 is connected with the code generation module 25 and is used for displaying the generated two-dimensional code ticket card so as to facilitate the scanning of the gate terminal when a user enters or exits the subway station.
Wherein, floodgate terminal includes: the output end of the two-dimensional code card reader is connected with the industrial control host and used for scanning the two-dimensional code ticket card provided by the user when the user enters and exits the station; the terminal communication module is connected with the in-station server; the terminal storage module is used for storing a two-dimensional code sending public key and station information of the gate terminal; the industrial control host is respectively connected with the gate driver, the terminal communication module and the terminal storage module, after the two-dimensional code data scanned by the two-dimensional code reader are received, the two-dimensional code is signed and verified by using the two-dimensional code sending public key stored in the terminal storage module, the gate driver is controlled to be switched on and switched off according to the verification result, user account information is identified from the two-dimensional code data, when a user enters and exits a station, the user account information and station information where the gate terminal is located are cached, and after the terminal communication module is communicated with the in-station server, the user account information and the station information where the gate terminal is located are transmitted to the in-station server together.
The charging system comprises: the server communication module is used for establishing a communication network with the in-station server and the APP background to realize data transmission; the transaction data matching module is connected with the server communication module and used for matching user in-and-out data according to the received account information to obtain an in-station site and an out-station site corresponding to each user and transmitting the in-station site and the out-station site as transaction data to the APP background; and the transaction data charging module is connected with the server communication module, and the user calculates the amount payable (basic fare, overtime fare and overtime fare) of the travel according to the corresponding station of the matched journey and initiates the request for the reimbursement and the requisition of the corresponding ticket types to the reimbursement system and the requisition system.
The nuclear marketing system comprises: the ticket selling module is used for transmitting selling information of the promissory ticket to the APP client side for displaying and storing information of the corresponding ticket purchased by the user; the travel verification and cancellation module is used for matching the ticket types corresponding to the travel to perform verification and cancellation;
the money requisition system includes: the money requesting module is used for deducting money from a signing payment channel corresponding to the user when the ticket is purchased and the travel fee needs to be deducted; and the repayment module is used for providing the repayment function to the APP background by the active repayment function after the user makes a payment channel deduction failure, and providing the active repayment function to the APP client.
The invention provides a method for selling and verifying a promissory note based on a two-dimensional code ticket card, which comprises the following steps as shown in figure 3:
s1, the APP client side carries out account registration login in the APP background, the corresponding sold promissory note can be checked at the APP client side, and the specific flow comprises the following steps: sending an inquiry request to a ticket card background through an APP background, inquiring a ticket card product list in issuance, and returning the ticket card product list to an APP client side through the APP background by the ticket card background; the APP client side sends a fare inquiry request to the APP background, and the APP background returns fare of the ticket card; the APP client sends a payment mode query request to the APP background, and the APP background returns a payment mode list; and the APP client side selects corresponding ticket card products according to the ticket card product list, the ticket price of the ticket card and the payment mode list.
And S2, the APP background generates authorization signature data of the two-dimensional code ticket card code for the APP client according to the two-dimensional code sending public key, and updates regularly.
And S3, the APP client side is connected with the APP background regularly, and the authorized signature data is obtained from the APP background.
S4, the APP client side obtains a two-dimensional code ticket card corresponding to the authorized signature data according to the user account information and the promissory ticket purchasing information; the specific process comprises the following steps: the method comprises the steps that an APP client sends a ticket buying request to an APP background, the APP background sends a payment signature obtaining request to a payment system, the payment system returns a payment signature to the APP background, the APP background returns the payment signature to the APP client, and the APP client invokes a payment control to carry out user payment; the payment system confirms that payment is successful and then sends payment callback information to the APP background, the APP background returns a result to the payment system, the APP background sends a ticket card selling request to the ticket card background, the ticket card background sends ticket card information to the APP client side through the APP background, and the APP client side generates a two-dimensional code ticket card according to the ticket card information.
And S5, displaying the generated two-dimensional code ticket card to a gate terminal when the subway station enters and leaves.
S6, the gate terminal scans the two-dimensional code ticket card to obtain two-dimensional code data, signature verification is carried out on the two-dimensional code data by using a two-dimensional code sending public key preset in the gate terminal, and a gate channel is opened when the identity of the user is legal.
And S7, the gate terminal identifies the user account information according to the scanned two-dimensional code information, caches the user account information and the site information corresponding to the gate terminal, uploads the user account information and the site information corresponding to the gate terminal to the in-station server when the gate terminal is communicated with the in-station server, and uploads the user account information and the site information to the charging system through the in-station server.
And S8, the charging system carries out transaction matching on the station entering and exiting data of the user according to the received account information, and submits the matched transaction data to a verification and cancellation system for verification and cancellation.
And S9, after receiving the matched transaction, the verification and cancellation system performs verification and cancellation on the promissory note purchased by the corresponding account information and returns the promissory note to the charging system to initiate the fund.
And S10, calculating the riding cost by the money requisition system according to the received money requisition transaction data, carrying out fee deduction settlement on a user account, and pushing fee deduction information to an APP client of a corresponding user.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (9)
1.A two-dimensional code-based promissory note selling and verifying system is characterized by comprising:
the APP background (10) is used for generating authorization signature data according to a request of the APP client (20), performing account management on the APP client (20), simultaneously performing account fee deduction on the APP client (20) according to fee deduction data received from the debit system (80), and pushing fee deduction information and travel details corresponding to the account thereof to the APP client (20);
the APP client (20) is connected with the APP background (10) and used for account registration and login, and obtains authorized signature data from the APP background (10) on line after account registration and login so as to inquire, purchase and generate a schedule ticket of the two-dimensional code ticket card at the APP client;
the two-dimensional code ticket selling system (30) is connected with the APP background (10) and used for sending the scheduled ticket information of the two-dimensional code ticket to the APP client (20) through the APP background (10) according to the request of the APP client (20);
the gate terminal (40) is used for scanning and identifying the fixed-term tickets of the two-dimensional code ticket cards provided by the APP client (20), controlling the gate channel to be closed or opened according to the identification result, recording account information corresponding to the fixed-term tickets of the two-dimensional code ticket cards when a user enters or exits the station, and transmitting the account information and the station information where the gate terminal (40) is located to the in-station server (50);
the in-station server (50) is connected with the gate terminal (40), receives the account information and the site information sent by the gate terminal (40), and sends the in-and-out information of the user to the charging system (60);
the charging system (60) is connected with the in-station server (50), matches the in-station and out-station transaction data to be matched, charges to obtain the transaction data of a charging result, and sends the transaction data to the verification and cancellation system (70); after receiving the verification result returned by the verification system (70), sending a money requisition operation instruction to the money requisition system (80);
the verification and cancellation system (70) is connected with the charging system (60), verifies the promissory note purchased by the corresponding account according to the matched transaction data of the user according to the received transaction data of the charging result, and returns the verification result to the charging system (60);
and the money requesting system (80) is connected with the charging system (60) and is used for deducting the consumption amount of the travel transaction formed by the account corresponding to the APP client (20) after receiving the money requesting operation instruction.
2. The two-dimensional code based promissory note selling and verifying system according to claim 1, wherein the APP client (20) comprises:
the client communication module (21) is used for establishing a communication network with the APP background (10);
the account registration and login module (22) is connected with the client communication module (21) and is used for registering and logging in a user account of the two-dimensional code riding to the APP background (10);
the authorization data acquisition module (23) is connected with the client communication module (21) and is used for acquiring authorization signature data for generating the two-dimensional code ticket card from the APP background (10);
the two-dimensional code ticket selling module (24) is connected with the client communication module (21) and is used for acquiring corresponding ticket information from the two-dimensional code ticket selling system (30);
the code generation module (25) is connected with the authorization data acquisition module (23) and the two-dimensional code ticket card selling module (24) and is used for generating a two-dimensional code corresponding to the promissory ticket of the two-dimensional code ticket card according to the acquired authorization signature data and the ticket type information;
the client storage module (26) is connected with the code generation module (25) and is used for storing the generated two-dimensional code ticket card certificate;
and the display module (27) is connected with the code generation module (25) and is used for displaying the generated two-dimensional code ticket card so as to facilitate the scanning of the gate terminal when a user enters or exits the subway station.
3. The two-dimensional code based promissory note selling and verifying system according to claim 1, wherein the gate terminal comprises:
the output end of the two-dimensional code card reader is connected with the industrial control host and is used for scanning a two-dimensional code ticket card provided by a user when the user enters and exits the station;
the terminal communication module is connected with the in-station server;
the terminal storage module is used for storing the two-dimensional code sending public key and the station information of the gate terminal;
the industrial control host is respectively connected with the gate driver, the terminal communication module and the terminal storage module, after the two-dimensional code data scanned by the two-dimensional code reader are received, the two-dimensional code is signed and verified by using the two-dimensional code sending public key stored in the terminal storage module, the gate driver is controlled to be switched on and switched off according to the verification result, user account information is identified from the two-dimensional code data, when a user enters and exits a station, the user account information and station information where the gate terminal is located are cached, and after the terminal communication module is communicated with the in-station server, the user account information and the station information where the gate terminal is located are transmitted to the in-station server together.
4. The two-dimensional code based promissory note selling and verifying system according to claim 1, wherein the charging system comprises:
the server communication module is used for establishing a communication network with the in-station server and the APP background;
the transaction data matching module is connected with the server communication module and used for matching user in-and-out data according to the received account information to obtain an in-station site and an out-station site corresponding to each user and transmitting the in-station site and the out-station site as transaction data to the APP background;
and the transaction data charging module is connected with the server communication module, and the user calculates the amount payable for the travel according to the corresponding site of the matched journey and initiates the request for checking and canceling the corresponding ticket type to the checking and canceling system and the money requesting system.
5. The two-dimensional code based promissory note selling and verifying system according to claim 1, wherein the verifying system comprises:
the ticket selling module is used for transmitting the selling information of the promissory ticket to the APP client side for displaying and storing;
and the stroke verification and cancellation module is used for matching the ticket types corresponding to the strokes to verify and cancel.
6. The two-dimensional code based promissory note selling and verifying system of claim 1, wherein the fund requisition system comprises:
the money requesting module is used for deducting money from a signing payment channel corresponding to the user when the ticket is purchased and the travel fee is deducted;
and the repayment module is used for actively repayment after the user makes a deduction failure corresponding to the payment channel, providing repayment to the APP background and actively repayment to the APP client.
7. A method for selling and verifying a promissory note based on a two-dimensional code ticket card is characterized by comprising the following steps:
the APP client side carries out account registration login in an APP background, and selects a corresponding ticket card product;
the APP background generates authorization signature data of the two-dimensional code ticket card generated code for the APP client side according to the two-dimensional code sending public key;
the APP client side is connected with the APP background regularly, and authorized signature data are obtained from the APP background;
the APP client side obtains a two-dimensional code ticket card corresponding to the authorized signature data according to the user account information and the promissory ticket purchase information;
when a bus enters and leaves the station, the generated two-dimensional code ticket card is displayed to the gate terminal;
the gate terminal scans the two-dimensional code ticket card to obtain two-dimensional code data, carries out signature verification on the two-dimensional code data, and opens a gate channel when the two-dimensional code data are legal;
the gate terminal uploads the user account information and site information corresponding to the gate terminal to a charging system through an intra-site server;
the charging system carries out transaction matching on the station entering and leaving data of the user and submits the matched transaction data to a verification and cancellation system for verification and cancellation;
the verification and cancellation system verifies and cancels the purchased promissory note and returns the promissory note to the charging system to initiate a request;
and the debit system carries out fee deduction settlement on the user account and pushes fee deduction information to the APP client side of the corresponding user.
8. The method for selling and verifying promissory tickets according to claim 7, wherein the APP client performs account registration login in an APP background and selects a corresponding ticket card product, and specifically comprises:
sending an inquiry request to a ticket card background through an APP background, inquiring a ticket card product list in issuance, and returning the ticket card product list to an APP client side through the APP background by the ticket card background;
the APP client side sends a fare inquiry request to the APP background, and the APP background returns fare of the ticket card;
the APP client sends a payment mode query request to the APP background, and the APP background returns a payment mode list;
and the APP client side selects corresponding ticket card products according to the ticket card product list, the ticket price of the ticket card and the payment mode list.
9. The method for selling and verifying the promissory note based on the two-dimensional code ticket card as claimed in claim 7, wherein the APP client obtains the two-dimensional code ticket card corresponding to the authorized signature data according to the user account information and the promissory note purchase information, and specifically comprises:
the method comprises the steps that an APP client sends a ticket buying request to an APP background, the APP background sends a payment signature obtaining request to a payment system, the payment system returns a payment signature to the APP background, the APP background returns the payment signature to the APP client, and the APP client invokes a payment control to carry out user payment;
the payment system confirms that payment is successful and then sends payment callback information to the APP background, the APP background returns a result to the payment system, the APP background sends a ticket card selling request to the ticket card background, the ticket card background sends ticket card information to the APP client side through the APP background, and the APP client side generates a two-dimensional code ticket card according to the ticket card information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010719957.7A CN111784327A (en) | 2020-07-23 | 2020-07-23 | Two-dimensional code based method and system for selling and verifying promissory tickets |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010719957.7A CN111784327A (en) | 2020-07-23 | 2020-07-23 | Two-dimensional code based method and system for selling and verifying promissory tickets |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111784327A true CN111784327A (en) | 2020-10-16 |
Family
ID=72764037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010719957.7A Pending CN111784327A (en) | 2020-07-23 | 2020-07-23 | Two-dimensional code based method and system for selling and verifying promissory tickets |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111784327A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113298959A (en) * | 2021-04-28 | 2021-08-24 | 中铁电气化局集团有限公司 | Ticket selling and checking system and method |
CN113628352A (en) * | 2021-06-30 | 2021-11-09 | 东南大学 | Subway ticket business system based on secondary selling and subway ticket secondary selling method |
CN114419742A (en) * | 2022-03-11 | 2022-04-29 | 深圳市深圳通有限公司 | Electronic ticket using method, device, equipment and storage medium |
CN115082051A (en) * | 2022-08-24 | 2022-09-20 | 中铁电气化局集团有限公司 | Diversified payment platform, encryption method and payment equipment for railway ticket business |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103646309A (en) * | 2013-12-04 | 2014-03-19 | 广东创能科技有限公司 | Ticket clearing system and method |
CN205068504U (en) * | 2015-10-15 | 2016-03-02 | 南京熊猫电子股份有限公司 | Many tickets kind can dispose ticket and sell module |
CN108234517A (en) * | 2018-01-29 | 2018-06-29 | 成都智元汇信息技术股份有限公司 | A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method |
CN111144684A (en) * | 2018-11-01 | 2020-05-12 | 丰田自动车株式会社 | Vehicle scheduling system, server and information processing method |
CN111415149A (en) * | 2019-09-24 | 2020-07-14 | 南京熊猫电子股份有限公司 | Internet ticketing system based on two-dimensional code scanning and passing brake and control method thereof |
-
2020
- 2020-07-23 CN CN202010719957.7A patent/CN111784327A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103646309A (en) * | 2013-12-04 | 2014-03-19 | 广东创能科技有限公司 | Ticket clearing system and method |
CN205068504U (en) * | 2015-10-15 | 2016-03-02 | 南京熊猫电子股份有限公司 | Many tickets kind can dispose ticket and sell module |
CN108234517A (en) * | 2018-01-29 | 2018-06-29 | 成都智元汇信息技术股份有限公司 | A kind of subway based on offline Quick Response Code ticket card is ridden off-line processing system and method |
CN111144684A (en) * | 2018-11-01 | 2020-05-12 | 丰田自动车株式会社 | Vehicle scheduling system, server and information processing method |
CN111415149A (en) * | 2019-09-24 | 2020-07-14 | 南京熊猫电子股份有限公司 | Internet ticketing system based on two-dimensional code scanning and passing brake and control method thereof |
Non-Patent Citations (3)
Title |
---|
宋雪: "北京轨道交通试行推出电子定期票", pages 4, Retrieved from the Internet <URL:http://travel.cnr.cn/list/20190126/t20190126_524494407/shtml> * |
张宁等: "互联网电子票种多样化应用及推广研究", 《郑州铁路职业技术学院学报》, vol. 34, no. 1, pages 45 - 47 * |
苏州本地宝: "苏州轨道交通计次票使用规则", Retrieved from the Internet <URL:http://wenda.bendibao.com/live/20200410/118790.shtm> * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113298959A (en) * | 2021-04-28 | 2021-08-24 | 中铁电气化局集团有限公司 | Ticket selling and checking system and method |
CN113628352A (en) * | 2021-06-30 | 2021-11-09 | 东南大学 | Subway ticket business system based on secondary selling and subway ticket secondary selling method |
CN114419742A (en) * | 2022-03-11 | 2022-04-29 | 深圳市深圳通有限公司 | Electronic ticket using method, device, equipment and storage medium |
CN114419742B (en) * | 2022-03-11 | 2022-07-19 | 深圳市深圳通有限公司 | Electronic ticket using method, device, equipment and storage medium |
CN115082051A (en) * | 2022-08-24 | 2022-09-20 | 中铁电气化局集团有限公司 | Diversified payment platform, encryption method and payment equipment for railway ticket business |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111784327A (en) | Two-dimensional code based method and system for selling and verifying promissory tickets | |
KR100366060B1 (en) | Optical payment transceiver and system using the same | |
US20060173790A1 (en) | Optical payment transceiver and system using the same | |
US20050182674A1 (en) | Charge approval and payment system | |
JP2011209989A (en) | Charging system | |
CN102214323A (en) | Background management server, mobile terminal, and ticket booking system and method | |
MX2015001257A (en) | Systems and methods for providing, reloading, and redeeming stored value cards used in transit applications. | |
CN113298959A (en) | Ticket selling and checking system and method | |
CN107148634A (en) | Integrate accumulation system, integration accumulation method and its NFC terminal devices | |
WO2007071157A1 (en) | A recognition method for electronic payment and id authentication terminal and atm | |
KR101283992B1 (en) | Mileage Charging Method by Using Traffic card System and Using Method of Milage | |
KR20070027076A (en) | Transmission method of bar-code image with buying value to portable phones and system using thereof | |
KR101344509B1 (en) | Mileage Charging Systwm based on position of Card terminal by Using Traffic card System | |
CN106875180B (en) | Online payment method with visible light and bar code bidirectional authentication | |
JP2003022460A (en) | System and method for parking lot management | |
JP2002298023A5 (en) | Settlement method, information processing system for settlement and mobile information terminal | |
JP2006072728A (en) | Parking area management apparatus, parking area management system, parking area management method, parking area managing server, adjustment apparatus, store terminal and portable terminal | |
KR20090091893A (en) | Method for settling affiliated store, van server, settlement process server and recording medium | |
KR20180049445A (en) | Method for Accumulating Inscribed Value Transformed from Uninscribed Receipt by using Facial Recognition | |
KR20180049443A (en) | Method for Accumulating Inscribed Value Transformed from Uninscribed Receipt by using Biometrics | |
CN106920094B (en) | Online payment device with visible light and bar code bidirectional authentication | |
CN106682904B (en) | Off-line payment device with visible light and bar code bidirectional authentication | |
KR20030023944A (en) | Buying certification and payment system by handphone | |
WO2020202419A1 (en) | Payment assistance system, payment assistance device, payment terminal, ticket machine, and payment method | |
CN115131885A (en) | Mobile vehicle charging method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |