Block chain-based rail transit intelligent ticket business data witness method and system
By introducing blockchain technology into the rail transit system and establishing a ticket data witness chain, the problems of poor data interoperability, low security and low maintenance efficiency are solved, and a shared clearing and settlement and mutual trust mechanism for transaction data across operating entities are realized. Improved the overall performance and management efficiency of the system.
Patent Information
- Application Number
- CN202410927885.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-11
AI Technical Summary
The existing rail transit automatic ticket collection system has problems such as poor data interoperability, low security, and low maintenance efficiency, which limits the integrated development of rail transit smart ticket management.
Adopt a smart ticketing data witness method based on blockchain to form a rail transit blockchain network by adding blockchain nodes in each operating entity, and set up a ticketing data witness chain in the blockchain nodes to realize cross-operating entity transactions Data sharing clearing settlement and mutual trust mechanism.
It improves data interoperability, security and maintenance efficiency, reduces operating costs, and promotes the integration process of rail transit ticket management.
Smart Images

Figure CN118628130A
Abstract
Description
Technical Field
[0001] The present invention relates to urban rail transit data management technology, and in particular to a rail transit smart ticketing data witnessing method and system based on blockchain. Background Art
[0002] With the continuous expansion and improvement of urban rail transit networks, many regions have completed the construction and planning of multiple cross-provincial / cross-city (suburban) lines. Therefore, the interconnection and interoperability of ticketing data of rail transit automatic ticket vending and checking systems has become crucial.
[0003] However, the current rail transit automatic ticketing system generally adopts a centralized structure, that is, a central service node is set up for data storage and data calculation. This centralized structure makes the ticketing systems of different operators and cities have problems such as poor data interoperability, low security, and low maintenance efficiency, which seriously restricts the integrated development of rail transit smart ticketing management. Summary of the invention
[0004] In view of the problems existing in the prior art, the purpose of the present invention is to provide a rail transit smart ticketing data witnessing method and system based on blockchain with strong interoperability, strong security and high maintenance efficiency.
[0005] In order to achieve the above-mentioned object of the invention, the present invention provides the following technical solutions: A rail transit smart ticketing data witnessing method based on blockchain, comprising: Add blockchain nodes for each operating entity, set up a ticket data witness chain in each blockchain node to form a rail transit blockchain network, and select one from each operating entity to set up a ticket management system; When an entry event is triggered at the entry device of the automatic ticket vending and checking system of each operating entity, and the ticket voucher that triggered the event is a write-back ticket voucher, the identification code of the operating entity to which the entry device belongs is obtained and written into the ticket voucher as the entry identification; when an exit event is triggered at the exit device, and the ticket voucher that triggered the event is a write-back ticket voucher, the identification code of the operating entity to which the exit device belongs is obtained and written into the ticket voucher as the exit identification, and an exit transaction record is generated based on the entry identification, exit identification and ticket voucher information in the ticket voucher, and uploaded to the data management center of the automatic ticket voucher system; When the data management center of the automatic ticket vending and checking system receives the outbound transaction record, it generates OD transaction data according to the outbound transaction record, and determines whether it is an OD transaction across operating entities according to the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticket data witness chain through the accounting of the blockchain node where it is located; When the station supplementary boarding terminal of the automatic ticket vending and checking system of each operating entity receives a unilateral supplementary boarding request, it obtains the identification code of the operating entity to which the entry / exit device of the ticket voucher to be supplemented belongs as the entry / exit identification, and generates supplementary boarding data according to the entry identification and exit identification, and uploads it to the data management center of the automatic ticket vending and checking system; When the data management center of the automatic ticket vending and checking system receives the supplementary registration data, it determines whether it is a supplementary registration transaction across operating entities based on the entry and exit identifiers in the supplementary registration data. If so, the supplementary registration data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located; When the clearing and settlement time arrives, the data management center of the ticketing management system reads the OD transaction data and supplementary registration data from the ticketing data witness chain, and performs clearing and settlement of each operating entity according to the preset clearing rules to form clearing and settlement data, and writes the clearing and settlement data into the ticketing data witness chain through the accounting of the blockchain node where it is located.
[0006] Furthermore, the method further comprises: When an entry / exit event is triggered at the entry / exit device of each automatic ticket vending and checking system, and the ticket voucher that triggers the event is a non-write-back ticket voucher, the identification code of the operating entity to which the entry / exit device belongs is obtained as the entry / exit identification, and the entry / exit transaction record is generated based on the entry / exit identification and the ticket voucher information, and uploaded to the data management center of the ticketing management system; When the data management center of the ticketing management system receives the outbound transaction record of a non-write-back ticket voucher, it matches the inbound transaction record with the outbound transaction record to generate OD transaction data, and determines whether it is an OD transaction across operating entities based on the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located.
[0007] Furthermore, the method further comprises: When the online supplementary registration terminal of the ticket management system receives a unilateral supplementary registration request, it obtains the identification code of the operator of the entry / exit device of the ticket voucher to be supplemented as the entry / exit identification, and generates supplementary registration data according to the entry identification and exit identification, and uploads it to the data management center of the ticket management system; When the data management center of the ticketing management system receives the supplementary registration data, it determines whether it is a supplementary registration transaction across operating entities based on the entry and exit identifiers in the supplementary registration data. If so, the supplementary registration data will be written into the ticketing data witness chain through the accounting of the blockchain node where it is located.
[0008] Furthermore, the method further comprises: The data management center of each automatic ticket vending and checking system reads the clearing and settlement data from the ticket data witness chain of the blockchain node where it is located, and audits and verifies it with the transaction data stored locally. If there is a dispute, the disputed data will be recorded and written into the ticket data witness chain.
[0009] Furthermore, when an entry event is triggered in the entry equipment of the automatic ticket vending and checking system of each operating entity, and the ticket voucher that triggers the event is a write-back ticket voucher, an entry transaction record is generated based on the entry identification and ticket voucher and uploaded to the data management center of the automatic ticket voucher system to which it belongs.
[0010] A rail transit smart ticketing data witness system based on blockchain, comprising: an automatic ticket vending and checking system of each operating entity and a ticket management system arranged on one of the operating entities, wherein a blockchain node is arranged on the automatic ticket vending and checking system of each operating entity, and a ticketing data witness chain is arranged in each blockchain node, so as to form a rail transit blockchain network; Each automatic ticket vending and checking system is provided with an entry device, an exit device, a station supplementary boarding terminal and a data management center; wherein the entry device is used to obtain the identification code of the operating entity to which the entry device belongs when an entry event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, and write the identification code into the ticket voucher as the entry identification; the exit device is used to obtain the identification code of the operating entity to which the exit device belongs when an exit event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, and write the identification code into the ticket voucher as the exit identification, and generate an exit transaction record according to the entry identification, exit identification and ticket voucher information in the ticket voucher, and upload it to the corresponding data management center; the station supplementary boarding terminal is used to obtain the identification code of the operating entity to which the entry / exit device of the ticket voucher that needs to be supplemented belongs as the entry / exit identification when receiving a unilateral supplementary boarding request, and generate supplementary boarding data according to the entry identification and exit identification, and upload it to the corresponding data management center; The data management center of the automatic ticket vending and checking system includes a first data identification module and a second data identification module. The first data identification module is used to generate OD transaction data according to the outbound transaction record when receiving the outbound transaction record, and judge whether it is an OD transaction across operating entities according to the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is recorded and written into the ticket data witness chain through the blockchain node where it is located; the second data identification module is used to judge whether it is a cross-operating entity supplementary registration transaction according to the inbound identification and outbound identification in the supplementary registration data when receiving the supplementary registration data. If so, the supplementary registration data is recorded and written into the ticket data witness chain through the blockchain node where it is located; The ticket management system is provided with a data management center, which includes a clearing and settlement module. The clearing and settlement module is used to read out OD transaction records and unilateral supplementary registration records from the ticket data witness chain when the clearing and settlement time arrives, and perform clearing and settlement of each operating entity according to preset clearing rules to form clearing and settlement data, and write the clearing and settlement data into the ticket data witness chain through the accounting of the blockchain node where it is located.
[0011] Furthermore, the entry / exit device of the automatic ticket vending and checking system is also used to obtain the identification code of the operating entity to which the entry / exit device belongs as the entry / exit identification when an entry / exit event is triggered and the ticket voucher that triggers the event is a non-write-back ticket voucher, and generate an entry / exit transaction record based on the entry / exit identification and the ticket voucher information, and upload it to the data management center of the ticket management system; The data management center of the ticket management system also includes a first data identification module, which is used to match the inbound transaction record and the outbound transaction record when receiving the outbound transaction record of a non-write-back ticket voucher, generate OD transaction data, and judge whether it is an OD transaction across operating entities based on the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticket data witness chain through the accounting of the blockchain node where it is located.
[0012] Furthermore, the ticket management system is also provided with a network online supplementary registration terminal, which is used to obtain the identification code of the operating entity of the entry / exit device of the ticket voucher to be supplemented when receiving a unilateral supplementary registration request, as the entry / exit identification, and generate supplementary registration data according to the entry identification and the exit identification, and upload it to the data management center; The data management center of the ticket management system also includes a second data identification module, which is used to determine whether the supplementary registration data is a cross-operating entity supplementary registration transaction based on the entry and exit identifiers in the supplementary registration data when it is received. If so, the supplementary registration data is written into the ticket data witness chain through the accounting of the blockchain node where it is located.
[0013] Furthermore, the data management center of the automatic ticket vending and checking system also includes a data audit module, which is used to read the clearing and settlement data from the ticket data witness chain of the blockchain node, and audit and verify it with the locally stored transaction data. If there is a dispute, the disputed data will be recorded and written into the ticket data witness chain.
[0014] Furthermore, the entry equipment of the automatic ticket vending and checking system is also used to generate an entry transaction record based on the entry identification and ticket voucher when an entry event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, and upload it to the data management center of the automatic ticket voucher system to which it belongs.
[0015] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a blockchain-based rail transit smart ticketing data witnessing method, establishes a ticketing data witnessing chain in the blockchain, realizes the shared clearing and settlement and mutual trust mechanism of transaction data across operating entities in the metropolitan area, breaks the data interoperability barriers of the traditional centralized system, improves data interoperability, security and maintenance efficiency, reduces operating costs, and promotes the integrated process of metropolitan area rail transit ticketing management. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flowchart of a blockchain-based rail transit smart ticketing data witnessing method provided by an embodiment of the present invention; Figure 2 It is a system schematic diagram of a rail transit smart ticketing data witness system based on blockchain provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0018] Embodiment 1
[0019] The embodiment of the present invention provides a rail transit smart ticketing data witnessing method based on blockchain, such as Figure 1 As shown, the following steps are included: S1. Add blockchain nodes for each operating entity, set up a ticketing data witness chain in each blockchain node to form a rail transit blockchain network, and select one from each operating entity to set up a ticketing management system.
[0020] Rail transit in different cities and provinces is generally operated by different operators, and rail transit in the same city is generally operated by the same operator, so different operators are generally different cities. Figure 2 As shown in the figure, each automatic ticket vending and checking system is connected to the blockchain network through its blockchain node, and a consensus mechanism is used to maintain the stable operation of the blockchain. Each blockchain node is equipped with a ticket data witness chain to witness data such as OD transaction data, unilateral supplementary registration data, clearing and settlement data, and dispute data across operating entities, to ensure the authenticity and integrity of data across operating entities in the metropolitan area. The ticket data witness chain uses blockchain technology to make the data in each blockchain node consistent, ensuring data interoperability and improving security and maintenance efficiency.
[0021] The ticketing management system is responsible for the management of ticketing business with unified rules, such as the clearing and settlement of transaction data across operating entities and the management of non-write-back ticketing business rules.
[0022] S2. When an entry event is triggered at the entry device of the automatic ticket vending and checking system of each operating entity, and the ticket voucher that triggered the event is a write-back ticket voucher, the identification code of the operating entity to which the entry device belongs is obtained and written into the ticket voucher as the entry identification; when an exit event is triggered at the exit device, and the ticket voucher that triggered the event is a write-back ticket voucher, the identification code of the operating entity to which the exit device belongs is obtained and written into the ticket voucher as the exit identification, and an exit transaction record is generated based on the entry identification, exit identification and ticket voucher information in the ticket voucher, and uploaded to the data management center of the automatic ticket voucher system.
[0023] Among them, write-back ticket vouchers refer to ticket vouchers into which data can be written, such as rechargeable transportation cards, disposable transportation cards, etc. The encoding rules of the operating entity identification code can be the same as the city code encoding rules, or can be uniformly defined according to the characteristics of the metropolitan area and city cluster, and the rules are not limited.
[0024] The write-back ticket voucher records the entry identification, exit identification and voucher information, in addition to entry and exit time, device number and other information. The generated exit transaction record includes the entry station code, entry station line code, entry identification, entry time, exit station code, exit station line code, exit identification, exit time, the consumption amount of this trip, etc.
[0025] In addition, when an entry event is triggered in the entry equipment of the automatic ticket vending and checking system of each operator, and the ticket voucher that triggers the event is a write-back ticket voucher, an entry transaction record can be generated based on the entry identification and ticket voucher and uploaded to the data management center of the automatic ticket vending and checking system. The entry transaction record can be used for data verification, matching, supplementary registration, etc.
[0026] S3. When the data management center of the automatic ticket vending and checking system receives the outbound transaction record, it generates OD transaction data based on the outbound transaction record, and determines whether it is an OD transaction across operating entities based on the entry and exit identifiers in the OD transaction data. If so, the OD transaction data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located.
[0027] Among them, OD transaction data (Origin-Destination Transaction) refers to a complete travel transaction record completed by passengers from the starting point (Origin) to the destination (Destination) in rail transit. When the OD transaction data is cross-operating entity, that is, when the entry and exit identifications are inconsistent, it is written into the ticketing data witness chain. If it is not cross-operating entity, that is, when the entry and exit identifications are consistent, it can be saved locally without uploading.
[0028] S4. When the station supplementary boarding terminal of the automatic ticket vending and checking system of each operating entity receives a unilateral supplementary boarding request, it obtains the identification code of the operating entity to which the entry / exit device of the ticket voucher that needs to be supplemented belongs as the entry / exit identification, and generates supplementary boarding data based on the entry identification and exit identification, and uploads it to the data management center of the automatic ticket vending and checking system.
[0029] Among them, unilateral supplementary registration data refers to transaction data that only has entry or exit transaction records and cannot be matched with OD. After completion, the fare can be settled. The stations of the automatic ticket vending and checking systems of each operating entity are equipped with station supplementary registration terminals, which can perform unilateral data supplementary registration. After the supplementary registration is completed, the supplementary registration data includes the entry station code, entry station line code, entry mark, entry time, exit station code, exit station line code, exit mark, exit time, supplementary registration amount, entry supplementary registration mark or exit supplementary registration mark, etc.
[0030] S5. When the data management center of the automatic ticket vending and checking system receives the supplementary registration data, it determines whether it is a supplementary registration transaction across operating entities based on the entry and exit identifiers in the supplementary registration data. If so, the supplementary registration data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located.
[0031] S6. When the clearing and settlement time arrives, the data management center of the ticketing management system reads the OD transaction data and supplementary registration data from the ticketing data witness chain, and performs clearing and settlement of each operating entity according to the preset clearing rules to form clearing and settlement data, and writes the clearing and settlement data into the ticketing data witness chain through the accounting of the blockchain node where it is located.
[0032] The clearing and settlement time can be a fixed time every day or a fixed time every few days, which can be set as needed. The clearing and settlement data should include detailed clearing and settlement information for each data, especially the allocation details of the amount of each operating entity.
[0033] S7. When an entry / exit event is triggered at the entry / exit device of each automatic ticket vending and checking system, and the ticket voucher that triggers the event is a non-write-back ticket voucher, the identification code of the operating entity to which the entry / exit device belongs is obtained as the entry / exit identification, and the entry / exit transaction record is generated based on the entry / exit identification and ticket voucher information, and uploaded to the data management center of the ticket management system. Among them, non-write-back boarding vouchers generally refer to new boarding vouchers that complete ticket processing through the upper-level system, that is, when the entry and exit business is accepted, the entry equipment cannot rewrite the internal information of the voucher, and the voucher that needs to complete the business logic judgment through the upper-level system, such as: electronic boarding QR code, etc. At this time, a ticket management system is needed for unified management.
[0034] S8. When the data management center of the ticket management system receives the outbound transaction record of a non-write-back ticket voucher, it matches the inbound transaction record with the outbound transaction record to generate OD transaction data, and determines whether it is an OD transaction across operating entities based on the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticket data witness chain through the accounting of the blockchain node where it is located.
[0035] S9. When the online supplementary registration terminal of the ticket management system receives a unilateral supplementary registration request, it obtains the identification code of the operating entity of the entry / exit device of the ticket voucher that needs to be supplemented as the entry / exit identification, and generates supplementary registration data based on the entry identification and exit identification, and uploads it to the data management center of the ticket management system.
[0036] In addition to the supplementary registration terminals at the stations, the ticket management system also has an online supplementary registration terminal on the Internet for supplementary registration.
[0037] S10. When the data management center of the ticketing management system receives the supplementary registration data, it determines whether it is a supplementary registration transaction across operating entities based on the entry and exit identifiers in the supplementary registration data. If so, the supplementary registration data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located.
[0038] S11. The data management center of each automatic ticket vending and checking system reads the clearing and settlement data from the ticket data witness chain of the blockchain node where it is located, and audits and verifies it with the transaction data stored locally. If there is a dispute, the disputed data will be recorded and written into the ticket data witness chain.
[0039] Among them, the disputed data can be reviewed again by the ticketing management system and uploaded to the ticketing data witness chain.
[0040] The embodiment of the present invention provides a blockchain-based rail transit smart ticketing data witnessing method, establishes a shared clearing and settlement and mutual trust mechanism for transaction data across operating entities in a metropolitan area, breaks the data interoperability barriers of traditional centralized systems, improves data interoperability, improves the security and maintenance efficiency of the ticketing system, reduces operating costs, and promotes the integrated process of metropolitan area rail transit ticketing management.
[0041] Embodiment 2 Figure 2 This is a schematic diagram of a rail transit smart ticketing data witness system based on blockchain provided by an embodiment of the present invention. The system can be implemented in software and / or hardware, including: an automatic ticket vending and checking system of each operating entity and a ticket management system set on one of the operating entities, and blockchain nodes are respectively set on the automatic ticket vending and checking system of each operating entity, and a ticket data witness chain is set in each blockchain node to form a rail transit blockchain network. Figure 2The figure shows the automatic ticket vending and checking systems of cities A, B, C, ..., N. City A is the central city, and a metropolitan area ticket management system is set up on it. The automatic ticket vending and checking systems of cities A, B, C, ..., N are respectively equipped with blockchain nodes A, B, C, ..., N, and the blockchain nodes A, B, C, ..., N are all equipped with ticket data witness chains.
[0042] Among them, each automatic ticket vending and checking system is provided with an entry device, an exit device, a station supplementary registration terminal and a data management center. The entry device is used to obtain the identification code of the operating entity to which the entry device belongs when an entry event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, write the entry voucher as the entry identification, and generate an entry transaction record based on the entry identification and the ticket voucher, and upload it to the data management center of the automatic ticket voucher system to which it belongs; the exit device is used to obtain the identification code of the operating entity to which the exit device belongs when an exit event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, write the exit identification into the ticket voucher as the exit identification, and generate an exit transaction record based on the entry identification, exit identification and ticket voucher information in the ticket voucher, and upload it to the corresponding data management center; the station supplementary registration terminal is used to obtain the identification code of the operating entity to which the entry / exit device of the ticket voucher that needs to be supplemented belongs as the entry / exit identification when receiving a unilateral supplementary registration request, and generate supplementary registration data based on the entry identification and exit identification, and upload it to the data management center to which it belongs. The entry / exit device is also used to obtain the identification code of the operating entity to which the entry / exit device belongs as the entry / exit identification when an entry / exit event is triggered and the ticket voucher that triggers the event is a non-write-back ticket voucher, and generate an entry / exit transaction record based on the entry / exit identification and ticket voucher information, and upload it to the data management center of the ticketing management system.
[0043] The data management center of the automatic ticket vending and checking system includes a first data identification module, a second data identification module, and a data audit module. The first data identification module is used to generate OD transaction data according to the outbound transaction record when receiving the outbound transaction record, and judge whether it is an OD transaction across operating entities according to the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is recorded and written into the ticket data witness chain through the blockchain node where it is located. The second data identification module is used to judge whether it is a cross-operating entity supplementary registration transaction according to the inbound identification and outbound identification in the supplementary registration data when receiving the supplementary registration data. If so, the supplementary registration data is recorded and written into the ticket data witness chain through the blockchain node where it is located. The data audit module is used to read the clearing and settlement data from the ticket data witness chain of the blockchain node where it is located, and audit and check it with the transaction data stored locally. If there is a dispute, the disputed data is recorded and written into the ticket data witness chain.
[0044] The ticket management system is equipped with an online supplementary registration terminal and a data management center. The online supplementary registration terminal is used to obtain the identification code of the operating entity of the entry / exit device of the ticket voucher that needs to be supplemented when receiving a unilateral supplementary registration request, as the entry / exit identification, and generate supplementary registration data based on the entry identification and exit identification, and upload it to the data management center.
[0045] The data management center of the ticket management system includes a clearing and settlement module, a first data identification module, and a second data identification module. The clearing and settlement module is used to read the OD transaction record and the unilateral supplementary registration record from the ticket data witness chain when the clearing and settlement time is reached, and to perform the clearing and settlement of each operating entity according to the preset clearing rules, to form the clearing and settlement data, and to write the clearing and settlement data into the ticket data witness chain through the blockchain node where it is located. The first data identification module is used to match the inbound transaction record and the outbound transaction record when receiving the outbound transaction record of the non-write-back ticket voucher, generate OD transaction data, and judge whether it is an OD transaction across operating entities according to the inbound identification and outbound identification in the OD transaction data, and if so, write the OD transaction data into the ticket data witness chain through the blockchain node where it is located. The second data identification module is used to judge whether it is a supplementary registration transaction across operating entities according to the inbound identification and outbound identification in the supplementary registration data when receiving the supplementary registration data, and if so, write the supplementary registration data into the ticket data witness chain through the blockchain node where it is located.
[0046] The system provided in the embodiment of the present invention can be used to execute the method provided in the first embodiment of the present invention, and has the corresponding functions and beneficial effects of the execution method.
[0047] It is worth noting that in the embodiment of the above system, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0048] The embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, or of course, it can be implemented only by hardware, as long as the function or effect can be achieved.
[0049] It should be noted that, in this document, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any actual relationship or order between these entities or operations.
[0050] It should be understood that the above embodiments and descriptions only describe the principles, main features and advantages of the present invention. Without departing from the spirit and scope of the present invention, the present invention may be subject to various changes and improvements, and these changes and improvements all fall within the scope of protection of the present invention.
Claims
1. A rail transit smart ticketing data witnessing method based on blockchain, characterized in that: include: Add blockchain nodes for each operating entity, set up a ticket data witness chain in each blockchain node to form a rail transit blockchain network, and select one from each operating entity to set up a ticket management system; When an entry event is triggered at the entry device of the automatic ticket vending and checking system of each operating entity, and the ticket voucher that triggered the event is a write-back ticket voucher, the identification code of the operating entity to which the entry device belongs is obtained and written into the ticket voucher as the entry identification; when an exit event is triggered at the exit device, and the ticket voucher that triggered the event is a write-back ticket voucher, the identification code of the operating entity to which the exit device belongs is obtained and written into the ticket voucher as the exit identification, and an exit transaction record is generated based on the entry identification, exit identification and ticket voucher information in the ticket voucher, and uploaded to the data management center of the automatic ticket voucher system; When the data management center of the automatic ticket vending and checking system receives the outbound transaction record, it generates OD transaction data according to the outbound transaction record, and determines whether it is an OD transaction across operating entities according to the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticket data witness chain through the accounting of the blockchain node where it is located; When the station supplementary boarding terminal of the automatic ticket vending and checking system of each operating entity receives a unilateral supplementary boarding request, it obtains the identification code of the operating entity to which the entry / exit device of the ticket voucher to be supplemented belongs as the entry / exit identification, and generates supplementary boarding data according to the entry identification and exit identification, and uploads it to the data management center of the automatic ticket vending and checking system; When the data management center of the automatic ticket vending and checking system receives the supplementary registration data, it determines whether it is a supplementary registration transaction across operating entities based on the entry and exit identifiers in the supplementary registration data. If so, the supplementary registration data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located; When the clearing and settlement time arrives, the data management center of the ticketing management system reads the OD transaction data and supplementary registration data from the ticketing data witness chain, and performs clearing and settlement of each operating entity according to the preset clearing rules to form clearing and settlement data, and writes the clearing and settlement data into the ticketing data witness chain through the accounting of the blockchain node where it is located.
2. The blockchain-based rail transit smart ticketing data witnessing method according to claim 1 is characterized in that: The method further comprises: When an entry / exit event is triggered at the entry / exit device of each automatic ticket vending and checking system, and the ticket voucher that triggers the event is a non-write-back ticket voucher, the identification code of the operating entity to which the entry / exit device belongs is obtained as the entry / exit identification, and the entry / exit transaction record is generated based on the entry / exit identification and the ticket voucher information, and uploaded to the data management center of the ticketing management system; When the data management center of the ticketing management system receives the outbound transaction record of a non-write-back ticket voucher, it matches the inbound transaction record with the outbound transaction record to generate OD transaction data, and determines whether it is an OD transaction across operating entities based on the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located.
3. The blockchain-based rail transit smart ticketing data witnessing method according to claim 1 is characterized in that: The method further comprises: When the online supplementary registration terminal of the ticket management system receives a unilateral supplementary registration request, it obtains the identification code of the operator of the entry / exit device of the ticket voucher to be supplemented as the entry / exit identification, and generates supplementary registration data according to the entry identification and exit identification, and uploads it to the data management center of the ticket management system; When the data management center of the ticketing management system receives the supplementary registration data, it determines whether it is a supplementary registration transaction across operating entities based on the entry and exit identifiers in the supplementary registration data. If so, the supplementary registration data will be written into the ticketing data witness chain through the accounting of the blockchain node where it is located.
4. The blockchain-based rail transit smart ticketing data witnessing method according to claim 1 is characterized in that: The method further comprises: The data management center of each automatic ticket vending and checking system reads the clearing and settlement data from the ticket data witness chain of the blockchain node where it is located, and audits and verifies it with the transaction data stored locally. If there is a dispute, the disputed data will be recorded and written into the ticket data witness chain.
5. The blockchain-based rail transit smart ticketing data witnessing method according to claim 1 is characterized in that: When an entry event is triggered at the entry equipment of the automatic ticket vending and checking system of each operating entity, and the ticket voucher that triggers the event is a write-back ticket voucher, an entry transaction record is generated based on the entry identification and ticket voucher and uploaded to the data management center of the automatic ticket voucher system to which it belongs.
6. A rail transit smart ticketing data witness system based on blockchain, characterized in that: include: The automatic ticket vending and checking system of each operating entity and the ticket management system set up on one of the operating entities, each operating entity's automatic ticket vending and checking system is respectively equipped with a blockchain node, and a ticket data witness chain is set up in each blockchain node to form a rail transit blockchain network; Each automatic ticket vending and checking system is provided with an entry device, an exit device, a station supplementary boarding terminal and a data management center; wherein the entry device is used to obtain the identification code of the operating entity to which the entry device belongs when an entry event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, and write the identification code into the ticket voucher as the entry identification; the exit device is used to obtain the identification code of the operating entity to which the exit device belongs when an exit event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, and write the identification code into the ticket voucher as the exit identification, and generate an exit transaction record according to the entry identification, exit identification and ticket voucher information in the ticket voucher, and upload it to the corresponding data management center; the station supplementary boarding terminal is used to obtain the identification code of the operating entity to which the entry / exit device of the ticket voucher that needs to be supplemented belongs as the entry / exit identification when receiving a unilateral supplementary boarding request, and generate supplementary boarding data according to the entry identification and exit identification, and upload it to the corresponding data management center; The data management center of the automatic ticket vending and checking system includes a first data identification module and a second data identification module. The first data identification module is used to generate OD transaction data according to the outbound transaction record when receiving the outbound transaction record, and to determine whether it is an OD transaction across operating entities according to the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticket data witness chain through the accounting of the blockchain node where it is located; The second data identification module is used to determine whether the supplementary registration data is a cross-operating entity supplementary registration transaction based on the entry and exit identifiers in the supplementary registration data when receiving the supplementary registration data. If so, the supplementary registration data is written into the ticketing data witness chain through the accounting of the blockchain node where it is located; The ticket management system is provided with a data management center, which includes a clearing and settlement module. The clearing and settlement module is used to read out OD transaction records and unilateral supplementary registration records from the ticket data witness chain when the clearing and settlement time arrives, and perform clearing and settlement of each operating entity according to preset clearing rules to form clearing and settlement data, and write the clearing and settlement data into the ticket data witness chain through the accounting of the blockchain node where it is located.
7. The blockchain-based rail transit smart ticketing data witnessing system according to claim 6 is characterized by: The entry / exit device of the automatic ticket vending and checking system is also used to obtain the identification code of the operating entity to which the entry / exit device belongs as the entry / exit identification when an entry / exit event is triggered and the ticket voucher that triggers the event is a non-write-back ticket voucher, and generate an entry / exit transaction record based on the entry / exit identification and the ticket voucher information, and upload it to the data management center of the ticket management system; The data management center of the ticket management system also includes a first data identification module, which is used to match the inbound transaction record and the outbound transaction record when receiving the outbound transaction record of a non-write-back ticket voucher, generate OD transaction data, and judge whether it is an OD transaction across operating entities based on the inbound identification and outbound identification in the OD transaction data. If so, the OD transaction data is written into the ticket data witness chain through the accounting of the blockchain node where it is located.
8. The blockchain-based rail transit smart ticketing data witness system according to claim 6 is characterized by: The ticket management system is also provided with an online supplementary registration terminal, which is used to obtain the identification code of the operating entity of the entry / exit device of the ticket voucher to be supplemented when receiving a unilateral supplementary registration request, as the entry / exit identification, and generate supplementary registration data according to the entry identification and the exit identification, and upload it to the data management center; The data management center of the ticket management system also includes a second data identification module, which is used to determine whether the supplementary registration data is a cross-operating entity supplementary registration transaction based on the entry and exit identifiers in the supplementary registration data when it is received. If so, the supplementary registration data is written into the ticket data witness chain through the accounting of the blockchain node where it is located.
9. The blockchain-based rail transit smart ticketing data witnessing system according to claim 6 is characterized by: The data management center of the automatic ticket vending and checking system also includes a data audit module, which is used to read the clearing and settlement data from the ticket data witness chain of the blockchain node where it is located, and audit and verify it with the locally stored transaction data. If there is a dispute, the disputed data will be recorded and written into the ticket data witness chain.
10. The blockchain-based rail transit smart ticketing data witnessing system according to claim 6 is characterized in that: The entry device of the automatic ticket vending and checking system is also used to generate an entry transaction record based on the entry identification and the ticket voucher when an entry event is triggered and the ticket voucher that triggers the event is a write-back ticket voucher, and upload it to the data management center of the automatic ticket vending and checking system.
Citation Information
Patent Citations
Riding settlement method and device based on block chain
CN111242603A
Ticket business clearing and settlement method and system for urban circle in rail transit industry
CN117745455A
Delivery box packaging
KR1020250037662A
