CN112131313B - System and method for managing oiling data based on block chain - Google Patents

System and method for managing oiling data based on block chain Download PDF

Info

Publication number
CN112131313B
CN112131313B CN202010974021.9A CN202010974021A CN112131313B CN 112131313 B CN112131313 B CN 112131313B CN 202010974021 A CN202010974021 A CN 202010974021A CN 112131313 B CN112131313 B CN 112131313B
Authority
CN
China
Prior art keywords
block
oiling
transaction information
verification
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010974021.9A
Other languages
Chinese (zh)
Other versions
CN112131313A (en
Inventor
蒋晓宁
李周衡
孔祥峰
蒋科蕾
陈炯宇
马阳
厉江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Gongshang University
Original Assignee
Zhejiang Gongshang University
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 Zhejiang Gongshang University filed Critical Zhejiang Gongshang University
Priority to CN202010974021.9A priority Critical patent/CN112131313B/en
Publication of CN112131313A publication Critical patent/CN112131313A/en
Application granted granted Critical
Publication of CN112131313B publication Critical patent/CN112131313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention provides a refueling data management system and a 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 blockchain network through the server; the data collection subsystem is connected with the server and an external oiling POS machine, and is used for acquiring oiling transaction information of a user and uploading the oiling transaction information to the server so that the server stores blocks comprising the oiling transaction information; the client comprises a verification module; the server comprises: the first sending module is used for sending the block to at least one corresponding client side, so that the verification module in the client side verifies the oiling 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 oiling transaction information in the block passes the verification. The invention has the beneficial effects that: the decentralization of the oiling transaction information ensures the safety of the oiling transaction information and reduces the uploading of false data or error data.

Description

System and method for managing oiling data based on block chain
Technical Field
The invention relates to the technical field of blockchains, in particular to a blockchain-based oiling data management system and a blockchain-based oiling data management method.
Background
At present, POS machines are used for gas station transactions, in a man-machine interaction interface, after a vehicle owner selects the refueling ascending number, the vehicle owner performs refueling, after the completion of the refueling and confirmation of no problem of the refueling information and payment information displayed on the POS, the POS machines perform deduction through a fuel card, the flow of the deduction (the refueling transaction information comprises the information of transaction time, transaction amount and the like) is transmitted to a switch of the gas station through a network cable of the gas station, and then the switch distributes data respectively, such as a management and control system of the gas station and a gas station general control system of the region, so as to record the transaction flow recorded by the gas station;
however, the above prior art has the following disadvantages:
all data are managed by a single database (for the individual station sites), the centralization is obvious, if the management and control system of the station is said to have a problem, the transaction system of the station is paralyzed, huge economic loss is generated, and the data security is not high enough.
Therefore, in order to solve the problem of obvious centralization, a block chain storage mode can be adopted.
Disclosure of Invention
In view of the foregoing problems in the prior art, a system and method for managing fueling data based on a blockchain 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 blockchain network through the server;
the data collection subsystem is connected with the server and an external oiling POS machine, and is used for acquiring oiling transaction information of a user and uploading the oiling transaction information to the server so that the server stores blocks comprising the oiling transaction information;
the client comprises a verification module;
the server comprises:
the first sending module is connected with the data collecting subsystem and each client and used for sending the block to at least one corresponding client, so that the verification module in the client verifies the oiling transaction information in the block;
the second sending module is connected with the first sending module and the blockchain network, and sends the block to the blockchain network for storage after the oiling transaction information in the block passes the verification.
Preferably, the blockchain-based fueling data management system, wherein the verification module comprises:
the first verification acquisition unit is used for acquiring the block before the first sending module sends;
the first analysis unit is connected with the first verification acquisition unit and is used for analyzing the block before the first sending module sends so as to obtain the oiling transaction information in the block before the first sending module sends;
the calculation unit is connected with the first analysis unit and is used for calculating the verification information of the oiling transaction information in the block before the first sending module sends the verification information, so that the oiling transaction information in the block comprises the verification information;
the second checking and acquiring unit is used for acquiring the block transmitted by the first transmitting module;
the second analysis unit is connected with the second check acquisition unit and is used for analyzing the block sent by the first sending module to obtain check data in the oiling transaction information in the block;
the verification judging unit is respectively connected with the calculating unit and the second analyzing unit and is used for judging whether the block before the first sending module sends and the block after the first sending module send are the same block according to the block head data of the block;
and the verification unit is connected with the verification judging unit, and when the block before the first sending module sends and the block after the first sending module sends are the same block, the verification information corresponding to the block before the first sending module sends and the verification information corresponding to the block after the first sending module send are compared to obtain the verification result of the block.
Preferably, the blockchain-based fueling data management system wherein the data collection subsystem comprises:
the first acquisition module acquires fueling transaction information of a user from an external fueling POS machine;
and the first uploading module is connected with the first acquisition module and is used for uploading the oiling transaction information to the server, so that the server writes the oiling transaction information into the block.
Preferably, the blockchain-based fueling data management system wherein the data collection subsystem comprises:
the second acquisition module acquires oiling transaction information of a user from an external oiling POS machine;
the writing block module is connected with the second acquisition module and used for writing the oiling transaction information into the block;
and the second uploading module is connected with the writing block module and is used for uploading the block to the server.
Preferably, the blockchain-based fueling data management system, wherein the first transmitting module comprises:
the identification unit is used for identifying the oiling transaction information in the block so as to confirm the corresponding client;
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 can verify the oiling transaction information in the block.
Preferably, the blockchain-based fueling data management system, wherein the second transmitting module comprises:
the judging unit is used for judging whether the corresponding verification information fed back by each client passes the verification;
if so, the oiling transaction information in the block passes verification;
if not, the oiling transaction information in the block is not checked, and a check 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 oiling transaction information in the block passes the verification.
Preferably, the blockchain-based fueling data management system wherein the fueling transaction information comprises: fueling data, transaction data, fueling station data;
the fueling data includes: refuel liter number, refuel unit price and refuel total price;
the transaction data includes: user identity data, payment form and/or payment account number;
the filling station data includes: gas station identity information and gas station address.
The method for managing the refueling data based on the block chain is applied to any of the refueling data management systems based on the block chain, and comprises the following steps:
acquiring fueling transaction information input by a user from an external fueling POS machine, and uploading the fueling transaction information to a server so that the server stores a block comprising the fueling transaction information;
transmitting the block to at least one corresponding client so that a verification module in the client verifies the oiling transaction information in the block;
and after the oiling transaction information in the block passes the verification, the block is sent to a block chain network for storage.
The technical scheme has the following advantages or beneficial effects:
firstly, the oiling transaction information is written into a block and uploaded to a blockchain network, so that the decentralization of the oiling transaction information is realized, the influence of a management and control system adopted in the prior art on the operation of a gas station is reduced, the blocking management of the oiling transaction information is realized, and the safety of the oiling transaction information is ensured by utilizing the characteristic that the blockchain network has non-falsifiability;
secondly, checking the block to be uploaded to the blockchain network through the corresponding client, and sending the checked block to the blockchain network, so that the uploading of false data or error data is reduced;
third, the complexity of storing the corresponding refueling transaction information in a uplink manner is simplified.
Drawings
Embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The drawings, however, are for illustration and description only and are not intended as a definition of the limits 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 a blockchain-based fueling data management system of the present invention;
FIG. 3 is a functional block diagram one of a data collection subsystem of an embodiment of a blockchain-based fueling data management system of the present invention;
FIG. 4 is a schematic block diagram second of a data collection subsystem of an embodiment of a 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 a 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 a blockchain-based fueling data management system of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention is further described below with reference to the drawings and specific examples, which are not intended to be limiting.
The present invention includes a blockchain-based fueling data management system, as shown in fig. 1, comprising:
a plurality of clients 1 and servers 2, each client 1 being connected to a blockchain network 4 through a server 2;
the data collecting subsystem 3 is connected with the server 2 and an external oiling POS machine 5, and is used for acquiring oiling transaction information of a user and uploading the oiling transaction information to the server 2 so that the server 2 stores blocks comprising the oiling transaction information;
the client 1 comprises a verification module 11;
the server 2 includes:
a first sending module 21, connected to the data collecting subsystem 3 and each client 1, for sending the block to at least one corresponding client 1, so that the verification module 11 in the client 1 verifies the fueling transaction information in the block;
the second transmitting module 22 is connected to the first transmitting module 21 and the blockchain network 4, and transmits the block to the blockchain network 4 for storage after the fueling transaction information in the block passes the verification.
In the above embodiment, the refuel transaction information is written into the block and uploaded to the blockchain network 4, so as to implement the decentralization of the refuel transaction information, reduce the influence of the management and control system adopted in the prior art on the operation of the gas station, implement the blocking management of the refuel transaction information, and further guarantee the security of the refuel transaction information by utilizing the characteristic that the blockchain network 4 has non-tamperability.
In the above embodiment, the block to be uploaded to the blockchain network 4 is checked by the corresponding client 1, and the checked block is transmitted to the blockchain network 4, thereby reducing the uploading of false data or erroneous data.
In the above embodiment, when a new block is obtained through the server 2, the new block can be synchronized to at least one corresponding client 1, so that the server 2 can be used as a transfer device, and the server 2 does not participate in consensus, if the server 2 detects that the new block needs to be checked through the newly generated block, the new block can be synchronized to the client 1 involved in the transaction in a manner of under-link synchronization, so that the corresponding client 1 checks the oiling transaction information in the new block, and then whether the transaction is truly and reliably is determined according to the check result fed back by the corresponding client 1 is received, and then the new block corresponding to the authentic and reliable transaction is uploaded to the blockchain network 4; the whole process greatly simplifies the complexity of uplink storage of the oiling 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: a payment terminal (e.g., a payment treasury, a WeChat payment, each bank, etc.) corresponding to a payment form in the fueling transaction information, a client 1 (e.g., a mobile terminal, a computer, etc.) corresponding to a user, a fueling station platform, etc.
Further, in the above embodiment, as shown in fig. 2, the verification module 11 includes:
a first verification acquiring unit 111, configured to acquire a block before the first transmitting module 21 transmits the block;
a first parsing unit 112, connected to the first verification acquiring unit 111, for parsing the block before the first sending module 21 sends to obtain the fueling transaction information in the block before the first sending module 21 sends;
a calculating unit 113, connected to the first parsing unit 112, for performing verification information calculation on the fueling transaction information in the block before the first sending module 21 sends the fueling transaction information to obtain verification information, so that the fueling transaction information in the block includes the verification information;
a second check acquisition unit 114 for acquiring the block transmitted by the first transmission module 21;
the second parsing unit 115 is connected to the second verification acquiring unit 114, and is configured to parse the block sent by the first sending module 21 to obtain verification 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, for judging whether the block before the first sending module 21 sends and the block after the first sending module 21 send are the same block according to the block header data of the block;
and the verification unit 117 is connected with the verification judging unit 116, and when the block before the first sending module 21 sends and the block after the first sending module 21 send are the same block, the verification information corresponding to the block before the first sending module 21 sends and the verification information corresponding to the block after the first sending module 21 sends are compared, so that a verification result of the block is obtained.
In the above embodiment, for any one of the clients 1, when it receives the verification request issued by the first sending module 21, the client 1 may use 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 verification result sent by the corresponding client 1.
In the above embodiment, the first verification acquiring unit 111 in the verification module 11 may directly acquire the block in the server 2 that is not transmitted to the client and that stores the information including the fueling transaction, that is, the first verification acquiring unit 111 in the verification module 11 may directly acquire the block before the transmission of the first transmitting module 21;
then, the first analyzing unit 112 analyzes the block before the first sending module 21 sends to obtain the fueling transaction information in the block before the first sending module 21 sends, and uses the calculating unit 113 to calculate the checking information of the fueling transaction information in the block before the first sending module 21 sends to obtain the checking information, and marks the checking information as the first checking information;
then, the first sending module 21 sends the block to at least one corresponding client 1, so that the second verification acquiring unit 114 in the client 1 acquires the block sent by the first sending module 21, and adopts the second analyzing unit 115 to analyze the block sent by the first sending module 21 to obtain the verification data in the oiling transaction information in the block, and at the moment, the verification data is recorded as second verification information;
then, a check judging unit 116 is adopted to judge whether the block before the first sending module 21 sends and the block after the first sending module 21 send are the same block according to the block head data of the block;
the final verification unit 117 compares the first verification information with the second verification information when the block before the transmission of the first transmission module 21 and the block after the transmission of the first transmission module 21 are the same block,
when the first checking information is consistent with the second checking information, checking results of the blocks pass the checking;
when the first checking information is inconsistent with the second checking information, the checking result of the block is that the block fails to pass the checking.
In the above embodiment, when the uploading operation is performed on the plurality of pieces of fueling transaction data, a plurality of blocks are caused before the transmission of the first transmitting module 21, so that a plurality of blocks are also caused after the transmission of the first transmitting module 21, so that it is possible to determine whether the blocks before the transmission of the first transmitting module 21 and the blocks after the transmission of the first transmitting module 21 are the same block according to the block header data by the checking and judging unit 116, and then perform the checking operation on the same block, thereby improving the accuracy of the checking;
in the above embodiment, since there may be an indirect factor in the operation statement when the uploading operation is performed on the fueling transaction data, the operation statement for obtaining the block before the transmission of the first transmitting module 21 is not communicated with the operation statement for obtaining the block after the transmission of the first transmitting module 21, and thus it cannot be confirmed whether the block before the transmission of the first transmitting module 21 and the block after the transmission of the first transmitting module 21 to be checked are the same block, further reducing the accuracy of the check, so the check judging unit 116 may be used to avoid the above defect and improve the accuracy of the check.
As a preferred embodiment, the calculation unit 113 may calculate the verification information of the fueling transaction information in the block before the first transmitting module 21 transmits in a variety of ways. For example, the calculation may be performed based on a cyclic redundancy check (Cyclic Redundancy Check, CRC) to obtain the check information. For example, the verification information may be obtained by calculation based on CRC-16/IBM (a form of CRC version calculation).
Further, as a preferred embodiment, as shown in fig. 3, the data collecting subsystem 3 may include:
the first obtaining module 31 obtains the oiling transaction information of the user from the external oiling POS machine 5;
the first uploading module 32 is connected to the first acquiring 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 collecting 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 to the block. Thereby reducing the effort of the data collection subsystem 3.
Further, as a second preferred embodiment, as shown in fig. 4, the data collecting subsystem 3 may include:
a second obtaining module 33, for obtaining the oiling transaction information of the user from the external oiling POS machine 5;
a writing block module 34 connected to the second acquisition module 33 for writing fueling transaction information into the block;
the second uploading module 35 is connected to the writing block module 34 and uploads the block to the server 2.
In the second preferred embodiment described above, the data collection subsystem 3 may acquire and write fueling transaction information to the block, and then upload the entire block directly to the server 2. Thereby reducing the workload of the server 2.
In the first and second preferred embodiments, the fueling transaction information of the user can be directly obtained from the external fueling POS machine 5, so that the problem of input errors caused by manual input is avoided, and the problem of untimely fueling transaction information caused by calling data from the fueling station platform is also avoided.
Further, in the above embodiment, the fueling transaction information includes: fueling data, transaction data, fueling station data;
the fueling data includes: refuel liter number, refuel unit price and refuel total price;
the transaction data includes: user identity data, payment form and/or payment account number;
the filling station data includes: gas station identity information and gas station address.
In the above embodiment, the service station identity information may include service station location information, a service station map, a service station phone, a service station mailbox, a user's evaluation of the current service station, and the like;
the oiling transaction information is uploaded to the blockchain in the form of the block, so that the oiling transaction information is recorded and published, the user can know the information of the gas station more thoroughly, and the safety of the oiling transaction information is improved.
Further, in the above embodiment, as shown in fig. 5, the first transmitting module 21 includes:
the identifying unit 211 identifies the fueling transaction information in the block to confirm the corresponding client 1;
the first sending unit 212 is connected to the identifying unit 211, and sends the block to the corresponding client 1 after the 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 an address corresponding to each client 1 is stored in the storage device;
when the identification unit 211 in the first transmission module 21 identifies the fueling transaction information in the block to confirm the transmission object, that is, to confirm the corresponding client 1, then the first transmission unit 212 acquires the corresponding address of the transmission object to transmit the block.
As a preferred embodiment, the transaction objects involved in a certain fueling transaction information uploaded by the user include: the user client and/or the client 1 corresponding to the payment form adopted by the user and the gas station client for the user to conduct transaction;
for example, when the payment form of the user is a cash transaction, the transaction object includes: the system comprises a user client and a gas station client for the user to conduct transaction; the identification unit 211 identifies the fueling transaction information in the block to obtain a user client and a fueling station client related to the transaction, and the first transmission unit 212 transmits the block to the user client and the fueling station client so that the user client and the fueling station client respectively verify the fueling transaction information in the block;
for example, when the payment form of the user is a payment instrument transaction, the transaction object includes: the system comprises a user client, a payment bank client and a gas station client for the user to conduct transactions; the identification unit 211 identifies the fueling transaction information in the block to obtain a user client, a payment treasure client, and a fueling station client related to the transaction, and the first transmission unit 212 transmits the block to the user client, the payment treasure client, and the fueling station client so that the user client, the payment treasure client, and the fueling station client verify the fueling transaction information in the block, respectively.
Further, in the above embodiment, as shown in fig. 6, the second transmitting module 22 includes:
a judging unit 221, configured to judge whether the verification information fed back by each corresponding client 1 is passed by verification;
if so, the oiling transaction information in the block passes verification;
if not, the oiling transaction information in the block is not checked, and a check result is returned to the user;
the second transmitting unit 222 is connected to the judging unit 221, and transmits the block to the blockchain network 4 for storage after the fueling transaction information in the block passes the verification.
In the above embodiment, only when the verification information fed back by each corresponding client 1 is verification passing, it is determined that the fueling transaction information in the block passes the verification.
The method for managing the refueling data based on the block chain is applied to any of the refueling data management systems based on the block chain, and comprises the following steps:
the method comprises the steps of acquiring fueling transaction information input by a user from an external fueling POS machine 5, and uploading the fueling transaction information to a server 2, so that the server 2 stores blocks comprising the fueling transaction information;
transmitting the block to at least one corresponding client 1, so that a verification module 11 in the client 1 verifies the oiling transaction information in the block;
after the fueling transaction information in the block passes the verification, the block is sent to the blockchain network 4 for storage.
The specific implementation of the blockchain-based refueling data management method of the present invention is substantially the same as the above-described embodiments of the blockchain-based refueling data management system, and will not be described herein.
The foregoing description is only illustrative of the preferred embodiments of the present invention and is not to be construed as limiting the scope of the invention, and it will be appreciated by those skilled in the art that equivalent substitutions and obvious variations may be made using the description and illustrations of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. 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 blockchain network through the server;
the data collection subsystem is connected with the server and an external oiling POS machine, and is used for acquiring oiling transaction information of a user and uploading the oiling transaction information to the server so that the server stores a block comprising the oiling transaction information;
the client comprises a verification module;
the server includes:
the first sending module is connected with the data collecting subsystem and each client and used for sending the block to at least one corresponding client so that the verification module in the client verifies the oiling transaction information in the block;
the second sending module is connected with the first sending module and the blockchain network, and after the oiling transaction information in the block passes verification, the block is sent to the blockchain network for storage;
the verification module comprises:
the first verification acquisition unit is used for directly acquiring the block before being sent by the first sending module;
the first analysis unit is connected with the first verification acquisition unit and is used for analyzing the block before the first sending module sends so as to obtain oiling transaction information in the block before the first sending module sends;
the calculation unit is connected with the first analysis unit and is used for calculating the check information of the oiling transaction information in the block before being sent by the first sending module to obtain the check information, and the check information is recorded as first check information;
a second checking and acquiring unit, configured to acquire the block after the first transmitting module transmits the block;
the second analysis unit is connected with the second verification acquisition unit and is used for analyzing the block sent by the first sending module to obtain verification data in the oiling transaction information in the block, and recording the verification data as second verification information;
the verification 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 block according to the block head data of the block;
and the verification unit is connected with the verification judging unit, and when the block before being sent by the first sending module and the block after being sent by the first sending module are the same, the first verification information and the second verification information are compared to obtain a verification result of the block.
2. The blockchain-based fueling data management system of claim 1, wherein said data collection subsystem comprises:
the first acquisition module acquires the oiling transaction information of a user from an external oiling POS machine;
and the first uploading module is connected with the first acquisition module and is used for uploading the oiling transaction information to the server, so that the server writes the oiling transaction information into a block.
3. The blockchain-based fueling data management system of claim 1, wherein said data collection subsystem comprises:
the second acquisition module acquires the oiling transaction information of the user from the external oiling POS machine;
the writing block module is connected with the second acquisition module and is used for writing the oiling transaction information into a block;
and the second uploading module is connected with the writing block module and is used for uploading the block to the server.
4. The blockchain-based fueling data management system of claim 1, wherein said first transmission module comprises:
the identification unit is used for identifying the oiling transaction information in the block so as to confirm the corresponding client;
and the first sending unit is connected with the identification unit and is used for sending the block to the corresponding client after confirmation, so that the corresponding client can verify the oiling transaction information in the block.
5. The blockchain-based fueling data management system of claim 1, wherein said second transmission module comprises:
the judging unit is used for judging whether the corresponding verification information fed back by each client passes the verification;
if yes, the oiling transaction information in the block passes verification;
if not, the oiling transaction information in the block is not checked, and a check 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 oiling transaction information in the block passes the verification.
6. The blockchain-based fueling data management system of claim 1, wherein the fueling transaction information comprises: fueling data, transaction data, fueling station data;
the fueling data includes: refuel liter number, refuel unit price and refuel total price;
the transaction data includes: user identity data, payment form and/or payment account number;
the fueling station data includes: gas station identity information and gas station address.
7. A method of managing fueling data based on a blockchain, applied to the blockchain-based fueling data management system of any of claims 1-6, comprising the steps of:
acquiring fueling transaction information input by a user from the external fueling POS machine, and uploading the fueling transaction information to the server so that the server stores a block comprising the fueling transaction information;
transmitting the block to at least one corresponding client so that the verification module in the client verifies the oiling transaction information in the block;
and after the oiling transaction information in the block passes the verification, the block is sent to a block chain network for storage.
CN202010974021.9A 2020-09-16 2020-09-16 System and method for managing oiling data based on block chain Active CN112131313B (en)

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 CN112131313A (en) 2020-12-25
CN112131313B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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

Citations (9)

* Cited by examiner, † Cited by third party
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
CN112131313A (en) * 2020-09-16 2020-12-25 浙江工商大学 Refueling data management system and method based on block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
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
CN112131313A (en) * 2020-09-16 2020-12-25 浙江工商大学 Refueling data management system and method based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Blockchain based consensus checking in decentralized cloud storage;Zhiqin Zhu等;Simulation Modelling Practice and Theory;20200731;1-23 *
基于链上链下相结合的日志安全存储与检索;吕建富等;计算机科学;20191102;298-303 *

Also Published As

Publication number Publication date
CN112131313A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112131313B (en) System and method for managing oiling data based on block chain
CN108959337A (en) Big data acquisition methods, device, equipment and storage medium
CN102497435A (en) Data distributing method and device of data service
CN101964710A (en) Digital signature and signature authenticating method
CN112199277A (en) Browser-based defect reproduction method, device, equipment and storage medium
CN109617755B (en) Acceptance method and device of access system
CN110414962A (en) Inter-bank intelligence transfer account method, device, computer equipment and storage medium
CN213814670U (en) Refueling data management system based on block chain
WO2022142040A1 (en) Billing data verification method and apparatus, computer device and storage medium
CN106875184B (en) Abnormal scene simulation method, device and equipment
CN110188033B (en) Data detection device, method, computer device, and computer-readable storage medium
CN115271735B (en) Log analysis method and system in proxy payment service scene
CN106933888A (en) Database configuration management system
CN111489816B (en) Intelligent medical fault processing method based on visit data transmission and cloud server
CN116389013B (en) Short message password verification method, mobile terminal and system
CN110738470A (en) Electronic bill processing method and device, storage medium and equipment
CN111259361B (en) Bridge engineering cost system
CN116260663B (en) Tax control management method and system for gas station
CN114331520B (en) Sales lead data supervision method, device, storage medium and computer equipment
CN117436822A (en) Intelligent declaration automatic creation system
CN114490409A (en) Product testing method and device, storage medium and electronic equipment
CN117010887A (en) Data processing method and related equipment
KR101088054B1 (en) Test system and test method for the message based communication system
CN115187411A (en) Insurance applicability automatic analysis method and system and computer equipment
CN116909844A (en) Resource interaction information early warning method and device, computer equipment and storage medium

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