Based on the Hydrogen Energy industry data management system and method for block chain, storage medium
Technical field
The present invention relates to block chain fields, in particular to a kind of Hydrogen Energy industry data management system based on block chain
System and method, storage medium.
Background technique
Hydrogen Energy industry data control mode is the government organs or third by one with public credibility in the related technology
Square mechanism establishes the control platform of centralization, proposes the demand of supervision, enterprise inside the circle by manually provide data or
The mode of acquisition system is disposed, related data is uploaded periodically or in real time.Based on this mode, the problem of bringing is many-sided
: there is the risk attacked or collapsed in the platform of centralization single first, industry data is caused to be lost;Secondly, in enterprise
Passing data does not have believable mechanism to verify, and leading to the data validity uploaded, there are problems.
In view of the above problems in the related art, not yet there is effective solution at present.
Summary of the invention
The embodiment of the invention provides a kind of Hydrogen Energy industry data management system and method based on block chain, storages to be situated between
Matter, at least solve can if the platform of centralization is attacked or collapsed in Hydrogen Energy industry data control mode in the related technology
The problem of causing industry data to be lost.
According to one embodiment of present invention, a kind of Hydrogen Energy industry data management system based on block chain is provided, is wrapped
Include: multiple hydrogen chain nodes, different hydrogen chain nodes correspond to the enterprise of different functions or platform in the Hydrogen Energy industry;Each
One or more blocks are stored on hydrogen chain node;Wherein, the block is relevant to the Hydrogen Energy industry data for storing
Data information;The sum of data information of one or more block storage at least form one completely with Hydrogen Energy industry data phase
The block chain data information of pass;The data information relevant to the Hydrogen Energy industry data include with it is each in the Hydrogen Energy industry
The relevant data information of a function.
Optionally, the hydrogen chain node further includes at least one backup node, and the hydrogen chain node is standby with corresponding configuration
Part node is respectively used to store one or more of blocks.
Optionally, the hydrogen chain node further includes at least one branch node;The branch node, for receiving specified duty
The data information that the enterprise of energy or platform upload, and be in the data information that the enterprise or platform for verifying the specified function upload
In the case where valid data, the effective data information is sent to other hydrogen chain nodes or branch node.
Optionally, the branch node includes: data transceiving unit, for the reception and/or transmission to data information;It tests
Unit is demonstrate,proved, permission is set for verifying to the data information received, and to the data information being verified;Data record
Unit, the state for recording data information.
Optionally, the enterprise of different functions or platform include at least in the Hydrogen Energy industry: hydrogen manufacturing enterprise, Hydrogen Energy storage and transportation enterprise
Industry, hydrogen power generation enterprise plus hydrogen enterprise, Hydrogen Energy trade management platform.
According to another aspect of the present invention, a kind of Hydrogen Energy industry data management method based on block chain is provided, is wrapped
Include: the hydrogen chain node in block chain receives data information relevant to the Hydrogen Energy industry;Wherein, different hydrogen chain nodes is corresponding
The enterprise of different functions or platform in the Hydrogen Energy industry;The hydrogen chain node is by the data information memory received to block
In, and the data information received is sent to other hydrogen chain nodes of the block chain;Wherein, the block is one or more
It is a;The sum of data information of one or more block storage at least forms a completely area relevant to Hydrogen Energy industry data
Block chain data information;The data information relevant to the Hydrogen Energy industry data includes and each function in the Hydrogen Energy industry
Relevant data information.
Optionally, the method also includes: at least one being arranged by the hydrogen chain node and the hydrogen chain node is standby
Part node stores one or more of blocks respectively.
Optionally, the method also includes: by the branch node of the hydrogen chain node, receive the enterprise for specifying function or
The data information that platform uploads, and be valid data in the data information that the enterprise or platform for verifying the specified function upload
In the case of, the effective data information is sent to other hydrogen chain nodes or branch node and the state for recording the data information.
Optionally, the enterprise of different functions or platform include at least in the Hydrogen Energy industry: hydrogen manufacturing enterprise, Hydrogen Energy storage and transportation enterprise
Industry, hydrogen power generation enterprise plus hydrogen enterprise, Hydrogen Energy trade management platform.According to still another embodiment of the invention, one is additionally provided
Storage medium is planted, is stored with computer program in the storage medium, wherein the computer program is arranged to hold when operation
Step in row any of the above-described embodiment of the method.
Through the invention, the enterprise in Hydrogen Energy industry with each function or platform, can be respectively set in block chain
Corresponding hydrogen chain node, thus the characteristics of establishing the block chain alliance of Hydrogen Energy industry, being based on block chain, the hydrogen chain of different functions
The point-to-point network system based on block chain that node collectively constitutes, there is no the hardware of centralization or management organization, hydrogen
Rights and duties between chain node be it is impartial, data information in system is by all with maintenance function in whole system
Hydrogen chain node safeguards jointly, the damage of any node or loses the operation that all will not influence whole system, to solve phase
It will lead to industry data if the platform of centralization is attacked or is collapsed in Hydrogen Energy industry data control mode in the technology of pass to lose
The problem of mistake, has achieved the effect that improve the information management of Hydrogen Energy industry data.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the Hydrogen Energy industry data management method flow chart according to an embodiment of the present invention based on block chain;
Fig. 2 is the structural schematic diagram of the Hydrogen Energy industry data management system according to an embodiment of the present invention based on block chain.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
A kind of Hydrogen Energy industry data management method based on block chain is present embodiments provided, Fig. 1 is real according to the present invention
The Hydrogen Energy industry data management method flow chart based on block chain of example is applied, as shown in Figure 1, this method comprises:
Step S102, the hydrogen chain node in block chain receive data information relevant to Hydrogen Energy industry;Wherein, different hydrogen
Chain node corresponds to the enterprise of different functions or platform in Hydrogen Energy industry;
Step S104, hydrogen chain node by the data information memory received into block, and the data information that will be received
Send other hydrogen chain nodes of block chain;Wherein, block is one or more;The data information of one or more block storage
The sum of at least form a complete block chain data information relevant to Hydrogen Energy industry data;It is relevant to Hydrogen Energy industry data
Data information includes data information relevant to function each in Hydrogen Energy industry.
It should be noted that the enterprise of different functions or platform include at least in Hydrogen Energy industry: hydrogen manufacturing enterprise, Hydrogen Energy storage and transportation
Enterprise, hydrogen power generation enterprise plus hydrogen enterprise, Hydrogen Energy trade management platform;Certain above-mentioned enterprise or platform are only Hydrogen Energy industry
In common enterprise or platform, enterprises or platform with other functions are also that can be added by the way that corresponding hydrogen chain node is arranged
Into the block chain.
That is, the method based on upper the present embodiment, enterprise or platform in Hydrogen Energy industry with each function can be with
Corresponding hydrogen chain node is respectively set in block chain, so that the block chain alliance of Hydrogen Energy industry is established, based on block chain
Feature, the point-to-point network system based on block chain that the hydrogen chain node of different functions collectively constitutes, is not present centralization
Hardware or management organization, the rights and duties between hydrogen chain node be it is impartial, the data information in system is by whole system
In all hydrogen chain nodes with maintenance function safeguard jointly, the damage of any node or lose and all will not influence whole system
Operation, to solve in Hydrogen Energy industry data control mode in the related technology if the platform of centralization is attacked or collapsed
It then will lead to the problem of industry data is lost, achieved the effect that improve the information management of Hydrogen Energy industry data.
In the optional embodiment of the present embodiment, the method and step of the present embodiment further include:
Step S106 stores one or more by least one backup node of hydrogen chain node and the setting of hydrogen chain node respectively
A block.
Due to the sum of data information of one or more block storage at least form one completely with Hydrogen Energy industry number
There is the data information of equity according to each hydrogen chain node of relevant block chain data information namely the system, even if its
In data information in a hydrogen chain node be tampered, the accuracy of data information on other hydrogen chain nodes will not be influenced, from
And avoid the risk that data are tampered.
Such as: certain Hydrogen Energy circulation enterprise attempts to escape, and to delete the Hydrogen Energy in oneself record under one's name, this also can only the enterprise
The hydrogen chain node of the block chain of industry accomplishes, and in system the hydrogen chain node of the block chain of other members data, be that can not be deleted
It removes.
In another optional embodiment of the present embodiment, the method and step of the present embodiment can also include:
Step S108 receives the data letter of the enterprise for specifying function or platform upload by the branch node of hydrogen chain node
Breath, and in the case where the data information that verifying specifies the enterprise of function or platform to upload is valid data, it is effective to send this
Data information is to other hydrogen chain nodes or branch node and the state of recording data information.
That is, the data information of Hydrogen Energy industry is all linked with one another in a manner of responsible party ' block ', automation
The Hydrogen Energy data information compliance for verifying upstream and downstream ' block ' guarantees the true complete of data, and can completely recorded data change
Process.
For the process of verifying, the data of the enterprise or platform that may is that each function in concrete application scene are uploaded
Initialization verifying is carried out before to hydrogen chain node, by link standards and specifications, guarantees the reliability of data, such as hydrogen transport enterprise
Industry upload Hydrogen Vapor Pressure, can by check data whether in the zone of reasonableness of air pressure come verify data;Standard after data cochain
True property verifying, by data all on chain, node trustee can according to the comparison and retrospect between data, verify data it is accurate
Property;The locking mechanism of enterprise's uplink data when enterprise's uplink data, needs to lock certain Token, lock-up cycle is arranged, only
Have after the verifying of enterprise's uplink data is errorless, the token of locking can just be returned.
Embodiment 2
A kind of Hydrogen Energy industry data management system based on block chain is present embodiments provided, which includes: multiple hydrogen
Chain node, different hydrogen chain nodes correspond to the enterprise of different functions or platform in Hydrogen Energy industry;
In addition, being stored with one or more blocks on each hydrogen chain node;Wherein, block is for storing and Hydrogen Energy industry
The relevant data information of data;The sum of data information of one or more block storage at least forms one completely and Hydrogen Energy
The relevant block chain data information of industry data;Data information relevant to Hydrogen Energy industry data include with it is each in Hydrogen Energy industry
The relevant data information of function.
It should be noted that the enterprise of different functions or platform include at least in Hydrogen Energy industry: hydrogen manufacturing enterprise, Hydrogen Energy storage and transportation
Enterprise, hydrogen power generation enterprise plus hydrogen enterprise, Hydrogen Energy trade management platform.Based on this, Fig. 2 is base according to an embodiment of the present invention
In the Hydrogen Energy industry data schematic diagram of management system structure of block chain.
That is, the system based on upper the present embodiment, enterprise or platform in Hydrogen Energy industry with each function can be with
Corresponding hydrogen chain node is respectively set in block chain, so that the block chain alliance of Hydrogen Energy industry is established, based on block chain
Feature, the point-to-point network system based on block chain that the hydrogen chain node of different functions collectively constitutes, is not present centralization
Hardware or management organization, the rights and duties between hydrogen chain node be it is impartial, the data information in system is by whole system
In all hydrogen chain nodes with maintenance function safeguard jointly, the damage of any node or lose and all will not influence whole system
Operation, to solve in Hydrogen Energy industry data control mode in the related technology if the platform of centralization is attacked or collapsed
It then will lead to the problem of industry data is lost, achieved the effect that improve the information management of Hydrogen Energy industry data.
In the optional embodiment of the present embodiment, the hydrogen chain node being related in the present embodiment further includes that at least one is standby
Part node, hydrogen chain node are respectively used to store one or more blocks with the backup node of corresponding configuration.Due to this or more
The sum of the data information of a block storage at least forms a completely block chain data information relevant to Hydrogen Energy industry data,
Namely each hydrogen chain node of the system has the data information of equity, even if the data in one of hydrogen chain node are believed
Breath is tampered, and will not influence the accuracy of data information on other hydrogen chain nodes, the risk being tampered so as to avoid data.
Such as: certain Hydrogen Energy circulation enterprise attempts to escape, and to delete the Hydrogen Energy in oneself record under one's name, this also can only the enterprise
The hydrogen chain node of the block chain of industry accomplishes, and in system the hydrogen chain node of the block chain of other members data, be that can not be deleted
It removes.
In another optional embodiment of the present embodiment, the hydrogen chain node in the present embodiment further includes at least one point
Zhi Jiedian;The branch node, for receiving the data information for specifying the enterprise of function or platform to upload, and in the specified function of verifying
Enterprise or platform upload data information be valid data in the case where, send the effective data information to other hydrogen chain links
Point or branch node.
Optionally, which includes: data transceiving unit, for the reception and/or transmission to data information;Verifying
Permission is arranged for verifying to the data information received, and to the data information being verified in unit;Data records list
Member, the state for recording data information.
That is, the data information of Hydrogen Energy industry is all linked with one another in a manner of responsible party ' block ', automation
The Hydrogen Energy data information compliance for verifying upstream and downstream ' block ' guarantees the true complete of data, and can completely recorded data change
Process.
For the process of verifying, the data of the enterprise or platform that may is that each function in concrete application scene are uploaded
Initialization verifying is carried out before to hydrogen chain node, by link standards and specifications, guarantees the reliability of data, such as hydrogen transport enterprise
Industry upload Hydrogen Vapor Pressure, can by check data whether in the zone of reasonableness of air pressure come verify data;Standard after data cochain
True property verifying, by data all on chain, node trustee can according to the comparison and retrospect between data, verify data it is accurate
Property;The locking mechanism of enterprise's uplink data when enterprise's uplink data, needs to lock certain Token, lock-up cycle is arranged, only
Have after the verifying of enterprise's uplink data is errorless, the token of locking can just be returned.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1, the hydrogen chain node in block chain receive data information relevant to Hydrogen Energy industry;Wherein, different hydrogen chain node
Enterprise or platform corresponding to functions different in Hydrogen Energy industry;
The data information memory received is sent area into block, and by the data information received by S2, hydrogen chain node
Other hydrogen chain nodes of block chain;Wherein, block is one or more;The sum of data information of one or more block storage is extremely
A completely block chain data information relevant to Hydrogen Energy industry data is formed less;Data letter relevant to Hydrogen Energy industry data
Breath includes data information relevant to function each in Hydrogen Energy industry.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.
With replacement, improvement etc., should all be included in the protection scope of the present invention.