ETC payment management system based on block chain

文档序号:1890743 发布日期:2021-11-26 浏览:21次 中文

阅读说明:本技术 一种基于区块链的etc支付管理系统 (ETC payment management system based on block chain ) 是由 薛长河 伍彬 朱超 王超 吴立云 于 2021-08-18 设计创作,主要内容包括:本发明公开了一种基于区块链的ETC支付管理系统,一种基于区块链的ETC支付管理系统,包含有数个全量节点和设置在全量节点内的数个场景节点;所述场景节点用于该场景内产生交易链,并通过区块链技术将该交易链打包发送至所述全量节点,并接受全量节点处理后的数据;所述全量节点用于接受场景节点发送的交易链,并对交易链进行处理后发送给所述场景节点。该系统可推进ETC各类场景的快速接入,有效避免因各类异常造成运行过程中的对账问题,达到优化场景内对账流程、保证数据交易安全、提升ETC对账结算速度和保证ETC系统使用质量的目的。(The invention discloses an ETC payment management system based on a block chain, which comprises a plurality of full-scale nodes and a plurality of scene nodes arranged in the full-scale nodes; the scene nodes are used for generating transaction chains in the scene, packaging and sending the transaction chains to the full-scale nodes through a block chain technology, and receiving data processed by the full-scale nodes; and the full-amount node is used for receiving the transaction chain sent by the scene node, processing the transaction chain and then sending the processed transaction chain to the scene node. The system can promote the rapid access of various scenes of the ETC, effectively avoids account checking problems in the operation process caused by various abnormalities, and achieves the purposes of optimizing the account checking flow in the scene, ensuring the data transaction safety, promoting the ETC account checking and settlement speed and ensuring the use quality of the ETC system.)

1. An ETC payment management system based on a block chain is characterized by comprising an ETC center node, bank nodes, a plurality of full-scale nodes and a plurality of scene nodes under the full-scale nodes;

the ETC center node is used for recording the basic information of each bank node, each full-scale node and each scene node and verifying the system access permission of each node;

the full-volume nodes are used for receiving and forwarding the transaction data sent by all scene nodes in the area, storing all packaged transaction data, sending the transaction data to all scene nodes of the system through a plurality of full-volume nodes, and packaging the transaction data by cooperating with the scene nodes;

and the scene node is used for generating transaction data, sending the transaction data to the full-volume node, and meanwhile, performing data packaging after receiving feedback of the full-volume node.

2. The ETC payment management system based on the block chain according to claim 1, wherein a scene storage module is further connected to the scene node;

the scene storage module is used for storing the transaction data generated by the scene node.

3. The ETC payment management system based on the blockchain according to claim 2, wherein the scene node accesses the scene storage module to acquire data.

Technical Field

The invention relates to the technical field of intelligent payment, in particular to an ETC payment management system based on a block chain.

Background

In the prior art, ETC covers most highway sections of the country, various application markets in cities are continuously rising, and various applications such as parking lots, gas stations and road parking are continuously expanded.

ETC's advantage lies in that payment speed is fast, and the degree of accuracy is high, because ETC is the technique of deducting after the book keeping operation, if the book keeping operation goes wrong, the account is right, may cause ETC payment failure. The scenes such as a parking lot, a gas station and the like need to be checked every day, the transaction log is uploaded, and once the data is inconsistent with the data of the user management terminal, a large amount of time and manpower are needed to be checked, so that the use of the ETC system is seriously influenced.

The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.

Disclosure of Invention

In order to solve the technical problems, the invention provides an ETC payment management system based on a block chain, so as to achieve the purposes of optimizing an account checking flow in a scene, solving the problem that a blacklist is not updated timely and ensuring the use quality of the ETC system.

In order to achieve the purpose, the technical scheme of the invention is as follows:

an ETC payment management system based on a block chain comprises an ETC center node, bank nodes, a plurality of full-scale nodes and a plurality of scene nodes under the full-scale nodes;

the ETC center node is used for recording the basic information of each bank node, each full-scale node and each scene node and verifying the system access permission of each node;

the full-volume nodes are used for receiving and forwarding the transaction data sent by all scene nodes in the area, storing all packaged transaction data, sending the transaction data to all scene nodes of the system through a plurality of full-volume nodes, and packaging the transaction data by cooperating with the scene nodes;

and the scene node is used for generating transaction data, sending the transaction data to the full-volume node, and meanwhile, performing data packaging after receiving feedback of the full-volume node.

Preferably, the scene node is further connected with a scene storage module; the scene storage module is used for storing the transaction data generated by the scene node.

Preferably, the scene node accesses the scene storage module to obtain data.

The invention has the following advantages:

1. the ETC payment management system combined with the block chain can promote the rapid access of ETC in various scenes, effectively avoid the account checking problem in the operation process caused by various abnormalities, and achieve the purposes of optimizing the account checking flow in the scene, ensuring the data transaction safety, promoting the ETC account checking settlement speed and ensuring the use quality of the ETC system.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.

Fig. 1 is a system block diagram of an ETC payment management system based on a block chain according to an embodiment of the present invention;

Detailed Description

The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

The invention provides an ETC payment management system based on a block chain, which has the working principle that the rapid access of various scenes of ETC can be promoted by providing the ETC payment management system combined with the block chain, the account checking problem in the operation process caused by various abnormalities is effectively avoided, and the purposes of optimizing the account checking flow in the scenes, ensuring the data transaction safety, promoting the ETC account checking settlement speed and ensuring the use quality of the ETC system are achieved.

The present invention will be described in further detail with reference to examples and specific embodiments.

As shown in fig. 1, an ETC payment management system based on a block chain for a provincial administration district (in units of provincial administration districts) includes an ETC center node 1, bank nodes 3, a plurality of full-scale nodes 2, and a plurality of scene nodes under the full-scale nodes.

The ETC center node is used for recording and verifying the basic information of each bank node, each full-scale node and each scene node and verifying the system access permission of each node;

the full-scale nodes are used for receiving and forwarding the transaction data sent by all scene nodes in the area, storing all packaged transaction data, sending the transaction data to all scene nodes of the system through a plurality of full-scale nodes, and packaging the transaction data by cooperating with the scene nodes;

and the scene node is used for generating transaction data, sending the transaction data to the full-volume node, and meanwhile, performing data packaging after receiving feedback of the full-volume node. The scene nodes are also connected with a scene storage module; the scene storage module is used for storing the transaction data generated by the scene node.

The specific use steps of the invention are as follows: as shown in fig. 1, in this embodiment, a total of 2 panoramic nodes are set, which are respectively a full node 2A and a full node 2B; each panoramic node is connected with two scene nodes, namely a scene system a1 and a scene system a2 are arranged below the full node A; a scene system B1 and a scene system B2 are arranged below the full node B.

When the system is on line, a pre-on-line mode is adopted, the balance of all vehicles issued by the ETC center is packaged in advance, and all the balances are set to 0 yuan; when a certain natural day D is 0, the system starts to access to carry out normal packaging of consumption data, and the balance of the user is temporarily allowed to be a negative value; at a certain time of D day, the bank can acquire all the user consumption data of D-1, namely the balance data of the user at D day 0 can be known, the data is added to the balance of the user account, the data can be corrected into the real-time data of the user, and at the moment, the system enters a normal use state. In the period from D day 0 to the time when the bank corrects the balance, blacklist vehicles (namely, the balance is not negative after the bank data is increased) are still generated, the payment request is refused for the vehicles, and the balance can be updated again after the user repays the payment; and no blacklisted vehicle is generated after the data are normal.

When the scenario system a1 generates a transaction chain, the scenario system a1 accesses the scenario storage module a1 first, obtains corresponding data information in the transaction chain from the scenario storage module a, and stops the transaction when the balance is found to be insufficient; when the balance is found to be satisfied, the scenario system a1 completes the deduction (at this time, the user can leave the transaction scenario), and at the same time, sends the transaction chain to the full node 2A, the full node 2A sends the transaction data to the scenario system a2 and simultaneously sends the data to the full node 2B, the full node 2B sends the transaction data to the scenario system B1 and the scenario system B2, at this time, the scenario system a1, the scenario system a2, the scenario system B1 and the scenario system B2 synchronously package the transaction data, the scenario system with the first package completes sends the data to the corresponding full node (if the scenario system B2 completes the package first, then immediately sends the data to the full node 2B, and then the full node 2A is sent to the full node 2A, if the scenario system a1 completes the package first, then the data of the full node a is packaged, and then the data of the full node a is stored, and simultaneously feeding back to other scene systems, and giving up packaging after other scenes receive the feedback (like simultaneously receiving accounting information sent by two full-volume nodes, and selecting according to packaging time).

Meanwhile, in the actual operation process, when the scene system a1 generates a transaction chain, it needs to check whether the transaction data of the vehicle exists in the data being packaged, if not, the transaction is normally performed, and if so, the transaction is not allowed.

In the actual use process, the period from the generation of the transaction chain by the scenario system a1 to the completion of packaging is set as the cooling time (the length of the cooling time can be set according to the actual transaction requirements), and in the transaction cooling time, the scenario system can cancel the transaction, thereby facilitating the user to have the need of reimbursement due to forgetting to use the coupon, the point and the like.

For each packaged ETC transaction data, the system checks each payment request through an order number, a timestamp and the like, and compares the payment request with historical data, so that the repeated fee deduction condition caused by abnormal retransmission of the network is prevented, and the transaction distributed to the network is not repeated. And an active inquiry interface is provided for a payment result, and the lane management system can actively inquire the payment state, so that repeated fee deduction caused by repeated payment request initiation or other payment invocation by the lane system after returning data is lost due to network reasons after the payment is successful is prevented.

The system always maintains the transaction condition through the generated transaction chain and the balance cache of the database, the balance updating of the user is delayed only by the cooling time, and the design avoids the condition of repeated fee deduction or overdraft of the account of the user. When the transaction happens, the system checks whether the user data is being packaged, meanwhile, another thread checks the balance condition in the database, when the balance of the user is insufficient or in the cooling time, the transaction is rejected, if the condition is met, the transaction is approved, and the transaction is returned to the returned data of the successful transaction of the management system of the payment scene.

When the owner user goes to the bank for repayment, the bank node deposits balance with the same repayment amount into the account of the vehicle, only the bank node allows the account to be recharged, and identity verification can be performed through the central node of the ETC issuing center.

The transaction data of all vehicles exist on a chain, therefore, the system introduces an intelligent contract technology, each ETC payment transaction data is recorded and then can be used as a consumption point voucher of a user, and when some preferential activities need to be carried out on the part of users in the application process, only a rule needing preferential activity needs to be generated into an intelligent contract template, and the intelligent contract template is registered in the intelligent contract system.

Through the mode, the ETC payment management system based on the block chain can promote the rapid access of various scenes of ETC, effectively avoids the account checking problem in the operation process due to various abnormalities, and achieves the purposes of optimizing the account checking flow in the scene, ensuring the data transaction safety, improving the speed of the ETC account checking settlement and ensuring the use quality of the ETC system.

The above description is only a preferred embodiment of the ETC payment management system based on block chain, and it should be noted that, for those skilled in the art, many variations and modifications can be made without departing from the inventive concept, and these modifications and improvements are within the protection scope of the present invention.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种账户托管方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!