CN108416226A - Right management method, device and the computer readable storage medium of block chain - Google Patents

Right management method, device and the computer readable storage medium of block chain Download PDF

Info

Publication number
CN108416226A
CN108416226A CN201810160576.2A CN201810160576A CN108416226A CN 108416226 A CN108416226 A CN 108416226A CN 201810160576 A CN201810160576 A CN 201810160576A CN 108416226 A CN108416226 A CN 108416226A
Authority
CN
China
Prior art keywords
node
block chain
permission
sovereignty
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
Application number
CN201810160576.2A
Other languages
Chinese (zh)
Other versions
CN108416226B (en
Inventor
万麟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhi Qian Block Chain Science And Technology Co Ltd
Original Assignee
Shenzhen Zhi Qian Block Chain Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhi Qian Block Chain Science And Technology Co Ltd filed Critical Shenzhen Zhi Qian Block Chain Science And Technology Co Ltd
Priority to CN201810160576.2A priority Critical patent/CN108416226B/en
Publication of CN108416226A publication Critical patent/CN108416226A/en
Application granted granted Critical
Publication of CN108416226B publication Critical patent/CN108416226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

The invention discloses a kind of right management methods of block chain, set the establishment node of the first government affairs chain ecological network to node with sovereign right, and set other nodes in the first government affairs chain ecological network to slave node;In the privileges configuration information for receiving slave node, the first authority information of slave node is arranged based on privileges configuration information by intelligent contract for node with sovereign right;In the posting request for receiving business datum, the corresponding publisher node of posting request obtains corresponding second authority information of posting request and information to be released;Publisher node is based on first authority information and the second authority information and issues information to be released to the corresponding node of the second authority information by intelligent contract.The invention also discloses a kind of rights management device of block chain and computer readable storage mediums.The present invention realizes the setting of each node permission in the first government affairs chain ecological network, and can be released news according to the permission of each node.

Description

Right management method, device and the computer readable storage medium of block chain
Technical field
The present invention relates to block chain technical field more particularly to a kind of right management method, device and the calculating of block chain Machine readable storage medium storing program for executing.
Background technology
Currently, most enterprises and non-profile unit, all using the management mode of the pyramid authorized layer by layer.It is this The benefit of pattern is that manager can be allowed to be easy to control the overall situation, and manager can command, lead and guide each member towards tissue Target hard-working, ensure tissue it is powerful without disintegrating.
But based on block chain have complete decentralization, information highly transparent characteristic so that block chain technology is difficult The scene for needing sovereignty management in an own service ecology is applied, is applied in the life for needing sovereignty management by block chain technology When in state, it is difficult to ensure each node status equality, just of block chain.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill Art.
Invention content
The main purpose of the present invention is to provide a kind of right management method of block chain, device and computer-readable storages Medium, it is intended to solve applying block chain technology into each node for being difficult to ensure block chain when in the ecology for needing sovereignty management Equal technical problem.
To achieve the above object, the present invention provides a kind of right management method of block chain, the permission pipe of the block chain Reason method includes the following steps:
Set the establishment node of the first government affairs chain ecological network to node with sovereign right, and by the first government affairs chain ecological net Other nodes in network are set as slave node;
When receiving the privileges configuration information of the slave node, the sovereignty node is based on the privileges configuration information First authority information of the slave node is set by intelligent contract;
In the posting request for receiving business datum, the posting request corresponding publisher node acquisition publication is asked Ask corresponding second authority information and information to be released;
The publisher node is based on first authority information and second authority information leads to the information to be released Intelligent contract is crossed to the corresponding node publication of second authority information.
Further, in one embodiment, the node with sovereign right passes through intelligent contract based on the privileges configuration information After the step of the first authority information of the slave node is arranged, the right management method of the block chain further includes:
When receiving permission modification instruction, the sovereignty node obtains the permission modification and instructs corresponding first subordinate Node and third authority information;
The power of first slave node is arranged based on the third authority information by intelligent contract for the sovereignty node Limit information.
Further, in one embodiment, described when receiving permission modification instruction, the sovereignty node obtains institute Stating the step of permission modification instructs corresponding first slave node and third authority information includes:
When receiving permission edit requests, permission editing interface is shown in the corresponding display interface of the sovereignty node;
Instruction is changed receiving the permission triggered based on the permission editing interface, the sovereignty node obtains the power Limit modification instructs corresponding first slave node and third authority information.
Further, in one embodiment, the node with sovereign right passes through intelligent contract based on the privileges configuration information After the step of the first authority information of the slave node is arranged, the right management method of the block chain further includes:
When receiving knot removal instruction, the sovereignty node obtains the deletion and instructs corresponding second subordinate section Point;
The sovereignty node deletes the second subordinate section by intelligent contract in the first government affairs chain ecological network Point.
Further, in one embodiment, the right management method of the block chain further includes:
In the permission grant request for receiving the transmission of the second government affairs chain ecological network, the sovereignty node passes through intelligent conjunction About the permission grant is asked to carry out verification operation;
The permission grant requests verification by when, it is described sovereignty node the second government affairs chain ecological network is carried out Authorized operation.
Further, in one embodiment, the right management method of the block chain further includes:
In the access request for receiving the business datum of third government affairs chain ecological network transmission, the sovereignty node is to institute It states access request and carries out Authority Verification operation, whether have the business datum with the determination third government affairs chain ecological network Consult permission;
When the access request permissions is verified, the sovereignty node sends the business datum to the third political affairs Business chain ecological network.
Further, in one embodiment, described in the business datum for receiving the transmission of third government affairs chain ecological network Access request when, it is described sovereignty node to accesss request progress Authority Verification operation the step of after, the block chain Right management method further include:
The access request permissions verification not by when, it is described sovereignty node send third government affairs chain ecological network does not have The prompt message of the access permission of the standby business datum is to the third government affairs chain ecological network.
Further, in one embodiment, the establishment node by the first government affairs chain ecological network is set as sovereignty Node, and before the step of setting other nodes in the first government affairs chain ecological network to slave node, the block The right management method of chain further includes:
Intelligent contract of the deployment for rights management in the first government affairs chain ecological network.
In addition, to achieve the above object, the present invention also provides a kind of rights management device of block chain, the block chain Rights management device includes:Memory, processor and it is stored in the area that can be run on the memory and on the processor Any of the above-described institute is realized when the rights management program of the rights management program of block chain, the block chain is executed by the processor The step of right management method for the block chain stated.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium The rights management program of block chain is stored on storage medium, it is real when the rights management program of the block chain is executed by processor The step of right management method of existing block chain described in any one of the above embodiments.
The present invention is by setting the establishment node of the first government affairs chain ecological network to node with sovereign right, and by first political affairs Other nodes in business chain ecological network are set as slave node, then in the privileges configuration information for receiving the slave node When, the first permission that the slave node is arranged based on the privileges configuration information by intelligent contract for the sovereignty node is believed Breath, then in the posting request for receiving business datum, the posting request corresponding publisher node acquisition publication is asked Corresponding second authority information is sought, then the publisher node is based on first authority information and second authority information will By intelligent contract to the corresponding node publication of second authority information, each section in the first government affairs chain ecological network is realized The setting of point permission, and can be released news according to the permission of each node so that the status of the node with identical permission is flat Deng, and can ensure that data information does not leak.
Description of the drawings
Fig. 1 is that the structure of the rights management device of block chain in the hardware running environment that the embodiment of the present invention is related to is shown It is intended to;
Fig. 2 is the flow diagram of one embodiment of right management method of block chain of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, the rights management of block chain fills in the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to The structural schematic diagram set.
Terminal of the embodiment of the present invention can be PC, can also be smart mobile phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency level 4) the packaged type terminal device with display function such as player, pocket computer.
As shown in Figure 1, the terminal may include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally that the wired of standard connects Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage system.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axis) acceleration, quiet Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media Believe module, the rights management program of Subscriber Interface Module SIM and block chain.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001 can be used for calling the rights management program of the block chain stored in memory 1005.
In the present embodiment, the rights management device of block chain includes:It memory 1005, processor 1001 and is stored in On the memory 1005 and the rights management program of block chain that can be run on the processor 1001, wherein processor When the rights management program of the block chain stored in 1001 calling memories 1005, and execute following operation:
Set the establishment node of the first government affairs chain ecological network to node with sovereign right, and by the first government affairs chain ecological net Other nodes in network are set as slave node;
When receiving the privileges configuration information of the slave node, the sovereignty node is based on the privileges configuration information First authority information of the slave node is set by intelligent contract;
In the posting request for receiving business datum, the posting request corresponding publisher node acquisition publication is asked Ask corresponding second authority information and information to be released;
The publisher node is based on first authority information and second authority information leads to the information to be released Intelligent contract is crossed to the corresponding node publication of second authority information.
Further, processor 1001 can call the rights management program of the block chain stored in memory 1005, also Execute following operation:
When receiving permission modification instruction, the sovereignty node obtains the permission modification and instructs corresponding first subordinate Node and third authority information;
The power of first slave node is arranged based on the third authority information by intelligent contract for the sovereignty node Limit information.
Further, processor 1001 can call the rights management program of the block chain stored in memory 1005, also Execute following operation:
When receiving permission edit requests, permission editing interface is shown in the corresponding display interface of the sovereignty node;
Instruction is changed receiving the permission triggered based on the permission editing interface, the sovereignty node obtains the power Limit modification instructs corresponding first slave node and third authority information.
Further, processor 1001 can call the rights management program of the block chain stored in memory 1005, also Execute following operation:
When receiving knot removal instruction, the sovereignty node obtains the deletion and instructs corresponding second subordinate section Point;
The sovereignty node deletes the second subordinate section by intelligent contract in the first government affairs chain ecological network Point.
Further, processor 1001 can call the rights management program of the block chain stored in memory 1005, also Execute following operation:
In the permission grant request for receiving the transmission of the second government affairs chain ecological network, the sovereignty node passes through intelligent conjunction About the permission grant is asked to carry out verification operation;
The permission grant requests verification by when, it is described sovereignty node the second government affairs chain ecological network is carried out Authorized operation.
Further, processor 1001 can call the rights management program of the block chain stored in memory 1005, also Execute following operation:
In the access request for receiving the business datum of third government affairs chain ecological network transmission, the sovereignty node is to institute It states access request and carries out Authority Verification operation, whether have the business datum with the determination third government affairs chain ecological network Consult permission;
When the access request permissions is verified, the sovereignty node sends the business datum to the third political affairs Business chain ecological network.
Further, processor 1001 can call the rights management program of the block chain stored in memory 1005, also Execute following operation:
The access request permissions verification not by when, it is described sovereignty node send third government affairs chain ecological network does not have The prompt message of the access permission of the standby business datum is to the third government affairs chain ecological network.
Further, processor 1001 can call the rights management program of the block chain stored in memory 1005, also Execute following operation:
Intelligent contract of the deployment for rights management in the first government affairs chain ecological network.
The present invention also provides a kind of right management methods of block chain, are the permission of block chain of the present invention with reference to Fig. 2, Fig. 2 The flow diagram of one embodiment of management method.
In the present embodiment, the right management method of the block chain includes the following steps:
Step S110 sets the establishment node of the first government affairs chain ecological network to node with sovereign right, and by first political affairs Other nodes in business chain ecological network are set as slave node;
In the present embodiment, mechanism of department creates the system of oneself on the first government affairs chain ecological network and completes to have industry by oneself When the ecological environment of business creates, it sets the establishment node of the first government affairs chain ecological network to node with sovereign right, and by described first Other nodes in government affairs chain ecological network are set as slave node.
Step S120, when receiving the privileges configuration information of the slave node, the sovereignty node is based on the power The first authority information of the slave node is arranged by intelligent contract for limit configuration information;
In the present embodiment, subordinate section of the system in the first government affairs chain ecological network can be set by node with sovereign right The permission of point, for example, the permission of slave node can be arranged in founder by the display interface of the corresponding terminal of node with sovereign right.
In the present embodiment, when receiving the privileges configuration information of the slave node, the sovereignty node is based on institute The first authority information that the slave node is arranged by intelligent contract for privileges configuration information is stated, which may include The information of multiple permissions, different slave nodes to be arranged different permissions.
Step S130, in the posting request for receiving business datum, the corresponding publisher node of the posting request obtains Corresponding second authority information of posting request and information to be released;
It in the present embodiment, can be by the sovereignty node and slave node after the completion of the priority assignation of slave node Any node release news, which is publisher node.
In the present embodiment, in the posting request for receiving business datum, the corresponding publisher node of the posting request obtains Take corresponding second authority information of the posting request and information to be released, the i.e. publisher node that it is corresponding to obtain the posting request Information to be released and corresponding second authority information of the information to be released.
Step S140, the publisher node is based on first authority information and second authority information will be described pending Cloth information is issued by intelligent contract to the corresponding node of second authority information.
In the present embodiment, when getting the second authority information and information to be released, which is based on described the One authority information and second authority information are by the information to be released by intelligent contract to second authority information pair The node publication answered, and then realize and the information to be released is issued according to the first authority information and second authority information.
In the present embodiment, founder can increase node by node with sovereign right and the permission of increased node is arranged.
In one embodiment, before step S110, the right management method of the block chain further includes:Described first Intelligent contract of the deployment for rights management in government affairs chain ecological network.
For example, a certain department creates oneself independent management platform in government affairs chain ecology.The leader of the department possesses Node with sovereign right, can be operated to carrying out internal function division, information data etc. in platform;The leader of department is by enterprise The public informations such as culture, current events dynamic, great achievement show internal each employee on platform, and only by important decision content The employee of director's rank or more is showed to check.
The right management method for the block chain that the present embodiment proposes, by by the establishment node of the first government affairs chain ecological network It is set as node with sovereign right, and sets other nodes in the first government affairs chain ecological network to slave node, is then being connect When receiving the privileges configuration information of the slave node, the sovereignty node passes through intelligent contract based on the privileges configuration information First authority information of the slave node is set, then in the posting request for receiving business datum, the posting request Corresponding publisher node obtains corresponding second authority information of the posting request, and then the publisher node is based on described first Authority information and second authority information will be issued by intelligent contract to the corresponding node of second authority information, be realized The setting of each node permission in the first government affairs chain ecological network, and can be released news according to the permission of each node, make The equal of the node with identical permission is obtained, and can ensure that data information does not leak.
Based on first embodiment, the second embodiment of the right management method of block chain of the present invention is proposed, in the present embodiment In, after step S120, the right management method of block chain further includes:
Step S150, when receiving permission modification instruction, the sovereignty node obtains the permission modification instruction and corresponds to The first slave node and third authority information;
In the present embodiment, founder specifically can pass through sovereignty by the permission of node with sovereign right modification slave node The display interface setting of the terminal of node needs the permission for the slave node changed, and is triggered and weighed by the button of the display interface Limit modification instruction.
In the present embodiment, when receiving permission modification instruction, which obtains the permission modification instruction pair The first slave node and third authority information answered obtain slave node and the subordinate that the needs of founder setting are changed The authority information of node.
Step S160, the sovereignty node are based on the third authority information and first subordinate are arranged by intelligent contract The authority information of node.
In the present embodiment, when getting first slave node and third authority information, node with sovereign right is based on institute The authority information that first slave node is arranged by intelligent contract for third authority information is stated, i.e., by the third authority information pair The priority assignation answered is the permission of first slave node.
For example, when there is the employee to promote in department, the permission for the slave node for improving the employee is needed, the department Leader can change the permission of the slave node of the employee by node with sovereign right.
The present embodiment propose block chain right management method, by receive permission modification instruction when, the master It weighs node and obtains corresponding first slave node of the permission modification instruction and third authority information, then node with sovereign right is based on institute The authority information that first slave node is arranged by intelligent contract for third authority information is stated, slave node permission is realized Modification can be changed the permission of slave node by node with sovereign right, improve the rights management efficiency of slave node.
Based on second embodiment, the 3rd embodiment of the right management method of block chain of the present invention is proposed, in the present embodiment In, include in step S150:
Step S151 shows permission when receiving permission edit requests in the corresponding display interface of the sovereignty node Editing interface;
In the present embodiment, founder can trigger permission editor by the display interface of the corresponding terminal of node with sovereign right and ask It asks, when receiving permission edit requests, permission editing interface, founder is shown in the corresponding display interface of the sovereignty node It can select to need the slave node of modification authority in the permission editing interface and the authority information of slave node is set.
Step S152 changes instruction, the sovereignty node receiving the permission triggered based on the permission editing interface It obtains the permission modification and instructs corresponding first slave node and third authority information.
In the present embodiment, the permission modification instruction triggered based on the permission editing interface, sovereignty section are being received Point obtains the permission modification and instructs corresponding first slave node and third authority information, that is, obtains the need of founder setting The authority information of the slave node to be changed and the slave node, specifically can by parse the permission modification instruction obtain first from Belong to node and third authority information.
The right management method for the block chain that the present embodiment proposes, by when receiving permission edit requests, described The corresponding display interface of node with sovereign right shows permission editing interface, is then triggered based on the permission editing interface receiving Permission modification instruction, the sovereignty node obtain the permission modification and instruct corresponding first slave node and third permission letter Breath so that the permission of slave node can be arranged in founder by permission editing interface, further improve the management of slave node Efficiency.
Based on first embodiment, the fourth embodiment of the right management method of block chain of the present invention is proposed, in the present embodiment In, after step S120, the right management method of block chain further includes:
Step S170, when receiving knot removal instruction, the sovereignty node obtains deletions and instructs corresponding the Two slave nodes;
In the present embodiment, founder can be by the permission of knot removal slave node with sovereign right, and specifically, founder can lead to The display interface triggering knot removal request for crossing the corresponding terminal of node with sovereign right, when receiving knot removal request, described The corresponding display interface of node with sovereign right shows permission editing interface, what founder can select to need delete in the permission editing interface Slave node.
In the present embodiment, when receiving knot removal instruction, the sovereignty node obtains the deletion instruction and corresponds to The second slave node, specifically, which can instruct to obtain second slave node by parsing the knot removal.
Step S180, the sovereignty node delete in the first government affairs chain ecological network described the by intelligent contract Two slave nodes.
In the present embodiment, when getting the second slave node, the sovereignty node is by intelligent contract described first Second slave node is deleted in government affairs chain ecological network, and then realizes the deletion of slave node.For example, existing in department It leaves office or when pensioner employee, needs the slave node for deleting the employee, the leader of the department that can pass through knot removal with sovereign right The slave node of the employee.
The present embodiment propose block chain right management method, by receive knot removal instruction when, the master Weigh node and obtain deletions and instruct corresponding second slave node, then the sovereignty node by intelligent contract described the Second slave node is deleted in one government affairs chain ecological network, the deletion of slave node is realized, further improves node The efficiency of management.
Based on first embodiment, the 5th embodiment of the right management method of block chain of the present invention is proposed, in the present embodiment In, the right management method of the block chain further includes:
Step S190, in the permission grant request for receiving the transmission of the second government affairs chain ecological network, the sovereignty node The permission grant is asked by intelligent contract to carry out verification operation;
In the present embodiment, node with sovereign right can be somebody's turn to do according to the permission grant request setting that the second government affairs chain ecological network is sent The permission of information flow is specifically receiving second between first government affairs chain ecological network and the second government affairs chain ecological network When the permission grant request that government affairs chain ecological network is sent, the sovereignty node asks the permission grant by intelligent contract Verification operation is carried out, which can be verification operation under line.
Step S200, the permission grant requests verification by when, it is described sovereignty node the second government affairs chain is given birth to State network carries out Authorized operation.
In the present embodiment, the permission grant requests verification by when, it is described sovereignty node to second government affairs Chain ecological network carries out Authorized operation, so that the second government affairs chain ecological network can consult the sovereignty node corresponding first Business information in government affairs chain ecological network.
For example, a certain department and bank all create oneself independent management platform, department bosom in government affairs chain ecology Doubt certain unit have economic irregularities require to look up certain unit bank record of transferring accounts, since the client that at this moment bank is arranged is hidden Personal letter ceases, therefore can not be checked on the ecological platform of bank.At this moment the department needs to file an application to bank, silver-colored when obtaining After the mandate of row leader, corresponding information is just viewed.
The right management method for the block chain that the present embodiment proposes, by receiving the transmission of the second government affairs chain ecological network Permission grant request when, it is described sovereignty node by intelligent contract to the permission grant ask carry out verification operation, then The permission grant requests verification by when, it is described sovereignty node mandate behaviour is carried out to the second government affairs chain ecological network Make, realizes the mandate between the first government affairs chain ecological network and the second government affairs chain ecological network so that user can be according to mandate The Authorization result of operation is checked or is called in the first government affairs chain ecological network by the node in the second government affairs chain ecological network Business datum.
Based on the 5th embodiment, the sixth embodiment of the right management method of block chain of the present invention is proposed, in the present embodiment In, the right management method of the block chain further includes:
Step S210, in the access request for receiving the business datum of third government affairs chain ecological network transmission, the master It weighs node the access is asked to carry out Authority Verification operation, whether have with the determination third government affairs chain ecological network described The access permission of business datum;
In the present embodiment, other government affairs chain ecological networks can send the access value request of business datum first government affairs Chain ecological network is receiving the life of third government affairs chain to check or call the business datum in the first government affairs chain ecological network When the access request for the business datum that state network is sent, the sovereignty node carries out permission to the access request of the business datum Whether verification operation has the access permission of the business datum with the determination third government affairs chain ecological network.
Step S220, when the access request permissions is verified, the sovereignty node sends the business datum extremely The third government affairs chain ecological network.
In the present embodiment, when the business datum is consulted request permissions and is verified, the third government affairs chain ecological net Network checks permission with the business datum, which sends the business datum to the third government affairs chain ecological net Network, to realize the circulation of business datum between different government affairs chain ecological networks.
Further, in one embodiment, after step S210, the right management method of the block chain further includes:
The access request permissions verification not by when, it is described sovereignty node send third government affairs chain ecological network does not have The prompt message of the access permission of the standby business datum is to the third government affairs chain ecological network.
Business datum consult request permissions verification not by when, pass through send prompt message prompt send the access request Do not have the access permission of the business datum.
The right management method for the block chain that the present embodiment proposes, by receiving the transmission of third government affairs chain ecological network Business datum access request when, it is described sovereignty node to accesss request progress Authority Verification operation, described in determination Whether third government affairs chain ecological network has the access permission of the business datum, then logical in access request permissions verification Out-of-date, the sovereignty node sends the business datum to the third government affairs chain ecological network, realizes different government affairs chain lifes The circulation of business datum between state network, and ensure by Authority Verification the safety of business datum.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with the rights management program of block chain, following behaviour is realized when the rights management program of the block chain is executed by processor Make:
Set the establishment node of the first government affairs chain ecological network to node with sovereign right, and by the first government affairs chain ecological net Other nodes in network are set as slave node;
When receiving the privileges configuration information of the slave node, the sovereignty node is based on the privileges configuration information First authority information of the slave node is set by intelligent contract;
In the posting request for receiving business datum, the posting request corresponding publisher node acquisition publication is asked Ask corresponding second authority information and information to be released;
The publisher node is based on first authority information and second authority information leads to the information to be released Intelligent contract is crossed to the corresponding node publication of second authority information.
Further, following operation is also realized when the rights management program of the block chain is executed by processor:
When receiving permission modification instruction, the sovereignty node obtains the permission modification and instructs corresponding first subordinate Node and third authority information;
The power of first slave node is arranged based on the third authority information by intelligent contract for the sovereignty node Limit information.
Further, following operation is also realized when the rights management program of the block chain is executed by processor:
When receiving permission edit requests, permission editing interface is shown in the corresponding display interface of the sovereignty node;
Instruction is changed receiving the permission triggered based on the permission editing interface, the sovereignty node obtains the power Limit modification instructs corresponding first slave node and third authority information.
Further, following operation is also realized when the rights management program of the block chain is executed by processor:
When receiving knot removal instruction, the sovereignty node obtains the deletion and instructs corresponding second subordinate section Point;
The sovereignty node deletes the second subordinate section by intelligent contract in the first government affairs chain ecological network Point.
Further, following operation is also realized when the rights management program of the block chain is executed by processor:
In the permission grant request for receiving the transmission of the second government affairs chain ecological network, the sovereignty node passes through intelligent conjunction About the permission grant is asked to carry out verification operation;
The permission grant requests verification by when, it is described sovereignty node the second government affairs chain ecological network is carried out Authorized operation.
Further, following operation is also realized when the rights management program of the block chain is executed by processor:
In the access request for receiving the business datum of third government affairs chain ecological network transmission, the sovereignty node is to institute It states access request and carries out Authority Verification operation, whether have the business datum with the determination third government affairs chain ecological network Consult permission;
When the access request permissions is verified, the sovereignty node sends the business datum to the third political affairs Business chain ecological network.
Further, following operation is also realized when the rights management program of the block chain is executed by processor:
The access request permissions verification not by when, it is described sovereignty node send third government affairs chain ecological network does not have The prompt message of the access permission of the standby business datum is to the third government affairs chain ecological network.
Further, following operation is also realized when the rights management program of the block chain is executed by processor:
Intelligent contract of the deployment for rights management in the first government affairs chain ecological network.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of right management method of block chain, which is characterized in that the right management method of the block chain includes following step Suddenly:
Set the establishment node of the first government affairs chain ecological network to node with sovereign right, and will be in the first government affairs chain ecological network Other nodes be set as slave node;
When receiving the privileges configuration information of the slave node, the sovereignty node is passed through based on the privileges configuration information The first authority information of the slave node is arranged in intelligent contract;
In the posting request for receiving business datum, the posting request corresponding publisher node acquisition posting request pair The second authority information answered and information to be released;
The publisher node is based on first authority information and the information to be released is passed through intelligence by second authority information Energy contract is issued to the corresponding node of second authority information.
2. the right management method of block chain as described in claim 1, which is characterized in that the sovereignty node is based on the power After the step of the first authority information of the slave node is arranged by intelligent contract in limit configuration information, the power of the block chain Limiting management method further includes:
When receiving permission modification instruction, the sovereignty node obtains the permission modification and instructs corresponding first slave node And third authority information;
The permission that first slave node is arranged based on the third authority information by intelligent contract for the sovereignty node is believed Breath.
3. the right management method of block chain as claimed in claim 2, which is characterized in that it is described receive permission modification refer to When enabling, the sovereignty node obtains the step of permission modification instructs corresponding first slave node and third authority information and wraps It includes:
When receiving permission edit requests, permission editing interface is shown in the corresponding display interface of the sovereignty node;
Instruction is changed receiving the permission triggered based on the permission editing interface, the sovereignty node obtains the permission and repaiies Change corresponding first slave node of instruction and third authority information.
4. the right management method of block chain as described in claim 1, which is characterized in that the sovereignty node is based on the power After the step of the first authority information of the slave node is arranged by intelligent contract in limit configuration information, the power of the block chain Limiting management method further includes:
When receiving knot removal instruction, the sovereignty node obtains the deletion and instructs corresponding second slave node;
The sovereignty node deletes second slave node by intelligent contract in the first government affairs chain ecological network.
5. the right management method of block chain as described in claim 1, which is characterized in that the rights management side of the block chain Method further includes:
In the permission grant request for receiving the transmission of the second government affairs chain ecological network, the sovereignty node passes through intelligent contract pair The permission grant request carries out verification operation;
The permission grant requests verification by when, it is described sovereignty node the second government affairs chain ecological network is authorized Operation.
6. the right management method of block chain as claimed in claim 5, which is characterized in that the rights management side of the block chain Method further includes:
In the access request for receiving the business datum of third government affairs chain ecological network transmission, the sovereignty node is looked into described It reads request and carries out Authority Verification operation, whether have the access of the business datum with the determination third government affairs chain ecological network Permission;
When the access request permissions is verified, the sovereignty node sends the business datum to the third government affairs chain Ecological network.
7. the right management method of block chain as claimed in claim 6, which is characterized in that described to receive third government affairs chain When the access request for the business datum that ecological network is sent, the sovereignty node asks the access to carry out Authority Verification operation The step of after, the right management method of the block chain further includes:
The access request permissions verification not by when, it is described sovereignty node send third government affairs chain ecological network do not have institute The prompt message of the access permission of business datum is stated to the third government affairs chain ecological network.
8. the right management method of block chain as described in any one of claim 1 to 7, which is characterized in that described by the first political affairs The establishment node of business chain ecological network is set as node with sovereign right, and other nodes in the first government affairs chain ecological network are set Before the step of being set to slave node, the right management method of the block chain further includes:
Intelligent contract of the deployment for rights management in the first government affairs chain ecological network.
9. a kind of rights management device of block chain, which is characterized in that the rights management device of the block chain includes:Storage Device, processor and the rights management program for being stored in the block chain that can be run on the memory and on the processor, institute It states and realizes such as block described in any item of the claim 1 to 8 when the rights management program of block chain is executed by the processor The step of right management method of chain.
10. a kind of computer readable storage medium, which is characterized in that be stored with block chain on the computer readable storage medium Rights management program, realized when the rights management program of the block chain is executed by processor as any in claim 1 to 8 The step of right management method of block chain described in.
CN201810160576.2A 2018-02-26 2018-02-26 Authority management method and device of block chain and computer readable storage medium Active CN108416226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810160576.2A CN108416226B (en) 2018-02-26 2018-02-26 Authority management method and device of block chain and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810160576.2A CN108416226B (en) 2018-02-26 2018-02-26 Authority management method and device of block chain and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108416226A true CN108416226A (en) 2018-08-17
CN108416226B CN108416226B (en) 2020-07-14

Family

ID=63129086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810160576.2A Active CN108416226B (en) 2018-02-26 2018-02-26 Authority management method and device of block chain and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108416226B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040279A (en) * 2018-08-21 2018-12-18 北京京东金融科技控股有限公司 Block chain network network-building method, device, equipment and readable storage medium storing program for executing
CN109508561A (en) * 2018-10-18 2019-03-22 中钞信用卡产业发展有限公司杭州区块链技术研究院 Block chain network and right management method
CN109871712A (en) * 2019-01-24 2019-06-11 平安科技(深圳)有限公司 Medical records right management method, device, readable storage medium storing program for executing and server
CN109951340A (en) * 2019-04-01 2019-06-28 山东浪潮云信息技术有限公司 It is a kind of to carry out the system and method that service call deposits card with block chain
CN110059280A (en) * 2019-04-04 2019-07-26 中山大学 A kind of information issuing method based on block chain
CN110290111A (en) * 2019-05-29 2019-09-27 深圳前海达闼云端智能科技有限公司 Operating right management method, device and block chain node, storage medium
CN108416226B (en) * 2018-02-26 2020-07-14 深圳智乾区块链科技有限公司 Authority management method and device of block chain and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488431A (en) * 2015-11-30 2016-04-13 布比(北京)网络技术有限公司 Authority management method and device for block chain system
CN107273759A (en) * 2017-05-08 2017-10-20 上海点融信息科技有限责任公司 Method, equipment and computer-readable recording medium for protecting block chain data
CN107332701A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The method and system of management node

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416226B (en) * 2018-02-26 2020-07-14 深圳智乾区块链科技有限公司 Authority management method and device of block chain and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488431A (en) * 2015-11-30 2016-04-13 布比(北京)网络技术有限公司 Authority management method and device for block chain system
CN107273759A (en) * 2017-05-08 2017-10-20 上海点融信息科技有限责任公司 Method, equipment and computer-readable recording medium for protecting block chain data
CN107332701A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The method and system of management node

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416226B (en) * 2018-02-26 2020-07-14 深圳智乾区块链科技有限公司 Authority management method and device of block chain and computer readable storage medium
CN109040279A (en) * 2018-08-21 2018-12-18 北京京东金融科技控股有限公司 Block chain network network-building method, device, equipment and readable storage medium storing program for executing
CN109508561A (en) * 2018-10-18 2019-03-22 中钞信用卡产业发展有限公司杭州区块链技术研究院 Block chain network and right management method
CN109871712A (en) * 2019-01-24 2019-06-11 平安科技(深圳)有限公司 Medical records right management method, device, readable storage medium storing program for executing and server
CN109871712B (en) * 2019-01-24 2022-10-14 平安科技(深圳)有限公司 Medical record authority management method and device, readable storage medium and server
CN109951340A (en) * 2019-04-01 2019-06-28 山东浪潮云信息技术有限公司 It is a kind of to carry out the system and method that service call deposits card with block chain
CN110059280A (en) * 2019-04-04 2019-07-26 中山大学 A kind of information issuing method based on block chain
CN110290111A (en) * 2019-05-29 2019-09-27 深圳前海达闼云端智能科技有限公司 Operating right management method, device and block chain node, storage medium
CN110290111B (en) * 2019-05-29 2022-11-04 达闼机器人股份有限公司 Operation authority management method and device, block chain node and storage medium

Also Published As

Publication number Publication date
CN108416226B (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN108416226A (en) Right management method, device and the computer readable storage medium of block chain
CN104516777B (en) User interface management method and system
CN103597492B (en) Cloud service system based on the security function strengthened and the method supporting this system
CN113282962B (en) Privacy-related request processing method, processing device and storage medium
CN108388989A (en) Transaction methods, system and computer readable storage medium
CN107766453A (en) Data base management method, device and storage medium based on block chain
CN108289129A (en) Block chain ecological environment creation method, system and computer readable storage medium
CN106570358A (en) Method and device for setting application permissions
CN107679064A (en) Data query method, apparatus and computer-readable recording medium
CN108401026A (en) Date storage method, system based on block chain and computer readable storage medium
CN105556534B (en) For suggesting the electronic equipment and method of response guide when refusing
CN106507422A (en) Mobile terminal and method for switching network
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN110309004A (en) The processing method and terminal of data
CN109543448A (en) HDFS file access authority control method, equipment and storage medium
CN104698728A (en) Micro-projector as well as operating method and operating device of micro-projector
CN108763882A (en) Authority setting method, device and storage medium
CN106339332B (en) A kind of information processing method, device and terminal
CN108509586A (en) The method, apparatus and computer readable storage medium of cache management
CN110532324A (en) Notice information methods of exhibiting, device, equipment and storage medium based on block chain
CN108763890A (en) Authority setting method, device and storage medium
CN108595977A (en) User mode controlling method and device, readable storage medium storing program for executing, terminal
CN109542650A (en) Advertisement loading method, device and computer readable storage medium
CN108389039A (en) Value system management method, device and storage medium based on block chain
WO2022252437A1 (en) Processing method, processing device, and readable 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