Ticketing system based on block chain
By using a blockchain-based ticketing system, the problem of electronic tickets being easily imitated to generate counterfeit tickets has been solved, ensuring the security and accuracy of the ticket purchase and verification process.
Patent Information
- Application Number
- CN202311798446.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2026-02-06
AI Technical Summary
In existing ticketing systems, electronic tickets are easily counterfeited, affecting the normal operation of the system.
The ticketing system, based on blockchain, includes an identity verification module, a ticketing processing module, a payment settlement module, a management and storage module, and a user interface module. It generates and verifies ticketing information, performs fund clearing, and uses blockchain technology to record ticket purchase and verification activities.
It effectively prevents the use of a single ticket for multiple purposes and the occurrence of counterfeit tickets, ensures the correctness of the ticket purchase and verification process, and generates electronic tickets containing necessary information.
Smart Images

Figure CN121481785A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic digital data processing, and more specifically to a ticketing system based on blockchain. Background Technology
[0002] Tickets, as a form of proof, are commonly used in various commercial activities, such as concerts, cinemas, and scenic spots. In order to protect the environment, more and more venues are using electronic tickets to replace paper tickets. However, this has also facilitated the production of counterfeit tickets. In order to prevent counterfeit tickets from taking effect and to maintain the normal use of tickets, a system is needed to improve the verification of electronic tickets. Blockchain, as a technology that can effectively prevent information tampering, can be applied to new ticketing systems.
[0003] The foregoing description of the background art is intended only to facilitate understanding of the invention. This description does not endorse or acknowledge any common general knowledge in the materials mentioned.
[0004] Many ticketing systems have been developed. Extensive research and reference have revealed existing systems, such as the one disclosed in public notice CN111681139B. These systems typically involve: obtaining user information from tourist attraction ticket offices and uploading it to a cloud server; retrieving the user's visual information from the internet; retrieving the user's historical ticketing records based on the visual information; retrieving one-way transportation information, total mileage, and total time based on the historical records; calculating the number of trips per trip based on the transportation information; determining the optimal number of trips per trip; retrieving transfer information based on the user's historical ticketing records; sorting the transfer locations for each trip; expanding the scope of the transfer based on the transfer location; and limiting the scope of the expansion based on the number of trips per trip. However, electronic tickets obtained through this system are easily counterfeited, affecting the normal operation of the entire ticketing system. Summary of the Invention
[0005] The purpose of this invention is to address the shortcomings by proposing a blockchain-based ticketing system.
[0006] The present invention adopts the following technical solution:
[0007] A blockchain-based ticketing system includes an identity verification module, a ticketing processing module, a payment settlement module, a management and storage module, and a user interface module.
[0008] The identity verification module is used to verify the user's identity information; the ticketing processing module is used to generate and verify ticketing information; the payment and settlement module is used to process the funds for ticket purchases; the management and storage module is used to store and manage access to ticketing information; and the user interface module is used to provide an interface for interactive processing.
[0009] The identity verification module includes a user registration unit and a verification unit. The user registration unit is used to create account information, and the verification unit is used to verify the user's identity when the user logs in and makes transactions.
[0010] The ticketing processing module includes a ticketing generation unit and a ticketing verification unit. The ticketing generation unit is used to generate electronic ticket information, and the ticketing verification unit is used to verify the authenticity and validity of the electronic ticket information.
[0011] The payment and settlement module includes a transaction processing unit and a fund clearing unit. The transaction processing unit is used to process ticket purchase and sales transactions, and the fund clearing unit is used to transfer ticket payments between the seller's account and the buyer's account.
[0012] The management storage module includes a block storage unit and an access control unit. The block storage unit is used to store user data and ticketing data, and the access control unit is used to control and manage the data access process in the block storage unit.
[0013] Furthermore, the ticketing application process of this system includes the following steps:
[0014] S1. Register an account through the user registration unit;
[0015] S2. Log in to your account in the user interface module, select a ticketing information in the front-end display unit, and submit a ticket purchase application through the user interaction unit;
[0016] S3. The transaction processing unit processes the ticket purchase application and sends the transaction order and ticket order to the fund clearing unit and the ticket generation unit respectively.
[0017] S4. The fund clearing unit processes the transfer of ticket funds according to the transaction order, and sends a verification form to the ticket generation unit after successful processing.
[0018] S5. The ticketing generation unit verifies and matches the ticket order and the verification order. If the match is successful, it generates electronic ticket information and sends it to the user interface module, and sends the ticket purchase behavior to the management storage module.
[0019] S6. The management storage module records this ticket purchase.
[0020] S7. The electronic ticket is displayed through the user interface module. The ticket verification unit verifies the electronic ticket and sends the verification to the management storage module after successful verification.
[0021] S8. The management and storage module records this ticket verification process;
[0022] Furthermore, the ticket generation unit includes a ticket order register, a ticket matching processor, and an electronic ticket generation processor. The ticket order register is used to receive and store ticket order information. The ticket matching processor is used to receive verification information and match the corresponding ticket order information from the ticket order register. The electronic ticket generation processor generates electronic tickets based on the ticket orders.
[0023] Furthermore, the transaction processing unit includes a ticket application processor and a transaction number generation processor. The ticket application processor is used to receive ticket purchase application information and perform information extraction processing, and the transaction number generation processor is used to generate ticket number information and transaction number information.
[0024] Furthermore, the ticket number generation processor generates ticket number information according to the following formula:
[0025]
[0026] Where Nb1(i) represents the i-th character value of the ticket number string, T1(j) represents the j-th character value of the issuer string, T2(j) represents the j-th character value of the ticket type string, T3(j) represents the j-th character value of the ticket content string, L is the length of the ticket number string, L1 is the length of the issuer string, L2 is the length of the ticket type string, and L3 is the length of the ticket content string.
[0027] The transaction number generation processor generates transaction number information according to the following formula:
[0028] Nb2(i)=(Nb1(i)+T4(i))mod 16;
[0029] Where Nb2(i) represents the i-th character value of the transaction number string, and T4(i) represents the i-th character value of the ticket purchaser string.
[0030] The beneficial effects achieved by this invention are:
[0031] This system uses blockchain technology to record ticket purchase and verification activities, which can effectively prevent the use of a single ticket for multiple purposes and the validity of counterfeit tickets. During the ticket purchase process, the system generates and processes ticket number, transaction number, and verification number to ensure that all processes before the electronic ticket is generated are carried out correctly, and finally generates an electronic ticket containing all necessary information.
[0032] To further understand the features and technical content of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are for reference and illustration only and are not intended to limit the present invention. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the overall structural framework of the present invention;
[0034] Figure 2 This is a schematic diagram of the ticketing processing module of the present invention;
[0035] Figure 3 This is a schematic diagram of the payment and settlement module of the present invention;
[0036] Figure 4 This is a schematic diagram of the ticket generation unit of the present invention;
[0037] Figure 5 This is a schematic diagram of the transaction processing unit of the present invention. Detailed Implementation
[0038] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the spirit of the present invention. Furthermore, the accompanying drawings of the present invention are for simple illustrative purposes only and are not depictions of actual dimensions; this is stated beforehand. The following embodiments will further describe the relevant technical content of the present invention in detail, but the disclosed content is not intended to limit the scope of protection of the present invention.
[0039] Example 1.
[0040] This embodiment provides a blockchain-based ticketing system, combined with... Figure 1 It includes an identity verification module, a ticketing processing module, a payment settlement module, a management and storage module, and a user interface module;
[0041] The identity verification module is used to verify the user's identity information; the ticketing processing module is used to generate and verify ticketing information; the payment and settlement module is used to process the funds for ticket purchases; the management and storage module is used to store and manage access to ticketing information; and the user interface module is used to provide an interface for interactive processing.
[0042] The identity verification module includes a user registration unit and a verification unit. The user registration unit is used to create account information, and the verification unit is used to verify the user's identity when the user logs in and makes transactions.
[0043] The ticketing processing module includes a ticketing generation unit and a ticketing verification unit. The ticketing generation unit is used to generate electronic ticket information, and the ticketing verification unit is used to verify the authenticity and validity of the electronic ticket information.
[0044] The payment and settlement module includes a transaction processing unit and a fund clearing unit. The transaction processing unit is used to process ticket purchase and sales transactions, and the fund clearing unit is used to transfer ticket payments between the seller's account and the buyer's account.
[0045] The management storage module includes a block storage unit and an access control unit. The block storage unit is used to store user data and ticketing data, and the access control unit is used to control and manage the data access process in the block storage unit.
[0046] The process of implementing ticketing in this system includes the following steps:
[0047] S1. Register an account through the user registration unit;
[0048] S2. Log in to your account in the user interface module, select a ticketing information in the front-end display unit, and submit a ticket purchase application through the user interaction unit;
[0049] S3. The transaction processing unit processes the ticket purchase application and sends the transaction order and ticket order to the fund clearing unit and the ticket generation unit respectively.
[0050] S4. The fund clearing unit processes the transfer of ticket funds according to the transaction order, and sends a verification form to the ticket generation unit after successful processing.
[0051] S5. The ticketing generation unit verifies and matches the ticket order and the verification order. If the match is successful, it generates electronic ticket information and sends it to the user interface module, and sends the ticket purchase behavior to the management storage module.
[0052] S6. The management storage module records this ticket purchase.
[0053] S7. The electronic ticket is displayed through the user interface module. The ticket verification unit verifies the electronic ticket and sends the verification to the management storage module after successful verification.
[0054] S8. The management and storage module records this ticket verification process;
[0055] The ticketing generation unit includes a ticketing register, a ticketing matching processor, and an electronic ticket generation processor. The ticketing register is used to receive and store ticketing information. The ticketing matching processor is used to receive verification information and match the corresponding ticketing information from the ticketing register. The electronic ticket generation processor generates electronic tickets based on the ticketing information.
[0056] The transaction processing unit includes a ticket application processor and a transaction number generation processor. The ticket application processor is used to receive ticket purchase application information and perform information extraction processing. The transaction number generation processor is used to generate ticket number information and transaction number information.
[0057] The ticket number generation processor generates ticket number information according to the following formula:
[0058]
[0059] Where Nb1(i) represents the i-th character value of the ticket number string, T1(j) represents the j-th character value of the issuer string, T2(j) represents the j-th character value of the ticket type string, T3(j) represents the j-th character value of the ticket content string, L is the length of the ticket number string, L1 is the length of the issuer string, L2 is the length of the ticket type string, and L3 is the length of the ticket content string.
[0060] The transaction number generation processor generates transaction number information according to the following formula:
[0061] Nb2(i)=(Nb1(i)+T4(i))mod 16;
[0062] Where Nb2(i) represents the i-th character value of the transaction number string, and T4(i) represents the i-th character value of the ticket purchaser string.
[0063] Example 2.
[0064] This embodiment includes all the contents of Embodiment 1, and provides a blockchain-based ticketing system, including an identity verification module, a ticketing processing module, a payment settlement module, a management storage module, and a user interface module;
[0065] The identity verification module is used to verify the user's identity information; the ticketing processing module is used to generate and verify ticketing information; the payment and settlement module is used to process the funds for ticket purchases; the management and storage module is used to store and manage access to ticketing information; and the user interface module is used to provide an interface for interactive processing.
[0066] The identity verification module includes a user registration unit and a verification unit. The user registration unit is used to create account information, and the verification unit is used to verify the user's identity when the user logs in and makes transactions.
[0067] Combination Figure 2 The ticketing processing module includes a ticketing generation unit and a ticketing verification unit. The ticketing generation unit is used to generate electronic ticket information, and the ticketing verification unit is used to verify the authenticity and validity of the electronic ticket information.
[0068] Combination Figure 3 The payment and settlement module includes a transaction processing unit and a fund clearing unit. The transaction processing unit is used to process ticket purchase and sales transactions, and the fund clearing unit is used to transfer ticket payments between the seller's account and the buyer's account.
[0069] The management storage module includes a block storage unit and an access control unit. The block storage unit is used to store user data and ticketing data, and the access control unit is used to control and manage the data access process in the block storage unit.
[0070] The user interface module includes a front-end display unit and a user interaction unit. The front-end display unit is used to provide a browsing and purchasing interface for tickets, and the user interaction unit is used to process user interaction information.
[0071] The process of using this system for ticketing applications includes the following steps:
[0072] S1. Register an account through the user registration unit;
[0073] S2. Log in to your account in the user interface module, select a ticketing information in the front-end display unit, and submit a ticket purchase application through the user interaction unit;
[0074] S3. The transaction processing unit processes the ticket purchase application and sends the transaction order and ticket order to the fund clearing unit and the ticket generation unit respectively.
[0075] S4. The fund clearing unit processes the transfer of ticket funds according to the transaction order, and sends a verification form to the ticket generation unit after successful processing.
[0076] S5. The ticketing generation unit verifies and matches the ticket order and the verification order. If the match is successful, it generates electronic ticket information and sends it to the user interface module, and sends the ticket purchase behavior to the management storage module.
[0077] S6. The management storage module records this ticket purchase.
[0078] S7. The electronic ticket is displayed through the user interface module. The ticket verification unit verifies the electronic ticket and sends the verification to the management storage module after successful verification.
[0079] S8. The management and storage module records this ticket verification process;
[0080] The user registration unit includes a registration interface processor and a user information storage. The registration interface processor is used to provide registration interface information and collect user information input by the user. The user information storage is used to store the user information of all registered users.
[0081] Combination Figure 4 The ticketing generation unit includes a ticketing register, a ticketing matching processor, and an electronic ticket generation processor. The ticketing register is used to receive and store ticketing information. The ticketing matching processor is used to receive verification information and match the corresponding ticketing information from the ticketing register. The electronic ticket generation processor generates electronic tickets based on the ticketing information.
[0082] The ticket order contains the ticket issuer, ticket purchaser, ticket type, ticket price, and ticket number. The verification order contains the transaction price, transaction party, and verification number. The ticket matching processor compares the ticket issuer, ticket purchaser, and transaction party, compares the ticket price with the transaction price, and compares the ticket number with the verification number. When the comparison results of the three are consistent, the corresponding ticket order is sent to the electronic ticket generation processor, and the ticket order register deletes the successfully matched ticket order information.
[0083] The electronic ticket generation processor generates a verification code based on the issuer, purchaser, ticket type, and ticket number, and then converts the verification code into a QR code.
[0084] Combination Figure 5 The transaction processing unit includes a ticket application processor and a transaction number generation processor. The ticket application processor is used to receive ticket purchase application information and perform information extraction processing. The transaction number generation processor is used to generate ticket number information and transaction number information.
[0085] The ticketing application processor extracts ticket issuer information, ticket type information, and ticket content information from the ticket purchase application information. The ticketing application processor records the ticketing qualifications of all ticket issuers, which are the types of tickets that the ticket issuer can sell. The ticketing application processor compares the extracted ticket type information with the ticket issuer's ticketing qualifications. After the qualification comparison, it checks the items included in the ticket content according to the ticket type. After confirming that all items are complete, it sends the ticket issuer information, ticket type information, and ticket content information to the order number generation processor.
[0086] The items included in the ticket content differ depending on the ticket type;
[0087] The ticket number generation processor generates ticket number information according to the following formula:
[0088]
[0089] Where Nb1(i) represents the i-th character value of the ticket number string, T1(j) represents the j-th character value of the issuer string, T2(j) represents the j-th character value of the ticket type string, T3(j) represents the j-th character value of the ticket content string, L is the length of the ticket number string, L1 is the length of the issuer string, L2 is the length of the ticket type string, and L3 is the length of the ticket content string.
[0090] The transaction number generation processor generates transaction number information according to the following formula:
[0091] Nb2(i)=(Nb1(i)+T4(i))mod 16; ①
[0092] Where Nb2(i) represents the i-th character value of the transaction number string, and T4(i) represents the i-th character value of the ticket purchaser string;
[0093] The order number generation processor sends the ticket number information and transaction number information to the ticket application processor. The ticket application processor generates a ticket order based on the ticket number information and a transaction order based on the transaction number information.
[0094] The funds clearing unit includes a funds transfer processor and a verification number processor. The funds transfer processor is used to transfer the ticket price from the purchaser's account to the ticket issuer's account. The verification number processor generates a verification number after the funds transfer is successful.
[0095] The verification number processor generates the verification number information according to the following formula:
[0096]
[0097] Where Nb3(i) represents the value of the i-th character in the verification string, and Am is the transaction amount;
[0098] The ticket matching processor processes the ticket number according to formulas ① and ②. When the processing result is the same as the verification number, it means that the comparison result of the ticket number and the verification number is consistent.
[0099] The ticket verification unit includes a QR code conversion processor and a ticket verification code analysis processor. The QR code conversion processor converts the scanned QR code image into ticket verification code information. The ticket verification code analysis processor decomposes the ticket verification code into ticket issuer information, ticket purchaser information, ticket type information, and ticket number information. It then compares the ticket issuer information and ticket type information with the information stored locally, and sends the ticket number information to the management storage module. The management storage module provides feedback on the ticket purchaser information. The ticket verification code analysis processor compares the received ticket purchaser information with the decomposed ticket purchaser information. If the comparison matches, the ticket verification is successful.
[0100] The block storage unit includes a ticketing chain processor and a user register. The ticketing chain processor uses blockchain technology to store ticket purchase and verification behaviors, and the user register is used to store user information.
[0101] When the access control unit receives the user's access information, it first confirms the legitimacy of the user's access based on the user register, and then retrieves the user-related information from the ticketing chain processor and returns it to the user.
[0102] When the access control unit receives the ticket number information, it retrieves the ticket purchase behavior related to the ticket number information from the ticketing chain processor, determines that there is no ticket verification behavior related to the ticket number information in the ticketing chain processor, and returns the ticket purchaser information in the ticket purchase behavior to the ticketing verification unit that sent the ticket number information.
[0103] The i and j mentioned above are ordinal numbers used to represent sequence numbers.
[0104] The content disclosed above is only a preferred and feasible embodiment of the present invention, and is not intended to limit the scope of protection of the present invention. Therefore, all equivalent technical changes made based on the content of the present invention specification and drawings are included within the scope of protection of the present invention. Furthermore, the elements therein can be updated as technology develops.
Claims
1. A blockchain-based ticketing system, characterized in that, It includes an identity verification module, a ticketing processing module, a payment settlement module, a management and storage module, and a user interface module; The identity verification module is used to verify the user's identity information; the ticketing processing module is used to generate and verify ticketing information; the payment and settlement module is used to process the funds for ticket purchases; the management and storage module is used to store and manage access to ticketing information; and the user interface module is used to provide an interface for interactive processing. The identity verification module includes a user registration unit and a verification unit. The user registration unit is used to create account information, and the verification unit is used to verify the user's identity when the user logs in and makes transactions. The ticketing processing module includes a ticketing generation unit and a ticketing verification unit. The ticketing generation unit is used to generate electronic ticket information, and the ticketing verification unit is used to verify the authenticity and validity of the electronic ticket information. The payment and settlement module includes a transaction processing unit and a fund clearing unit. The transaction processing unit is used to process ticket purchase and sales transactions, and the fund clearing unit is used to transfer ticket payments between the seller's account and the buyer's account. The management storage module includes a block storage unit and an access control unit. The block storage unit is used to store user data and ticketing data, and the access control unit is used to control and manage the data access process in the block storage unit.
2. The blockchain-based ticketing system as described in claim 1, characterized in that, The process of implementing ticketing in this system includes the following steps: S1. Register an account through the user registration unit; S2. Log in to your account in the user interface module, select a ticketing information in the front-end display unit, and submit a ticket purchase application through the user interaction unit; S3. The transaction processing unit processes the ticket purchase application and sends the transaction order and ticket order to the fund clearing unit and the ticket generation unit respectively. S4. The fund clearing unit processes the transfer of ticket funds according to the transaction order, and sends a verification form to the ticket generation unit after successful processing. S5. The ticketing generation unit verifies and matches the ticket order and the verification order. If the match is successful, it generates electronic ticket information and sends it to the user interface module, and sends the ticket purchase behavior to the management storage module. S6. The management storage module records this ticket purchase. S7. The electronic ticket is displayed through the user interface module. The ticket verification unit verifies the electronic ticket and sends the verification to the management storage module after successful verification. S8. The management and storage module records this ticket verification behavior.
3. A blockchain-based ticketing system as described in claim 2, characterized in that, The ticketing generation unit includes a ticketing register, a ticketing matching processor, and an electronic ticket generation processor. The ticketing register is used to receive and store ticketing information. The ticketing matching processor is used to receive verification information and match the corresponding ticketing information from the ticketing register. The electronic ticket generation processor generates electronic tickets based on the ticketing information.
4. A blockchain-based ticketing system as described in claim 3, characterized in that, The transaction processing unit includes a ticket application processor and a transaction number generation processor. The ticket application processor is used to receive ticket purchase application information and perform information extraction processing. The transaction number generation processor is used to generate ticket number information and transaction number information.
5. A blockchain-based ticketing system as described in claim 4, characterized in that, The ticket number generation processor generates ticket number information according to the following formula: Where Nb1(i) represents the i-th character value of the ticket number string, T1(j) represents the j-th character value of the issuer string, T2(j) represents the j-th character value of the ticket type string, T3(j) represents the j-th character value of the ticket content string, L is the length of the ticket number string, L1 is the length of the issuer string, L2 is the length of the ticket type string, and L3 is the length of the ticket content string. The transaction number generation processor generates transaction number information according to the following formula: Nb2(i)=(Nb1(i)+T4(i))mod 16; Where Nb2(i) represents the i-th character value of the transaction number string, and T4(i) represents the i-th character value of the ticket purchaser string.
Citation Information
Patent Citations
A working method of a cloud-based electronic ticketing system
CN111681139B
