CN109635575A - Intelligent contract signs method and device - Google Patents
Intelligent contract signs method and device Download PDFInfo
- Publication number
- CN109635575A CN109635575A CN201811455881.0A CN201811455881A CN109635575A CN 109635575 A CN109635575 A CN 109635575A CN 201811455881 A CN201811455881 A CN 201811455881A CN 109635575 A CN109635575 A CN 109635575A
- Authority
- CN
- China
- Prior art keywords
- contract
- account
- script
- private key
- input
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000010586 diagram Methods 0.000 description 6
- 241000208340 Araliaceae Species 0.000 description 4
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 4
- 235000003140 Panax quinquefolius Nutrition 0.000 description 4
- 235000008434 ginseng Nutrition 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6209—Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Abstract
The embodiment of the present invention has invented a kind of intelligent contract signing method and device.Wherein, intelligent contract signs method, comprising: input account, private key information and contract script are to dispose contract;Contract account is generated according to the account, private key information and contract script;Contract is executed according to the account, private key, contract script and contract account;It returns and executes contract result.Achieve the purpose that ensure that intelligent contract can not tamper.
Description
Technical field
The present invention relates to block chain fields more particularly to a kind of intelligent contract to sign method and device.
Background technique
With the fast development of computer technology, block chain is widely used in multiple fields, and existing electronics contract is big
Mostly or by the way of electronic document, so that existing electronics contract is tampered because being easy, thus its legal proof in life
Property haves the defects that objection.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of intelligent contracts to sign method and device, at least part of solution
Problems of the prior art.
In a first aspect, the embodiment of the invention provides a kind of intelligent contracts to sign method, comprising:
Input account, private key information and contract script are to dispose contract;
Contract account is generated according to the account, private key information and contract script;
Contract is executed according to the account, private key, contract script and contract account;
It returns and executes contract result.
Preferably, the input account, private key information and contract script are to dispose in contract, further includes: input is sent
The quantity forwarded: quantity to activate contract account, needs the digital cash quantity sent to contract account.
Preferably, the input account, private key information and contract script are to dispose contract, further includes: input script ginseng
Number.
Preferably, it is executed in contract according to the account, private key, contract script and contract account, further includes, described in input
Script argument.
It is preferred: described to be executed in contract according to the account, private key, contract script and contract account, the contract foot
This contract script inputted when disposing contract to inquire and calling automatically.
As a kind of specific implementation of the embodiment of the present invention,
Second aspect, the embodiment of the invention also provides a kind of intelligent contracts to sign device, comprising:
Deployment contract module: for inputting account, private key information and contract script to dispose contract;
Contract account generation module: for generating contract account according to the account, private key information and contract script;
Contract execution module: for executing contract according to the account, private key and contract script and contract account;
Result return module: contract result is executed for returning.
Preferably, the input account, private key information and contract script are to dispose in contract, further includes: input is sent
The quantity forwarded: quantity to activate contract account, needs the digital cash quantity sent to contract account.
Preferably, the input account, private key information and contract script are to dispose contract, further includes: input script ginseng
Number.
Preferably, it is executed in contract according to the account, private key, contract script and contract account, further includes, described in input
Script argument.
Preferably, described to be executed in contract according to the account, private key, contract script and contract account, the contract foot
This contract script inputted when disposing contract to inquire and calling automatically.
Technical solution of the present invention generates contract account by input account, private key information and contract script, and is executing conjunction
Contract is executed to account, private key information and contract script according to the account, private key, contract script and contract account in about
It is verified again, by utilizing block chain technology, achieve the purpose that ensure that intelligent contract can not tamper.
The above description is only an overview of the technical scheme of the present invention, in order to better understand technological means of the invention, and
It can be implemented in accordance with the contents of the specification, and to allow above and other objects, features and advantages of the invention can be brighter
Show understandable, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field
For those of ordinary skill, without creative efforts, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the flow chart that the intelligent contract that the embodiment of the present invention one provides signs method;
Fig. 2 is the functional block diagram that intelligent contract provided by Embodiment 2 of the present invention signs device;
Fig. 3 is the interface schematic diagram that contract is disposed in the embodiment of the present invention one;
Fig. 4 is the interface schematic diagram that contract account is generated in the embodiment of the present invention one;
Fig. 5 is that the present invention implements the interface schematic diagram that contract is executed in one;
Fig. 6 is that the successful interface schematic diagram of contract is executed in the embodiment of the present invention one;
Fig. 7 is the interface schematic diagram that contract failure is executed in the embodiment of the present invention one.
Specific embodiment
The embodiment of the present invention is described in detail with reference to the accompanying drawing.
It will be appreciated that illustrating embodiments of the present invention below by way of specific specific example, those skilled in the art can
By content disclosed by this specification, other advantages and efficacy of the present invention can be easily understood.Obviously, described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.The present invention can also pass through in addition different specific implementations
Mode is embodied or practiced, and the various details in this specification can also be based on different viewpoints and application, without departing from this
Various modifications or alterations are carried out under the spirit of invention.It should be noted that in the absence of conflict, following embodiment and embodiment
In feature can be combined with each other.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creativeness
Every other embodiment obtained, shall fall within the protection scope of the present invention under the premise of labour.
It should be noted that the various aspects of embodiment within the scope of the appended claims are described below.Ying Xian
And be clear to, aspect described herein can be embodied in extensive diversified forms, and any specific structure described herein
And/or function is only illustrative.Based on the present invention, it will be understood by one of ordinary skill in the art that one described herein
Aspect can be independently implemented with any other aspect, and can combine the two or both in these aspects or more in various ways.
For example, carry out facilities and equipments in terms of any number set forth herein can be used and/or practice method.In addition, can make
With other than one or more of aspect set forth herein other structures and/or it is functional implement this equipment and/or
Practice the method.
It should also be noted that, illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema with it is of the invention in related component rather than component count, shape and size when according to actual implementation draw
System, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel can also
It can be increasingly complex.
In addition, in the following description, specific details are provided for a thorough understanding of the examples.However, fields
The skilled person will understand that the aspect can be practiced without these specific details.
Embodiment one:
As shown in Figure 1, a kind of intelligence contract signs method, comprising:
Step S101: input account, private key information and contract script are to dispose contract;Specific interface is as shown in Figure 3.
Step S101: contract account is generated according to the account, private key information and contract script;As shown in Figure 4.
Step S102: contract is executed according to the account, private key, contract script and contract account;As shown in Figure 5.
Step S103: it returns and executes contract result.
It such as runs succeeded, then returns to the interface to run succeeded, as shown in fig. 6, then returning as executed failure and executing failure
Interface, as shown in Figure 7.
Preferably, the input account, private key information and contract script are to dispose in contract, further includes: input is sent
The quantity forwarded: quantity to activate contract account, needs the digital cash quantity sent to contract account.
Preferably, the input account, private key information and contract script are to dispose contract, further includes: input script ginseng
Number.
Preferably, it is executed in contract according to the account, private key, contract script and contract account, further includes, described in input
Script argument.
It is preferred: described to be executed in contract according to the account, private key, contract script and contract account, the contract foot
This contract script inputted when disposing contract to inquire and calling automatically.
Embodiment two:
As shown in Fig. 2, a kind of intelligence contract signs device, comprising:
Deployment contract module: for inputting account, private key information and contract script to dispose contract;
Contract account generation module: for generating contract account according to the account, private key information and contract script;
Contract execution module: for executing contract according to the account, private key and contract script and contract account;
Result return module: contract result is executed for returning.
Preferably, the input account, private key information and contract script are to dispose in contract, further includes: input is sent
The quantity forwarded: quantity to activate contract account, needs the digital cash quantity sent to contract account.
Preferably, the input account, private key information and contract script are to dispose contract, further includes: input script ginseng
Number.
Preferably, it is executed in contract according to the account, private key, contract script and contract account, further includes, described in input
Script argument.
Preferably, described to be executed in contract according to the account, private key, contract script and contract account, the contract foot
This contract script inputted when disposing contract to inquire and calling automatically.
The above description of invented aspect is provided so that any person skilled in the art can make or use this
Invention.Various modifications in terms of these are readily apparent to those skilled in the art, and are defined herein
General Principle can be applied to other aspect without departing from the scope of the present invention.Therefore, the present invention is not intended to be limited to
Aspect shown in this, but according to the principle and the consistent widest range of novel feature in the invention.
In order to which purpose of illustration and description has been presented for above description.In addition, this description is not intended to reality of the invention
It applies example and is restricted to form in the invention.Although already discussed above multiple exemplary aspects and embodiment, this field skill
Its certain modifications, modification, change, addition and sub-portfolio will be recognized in art personnel.
Claims (10)
1. a kind of intelligence contract signs method characterized by comprising
Input account, private key information and contract script are to dispose contract;
Contract account is generated according to the account, private key information and contract script;
Contract is executed according to the account, private key, contract script and contract account;
It returns and executes contract result.
2. it is according to claim 1 intelligence contract sign method, which is characterized in that the input account, private key information and
Contract script is to disposing in contract, further includes: input quantity forwarded, the quantity forwarded: to activate contract account, need to
The digital cash quantity that contract account is sent.
3. energy contract according to claim 1 signs method, which is characterized in that the input account, private key information and conjunction
About script is to dispose contract, further includes: input script argument.
4. intelligence contract according to claim 3 signs method, which is characterized in that according to the account, private key, contract foot
This and contract account execute in contract, further include inputting the script argument.
5. intelligence contract according to claim 1 signs method, it is characterised in that: described according to the account, private key, conjunction
About script and contract account execute in contract, and the contract script is the contract foot inquired and inputted automatically when calling deployment contract
This.
6. a kind of intelligence contract signs device characterized by comprising
Deployment contract module: for inputting account, private key information and contract script to dispose contract;
Contract account generation module: for generating contract account according to the account, private key information and contract script;
Contract execution module: for executing contract according to the account, private key and contract script and contract account;
Result return module: contract result is executed for returning.
7. it is according to claim 6 intelligence contract sign device, which is characterized in that the input account, private key information and
Contract script is to disposing in contract, further includes: input quantity forwarded, the quantity forwarded: to activate contract account, need to
The digital cash quantity that contract account is sent.
8. energy contract according to claim 6 signs device, which is characterized in that the input account, private key information and conjunction
About script is to dispose contract, further includes: input script argument.
9. intelligence contract according to claim 8 signs device, which is characterized in that according to the account, private key, contract foot
This and contract account execute in contract, further include inputting the script argument.
10. it is according to claim 6 intelligence contract sign device, it is characterised in that: it is described according to the account, private key,
Contract script and contract account execute in contract, and the contract script is the contract inquired and inputted automatically when calling deployment contract
Script.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811455881.0A CN109635575A (en) | 2018-11-30 | 2018-11-30 | Intelligent contract signs method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811455881.0A CN109635575A (en) | 2018-11-30 | 2018-11-30 | Intelligent contract signs method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109635575A true CN109635575A (en) | 2019-04-16 |
Family
ID=66070042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811455881.0A Pending CN109635575A (en) | 2018-11-30 | 2018-11-30 | Intelligent contract signs method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109635575A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407430A (en) * | 2016-09-27 | 2017-02-15 | 北京天德科技有限公司 | Complex and intelligent contract state synchronization method based on phase buckets |
CN106453407A (en) * | 2016-11-23 | 2017-02-22 | 江苏通付盾科技有限公司 | Identity authentication method based on block chain, authentication server and user terminal |
CN106779708A (en) * | 2016-12-23 | 2017-05-31 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | Participant identity management method and system on block chain based on intelligent contract |
CN107526775A (en) * | 2017-07-18 | 2017-12-29 | 杭州趣链科技有限公司 | A kind of method of block chain data filing |
CN108399571A (en) * | 2018-01-30 | 2018-08-14 | 厦门快商通信息技术有限公司 | Unsecured method of commerce and system based on block chain intelligence contract |
-
2018
- 2018-11-30 CN CN201811455881.0A patent/CN109635575A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407430A (en) * | 2016-09-27 | 2017-02-15 | 北京天德科技有限公司 | Complex and intelligent contract state synchronization method based on phase buckets |
CN106453407A (en) * | 2016-11-23 | 2017-02-22 | 江苏通付盾科技有限公司 | Identity authentication method based on block chain, authentication server and user terminal |
CN106779708A (en) * | 2016-12-23 | 2017-05-31 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | Participant identity management method and system on block chain based on intelligent contract |
CN107526775A (en) * | 2017-07-18 | 2017-12-29 | 杭州趣链科技有限公司 | A kind of method of block chain data filing |
CN108399571A (en) * | 2018-01-30 | 2018-08-14 | 厦门快商通信息技术有限公司 | Unsecured method of commerce and system based on block chain intelligence contract |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019684B (en) | A kind of method of the configuration service page based on dynamic template | |
US20210108931A1 (en) | Method and apparatus for determining hybrid travel route, device and storage medium | |
CN105637563A (en) | Method for displaying a 3d scene graph on a screen | |
SG126058A1 (en) | System and method for applying development patterns for component based applications | |
CN103186455B (en) | Page automatic test script generates method and system | |
CN110503433A (en) | Implementation method, device, equipment and the medium endorsed in a kind of block chain | |
CN103577165A (en) | Form generation method and form generator | |
CN110147507A (en) | A kind of method, apparatus obtaining short chained address and server | |
CN111651121A (en) | Data logic calculation method and device, electronic equipment and storage medium | |
CN102999338A (en) | Business development method and device | |
CN105739980A (en) | Unified business development method and equipment | |
CN103678396A (en) | Data backup method and device based on data models | |
CN110766410A (en) | Method and equipment for constructing and verifying credible cross-chain event based on Mercker tree | |
CN109635575A (en) | Intelligent contract signs method and device | |
CN103324764A (en) | Web implementation of multi-condition random keyword multi-field fuzzy query method | |
CN112651741A (en) | Data processing method and device based on block chain | |
CN116931743A (en) | License plate number input method, device, equipment and storage medium | |
CN112069782A (en) | Document template generation method and device, electronic equipment and storage medium | |
CN105812936B (en) | Modular electrical regards upgrade method and modularization television-set upgrading apparatus | |
CN105739997A (en) | Website construction assistance design system | |
CN103870268A (en) | Defining Object Groups in 3D | |
Kumar et al. | Enhancing Web Application Efficiency: Exploring Modern Design Patterns within the MVC Framework | |
CN113626128A (en) | Audio-visual media micro-service third-party module access method, system and electronic equipment | |
Xu et al. | A kind of binary scaling function projective lag synchronization of chaotic systems with stochastic perturbation | |
CN112527443A (en) | Prompt box display method and device, electronic equipment and computer 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |