CN112131313A - Refueling data management system and method based on block chain - Google Patents
Refueling data management system and method based on block chain Download PDFInfo
- Publication number
- CN112131313A CN112131313A CN202010974021.9A CN202010974021A CN112131313A CN 112131313 A CN112131313 A CN 112131313A CN 202010974021 A CN202010974021 A CN 202010974021A CN 112131313 A CN112131313 A CN 112131313A
- Authority
- CN
- China
- Prior art keywords
- block
- transaction information
- refueling
- fueling
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013523 data management Methods 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000012795 verification Methods 0.000 claims abstract description 50
- 238000013480 data collection Methods 0.000 claims abstract description 19
- 238000004458 analytical method Methods 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 3
- 239000000446 fuel Substances 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000004364 calculation method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Databases & Information Systems (AREA)
- Accounting & Taxation (AREA)
- Health & Medical Sciences (AREA)
- Finance (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a refueling data management system and a refueling data management method based on a block chain, wherein the refueling data management system comprises: the system comprises a plurality of clients and a server, wherein each client is connected with a block chain network through the server; the data collection subsystem is connected with the server, is connected with an external refueling POS machine, and is used for acquiring refueling transaction information of a user and uploading the refueling transaction information to the server so that the server stores a block comprising the refueling transaction information; the client comprises a checking module; the server includes: the first sending module is used for sending the block to the corresponding at least one client, so that the verification module in the client verifies the refueling transaction information in the block; and the second sending module is used for sending the block to the block chain network for storage after the refueling transaction information in the block passes the verification. The invention has the beneficial effects that: the fuel filling transaction information is decentralized, the safety of the fuel filling transaction information is guaranteed, and the uploading of false data or error data is reduced.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a refueling data management system and a refueling data management method based on the block chains.
Background
At present, a POS machine is used for a transaction of a gas station, in a human-computer interaction interface, a vehicle owner performs refueling after selecting a refueling upgrade number, after the vehicle owner completes refueling and confirms that refueling information and payment information displayed on the POS have no problem, the POS machine performs payment through a fuel card, the flow of the payment (refueling transaction information including transaction time, transaction amount and other information) is transmitted to an exchanger of the gas station through a network cable of the gas station, and data is respectively distributed through the exchanger, for example, to a management and control system of the gas station and a gas station master control system of the region, so as to record the transaction flow recorded by the refueling machine;
however, the above prior art has the following disadvantages:
all data are managed by a single database (for the current station), centralization is obvious, if the management and control system of the gas station goes wrong, the transaction system of the gas station goes down, huge economic loss is caused, and the data security is not high enough.
Therefore, the block chain storage mode can be adopted to solve the obvious centralization problem.
Disclosure of Invention
In view of the above problems in the prior art, a system and method for fuel filling data management based on a block chain are provided.
The specific technical scheme is as follows:
a blockchain-based fueling data management system, comprising:
the system comprises a plurality of clients and a server, wherein each client is connected with a block chain network through the server;
the data collection subsystem is connected with the server, is connected with an external refueling POS machine, and is used for acquiring refueling transaction information of a user and uploading the refueling transaction information to the server so that the server stores a block comprising the refueling transaction information;
the client comprises a checking module;
the server includes:
the first sending module is connected with the data collection subsystem and each client and used for sending the block to the corresponding at least one client, so that the verification module in the client verifies the refueling transaction information in the block;
and the second sending module is connected with the first sending module and the block chain network, and sends the block to the block chain network for storage after the fueling transaction information in the block passes the verification.
Preferably, the refueling data management system based on the block chain, wherein the verification module comprises:
the first check acquisition unit is used for acquiring a block before the first sending module sends;
the first analysis unit is connected with the first check acquisition unit and used for analyzing the block before the first sending module sends the data to obtain the refueling transaction information in the block before the first sending module sends the data;
the calculating unit is connected with the first analyzing unit and used for calculating the verification information of the refueling transaction information in the block before the first sending module sends the refueling transaction information to obtain the verification information, so that the refueling transaction information in the block comprises the verification information;
the second check acquisition unit is used for acquiring the block sent by the first sending module;
the second analysis unit is connected with the second check acquisition unit and used for analyzing the block sent by the first sending module to obtain check data in the refueling transaction information in the block;
the checking and judging unit is respectively connected with the calculating unit and the second analyzing unit and used for judging whether the block before being sent by the first sending module and the block after being sent by the first sending module are the same according to the block head data of the block;
and the checking unit is connected with the checking judgment unit, and compares the checking information corresponding to the block before the first sending module sends with the checking information corresponding to the block after the first sending module sends when the block before the first sending module sends and the block after the first sending module sends are the same block, so as to obtain the checking result of the block.
Preferably, the fueling data management system based on a blockchain, wherein the data collection subsystem comprises:
the first acquisition module is used for acquiring refueling transaction information of a user from an externally-connected refueling POS machine;
the first uploading module is connected with the first acquiring module and uploads the refueling transaction information to the server, so that the server writes the refueling transaction information into the block.
Preferably, the fueling data management system based on a blockchain, wherein the data collection subsystem comprises:
the second acquisition module is used for acquiring the refueling transaction information of the user from an externally-connected refueling POS machine;
the writing block module is connected with the second acquisition module and is used for writing the refueling transaction information into the block;
and the second uploading module is connected with the block writing module and uploads the blocks to the server.
Preferably, the fueling data management system based on the block chain, wherein the first transmitting module includes:
the identification unit is used for identifying the refueling transaction information in the block so as to confirm the corresponding client;
and the first sending unit is connected with the identification unit and sends the block to the corresponding client after confirmation, so that the corresponding client verifies the refueling transaction information in the block.
Preferably, the fueling data management system based on the block chain, wherein the second sending module includes:
the judging unit is used for judging whether the check information fed back by each corresponding client passes the check;
if yes, the fueling transaction information in the block passes the verification;
if not, the fueling transaction information in the block is not verified, and a verification result is returned to the user;
and the second sending unit is connected with the judging unit and sends the block to the block chain network for storage after the fueling transaction information in the block passes the verification.
Preferably, the fueling data management system based on the blockchain, wherein the fueling transaction information includes: fueling data, transaction data, gas station data;
the fueling data includes: the oiling rise number, the oiling unit price and the oiling total price;
the transaction data includes: user identity data, payment form and/or payment account number;
the gas station data includes: gas station identity information and a gas station address.
The block chain-based refueling data management method is applied to any block chain-based refueling data management system, and comprises the following steps:
acquiring refueling transaction information input by a user from an external refueling POS machine, and uploading the refueling transaction information to a server so that the server stores a block comprising the refueling transaction information;
the block is sent to at least one corresponding client side, so that a verification module in the client side verifies the refueling transaction information in the block;
and after the refueling transaction information in the block passes the verification, sending the block to a block chain network for storage.
The technical scheme has the following advantages or beneficial effects:
firstly, the fueling transaction information is written into the block and uploaded to the block chain network, so that the fueling transaction information is decentralized, the influence of a management and control system adopted in the prior art on the operation of a gas station is reduced, the block management of the fueling transaction information is realized, and the safety of the fueling transaction information is guaranteed by utilizing the characteristic that the block chain network is not falsified;
secondly, checking the blocks to be uploaded to the block chain network through the corresponding client, and sending the checked blocks to the block chain network, so that the uploading of false data or error data is reduced;
and thirdly, the complexity of the uplink storage of the fueling transaction information corresponding to the transaction is simplified.
Drawings
Embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings. The drawings are, however, to be regarded as illustrative and explanatory only and are not restrictive of the scope of the invention.
FIG. 1 is a functional block diagram of an embodiment of a blockchain-based fueling data management system of the present invention;
FIG. 2 is a functional block diagram of a verification module of an embodiment of the blockchain based fueling data management system of the present invention;
FIG. 3 is a first functional block diagram of a data collection subsystem of an embodiment of the blockchain-based fueling data management system of the present invention;
FIG. 4 is a functional block diagram II of the data collection subsystem of the exemplary blockchain-based fueling data management system of the present invention;
FIG. 5 is a functional block diagram of a first transmit module of an embodiment of the blockchain based fueling data management system of the present invention;
fig. 6 is a functional block diagram of a second transmit module of an embodiment of the blockchain based fueling data management system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
The present invention includes a block chain-based fueling data management system, as shown in fig. 1, comprising:
a plurality of clients 1 and servers 2, wherein each client 1 is connected with the blockchain network 4 through the server 2;
the data collection subsystem 3 is connected with the server 2, is connected with an external refueling POS machine 5, and is used for acquiring refueling transaction information of a user and uploading the refueling transaction information to the server 2 so that the server 2 stores a block comprising the refueling transaction information;
the client 1 comprises a checking module 11;
the server 2 includes:
the first sending module 21 is connected with the data collection subsystem 3 and each client 1, and is used for sending the block to the corresponding at least one client 1, so that the verification module 11 in the client 1 verifies the fueling transaction information in the block;
and the second sending module 22 is connected with the first sending module 21 and the blockchain network 4, and sends the blocks to the blockchain network 4 for storage after the fueling transaction information in the blocks passes the verification.
In the above embodiment, the fueling transaction information is written into the block, and the block is uploaded to the block chain network 4, so that the fueling transaction information is decentralized, the influence of the management and control system adopted in the prior art on the operation of the gas station is reduced, the block management of the fueling transaction information is realized, and the security of the fueling transaction information is ensured by utilizing the characteristic that the block chain network 4 cannot be tampered with.
In the above embodiment, the corresponding client 1 checks the blocks to be uploaded to the blockchain network 4, and sends the checked blocks to the blockchain network 4, thereby reducing the uploading of false data or error data.
In the above embodiment, when a new block is obtained by the server 2, the new block can be synchronized to the corresponding at least one client 1, so that the server 2 can serve as a transfer device, and the server 2 does not participate in consensus, and when the server 2 detects that the new block needs to be checked through a newly generated block, the new block can be synchronized to the client 1 involved in the transaction in a chain-down synchronization manner, so that the corresponding client 1 checks the fueling transaction information in the new block, receives a check result fed back by the corresponding client 1 to determine whether the transaction is true and reliable, and then uploads the new block corresponding to the true and reliable transaction to the block chain network 4; the whole process greatly simplifies the complexity of the uplink storage of the refueling transaction information corresponding to the transaction.
In the above embodiment, the data collection subsystem 3 may be a switch.
In the above embodiment, the server 2 may be a BSN (Block-chain-based Service Network) blockchain development platform.
In the above embodiment, the client 1 may include: the payment terminal (such as a payment bank, a WeChat payment bank, and the like) corresponding to the payment form in the fueling transaction information, the client 1 (such as a mobile terminal, a computer, and the like) corresponding to the user, the gas station platform, and the like.
Further, in the above-described embodiment, as shown in fig. 2, the verification module 11 includes:
a first check obtaining unit 111, configured to obtain a block before being sent by the first sending module 21;
the first analyzing unit 112 is connected to the first verification obtaining unit 111, and is configured to analyze the block before being sent by the first sending module 21, so as to obtain fueling transaction information in the block before being sent by the first sending module 21;
the calculating unit 113 is connected to the first analyzing unit 112, and is configured to perform check information calculation on the fueling transaction information in the block before being sent by the first sending module 21, so as to obtain check information, where the fueling transaction information in the block includes the check information;
a second check acquiring unit 114, configured to acquire the block sent by the first sending module 21;
the second analysis unit 115 is connected to the second check acquisition unit 114, and is configured to analyze the block sent by the first sending module 21 to obtain check data in the fueling transaction information in the block;
a checking and judging unit 116, connected to the calculating unit 113 and the second analyzing unit 115, respectively, for judging whether the block before being sent by the first sending module 21 and the block after being sent by the first sending module 21 are the same block according to the block header data of the block;
the checking unit 117 is connected to the checking and determining unit 116, and when the block before being transmitted by the first transmitting module 21 and the block after being transmitted by the first transmitting module 21 are the same block, compares the checking information corresponding to the block before being transmitted by the first transmitting module 21 with the checking information corresponding to the block after being transmitted by the first transmitting module 21 to obtain the checking result of the block.
In the above embodiment, for any client 1, when it receives the verification request issued by the first sending module 21, the client 1 may adopt the verification module 11 to verify the fueling transaction information according to the verification request, and send the verification result to the second sending module 22, so that the second sending module 22 determines whether the fueling transaction information in the block passes the verification according to the corresponding verification result sent by the client 1.
In the above embodiment, the first verification obtaining unit 111 in the verification module 11 may directly obtain the block, which is not sent to the client in the server 2 and stores the information including the fueling transaction information, that is, the first verification obtaining unit 111 in the verification module 11 may directly obtain the block before sending by the first sending module 21;
subsequently, the first analyzing unit 112 analyzes the block before being sent by the first sending module 21 to obtain the fueling transaction information in the block before being sent by the first sending module 21, and the calculating unit 113 performs check information calculation on the fueling transaction information in the block before being sent by the first sending module 21 to obtain check information, and records the check information as first check information;
then, the first sending module 21 sends the block to the corresponding at least one client 1, so that the second check obtaining unit 114 in the client 1 obtains the block sent by the first sending module 21, and the second analyzing unit 115 is used to analyze the block sent by the first sending module 21 to obtain the check data in the fueling transaction information in the block, and at this time, the check data is recorded as the second check information;
then, the checking and judging unit 116 is adopted to judge whether the block before being sent by the first sending module 21 and the block after being sent by the first sending module 21 are the same block according to the block header data of the block;
finally, when the block before the first sending module 21 sends and the block after the first sending module 21 sends are the same block, the checking unit 117 compares the first checking information with the second checking information,
when the first check information is consistent with the second check information, the check result of the block is a pass check;
when the first check information is inconsistent with the second check information, the check result of the block is a failed check.
In the above embodiment, when a plurality of pieces of fueling transaction data are uploaded, a plurality of blocks before being sent by the first sending module 21 exist, and thus a plurality of blocks after being sent by the first sending module 21 also exist, so that the checking and determining unit 116 can first determine whether the block before being sent by the first sending module 21 and the block after being sent by the first sending module 21 are the same block according to the block header data, and then perform the checking operation on the same block, thereby improving the checking accuracy;
in the above embodiment, since there may be an indirect factor in the operation statement when the fueling transaction data is uploaded, the operation statement of the block before being sent by the first sending module 21 and the operation statement of the block after being sent by the first sending module 21 are not obtained, and it is further impossible to determine whether the block before being sent by the first sending module 21 to be verified and the block after being sent by the first sending module 21 are the same block, which further reduces the accuracy of verification, so that the verification determining unit 116 may be adopted to avoid the above defect and improve the accuracy of verification.
As a preferred embodiment, the calculation unit 113 may perform the verification information calculation on the fueling transaction information in the block before the first transmission module 21 transmits the fueling transaction information in various manners. For example, the Check information may be obtained by calculation based on Cyclic Redundancy Check (CRC). For example, the check information may be obtained by calculation based on CRC-16/IBM (a CRC version of the calculation).
Further, as a preferred embodiment, as shown in fig. 3, the data collection subsystem 3 may include:
the first acquisition module 31 is used for acquiring the fueling transaction information of the user from the externally-connected fueling POS machine 5;
the first uploading module 32 is connected to the first obtaining module 31, and uploads the fueling transaction information to the server 2, so that the server 2 writes the fueling transaction information into the block.
In the first preferred embodiment, the data collection subsystem 3 only needs to acquire and upload the fueling transaction information to the server 2, and does not need to participate in the operation of writing the fueling transaction information into the block. Thereby reducing the workload of the data collection subsystem 3.
Further, as a second preferred embodiment, as shown in fig. 4, the data collection subsystem 3 may include:
the second acquisition module 33 is used for acquiring the fueling transaction information of the user from the externally-connected fueling POS machine 5;
a writing block module 34 connected to the second acquiring module 33 for writing the fueling transaction information into the block;
the second uploading module 35 is connected to the block writing module 34, and uploads the blocks to the server 2.
In the second preferred embodiment, the data collection subsystem 3 can obtain and write the fueling transaction information into the block, and then directly upload the entire block to the server 2. Thereby reducing the workload of the server 2.
In the above preferred first and second embodiments, the fueling transaction information of the user can be directly obtained from the external fueling POS machine 5, so as to avoid the problems of input errors and the like caused by manual input, and avoid the problem of untimely fueling transaction information caused by calling data from the gas station platform.
Further, in the above embodiment, the fueling transaction information includes: fueling data, transaction data, gas station data;
the fueling data includes: the oiling rise number, the oiling unit price and the oiling total price;
the transaction data includes: user identity data, payment form and/or payment account number;
the gas station data includes: gas station identity information and a gas station address.
In the above embodiment, the gas station identity information may include gas station location information, a gas station map, a gas station phone, a gas station mailbox, and user's evaluation of the current gas station, etc.;
the fueling transaction information is uploaded to the block chain in a block form, so that the fueling transaction information is recorded and published, a user can know the information of a gas station more thoroughly, and the security of the fueling transaction information is improved.
Further, in the above-described embodiment, as shown in fig. 5, the first sending module 21 includes:
the identification unit 211 is used for identifying the fueling transaction information in the block so as to confirm the corresponding client 1;
and the first sending unit 212 is connected with the identification unit 211, and sends the block to the corresponding client 1 after confirmation, so that the corresponding client 1 verifies the fueling transaction information in the block.
In the above embodiment, the server 2 may be connected to a storage device, where the storage device stores an address corresponding to each client 1;
when the identification unit 211 in the first sending module 21 identifies the fueling transaction information in the block to confirm the sending object, i.e. confirm the corresponding client 1, then the first sending unit 212 acquires the corresponding address of the sending object to send the block.
In a preferred embodiment, the transaction objects related to the certain fueling transaction information uploaded by the user include: the client side 1 corresponds to a user client side and/or a payment form adopted by the user, and the gas station client side is used for carrying out transaction by the user;
for example, when the form of payment of the user is a cash transaction, the transaction object includes: the user client and the gas station client for the user to carry out transaction; the identification unit 211 identifies the fueling transaction information in the block to obtain a user client and a gas station client related to the transaction, and the first sending unit 212 sends the block to the user client and the gas station client, so that the user client and the gas station client respectively verify the fueling transaction information in the block;
for example, when the form of payment of the user is a pay-for-use transaction, the transaction object includes: the system comprises a user client, a payer client and a gas station client for transaction of a user; the identification unit 211 identifies the fueling transaction information in the block to obtain a user client, a payer client and a gas station client related to the transaction, and the first sending unit 212 sends the block to the user client, the payer client and the gas station client, so that the user client, the payer client and the gas station client respectively verify the fueling transaction information in the block.
Further, in the above-described embodiment, as shown in fig. 6, the second sending module 22 includes:
the determining unit 221 is configured to determine whether the check information fed back by each corresponding client 1 is a check pass;
if yes, the fueling transaction information in the block passes the verification;
if not, the fueling transaction information in the block is not verified, and a verification result is returned to the user;
the second sending unit 222 is connected to the determining unit 221, and sends the block to the blockchain network 4 for storage after the fueling transaction information in the block passes the verification.
In the above embodiment, it is determined that the fueling transaction information in the block passes the verification only if the verification information fed back by each corresponding client 1 passes the verification.
The block chain-based refueling data management method is applied to any block chain-based refueling data management system, and comprises the following steps:
acquiring fueling transaction information input by a user from an external fueling POS machine 5, and uploading the fueling transaction information to the server 2, so that the server 2 stores a block comprising the fueling transaction information;
the block is sent to at least one corresponding client 1, so that a verification module 11 in the client 1 verifies the fueling transaction information in the block;
and after the fueling transaction information in the block passes the verification, sending the block to the block chain network 4 for storage.
The specific implementation of the block chain-based fueling data management method of the present invention is substantially the same as that of each embodiment of the block chain-based fueling data management system, and is not described herein again.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
Claims (8)
1. A blockchain-based fueling data management system, comprising:
a plurality of clients and servers, each of the clients connected to the blockchain network through the server;
the data collection subsystem is connected with the server, is connected with an external refueling POS machine, and is used for acquiring refueling transaction information of a user and uploading the refueling transaction information to the server so that the server stores a block comprising the refueling transaction information;
the client comprises a checking module;
the server includes:
the first sending module is connected with the data collection subsystem and each client and used for sending the block to at least one corresponding client so that the checking module in the client checks the fueling transaction information in the block;
and the second sending module is connected with the first sending module and the block chain network, and sends the block to the block chain network for storage after the fueling transaction information in the block passes the verification.
2. The blockchain-based fueling data management system of claim 1, wherein the verification module comprises:
a first check obtaining unit, configured to obtain the block before the first sending module sends the block;
the first analysis unit is connected with the first check acquisition unit and used for analyzing the block before the first sending module sends the block so as to obtain the refueling transaction information in the block before the first sending module sends the block;
the calculating unit is connected with the first analyzing unit and used for calculating the verification information of the refueling transaction information in the block before the first sending module sends the refueling transaction information to obtain the verification information, so that the refueling transaction information in the block comprises the verification information;
a second check acquiring unit, configured to acquire the block sent by the first sending module;
the second analysis unit is connected with the second check acquisition unit and used for analyzing the block sent by the first sending module to obtain check data in the fueling transaction information in the block;
the checking and judging unit is respectively connected with the calculating unit and the second analyzing unit and is used for judging whether the block before being sent by the first sending module and the block after being sent by the first sending module are the same according to the block head data of the block;
and the checking unit is connected with the checking judgment unit, and compares the checking information corresponding to the block before the first sending module sends with the checking information corresponding to the block after the first sending module sends when the block before the first sending module sends and the block after the first sending module sends are the same block, so as to obtain the checking result of the block.
3. The blockchain-based fueling data management system of claim 1, wherein the data collection subsystem comprises:
the first acquisition module is used for acquiring the refueling transaction information of a user from an externally-connected refueling POS machine;
and the first uploading module is connected with the first acquisition module and uploads the refueling transaction information to the server, so that the server writes the refueling transaction information into a block.
4. The blockchain-based fueling data management system of claim 1, wherein the data collection subsystem comprises:
the second acquisition module is used for acquiring the refueling transaction information of the user from an externally-connected refueling POS machine;
the writing block module is connected with the second acquisition module and is used for writing the refueling transaction information into a block;
and the second uploading module is connected with the writing block module and uploads the block to the server.
5. The blockchain-based fueling data management system of claim 1, wherein the first transmitting module includes:
the identification unit is used for identifying the refueling transaction information in the block so as to confirm the corresponding client;
and the first sending unit is connected with the identification unit and sends the block to the corresponding client after confirmation, so that the corresponding client checks the refueling transaction information in the block.
6. The blockchain-based fueling data management system of claim 1, wherein the second transmitting module comprises:
the judging unit is used for judging whether the check information fed back by each corresponding client passes the check;
if yes, the fueling transaction information in the block passes the verification;
if not, the fueling transaction information in the block is not verified, and a verification result is returned to the user;
and the second sending unit is connected with the judging unit and sends the block to the block chain network for storage after the refueling transaction information in the block passes the verification.
7. The blockchain-based fueling data management system of claim 1, wherein the fueling transaction information includes: fueling data, transaction data, gas station data;
the fueling data comprises: the oiling rise number, the oiling unit price and the oiling total price;
the transaction data includes: user identity data, payment form and/or payment account number;
the gas station data includes: gas station identity information and a gas station address.
8. A block chain based fueling data management method applied to the block chain based fueling data management system of any one of claims 1-7, the fueling data management method comprising the steps of:
acquiring refueling transaction information input by a user from the externally-connected refueling POS machine, and uploading the refueling transaction information to the server so that the server stores a block comprising the refueling transaction information;
sending the block to at least one corresponding client side, so that the verification module in the client side verifies the fueling transaction information in the block;
and after the refueling transaction information in the block passes the verification, sending the block to a block chain network for storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010974021.9A CN112131313B (en) | 2020-09-16 | 2020-09-16 | System and method for managing oiling data based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010974021.9A CN112131313B (en) | 2020-09-16 | 2020-09-16 | System and method for managing oiling data based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112131313A true CN112131313A (en) | 2020-12-25 |
CN112131313B CN112131313B (en) | 2024-04-09 |
Family
ID=73845835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010974021.9A Active CN112131313B (en) | 2020-09-16 | 2020-09-16 | System and method for managing oiling data based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112131313B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114971525A (en) * | 2022-04-20 | 2022-08-30 | 西华大学 | Carbon neutralization management system and method based on block chain |
CN112131313B (en) * | 2020-09-16 | 2024-04-09 | 浙江工商大学 | System and method for managing oiling data based on block chain |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503589A (en) * | 2016-10-26 | 2017-03-15 | 北京瑞卓喜投科技发展有限公司 | The method of calibration of block chain Transaction Information correctness, apparatus and system |
CN107317672A (en) * | 2017-05-10 | 2017-11-03 | 广东网金控股股份有限公司 | A kind of light weight terminating machine block catenary system |
CN108234470A (en) * | 2017-12-28 | 2018-06-29 | 江苏通付盾科技有限公司 | Block packaging method and system, electronic equipment, storage medium in block chain network |
WO2018177239A1 (en) * | 2017-03-28 | 2018-10-04 | 阿里巴巴集团控股有限公司 | Service processing and consensus method and device |
CN109615784A (en) * | 2019-01-22 | 2019-04-12 | 赫普科技发展(北京)有限公司 | A kind of Intelligent internet of things device and method adding hydrogen or oiling applied to automobile |
CN110472914A (en) * | 2019-08-15 | 2019-11-19 | 上海天地汇供应链科技有限公司 | A kind of invoice management method and system based on block chain |
CN110889762A (en) * | 2019-11-19 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Data processing method, device and medium |
CN111047314A (en) * | 2018-10-12 | 2020-04-21 | 上海诺亚投资管理有限公司 | Financial data processing method and system based on block chain |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112131313B (en) * | 2020-09-16 | 2024-04-09 | 浙江工商大学 | System and method for managing oiling data based on block chain |
-
2020
- 2020-09-16 CN CN202010974021.9A patent/CN112131313B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503589A (en) * | 2016-10-26 | 2017-03-15 | 北京瑞卓喜投科技发展有限公司 | The method of calibration of block chain Transaction Information correctness, apparatus and system |
WO2018177239A1 (en) * | 2017-03-28 | 2018-10-04 | 阿里巴巴集团控股有限公司 | Service processing and consensus method and device |
CN107317672A (en) * | 2017-05-10 | 2017-11-03 | 广东网金控股股份有限公司 | A kind of light weight terminating machine block catenary system |
CN108234470A (en) * | 2017-12-28 | 2018-06-29 | 江苏通付盾科技有限公司 | Block packaging method and system, electronic equipment, storage medium in block chain network |
CN111047314A (en) * | 2018-10-12 | 2020-04-21 | 上海诺亚投资管理有限公司 | Financial data processing method and system based on block chain |
CN109615784A (en) * | 2019-01-22 | 2019-04-12 | 赫普科技发展(北京)有限公司 | A kind of Intelligent internet of things device and method adding hydrogen or oiling applied to automobile |
CN110472914A (en) * | 2019-08-15 | 2019-11-19 | 上海天地汇供应链科技有限公司 | A kind of invoice management method and system based on block chain |
CN110889762A (en) * | 2019-11-19 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Data processing method, device and medium |
Non-Patent Citations (2)
Title |
---|
ZHIQIN ZHU等: "Blockchain based consensus checking in decentralized cloud storage", SIMULATION MODELLING PRACTICE AND THEORY, 31 July 2020 (2020-07-31), pages 1 - 23 * |
吕建富等: "基于链上链下相结合的日志安全存储与检索", 计算机科学, 2 November 2019 (2019-11-02), pages 298 - 303 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112131313B (en) * | 2020-09-16 | 2024-04-09 | 浙江工商大学 | System and method for managing oiling data based on block chain |
CN114971525A (en) * | 2022-04-20 | 2022-08-30 | 西华大学 | Carbon neutralization management system and method based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN112131313B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111861456B (en) | Block chain-based 5G message transfer transaction verification method, system and device | |
CN110782240B (en) | Business data processing method and device, computer equipment and storage medium | |
CN111880740B (en) | Data processing method, device, computer system and readable storage medium | |
CN112131313B (en) | System and method for managing oiling data based on block chain | |
CN111325585A (en) | Asset transfer method, device and computer readable storage medium | |
CN111258832A (en) | Interface parameter checking method, device, equipment and medium | |
CN110414962A (en) | Inter-bank intelligence transfer account method, device, computer equipment and storage medium | |
WO2022142040A1 (en) | Billing data verification method and apparatus, computer device and storage medium | |
CN106875184B (en) | Abnormal scene simulation method, device and equipment | |
CN110674145B (en) | Data consistency detection method, device, computer equipment and storage medium | |
CN213814670U (en) | Refueling data management system based on block chain | |
CN103678423A (en) | Data file input system, device and method | |
CN117010887A (en) | Data processing method and related equipment | |
CN111901299A (en) | Application authentication method and device, electronic equipment and storage medium | |
CN111367776A (en) | Recording method, device, equipment and storage medium of resource transfer service | |
CN111489816B (en) | Intelligent medical fault processing method based on visit data transmission and cloud server | |
CN114331520B (en) | Sales lead data supervision method, device, storage medium and computer equipment | |
CN115271735A (en) | Log analysis method and system in proxy payment service scene | |
CN116302502A (en) | Electronic signature method, device, equipment and storage medium | |
CN106933888A (en) | Database configuration management system | |
CN111666132B (en) | Distributed transaction implementation method, device, computer system and readable storage medium | |
CN110490005B (en) | Method, device and computer readable storage medium for processing resource transfer request | |
CN210958382U (en) | Coal mine safety information mobile verification terminal based on PBFT technology | |
CN112488724A (en) | Payment verification method and system based on block chain network and big data analysis | |
CN111538664A (en) | System and method for testing payment marking application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |