CN112950209A - Nuclear power experience feedback information management method and system based on block chain - Google Patents
Nuclear power experience feedback information management method and system based on block chain Download PDFInfo
- Publication number
- CN112950209A CN112950209A CN202110347812.3A CN202110347812A CN112950209A CN 112950209 A CN112950209 A CN 112950209A CN 202110347812 A CN202110347812 A CN 202110347812A CN 112950209 A CN112950209 A CN 112950209A
- Authority
- CN
- China
- Prior art keywords
- experience feedback
- transaction
- information
- user
- block chain
- 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
Images
Classifications
-
- 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/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- 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/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- 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/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- 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/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4014—Identity check for transactions
-
- 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—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Finance (AREA)
- Bioethics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Economics (AREA)
- Public Health (AREA)
- Medical Informatics (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Water Supply & Treatment (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a nuclear power experience feedback information management method and system based on a block chain, which comprises the following steps: performing system user registration; after the registration of the system user is completed, uploading an experience feedback data report; and carrying out digital encryption processing on the experience feedback data report to generate data assets of experience feedback information, and storing the experience feedback information into the block chain and the state database. The invention can realize the block chain storage and transaction of experience feedback information, provide data reliability guarantee and data source query support for nuclear power experience feedback information, and verify data assets, so that the data has sharing property, the privacy of a report provider can be protected, the data ownership of the report provider can be guaranteed, the data value is improved, and the data transaction becomes possible.
Description
Technical Field
The invention relates to the technical field of experience feedback data processing of nuclear power plants, in particular to a nuclear power experience feedback information management method and system based on a block chain.
Background
At present, experience feedback information based on nuclear power operation is managed through a group factory experience feedback platform, the information can be effectively circulated in a group, but an external circulation channel is lacked, an effective data safety management means is not provided, equipment suppliers cannot obtain effective and practical experience feedback information on the one hand, an experience feedback report cannot confirm the right of the information on the other hand, and the equipment experience feedback information and a user or a power plant are not in a strong binding relationship, so that the following problems exist:
1. empirical feedback reports are difficult to ascertain. After the report is generated, the report author can not understand and control the circulation of the report.
2. User privacy is difficult to protect. In general, a strong binding relationship exists between data and personal information of a user, and the risk of revealing the personal information exists. The widespread privacy disclosure risk seriously affects the enthusiasm of user data sharing.
3. The source, owner of the empirical feedback report cannot be determined. Even if relevant information cloud storage exists, the relevant information can be changed or even forged information can be generated as long as the authority is enough or an attack means for attacking the storage server is possessed.
4. Data sharing and transactions have poor support for non-authoritative vendors. Only large-scale or industry-authoritative organizations report data that is easily trusted, and smaller-scale organizations or users upload data that is often not approved.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a system for managing nuclear power experience feedback information based on a block chain, aiming at the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a nuclear power experience feedback information management method based on a block chain is constructed, and the method comprises the following steps:
performing system user registration;
after the registration of the system user is completed, uploading an experience feedback data report;
and carrying out digital encryption processing on the experience feedback data report to generate data assets of experience feedback information, and storing the experience feedback information into a block chain and a state database.
Wherein, after storing the experience feedback information into the block chain and the state data, the method further comprises:
reporting a transaction application to execute a transaction according to experience feedback data, updating experience feedback information in the block chain and the state database, and outputting a transaction result;
and updating experience feedback information in the state database according to the transaction result.
Wherein the performing system user registration comprises:
the client terminal receives registration information input by a user;
the client terminal generates user information according to the registration information through a user management unit and sends the user information to an experience feedback management system;
the experience feedback management system determines the identity information of the user according to the user information;
the experience feedback management system configures corresponding channel authority and identity certificates according to the identity information of the user;
and the experience feedback management system returns a system user registration completion message to the client terminal to complete the system user registration.
Wherein, the determining, by the experience feedback management system, the identity information of the user according to the user information includes:
the experience feedback management system generates an identity public and private key pair of the user in a user registration module according to the user information;
calling an identity management module in an experience feedback management system network architecture;
and determining the identity information of the user according to the identity management module.
Wherein, after the system user registration is completed, the uploading experience feedback data report comprises:
the client terminal receives an experience feedback data report input by a user after the system user registration is completed;
generating experience feedback data report information according to the experience feedback data report input by the user after the system user registration is completed;
and sending the experience feedback data report information to the experience feedback management system to finish uploading the experience feedback data report.
Wherein the processing the experience feedback data report to generate experience feedback information and storing the experience feedback information in a block chain and state database comprises:
judging whether the experience feedback data report meets a writing condition;
if yes, encrypting the experience feedback data report to generate digital assets;
signature confirmation is carried out on the digital assets, and the experience feedback information is generated;
and storing the experience feedback information into a block chain and a state database.
Wherein the method further comprises:
and if the experience feedback data report does not meet the writing condition, returning the experience feedback data report to the client terminal.
Wherein the determining whether the empirical feedback data report satisfies a writing condition comprises:
judging whether the experience feedback data report has a report with the same version and the same content;
if the reports with the same version and the same content exist, judging that the experience feedback data report meets a writing condition;
and if the reports with the same version and the same content do not exist, judging that the experience feedback data report does not meet the writing condition.
Wherein the encrypting the experience feedback data report comprises:
and calling a digital asset generation module to encrypt the experience feedback data report and generate a report digital hash value.
Wherein the signature validation of the digital asset and the generating of the experience feedback information comprise:
signing the digital asset;
after the signature is finished, calling experience feedback data asset registration contracts in a digital asset storage module and a chain code management module, and forming experience feedback information by the digital assets after signature confirmation;
and storing the experience feedback information into a block chain and a state database.
Wherein prior to said reporting a transaction application to execute a transaction based on empirical feedback data comprises:
the first user terminal submits an experience feedback data report transaction application.
Wherein the reporting transaction application to execute a transaction according to experience feedback data, updating the experience feedback information in the block chain and the state database, and outputting a transaction result includes:
the experience feedback management system receives the experience feedback data report transaction application;
the experience feedback management system calls a sending request through an SDK interface to submit a transaction application, and attaches a private key signature of a first user corresponding to a first user terminal to the transaction application;
after the private key signature is completed, the experience feedback management system outputs a transaction plan and broadcasts the transaction plan;
the second user terminal carries out transaction plan checking processing based on the broadcasted transaction plan and returns a checking result of the transaction plan to the experience feedback management system;
the experience feedback management system sends verified transaction applications to a third user terminal according to the inspection results of the transaction plans;
the third user terminal receives the verified transaction application, processes the verified transaction application, and outputs and broadcasts transaction block information;
and the second user terminal receives the transaction block information, updates experience feedback information in the block chain and the state database according to the transaction block information, and outputs a transaction result.
The second user terminal performs transaction plan verification processing based on the broadcasted transaction plan, and returns a verification result of the transaction plan to the experience feedback management system, wherein the verification processing comprises the following steps:
the second user terminal receiving the transaction plan;
acquiring a signature of the transaction plan and a channel authority of a user;
judging whether the transaction plan meets transaction conditions or not according to the signature of the transaction plan and the channel authority of the user;
if yes, establishing a transaction read-write set for the transaction plans meeting the transaction conditions;
and outputting the inspection result of the transaction plan based on the transaction read-write information.
Wherein, the third user terminal receives the verified transaction application, processes the verified transaction application, and outputs the transaction block information and broadcasts the transaction block information, including:
the third user terminal receives the verified transaction application;
obtaining a transaction plan based on the verified transaction application;
sequencing the transaction plans to generate data blocks;
and outputting the transaction block information based on the data block and broadcasting.
The second user terminal receives the transaction block information, updates experience feedback information in the block chain and the state database according to the transaction block information, and outputs a transaction result, wherein the transaction result comprises:
the second user terminal receives the transaction block information;
the second user terminal obtains a transaction plan in the transaction block information according to the transaction block information;
the second user terminal checks the transaction plan in the transaction block information;
the second user terminal marks the validity of the data block in the transaction block information of the transaction plan through checking, records and stores the data block with the validity mark to a block chain, and updates the write set of the valid transaction to a state database;
and outputting a transaction result.
Wherein, the second user terminal checking the transaction plan in the transaction block information comprises:
the second user terminal checks whether the signature of the transaction plan in the transaction block information is legal or not;
if the signature is legal, checking whether the transaction plan with the legal signature completes the transaction plan inspection processing;
if the transaction plan checking processing is finished, checking whether the transaction plan with a legal signature, which is subjected to the transaction plan checking processing, meets a checking strategy;
if the transaction plan meets the checking strategy, checking whether the reading set version of the transaction plan meeting the checking strategy is the same as the version in the state database;
if they are the same, the check is passed.
Wherein the updating experience feedback information in the blockchain and the status database according to the transaction result comprises:
the experience feedback management system obtains newly added and/or updated transaction information according to the transaction result;
and writing the newly added and/or updated transaction information into a state database, and updating the experience feedback information in the block chain and the state database.
The invention also provides a nuclear power experience feedback information management system based on the block chain, which comprises the following steps:
the client terminal layer is used for executing system user registration, user data management and experience feedback data management;
the intelligent interface layer is used for providing an intelligent contract;
the experience feedback data management system is used for calling the intelligent contract to upload an experience feedback data report, processing the experience feedback data report, generating experience feedback information and storing the experience feedback information into a block chain and a state database;
and the database layer is used for storing the distributed block chains and the state database.
The block chain-based nuclear power experience feedback information management method has the following beneficial effects: the method comprises the following steps: performing system user registration; after the registration of the system user is completed, uploading an experience feedback data report; and processing the experience feedback data report to generate experience feedback information, and storing the experience feedback information into the block chain and the state database. The invention can realize experience feedback information block chain storage and transaction, provide data reliability guarantee and data source query support for nuclear power experience feedback information, verify data assets, ensure data sharing, protect the privacy of report providers and guarantee the data ownership, improve data value and enable data transaction to be possible.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic structural diagram of a block chain-based nuclear power experience feedback management system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a block chain-based nuclear power experience feedback information management method according to an embodiment of the present invention;
fig. 3 is a timing diagram of experience feedback data reporting transactions provided by an embodiment of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a block chain-based nuclear power experience feedback management system according to an embodiment of the present invention.
As shown in fig. 1, the block chain-based nuclear power experience feedback information management system includes: the system comprises a client terminal layer, an intelligent interface layer, an experience feedback data management system and a database layer.
The client terminal layer is used for executing system user registration, user data management and experience feedback data management. It is understood that the client terminal layer may be a user terminal and a client terminal, wherein the user terminal and the client terminal may be the same or different terminals, which may be oriented to the same user or different users.
Specifically, the client terminal layer includes: a digital asset management unit of the user management unit. The user management unit is used for managing user information and user data. The users include, but are not limited to, plant experience feedback personnel, equipment suppliers, platform managers, or other unit personnel.
The user management unit includes, but is not limited to, a user registration module, a user authentication module, an account generation module, and the like. The user registration module is used for carrying out user registration according to user information input by a user; the user authentication module is used for authenticating the identity, the identity information and the user information of the user; the account generation module is used for generating an account capable of identifying the identity of the user after the user identity authentication is passed, and the identity management module is used for managing the identity of the user (such as identity confirmation, authority confirmation and the like).
The digital asset management unit includes, but is not limited to, a digital asset generation module, a digital asset signature module, a digital asset storage module, etc. The digital asset generating module is used for processing the experience feedback data report to generate a digital asset; the digital asset signature module is used for carrying out signature confirmation on the digital asset to complete the signature of the digital asset; the digital asset storage module is used for storing and recording the digital assets.
The intelligent interface layer is used for providing an intelligent contract. The intelligent contracts provided by the intelligent interface layer include, but are not limited to, nuclear power experience feedback information management contracts, nuclear power experience feedback information verification contracts, registration contracts, equipment full life cycle management contracts, data tampering contracts and the like.
And the experience feedback data management system is used for calling the intelligent contract to upload the experience feedback data report, carrying out digital encryption processing on the experience feedback data report, generating data assets of the experience feedback information, and storing the experience feedback information into the block chain and the state database.
And the database layer is used for storing the distributed block chains and the state database. The data in the block chain is data on the chain, and the data in the state database is local data.
Referring to fig. 2, fig. 2 is a schematic flowchart of a block chain-based nuclear power experience feedback information management method provided by the present invention.
The block chain-based nuclear power experience feedback information management method can be realized by the block chain-based nuclear power experience feedback information management system disclosed by the embodiment of the invention.
As shown in fig. 2, the block chain-based nuclear power experience feedback information management method includes:
step S201, system user registration is performed.
In some embodiments, performing system user registration comprises: the client terminal receives registration information input by a user; the client terminal generates user information according to the registration information through the user management unit and sends the user information to the experience feedback management system; the experience feedback management system determines the identity information of the user according to the user information; the experience feedback management system configures corresponding channel authority and identity certificates according to the identity information of the user; and the experience feedback management system returns a system user registration completion message to the client terminal to complete the system user registration so as to prompt the user to complete the system user registration.
Wherein, the experience feedback management system determines the identity information of the user according to the user information, and comprises: the experience feedback management system generates a public and private identity key pair of the user in the user registration module according to the user information; calling an identity management module in an experience feedback management system network architecture; and determining the identity information of the user according to the identity management module. Specifically, the experience feedback management system judges which role or organization the user belongs to (such as experience feedback personnel of the nuclear power plant, equipment supply terminals, platform management personnel and the like) according to the identity management module.
And step S202, after the system user registration is completed, uploading an experience feedback data report.
In some embodiments, uploading the experience feedback data report after completing the system user registration comprises: the client terminal receives an experience feedback data report input by a user after the system user registration is completed; generating experience feedback data report information according to an experience feedback data report input by a user after the system user registration is completed; and sending the experience feedback data report information to an experience feedback management system to finish uploading the experience feedback data report. The experience feedback data report information is information such as a packaged report subject, an owner, report generation time and the like of the experience feedback data report input by the user through the client terminal.
Step S203, the experience feedback data report is subjected to digital encryption processing to generate data assets of experience feedback information, and the experience feedback information is stored in the block chain and the state database.
In some embodiments, digitally encrypting the experience feedback data report to generate data assets of experience feedback information, and storing the experience feedback information in the block chain and state database includes: judging whether the experience feedback data report meets a writing condition; if yes, encrypting the experience feedback data report to generate digital assets; carrying out signature confirmation on the digital assets to generate data assets of experience feedback information; and storing the experience feedback information into the block chain and the state database. It is to be understood that the experience feedback data report is returned to the client terminal if the experience feedback data report does not satisfy the writing condition.
Wherein, judging whether the experience feedback data report satisfies the writing condition comprises: judging whether the experience feedback data report has a report with the same version and the same content; if the reports with the same version and the same content exist, judging that the experience feedback data report meets the writing condition; and if the reports with the same version and the same content do not exist, judging that the experience feedback data report does not meet the writing condition.
In some embodiments, digitally encrypting the experience feedback data report comprises: and calling a digital asset generation module to perform digital encryption processing on the experience feedback data report, and generating a digital asset and a report digital hash value.
Further, in some embodiments, the signature validation of the digital asset and the generating of the empirical feedback information comprises: signing the digital asset; after the signature is finished, calling experience feedback data asset registration contracts in a digital asset storage module and a chain code management module, and forming experience feedback information by the digital assets after signature confirmation; and storing the experience feedback information into the block chain and the state database.
As shown in fig. 2, in some embodiments, after storing the experience feedback information in the block chain and the status data, the method further includes:
and step S204, reporting the transaction application to execute the transaction according to the experience feedback data, updating experience feedback information in the block chain and the state database, and outputting a transaction result.
Referring to fig. 3, fig. 3 is a timing diagram of experience feedback data reporting transactions.
As shown in fig. 3, further, prior to reporting the transaction application to execute the transaction based on the experience feedback data, comprising: the first user terminal submits an experience feedback data report transaction application.
In some embodiments, reporting that the transaction is to be executed in response to the transaction request based on the experience feedback data, updating the experience feedback information in the blockchain and status database, and outputting the transaction result includes: the experience feedback management system receives an experience feedback data report transaction application; the experience feedback management system calls a sending request through the SDK interface to submit a transaction application, and attaches a private key signature of a first user corresponding to the first user terminal to the transaction application; after the private key signature is completed, the experience feedback management system outputs a transaction plan and broadcasts the transaction plan; the second user terminal carries out transaction plan checking processing based on the broadcasted transaction plan and returns a checking result of the transaction plan to the experience feedback management system; the experience feedback management system sends the verified transaction application to a third user terminal according to the check result of the transaction plan; the third user terminal receives the verified transaction application, processes the verified transaction application, and outputs and broadcasts transaction block information; and the second user terminal receives the transaction block information, updates experience feedback information in the block chain and the state database according to the transaction block information, and outputs a transaction result.
In some embodiments, the second user terminal performing a transaction plan verification process based on the broadcasted transaction plan and returning a verification result of the transaction plan to the experience feedback management system includes: the second user terminal receives the transaction plan; acquiring a signature of a transaction plan and a channel authority of a user; judging whether the transaction plan meets transaction conditions or not according to the signature of the transaction plan and the channel authority of the user; if yes, establishing a transaction read-write set for the transaction plans meeting the transaction conditions; and outputting a verification result of the transaction plan based on the transaction read-write information. Wherein, the check result of the transaction plan carries the transaction read-write set.
In some embodiments, the third user terminal receives the verified transaction application, processes the verified transaction application, and outputs the transaction block information and broadcasts the transaction block information, including: the third user terminal receives the verified transaction application; obtaining a transaction plan based on the verified transaction application; sequencing the transaction plans to generate data blocks; and outputting transaction block information based on the data block and broadcasting.
In some embodiments, the checking, by the second user terminal, the transaction plan in the transaction block information includes: the second user terminal checks whether the signature of the transaction plan in the transaction block information is legal or not; if the signature is legal, checking whether the transaction plan with the legal signature completes the transaction plan inspection processing; if the transaction plan checking processing is finished, checking whether the transaction plan with a legal signature, which is subjected to the transaction plan checking processing, meets a checking strategy; if the transaction plan meets the checking strategy, checking whether the reading set version of the transaction plan meeting the checking strategy is the same as the version in the state database; if they are the same, the check is passed.
Further, after the second user terminal passes the check, the validity marking of the transaction is carried out on the data block in the transaction block information, the data block is added into the block chain account book, meanwhile, the writing set of the valid transaction is updated into the state database, and the updating of experience feedback information in the block chain and the state database is completed. Wherein the write set of valid transactions may be updated into the state database by invoking an empirical feedback management contract. And after the information updating is finished, the second user terminal sends a transaction success message to the experience feedback management system.
And step S205, updating experience feedback information in the state database according to the transaction result.
In some embodiments, updating the experience feedback information in the blockchain and status database based on the transaction results comprises: the experience feedback management system acquires newly added and/or updated transaction information according to the transaction result; and writing the newly added and/or updated transaction information into the state database, and updating the experience feedback information in the block chain and the state database.
Specifically, after receiving a transaction success message sent by the second user terminal, the experience feedback management system updates the distribution write-in state database, and sends a message that the transaction is successful in a feedback data report to the first user terminal, so as to inform the user of the first user terminal that the transaction is successful in the feedback data report.
In the embodiment of the present invention, the first user terminal (the user in fig. 3) is a terminal that initiates a transaction application of the experience feedback data report, and performs the functions of initiating the transaction application and receiving a transaction success message. The second user terminal (the network node in fig. 3) is a plurality of user terminals with the same channel authority, and does not include the first user terminal. The third user terminal is a consensus service node, and the third user terminal has the main functions of sequencing the transaction plans, packaging the transaction plans into data blocks, and broadcasting in all the second user terminals related to the channels after the packaging is finished.
The invention also provides a nuclear power experience feedback information management device based on the block chain, which comprises the following steps:
the execution unit is used for executing system user registration;
the uploading unit is used for uploading an experience feedback data report after the system user registration is finished;
and the management unit is used for processing the experience feedback data report, generating experience feedback information and storing the experience feedback information into the block chain and the state database.
The invention also provides electronic equipment which comprises a processor and a memory, wherein the memory is used for storing the computer program, and the processor is used for executing the computer program stored by the memory so as to realize the block chain-based nuclear power experience feedback information management method disclosed by the embodiment of the invention.
The invention also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the block chain-based nuclear power experience feedback information management method disclosed by the embodiment of the invention are realized.
Through the block chain-based nuclear power experience feedback information management method and system, the experience feedback data report can be stored in the block chain, so that data generated by the experience feedback data report have attributes such as verifiable fake and traceable sources, the reliability of the experience feedback data is enhanced, the data value is improved, and data transaction becomes possible; meanwhile, the metadata and the data basic information are sent to the user terminal, and the user terminal packs and allocates the data block storage position. Through the user terminal, a user can select storage modes such as local storage, distributed database storage, cloud server storage and the like, data ownership is attributed to the user, and the problem that personal data cannot be authenticated is solved.
Further, the embodiment of the present invention stores the hash value of the data block in the block chain through a data tamper-resistant contract, and stores the storage address of the hash value in the block chain in the data block. After the data block is obtained, the hash value of the data block can be obtained by storing the address through the block chain, and whether the data is falsified can be judged after the hash value is compared with the hash value of the data block, so that the reliability of the data is effectively ensured, and a basis is provided for data authentication.
The public key of the user terminal is used for identifying the user instead of personal information such as a mobile phone number or a mailbox, so that the privacy of the user is prevented from being revealed, and the enthusiasm of user data sharing is improved.
In addition, the invention uses the experience feedback data to manage the intelligent contract, generates the experience feedback report signature and the hash value pair, generates the time stamp through the hash value of the experience feedback report and the block chain block, and determines the owner of the experience feedback data report, thereby realizing decentralized storage of information such as report sources and report owners, and ensuring the traceability of the experience feedback data report.
The reliability of the data information is guaranteed through the block chain technology, the reliability of the data information is not guaranteed through credit of users of power plants of all places, the report counterfeiting cost is greatly improved through report generation logs and the like, the possibility of report counterfeiting is reduced, the data of non-authoritative users can also obtain the trust of other organizations, and therefore the data sharing performance is achieved.
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 above embodiments are merely illustrative of the technical ideas and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.
Claims (10)
1. A nuclear power experience feedback information management method based on a block chain is characterized by comprising the following steps:
performing system user registration;
after the registration of the system user is completed, uploading an experience feedback data report;
performing digital encryption processing on the experience feedback data report to generate data assets of experience feedback information, and storing the experience feedback information into a block chain and a state database;
reporting a transaction application to execute a transaction according to experience feedback data, updating experience feedback information in the block chain and the state database, and outputting a transaction result;
and updating experience feedback information in the state database according to the transaction result.
2. The block chain-based nuclear power experience feedback information management method according to claim 1, wherein the performing of the system user registration includes:
the client terminal receives registration information input by a user;
the client terminal generates user information according to the registration information through a user management unit and sends the user information to an experience feedback management system;
the experience feedback management system determines the identity information of the user according to the user information; the experience feedback management system determines the identity information of the user according to the user information, and comprises the following steps: the experience feedback management system generates an identity public and private key pair of the user in a user registration module according to the user information; calling an identity management module in an experience feedback management system network architecture; determining the identity information of the user according to the identity management module;
the experience feedback management system configures corresponding channel authority and identity certificates according to the identity information of the user;
and the experience feedback management system returns a system user registration completion message to the client terminal to complete the system user registration.
3. The block chain-based nuclear power experience feedback information management method according to claim 1, wherein the uploading of the experience feedback data report after the system user registration is completed includes:
the client terminal receives an experience feedback data report input by a user after the system user registration is completed;
generating experience feedback data report information according to the experience feedback data report input by the user after the system user registration is completed;
and sending the experience feedback data report information to the experience feedback management system to finish uploading the experience feedback data report.
4. The block chain-based nuclear power experience feedback information management method according to claim 1, wherein the processing the experience feedback data report to generate experience feedback information and storing the experience feedback information in a block chain and state database includes:
judging whether the experience feedback data report meets a writing condition; the determining whether the empirical feedback data report satisfies a writing condition includes: judging whether the experience feedback data report has a report with the same version and the same content; if the reports with the same version and the same content exist, judging that the experience feedback data report meets a writing condition; if the reports with the same version and the same content do not exist, judging that the experience feedback data report does not meet the writing condition;
if yes, encrypting the experience feedback data report to generate digital assets; the encrypting the experience feedback data report comprises: calling a digital asset generation module to encrypt the experience feedback data report and generate a report digital hash value;
signature confirmation is carried out on the digital assets, and the experience feedback information is generated;
storing the experience feedback information into a block chain and a state database;
and if the experience feedback data report does not meet the writing condition, returning the experience feedback data report to the client terminal.
5. The block chain-based nuclear power experience feedback information management method according to claim 4, wherein the signature verification of the digital asset and the generating of the experience feedback information includes:
signing the digital asset;
after the signature is finished, calling experience feedback data asset registration contracts in a digital asset storage module and a chain code management module, and forming experience feedback information by the digital assets after signature confirmation;
and storing the experience feedback information into a block chain and a state database.
6. The block chain-based nuclear power experience feedback information management method according to claim 2, before the reporting of a trade application to execute a trade according to experience feedback data, comprising:
the first user terminal submits an experience feedback data report transaction application.
7. The block chain-based nuclear power experience feedback information management method according to claim 6, wherein reporting a transaction application to execute a transaction according to experience feedback data, updating experience feedback information in the block chain and the state database, and outputting a transaction result comprises:
the experience feedback management system receives the experience feedback data report transaction application;
the experience feedback management system calls a sending request through an SDK interface to submit a transaction application, and attaches a private key signature of a first user corresponding to a first user terminal to the transaction application;
after the private key signature is completed, the experience feedback management system outputs a transaction plan and broadcasts the transaction plan;
the second user terminal carries out transaction plan checking processing based on the broadcasted transaction plan and returns a checking result of the transaction plan to the experience feedback management system;
the experience feedback management system sends verified transaction applications to a third user terminal according to the inspection results of the transaction plans;
the third user terminal receives the verified transaction application, processes the verified transaction application, and outputs and broadcasts transaction block information;
and the second user terminal receives the transaction block information, updates experience feedback information in the block chain and the state database according to the transaction block information, and outputs a transaction result.
8. The block chain-based nuclear power experience feedback information management method according to claim 7, wherein the second user terminal receives the transaction block information, updates experience feedback information in the block chain and the state database according to the transaction block information, and outputs a transaction result includes:
the second user terminal receives the transaction block information;
the second user terminal obtains a transaction plan in the transaction block information according to the transaction block information;
the second user terminal checks the transaction plan in the transaction block information;
the second user terminal marks the validity of the data block in the transaction block information of the transaction plan through checking, records and stores the data block with the validity mark to a block chain, and updates the write set of the valid transaction to a state database;
and outputting a transaction result.
9. The block chain-based nuclear power experience feedback information management method according to claim 2, wherein the updating of experience feedback information in the block chain and the state database according to transaction results comprises:
the experience feedback management system obtains newly added and/or updated transaction information according to the transaction result;
and writing the newly added and/or updated transaction information into a state database, and updating the experience feedback information in the block chain and the state database.
10. A nuclear power experience feedback information management system based on a block chain is characterized by comprising the following components:
the client terminal layer is used for executing system user registration, user data management and experience feedback data management;
the intelligent interface layer is used for providing an intelligent contract;
the experience feedback data management system is used for calling the intelligent contract to upload an experience feedback data report, carrying out digital encryption processing on the experience feedback data report, generating data assets of experience feedback information, and storing the experience feedback information into a block chain and a state database;
and the database layer is used for storing the distributed block chains and the state database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110347812.3A CN112950209B (en) | 2021-03-31 | 2021-03-31 | Nuclear power experience feedback information management method and system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110347812.3A CN112950209B (en) | 2021-03-31 | 2021-03-31 | Nuclear power experience feedback information management method and system based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112950209A true CN112950209A (en) | 2021-06-11 |
CN112950209B CN112950209B (en) | 2023-05-09 |
Family
ID=76231362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110347812.3A Active CN112950209B (en) | 2021-03-31 | 2021-03-31 | Nuclear power experience feedback information management method and system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112950209B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113723913A (en) * | 2021-08-05 | 2021-11-30 | 中核武汉核电运行技术股份有限公司 | Nuclear power plant file management method, device, equipment and storage medium |
CN113743884A (en) * | 2021-08-05 | 2021-12-03 | 核动力运行研究所 | Production experience management method and device for nuclear power plant |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109347941A (en) * | 2018-10-10 | 2019-02-15 | 南京简诺特智能科技有限公司 | A kind of data sharing platform and its implementation based on block chain |
CN109729168A (en) * | 2018-12-31 | 2019-05-07 | 浙江成功软件开发有限公司 | A kind of data share exchange system and method based on block chain |
WO2019227336A1 (en) * | 2018-05-30 | 2019-12-05 | 重庆小雨点小额贷款有限公司 | Blockchain-based information processing method and device, and blockchain network |
US20200120084A1 (en) * | 2019-02-28 | 2020-04-16 | Alibaba Group Holding Limited | System and method for blockchain-based data management |
CN111245837A (en) * | 2020-01-13 | 2020-06-05 | 电子科技大学 | Block chain-based vehicle networking data sharing fine-grained access control method |
CN111444275A (en) * | 2020-03-30 | 2020-07-24 | 九次方大数据信息集团有限公司 | Block chain-based data security right confirming method and system |
CN111612619A (en) * | 2020-04-29 | 2020-09-01 | 南京邮电大学 | Storage sharing platform based on block chain and storage transaction method |
CN111985905A (en) * | 2020-08-31 | 2020-11-24 | 北京瑞友科技股份有限公司 | Social human resource management system and method based on block chain technology |
CN112311735A (en) * | 2019-07-30 | 2021-02-02 | 华为技术有限公司 | Credible authentication method, network equipment, system and storage medium |
-
2021
- 2021-03-31 CN CN202110347812.3A patent/CN112950209B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019227336A1 (en) * | 2018-05-30 | 2019-12-05 | 重庆小雨点小额贷款有限公司 | Blockchain-based information processing method and device, and blockchain network |
CN109347941A (en) * | 2018-10-10 | 2019-02-15 | 南京简诺特智能科技有限公司 | A kind of data sharing platform and its implementation based on block chain |
CN109729168A (en) * | 2018-12-31 | 2019-05-07 | 浙江成功软件开发有限公司 | A kind of data share exchange system and method based on block chain |
US20200120084A1 (en) * | 2019-02-28 | 2020-04-16 | Alibaba Group Holding Limited | System and method for blockchain-based data management |
CN112311735A (en) * | 2019-07-30 | 2021-02-02 | 华为技术有限公司 | Credible authentication method, network equipment, system and storage medium |
CN111245837A (en) * | 2020-01-13 | 2020-06-05 | 电子科技大学 | Block chain-based vehicle networking data sharing fine-grained access control method |
CN111444275A (en) * | 2020-03-30 | 2020-07-24 | 九次方大数据信息集团有限公司 | Block chain-based data security right confirming method and system |
CN111612619A (en) * | 2020-04-29 | 2020-09-01 | 南京邮电大学 | Storage sharing platform based on block chain and storage transaction method |
CN111985905A (en) * | 2020-08-31 | 2020-11-24 | 北京瑞友科技股份有限公司 | Social human resource management system and method based on block chain technology |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113723913A (en) * | 2021-08-05 | 2021-11-30 | 中核武汉核电运行技术股份有限公司 | Nuclear power plant file management method, device, equipment and storage medium |
CN113743884A (en) * | 2021-08-05 | 2021-12-03 | 核动力运行研究所 | Production experience management method and device for nuclear power plant |
Also Published As
Publication number | Publication date |
---|---|
CN112950209B (en) | 2023-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110633963B (en) | Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device | |
CN107566116B (en) | Method and apparatus for digital asset weight registration | |
CN110544095A (en) | Transaction processing method of block chain network and block chain network | |
US6622247B1 (en) | Method for certifying the authenticity of digital objects by an authentication authority and for certifying their compliance by a testing authority | |
CN111444273B (en) | Data authorization method and device based on block chain | |
CN111444550A (en) | Block chain-based service data verification method and device and readable storage medium | |
CN109241726B (en) | User authority control method and device | |
CN103080958A (en) | Method for creating/issuing electronic document distribution certificate, method for verifying electronic document distribution certificate, and system for distributing electronic document | |
CN113656780B (en) | Cross-chain access control method and device | |
US11743027B2 (en) | Decentralized methods and systems for storage, access, distribution and exchange of electronic information and documents over the internet using blockchain to protect against cyber attacks and theft | |
CN111651794A (en) | Alliance chain-based electronic data management method and device and storage medium | |
CN112950209B (en) | Nuclear power experience feedback information management method and system based on block chain | |
CN112905979B (en) | Electronic signature authorization method and device, storage medium and electronic device | |
CN111429191A (en) | Block chain-based electronic invoice flow management method, device and system | |
CN111460457A (en) | Real estate property registration supervision method, device, electronic equipment and storage medium | |
CN112149077B (en) | Supply chain billing method, system and computer equipment based on block chain technology | |
CN111815321A (en) | Transaction proposal processing method, device, system, storage medium and electronic device | |
CN111460400A (en) | Data processing method and device and computer readable storage medium | |
CN111340483A (en) | Data management method based on block chain and related equipment | |
CN113407954A (en) | Data management method and device based on block chain | |
CN112035896B (en) | Electronic contract evidence-storing system based on transaction mode | |
CN110674531A (en) | Residence information management method, device, server and medium based on block chain | |
CN114691669A (en) | Electronic certificate storage method and device, electronic equipment and storage medium | |
CN115796871A (en) | Resource data processing method and device based on block chain and server | |
CN110011796B (en) | Certificate updating 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 |