CN112150150B - Electronic ticket transaction system and method based on blockchain - Google Patents

Electronic ticket transaction system and method based on blockchain Download PDF

Info

Publication number
CN112150150B
CN112150150B CN202011066000.3A CN202011066000A CN112150150B CN 112150150 B CN112150150 B CN 112150150B CN 202011066000 A CN202011066000 A CN 202011066000A CN 112150150 B CN112150150 B CN 112150150B
Authority
CN
China
Prior art keywords
transaction
transaction information
center server
electronic ticket
module
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.)
Active
Application number
CN202011066000.3A
Other languages
Chinese (zh)
Other versions
CN112150150A (en
Inventor
王燕霞
杨帆
李国勇
韩鹏
周扬眉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Academy of Science and Technology
Original Assignee
Chongqing Academy of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Academy of Science and Technology filed Critical Chongqing Academy of Science and Technology
Priority to CN202011066000.3A priority Critical patent/CN112150150B/en
Publication of CN112150150A publication Critical patent/CN112150150A/en
Application granted granted Critical
Publication of CN112150150B publication Critical patent/CN112150150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24534Query rewriting; Transformation
    • G06F16/24549Run-time optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/045Payment circuits using payment protocols involving tickets
    • G06Q20/0457Payment circuits using payment protocols involving tickets the tickets being sent electronically
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

The invention relates to the technical field of blockchains, in particular to an electronic ticket trading system based on blockchains, which comprises a plurality of central servers arranged in each area, wherein each central server comprises a receiving module, a first judging module, a processing module, a database, a second judging module and an output module, wherein the receiving module is used for receiving the first judging module, the processing module is used for receiving the second judging module, and the second judging module is used for receiving the second judging module, wherein the second judging module is used for receiving the second judging module: the receiving module is used for acquiring the transaction information of the electronic ticket and demarcating a seller center server and a buyer center server according to the transaction information; the first judging module is used for judging whether the electronic ticket transaction occurs in the same area or not, and if so, the transaction is achieved; otherwise, the transaction information is respectively forwarded to a seller center server and a buyer center server; the processing module is used for verifying the validity of the transaction information and storing the transaction information passing the validity verification into the database; by adopting the scheme, the characteristic that the blockchain is not tamperable can be utilized, and the security of the trans-regional transaction is ensured.

Description

Electronic ticket transaction system and method based on blockchain
Technical Field
The invention relates to the technical field of blockchains, in particular to an electronic ticket transaction system and method based on a blockchain.
Background
A ticket, which is a written document issued by a unit or individual and containing a certain value for shopping or consumption; with the rapid development of the technology level, the form of the ticket is developed from a paper ticket to an electronic ticket; electronic coupons produced, transmitted and used through various electronic media become a common financial transaction mode, and compared with common paper coupons, the electronic coupons have the characteristics of low production and transmission cost, convenience and easiness in management; however, the conventional electronic ticket management method has the disadvantages of easy ticket information falsification, unreliable data storage process, complicated settlement process and the like.
In this regard, chinese patent publication No. CN107918868A discloses a system and method for electronic ticket transaction with a blockchain, which is provided for at least one consumer to perform electronic consumption to at least one manufacturer, the electronic ticket transaction system includes a transaction server, an encryption server group, at least one manufacturer operation unit and at least one consumer operation unit, a set of commodity data is first received by the transaction server, a set of corresponding blockchain tickets is generated by the encryption server group and provided to the consumer operation unit, when the consumer performs commodity transaction, the manufacturer obtains the blockchain ticket from the consumer operation unit through the manufacturer operation unit, finally, the transaction server performs decryption verification to determine whether the blockchain ticket obtained by the manufacturer is correct, and if so, the transaction server performs the posting of the blockchain ticket.
In the scheme, the credit problem can be solved under the conditions of decentralization and trust removal by utilizing the blockchain technology, most of fraud behaviors are resisted, and the safe storage and non-falsification of transaction data are realized; however, if all electronic ticket transactions are circulated in a central server, the problem of slower response speed occurs due to larger information amount during the peak period of transaction.
Disclosure of Invention
The invention aims to provide a block chain-based electronic ticket transaction system and a block chain-based electronic ticket transaction method capable of performing cross-zone settlement.
The basic scheme provided by the invention is as follows: the utility model provides an electronic ticket transaction system based on block chain, includes a plurality of central servers that set up in each district, central server all includes receiving module, first judgement module, processing module, database, second judgement module and output module, wherein:
the receiving module is used for acquiring the transaction information of the electronic ticket and demarcating a seller center server and a buyer center server according to the transaction information;
the first judging module is used for judging whether the electronic ticket transaction occurs in the same area or not, and if so, the transaction is achieved; otherwise, the transaction information is respectively forwarded to a seller center server and a buyer center server;
the processing module is used for verifying the validity of the transaction information and storing the transaction information passing the validity verification into the database;
the second judging module is used for traversing the transaction information in the database and judging whether the transaction information passes through the verification of the seller center server and the buyer center server, if so, the transaction information is subjected to uplink sealing and storing according to a blockchain algorithm;
and the transmission module is used for synchronously forwarding the transaction information to each central server.
The working principle and the advantages of the invention are as follows:
in the process of electronic ticket transaction, a seller center server and a buyer center server can be defined through an accepting module according to the acquired transaction information; judging whether the electronic ticket transaction occurs in the same area or not by the first judging module, if so, directly settling accounts and achieving the transaction in an own central server; if the electronic ticket transaction is determined to be the cross-regional transaction, the transaction information is synchronously forwarded to the center servers of the buyer and the seller, and the transaction sponsors of the two center servers verify the transaction information, so that the security of the cross-regional transaction of the electronic ticket can be improved to a certain extent; then, after the second judging module detects that both buyers and sellers check the transaction information, uplink sealing is carried out on the transaction information according to a blockchain algorithm; therefore, by utilizing the characteristic that the blockchain is not tamperable, the cross-region transaction between each central server is guaranteed to be not tamperable, and the security of transaction information is greatly improved; and finally, synchronizing the transaction information of the cross-regional transaction to each central server through a transmission module for collection, so that the information of the cross-regional transaction can be traced.
In summary, the scheme ensures that electronic ticket transactions in different areas can be subjected to cross-zone settlement by arranging a plurality of center servers and controlling the electronic ticket transactions in the same area to be settled in the local area, so that the response speed of the servers can be optimized and accelerated; and uplink sealing can be carried out on transaction information of cross-regional settlement, so that the security of the transaction is improved.
Further, the first judging module is further configured to extract a protocol address of the buyer center server and a protocol address of the buyer center server, respectively, to generate first identification information and second identification information; and judging whether the two transaction sides are in the same area according to the first identification information and the second identification information.
The beneficial effects are that: the method aims to provide a specific mode capable of judging whether the electronic ticket transaction occurs in the same area or not, namely, the area to which the server belongs can be easily and directly found by extracting the protocol addresses of the two servers.
Further, the second judging module is further configured to encrypt the transaction information according to the hash operation, calculate a corresponding hash value, and store the hash value in the database to generate a relationship mapping table of the transaction information and the hash value.
The beneficial effects are that: the hash operation is mainly to calculate a string of information through a hash function in cryptography, and the obtained result is a character string with a fixed bit number, so that the information can be simplified, and a hash value can be obtained in a limited time and a limited resource; and the transaction information cannot be tampered with due to certain confidentiality.
Further, the second judging module is further configured to query the transaction information in the database according to a preset time period, until two identical transaction information are found in the database, and stop to continue the query.
The beneficial effects are that: in the scheme, the transaction information is stored in the database after verification of the buyer and the seller, and the second judging module inquires the transaction information passing the validity verification in the database according to the preset time period, so that real-time inquiry is not needed, and the system load is reduced.
Further, the second judging module is further configured to record the number of queries, and if the number of queries is greater than a preset number threshold, extend the time period.
The beneficial effects are that: the time period of each central server traversing the database can be adjusted according to the basis, so that the times of querying the database are reduced, invalid query operation is avoided, and the system operation amount is reduced.
The invention also provides a block chain-based electronic ticket transaction method, which comprises the following steps:
s1, acquiring transaction information of an electronic ticket, and defining a seller center server and a buyer center server according to the transaction information;
s2, judging whether the electronic ticket transaction occurs in the same area, and if so, achieving the transaction; otherwise, the transaction information is respectively forwarded to a seller center server and a buyer center server;
s3, verifying the validity of the transaction information, and storing the transaction information which passes the validity verification into a database;
s4, traversing transaction information in a database, judging whether the transaction information passes verification of a seller center server and a buyer center server, and if so, carrying out uplink sealing and storage on the transaction information according to a blockchain algorithm;
s5, synchronously forwarding the transaction information to each central server.
The beneficial effects are that: by arranging a plurality of center servers and controlling the settlement of the electronic ticket transactions in the same area in the local area, the electronic ticket transactions in different areas are subjected to cross-zone settlement, so that the response speed of the servers can be optimized and accelerated; the transaction information of the cross-regional settlement can be stored in a uplink manner, so that the transaction safety is improved; in addition, by synchronizing transaction information of the cross-zone transaction to each central server for collection, the information of the cross-zone transaction can be traced.
Further, the step S2 specifically further includes a step S21 of respectively extracting a protocol address of the buyer center server and a protocol address of the buyer center server, and generating first identification information and second identification information; and judging whether the two transaction sides are in the same area according to the first identification information and the second identification information.
The beneficial effects are that: a specific way of determining whether an electronic ticket transaction occurs in the same zone can be provided.
Further, step S41 is specifically further included in step S4, where the transaction information in the database is queried according to the preset time period, until two identical transaction information are found in the database, and then the query is stopped.
The beneficial effects are that: the transaction information in the database is queried according to the times in the set time period, real-time query is not needed, and the operation load of the system can be reduced.
Further, step S42 is further included after step S41, where the number of queries is recorded, and if the number of queries is greater than a preset number threshold, the time period is prolonged.
The beneficial effects are that: the time period can be adjusted according to actual conditions, the times of querying the database are reduced, invalid query operation is avoided, and the system operation amount is reduced.
Further, the step S4 specifically further includes a step S43 of encrypting the transaction information through a hash operation, and calculating to obtain a corresponding hash value; s44, storing the hash value into a database, and generating a relation mapping table of transaction information and the hash value.
The beneficial effects are that: by adopting hash operation to process transaction information, the information can be simplified, and a hash value can be obtained in limited time and limited resources; and the transaction information cannot be tampered with due to certain confidentiality.
Drawings
FIG. 1 is a block diagram of a system and method for electronic ticket transaction based on blockchain according to an embodiment of the present invention.
FIG. 2 is a flowchart of a block chain based electronic ticket transaction system and method according to an embodiment of the present invention.
Detailed Description
The following is a further detailed description of the embodiments:
example 1
As shown in fig. 1, the electronic ticket trading system based on blockchain includes a plurality of central servers disposed in each area, each central server includes a receiving module, a first judging module, a processing module, a database, a second judging module and an output module, wherein:
the receiving module is used for acquiring the transaction information of the electronic ticket and demarcating a seller center server and a buyer center server according to the transaction information; because the electronic ticket involves the buyer and the seller, the seller center server and the buyer center server can be directly positioned according to the buyer and the seller information contained in the electronic ticket, and after the buyer and the seller center server are determined, the center servers of other areas are defined as third party center servers;
the first judging module is used for judging whether the electronic ticket transaction occurs in the same area or not, and if so, the transaction is achieved; otherwise, the transaction information is respectively forwarded to a seller center server and a buyer center server; in this embodiment, the first determining module is specifically further configured to extract a protocol address of the buyer center server and a protocol address of the buyer center server, and generate first identification information and second identification information; judging whether the two transaction sides are in the same area according to the first identification information and the second identification information; the protocol address is similar to the IP address of the server in the prior art, and the server can synchronously acquire the protocol address of the central server in the process of performing the electronic ticket transaction, and can determine which server the electronic ticket specifically belongs to according to the protocol address.
The processing module is used for verifying the validity of the transaction information and storing the transaction information passing the validity verification into the database; specifically, in this embodiment, the mode of validity verification is mainly to collect fingerprint information or signature of the buyer and the seller for confirmation;
the second judging module is used for traversing the transaction information in the database and judging whether the transaction information passes through the verification of the seller center server and the buyer center server, if so, the transaction information is subjected to uplink sealing and storing according to a blockchain algorithm; because the electronic ticket is synchronously stored in the database after being checked by the central server, whether the electronic ticket passes the check of the buyer and the seller can be judged by inquiring whether two identical electronic tickets exist in the database; if the judgment result is true, the transaction information is processed by adopting the existing blockchain algorithm, the second judgment module encrypts the transaction information according to hash operation, a corresponding hash value is obtained through calculation and is stored in a database, and a relation mapping table of the transaction information and the hash value is generated, wherein the hash algorithm is the most one algorithm in the blockchain and is widely used for constructing a block and confirming the integrity of the transaction, and the application of the method can prevent the transaction information from being tampered and improve the safety in the scheme;
and the transmission module is used for synchronously forwarding the transaction information to each central server.
In the process of electronic ticket transaction, firstly, a receiving module confirms a seller center server and a buyer center server according to the acquired transaction information, then a first judging module judges whether the electronic ticket transaction occurs in the same area, and if so, settlement can be directly carried out in the own center server and the transaction can be achieved; if the electronic ticket transaction is determined to be the cross-regional transaction, the transaction information is synchronously forwarded to the center servers of the buyer and the seller, and the transaction sponsors of the two center servers verify the transaction information, so that the security of the cross-regional transaction of the electronic ticket can be improved to a certain extent; then, after the second judging module detects that both buyers and sellers check the transaction information, uplink sealing is carried out on the transaction information according to a blockchain algorithm; therefore, by utilizing the characteristic that the blockchain is not tamperable, the cross-region transaction between each central server is guaranteed to be not tamperable, and the security of transaction information is greatly improved; and finally, synchronizing the transaction information of the cross-regional transaction to each central server through a transmission module for collection, so that the information of the cross-regional transaction can be traced.
The basic method of the system, the basic execution flow of which is shown in fig. 2, specifically comprises the following steps:
s1, acquiring transaction information of an electronic ticket, and defining a seller center server and a buyer center server according to the transaction information;
s2, judging whether the electronic ticket transaction occurs in the same area, and if so, achieving the transaction; otherwise, the transaction information is respectively forwarded to a seller center server and a buyer center server; specifically, step S2 further includes step S21 of respectively extracting a protocol address of the buyer center server and a protocol address of the buyer center server, and generating first identification information and second identification information; judging whether the two transaction sides are in the same area according to the first identification information and the second identification information;
s3, verifying the validity of the transaction information, and storing the transaction information which passes the validity verification into a database;
s4, traversing transaction information in a database, judging whether the transaction information passes verification of a seller center server and a buyer center server, and if so, carrying out uplink sealing and storage on the transaction information according to a blockchain algorithm;
s43, encrypting the transaction information through hash operation, and calculating to obtain a corresponding hash value;
s44, storing the hash value into a database, and generating a relation mapping table of transaction information and the hash value;
s5, synchronously forwarding the transaction information to each central server.
Example two
Compared with the first embodiment, the difference is that the second judging module is further configured to query the transaction information in the database according to the preset time period, and stop to continue the query until two identical transaction information are found in the database; the preset time period is 60s, which means that the second judging module automatically executes a query operation of the database once in 60 seconds, judges whether two identical transaction information exist in the database, and stops querying at the moment; in another embodiment, the second judging module is further configured to record the number of queries, and if the number of queries is greater than a preset number threshold, extend the time period; the set number of times threshold is specifically 5 times, for example, when executing a transaction information query for a certain time, the central server a performs 6 queries, and adjusts the time period to 70s to execute one query.
Based on the first embodiment, the step S4 specifically further includes a step S41 of querying transaction information in a database according to a preset time period until two identical transaction information are found in the database, and stopping to continue querying; s42, recording the query times, and if the query times are larger than a preset time threshold, prolonging the time period.
Example III
Compared with the first embodiment, the method only comprises the steps of encrypting a transaction request according to hash operation, calculating to obtain a first hash value, generating a relation mapping table of the transaction request and the first hash value, and storing the relation mapping table into a buyer center server and a seller center server respectively; the transaction request comprises information of both sides of the transaction and a transaction detail record. The sealing module is further configured to record a storage time of the relationship mapping table in the buyer center server and the seller center server, and if the storage time is greater than a preset time threshold (set to 3 days in the embodiment), record the transaction details in the transaction request, only keep information of both parties of the transaction, and generate a new transaction request; and encrypting the new transaction request according to the hash operation, calculating to obtain a second hash value, generating a relation mapping table of the new transaction request and the second hash value, and storing the relation mapping table in a third central server.
According to the scheme, the transaction detail records are still reserved and the corresponding hash values are calculated in the buyer center server and the seller center server which are subjected to transaction operation, so that the integrity of data can be ensured, and the subsequent repeated description and call of a database are facilitated; only the information of both transaction sides is stored in the third party central server as a simplified transaction request, and a hash value is calculated, so that the storage space of the central server can be saved instead of storing transaction details with larger occupied space.
In the prior art, after transaction information is synchronously uplink, ticket transaction information is backed up in all third party center servers; and along with the continuous progress of the transaction, a large amount of transaction information can be accumulated in the third party server, and a large amount of storage space is occupied. By adopting the scheme, the third party central server which does not participate in the transaction does not store specific transaction details, only stores one piece of simple transaction object information, can facilitate the subsequent extraction and identification of the transaction information by using the one piece of index information, and can save the storage space of the system.
The foregoing is merely an embodiment of the present invention, and a specific structure and characteristics of common knowledge in the art, which are well known in the scheme, are not described herein, so that a person of ordinary skill in the art knows all the prior art in the application day or before the priority date of the present invention, and can know all the prior art in the field, and have the capability of applying the conventional experimental means before the date, so that a person of ordinary skill in the art can complete and implement the present embodiment in combination with his own capability in the light of the present application, and some typical known structures or known methods should not be an obstacle for a person of ordinary skill in the art to implement the present application. It should be noted that modifications and improvements can be made by those skilled in the art without departing from the structure of the present invention, and these should also be considered as the scope of the present invention, which does not affect the effect of the implementation of the present invention and the utility of the patent. The protection scope of the present application shall be subject to the content of the claims, and the description of the specific embodiments and the like in the specification can be used for explaining the content of the claims.

Claims (10)

1. The electronic ticket transaction system based on the blockchain is characterized by comprising a plurality of central servers arranged in each area, wherein each central server comprises a receiving module, a first judging module, a processing module, a database, a second judging module and an output module, and the first judging module, the second judging module and the output module are arranged in the same area, wherein the second judging module is arranged in the same area as the first judging module:
the receiving module is used for acquiring the transaction information of the electronic ticket and demarcating a seller center server and a buyer center server according to the transaction information;
the first judging module is used for judging whether the electronic ticket transaction occurs in the same area or not, and if so, the transaction is achieved; otherwise, the transaction information is respectively forwarded to a seller center server and a buyer center server;
the processing module is used for verifying the validity of the transaction information and storing the transaction information passing the validity verification into the database;
the second judging module is used for traversing the transaction information in the database and judging whether the transaction information passes through the verification of the seller center server and the buyer center server, if so, the transaction information is subjected to uplink sealing and storing according to a blockchain algorithm;
and the transmission module is used for synchronously forwarding the transaction information to each central server.
2. The blockchain-based electronic ticket transaction system of claim 1, wherein: the first judging module is further used for respectively extracting the protocol address of the buyer center server and the protocol address of the seller center server to generate first identification information and second identification information; and judging whether the two transaction sides are in the same area according to the first identification information and the second identification information.
3. The blockchain-based electronic ticket transaction system of claim 1, wherein: the second judging module is further used for encrypting the transaction information according to the hash operation, calculating to obtain a corresponding hash value, storing the corresponding hash value into the database, and generating a relation mapping table of the transaction information and the hash value.
4. The blockchain-based electronic ticket transaction system of claim 1, wherein: and the second judging module is also used for inquiring the transaction information in the database according to the preset time period until two identical transaction information are found in the database, and stopping continuously inquiring.
5. The blockchain-based electronic ticket transaction system of claim 4, wherein: the second judging module is further configured to record the query times, and if the query times are greater than a preset time threshold, extend the time period.
6. A blockchain-based electronic ticket transaction method, comprising the steps of:
s1, acquiring transaction information of an electronic ticket, and defining a seller center server and a buyer center server according to the transaction information;
s2, judging whether the electronic ticket transaction occurs in the same area, and if so, achieving the transaction; otherwise, the transaction information is respectively forwarded to a seller center server and a buyer center server;
s3, verifying the validity of the transaction information, and storing the transaction information which passes the validity verification into a database;
s4, traversing transaction information in a database, judging whether the transaction information passes verification of a seller center server and a buyer center server, and if so, carrying out uplink sealing and storage on the transaction information according to a blockchain algorithm;
s5, synchronously forwarding the transaction information to each central server.
7. The blockchain-based electronic ticket transaction method of claim 6, wherein: step S21 is specifically further included in step S2, where the protocol address of the buyer center server and the protocol address of the buyer center server are extracted respectively, and first identification information and second identification information are generated; and judging whether the two transaction sides are in the same area according to the first identification information and the second identification information.
8. The blockchain-based electronic ticket transaction method of claim 6, wherein: the step S4 specifically further includes a step S41 of querying transaction information in the database according to a preset time period until two identical transaction information are found in the database, and stopping to continue querying.
9. The blockchain-based electronic ticket transaction method of claim 8, wherein: step S42 is further included after step S41, the number of inquiry times is recorded, and if the number of inquiry times is greater than a preset number threshold, the time period is prolonged.
10. The blockchain-based electronic ticket transaction method of claim 6, wherein: the step S4 specifically further comprises a step S43 of encrypting the transaction information through hash operation and calculating to obtain a corresponding hash value; s44, storing the hash value into a database, and generating a relation mapping table of transaction information and the hash value.
CN202011066000.3A 2020-09-30 2020-09-30 Electronic ticket transaction system and method based on blockchain Active CN112150150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011066000.3A CN112150150B (en) 2020-09-30 2020-09-30 Electronic ticket transaction system and method based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011066000.3A CN112150150B (en) 2020-09-30 2020-09-30 Electronic ticket transaction system and method based on blockchain

Publications (2)

Publication Number Publication Date
CN112150150A CN112150150A (en) 2020-12-29
CN112150150B true CN112150150B (en) 2023-08-08

Family

ID=73952356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011066000.3A Active CN112150150B (en) 2020-09-30 2020-09-30 Electronic ticket transaction system and method based on blockchain

Country Status (1)

Country Link
CN (1) CN112150150B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573442A (en) * 2014-12-29 2015-04-29 北京网秦天下科技有限公司 E-coupon generation method and device
JP2016053765A (en) * 2014-09-02 2016-04-14 株式会社バンダイナムコエンターテインメント Server system for virtual currency management, program, and virtual currency management system
CN107016272A (en) * 2017-03-28 2017-08-04 深圳市源畅通科技有限公司 A kind of high anti-information of security performance loses telecommunications transaction login system
CN107025602A (en) * 2017-02-24 2017-08-08 杭州象链网络技术有限公司 A kind of financial asset transaction system construction method based on alliance's chain
CN107146101A (en) * 2017-04-24 2017-09-08 杭州趣链科技有限公司 A kind of universal electric issuing preferential tickets method based on block chain
TW201741955A (en) * 2016-05-18 2017-12-01 碩網資訊股份有限公司 An electronic ticket system using block chain and method thereof
CN107807984A (en) * 2017-10-31 2018-03-16 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing subregion common recognition
CN107918868A (en) * 2016-10-07 2018-04-17 华讯资讯服务有限公司 Electronic ticket transaction system combined with block chain and electronic ticket transaction method thereof
CN109087101A (en) * 2018-08-07 2018-12-25 北京三快在线科技有限公司 Transaction method of calibration, device, storage medium and electronic equipment
CN109345194A (en) * 2018-09-12 2019-02-15 北京东港瑞宏科技有限公司 A kind of electronic bill flow system
CN109754248A (en) * 2018-12-27 2019-05-14 江苏荣泽信息科技股份有限公司 A kind of innovation Securities management system based on block chain
CN109919687A (en) * 2019-03-26 2019-06-21 阿里巴巴集团控股有限公司 Method and system are checked and write off in electronic ticket granting based on block chain and real-name authentication
WO2019184296A1 (en) * 2018-03-28 2019-10-03 深圳市网心科技有限公司 Blockchain-based digital information transaction method, system and apparatus, and storage device
CN110533429A (en) * 2019-08-30 2019-12-03 北京金山云网络技术有限公司 Transaction endorsement method, apparatus and block chain network in block chain
KR20190136610A (en) * 2018-05-31 2019-12-10 박덕용 Apparatus and method for transaction processing using smart contract based on blockchain
CN110633329A (en) * 2019-10-12 2019-12-31 链农(深圳)信息科技有限公司 System and method for block chain transaction record
CN110738474A (en) * 2019-10-14 2020-01-31 普联软件股份有限公司 method and system for encrypting digital currency tokens based on SM2 cryptographic algorithm
CN111143886A (en) * 2019-12-20 2020-05-12 江苏荣泽信息科技股份有限公司 Government science and technology innovation service platform and method based on block chain
CN111461733A (en) * 2020-04-03 2020-07-28 银清科技有限公司 Account information query method, device and system based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NZ630359A (en) * 2014-04-11 2018-06-29 Cardlink Services Ltd Methods and systems for sending bills from a biller to a payer
EP3396608A1 (en) * 2017-04-24 2018-10-31 BlockSettle AB Method and system for settling a blockchain transaction
US20200097862A1 (en) * 2018-09-26 2020-03-26 Mastercard International Incorporated Method and system for ownership verification via blockchain

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016053765A (en) * 2014-09-02 2016-04-14 株式会社バンダイナムコエンターテインメント Server system for virtual currency management, program, and virtual currency management system
CN104573442A (en) * 2014-12-29 2015-04-29 北京网秦天下科技有限公司 E-coupon generation method and device
TW201741955A (en) * 2016-05-18 2017-12-01 碩網資訊股份有限公司 An electronic ticket system using block chain and method thereof
CN107918868A (en) * 2016-10-07 2018-04-17 华讯资讯服务有限公司 Electronic ticket transaction system combined with block chain and electronic ticket transaction method thereof
CN107025602A (en) * 2017-02-24 2017-08-08 杭州象链网络技术有限公司 A kind of financial asset transaction system construction method based on alliance's chain
CN107016272A (en) * 2017-03-28 2017-08-04 深圳市源畅通科技有限公司 A kind of high anti-information of security performance loses telecommunications transaction login system
CN107146101A (en) * 2017-04-24 2017-09-08 杭州趣链科技有限公司 A kind of universal electric issuing preferential tickets method based on block chain
CN107807984A (en) * 2017-10-31 2018-03-16 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing subregion common recognition
WO2019184296A1 (en) * 2018-03-28 2019-10-03 深圳市网心科技有限公司 Blockchain-based digital information transaction method, system and apparatus, and storage device
KR20190136610A (en) * 2018-05-31 2019-12-10 박덕용 Apparatus and method for transaction processing using smart contract based on blockchain
CN109087101A (en) * 2018-08-07 2018-12-25 北京三快在线科技有限公司 Transaction method of calibration, device, storage medium and electronic equipment
CN109345194A (en) * 2018-09-12 2019-02-15 北京东港瑞宏科技有限公司 A kind of electronic bill flow system
CN109754248A (en) * 2018-12-27 2019-05-14 江苏荣泽信息科技股份有限公司 A kind of innovation Securities management system based on block chain
CN109919687A (en) * 2019-03-26 2019-06-21 阿里巴巴集团控股有限公司 Method and system are checked and write off in electronic ticket granting based on block chain and real-name authentication
CN110533429A (en) * 2019-08-30 2019-12-03 北京金山云网络技术有限公司 Transaction endorsement method, apparatus and block chain network in block chain
CN110633329A (en) * 2019-10-12 2019-12-31 链农(深圳)信息科技有限公司 System and method for block chain transaction record
CN110738474A (en) * 2019-10-14 2020-01-31 普联软件股份有限公司 method and system for encrypting digital currency tokens based on SM2 cryptographic algorithm
CN111143886A (en) * 2019-12-20 2020-05-12 江苏荣泽信息科技股份有限公司 Government science and technology innovation service platform and method based on block chain
CN111461733A (en) * 2020-04-03 2020-07-28 银清科技有限公司 Account information query method, device and system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
成渝地区双城经济圈综合科技服务模式研究及应用示范;杨帆;王燕霞;李国勇;周扬眉;王佩;;中国基础科学(02);全文 *

Also Published As

Publication number Publication date
CN112150150A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US7379916B1 (en) System and method for private secure financial transactions
US9060012B2 (en) Methods and apparatus for detecting fraud with time based computer tags
US7227950B2 (en) Distributed quantum encrypted pattern generation and scoring
CN106600403A (en) Asset management method, device and system
CN108009445B (en) Semi-centralized trusted data management system
RU2728828C2 (en) Systems and methods for user authentication based on biometric data and device data
CA2854966A1 (en) Fraud analyst smart cookie
CN111198888B (en) Method and system for dynamically generating and supervising digital currency crown word number
CN112801778B (en) Alliance type bad asset block chain system
US20230208642A1 (en) Secure data transfer system and method
CN112367629B (en) Financial big data processing method based on 5G and block chain and system platform thereof
KR20190107601A (en) Method and system for the generation of user-initiated federated identities
CN103281403A (en) Cloud protective system for improving personal information security in network marketing channel
CN111583041B (en) Block chain-based bond issuing data storage and verification processing method and device
KR20220020866A (en) System and method for managing personal information based on private financial code
US20190286841A1 (en) Detecting alterations of journal data structures
CN112150150B (en) Electronic ticket transaction system and method based on blockchain
US11362806B2 (en) System and methods for recording codes in a distributed environment
CN112150160B (en) Electronic ticket transaction suggestion generation method and system
US20210350368A1 (en) Method and system for blockchain intrusion prevention
CN103903136A (en) Payment method and system based on real-time identity authentication
CN110310011A (en) A kind of asset management system and its method based on block chain
CN111383092A (en) Cloud computing big data credit limit estimation method and system based on block chain
KR100224756B1 (en) Method of maintaining the password in the financial on-line transaction system
CN112150161B (en) Electronic ticket transaction risk management and control system and method

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
GR01 Patent grant
GR01 Patent grant