CN107274186A - The method and apparatus that intelligent contract-defined interface is obtained in block chain - Google Patents
The method and apparatus that intelligent contract-defined interface is obtained in block chain Download PDFInfo
- Publication number
- CN107274186A CN107274186A CN201710331253.0A CN201710331253A CN107274186A CN 107274186 A CN107274186 A CN 107274186A CN 201710331253 A CN201710331253 A CN 201710331253A CN 107274186 A CN107274186 A CN 107274186A
- Authority
- CN
- China
- Prior art keywords
- intelligent contract
- interface
- data
- contract
- electronic equipment
- 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 40
- 230000006870 function Effects 0.000 claims description 38
- 230000009471 action Effects 0.000 claims description 11
- 230000015654 memory Effects 0.000 claims description 9
- 238000003860 storage Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 238000012360 testing method Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 235000006679 Mentha X verticillata Nutrition 0.000 description 2
- 235000002899 Mentha suaveolens Nutrition 0.000 description 2
- 235000001636 Mentha x rotundifolia Nutrition 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 241000270295 Serpentes Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Computer Security & Cryptography (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Telephone Function (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Embodiment of the disclosure is related to the method and apparatus that intelligent contract-defined interface is obtained in block chain.This method includes:Create intelligent contract;The information of the functional interface in intelligent contract is extracted by parsing intelligent contract;Described information based on functional interface, the interface of the intelligent contract of generation defines data;And interface is defined into data be added in intelligent contract.Embodiment of the disclosure also discloses corresponding equipment.In addition, embodiment of the disclosure also provides the method and apparatus for calling intelligent contract accordingly.Embodiment of the disclosure proposes the scheme that intelligent contract-defined interface is obtained in block chain, and it efficiently solves the problem of intelligent contract-defined interface can not be obtained directly on chain, and enhances the user friendly of intelligent contract.
Description
Technical field
Embodiment of the disclosure relates generally to block chain technology, and in particular it relates to one kind is obtained in block chain
The method and apparatus of intelligent contract-defined interface.
Background technology
The fast development of block chain is with the proposition of intelligent contract and using closely related.Intelligent contract is a set of with digital shape
The promise that formula is defined, includes the rights and duties of contract participant agreement.Digital form refers to promise to undertake needs with readable code shape
In formula write-in machine, as long as participant reaches agreement, the rights and duties that intelligent contract is set up are held by machine or network system
Row is ensured.
Intelligent contract based on block chain technology can not only play advantage of the intelligent contract in terms of cost efficiency, and
Interference of the malicious act to the normal execution of contract can be avoided.Intelligent contract is write in block chain in digitized form, by
The characteristic guarantee storage of block chain technology, read, perform whole process it is transparent it is traceable, can not hold and change.Meanwhile, by block chain certainly
The common recognition algorithm of band constructs a set of state machine system so that intelligent contract can efficiently be run.
At present, the interface of intelligent contract define and the block chain of intelligent contract on code be in the shape being kept completely separate
State.That is, the founder of intelligent contract needs that the interface message of intelligent contract is sent to the tune of intelligent contract under chain
User, so that it can realize the expectation function of intelligent contract.In addition, in the case where upgrading occurs in intelligent contract-defined interface, also
Need additionally to inform the information after caller renewal.Thus, the application to intelligent contract is made troubles.
The content of the invention
In view of this, it would be desirable to provide a solution to obtain the intelligent contract-defined interface in block chain so that
Promote the application of intelligent contract.
Generally, embodiment of the disclosure proposes the method and apparatus that intelligent contract-defined interface is obtained in block chain.
In the first aspect of the disclosure, there is provided a kind of method for being used to obtain intelligent contract-defined interface in block chain.The party
Method includes:Create intelligent contract;The information of the functional interface in intelligent contract is extracted by parsing intelligent contract;Based on function
The information of interface, the interface of the intelligent contract of generation defines data;And interface is defined into data be added in intelligent contract.
In certain embodiments, generation interface, which defines data, includes:Information based on functional interface, is handed over structural data
Change form and represent that interface defines data.
In certain embodiments, interface is defined into data being added to intelligent contract includes:Data are defined based on interface, it is raw
Into the acquisition function that data are defined to obtain interface;And be added to function is obtained in intelligent contract.
In certain embodiments, also include after the addition:The intelligent contract of compiling, intelligent conjunction is promoted to generate bytecode
About to the deployment in block chain.
In the second aspect of the disclosure, there is provided a kind of method for being used to obtain intelligent contract-defined interface in block chain.The party
Method includes:Contract address based on intelligent contract, the interface for calling to obtain intelligent contract defines the acquisition function of data;With
And parsing obtains function, and data are defined with the interface for obtaining intelligent contract.
In certain embodiments, this method also includes:From interface define the intelligent contract of data acquisition in functional interface
Information;And the information based on functional interface, call the functional interface in intelligent contract.
In the third aspect of the disclosure, there is provided a kind of electronic equipment.The electronic equipment includes:Processor;Memory, coupling
To processor and the instruction that is stored with, instruction makes electronic equipment perform following act when by computing device:Intelligence is created to close
About;The information of the functional interface in intelligent contract is extracted by parsing intelligent contract;Information based on functional interface, generates intelligence
The interface of energy contract defines data;And interface is defined into data be added in intelligent contract.
In the fourth aspect of the disclosure, there is provided a kind of electronic equipment.The electronic equipment includes:Processor;Memory, coupling
To processor and the instruction that is stored with, instruction makes electronic equipment perform following act when by computing device:Based on intelligent conjunction
Contract address about, the interface for calling to obtain intelligent contract defines the acquisition function of data;And parsing obtains function, with
The interface for obtaining intelligent contract defines data.
According to the fifth aspect of the invention there is provided a kind of computer-readable recording medium, it has the meter being stored thereon
Calculation machine readable program instructions, computer-readable program instructions are used to perform is retouched according to the first aspect and second aspect of the disclosure
The method stated.
Embodiment of the disclosure proposes the scheme that intelligent contract-defined interface is obtained in block chain, and it is efficiently solved can not
The problem of directly obtaining intelligent contract-defined interface on chain, and enhance the user friendly of intelligent contract.
Brief description of the drawings
With reference to accompanying drawing and with reference to described further below, above and other feature, advantage and the aspect of each embodiment of the disclosure
It will be apparent.In the accompanying drawings, same or analogous reference represents same or analogous element, wherein:
Fig. 1 shows the example flow diagram of the method for the intelligent contract-defined interface of acquisition according to disclosure one embodiment;
Fig. 2 shows the example flow diagram of the method for the intelligent contract-defined interface of acquisition according to another embodiment of the disclosure;With
And
Fig. 3 shows the block diagram of the equipment according to some embodiments of the present disclosure.
Embodiment
Now it is specifically described with reference to accompanying drawing embodiment of this disclosure.It should be noted that to similar in accompanying drawing
Part or functional unit may use same numeral sign.Appended accompanying drawing is intended only to illustrate embodiment of the disclosure.
The technical staff of ability field can from the description below be substituted on the basis of without departing from disclosure spirit and scope
Embodiment.
As described herein, term " comprising " and its various variants are construed as open-ended term, it means that " bag
Include but be not limited to ".Term "based" is construed as " being based at least partially on ".Term " one embodiment " it is understood that
For " at least one embodiment ".Term " another embodiment " is construed as " at least one other embodiment ".
Intelligent contract based on block chain include issued transaction and preserve mechanism and a complete state machine, with
In receiving and handle various intelligent contracts;And the preservation of affairs and state processing are completed all on block chain.Affairs are mainly wrapped
Containing the data for needing to send;And event is then the description information to these data.After affairs and the incoming intelligent contract of event information,
Resource status in contract resource collection can be updated, and then trigger intelligent contract progress state machine judgement.If auto state
Some in machine or the trigger condition of certain several action are met, then select contract action to hold automatically according to presupposed information by state machine
OK.
As it was previously stated, the intelligent contract application in block chain increases increasingly, but the interface message of intelligent contract needs to lead to
Cross the caller that the interface of intelligent contract is sent to intelligent contract by chain under type.To promote to understand, example (1) shows block
One illustrative examples of chain intelligence contract.
Code sample (1)
As an example, specifically, above intelligence and about Coin are by one group of code (function of intelligent contract, the method called
Or referred to as affairs and event) and data (state of intelligent contract) composition, its way of realization simply encrypts currency.Wherein,
Called by user or other contracts includes mint and send for completing the function of the contract function.The code sample table
Bright, if other people call function mint outside intelligent contract founder, what is all without generation;And function send can be by
Any user for possessing a number of token calls, to send some tokens to other users.
When the caller of intelligent contract needs to call intelligence and about Coin, it needs the interface letter for knowing intelligent contract
Breath, the title, parameter such as call function.As it was previously stated, these current information are needed by the founder of intelligent contract in area
Outside block chain caller is passed to by other approach.When the interface of intelligent contract changes, need also exist for informing and call
Interface message after person's renewal.
Embodiment of the disclosure proposes a kind of scheme for obtaining intelligent contract-defined interface, interface definition and area by intelligent contract
Source code is managed collectively on block chain, so as to avoid transmitting intelligent contract-defined interface under chain to called side.
Fig. 1 shows the example flow diagram of the method 100 of the intelligent contract-defined interface of acquisition according to disclosure one embodiment.
It is appreciated that method 100 can be performed by intelligent contract establishment side.
110, intelligent contract is created.As needed, intelligent contract establishment side can create intelligent contract, such as with suitable
Language write intelligent contract, Solidity, Serpent etc..Example (1) is with current most popular intelligent contract language
The intelligent contract that Solidity is created.
Next, 120, the information of the functional interface in intelligent contract is extracted by parsing intelligent contract.At one
In embodiment, by parsing intelligent contract source code, the relevant information of the functional interface or function in intelligent contract, such as letter are extracted
Several titles, function parameter etc..For example in example 1, the relevant information to call send functions.
130, the information based on functional interface, the interface of the intelligent contract of generation defines data.In one example, it is based on
The information of functional interface, represents that the interface defines data with structural data DIF.These forms can include such as base
In the data exchange (JSON), extensible markup language (XML), another markup language of the lightweight of JavaScript language
(YAML) etc..
In order to simplify example to promote to understand, example (2) gives simple contract test to further illustrate the disclosure
Embodiment.
Code sample (2)
contract test{
function multiply(uint a)returns(uint d){return a*7;}
}
According to one embodiment of the disclosure, such as example and about test interface message can be extracted, and generates interface
Define data.For example it is as follows:
[{"constant":false,"inputs":[{"name":"a","type":"uint256"
}],"name":"multiply","outputs":[{"name":"d","type":"uint2
56"}],"payable":false,"type":"function"}]
140, interface is defined into data and is added in intelligent contract.According to one embodiment of the disclosure, based on interface
Data are defined, generation defines the acquisition function of data to obtain interface, and the acquisition function is added in intelligent contract.
For example, for example and about test, acquisition function getABI can be generated, and getABI is added to and about test
In.Code sample is as follows:
In this way, the interface definition of intelligent contract is managed collectively with source code on chain.Next original can be carried out
There is bytecode generating process.The intelligent contract of compiling, intelligent contract is promoted to the deployment in block chain to generate bytecode.
After intelligent contract is deployed in block chain, caller can know the block chain address of intelligent contract.Accordingly
Ground, caller can be according to contract address, and calling interface obtains function on chain, is specifically patrolled so as to continue to realize on chain
Collect operation.
Fig. 2 shows the example flow diagram of the method 200 of the intelligent contract-defined interface of acquisition according to another embodiment of the disclosure.
It is appreciated that method 200 can be performed by intelligent contract called side.
210, the contract address based on intelligent contract, the interface for calling to obtain the intelligent contract defines data
Obtain function.According to one embodiment of the disclosure, intelligent contract called side can obtain intelligent contract-defined interface directly on chain,
This is realized by disposing intelligent contract in method 100 as described above.
220, parsing obtains function, and data are defined with the interface for obtaining intelligent contract.As an example, for example called side can
To obtain the address of intelligence and about test as follows and parse acquisition function.
ContractEmpty=contract () .address (address);
Abi=json.parse (decode (contractEmpty.getABI))
In accordance with an embodiment of the present disclosure, method 200 also connects including the function in defining the intelligent contract of data acquisition from interface
The information of mouth;And the described information based on functional interface, call the functional interface in intelligent contract.For example, can be as got off
Call the functional interface in intelligence and about test.
ContractExample=contract (abi) .address (address);
contractExample.multiply(123);
Thus, intelligent contract called side need not obtain intelligent contract-defined interface definition under chain, but according to contract address,
GetABI interfaces are called, after returning result is obtained, are further continued for calling other functional interfaces, so as to realize specific logical operation.
By embodiment of the disclosure described above, there is provided the side that intelligent contract-defined interface is obtained in block chain
Case.Program realization is relatively simple and direct, is easy to intelligent contract application, and improve the user friendly of intelligent contract.
Fig. 3 illustrate can for implement embodiment of the disclosure electronic equipment 300 schematic block diagram.It should manage
Solution, electronic equipment 300 may be implemented as intelligent contract and create or call equipment, or electronic equipment 300 to be implemented
Any one module in equipment is created or called for intelligent contract.As shown in figure 3, equipment 300 includes CPU (CPU)
301 (such as processors), it can be according to the computer program instructions being stored in read-only storage (ROM) 302 or from depositing
Storage unit 308 is loaded into the computer program instructions in random access storage device (RAM) 303, to perform various appropriate actions
And processing.In RAM 303, can also storage device 300 operate required various programs and data.CPU 301, ROM302 and
RAM 303 is connected with each other by bus 304.Input/output (I/O) interface 305 is also connected to bus 304.
Multiple parts in equipment 300 are connected to I/O interfaces 305, including:Input block 306, such as keyboard, mouse;
Output unit 307, such as various types of displays, loudspeaker;Memory cell 308, such as disk, CD;And it is logical
Unit 309 is believed, such as network interface card, modem, wireless communication transceiver.Communication unit 309 allows equipment 300 by such as
The computer network of internet and/or various communication networks exchange information/data with other equipment.
Various methods described above, such as method 100 or 200, can be performed by processing unit 301.For example, at some
In embodiment, method 100 or 200 can be implemented as computer software programs, and it is tangibly embodied in machine readable media, example
Such as memory cell 308.In certain embodiments, some or all of of computer program can be via ROM 302 and/or communication
Unit 309 and be loaded into and/or be installed in equipment 300.When computer program is loaded into RAM 303 and is held by CPU 301
During row, one or more of method as described above 100 or 200 action or step can be performed.
In general, the various example embodiments of the disclosure can in hardware or special circuit, software, firmware, logic, or
Implement in its any combinations.Some aspects can be implemented within hardware, and other aspects can be can be by controller, microprocessor
Implement in device or the firmware or software of other computing devices.When each side of embodiment of the disclosure is illustrated or described as
Block diagram, flow chart or when being represented using other some figures, it will be understood that square frame described herein, device, system, techniques or methods
Can as nonrestrictive example hardware, software, firmware, special circuit or logic, common hardware or controller or other
Implement in computing device, or its some combination.
As an example, general processor, digital signal processor (DSP), application specific integrated circuit (ASIC), scene can be used
Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components or use
The various exemplary logics with reference to described by the disclosure are realized or perform in performing any combination of function as described herein
Block, module and circuit.General processor can be microprocessor, or, processor can also be any common processor, control
Device processed, microcontroller or state machine.Processor can also be embodied as the combination of computing device, for example, DSP and microprocessor
Combination, multi-microprocessor, the combination of one or more microprocessors and DSP core, or any other such structure.
As an example, embodiment of the disclosure can be described in the context of machine-executable instruction, machine can be held
Row instruction is such as included in the program module performed in the device on the true or virtual processor of target.In general,
Program module includes routine, program, storehouse, object, class, component, data structure etc., and it performs specific task or realized specific
Abstract data structure.In embodiments, the function of program module can merge between described program module or
Segmentation.Machine-executable instruction for program module can be performed in local or distributed apparatus.In distributed apparatus
In, program module can be located locally with both remote medium storages.
For realizing that the computer program code of disclosed method can be write with one or more programming languages.These
Computer program code can be supplied to the processing of all-purpose computer, special-purpose computer or other programmable data processing units
Device so that program code by computer or other programmable data processing units execution when, cause flow chart and/
Or function/operation is carried out specified in block diagram.Program code can completely on computers, part on computers, conduct
Independent software kit, part are on computers and part is held on remote computer or server on the remote computer or completely
OK.
In the context of the disclosure, machine readable media can include or store to be used to or be related to instruct to perform system
Any tangible medium of the program of system, device or equipment.Machine readable media can be that machine-readable signal medium or machine can
Read storage medium.Machine readable media can include but is not limited to electronics, magnetic, it is optical, electromagnetism, infrared or partly lead
System system, device or equipment, or its any appropriate combination.The more detailed example of machinable medium includes carrying one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memories (RAM), read-only storage
(ROM), Erasable Programmable Read Only Memory EPROM (EPROM or flash memory), light storage device, magnetic storage apparatus, or its is any appropriate
Combination.
Although in addition, operation is depicted with particular order, this simultaneously should not be construed and require this generic operation to show
Particular order is completed with sequential order, or performs the operation of all diagrams to obtain expected result.In some cases, it is many
Task or parallel processing can be beneficial.Similarly, although discussed above contain some specific implementation details, this is not
The scope for limiting any invention or claim is should be interpreted that, and be should be interpreted that to the specific embodiment of specific invention can be directed to
Description.Some features in this specification described in the context of separated embodiment can also combined implementation in single reality
Apply in example.Conversely, various features described in the context of single embodiment can also discretely multiple embodiments or
Implement in any appropriate sub-portfolio.
Although describing theme with the language specific to architectural feature and/or method action, but it is to be understood that institute
The theme limited in attached claim is not limited to above-described special characteristic or action.On the contrary, above-described specific spy
Action of seeking peace is disclosed as the exemplary forms for realizing claim.
Claims (14)
1. a kind of method for being used to obtain intelligent contract-defined interface in block chain, including:
Create intelligent contract;
The information of the functional interface in the intelligent contract is extracted by parsing the intelligent contract;
Based on the described information of the functional interface, the interface for generating the intelligent contract defines data;And
The interface is defined into data to be added in the intelligent contract.
2. according to the method described in claim 1, include wherein generating the interface and defining data:
Based on the described information of the functional interface, represent that the interface defines data with structural data DIF.
3. according to the method described in claim 1, include wherein the interface is defined into data and is added to the intelligent contract:
Data are defined based on the interface, generation defines the acquisition function of data to obtain the interface;And
The acquisition function is added in the intelligent contract.
4. according to the method described in claim 1, also include after the addition:
The intelligent contract is compiled, the intelligent contract is promoted to the deployment in the block chain to generate bytecode.
5. a kind of method for being used to obtain intelligent contract-defined interface in block chain, including:
Contract address based on intelligent contract, the interface for calling to obtain the intelligent contract defines the acquisition function of data;
And
The acquisition function is parsed, data are defined with the interface for obtaining the intelligent contract.
6. method according to claim 5, in addition to:
From the interface define described in data acquisition intelligent contract in functional interface information;And
Based on the described information of the functional interface, the functional interface in the intelligent contract is called.
7. a kind of electronic equipment, including:
Processor;
Memory, coupled to the processor and the instruction that is stored with, the instruction makes described when by the computing device
Electronic equipment performs following act:
Create intelligent contract;
The information of the functional interface in the intelligent contract is extracted by parsing the intelligent contract;
Based on the described information of the functional interface, the interface for generating the intelligent contract defines data;And
The interface is defined into data to be added in the intelligent contract.
8. electronic equipment according to claim 7, wherein the action also includes:
Based on the described information of the functional interface, represent that the interface defines data with structural data DIF.
9. electronic equipment according to claim 7, wherein the action also includes:
Data are defined based on the interface, generation defines the acquisition function of data to obtain the interface;And
The acquisition function is added in the intelligent contract.
10. electronic equipment according to claim 7, wherein the action also includes:
After the addition, the intelligent contract is compiled, the intelligent contract is promoted to the block to generate bytecode
Deployment in chain.
11. a kind of electronic equipment, including:
Processor;
Memory, coupled to the processor and the instruction that is stored with, the instruction makes described when by the computing device
Electronic equipment performs following act:
Contract address based on intelligent contract, the interface for calling to obtain the intelligent contract defines the acquisition function of data;
And
The acquisition function is parsed, data are defined with the interface for obtaining the intelligent contract.
12. electronic equipment according to claim 11, wherein the action also includes:
From the interface define described in data acquisition intelligent contract in functional interface information;And
Based on the described information of the functional interface, the functional interface in the intelligent contract is called.
13. a kind of computer-readable recording medium, with the computer-readable program instructions being stored thereon, the computer can
Reader is instructed for performing the method according to any one of claim 1-4.
14. a kind of computer-readable recording medium, with the computer-readable program instructions being stored thereon, the computer can
Reader is instructed for performing the method according to any one of claim 5-6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710331253.0A CN107274186A (en) | 2017-05-11 | 2017-05-11 | The method and apparatus that intelligent contract-defined interface is obtained in block chain |
PCT/CN2018/078517 WO2018205730A1 (en) | 2017-05-11 | 2018-03-09 | Method and device for obtaining smart contract interface in blockchain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710331253.0A CN107274186A (en) | 2017-05-11 | 2017-05-11 | The method and apparatus that intelligent contract-defined interface is obtained in block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107274186A true CN107274186A (en) | 2017-10-20 |
Family
ID=60073935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710331253.0A Pending CN107274186A (en) | 2017-05-11 | 2017-05-11 | The method and apparatus that intelligent contract-defined interface is obtained in block chain |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107274186A (en) |
WO (1) | WO2018205730A1 (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943691A (en) * | 2017-11-17 | 2018-04-20 | 深圳圣马歌科技有限公司 | A kind of method and device for the functional test page for automatically generating intelligent contract |
CN107943950A (en) * | 2017-11-24 | 2018-04-20 | 中钞***产业发展有限公司杭州区块链技术研究院 | The method and system that data intelligence contract generates in a kind of block chain |
CN108197913A (en) * | 2017-12-18 | 2018-06-22 | 深圳前海微众银行股份有限公司 | Method of payment, system and computer readable storage medium based on block chain |
CN108235805A (en) * | 2017-12-29 | 2018-06-29 | 深圳前海达闼云端智能科技有限公司 | Account unifying method and device and storage medium |
CN108509523A (en) * | 2018-03-13 | 2018-09-07 | 深圳前海微众银行股份有限公司 | Structuring processing method, equipment and the readable storage medium storing program for executing of block chain data |
WO2018205730A1 (en) * | 2017-05-11 | 2018-11-15 | 上海点融信息科技有限责任公司 | Method and device for obtaining smart contract interface in blockchain |
CN108965468A (en) * | 2018-08-16 | 2018-12-07 | 北京京东尚科信息技术有限公司 | Block chain network service platform and its chain code installation method, storage medium |
CN109003078A (en) * | 2018-06-27 | 2018-12-14 | 阿里巴巴集团控股有限公司 | Intelligent contract call method and device, electronic equipment based on block chain |
CN109040029A (en) * | 2018-07-13 | 2018-12-18 | 上海点融信息科技有限责任公司 | The method and apparatus of affairs are executed in block chain |
CN109117994A (en) * | 2018-07-27 | 2019-01-01 | 阿里巴巴集团控股有限公司 | Event prediction method and device, electronic equipment |
CN109191287A (en) * | 2018-06-27 | 2019-01-11 | 浙江超脑时空科技有限公司 | A kind of sharding method, device and the electronic equipment of block chain intelligence contract |
CN109242667A (en) * | 2018-06-28 | 2019-01-18 | 平安科技(深圳)有限公司 | Assets management method and device, computer equipment and readable storage medium storing program for executing |
CN109316752A (en) * | 2018-09-12 | 2019-02-12 | 杭州复杂美科技有限公司 | Game dispositions method, method for gaming, equipment and storage medium |
CN110046023A (en) * | 2018-12-12 | 2019-07-23 | 阿里巴巴集团控股有限公司 | A kind of data processing method and system based on block chain intelligence contract |
CN110545316A (en) * | 2019-08-19 | 2019-12-06 | 广州华旻信息科技有限公司 | Internet of things information interaction device based on block chain technology |
CN110825363A (en) * | 2019-11-01 | 2020-02-21 | 北京知道创宇信息技术股份有限公司 | Intelligent contract obtaining method and device, electronic equipment and storage medium |
CN111275413A (en) * | 2018-12-04 | 2020-06-12 | 鸿纬智慧科技股份有限公司 | Token transaction system using blockchain technology and method thereof |
WO2020035089A3 (en) * | 2019-11-08 | 2020-09-10 | Alipay (Hangzhou) Information Technology Co., Ltd. | System and method for blockchain-based decentralized application development |
US10783190B2 (en) | 2018-06-27 | 2020-09-22 | Alibaba Group Holding Limited | Blockchain-based smart contract invocation method and apparatus, and electronic device |
US10812255B2 (en) * | 2019-03-04 | 2020-10-20 | Alibaba Group Holding Limited | Software interface for smart contracts |
CN111930347A (en) * | 2020-07-24 | 2020-11-13 | 联想(北京)有限公司 | Network creation method and device and electronic equipment |
CN111971704A (en) * | 2017-10-27 | 2020-11-20 | Bxb数码私人有限公司 | System and method for executing intelligent contracts using blockchains |
WO2020259417A1 (en) * | 2019-06-24 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Data analysis method and device for block chain |
US11163775B2 (en) | 2019-11-08 | 2021-11-02 | Alipay (Hangzhou) Information Technology Co., Ltd. | System and method for implementing a blockchain-based decentralized application |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110633076B (en) * | 2019-09-16 | 2021-05-04 | 杭州趣链科技有限公司 | Method for automatically generating identity intelligent contract Java client program |
CN112888997A (en) | 2019-09-29 | 2021-06-01 | 京东方科技集团股份有限公司 | Array substrate and manufacturing method thereof, mother board and display device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016127721A1 (en) * | 2015-02-13 | 2016-08-18 | 中兴通讯股份有限公司 | Information acquiring method, intelligent terminal, and server |
CN105976231A (en) * | 2016-06-24 | 2016-09-28 | 深圳前海微众银行股份有限公司 | Asset management method based on intelligent block chain contracts and nodes |
CN106126248A (en) * | 2016-06-29 | 2016-11-16 | 北京金山安全软件有限公司 | Method and device for acquiring version information of operating system and electronic equipment |
CN106598579A (en) * | 2016-12-06 | 2017-04-26 | 北京果仁宝科技有限公司 | Method and device for integrating dynamic type programming language on block chain |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10447478B2 (en) * | 2016-06-06 | 2019-10-15 | Microsoft Technology Licensing, Llc | Cryptographic applications for a blockchain system |
CN106533696B (en) * | 2016-11-18 | 2019-10-01 | 江苏通付盾科技有限公司 | Identity identifying method, certificate server and user terminal based on block chain |
CN106598824B (en) * | 2016-11-25 | 2018-11-20 | 深圳前海微众银行股份有限公司 | The method for analyzing performance and device of block chain |
CN106598549B (en) * | 2016-12-08 | 2019-02-01 | 天津米游科技有限公司 | A kind of intelligent contract system and implementation method based on block chain |
CN107274186A (en) * | 2017-05-11 | 2017-10-20 | 上海点融信息科技有限责任公司 | The method and apparatus that intelligent contract-defined interface is obtained in block chain |
-
2017
- 2017-05-11 CN CN201710331253.0A patent/CN107274186A/en active Pending
-
2018
- 2018-03-09 WO PCT/CN2018/078517 patent/WO2018205730A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016127721A1 (en) * | 2015-02-13 | 2016-08-18 | 中兴通讯股份有限公司 | Information acquiring method, intelligent terminal, and server |
CN105976231A (en) * | 2016-06-24 | 2016-09-28 | 深圳前海微众银行股份有限公司 | Asset management method based on intelligent block chain contracts and nodes |
CN106126248A (en) * | 2016-06-29 | 2016-11-16 | 北京金山安全软件有限公司 | Method and device for acquiring version information of operating system and electronic equipment |
CN106598579A (en) * | 2016-12-06 | 2017-04-26 | 北京果仁宝科技有限公司 | Method and device for integrating dynamic type programming language on block chain |
Cited By (41)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018205730A1 (en) * | 2017-05-11 | 2018-11-15 | 上海点融信息科技有限责任公司 | Method and device for obtaining smart contract interface in blockchain |
CN111971704B (en) * | 2017-10-27 | 2024-04-19 | Bxb数码私人有限公司 | System and method for executing intelligent contracts using blockchain |
CN111971704A (en) * | 2017-10-27 | 2020-11-20 | Bxb数码私人有限公司 | System and method for executing intelligent contracts using blockchains |
CN107943691B (en) * | 2017-11-17 | 2022-03-01 | 深圳圣马歌科技有限公司 | Method and device for automatically generating function test page of intelligent contract |
CN107943691A (en) * | 2017-11-17 | 2018-04-20 | 深圳圣马歌科技有限公司 | A kind of method and device for the functional test page for automatically generating intelligent contract |
CN107943950B (en) * | 2017-11-24 | 2020-07-10 | 中钞***产业发展有限公司杭州区块链技术研究院 | Method and system for generating intelligent contracts of data in block chain |
CN107943950A (en) * | 2017-11-24 | 2018-04-20 | 中钞***产业发展有限公司杭州区块链技术研究院 | The method and system that data intelligence contract generates in a kind of block chain |
CN108197913A (en) * | 2017-12-18 | 2018-06-22 | 深圳前海微众银行股份有限公司 | Method of payment, system and computer readable storage medium based on block chain |
CN108197913B (en) * | 2017-12-18 | 2021-01-05 | 深圳前海微众银行股份有限公司 | Payment method, system and computer readable storage medium based on block chain |
CN108235805A (en) * | 2017-12-29 | 2018-06-29 | 深圳前海达闼云端智能科技有限公司 | Account unifying method and device and storage medium |
CN108235805B (en) * | 2017-12-29 | 2021-07-30 | 达闼机器人有限公司 | Account unifying method and device and storage medium |
CN108509523A (en) * | 2018-03-13 | 2018-09-07 | 深圳前海微众银行股份有限公司 | Structuring processing method, equipment and the readable storage medium storing program for executing of block chain data |
US11016961B2 (en) | 2018-06-27 | 2021-05-25 | Advanced New Technologies Co., Ltd. | Blockchain-based smart contract invocation method and apparatus, and electronic device |
CN109003078A (en) * | 2018-06-27 | 2018-12-14 | 阿里巴巴集团控股有限公司 | Intelligent contract call method and device, electronic equipment based on block chain |
US11347727B2 (en) | 2018-06-27 | 2022-05-31 | Advanced New Technologies Co., Ltd. | Blockchain-based smart contract invocation method and apparatus, and electronic device |
US10776348B2 (en) | 2018-06-27 | 2020-09-15 | Alibaba Group Holding Limited | Blockchain-based smart contract invocation method and apparatus, and electronic device |
US10783190B2 (en) | 2018-06-27 | 2020-09-22 | Alibaba Group Holding Limited | Blockchain-based smart contract invocation method and apparatus, and electronic device |
CN109191287A (en) * | 2018-06-27 | 2019-01-11 | 浙江超脑时空科技有限公司 | A kind of sharding method, device and the electronic equipment of block chain intelligence contract |
CN109242667A (en) * | 2018-06-28 | 2019-01-18 | 平安科技(深圳)有限公司 | Assets management method and device, computer equipment and readable storage medium storing program for executing |
CN109040029A (en) * | 2018-07-13 | 2018-12-18 | 上海点融信息科技有限责任公司 | The method and apparatus of affairs are executed in block chain |
CN109117994A (en) * | 2018-07-27 | 2019-01-01 | 阿里巴巴集团控股有限公司 | Event prediction method and device, electronic equipment |
CN108965468A (en) * | 2018-08-16 | 2018-12-07 | 北京京东尚科信息技术有限公司 | Block chain network service platform and its chain code installation method, storage medium |
CN108965468B (en) * | 2018-08-16 | 2021-04-30 | 北京京东尚科信息技术有限公司 | Block chain network service platform, chain code installation method thereof and storage medium |
CN109316752A (en) * | 2018-09-12 | 2019-02-12 | 杭州复杂美科技有限公司 | Game dispositions method, method for gaming, equipment and storage medium |
CN111275413A (en) * | 2018-12-04 | 2020-06-12 | 鸿纬智慧科技股份有限公司 | Token transaction system using blockchain technology and method thereof |
WO2020119391A1 (en) * | 2018-12-12 | 2020-06-18 | 阿里巴巴集团控股有限公司 | Blockchain smart contract-based data processing method and system |
US11327959B2 (en) | 2018-12-12 | 2022-05-10 | Advanced New Technologies Co., Ltd. | Data processing methods and systems based on blockchain smart contract |
CN110046023A (en) * | 2018-12-12 | 2019-07-23 | 阿里巴巴集团控股有限公司 | A kind of data processing method and system based on block chain intelligence contract |
CN111782338A (en) * | 2018-12-12 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Data processing method and system based on intelligent contract of block chain |
TWI699718B (en) * | 2018-12-12 | 2020-07-21 | 香港商阿里巴巴集團服務有限公司 | Data processing method based on block chain smart contract, block chain system and smart contract compiler and computer equipment |
CN111782338B (en) * | 2018-12-12 | 2024-05-03 | 创新先进技术有限公司 | Data processing method and system based on blockchain intelligent contract |
US10812255B2 (en) * | 2019-03-04 | 2020-10-20 | Alibaba Group Holding Limited | Software interface for smart contracts |
WO2020259417A1 (en) * | 2019-06-24 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Data analysis method and device for block chain |
CN110545316A (en) * | 2019-08-19 | 2019-12-06 | 广州华旻信息科技有限公司 | Internet of things information interaction device based on block chain technology |
CN110825363A (en) * | 2019-11-01 | 2020-02-21 | 北京知道创宇信息技术股份有限公司 | Intelligent contract obtaining method and device, electronic equipment and storage medium |
CN110825363B (en) * | 2019-11-01 | 2024-05-17 | 北京知道创宇信息技术股份有限公司 | Intelligent contract acquisition method and device, electronic equipment and storage medium |
US11163775B2 (en) | 2019-11-08 | 2021-11-02 | Alipay (Hangzhou) Information Technology Co., Ltd. | System and method for implementing a blockchain-based decentralized application |
US11086621B2 (en) | 2019-11-08 | 2021-08-10 | Alipay (Hangzhou) Information Technology Co., Ltd. | System and method for blockchain-based decentralized application development |
WO2020035089A3 (en) * | 2019-11-08 | 2020-09-10 | Alipay (Hangzhou) Information Technology Co., Ltd. | System and method for blockchain-based decentralized application development |
US11429617B2 (en) | 2019-11-08 | 2022-08-30 | Alipay (Hangzhou) Information Technology Co., Ltd. | System and method for blockchain-based data synchronization |
CN111930347A (en) * | 2020-07-24 | 2020-11-13 | 联想(北京)有限公司 | Network creation method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2018205730A1 (en) | 2018-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107274186A (en) | The method and apparatus that intelligent contract-defined interface is obtained in block chain | |
US11386893B2 (en) | Human-computer interaction processing system, method, storage medium, and electronic device | |
CN110249307A (en) | System and method for executing primary contract on block chain | |
CN110505223A (en) | Block chain multichain management method and device | |
CN105378661B (en) | Resource packet index | |
CN104813651B (en) | Time-shift image service | |
CN107741976B (en) | Intelligent response method, device, medium and electronic equipment | |
CN107885590A (en) | Task processing method and device for smart machine | |
CN109299458A (en) | Entity recognition method, device, equipment and storage medium | |
CN103988200B (en) | For the lightweight frame of web applications | |
CN110009362A (en) | Block chain intelligence contract amending method, device and computer readable storage medium | |
CN105765533B (en) | Method and apparatus for firmware virtualization | |
CN109979443A (en) | A kind of rights management control method and device for robot | |
CN110309269A (en) | Response process method and its system, computer system and computer-readable medium | |
CN108171189A (en) | A kind of method for video coding, video coding apparatus and electronic equipment | |
CN109460652A (en) | For marking the method, equipment and computer-readable medium of image pattern | |
CN106874315A (en) | For providing the method and apparatus to the access of content resource | |
CN110007916A (en) | Interface rendering method, device and the server of operation system | |
CN110210591A (en) | A kind of wiring method, computer installation and the computer readable storage medium of intellective IC card personal data | |
CN108829518A (en) | Method and apparatus for pushed information | |
CN109471620A (en) | A kind of automatic generation method of APP, device, terminal device and readable storage medium storing program for executing | |
CN113742005A (en) | Platform docking method and device | |
CN109408658A (en) | Expression picture reminding method, device, computer equipment and storage medium | |
CN108733374A (en) | Application program homepage development approach and terminal device | |
CN108268615A (en) | A kind of data processing method, device and system |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1238397 Country of ref document: HK |
|
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171020 |
|
WD01 | Invention patent application deemed withdrawn after publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1238397 Country of ref document: HK |