WO2021057995A1 - Fare collection system and control method therefor - Google Patents

Fare collection system and control method therefor Download PDF

Info

Publication number
WO2021057995A1
WO2021057995A1 PCT/CN2020/118288 CN2020118288W WO2021057995A1 WO 2021057995 A1 WO2021057995 A1 WO 2021057995A1 CN 2020118288 W CN2020118288 W CN 2020118288W WO 2021057995 A1 WO2021057995 A1 WO 2021057995A1
Authority
WO
WIPO (PCT)
Prior art keywords
ticket
blockchain
contract
block data
node server
Prior art date
Application number
PCT/CN2020/118288
Other languages
French (fr)
Chinese (zh)
Inventor
陈炜民
Original Assignee
比亚迪股份有限公司
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 比亚迪股份有限公司 filed Critical 比亚迪股份有限公司
Publication of WO2021057995A1 publication Critical patent/WO2021057995A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Definitions

  • the present disclosure relates to the technical field of rail transit, and in particular to a fare collection system and a control method of the fare collection system.
  • AFC Automatic Fare Collection, urban rail transit automatic fare collection
  • station server and station terminal usually adopts a three-level management mode of central server, station server and station terminal, or a two-level management mode of central server and station terminal.
  • the above management model has the following problems:
  • the present disclosure proposes a ticket selling and checking system and a control method thereof, so as to improve the reliability and safety of the automatic ticket selling and checking system.
  • the present disclosure proposes a ticket vending system, including multiple blockchain node servers, and ticket vending machines and ticket inspection machines corresponding to each blockchain node server, wherein the multiple blockchain node servers It is used to maintain the blockchain, and the blockchain node server is used for contract interaction with the corresponding ticket vending machine and ticket inspection machine, and to maintain the blockchain according to the result of the contract interaction.
  • the blockchain node server by introducing a blockchain node server, and through the blockchain node server to perform contract interaction with the ticket vending machine and the ticket inspection machine, the blockchain is maintained according to the result of the contract interaction, thereby, Utilize the characteristics of blockchain technology decentralization, data encryption and historical data that cannot be tampered with to improve the reliability and security of the automatic fare collection system.
  • the present disclosure proposes a control method for a ticket sales and inspection system, wherein the ticket sales and inspection system includes a plurality of blockchain node servers, and a ticket vending machine and a ticket inspection machine corresponding to each blockchain node server.
  • the control method includes: controlling the blockchain node server to perform contract interaction with the ticket vending machine and the ticket inspection machine; and maintaining the blockchain according to the result of the contract interaction.
  • the blockchain node server is controlled to interact with the ticket vending machine and the ticket inspection machine for contract interaction, and the blockchain is maintained according to the result of the contract interaction, thereby using blockchain technology.
  • Fig. 1 is a schematic diagram of a block chain network architecture in the prior art
  • FIG. 2 is a schematic block diagram of the ticket collection system according to an embodiment of the disclosure.
  • Fig. 3 is a block diagram of a ticket collection system according to a specific embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of a ticket purchase process according to a specific embodiment of the present disclosure
  • FIG. 5 is a schematic flow chart of the inbound ticket checking process according to a specific embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of an outbound ticket checking process according to a specific embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a fare collection system according to a specific embodiment of the present disclosure.
  • FIG. 8 is a schematic flow chart of a control method of a fare collection system according to an embodiment of the present disclosure
  • FIG. 9 is a schematic flow chart of a control method of a fare collection system according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart of a control method of a fare collection system according to an embodiment of the present disclosure
  • FIG. 11 is a schematic flowchart of a control method of a ticket collection system according to an embodiment of the present disclosure.
  • the blockchain technology used in the embodiments of the present disclosure is a technology that uses a decentralized consensus mechanism to maintain a complete, distributed, and non-tamperable ledger database. Participants in the chain realize a unified ledger system without establishing a trust relationship.
  • the “block” in the above-mentioned blockchain refers to a public ledger, which can be maintained at multiple points;
  • the “chain” in the above-mentioned blockchain refers to a timestamp, which cannot be forged.
  • the blockchain network is composed of many blockchain nodes, and the consistency of the data on the blockchain network is maintained through the consensus mechanism, and the participants in the blockchain can query through the blockchain nodes Or write data.
  • the blockchain network has the following characteristics:
  • the blockchain system adopts one-way hashing Algorithms, and each newly generated block is advanced strictly in accordance with the timeline sequence. Due to the irreversibility of time, any attempt to invade or tamper with the data information of the blockchain system can be easily traced and rejected by other nodes. Therefore, the data of the blockchain system is data-encrypted and cannot be tampered with, which can be used to realize the ticketing data encryption and ticketing history data of the ticketing system of the embodiment of the present disclosure.
  • Fig. 2 is a schematic block diagram of a ticket collection system according to an embodiment of the disclosure.
  • the ticket vending system 100 includes: blockchain node servers 1 installed in multiple regions, and ticket vending machines 2 and ticket inspection machines 3 corresponding to each blockchain node server 1.
  • multiple blockchain node servers 1 are used to maintain the blockchain, and the blockchain node server 1 is used to interact with the corresponding ticket vending machine 2 and ticket inspection machine 3, and perform contract interactions on the blockchain according to the result of the contract interaction. maintain.
  • contract in the above-mentioned contract interaction is a computer protocol that is spread, verified, or executed in an information-based manner running on the blockchain network. This contract allows the blockchain node server to be without a third party. , Conduct trusted transactions. The transaction is traceable, but irreversible.
  • the blockchain node server 1 may include a contract interaction interface, a block synchronization module, a block encapsulation module, and a block release module.
  • the contract interaction interface may be used to communicate with the ticket vending machine 2.
  • the block synchronization module can be used to process the consensus mechanism to synchronize data on the blockchain;
  • the block encapsulation module can be used to encapsulate the contract data into a block structure;
  • the block publishing module can be used to publish encapsulated blocks to the blockchain consensus network.
  • the fare collection system of the embodiment of the present disclosure introduces blockchain technology and maintains the blockchain through multiple blockchain node servers 1 .
  • each blockchain node server 1 has a complete data backup.
  • the central server is If any node in the storage device is damaged, the other nodes still hold complete data and will not cause data loss.
  • the ticketing system can be used for ticketing The data is traceable and verified to prevent the ticketing historical data from being artificially and illegally tampered with.
  • the ticket vending machine 2 is used to receive the ticket purchase request from the ticket purchaser, generate a ticket sales contract request according to the ticket purchase request, and send the ticket sales contract request to the corresponding blockchain node server 1 , wherein, the blockchain node server 1 generates ticket sales block data according to the ticket sales contract, and publishes the ticket sales block data to the blockchain for synchronization.
  • the ticket vending system 100 receives the ticket purchase request of the ticket buyer through the ticket vending machine 2, generates a ticket sale contract request according to the ticket purchase request, and sends the ticket sale contract request to the corresponding block
  • the chain node server 1 where the blockchain node server 1 generates ticketing block data according to the ticketing contract, and publishes the ticketing block data to the blockchain consensus network for synchronization, thereby enabling blocks set in multiple regions
  • the chain node server 1 synchronizes the ticketing block data.
  • the ticket vending machine 2 can include a ticket sales contract processing module and a state contract processing module.
  • the ticket vending machine 2 can obtain a random ticket sequence, private key and public key according to the ticket purchase request through the ticket sales contract processing module, and use the private key to perform ticketing
  • the transaction generates a digital signature, and then generates a ticket sales contract based on the ticket serial number, public key, digital signature, ticket authority and other information, and sends the ticket sales contract to the corresponding blockchain node server 1 to apply for a ticket transaction and pass the status
  • the contract processing module obtains the state of the blockchain network.
  • the blockchain node server 1 is also used to send a success message to the ticket vending machine 2 after publishing the ticket selling block data to the blockchain, so that the ticket vending machine 2 generates a ticket.
  • the ticket vending machine 2 generates a ticket after receiving the successful information of the blockchain node server 1 to synchronize the blockchain.
  • a ticket purchaser performs coin-op purchase on the ticket vending machine 2, and the ticket vending machine 2 performs the following steps:
  • the ticket vending machine receives the ticket purchase request from the ticket purchaser and confirms that the ticket purchase conditions are met.
  • the ticket vending machine generates a random ticket serial number, private key and public key, and uses the private key to generate a digital signature for the current ticket transaction.
  • the ticket vending machine generates a ticket sales contract request according to the ticket serial number, public key, digital signature, ticket authority and other information, and sends the ticket sales contract request to the blockchain node server.
  • the blockchain node server After receiving the ticket sales contract request, the blockchain node server performs calculations on the contract content, encapsulates the calculation results into block data, and publishes the block data to the blockchain.
  • Block chain node servers set up in multiple regions synchronize block data through a consensus mechanism.
  • the blockchain node server feeds back the success information to the ticket vending machine.
  • the ticket vending machine writes the generated random key information into the ticket carrier and issues the ticket.
  • the ticket inspection machine 3 is used to read the ticket information, generate an inbound contract request according to the ticket information, and send the inbound contract request to the corresponding blockchain node server 1, where ,
  • the blockchain node server 1 generates inbound block data according to the inbound contract, and publishes the inbound block data to the blockchain for synchronization.
  • the ticket vending system 100 can read the ticket information through the ticket inspection machine 3, generate an inbound contract request based on the ticket information, and send the inbound contract request to the blockchain node server 1 ,
  • the blockchain node server 1 generates the inbound block data according to the inbound contract, and publishes the inbound block data to the blockchain to synchronize the blockchain, thereby enabling the blockchain node servers installed in multiple regions 1Synchronize incoming block data.
  • the ticket holder enters the station through the ticket inspection machine 3, and the ticket inspection machine 3 performs the following steps:
  • the ticket inspection machine reads the ticket information (for example, the ticket key and serial number information), and queries the ticket authority from the blockchain node server.
  • the ticket information for example, the ticket key and serial number information
  • the blockchain node server After receiving the inbound contract request, the blockchain node server performs calculations on the content of the contract, encapsulates the calculation results into block data, and publishes the block data to the blockchain, and after the block data is successfully published , Feedback information to the ticket inspection machine.
  • the ticket inspection machine 3 is also used to read the ticket information, generate an outbound contract request according to the ticket information, and send the outbound contract request to the corresponding blockchain node server 1, where the district
  • the blockchain node server 1 generates ticket checking block data according to the outbound contract, and publishes the ticket checking block data to the blockchain for synchronization.
  • the fare collection system 100 can also read the ticket information through the ticket inspection machine 3, generate an outbound contract request based on the ticket information, and send the outbound contract request to the blockchain node server 1.
  • the blockchain node server 1 generates outbound block data according to the outbound contract, and publishes the outbound block data to the blockchain to synchronize the blockchain, thereby synchronizing the blockchain node servers 1 installed in multiple regions Outbound block data.
  • the ticket holder passes the ticket inspection machine 3 to exit the station, and the ticket inspection machine 3 performs the following steps:
  • the ticket inspection machine reads the ticket information (for example, the ticket key and serial number information), and queries the ticket authority from the blockchain node server.
  • the ticket information for example, the ticket key and serial number information
  • the blockchain node server After receiving the outbound contract request, the blockchain node server performs calculations on the content of the contract, encapsulates the calculation results into block data, and publishes the block data to the blockchain, and after the block data is successfully published , Feedback information to the ticket inspection machine.
  • the ticket inspection machine 3 can include a ticket inspection contract processing module and a status contract processing module.
  • the ticket inspection machine 3 can generate an inbound contract request based on the ticket information through the ticket inspection contract processing module, and send the inbound contract request to
  • the blockchain node server 1 can check the ride permission of the ticket and eliminate the ride permission of the ticket after the contract interaction is executed, and the state of the blockchain network can be obtained through the state contract processing module.
  • the ticket collection system 100 further includes: a central management server 4.
  • the central management server 4 can be used to monitor the operation of the blockchain, and maintain and manage the network and contracts of the blockchain.
  • the central management server 4 may include a network management module and a blockchain node module.
  • the network management module and the blockchain node module are connected to the blockchain network.
  • the central management server 4 can be monitored by the network management module.
  • the operation status of all equipment in the blockchain network, and the blockchain network can be upgraded out-of-band; the blockchain node module can handle blockchain services.
  • the central management server 4 has the highest authority and can modify and manage the contract version.
  • the central management server 4 can synchronize to a complete ticket transaction account book from the blockchain.
  • the central management server 4 can perform ticket management Data storage, management, and settlement operations, and the central management server 4 can be used as the interface between the ticket collection system 100 and a third-party system, that is, if the third-party system needs to access the data in the blockchain, it can use the central management server 4 Achieve data access, thereby fulfilling the business requirements of ticket clearing.
  • the blockchain node server is introduced to interact with the ticket vending machine and the ticket inspection machine for contract interaction, and the blockchain is maintained according to the result of the contract interaction, thereby using blockchain technology.
  • FIG. 8 is a schematic flowchart of a control method of a ticket collection system according to an embodiment of the disclosure. As shown in Figure 8, the control method of the fare collection system includes:
  • S101 Control the blockchain node server to perform contract interaction with the ticket vending machine and the ticket checking machine.
  • the blockchain is also maintained according to the result of the contract interaction, so as to realize the synchronization of multiple blockchain node servers.
  • control method of the ticket collection system further includes:
  • S201 Receive a ticket purchase request from a ticket purchaser, generate a ticket sales contract request according to the ticket purchase request, and send the ticket sales contract request to a corresponding blockchain node server.
  • S202 Generate ticket sales block data according to the ticket sales contract, and publish the ticket sales block data to the blockchain for synchronization.
  • the ticket purchaser after receiving the ticket purchase request from the ticket purchaser, it also generates a ticket sales contract request according to the ticket purchase request, and sends the ticket sales contract request to the corresponding blockchain node server, and then generates the ticket sales block data according to the ticket sales contract , And publish the ticketing block data to the blockchain to synchronize the blockchain, thereby realizing the synchronization of the ticketing block data.
  • control method of the ticket collection system further includes:
  • S301 Read the ticket information, generate an inbound contract request according to the ticket information, and send the inbound contract request to the corresponding blockchain node server.
  • S302 Generate inbound block data according to the inbound contract, and publish the inbound block data to the blockchain for synchronization.
  • control method of the ticket collection system further includes:
  • S401 Read the ticket information, generate an outbound contract request according to the ticket information, and send the outbound contract request to the corresponding blockchain node server.
  • S402 Generate ticket checking block data according to the outbound contract, and publish the ticket checking block data to the blockchain for synchronization.
  • the outbound contract request is also generated according to the ticket information, and the outbound contract request is sent to the blockchain node server, and the outbound block data is generated according to the outbound contract, and The outbound block data is published to the blockchain to synchronize the blockchain, thereby achieving synchronization of the outbound block data.
  • control method of the fare collection system in the embodiment of the present disclosure is based on the fare collection system of the foregoing embodiment of the present disclosure, that is, the control method of the fare collection system of the embodiment of the present disclosure and the fare collection system of the foregoing embodiment of the present disclosure There is a one-to-one correspondence between the specific embodiments, and details are not described herein again.
  • the blockchain node server is controlled to interact with the ticket vending machine and the ticket checking machine for contract interaction, and the blockchain is maintained according to the result of the contract interaction.
  • the decentralization of blockchain technology, data encryption and historical data can not be tampered with, improve the reliability and security of the automatic fare collection system.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include at least one of the features. In the description of the present invention, “plurality” means at least two, such as two, three, etc., unless otherwise specifically defined.
  • a "computer-readable medium” can be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, device, or device or in combination with these instruction execution systems, devices, or devices.
  • computer readable media include the following: electrical connections (electronic devices) with one or more wiring, portable computer disk cases (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because it can be used, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable media if necessary. The program is processed in a way to obtain the program electronically and then stored in the computer memory.
  • each part of the present invention can be implemented by hardware, software, firmware or a combination thereof.
  • multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • Discrete logic gate circuits with logic functions for data signals Logic circuit, application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA), etc.
  • a person of ordinary skill in the art can understand that all or part of the steps carried in the method of the foregoing embodiments can be implemented by a program instructing relevant hardware to complete.
  • the program can be stored in a computer-readable storage medium. When executed, it includes one of the steps of the method embodiment or a combination thereof.
  • the functional units in the various embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
  • the terms “installed”, “connected”, “connected”, “fixed” and other terms should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection. , Or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components or the interaction relationship between two components.
  • installed can be a fixed connection or a detachable connection. , Or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components or the interaction relationship between two components.
  • the first feature “on” or “under” the second feature may be in direct contact with the first and second features, or the first and second features may be indirectly through an intermediary. contact.
  • the "above”, “above” and “above” of the first feature on the second feature may mean that the first feature is directly above or diagonally above the second feature, or it simply means that the level of the first feature is higher than the second feature.
  • the “below”, “below” and “below” of the second feature of the first feature may be that the first feature is directly below or obliquely below the second feature, or it simply means that the level of the first feature is smaller than the second feature.

Abstract

A fare collection system and a control method therefor, relating to the field of rail transit technology. The fare collection system comprises: a plurality of block chain node servers, and ticket selling machines and ticket checking machines corresponding to the block chain node servers. The plurality of block chain node servers are used to maintain block chains. The block chain node servers are used to perform contract interaction with the ticket selling machines and the ticket checking machines, and maintain the block chains according to a contract interaction result.

Description

售检票系统及其控制方法Ticket checking system and control method thereof
相关申请的交叉引用Cross-references to related applications
本公开要求于2019年09月29日提交的申请号为201910935336.X,名称为“售检票系统及其控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。The present disclosure claims the priority of a Chinese patent application filed on September 29, 2019, with the application number 201910935336.X, titled "Fare Collection System and Its Control Method", the entire content of which is incorporated into the present disclosure by reference.
技术领域Technical field
本公开涉及轨道交通技术领域,特别涉及一种售检票系统和一种售检票系统的控制方法。The present disclosure relates to the technical field of rail transit, and in particular to a fare collection system and a control method of the fare collection system.
背景技术Background technique
目前,AFC(Automatic Fare Collection,城市轨道交通自动售检票)系统通常采用中心服务器、车站服务器和车站终端三级管理模式,或者采用中心服务器和车站终端两级管理模式。然而,上述的管理模式存在以下问题:At present, AFC (Automatic Fare Collection, urban rail transit automatic fare collection) system usually adopts a three-level management mode of central server, station server and station terminal, or a two-level management mode of central server and station terminal. However, the above management model has the following problems:
1)若中心服务器突发故障,则可能会导致所有站点的自动售检票系统降级运行,甚至瘫痪;2)若中心服务器存储发生损坏,则可能会导致线路交易信息丢失;3)若网络安全性不足,则容易受到网络攻击,进而导致数据被恶意篡改。1) If the central server suddenly fails, it may cause the degraded operation of the automatic fare collection system of all sites, or even paralyze; 2) If the central server storage is damaged, it may cause the loss of line transaction information; 3) If the network is safe Insufficient, it is vulnerable to network attacks, which in turn leads to malicious tampering of data.
公开内容Public content
本公开提出了一种售检票系统及其控制方法,以提高自动售检票系统的可靠性和安全性。The present disclosure proposes a ticket selling and checking system and a control method thereof, so as to improve the reliability and safety of the automatic ticket selling and checking system.
第一方面,本公开提出了一种售检票系统,包括多个区块链节点服务器,以及与各区块链节点服务器对应的售票机和验票机,其中,所述多个区块链节点服务器用于维护区块链,所述区块链节点服务器,用于与对应的售票机和验票机进行合约交互,并根据所述合约交互结果对所述区块链进行维护。In the first aspect, the present disclosure proposes a ticket vending system, including multiple blockchain node servers, and ticket vending machines and ticket inspection machines corresponding to each blockchain node server, wherein the multiple blockchain node servers It is used to maintain the blockchain, and the blockchain node server is used for contract interaction with the corresponding ticket vending machine and ticket inspection machine, and to maintain the blockchain according to the result of the contract interaction.
根据本公开实施例的售检票系统,通过引入区块链节点服务器,并通过区块链节点服务器与售票机和验票机进行合约交互,进而根据合约交互结果对区块链进行维护,从而,利用区块链技术去中心化、数据加密和历史数据不可篡改的特性,提高自动售检票系统的可靠性和安全性。According to the ticket sales and inspection system of the embodiment of the present disclosure, by introducing a blockchain node server, and through the blockchain node server to perform contract interaction with the ticket vending machine and the ticket inspection machine, the blockchain is maintained according to the result of the contract interaction, thereby, Utilize the characteristics of blockchain technology decentralization, data encryption and historical data that cannot be tampered with to improve the reliability and security of the automatic fare collection system.
第二方面,本公开提出了一种售检票系统的控制方法,其中,所述售检票系统包括多个区块链节点服务器,以及与各区块链节点服务器对应的售票机和验票机,所述控制方法包括:控制所述区块链节点服务器与所述售票机和所述验票机进行合约交互;根据所述合约 交互结果对所述区块链进行维护。In the second aspect, the present disclosure proposes a control method for a ticket sales and inspection system, wherein the ticket sales and inspection system includes a plurality of blockchain node servers, and a ticket vending machine and a ticket inspection machine corresponding to each blockchain node server. The control method includes: controlling the blockchain node server to perform contract interaction with the ticket vending machine and the ticket inspection machine; and maintaining the blockchain according to the result of the contract interaction.
根据本公开实施例的售检票系统的控制方法,通过控制区块链节点服务器与售票机和验票机进行合约交互,并根据合约交互结果对区块链进行维护,从而,利用区块链技术去中心化、数据加密和历史数据不可篡改的特性,提高自动售检票系统的可靠性和安全性。According to the control method of the ticket inspection system of the embodiment of the present disclosure, the blockchain node server is controlled to interact with the ticket vending machine and the ticket inspection machine for contract interaction, and the blockchain is maintained according to the result of the contract interaction, thereby using blockchain technology The features of decentralization, data encryption and historical data that cannot be tampered with can improve the reliability and security of the automatic fare collection system.
本公开的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。The additional aspects and advantages of the present disclosure will be partially given in the following description, and some will become obvious from the following description, or be understood through the practice of the present disclosure.
附图说明Description of the drawings
本公开的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present disclosure will become obvious and easy to understand from the description of the embodiments in conjunction with the following drawings, in which:
图1为现有技术的区块链网络架构的示意图;Fig. 1 is a schematic diagram of a block chain network architecture in the prior art;
图2为本公开实施例的售检票系统的方框示意图;2 is a schematic block diagram of the ticket collection system according to an embodiment of the disclosure;
图3为本公开一个具体实施例的售检票系统的方框示意图;Fig. 3 is a block diagram of a ticket collection system according to a specific embodiment of the present disclosure;
图4为本公开一个具体实施例的购票流程的流程示意图;FIG. 4 is a schematic flowchart of a ticket purchase process according to a specific embodiment of the present disclosure;
图5为本公开一个具体实施例的进站检票流程的流程示意图;FIG. 5 is a schematic flow chart of the inbound ticket checking process according to a specific embodiment of the present disclosure;
图6为本公开一个具体实施例的出站检票流程的流程示意图;FIG. 6 is a schematic flowchart of an outbound ticket checking process according to a specific embodiment of the present disclosure;
图7为本公开一个具体实施例的售检票系统的结构示意图;FIG. 7 is a schematic structural diagram of a fare collection system according to a specific embodiment of the present disclosure;
图8为本公开实施例的售检票系统的控制方法的流程示意图;FIG. 8 is a schematic flow chart of a control method of a fare collection system according to an embodiment of the present disclosure;
图9为本公开一个实施例的售检票系统的控制方法的流程示意图;FIG. 9 is a schematic flow chart of a control method of a fare collection system according to an embodiment of the present disclosure;
图10为本公开一个实施例的售检票系统的控制方法的流程示意图;FIG. 10 is a schematic flowchart of a control method of a fare collection system according to an embodiment of the present disclosure;
图11为本公开一个实施例的售检票系统的控制方法的流程示意图。FIG. 11 is a schematic flowchart of a control method of a ticket collection system according to an embodiment of the present disclosure.
具体实施方式detailed description
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开,而不能理解为对本公开的限制。The embodiments of the present disclosure are described in detail below. Examples of the embodiments are shown in the accompanying drawings, in which the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary, and are only used to explain the present disclosure, and should not be construed as limiting the present disclosure.
需要说明的是,在本公开实施例中所采用的区块链技术是一种通过使用去中心化共识机制以维护一个完整的、分布式的、不可篡改的账本数据库的技术,能够使区块链中的参与者在无需建立信任关系的前提下,实现统一的账本系统。其中,上述区块链中的“区块”是指公共账本,该公共账本可通过多点维护;上述区块链中的“链”是指时间戳,该时间戳不可伪造。It should be noted that the blockchain technology used in the embodiments of the present disclosure is a technology that uses a decentralized consensus mechanism to maintain a complete, distributed, and non-tamperable ledger database. Participants in the chain realize a unified ledger system without establishing a trust relationship. Among them, the “block” in the above-mentioned blockchain refers to a public ledger, which can be maintained at multiple points; the “chain” in the above-mentioned blockchain refers to a timestamp, which cannot be forged.
如图1所示,区块链网络由众多的区块链节点组成,并通过共识机制维护区块链网络上 的数据的一致性,且区块链中的参与者可通过区块链节点查询或者写入数据。区块链网络具有如下特性:As shown in Figure 1, the blockchain network is composed of many blockchain nodes, and the consistency of the data on the blockchain network is maintained through the consensus mechanism, and the participants in the blockchain can query through the blockchain nodes Or write data. The blockchain network has the following characteristics:
1)分布式去中心化,由于区块链网络中每个节点都必须遵循同一记账交易规则(该交易规则基于密码算法),且每笔交易需要网络内其他用户的批准。因此,区块链系统无需第三方中介机构或信任机构介入,进而可用于实现本公开实施例的售检票系统的去中心化;2)无须信任系统,在区块链网络中,通过算法的自我约束,任何恶意欺骗系统的行为都将会遭到其他节点的排斥和抑制。因此,无法从单一节点对区块链系统进行网络欺诈攻击,可用于提升本公开实施例的售检票系统的网络安全性;3)不可篡改和加密安全性,区块链系统采取单向哈希算法,且每个新产生的区块严格按照时间线顺序推进,由于时间的不可逆性,任何试图入侵或篡改该区块链系统数据信息的行为都极易被追溯,并被其它节点的排斥。因此,区块链系统的数据均经过数据加密,且不可篡改,可用于实现本公开实施例的售票系统的票务数据加密和票务历史数据不可篡改。1) Distributed decentralization, because each node in the blockchain network must follow the same accounting transaction rule (the transaction rule is based on a cryptographic algorithm), and each transaction requires the approval of other users in the network. Therefore, the blockchain system does not require the intervention of third-party intermediaries or trust institutions, and can then be used to realize the decentralization of the ticket sales and inspection system of the embodiments of the present disclosure; 2) No trust system is required. In the blockchain network, the self through algorithm Constraint, any malicious deception of the system will be rejected and suppressed by other nodes. Therefore, it is impossible to carry out cyber fraud attacks on the blockchain system from a single node, which can be used to improve the network security of the ticket sales and inspection system of the embodiment of the present disclosure; 3) Tamper-proof and encryption security, the blockchain system adopts one-way hashing Algorithms, and each newly generated block is advanced strictly in accordance with the timeline sequence. Due to the irreversibility of time, any attempt to invade or tamper with the data information of the blockchain system can be easily traced and rejected by other nodes. Therefore, the data of the blockchain system is data-encrypted and cannot be tampered with, which can be used to realize the ticketing data encryption and ticketing history data of the ticketing system of the embodiment of the present disclosure.
下面参考附图描述本公开实施例的售检票系统及其控制方法。The ticket collection system and its control method according to the embodiments of the present disclosure will be described below with reference to the accompanying drawings.
图2为本公开实施例的售检票系统的方框示意图。如图2所示,售检票系统100包括:设置在多个区域的区块链节点服务器1,以及与各区块链节点服务器1对应的售票机2和验票机3。Fig. 2 is a schematic block diagram of a ticket collection system according to an embodiment of the disclosure. As shown in FIG. 2, the ticket vending system 100 includes: blockchain node servers 1 installed in multiple regions, and ticket vending machines 2 and ticket inspection machines 3 corresponding to each blockchain node server 1.
其中,多个区块链节点服务器1用于维护区块链,区块链节点服务器1用于与对应的售票机2和验票机3进行合约交互,并根据合约交互结果对区块链进行维护。Among them, multiple blockchain node servers 1 are used to maintain the blockchain, and the blockchain node server 1 is used to interact with the corresponding ticket vending machine 2 and ticket inspection machine 3, and perform contract interactions on the blockchain according to the result of the contract interaction. maintain.
需要说明的是,上述合约交互中的“合约”为运行在区块链网络上的以信息化方式传播、验证或执行的计算机协议,该合约允许区块链节点服务器在没有第三方的情况下,进行可信交易。该交易可追踪,但不可逆转。It should be noted that the "contract" in the above-mentioned contract interaction is a computer protocol that is spread, verified, or executed in an information-based manner running on the blockchain network. This contract allows the blockchain node server to be without a third party. , Conduct trusted transactions. The transaction is traceable, but irreversible.
在该实施例中,如图3所示,区块链节点服务器1可包括合约交互接口、区块同步模块、区块封装模块和区块发布模块,其中,合约交互接口可用于与售票机2和检票机3进行合约交互(即业务功能的交互);区块同步模块可用于处理共识机制,以同步区块链上的数据;区块封装模块可用于将合约的数据封装成区块结构;区块发布模块可用于将封装好的区块发布到区块链共识网络中。In this embodiment, as shown in FIG. 3, the blockchain node server 1 may include a contract interaction interface, a block synchronization module, a block encapsulation module, and a block release module. The contract interaction interface may be used to communicate with the ticket vending machine 2. Perform contract interaction with the ticket checking machine 3 (ie, the interaction of business functions); the block synchronization module can be used to process the consensus mechanism to synchronize data on the blockchain; the block encapsulation module can be used to encapsulate the contract data into a block structure; The block publishing module can be used to publish encapsulated blocks to the blockchain consensus network.
也就是说,相对于现有技术的传统自动售检票系统的中心服务器中心管理和存储,本公开实施例的售检票系统引入区块链技术,通过多个区块链节点服务器1维护区块链。需要说明的是,每个区块链节点服务器1均拥有完整的数据备份,换言之,包括中心服务器在内的任意节点若发生故障,其它节点仍然可继续进行业务操作,同样地,包括中心服务器在内的任一节点若发生存储设备损坏,其它节点仍然持有完整数据,并不会造成数据丢失,同时,借助区块链的单向哈希算法和时间不可逆性,能够对售检票系统的票务数据进行溯 源验证,以防止票务历史数据被人为非法篡改。That is to say, compared to the central server center management and storage of the traditional automatic fare collection system in the prior art, the fare collection system of the embodiment of the present disclosure introduces blockchain technology and maintains the blockchain through multiple blockchain node servers 1 . It should be noted that each blockchain node server 1 has a complete data backup. In other words, if any node including the central server fails, other nodes can still continue to perform business operations. Similarly, the central server is If any node in the storage device is damaged, the other nodes still hold complete data and will not cause data loss. At the same time, with the help of the one-way hash algorithm and time irreversibility of the blockchain, the ticketing system can be used for ticketing The data is traceable and verified to prevent the ticketing historical data from being artificially and illegally tampered with.
进一步地,在本公开的实施例中,售票机2用于接收购票者的购票请求,并根据购票请求生成售票合约请求,并将售票合约请求发送至对应的区块链节点服务器1,其中,区块链节点服务器1根据售票合约生成售票区块数据,并将售票区块数据发布至区块链以进行同步。Further, in the embodiment of the present disclosure, the ticket vending machine 2 is used to receive the ticket purchase request from the ticket purchaser, generate a ticket sales contract request according to the ticket purchase request, and send the ticket sales contract request to the corresponding blockchain node server 1 , Wherein, the blockchain node server 1 generates ticket sales block data according to the ticket sales contract, and publishes the ticket sales block data to the blockchain for synchronization.
也就是说,在本公开的实施例中,售检票系统100通过售票机2接收购票者的购票请求,并根据购票请求生成售票合约请求,并将售票合约请求发送至对应的区块链节点服务器1,其中,区块链节点服务器1根据售票合约生成售票区块数据,并将售票区块数据发布至区块链共识网络以进行同步,从而,使设置在多个区域的区块链节点服务器1同步售票区块数据。That is, in the embodiment of the present disclosure, the ticket vending system 100 receives the ticket purchase request of the ticket buyer through the ticket vending machine 2, generates a ticket sale contract request according to the ticket purchase request, and sends the ticket sale contract request to the corresponding block The chain node server 1, where the blockchain node server 1 generates ticketing block data according to the ticketing contract, and publishes the ticketing block data to the blockchain consensus network for synchronization, thereby enabling blocks set in multiple regions The chain node server 1 synchronizes the ticketing block data.
参见图3,售票机2可包括售票合约处理模块和状态合约处理模块,售票机2可通过售票合约处理模块根据购票请求获取随机的车票序列、私钥和公钥,并使用私钥对票务交易生成数字签名,进而,根据车票序列号、公钥、数字签名、车票权限等信息生成售票合约,并将售票合约发送至对应的区块链节点服务器1,以申请票务交易,并可通过状态合约处理模块获取区块链网络状态。Referring to Figure 3, the ticket vending machine 2 can include a ticket sales contract processing module and a state contract processing module. The ticket vending machine 2 can obtain a random ticket sequence, private key and public key according to the ticket purchase request through the ticket sales contract processing module, and use the private key to perform ticketing The transaction generates a digital signature, and then generates a ticket sales contract based on the ticket serial number, public key, digital signature, ticket authority and other information, and sends the ticket sales contract to the corresponding blockchain node server 1 to apply for a ticket transaction and pass the status The contract processing module obtains the state of the blockchain network.
在本公开的实施例中,区块链节点服务器1还用于将售票区块数据发布至区块链之后,向售票机2发送成功信息以使售票机2生成车票。In the embodiment of the present disclosure, the blockchain node server 1 is also used to send a success message to the ticket vending machine 2 after publishing the ticket selling block data to the blockchain, so that the ticket vending machine 2 generates a ticket.
也就是说,售票机2在接收到区块链节点服务器1同步区块链的成功信息之后生成车票。In other words, the ticket vending machine 2 generates a ticket after receiving the successful information of the blockchain node server 1 to synchronize the blockchain.
如图4所示,以本公开一个具体实施例的购票流程为例,购票者对售票机2进行投币购票,售票机2执行如下步骤:As shown in Fig. 4, taking the ticket purchase process of a specific embodiment of the present disclosure as an example, a ticket purchaser performs coin-op purchase on the ticket vending machine 2, and the ticket vending machine 2 performs the following steps:
S10,售票机接收购票者的购票请求,并确认满足购票条件。S10: The ticket vending machine receives the ticket purchase request from the ticket purchaser and confirms that the ticket purchase conditions are met.
S11,售票机生成随机的车票序列号、私钥和公钥,并使用私钥对当前票务交易生成数字签名。S11: The ticket vending machine generates a random ticket serial number, private key and public key, and uses the private key to generate a digital signature for the current ticket transaction.
S12,售票机根据车票序列号、公钥、数字签名、车票权限等信息生成售票合约请求,并将售票合约请求发送至区块链节点服务器。S12: The ticket vending machine generates a ticket sales contract request according to the ticket serial number, public key, digital signature, ticket authority and other information, and sends the ticket sales contract request to the blockchain node server.
S13,区块链节点服务器收到售票合约请求后,对合约内容进行运算,并将运算结果封装成区块数据,并将区块数据发布至区块链。S13: After receiving the ticket sales contract request, the blockchain node server performs calculations on the contract content, encapsulates the calculation results into block data, and publishes the block data to the blockchain.
S14,设置在多个区域的区块链节点服务器通过共识机制,对区块数据进行同步。S14: Block chain node servers set up in multiple regions synchronize block data through a consensus mechanism.
S15,区块链节点服务器将成功信息反馈至售票机。S15, the blockchain node server feeds back the success information to the ticket vending machine.
S16,售票机将生成的随机密钥信息写入车票载体中,并出票。S16: The ticket vending machine writes the generated random key information into the ticket carrier and issues the ticket.
进一步地,在本公开的实施例中,验票机3用于读取车票信息,并根据车票信息生成进站合约请求,并将进站合约请求发送至对应的区块链节点服务器1,其中,区块链节点服务 器1根据进站合约生成进站区块数据,并将进站区块数据发布至区块链以进行同步。Further, in the embodiment of the present disclosure, the ticket inspection machine 3 is used to read the ticket information, generate an inbound contract request according to the ticket information, and send the inbound contract request to the corresponding blockchain node server 1, where , The blockchain node server 1 generates inbound block data according to the inbound contract, and publishes the inbound block data to the blockchain for synchronization.
具体地,在本公开的实施例中,售检票系统100可通过验票机3读取车票信息,并根据车票信息生成进站合约请求,并将进站合约请求发送至区块链节点服务器1,区块链节点服务器1根据进站合约生成进站区块数据,并将进站区块数据发布至区块链以同步区块链,从而,使设置在多个区域的区块链节点服务器1同步进站区块数据。Specifically, in the embodiment of the present disclosure, the ticket vending system 100 can read the ticket information through the ticket inspection machine 3, generate an inbound contract request based on the ticket information, and send the inbound contract request to the blockchain node server 1 , The blockchain node server 1 generates the inbound block data according to the inbound contract, and publishes the inbound block data to the blockchain to synchronize the blockchain, thereby enabling the blockchain node servers installed in multiple regions 1Synchronize incoming block data.
如图5所示,以本公开一个具体实施例的入站检票流程为例,持票者持票通过验票机3进站,验票机3执行如下步骤:As shown in Figure 5, taking the inbound ticket checking process of a specific embodiment of the present disclosure as an example, the ticket holder enters the station through the ticket inspection machine 3, and the ticket inspection machine 3 performs the following steps:
S20,验票机读取车票信息(例如车票的密钥和序号信息),并从区块链节点服务器查询车票的权限。S20: The ticket inspection machine reads the ticket information (for example, the ticket key and serial number information), and queries the ticket authority from the blockchain node server.
S21,若车票符合进站条件,则根据车票相关的公钥、数字签名和车票状态等信息生成进站合约请求,并将进站合约请求发送至区块链节点服务器。S21: If the ticket meets the entry conditions, generate an entry contract request based on information related to the ticket, such as the public key, digital signature, and ticket status, and send the entry contract request to the blockchain node server.
S22,区块链节点服务器收到进站合约请求后,对合约内容进行运算,并将运算结果封装成区块数据,并将区块数据发布至区块链,并在区块数据发布成功之后,向验票机进行信息反馈。S22: After receiving the inbound contract request, the blockchain node server performs calculations on the content of the contract, encapsulates the calculation results into block data, and publishes the block data to the blockchain, and after the block data is successfully published , Feedback information to the ticket inspection machine.
S23,验票机响应放行。S23, the ticket inspection machine responds to the release.
在本公开的实施例中,验票机3还用于读取车票信息,并根据车票信息生成出站合约请求,并将出站合约请求发送至对应的区块链节点服务器1,其中,区块链节点服务器1根据出站合约生成检票区块数据,并将检票区块数据发布至区块链以进行同步。In the embodiment of the present disclosure, the ticket inspection machine 3 is also used to read the ticket information, generate an outbound contract request according to the ticket information, and send the outbound contract request to the corresponding blockchain node server 1, where the district The blockchain node server 1 generates ticket checking block data according to the outbound contract, and publishes the ticket checking block data to the blockchain for synchronization.
在本公开的实施例中,售检票系统100还可通过验票机3读取车票信息,并根据车票信息生成出站合约请求,并将出站合约请求发送至区块链节点服务器1,区块链节点服务器1根据出站合约生成出站区块数据,并将出站区块数据发布至区块链以同步区块链,从而,使设置在多个区域的区块链节点服务器1同步出站区块数据。In the embodiment of the present disclosure, the fare collection system 100 can also read the ticket information through the ticket inspection machine 3, generate an outbound contract request based on the ticket information, and send the outbound contract request to the blockchain node server 1. The blockchain node server 1 generates outbound block data according to the outbound contract, and publishes the outbound block data to the blockchain to synchronize the blockchain, thereby synchronizing the blockchain node servers 1 installed in multiple regions Outbound block data.
如图6所示,以本公开一个具体实施例的出站检票流程为例,持票者持票通过验票机3出站,验票机3执行如下步骤:As shown in Figure 6, taking the outbound ticket checking process of a specific embodiment of the present disclosure as an example, the ticket holder passes the ticket inspection machine 3 to exit the station, and the ticket inspection machine 3 performs the following steps:
S30,验票机读取车票信息(例如车票的密钥和序号信息),并从区块链节点服务器查询车票的权限。S30: The ticket inspection machine reads the ticket information (for example, the ticket key and serial number information), and queries the ticket authority from the blockchain node server.
S31,若车票符合出站条件,则根据车票相关的公钥、数字签名和车票状态等信息生成出站合约请求,并将出站合约请求发送至区块链节点服务器。S31: If the ticket meets the exit conditions, generate an outbound contract request based on information related to the ticket, such as the public key, digital signature, and ticket status, and send the outbound contract request to the blockchain node server.
S32,区块链节点服务器收到出站合约请求后,对合约内容进行运算,并将运算结果封装成区块数据,并将区块数据发布至区块链,并在区块数据发布成功之后,向验票机进行信息反馈。S32: After receiving the outbound contract request, the blockchain node server performs calculations on the content of the contract, encapsulates the calculation results into block data, and publishes the block data to the blockchain, and after the block data is successfully published , Feedback information to the ticket inspection machine.
S33,验票机响应放行。S33, the ticket inspection machine responds to release.
如图3所示,验票机3可包括检票合约处理模块和状态合约处理模块,验票机3可通过检票合约处理模块根据车票信息生成进站合约请求,并将该进站合约请求发送至区块链节点服务器1,以检查车票的乘坐权限,并在执行该合约交互后,消除车票的乘坐权限,以及,可通过状态合约处理模块获取区块链网络状态。As shown in Figure 3, the ticket inspection machine 3 can include a ticket inspection contract processing module and a status contract processing module. The ticket inspection machine 3 can generate an inbound contract request based on the ticket information through the ticket inspection contract processing module, and send the inbound contract request to The blockchain node server 1 can check the ride permission of the ticket and eliminate the ride permission of the ticket after the contract interaction is executed, and the state of the blockchain network can be obtained through the state contract processing module.
进一步地,在本公开的实施例中,如图7所示,售检票系统100还包括:中心管理服务器4。Further, in the embodiment of the present disclosure, as shown in FIG. 7, the ticket collection system 100 further includes: a central management server 4.
其中,中心管理服务器4可用于监控区块链的运行情况,并对区块链的网络和合约进行维护与管理。Among them, the central management server 4 can be used to monitor the operation of the blockchain, and maintain and manage the network and contracts of the blockchain.
如图3所示,中心管理服务器4可包括网络管理模块和区块链节点模块,网络管理模块和区块链节点模块与区块链网络连接,其中,中心管理服务器4可通过网络管理模块监测区块链网络内所有设备运行情况,且能够对区块链网络进行带外升级;区块链节点模块能够处理区块链业务。As shown in Figure 3, the central management server 4 may include a network management module and a blockchain node module. The network management module and the blockchain node module are connected to the blockchain network. The central management server 4 can be monitored by the network management module. The operation status of all equipment in the blockchain network, and the blockchain network can be upgraded out-of-band; the blockchain node module can handle blockchain services.
应理解的是,中心管理服务器4拥有最高权限,能够对合约版本进行修改管理,另外,中心管理服务器4可从区块链中同步到完整的票务交易账本,换言之,中心管理服务器4能够对票务数据进行存储、管理和结算等操作,以及,中心管理服务器4可作为售检票系统100与第三方系统的接口,即若第三方系统需要访问区块链内的数据,则可通过中心管理服务器4实现数据访问,从而,实现票务清分的业务需求。It should be understood that the central management server 4 has the highest authority and can modify and manage the contract version. In addition, the central management server 4 can synchronize to a complete ticket transaction account book from the blockchain. In other words, the central management server 4 can perform ticket management Data storage, management, and settlement operations, and the central management server 4 can be used as the interface between the ticket collection system 100 and a third-party system, that is, if the third-party system needs to access the data in the blockchain, it can use the central management server 4 Achieve data access, thereby fulfilling the business requirements of ticket clearing.
综上,根据本公开实施例的售检票系统,通过引入区块链节点服务器与售票机和验票机进行合约交互,并根据合约交互结果对区块链进行维护,从而,利用区块链技术去中心化、数据加密和历史数据不可篡改的特性,提高自动售检票系统的可靠性和安全性。In summary, according to the fare collection system of the embodiments of the present disclosure, the blockchain node server is introduced to interact with the ticket vending machine and the ticket inspection machine for contract interaction, and the blockchain is maintained according to the result of the contract interaction, thereby using blockchain technology The features of decentralization, data encryption and historical data that cannot be tampered with can improve the reliability and security of the automatic fare collection system.
图8为本公开实施例的售检票系统的控制方法的流程示意图。如图8所示,售检票系统的控制方法包括:FIG. 8 is a schematic flowchart of a control method of a ticket collection system according to an embodiment of the disclosure. As shown in Figure 8, the control method of the fare collection system includes:
S101,控制区块链节点服务器与售票机和验票机进行合约交互。S101: Control the blockchain node server to perform contract interaction with the ticket vending machine and the ticket checking machine.
S102,根据合约交互结果对区块链进行维护。S102: Maintain the blockchain according to the contract interaction result.
也就是说,在控制区块链节点服务器与售票机和验票机进行合约交互之后,还根据合约交互结果对区块链进行维护,从而,实现多个区块链节点服务器的同步。That is to say, after controlling the blockchain node server to interact with the ticket vending machine and the ticket inspection machine for contract interaction, the blockchain is also maintained according to the result of the contract interaction, so as to realize the synchronization of multiple blockchain node servers.
在本公开的实施例中,如图9所示,售检票系统的控制方法,还包括:In the embodiment of the present disclosure, as shown in FIG. 9, the control method of the ticket collection system further includes:
S201,接收购票者的购票请求,并根据购票请求生成售票合约请求,并将售票合约请求发送至对应的区块链节点服务器。S201: Receive a ticket purchase request from a ticket purchaser, generate a ticket sales contract request according to the ticket purchase request, and send the ticket sales contract request to a corresponding blockchain node server.
S202,根据售票合约生成售票区块数据,并将售票区块数据发布至区块链以进行同步。S202: Generate ticket sales block data according to the ticket sales contract, and publish the ticket sales block data to the blockchain for synchronization.
也就是说,在接收购票者的购票请求之后,还根据购票请求生成售票合约请求,并将售票合约请求发送至对应的区块链节点服务器,进而,根据售票合约生成售票区块数据,并 将售票区块数据发布至区块链以同步区块链,从而,实现售票区块数据的同步。That is to say, after receiving the ticket purchase request from the ticket purchaser, it also generates a ticket sales contract request according to the ticket purchase request, and sends the ticket sales contract request to the corresponding blockchain node server, and then generates the ticket sales block data according to the ticket sales contract , And publish the ticketing block data to the blockchain to synchronize the blockchain, thereby realizing the synchronization of the ticketing block data.
S203,在将售票区块数据发布至区块链之后,发送成功信息以控制售票机生成车票。S203: After publishing the ticket sales block data to the blockchain, send a success message to control the ticket vending machine to generate tickets.
在本公开的实施例中,如图10所示,售检票系统的控制方法,还包括:In the embodiment of the present disclosure, as shown in FIG. 10, the control method of the ticket collection system further includes:
S301,读取车票信息,并根据车票信息生成进站合约请求,并将进站合约请求发送至对应的区块链节点服务器。S301: Read the ticket information, generate an inbound contract request according to the ticket information, and send the inbound contract request to the corresponding blockchain node server.
S302,根据进站合约生成进站区块数据,并将进站区块数据发布至区块链以进行同步。S302: Generate inbound block data according to the inbound contract, and publish the inbound block data to the blockchain for synchronization.
也就是说,在读取车票信息之后,还根据车票信息生成进站合约请求,并将进站合约请求发送至区块链节点服务器,以及,根据进站合约生成进站区块数据,并将进站区块数据发布至区块链以同步区块链,从而,实现进站区块数据的同步。That is to say, after reading the ticket information, it also generates an inbound contract request based on the ticket information, and sends the inbound contract request to the blockchain node server, and generates the inbound block data according to the inbound contract, and Inbound block data is released to the blockchain to synchronize the blockchain, thereby achieving synchronization of inbound block data.
在本公开的实施例中,如图11所示,售检票系统的控制方法,还包括:In the embodiment of the present disclosure, as shown in FIG. 11, the control method of the ticket collection system further includes:
S401,读取车票信息,并根据车票信息生成出站合约请求,并将出站合约请求发送至对应的区块链节点服务器。S401: Read the ticket information, generate an outbound contract request according to the ticket information, and send the outbound contract request to the corresponding blockchain node server.
S402,根据出站合约生成检票区块数据,并将检票区块数据发布至区块链以进行同步。S402: Generate ticket checking block data according to the outbound contract, and publish the ticket checking block data to the blockchain for synchronization.
也就是说,在读取车票信息之后,还根据车票信息生成出站合约请求,并将出站合约请求发送至区块链节点服务器,以及,根据出站合约生成出站区块数据,并将出站区块数据发布至区块链以同步区块链,从而,实现出站区块数据的同步。In other words, after reading the ticket information, the outbound contract request is also generated according to the ticket information, and the outbound contract request is sent to the blockchain node server, and the outbound block data is generated according to the outbound contract, and The outbound block data is published to the blockchain to synchronize the blockchain, thereby achieving synchronization of the outbound block data.
需要说明的是,本公开实施例的售检票系统的控制方法基于前述本公开前述实施例的售检票系统,即本公开实施例的售检票系统的控制方法与前述本公开实施例的售检票系统的具体实施例方式一一对应,在此不再赘述。It should be noted that the control method of the fare collection system in the embodiment of the present disclosure is based on the fare collection system of the foregoing embodiment of the present disclosure, that is, the control method of the fare collection system of the embodiment of the present disclosure and the fare collection system of the foregoing embodiment of the present disclosure There is a one-to-one correspondence between the specific embodiments, and details are not described herein again.
综上,根据本公开实施例的售检票系统的控制方法,通过控制区块链节点服务器与售票机和验票机进行合约交互,并根据合约交互结果对区块链进行维护,从而,利用区块链技术去中心化、数据加密和历史数据不可篡改的特性,提高自动售检票系统的可靠性和安全性。In summary, according to the control method of the ticket vending system of the embodiment of the present disclosure, the blockchain node server is controlled to interact with the ticket vending machine and the ticket checking machine for contract interaction, and the blockchain is maintained according to the result of the contract interaction. The decentralization of blockchain technology, data encryption and historical data can not be tampered with, improve the reliability and security of the automatic fare collection system.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean specific features described in conjunction with the embodiment or example , Structure, materials or features are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples and the features of the different embodiments or examples described in this specification without contradicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含 地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description described in the flowchart or described in other ways herein can be understood as a module, segment or part of code that includes one or more executable instructions for implementing custom logic functions or steps of the process , And the scope of the preferred embodiments of the present invention includes additional implementations, which may not be in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. This should It is understood by those skilled in the art to which the embodiments of the present invention belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or described in other ways herein, for example, can be considered as a sequenced list of executable instructions for implementing logic functions, and can be embodied in any computer-readable medium, For use by instruction execution systems, devices, or equipment (such as computer-based systems, systems including processors, or other systems that can fetch and execute instructions from instruction execution systems, devices, or equipment), or combine these instruction execution systems, devices Or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, device, or device or in combination with these instruction execution systems, devices, or devices. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) with one or more wiring, portable computer disk cases (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because it can be used, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable media if necessary. The program is processed in a way to obtain the program electronically and then stored in the computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented by hardware as in another embodiment, it can be implemented by any one or a combination of the following technologies known in the art: Discrete logic gate circuits with logic functions for data signals Logic circuit, application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person of ordinary skill in the art can understand that all or part of the steps carried in the method of the foregoing embodiments can be implemented by a program instructing relevant hardware to complete. The program can be stored in a computer-readable storage medium. When executed, it includes one of the steps of the method embodiment or a combination thereof.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软 件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The aforementioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can comment on the above-mentioned embodiments within the scope of the present invention. The embodiment undergoes changes, modifications, substitutions, and modifications.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”、“顺时针”、“逆时针”、“轴向”、“径向”、“周向”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " Back", "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inner", "Outer", "Clockwise", "Counterclockwise", "Axial" , "Radial", "Circumferential", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying the pointed device or The element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention.
在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and other terms should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection. , Or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above-mentioned terms in the present invention can be understood according to specific situations.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征“上”或“下”可以是第一和第二特征直接接触,或第一和第二特征通过中间媒介间接接触。而且,第一特征在第二特征“之上”、“上方”和“上面”可是第一特征在第二特征正上方或斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless expressly stipulated and defined otherwise, the first feature “on” or “under” the second feature may be in direct contact with the first and second features, or the first and second features may be indirectly through an intermediary. contact. Moreover, the "above", "above" and "above" of the first feature on the second feature may mean that the first feature is directly above or diagonally above the second feature, or it simply means that the level of the first feature is higher than the second feature. The “below”, “below” and “below” of the second feature of the first feature may be that the first feature is directly below or obliquely below the second feature, or it simply means that the level of the first feature is smaller than the second feature.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can comment on the above-mentioned embodiments within the scope of the present invention. The embodiment undergoes changes, modifications, substitutions, and modifications.

Claims (11)

  1. 一种售检票系统,包括:多个区块链节点服务器,以及与各区块链节点服务器对应的售票机和验票机,其中,所述多个区块链节点服务器用于维护区块链,A ticket inspection system includes: multiple blockchain node servers, and ticket vending machines and ticket inspection machines corresponding to each blockchain node server, wherein the multiple blockchain node servers are used to maintain the blockchain,
    所述区块链节点服务器,用于与对应的售票机和验票机进行合约交互,并根据所述合约交互结果对所述区块链进行维护。The blockchain node server is used to perform contract interaction with the corresponding ticket vending machine and ticket inspection machine, and maintain the blockchain according to the result of the contract interaction.
  2. 如权利要求1所述的售检票系统,其中,The fare collection system according to claim 1, wherein:
    所述售票机,用于接收购票者的购票请求,并根据所述购票请求生成售票合约请求,并将所述售票合约请求发送至对应的区块链节点服务器,其中,所述区块链节点服务器根据所述售票合约生成售票区块数据,并将所述售票区块数据发布至所述区块链以进行同步。The ticket vending machine is used to receive a ticket purchase request from a ticket purchaser, generate a ticket sales contract request according to the ticket purchase request, and send the ticket sales contract request to the corresponding blockchain node server, where the district The block chain node server generates ticket sales block data according to the ticket sales contract, and publishes the ticket sales block data to the blockchain for synchronization.
  3. 如权利要求2所述的售检票系统,其中,所述区块链节点服务器,还用于在将所述售票区块数据发布至所述区块链之后,向所述售票机发送成功信息以使所述售票机生成车票。The ticket vending system according to claim 2, wherein the blockchain node server is further configured to send success information to the ticket vending machine after publishing the ticket selling block data to the blockchain Make the ticket vending machine generate a ticket.
  4. 如权利要求1-3任一项所述的售检票系统,其中,所述验票机,用于读取车票信息,并根据所述车票信息生成进站合约请求,并将所述进站合约请求发送至对应的区块链节点服务器,其中,所述区块链节点服务器根据所述进站合约生成进站区块数据,并将所述进站区块数据发布至所述区块链以进行同步。The fare collection system according to any one of claims 1 to 3, wherein the ticket inspection machine is used to read ticket information, and generate a station entry contract request based on the ticket information, and to set the entry contract The request is sent to the corresponding blockchain node server, where the blockchain node server generates inbound block data according to the inbound contract, and publishes the inbound block data to the blockchain for Synchronize.
  5. 如权利要求1-4任一项所述的售检票系统,其中,所述验票机,还用于读取车票信息,并根据所述车票信息生成出站合约请求,并将所述出站合约请求发送至对应的区块链节点服务器,其中,所述区块链节点服务器根据所述出站合约生成检票区块数据,并将所述检票区块数据发布至所述区块链以进行同步。The ticket sales and inspection system according to any one of claims 1-4, wherein the ticket inspection machine is also used to read ticket information, and generate an exit contract request based on the ticket information, and send the exit The contract request is sent to the corresponding blockchain node server, where the blockchain node server generates ticket checking block data according to the outbound contract, and publishes the ticket checking block data to the blockchain for Synchronize.
  6. 如权利要求1-5任一项所述的售检票系统,其中,所述系统还包括:中心管理服务器;5. The ticket sales and inspection system according to any one of claims 1-5, wherein the system further comprises: a central management server;
    所述中心管理服务器,用于监控所述区块链的运行情况,并对所述区块链的网络和所述合约进行维护与管理。The central management server is used to monitor the operation of the blockchain, and maintain and manage the network of the blockchain and the contract.
  7. 一种售检票系统的控制方法,所述售检票系统包括多个区块链节点服务器,以及与各区块链节点服务器对应的售票机和验票机,所述控制方法包括:A control method for a ticket collection system, the ticket collection system comprising a plurality of blockchain node servers, and a ticket vending machine and a ticket checking machine corresponding to each blockchain node server, the control method comprising:
    控制所述区块链节点服务器与所述售票机和所述验票机进行合约交互;Controlling the blockchain node server to perform contract interaction with the ticket vending machine and the ticket inspection machine;
    根据所述合约交互结果对所述区块链进行维护。Maintaining the blockchain according to the contract interaction result.
  8. 如权利要求7所述的售检票系统的控制方法,其中,所述控制方法还包括:8. The control method of the ticket collection system according to claim 7, wherein the control method further comprises:
    接收购票者的购票请求,并根据所述购票请求生成售票合约请求,并将所述售票合约请求发送至对应的区块链节点服务器;Receiving a ticket purchase request from a ticket purchaser, generating a ticket sales contract request according to the ticket purchase request, and sending the ticket sales contract request to the corresponding blockchain node server;
    根据所述售票合约生成售票区块数据,并将所述售票区块数据发布至所述区块链以进行同步。Generate ticket sales block data according to the ticket sales contract, and publish the ticket sales block data to the blockchain for synchronization.
  9. 如权利要求8所述的售检票系统的控制方法,其中,所述控制方法还包括:在将所述售票区块数据发布至所述区块链之后,发送成功信息以控制所述售票机生成车票。The control method of the ticket vending system according to claim 8, wherein the control method further comprises: after publishing the ticketing block data to the blockchain, sending a success message to control the ticket vending machine to generate ticket.
  10. 如权利要求7-9任一项所述的售检票系统的控制方法,其中,所述控制方法还包括:9. The control method of the fare collection system according to any one of claims 7-9, wherein the control method further comprises:
    读取车票信息,并根据所述车票信息生成进站合约请求,并将所述进站合约请求发送至对应的区块链节点服务器;Reading the ticket information, generating a station entry contract request based on the ticket information, and sending the station entry contract request to the corresponding blockchain node server;
    根据所述进站合约生成进站区块数据,并将所述进站区块数据发布至所述区块链以进行同步。Generate inbound block data according to the inbound contract, and publish the inbound block data to the blockchain for synchronization.
  11. 如权利要求7-10任一项所述的售检票系统的控制方法,其中,所述控制方法还包括:The control method of the ticket collection system according to any one of claims 7-10, wherein the control method further comprises:
    读取车票信息,并根据所述车票信息生成出站合约请求,并将所述出站合约请求发送至对应的区块链节点服务器;Read the ticket information, generate an outbound contract request based on the ticket information, and send the outbound contract request to the corresponding blockchain node server;
    根据所述出站合约生成检票区块数据,并将所述检票区块数据发布至所述区块链以进行同步。Generate ticket checking block data according to the outbound contract, and publish the ticket checking block data to the blockchain for synchronization.
PCT/CN2020/118288 2019-09-29 2020-09-28 Fare collection system and control method therefor WO2021057995A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910935336.XA CN112583870B (en) 2019-09-29 2019-09-29 Ticket sale and check system and control method thereof
CN201910935336.X 2019-09-29

Publications (1)

Publication Number Publication Date
WO2021057995A1 true WO2021057995A1 (en) 2021-04-01

Family

ID=75111257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/118288 WO2021057995A1 (en) 2019-09-29 2020-09-28 Fare collection system and control method therefor

Country Status (2)

Country Link
CN (1) CN112583870B (en)
WO (1) WO2021057995A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
CN109274496A (en) * 2018-08-01 2019-01-25 何世容 A kind of electronic passenger ticket storage system and electronic passenger ticket storage method based on block chain
CN109905379A (en) * 2019-02-02 2019-06-18 江苏通付盾科技有限公司 Lottery rewarding method and device based on block chain
WO2019120329A2 (en) * 2019-04-08 2019-06-27 Alibaba Group Holding Limited Transferring digital tickets based on blockchain networks
JP2019121147A (en) * 2017-12-31 2019-07-22 株式会社A.L.I.Technologies Method and system for ticket examination using block chain network
CN110262892A (en) * 2019-05-13 2019-09-20 特斯联(北京)科技有限公司 A kind of ticketing service dissemination method based on distributed storage data-link, device and data-link node

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201741955A (en) * 2016-05-18 2017-12-01 碩網資訊股份有限公司 An electronic ticket system using block chain and method thereof
WO2018039374A1 (en) * 2016-08-24 2018-03-01 Upgraded Inc. Digital securitization, obfuscation, policy and commerce of event tickets
CN107169826B (en) * 2017-05-09 2021-02-12 武汉凤链科技有限公司 Tourist attraction ticketing method and system based on block chain
CN107369008A (en) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 For improving management method, the apparatus and system of bill business security
CN109949428A (en) * 2019-03-14 2019-06-28 深圳市雷凌广通技术研发有限公司 A kind of ticket-checked device for rail traffic based on block chain technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
JP2019121147A (en) * 2017-12-31 2019-07-22 株式会社A.L.I.Technologies Method and system for ticket examination using block chain network
CN109274496A (en) * 2018-08-01 2019-01-25 何世容 A kind of electronic passenger ticket storage system and electronic passenger ticket storage method based on block chain
CN109905379A (en) * 2019-02-02 2019-06-18 江苏通付盾科技有限公司 Lottery rewarding method and device based on block chain
WO2019120329A2 (en) * 2019-04-08 2019-06-27 Alibaba Group Holding Limited Transferring digital tickets based on blockchain networks
CN110262892A (en) * 2019-05-13 2019-09-20 特斯联(北京)科技有限公司 A kind of ticketing service dissemination method based on distributed storage data-link, device and data-link node

Also Published As

Publication number Publication date
CN112583870A (en) 2021-03-30
CN112583870B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN111144881B (en) Selective access to asset transfer data
CN111556120B (en) Data processing method and device based on block chain, storage medium and equipment
Yavari et al. An improved blockchain-based authentication protocol for IoT network management
CN110417750B (en) Block chain technology-based file reading and storing method, terminal device and storage medium
WO2020147489A1 (en) Blockchain transaction generation method and device
CN115210741B (en) Partially ordered blockchain
CN110032545A (en) File memory method, system and electronic equipment based on block chain
US20060212270A1 (en) Auditing of secure communication sessions over a communications network
AU2019204713A1 (en) Transferring digital tickets based on blockchain networks
KR20220006623A (en) Blockchain consensus method, device and system
CN111681003A (en) Resource cross-chain transfer method and device, computer equipment and storage medium
CN108989118B (en) Enterprise-level private block chain deployment tool based on GO language
CN109951490A (en) Webpage integrity assurance, system and electronic equipment based on block chain
CN112241919A (en) Multi-domain blockchain network with data flow control
CN113169866A (en) Techniques to prevent collusion using simultaneous key distribution
CN112491812A (en) Hash updating method and device of block chain all-in-one machine
CN111416709B (en) Voting method, device, equipment and storage medium based on block chain system
KR102627868B1 (en) Method and system for authenticating data generated in blockchain
CN111488372A (en) Data processing method, device and storage medium
CN111429191A (en) Block chain-based electronic invoice flow management method, device and system
CN112311779B (en) Data access control method and device applied to block chain system
CN110598375A (en) Data processing method, device and storage medium
CN112612856A (en) Data processing method and device based on block chain
CN113328854A (en) Service processing method and system based on block chain
KR102572834B1 (en) Method and system for authenticating data generated in a blockchain using a signable contract

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20870201

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20870201

Country of ref document: EP

Kind code of ref document: A1