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.
As shown in fig. 1, which is a flowchart of an embodiment 1 of a block chain-based fund supervision method disclosed in the present invention, the method may include the following steps:
s101, building a block chain, and taking an education bureau, an education training institution, a student parent and a bank as nodes of the block chain respectively;
when capital of education and training institutions needs to be supervised, a block chain is firstly built, and the block chain adopts the characteristics of decentralization, non-tamper property and the like of the block chain, so that the joint participation of all nodes can be ensured. The block chain has the characteristics of decentralization, time sequence data, programmability, safety and credibility. The external attack is resisted by means of strong calculation force formed by consensus algorithms such as workload certification and the like of each node of the distributed system, the data of the block chain can be guaranteed not to be tampered, and the data is guaranteed to be safe and reliable.
Specifically, in the block chain constructed above, the education bureau, the education and training institution, the student parent and the bank are respectively used as nodes of the block chain.
S102, according to a protocol, establishing an alliance chain among nodes of an education bureau, an education training institution, parents of students and a bank;
and then, establishing a alliance chain, wherein the education bureau, the education training mechanism, the student parent and the bank are accessed into the alliance chain according to a protocol, and the education bureau, the education training mechanism, the student parent and the bank need to make a protocol and conform to a contract together. And performing qualification verification on each node of the education bureau, the education training institution and the student parent on the alliance chain through the bank node, respectively issuing corresponding keys to each node of the education bureau, the education training institution and the student parent after the verification is passed, and ensuring the access threshold of each node on the alliance chain through the keys.
S103, writing the information to be paid into a alliance chain through the nodes of the education and training institution;
after the alliance chain is built, the education training institution can write the information to be paid into the alliance chain through the nodes of the education training institution on the alliance chain.
S104, carrying out consensus verification on the information to be paid through the nodes of the bank;
after the information to be paid is written into the alliance chain, further performing consensus verification on the information to be paid through a node of a bank on the alliance chain.
S105, writing payment information into a alliance chain through a node of a bank;
after the student parents finish paying, the bank can write payment information into the alliance chain through the nodes of the bank on the alliance chain.
And S106, carrying out consensus verification on payment information through the nodes of the education and training institutions.
After the payment information is written into the alliance chain, the payment information is further subjected to consensus verification through nodes of education and training institutions on the alliance chain.
In summary, in the above embodiment, when the fund of the education and training institution needs to be supervised, a block chain is first established, and an education bureau, the education and training institution, a student parent and a bank are respectively used as nodes of the block chain; then according to the protocol, establishing an alliance chain among nodes of an education bureau, an education training mechanism, parents of students and a bank; writing the information to be paid into a alliance chain through a node of an education training institution; carrying out consensus verification on the information to be paid through the nodes of the bank; the payment information is written into the alliance chain through the node of the bank; and carrying out consensus verification on payment information through the nodes of the education and training institutions. By building block chains and by means of the block chain technology, an education bureau, an education training mechanism, a student parent and a bank are respectively used as nodes of the block chains, after the education training mechanism issues payment information, the information to be paid is linked in a synchronous mode in real time, and a bank end is responsible for linking the payment information in a synchronous mode in real time, so that all-side full-flow tracking is achieved, data can be synchronized at each node, information flows and fund flows can correspond one to one, and safety and reliability of funds are guaranteed.
As shown in fig. 2, which is a flowchart of an embodiment 2 of a block chain-based fund supervision method disclosed in the present invention, the method may include the following steps:
s201, building a block chain, and taking an education bureau, an education training institution, a student parent and a bank as nodes of the block chain respectively;
when capital of education and training institutions needs to be supervised, a block chain is firstly built, and the block chain adopts the characteristics of decentralization, non-tamper property and the like of the block chain, so that the joint participation of all nodes can be ensured. The block chain has the characteristics of decentralization, time sequence data, programmability, safety and credibility. The external attack is resisted by means of strong calculation force formed by consensus algorithms such as workload certification and the like of each node of the distributed system, the data of the block chain can be guaranteed not to be tampered, and the data is guaranteed to be safe and reliable.
Specifically, in the block chain constructed above, the education bureau, the education and training institution, the student parent and the bank are respectively used as nodes of the block chain.
S202, according to the protocol, establishing an alliance chain among nodes of an education bureau, an education training institution, parents of students and a bank;
and then, establishing a alliance chain, wherein the education bureau, the education training mechanism, the student parent and the bank are accessed into the alliance chain according to a protocol, and the education bureau, the education training mechanism, the student parent and the bank need to make a protocol and conform to a contract together. And performing qualification verification on each node of the education bureau, the education training institution and the student parent on the alliance chain through the bank node, respectively issuing corresponding keys to each node of the education bureau, the education training institution and the student parent after the verification is passed, and ensuring the access threshold of each node on the alliance chain through the keys.
S203, writing the information to be paid into a alliance chain through the nodes of the education and training institution;
after the alliance chain is built, the education training institution can write the information to be paid into the alliance chain through the nodes of the education training institution on the alliance chain.
S204, carrying out consensus verification on the information to be paid through the nodes of the bank;
after the information to be paid is written into the alliance chain, further performing consensus verification on the information to be paid through a node of a bank on the alliance chain.
S205, writing payment information into a alliance chain through a node of a bank;
after the student parents finish paying, the bank can write payment information into the alliance chain through the nodes of the bank on the alliance chain.
S206, carrying out consensus verification on payment information through the nodes of the education and training institutions;
after the payment information is written into the alliance chain, the payment information is further subjected to consensus verification through nodes of education and training institutions on the alliance chain.
And S207, supervising the information to be paid and the payment information through the nodes of the education bureau.
After the information to be paid and the payment information are written into the alliance chain, the information to be paid and the payment information can be supervised through the nodes of the education bureau, and the education training institution funds can be further supervised by the education bureau.
Specifically, in the above embodiment, the educational training institution may include a third party institution.
In summary, in the above embodiment, the payment information and the payment information to be paid can be further supervised through the node of the education bureau, so that the education bureau can further supervise the funds of the education training institution.
As shown in fig. 3, which is a flowchart of embodiment 3 of the fund supervision method based on a block chain disclosed in the present invention, the method may include the following steps:
s301, building a block chain, and taking an education bureau, an education training institution, a student parent and a bank as nodes of the block chain respectively;
when capital of education and training institutions needs to be supervised, a block chain is firstly built, and the block chain adopts the characteristics of decentralization, non-tamper property and the like of the block chain, so that the joint participation of all nodes can be ensured. The block chain has the characteristics of decentralization, time sequence data, programmability, safety and credibility. The external attack is resisted by means of strong calculation force formed by consensus algorithms such as workload certification and the like of each node of the distributed system, the data of the block chain can be guaranteed not to be tampered, and the data is guaranteed to be safe and reliable.
Specifically, in the block chain constructed above, the education bureau, the education and training institution, the student parent and the bank are respectively used as nodes of the block chain.
S302, according to the protocol, establishing an alliance chain among nodes of an education bureau, an education training institution, parents of students and a bank;
and then, establishing a alliance chain, wherein the education bureau, the education training mechanism, the student parent and the bank are accessed into the alliance chain according to a protocol, and the education bureau, the education training mechanism, the student parent and the bank need to make a protocol and conform to a contract together. And performing qualification verification on each node of the education bureau, the education training institution and the student parent on the alliance chain through the bank node, respectively issuing corresponding keys to each node of the education bureau, the education training institution and the student parent after the verification is passed, and ensuring the access threshold of each node on the alliance chain through the keys.
S303, writing the information to be paid into a alliance chain through the nodes of the education training institution;
after the alliance chain is built, the education training institution can write the information to be paid into the alliance chain through the nodes of the education training institution on the alliance chain.
S304, carrying out consensus verification on the information to be paid through the nodes of the bank;
after the information to be paid is written into the alliance chain, further performing consensus verification on the information to be paid through a node of a bank on the alliance chain.
S305, writing payment information into a alliance chain through a node of a bank;
after the student parents finish paying, the bank can write payment information into the alliance chain through the nodes of the bank on the alliance chain.
S306, carrying out consensus verification on payment information through the nodes of the education and training institutions;
after the payment information is written into the alliance chain, the payment information is further subjected to consensus verification through nodes of education and training institutions on the alliance chain.
S307, monitoring the payment information and the payment information through the nodes of the education bureau;
after the information to be paid and the payment information are written into the alliance chain, the information to be paid and the payment information can be supervised through the nodes of the education bureau, and the education training institution funds can be further supervised by the education bureau.
S308, checking the payment waiting information corresponding to the student parents through the nodes of the student parents;
after the information to be paid is written into the alliance chain, the information to be paid corresponding to the student parents can be checked through the nodes of the student parents, so that the student parents can acquire the information to be paid in time.
S309, supervising payment information corresponding to the student parents through the nodes of the student parents.
After the payment information is written into the alliance chain, the payment information corresponding to the student parents can be supervised through the nodes of the student parents, so that the student parents can monitor the trend of payment in time.
Specifically, in the above embodiment, the educational training institution may include a third party institution.
In summary, in the above embodiment, the to-be-paid payment information corresponding to the student parent can be further checked through the node of the student parent, and the payment information corresponding to the student parent is supervised, so that the student parent can timely acquire the to-be-paid payment information and timely monitor the trend of payment.
As shown in fig. 4, which is a schematic structural diagram of an embodiment 1 of a fund supervision system based on a block chain disclosed in the present invention, the system may include:
a first building module 401, configured to build a block chain, where an education bureau, an education training institution, a parent of a student, and a bank are respectively used as nodes of the block chain;
when capital of education and training institutions needs to be supervised, a block chain is firstly built, and the block chain adopts the characteristics of decentralization, non-tamper property and the like of the block chain, so that the joint participation of all nodes can be ensured. The block chain has the characteristics of decentralization, time sequence data, programmability, safety and credibility. The external attack is resisted by means of strong calculation force formed by consensus algorithms such as workload certification and the like of each node of the distributed system, the data of the block chain can be guaranteed not to be tampered, and the data is guaranteed to be safe and reliable.
Specifically, in the block chain constructed above, the education bureau, the education and training institution, the student parent and the bank are respectively used as nodes of the block chain.
The second building module 402 is used for building an alliance chain among all nodes of an education bureau, an education training institution, a student parent and a bank according to a protocol;
and then, establishing a alliance chain, wherein the education bureau, the education training mechanism, the student parent and the bank are accessed into the alliance chain according to a protocol, and the education bureau, the education training mechanism, the student parent and the bank need to make a protocol and conform to a contract together. And performing qualification verification on each node of the education bureau, the education training institution and the student parent on the alliance chain through the bank node, respectively issuing corresponding keys to each node of the education bureau, the education training institution and the student parent after the verification is passed, and ensuring the access threshold of each node on the alliance chain through the keys.
A first writing module 403, configured to write the information to be paid into the alliance chain through a node of the education and training institution;
after the alliance chain is built, the education training institution can write the information to be paid into the alliance chain through the nodes of the education training institution on the alliance chain.
A first consensus verification module 404, configured to perform consensus verification on the information to be paid through a node of the bank;
after the information to be paid is written into the alliance chain, further performing consensus verification on the information to be paid through a node of a bank on the alliance chain.
A second writing module 405, configured to write payment information into the federation chain through a node of the bank;
after the student parents finish paying, the bank can write payment information into the alliance chain through the nodes of the bank on the alliance chain.
And a second consensus verification module 406, configured to perform consensus verification on the payment information through a node of the education training institution.
After the payment information is written into the alliance chain, the payment information is further subjected to consensus verification through nodes of education and training institutions on the alliance chain.
In summary, in the above embodiment, when the fund of the education and training institution needs to be supervised, a block chain is first established, and an education bureau, the education and training institution, a student parent and a bank are respectively used as nodes of the block chain; then according to the protocol, establishing an alliance chain among nodes of an education bureau, an education training mechanism, parents of students and a bank; writing the information to be paid into a alliance chain through a node of an education training institution; carrying out consensus verification on the information to be paid through the nodes of the bank; the payment information is written into the alliance chain through the node of the bank; and carrying out consensus verification on payment information through the nodes of the education and training institutions. By building block chains and by means of the block chain technology, an education bureau, an education training mechanism, a student parent and a bank are respectively used as nodes of the block chains, after the education training mechanism issues payment information, the information to be paid is linked in a synchronous mode in real time, and a bank end is responsible for linking the payment information in a synchronous mode in real time, so that all-side full-flow tracking is achieved, data can be synchronized at each node, information flows and fund flows can correspond one to one, and safety and reliability of funds are guaranteed.
As shown in fig. 5, which is a schematic structural diagram of an embodiment 2 of a fund supervision system based on a block chain disclosed in the present invention, the system may include:
a first building module 501, configured to build a block chain, where an education bureau, an education training institution, a parent of a student, and a bank are respectively used as nodes of the block chain;
when capital of education and training institutions needs to be supervised, a block chain is firstly built, and the block chain adopts the characteristics of decentralization, non-tamper property and the like of the block chain, so that the joint participation of all nodes can be ensured. The block chain has the characteristics of decentralization, time sequence data, programmability, safety and credibility. The external attack is resisted by means of strong calculation force formed by consensus algorithms such as workload certification and the like of each node of the distributed system, the data of the block chain can be guaranteed not to be tampered, and the data is guaranteed to be safe and reliable.
Specifically, in the block chain constructed above, the education bureau, the education and training institution, the student parent and the bank are respectively used as nodes of the block chain.
A second building module 502, configured to build a federation chain among nodes of an education bureau, an education training institution, parents of students, and a bank according to a protocol;
and then, establishing a alliance chain, wherein the education bureau, the education training mechanism, the student parent and the bank are accessed into the alliance chain according to a protocol, and the education bureau, the education training mechanism, the student parent and the bank need to make a protocol and conform to a contract together. And performing qualification verification on each node of the education bureau, the education training institution and the student parent on the alliance chain through the bank node, respectively issuing corresponding keys to each node of the education bureau, the education training institution and the student parent after the verification is passed, and ensuring the access threshold of each node on the alliance chain through the keys.
A first writing module 503, configured to write the information to be paid into the alliance chain through a node of the education and training institution;
after the alliance chain is built, the education training institution can write the information to be paid into the alliance chain through the nodes of the education training institution on the alliance chain.
The first consensus verification module 504 is configured to perform consensus verification on the information to be paid through a node of the bank;
after the information to be paid is written into the alliance chain, further performing consensus verification on the information to be paid through a node of a bank on the alliance chain.
A second writing module 505, configured to write payment information into the federation chain through a node of the bank;
after the student parents finish paying, the bank can write payment information into the alliance chain through the nodes of the bank on the alliance chain.
A second consensus verification module 506, configured to perform consensus verification on payment information through a node of the education training institution;
after the payment information is written into the alliance chain, the payment information is further subjected to consensus verification through nodes of education and training institutions on the alliance chain.
The first supervision module 507 is configured to supervise the payment-to-be-paid information and the payment-to-be-paid information through a node of the education bureau.
After the information to be paid and the payment information are written into the alliance chain, the information to be paid and the payment information can be supervised through the nodes of the education bureau, and the education training institution funds can be further supervised by the education bureau.
Specifically, in the above embodiment, the educational training institution may include a third party institution.
In summary, in the above embodiment, the payment information and the payment information to be paid can be further supervised through the node of the education bureau, so that the education bureau can further supervise the funds of the education training institution.
As shown in fig. 6, which is a schematic structural diagram of an embodiment 3 of a fund supervision system based on a block chain disclosed in the present invention, the system may include:
the first building module 601 is used for building a block chain, and an education bureau, an education training mechanism, a student parent and a bank are respectively used as nodes of the block chain;
when capital of education and training institutions needs to be supervised, a block chain is firstly built, and the block chain adopts the characteristics of decentralization, non-tamper property and the like of the block chain, so that the joint participation of all nodes can be ensured. The block chain has the characteristics of decentralization, time sequence data, programmability, safety and credibility. The external attack is resisted by means of strong calculation force formed by consensus algorithms such as workload certification and the like of each node of the distributed system, the data of the block chain can be guaranteed not to be tampered, and the data is guaranteed to be safe and reliable.
Specifically, in the block chain constructed above, the education bureau, the education and training institution, the student parent and the bank are respectively used as nodes of the block chain.
The second building module 602 is used for building an alliance chain among all nodes of an education bureau, an education training institution, a student parent and a bank according to a protocol;
and then, establishing a alliance chain, wherein the education bureau, the education training mechanism, the student parent and the bank are accessed into the alliance chain according to a protocol, and the education bureau, the education training mechanism, the student parent and the bank need to make a protocol and conform to a contract together. And performing qualification verification on each node of the education bureau, the education training institution and the student parent on the alliance chain through the bank node, respectively issuing corresponding keys to each node of the education bureau, the education training institution and the student parent after the verification is passed, and ensuring the access threshold of each node on the alliance chain through the keys.
A first writing module 603, configured to write the information to be paid into the alliance chain through a node of the education and training institution;
after the alliance chain is built, the education training institution can write the information to be paid into the alliance chain through the nodes of the education training institution on the alliance chain.
The first consensus verification module 604 is configured to perform consensus verification on the information to be paid through a node of the bank;
after the information to be paid is written into the alliance chain, further performing consensus verification on the information to be paid through a node of a bank on the alliance chain.
A second writing module 605, configured to write payment information into the federation chain through a node of the bank;
after the student parents finish paying, the bank can write payment information into the alliance chain through the nodes of the bank on the alliance chain.
The second consensus verification module 606 is used for performing consensus verification on payment information through the nodes of the education and training institutions;
after the payment information is written into the alliance chain, the payment information is further subjected to consensus verification through nodes of education and training institutions on the alliance chain.
The first supervision module 607 is used for supervising the information to be paid and the payment information through the nodes of the education bureau;
after the information to be paid and the payment information are written into the alliance chain, the information to be paid and the payment information can be supervised through the nodes of the education bureau, and the education training institution funds can be further supervised by the education bureau.
The checking module 608 is configured to check the information to be paid corresponding to the student parent through the node of the student parent;
after the information to be paid is written into the alliance chain, the information to be paid corresponding to the student parents can be checked through the nodes of the student parents, so that the student parents can acquire the information to be paid in time.
The second supervision module 609 is configured to supervise payment information corresponding to the student parents through the nodes of the student parents.
After the payment information is written into the alliance chain, the payment information corresponding to the student parents can be supervised through the nodes of the student parents, so that the student parents can monitor the trend of payment in time.
Specifically, in the above embodiment, the educational training institution may include a third party institution.
In summary, in the above embodiment, the to-be-paid payment information corresponding to the student parent can be further checked through the node of the student parent, and the payment information corresponding to the student parent is supervised, so that the student parent can timely acquire the to-be-paid payment information and timely monitor the trend of payment.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.