CN109410061A - The method for realizing supervision contract authorization with equality account on block chain - Google Patents
The method for realizing supervision contract authorization with equality account on block chain Download PDFInfo
- Publication number
- CN109410061A CN109410061A CN201811290742.7A CN201811290742A CN109410061A CN 109410061 A CN109410061 A CN 109410061A CN 201811290742 A CN201811290742 A CN 201811290742A CN 109410061 A CN109410061 A CN 109410061A
- Authority
- CN
- China
- Prior art keywords
- contract
- supervision
- visitor
- account
- permission
- 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
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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
The method that the invention discloses a kind of to realize supervision contract authorization with equality account on block chain, including contract owner and visitor, the contract possesses, for disposing contract account, the authority setting method include: 1) contract owner create a new contract, and select contract type be supervision contract;2) contract owner sets the special supervision permission of the supervision contract;3) contract owner possesses the binding condition for realizing the supervision permission;4) visitor has the customized permission for increasing oneself, and sets the access public key of the permission;5) newly-built customized permission is tied on supervision contract by the visitor;6) system calls the binding condition of supervision contract to carry out binding judgement to visitor automatically.The invention reside in provide a kind of method for realizing supervision contract authorization with equality account on block chain of function of assigning intelligent contract owner authorization access.
Description
Technical field
The present invention relates to block chain intelligence contract technical fields, more particularly to one kind to be realized on block chain with equality account
The method for supervising contract authorization.
Background technique
Block chain is increasingly becoming the important foundation measure of " value internet " at present, and each state all starts actively to embrace block chain
Technology opens up the new racing track of international industry competition, the commanding elevation of new round re-invent industry is seized, to strengthen international competitiveness.
Block chain technology will be also logistics, network security even trade financing other than as the pillar of encryption currency
Strategic sexual development is realized etc. nearly all industry.And as with block chain and the best of life one of is innovated, intelligent contract it is all
Multi-functional that it is made to show one's talent, the characteristic executed automatically is even more that can save a large amount of time and money for enterprise and individual,
Also therefore, adopting for intelligent contract perhaps will just become one of the key factor for driving block chain technology to be used rapidly.
Intelligent contract is a kind of automatic execution for promoting substantially any commodity or service transacting using preset rule
Contract.Its overall principle is service charge to be reduced while increasing trading transparency, and eliminate and generate punching due to repudiation of the contract
Prominent possibility.Spaces different from traditional contract, that this contract does not explain clause, because all clauses are all preparatory
It sets and is executed automatically by contract itself.
Intelligent contract means that the transaction of block chain is far above these transaction of dealing currency, it will has widely instruction insertion
Into block chain.Traditional contract refers to that both sides or multilateral accord do or do not do something to exchange certain things for, and each party is necessary
Trust can fulfil obligations each other.And intelligent contract need not trust each other, because what intelligent contract was not only to be defined by code,
It is also to be enforced by code, it is fully automated and can not intervene.
The intelligent contract of block chain is mainly manifested in there are the missing of function at present:
1. when accessing the customized priority assignation of account the access authority of method in intelligent contract (hereinafter referred to as contract),
Contract with no authorized function;
2. contract method is by incoming parameter verification permission, without practical significance.Some call method of contract is
The access authority of call method is controlled by verifying incoming parameter (such as account name), but the parameter is mentioned by visitor
For making the safety check being arranged originally perform practically no function so visitor can modify at any time.
With the development of block chain technical application, intelligent contract will be widely applied to all trades and professions.Intelligent contract is mentioned
For method if it is desired to which visitor must satisfy certain condition or threshold to use, then existing function will be unable to
Meet the needs of application person.
Chinese Patent Application No.: 201611012149.7, the applying date are as follows: on November 17th, 2016, publication date: 2017 04
The moon 26, patent name is: the data Right protection method based on block chain discloses a kind of data equity based on block chain
Guard method.Step of the invention are as follows: possess the data equity that the users of data protects as needed to formulate data circulation
Strategy, and these circulation strategies are written as intelligent contract, it is deployed on block catenary system;Other users are carrying out data flow
Before logical, identity information and related data circulation attribute need to be used to call the intelligence contract as data assignee user, by intelligence
Contract provides the result of approval of circulation application according to set data circulation strategy automatically: dynamic circulating if allowing to circulate
Authorization code returns to assignee user;Otherwise application failure is returned.The present invention is an application of block catenary system, eliminates number
According to the dependence during Right protection to third party authoritative institution, the data circulation that ensure that data owner is worked out is tactful not
It can be maliciously altered, policy execution result will not be manipulated, and be the data processes of circulation such as data trade, data opening and shares
Provide just, transparent, believable performing environment.
Although above patent document discloses a kind of data Right protection method based on block chain, but the intelligence of this method
With no authorized function in energy contract is unable to satisfy the needs of the intelligent contract of modern society's application.
Summary of the invention
In view of this, the invention reside in the functions of providing a kind of intelligent contract owner authorization access of imparting in block chain
On with equality account realize supervision contract authorization method.
In order to achieve the object of the present invention, following technical scheme can be taken:
A method of supervision contract authorization, including contract owner and access are realized with equality account on block chain
Person, the contract possess, and for disposing contract account, the authority setting method includes:
Step 1) contract owner creates a new contract, and selects contract type to supervise contract;
Step 2) contract owner sets the special supervision permission of the supervision contract;
Step 3) contract owner possesses the binding condition for realizing the supervision permission;
Step 4) the visitor has the customized permission for increasing oneself, and sets the access public key of the permission;
Newly-built customized permission is tied on supervision contract by the step 5) visitor;
Step 6) system calls the binding condition of supervision contract to carry out binding judgement to visitor automatically.
The step 1) includes by needing whether the contract accessed is supervision contract to account verification.
The contract is supervision contract, then whether the account for verifying request meets access conditions.
If the step 6) include visitor meet supervision contract binding condition, visitor bind supervision contract at
Function.
If the step 6) visitor does not meet the binding condition of supervision contract, visitor binds supervision contract and loses
It loses.
It further include after the visitor binds supervision contract success, which can be completed using the permission of itself to prison
The access of pipe contract.
The beneficial effect of the technical scheme provided by the present invention is that: 1) present invention supervision contract be newly-increased a set of service logic
It is completely isolated with original system logic, it does not interfere with each other;2) present invention is accessing contract method permission to the customized priority assignation of account
When, authorization access authority is directly controlled by contract owner;3) present invention is accessing contract side to the customized priority assignation of account
Right is prescribed a time limit, and additional RAM expense is not present in contract owner;4) the supervision logic of the invention if you need to modify contract, will only repair
Contract code after changing redeploys;It 5) is equality account between contract owner of the present invention and visitor's account.
Detailed description of the invention
Fig. 1 is the flow and method for the method that the embodiment of the present invention realizes supervision contract authorization on block chain with equality account
Schematic diagram.
Specific embodiment
With reference to the accompanying drawing and the embodiment of the present invention is described in further detail invention.
Embodiment 1
Referring to Fig. 1, the method that should realize supervision contract authorization with equality account on block chain, including contract owner and
Visitor, the contract possess, and for disposing contract account, the authority setting method includes:
Step 1) contract owner creates a new contract, and selects contract type for supervision and about S1;
Step 2) contract owner sets special supervision permission (name:auth1) S2 of the supervision contract;
Step 3) contract owner realizes the binding condition S3 of supervision permission auth1;
Step 4) the visitor has the customized permission for increasing oneself, and sets the access public key S4 of the permission;
Newly-built customized permission is tied to S5 on supervision contract by the step 5) visitor;
Step 6) system call automatically supervision contract binding condition to visitor carry out binding judge S6.
When the present invention is needed by accessing contract permission to the customized priority assignation of account, need by supervision contract to access
Person verifies, its access authority is assigned after verifying successfully.
Preferably, the step 1) includes by needing whether the contract accessed is supervision contract to account verification.
Preferably, for the contract if it is supervision contract, then whether the account for verifying request meets access conditions.
In the present embodiment, it is preferable that if the step 6) includes the binding condition that visitor meets supervision contract, visit
The person of asking binds supervision contract success.
Preferably, if the step 6) visitor does not meet the binding condition of supervision contract, visitor binds supervision
Contract failure.
The present invention calls the binding condition of supervision contract to carry out binding judgement to visitor automatically, if visitor meets prison
The binding condition of pipe contract, then visitor binds supervision contract success;On the contrary then visitor binds supervision contract failure.
The invention also includes after the visitor binds supervision contract success, which can be complete using the permission of itself
The access of supervision contract in pairs.
The present invention and original authority request mechanism it is maximum be not both in the user Shen for desiring access to some method of contract
Please access authority when, joined the access conditions of contract method, only meet the condition of access method, could proper authorization,
Otherwise refusal authorization.
With the fast development of block chain technology, key characteristic one of of the intelligent contract as block chain technology has been obtained
To being widely applied.It is badly in need of the original technology and intellectual property for related fields as block chain technology bellwether in China
It is protected.
Integral Thought of the present invention is, assigns the ability of intelligent contract administration way access, protects the calling of contract method,
The safety for protecting contract data prevents the method for intelligent contract in the leakage for executing session information.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (6)
1. a kind of method for realizing supervision contract authorization with equality account on block chain, it is characterised in that: possess including contract
Person and visitor, the contract possess, and for disposing contract account, the authority setting method includes:
Step 1) contract owner creates a new contract, and selects contract type to supervise contract;
Step 2) contract owner sets the special supervision permission of the supervision contract;
Step 3) contract owner possesses the binding condition for realizing the supervision permission;
Step 4) the visitor has the customized permission for increasing oneself, and sets the access public key of the permission;
Newly-built customized permission is tied on supervision contract by the step 5) visitor;
Step 6) system calls the binding condition of supervision contract to carry out binding judgement to visitor automatically.
2. the method for realizing supervision contract authorization with equality account on block chain according to claim 1, it is characterised in that:
The step 1) includes by needing whether the contract accessed is supervision contract to account verification.
3. the method for realizing supervision contract authorization with equality account on block chain according to claim 2, it is characterised in that:
The contract is supervision contract, then whether the account for verifying request meets access conditions.
4. the method for realizing supervision contract authorization with equality account on block chain according to claim 1, it is characterised in that:
If the step 6) includes the binding condition that visitor meets supervision contract, visitor binds supervision contract success.
5. the method for realizing supervision contract authorization with equality account on block chain according to claim 1, it is characterised in that:
If the step 6) visitor does not meet the binding condition of supervision contract, visitor binds supervision contract failure.
6. the method for realizing supervision contract authorization with equality account on block chain according to claim 1, it is characterised in that:
It further include after the visitor binds supervision contract success, which can be completed using the permission of itself to supervision contract
Access.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811240704 | 2018-10-23 | ||
CN2018112407040 | 2018-10-23 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109410061A true CN109410061A (en) | 2019-03-01 |
CN109410061B CN109410061B (en) | 2022-06-21 |
Family
ID=65471054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811290742.7A Active CN109410061B (en) | 2018-10-23 | 2018-10-31 | Method for realizing supervision contract authorization by using equal account numbers on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109410061B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688679A (en) * | 2019-09-30 | 2020-01-14 | 湖南天河国云科技有限公司 | Account locking/unlocking method and device based on block chain |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600405A (en) * | 2016-11-17 | 2017-04-26 | 复旦大学 | Block-chain-based data rights protection method |
CN106845960A (en) * | 2017-01-24 | 2017-06-13 | 上海亿账通区块链科技有限公司 | Method for secure transactions and system based on block chain |
CN106920098A (en) * | 2017-03-07 | 2017-07-04 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | Digital ticket transaction supervisory systems and method based on block chain and digital cash |
CN107507091A (en) * | 2017-09-07 | 2017-12-22 | 复旦大学 | Enhanced data Right protection method based on block chain and intelligent contract |
CN108173850A (en) * | 2017-12-28 | 2018-06-15 | 杭州趣链科技有限公司 | A kind of identity authorization system and identity identifying method based on block chain intelligence contract |
-
2018
- 2018-10-31 CN CN201811290742.7A patent/CN109410061B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600405A (en) * | 2016-11-17 | 2017-04-26 | 复旦大学 | Block-chain-based data rights protection method |
CN106845960A (en) * | 2017-01-24 | 2017-06-13 | 上海亿账通区块链科技有限公司 | Method for secure transactions and system based on block chain |
CN106920098A (en) * | 2017-03-07 | 2017-07-04 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | Digital ticket transaction supervisory systems and method based on block chain and digital cash |
CN107507091A (en) * | 2017-09-07 | 2017-12-22 | 复旦大学 | Enhanced data Right protection method based on block chain and intelligent contract |
CN108173850A (en) * | 2017-12-28 | 2018-06-15 | 杭州趣链科技有限公司 | A kind of identity authorization system and identity identifying method based on block chain intelligence contract |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688679A (en) * | 2019-09-30 | 2020-01-14 | 湖南天河国云科技有限公司 | Account locking/unlocking method and device based on block chain |
CN110688679B (en) * | 2019-09-30 | 2023-09-05 | 湖南天河国云科技有限公司 | Block chain-based account locking/unlocking method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109410061B (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106815764A (en) | A kind of management method and system of the digital asset based on alliance's chain | |
Höpner et al. | Can we make the European fundamental freedoms less constraining? A literature review | |
CN109410061A (en) | The method for realizing supervision contract authorization with equality account on block chain | |
Hinton | Strengthening the effectiveness of community law: direct effect, Article 5 EC, and the European Court of Justice | |
Sullivan | Protecting digital identity in the cloud: Regulating cross border data disclosure | |
Alvarez | The once and future security council | |
Chen et al. | Standardization of financial blockchain: Technologies, challenges, and future | |
Schiavetta | The relationship between e-ADR and article 6 of the European Convention of Human Rights pursuant to the case law of the European Court of Human Rights | |
Chimni | WTO and environment: Legitimisation of unilateral trade sanctions | |
Tanna et al. | Bias and discrimination | |
Feeney | The Dispute Settlement Understanding of the WTO Agreement: An Inadequate Mechanism for the Resolution of International Trade Disputes | |
CN101291333B (en) | Controlling method of used node number by network software | |
Kincannon | The Dresser Case: One Step Too Far | |
Hota et al. | Cyber Security at the Heart of Open Banking: An Existing and Futuristic Approach | |
McInerney III | Towards the Next Phase in International Banking Regulation | |
Mevorach | Forum shopping in times of crisis: a directors’ duties perspective | |
Schaub | EC Competition System-Proposals for Reform | |
Yu | A Trade War That is Unwarranted | |
Ahmed et al. | A Model Transformation from Misuse Cases to Secure Tropos. | |
CN1780202A (en) | Method for preventing imitated website and user in long-range trade | |
Rosenberg | An Uphill Battle: FTC Regulation of Unreasonable Data Security as an Unfair Practice | |
Feigenbaum et al. | The Korean Way With Data | |
Abeyratne | Airbus-Boeing Subsidies Dispute-Some Preliminary Legal Issues | |
Monsalve et al. | Blockchain: 3.0 the Technological Solution to Face Corruption | |
Neff | The Cartagena protocol and the WTO: Will the EU biotech products case leave room for the protocol? |
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 |