CN109818957A - Intelligent contract call method, apparatus and system based on visualization interface - Google Patents
Intelligent contract call method, apparatus and system based on visualization interface Download PDFInfo
- Publication number
- CN109818957A CN109818957A CN201910074994.4A CN201910074994A CN109818957A CN 109818957 A CN109818957 A CN 109818957A CN 201910074994 A CN201910074994 A CN 201910074994A CN 109818957 A CN109818957 A CN 109818957A
- Authority
- CN
- China
- Prior art keywords
- block chain
- contract
- user
- information
- optional
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application provides a kind of intelligent contract call method based on visualization interface, apparatus and system, when user needs to call intelligent contract, it does not need to develop corresponding SDK application program, it does not need to be familiar with home environment configuration yet, parameter configuration etc., the optional block chain that need to be only shown in the visualization interface of user terminal, selection target block chain in the optional method in optional intelligent contract and each optional intelligent contract in each optional block chain, Intelligent target contract, and goal approach, and specific call parameters value is inputted according to the call parameters of goal approach, it can realize the calling to intelligent contract.The call method of intelligent contract is simple to operation, reduces the difficulty and cost for calling intelligent contract, expands the range of block chain user, block chain is preferably merged with business scenario.
Description
Technical field
The present invention relates to block chain technical fields, more particularly to a kind of intelligent contract tune based on visualization interface
With method, apparatus and system.
Background technique
Block chain is the database of a distribution, multiparty recording and storage, due to its decentralization, can not
Distort etc. that characteristics are in the field of business to receive much attention.Intelligent contract is expressed by computer code, is deployed in block chain network, is equal to one
A executable electronic contract.As long as participant reaches agreement, the rights and duties that intelligent contract is established, just by computer according to
The logic of code agreement is calculated and is executed automatically, and human intervention is not needed.
The existing method for calling contract, it is necessary first to developer develops the SDK application program that can call contract,
Next needs to call the user of contract to carry out relevant configuration in the environment of operation SDK, and user is then needed to take in block chain
Downloading proves the certificate and key information of oneself identity in cloud platform of being engaged in, because user signs to demonstrate,prove when calling contract
Oneself bright identity, finally needs user to enter local SDK file directory, and order line is used to run SDK.Whole operation process ten
It is point cumbersome, and user is needed to be familiar with home environment configuration, parameter configuration, operation is abstract, and user is needed to have technology relevant special
Industry background can only be used using threshold height to technical staff.
Summary of the invention
In view of this, the invention discloses a kind of intelligent contract call method, apparatus and system based on visualization interface,
User can input the target block chain for needing to call, the Intelligent target contract in target block chain, mesh by visualization interface
The call parameters for marking the goal approach and goal approach in intelligent contract, realize to the calling of intelligent contract, reduce calling
The difficulty and cost of intelligent contract.
In order to achieve the above-mentioned object of the invention, specific technical solution provided by the invention is as follows:
A kind of intelligent contract call method based on visualization interface is applied to user terminal, which comprises
Call the access authority corresponding with the digital identity information of block chain user of block chain cloud service platform storage
Information, and by the optional block chain in the access authority information, the optional intelligent contract in each optional block chain, every
The call parameters in optional method and each optional method in a optional intelligent contract are shown in visualization circle
In face, call parameters information is selected and inputted for user;
In response to the contract recalls information that the block chain user is inputted by visualization interface, generates contract and call transaction
Information, it includes: target block chain, Intelligent target contract, goal approach and goal approach that the contract, which calls Transaction Information,
Call parameters;
Transaction Information is called to sign the contract using the private key in the digital identity information of the block chain user
Name;
It calls Transaction Information to be sent to block chain cloud service platform the contract after signature, keeps block chain cloud service platform logical
Cross the goal approach in the Intelligent target contract in the call parameters invocation target block chain of goal approach.
Optionally, in the access right corresponding with the digital identity information of block chain user of invoking server storage
Before limit information, the method also includes:
According to the username and password that the block chain logging in system by user is inputted, obtained in block chain cloud service platform
The digital identity information of the block chain user is taken, and the digital identity information of the block chain user is encrypted and saved
Digital identity information in local, the block chain user includes certificate and private key.
Optionally, the method also includes:
When the contract for receiving the push of block chain cloud service platform calls Transaction Information, contract is called in Transaction Information
Target block chain, Intelligent target contract, goal approach and goal approach call parameters be shown in visualization interface;
It is instructed in response to the block chain user by the confirmation that visualization interface inputs, and executes the utilization area
Private key in the digital identity information of block chain user calls Transaction Information to sign the contract.
A kind of intelligent contract call method based on visualization interface is applied to block chain cloud service platform, the method
Include:
The access authority information calling for receiving the digital identity information for carrying block chain user that user terminal is sent is asked
It asks;
Corresponding pass between the digital identity information and access authority information of different blocks chain user according to the pre-stored data
System feeds back access authority information corresponding with the digital identity information of the block chain user to user terminal, makes user terminal
Access authority information is shown in visualization interface, the access authority information includes the optional block of the block chain user
Optional intelligent contract in chain, each optional block chain, the optional method in each optional intelligent contract and every
Call parameters in a optional method;
It receives the contract that user terminal is sent and calls Transaction Information, it includes the block chain that the contract, which calls Transaction Information,
The target that the private key of user calls the signature of Transaction Information and the block chain user to input by visualization interface contract
The call parameters of block chain, Intelligent target contract, goal approach and goal approach;
The signature is verified, is called in Transaction Information after being verified from the contract and extracts target block
The call parameters of chain, Intelligent target contract, goal approach and goal approach;
The goal approach in Intelligent target contract by the call parameters of goal approach, in invocation target block chain.
Optionally, the method also includes:
Block chain user is created, the username and password of login system is distributed for the block chain user, and described in generation
The digital identity information of block chain user.
Optionally, after the creation block chain user, the method also includes:
According to the identity information of the block chain user, it is arranged and stores the digital identity information with the block chain user
Corresponding access authority information.
Optionally, the method also includes:
When detecting the contract calling Transaction Information for needing the block chain user confirmation, pushes and need to user terminal
The contract of confirmation calls Transaction Information.
A kind of intelligent contract calling device based on visualization interface, is applied to user terminal, and described device includes:
Access authority information call unit, the number with block chain user for calling block chain cloud service platform to store
The corresponding access authority information of identity information, and by the optional block chain, each described optional in the access authority information
The optional method and each optional method in optional intelligent contract, each optional intelligent contract in block chain
In call parameters be shown in visualization interface, select and input call parameters information for the block chain user;
Contract calls Transaction Information generation unit, for what is inputted in response to the block chain user by visualization interface
Contract recalls information generates contract and calls Transaction Information, and it includes: target block chain, target intelligence that the contract, which calls Transaction Information,
The call parameters of energy contract, goal approach and goal approach;
Signature unit is handed over for being called using the private key in the digital identity information of the block chain user to the contract
Easy information is signed;
Contract calls Transaction Information transmission unit, for calling Transaction Information to be sent to block chain cloud the contract after signature
Service platform, the Intelligent target in call parameters invocation target block chain for making block chain cloud service platform pass through goal approach close
Goal approach in about.
Optionally, described device further include:
Digital identity information acquiring unit, user name for being inputted according to the block chain logging in system by user and close
Code, obtains the digital identity information of the block chain user, and to the block chain user's in block chain cloud service platform
Digital identity information is encrypted and is stored in local, and the digital identity information of the block chain user includes certificate and private key.
Optionally, described device further include:
Contract calls Transaction Information display unit, for handing over when the contract for receiving the push of block chain cloud service platform calls
When easy information, contract is called into target block chain, Intelligent target contract, goal approach and the goal approach in Transaction Information
Call parameters be shown in visualization interface;
Response unit is instructed, for being instructed in response to the block chain user by the confirmation that visualization interface inputs, and
Trigger the signature unit.
A kind of intelligent contract calling device based on visualization interface is applied to block chain cloud service platform, described device
Include:
Call request receiving unit, for receiving the digital identity information for carrying block chain user of user terminal transmission
Access authority information call request;
Access authority information feedback unit, for different blocks chain user according to the pre-stored data digital identity information with
Corresponding relationship between access authority information is fed back corresponding with the digital identity information of the block chain user to user terminal
Access authority information shows that user terminal in visualization interface access authority information, and the access authority information includes
Optional intelligent contract, each optional intelligence in the optional block chain of the block chain user, each optional block chain
The call parameters in optional method and each optional method in energy contract;
Contract calls Transaction Information receiving unit, and the contract for receiving user terminal transmission calls Transaction Information, described
It includes that the private key of the block chain user calls the signature and the block of Transaction Information to contract that contract, which calls Transaction Information,
The calling for target block chain, Intelligent target contract, goal approach and the goal approach that chain user is inputted by visualization interface is joined
Number;
Signature verification unit calls transaction letter from the contract after being verified for verifying to the signature
The call parameters of target block chain, Intelligent target contract, goal approach and goal approach are extracted in breath;
Intelligent contract call unit, the target intelligence for the call parameters by goal approach, in invocation target block chain
Goal approach in energy contract.
Optionally, described device further include:
Block chain user's creating unit distributes login system for creating block chain user for the block chain user
Username and password, and generate the digital identity information of the block chain user.
Optionally, described device further include:
Access authority information setting unit is arranged and stores and institute for the identity information according to the block chain user
State the corresponding access authority information of digital identity information of block chain user.
Optionally, described device further include:
Contract calls Transaction Information push unit, for calling when the contract for detecting the needs block chain user confirmation
When Transaction Information, the contract for needing to confirm to user terminal push calls Transaction Information.
A kind of intelligent contract calling system based on visualization interface, comprising:
At least one user terminal, the user terminal include the base for being applied to user terminal described in above-mentioned any one
In the intelligent contract calling device of visualization interface;
Block chain cloud service platform, the block chain cloud service platform include being applied to block described in above-mentioned any one
The intelligent contract calling device based on visualization interface of chain cloud service platform;
At least one block chain is deployed at least one intelligent contract, each intelligence in every block chain
Contract includes at least one method, and each the method includes at least one call parameters.
Compared with the existing technology, beneficial effects of the present invention are as follows:
A kind of intelligent contract call method, apparatus and system based on visualization interface disclosed by the invention, when user needs
It when calling intelligent contract, does not need to develop corresponding SDK application program, does not need to be familiar with home environment configuration, parameter is matched yet
It sets, it is only necessary to the optional intelligence in the optional block chain that is shown in the visualization interface of user terminal, each optional block chain
Selection target block chain, Intelligent target contract and target side in optional method in contract and each optional intelligent contract
Method, and specific call parameters value is inputted according to the call parameters of goal approach, so that it may realize the calling to intelligent contract.Intelligence
The call method of energy contract is simple to operation, reduces the difficulty and cost for calling intelligent contract, expands block chain user
Range, block chain is preferably merged with business scenario.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of intelligent contract tune based on visualization interface applied to user terminal disclosed by the embodiments of the present invention
With the flow diagram of method;
Fig. 2 is the visualization interface schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 3 is a kind of intelligence based on visualization interface applied to block chain cloud service platform disclosed by the embodiments of the present invention
The flow diagram of energy contract call method;
A kind of Fig. 4 intelligent contract calling based on visualization interface applied to user terminal disclosed by the embodiments of the present invention
The structural schematic diagram of device;
Fig. 5 is a kind of intelligence based on visualization interface applied to block chain cloud service platform disclosed by the embodiments of the present invention
The structural schematic diagram of energy contract calling device;
Fig. 6 is a kind of structural representation of the intelligent contract calling system based on visualization interface disclosed by the embodiments of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Present embodiment discloses a kind of, and the intelligent contract call method based on visualization interface is used applied to user terminal
Family terminal can be the electronic device terminals such as smart phone, tablet computer, laptop, specifically, will adjust in the prior art
It is packaged with the code of contract intelligent on block chain, the APP for having visualization interface is completed in exploitation, and block chain user is logical
It crosses and carries out shirtsleeve operation in the visualization interface that user terminal provides and can realize calling to intelligent contract.Specifically
, referring to Fig. 1, the disclosed intelligent contract call method tool based on visualization interface applied to user terminal of the present embodiment
Body the following steps are included:
S101: the access corresponding with the digital identity information of block chain user of block chain cloud service platform storage is called
Authority information, and the optional block chain in the access authority information, the optional intelligence in each optional block chain are closed
About, be shown in can for the call parameters in the optional method and each optional method in each optional intelligent contract
Depending on changing in interface, call parameters information is selected and inputted for user;
It should be noted that block chain user needs login system before calling intelligent contract using user terminal, have
Body, block chain user creates firstly the need of in block chain cloud service platform, is after creation block chain user success
Block chain user distributes username and password required for login system.Block chain user inputs use in the APP of user terminal
Login system after name in an account book and password.
After creating block chain user in block chain cloud service platform, block chain cloud service platform is raw for block chain user
At digital identity information, digital identity information includes certificate and private key, wherein certificate include public key, certificate authority information and its
He proves the information of block chain user identity.
It is stored in block chain cloud service platform between the username and password and digital identity information of block chain user
Corresponding relationship, login system after block chain user inputs username and password in the APP of user terminal, user terminal root
According to the username and password, the digital identity information of block chain user is obtained in block chain cloud service platform, and to block chain
The digital identity information of user encrypts and is stored in local.
It should also be noted that, after block chain cloud service platform creates block chain user, block chain cloud service platform
Also it can be arranged according to block chain user identity information and store access corresponding with block chain user digital identity information
Authority information, wherein access authority information include optional block chain, the optional intelligent contract in each optional block chain,
The call parameters in optional method and each optional method in each optional intelligent contract.Block chain user
Identity information can be agency information described in block chain user, if certain organization A is block chain cloud service platform
A tenant, organization A has permission to access block chain a, b, c, then belonging to the block chain user of organization A have permission visit
It asks block chain a, b, c, and has permission all intelligent contracts for calling and disposing in block chain a, b, c;Or affiliated organization A
Block chain user have permission to access block chain a, b, c, and specific to the intelligent contract disposed in block chain a, b, c and every
The method that a intelligence contract can call, can be according to the block chain user affiliated function of affiliated organization A or user class phase
The setting access and calling permission answered.
Access authority information corresponding with the digital identity information of block chain user is obtained in user terminal, and will access
Optional intelligent contract, each optional intelligence in optional block chain, each optional block chain in authority information close
The call parameters in optional method and each optional method in about are shown in visualization interface.
It is optional intelligent contract in optional block chain, each optional block chain, each specifically, referring to Fig. 2, wherein
Optional method in optional intelligence contract can be selected in the form of drop-down menu for block chain user, as block chain user
When having selected target block chain, goal approach in Intelligent target contract and Intelligent target contract in target block chain, mesh
Call parameters in mark method are it is found that user terminal prompts block chain user to need to input call parameters in visualization interface
Quantity and call parameters are specially those parameters, allow block chain user by the value of format input call parameters.
S102: the contract recalls information inputted in response to the block chain user by visualization interface generates contract tune
Use Transaction Information;
It includes: target block chain, Intelligent target contract, goal approach and goal approach that contract, which calls Transaction Information,
Call parameters.
Referring to Fig. 2, clicking after block chain user inputs contract recalls information by visualization interface and sending ginseng
Number then completes the input of all contract recalls informations, generates contract and calls Transaction Information.
S103: using the block chain user digital identity information in private key to the contract call Transaction Information into
Row signature;
S104: it calls Transaction Information to be sent to block chain cloud service platform the contract after signature, makes block chain cloud service
The goal approach in the Intelligent target contract in call parameters invocation target block chain that platform passes through goal approach.
It should also be noted that, when transaction flow is gone at certain block chain user, may only be needed at this time with the circulation of transaction
Block chain user utilizes the method called in the intelligent contract in determining block chain with determining call parameters, is not required to
Want block chain user go it is additional selecting and inputting, it is in this case, more convenient in order to be provided for block chain user
Service, block chain user only needs in the visualization interface of user terminal to fixed block chain, intelligent contract, method
Confirmed with call parameters.
It, will when the contract for receiving the push of block chain cloud service platform calls Transaction Information for user terminal
The call parameters of target block chain, Intelligent target contract, goal approach and goal approach in contract calling Transaction Information are aobvious
Show in visualization interface, is instructed in response to the block chain user by the confirmation that visualization interface inputs, utilize the area
Private key in the digital identity information of block chain user calls Transaction Information to sign the contract, by the contract tune after signature
It is sent to block chain cloud service platform with Transaction Information, calls block chain cloud service platform by the call parameters of goal approach
The goal approach in Intelligent target contract in target block chain.
A kind of intelligent contract call method based on visualization interface disclosed in the present embodiment, when user needs to call intelligence
It when contract, does not need to develop corresponding SDK application program, does not need to be familiar with home environment configuration, parameter configuration etc. yet, it is only necessary to
Optional intelligent contract in the optional block chain that is shown in the visualization interface of user terminal, each optional block chain and each
Selection target block chain, Intelligent target contract and goal approach in optional method in optional intelligence contract, and according to target
The call parameters of method input specific call parameters value, so that it may realize the calling to intelligent contract.The calling of intelligent contract
Method is simple to operation, reduces the difficulty and cost for calling intelligent contract, the range of block chain user is expanded, so that area
Block chain can be merged preferably with business scenario.
For block chain cloud service platform end, the present embodiment correspondence discloses a kind of intelligent contract based on visualization interface
Call method, referring to Fig. 3, this method comprises:
S301: the access authority information tune for the digital identity information for carrying block chain user that user terminal is sent is received
With request;
S302: pair between the digital identity information and access authority information of different blocks chain user according to the pre-stored data
It should be related to, feed back access authority information corresponding with the digital identity information of the block chain user to user terminal, make user
Terminal shows access authority information in visualization interface;
Access authority information includes the optional block chain of the block chain user, optional in each optional block chain
The call parameters in optional method and each optional method in intelligent contract, each optional intelligent contract.
S303: it receives the contract that user terminal is sent and calls Transaction Information;
It includes that the private key of the block chain user calls the signature of Transaction Information to contract that the contract, which calls Transaction Information,
And target block chain, Intelligent target contract, goal approach and target that the block chain user is inputted by visualization interface
The call parameters of method.
S304: verifying the signature, calls in Transaction Information after being verified from the contract and extracts target
The call parameters of block chain, Intelligent target contract, goal approach and goal approach;
The public key that each block chain user is preserved in block chain Cloud Server platform, is signed using public key verifications, judgement
Whether the identity of block chain user is credible, and verifies whether the block chain user can call the contract to call in Transaction Information
Intelligent contract.
S305: the target side in Intelligent target contract by the call parameters of goal approach, in invocation target block chain
Method.
It should also be noted that, a complete transaction may relate to multiple block chain users, the implementation procedure of transaction
It circulates between these blocks chain user, by taking the execution of an order transaction as an example, it is necessary first to block chain user A
Order information is created, by order cargo outbound, block chain user C is responsible for carrying out the logistics information after outbound block chain user B
It updates, block chain user D is signed for.Each block chain user is respectively necessary for the status information of more new order, orders as generated
List, physical state, is signed at outbound, can be by passing through choosing in user terminal visualization interface for block chain user A
Target block chain, the Intelligent target contract in target block chain, the goal approach in Intelligent target contract are selected, and inputs target side
The mode of the call parameters value of method calls intelligent contract to execute the transaction for generating order, which needs after executing by the shape of order
State is updated to generate order, does not need block chain user A at this time and inputs any parameter, it is only necessary to determine, block chain cloud
When service platform detects that the contract of needs block chain user A confirmation calls Transaction Information, the user to block chain user A is whole
The contract that end push needs to confirm calls Transaction Information, and block chain user A is made to pass through click in the visualization interface of user terminal
Button completes confirmation, and user terminal is sent to block chain cloud service platform after calling Transaction Information to sign contract automatically,
Block chain cloud service platform is set to call corresponding intelligent contract.
The disclosed intelligent contract call method based on visualization interface for being applied to user terminal based on the above embodiment,
The present embodiment correspondence discloses a kind of intelligent contract calling device based on visualization interface, is applied to user terminal, please refers to
Fig. 4, described device include:
Access authority information call unit 401, for call block chain cloud service platform store with block chain user's
The corresponding access authority information of digital identity information, and by the optional block chain, each described in the access authority information
Optional intelligent contract in optional block chain, the optional method in each optional intelligent contract and each described optional
Call parameters in method are shown in visualization interface, select and input call parameters letter for the block chain user
Breath;
Contract calls Transaction Information generation unit 402, for defeated by visualization interface in response to the block chain user
The contract recalls information entered generates contract and calls Transaction Information, and it includes: target block chain, mesh that the contract, which calls Transaction Information,
Mark the call parameters of intelligent contract, goal approach and goal approach;
Signature unit 403, the private key in digital identity information for utilizing the block chain user is to the contract tune
It is signed with Transaction Information;
Contract calls Transaction Information transmission unit 405, for calling Transaction Information to be sent to block the contract after signature
Chain cloud service platform, the target intelligence in call parameters invocation target block chain for making block chain cloud service platform pass through goal approach
Goal approach in energy contract.
Optionally, described device further include:
Digital identity information acquiring unit, user name for being inputted according to the block chain logging in system by user and close
Code, obtains the digital identity information of the block chain user, and to the block chain user's in block chain cloud service platform
Digital identity information is encrypted and is stored in local, and the digital identity information of the block chain user includes certificate and private key.
Optionally, described device further include:
Contract calls Transaction Information display unit, for handing over when the contract for receiving the push of block chain cloud service platform calls
When easy information, contract is called into target block chain, Intelligent target contract, goal approach and the goal approach in Transaction Information
Call parameters be shown in visualization interface;
Response unit is instructed, for being instructed in response to the block chain user by the confirmation that visualization interface inputs, and
Trigger the signature unit.
It is disclosed a kind of applied to a kind of based on visualization interface of block chain cloud service platform based on the above embodiment
Intelligent contract call method, the present embodiment correspondence disclose a kind of intelligent contract calling device based on visualization interface, apply
In block chain cloud service platform, referring to Fig. 5, described device includes:
Call request receiving unit 501, for receiving the digital identity for carrying block chain user of user terminal transmission
The access authority information call request of information;
Access authority information feedback unit 502, the digital identity for different blocks chain user according to the pre-stored data are believed
Corresponding relationship between breath and access authority information, to the digital identity information pair of user terminal feedback and the block chain user
The access authority information answered, shows that user terminal in visualization interface access authority information, the access authority information
Optional intelligent contract in optional block chain, each optional block chain including the block chain user, it is each it is described can
Select the call parameters in the optional method and each optional method in intelligent contract;
Contract calls Transaction Information receiving unit 503, and the contract for receiving user terminal transmission calls Transaction Information, institute
Stating contract and calling Transaction Information includes signature and the area of the private key of the block chain user to contract calling Transaction Information
The calling of target block chain, Intelligent target contract, goal approach and goal approach that block chain user is inputted by visualization interface
Parameter;
Signature verification unit 504 is called from the contract after being verified and is traded for verifying to the signature
The call parameters of target block chain, Intelligent target contract, goal approach and goal approach are extracted in information;
Intelligent contract call unit 505, the target for the call parameters by goal approach, in invocation target block chain
Goal approach in intelligent contract.
Optionally, described device further include:
Block chain user's creating unit distributes login system for creating block chain user for the block chain user
Username and password, and generate the digital identity information of the block chain user.
Optionally, described device further include:
Access authority information setting unit is arranged and stores and institute for the identity information according to the block chain user
State the corresponding access authority information of digital identity information of block chain user.
Optionally, described device further include:
Contract calls Transaction Information push unit, for calling when the contract for detecting the needs block chain user confirmation
When Transaction Information, the contract for needing to confirm to user terminal push calls Transaction Information.
Based on above-mentioned all embodiments, present embodiment discloses a kind of, and the intelligent contract based on visualization interface calls system
System, comprising:
At least one user terminal, the user terminal include the base for being applied to user terminal described in above-mentioned any one
In the intelligent contract calling device of visualization interface;
Block chain cloud service platform, the block chain cloud service platform include being applied to block described in above-mentioned any one
The intelligent contract calling device based on visualization interface of chain cloud service platform;
At least one block chain is deployed at least one intelligent contract, each intelligence in every block chain
Contract includes at least one method, and each the method includes at least one call parameters.
A kind of intelligent contract calling system based on visualization interface disclosed in the present embodiment, when user needs to call intelligence
It when contract, does not need to develop corresponding SDK application program, does not need to be familiar with home environment configuration, parameter configuration etc. yet, it is only necessary to
Optional intelligent contract in the optional block chain that is shown in the visualization interface of user terminal, each optional block chain and each
Selection target block chain, Intelligent target contract and goal approach in optional method in optional intelligence contract, and according to target
The call parameters of method input specific call parameters value, so that it may realize the calling to intelligent contract.The calling of intelligent contract
Method is simple to operation, reduces the difficulty and cost for calling intelligent contract, the range of block chain user is expanded, so that area
Block chain can be merged preferably with business scenario.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of intelligent contract call method based on visualization interface, which is characterized in that be applied to user terminal, the method
Include:
The access authority information corresponding with the digital identity information of block chain user of block chain cloud service platform storage is called,
And by the optional block chain in the access authority information, optional intelligent contract, Mei Gesuo in each optional block chain
The call parameters stated in optional method and each optional method in optional intelligent contract are shown in visualization interface
In, call parameters information is selected and inputted for user;
In response to the contract recalls information that the block chain user is inputted by visualization interface, generates contract and call transaction letter
Breath, it includes: the tune of target block chain, Intelligent target contract, goal approach and goal approach that the contract, which calls Transaction Information,
Use parameter;
Transaction Information is called to sign the contract using the private key in the digital identity information of the block chain user;
It calls Transaction Information to be sent to block chain cloud service platform the contract after signature, block chain cloud service platform is made to pass through mesh
The goal approach in Intelligent target contract in the call parameters invocation target block chain of mark method.
2. the method according to claim 1, wherein in invoking server storage with block chain user's
Before the corresponding access authority information of digital identity information, the method also includes:
According to the username and password that the block chain logging in system by user is inputted, institute is obtained in block chain cloud service platform
The digital identity information of block chain user is stated, and this is encrypted and be stored in the digital identity information of the block chain user
The digital identity information on ground, the block chain user includes certificate and private key.
3. the method according to claim 1, wherein the method also includes:
When the contract for receiving the push of block chain cloud service platform calls Transaction Information, contract is called into the mesh in Transaction Information
The call parameters for marking block chain, Intelligent target contract, goal approach and goal approach are shown in visualization interface;
It is instructed in response to the block chain user by the confirmation that visualization interface inputs, and executes the utilization block chain
Private key in the digital identity information of user calls Transaction Information to sign the contract.
4. a kind of intelligent contract call method based on visualization interface, which is characterized in that it is applied to block chain cloud service platform,
The described method includes:
Receive the access authority information call request for the digital identity information for carrying block chain user that user terminal is sent;
Corresponding relationship between the digital identity information and access authority information of different blocks chain user according to the pre-stored data, to
User terminal feeds back access authority information corresponding with the digital identity information of the block chain user, access user terminal will
Authority information is shown in visualization interface, and the access authority information includes the optional block chain, every of the block chain user
Optional intelligent contract in a optional block chain, the optional method in each optional intelligent contract and each institute
State the call parameters in optional method;
It receives the contract that user terminal is sent and calls Transaction Information, it includes the block chain user that the contract, which calls Transaction Information,
Private key the signature and the target block that inputs by visualization interface of the block chain user of Transaction Information are called to contract
The call parameters of chain, Intelligent target contract, goal approach and goal approach;
The signature is verified, is called after being verified from the contract and extracts target block chain, mesh in Transaction Information
Mark the call parameters of intelligent contract, goal approach and goal approach;
The goal approach in Intelligent target contract by the call parameters of goal approach, in invocation target block chain.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Block chain user is created, the username and password of login system is distributed for the block chain user, and generates the block
The digital identity information of chain user.
6. according to the method described in claim 5, it is characterized in that, the method is also after the creation block chain user
Include:
According to the identity information of the block chain user, it is arranged and stores opposite with the digital identity information of the block chain user
The access authority information answered.
7. according to the method described in claim 4, it is characterized in that, the method also includes:
When detecting the contract calling Transaction Information for needing the block chain user confirmation, need to confirm to user terminal push
Contract call Transaction Information.
8. a kind of intelligent contract calling device based on visualization interface, which is characterized in that be applied to user terminal, described device
Include:
Access authority information call unit, the digital identity with block chain user for calling block chain cloud service platform to store
The corresponding access authority information of information, and by optional block chain, each optional block in the access authority information
In the optional method and each optional method in optional intelligent contract, each optional intelligent contract in chain
Call parameters are shown in visualization interface, select and input call parameters information for the block chain user;
Contract calls Transaction Information generation unit, the contract for inputting in response to the block chain user by visualization interface
Recalls information generates contract and calls Transaction Information, and it includes: target block chain, Intelligent target conjunction that the contract, which calls Transaction Information,
About, the call parameters of goal approach and goal approach;
Signature unit, for calling transaction letter to the contract using the private key in the digital identity information of the block chain user
Breath is signed;
Contract calls Transaction Information transmission unit, for calling Transaction Information to be sent to block chain cloud service the contract after signature
Platform passes through block chain cloud service platform in the Intelligent target contract in the call parameters invocation target block chain of goal approach
Goal approach.
9. a kind of intelligent contract calling device based on visualization interface, which is characterized in that it is applied to block chain cloud service platform,
Described device includes:
Call request receiving unit, the visit of the digital identity information for carrying block chain user for receiving user terminal transmission
Ask authority information call request;
Access authority information feedback unit, digital identity information and access for different blocks chain user according to the pre-stored data
Corresponding relationship between authority information feeds back access corresponding with the digital identity information of the block chain user to user terminal
Authority information shows that user terminal in visualization interface access authority information, and the access authority information includes described
Optional intelligent contract, each optional intelligence in the optional block chain of block chain user, each optional block chain close
The call parameters in optional method and each optional method in about;
Contract calls Transaction Information receiving unit, and the contract for receiving user terminal transmission calls Transaction Information, the contract
Calling Transaction Information includes that the private key of the block chain user calls the signature of Transaction Information and the block chain to use contract
The call parameters of target block chain, Intelligent target contract, goal approach and goal approach that family is inputted by visualization interface;
Signature verification unit is called in Transaction Information after being verified from the contract for verifying to the signature
Extract the call parameters of target block chain, Intelligent target contract, goal approach and goal approach;
Intelligent contract call unit, for the call parameters by goal approach, the Intelligent target in invocation target block chain is closed
Goal approach in about.
10. a kind of intelligent contract calling system based on visualization interface characterized by comprising
At least one user terminal, the user terminal include the intelligent contract according to any one of claims 8 based on visualization interface
Calling device;
Block chain cloud service platform, the block chain cloud service platform include as claimed in claim 9 based on visualization interface
Intelligent contract calling device;
At least one block chain is deployed at least one intelligent contract, each intelligent contract in every block chain
Including at least one method, each the method includes at least one call parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910074994.4A CN109818957B (en) | 2019-01-25 | 2019-01-25 | Intelligent contract calling method, device and system based on visual interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910074994.4A CN109818957B (en) | 2019-01-25 | 2019-01-25 | Intelligent contract calling method, device and system based on visual interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109818957A true CN109818957A (en) | 2019-05-28 |
CN109818957B CN109818957B (en) | 2020-12-22 |
Family
ID=66605213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910074994.4A Active CN109818957B (en) | 2019-01-25 | 2019-01-25 | Intelligent contract calling method, device and system based on visual interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109818957B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110827037A (en) * | 2019-11-07 | 2020-02-21 | 北京海益同展信息科技有限公司 | Data interaction method and device based on block chain |
CN111865936A (en) * | 2020-06-30 | 2020-10-30 | 深圳前海益链网络科技有限公司 | Intelligent contract implementation method and device, computer equipment and storage medium |
CN112052473A (en) * | 2019-06-05 | 2020-12-08 | 国际商业机器公司 | Geographic location compliance |
CN116743729A (en) * | 2023-08-14 | 2023-09-12 | 四川万流数据服务有限责任公司 | Intelligent contract calling device, system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108768988A (en) * | 2018-05-17 | 2018-11-06 | 深圳前海微众银行股份有限公司 | Block chain access control method, equipment and computer readable storage medium |
CN108960825A (en) * | 2018-06-26 | 2018-12-07 | 阿里巴巴集团控股有限公司 | Electric endorsement method and device, electronic equipment based on block chain |
CN109033406A (en) * | 2018-08-03 | 2018-12-18 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN109067759A (en) * | 2018-08-27 | 2018-12-21 | 深圳前海益链网络科技有限公司 | A kind of intelligence contract calling single-point execution system |
EP3451608A1 (en) * | 2017-09-04 | 2019-03-06 | Siemens Aktiengesellschaft | Filter unit based data communication system including a blockchain platform |
-
2019
- 2019-01-25 CN CN201910074994.4A patent/CN109818957B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3451608A1 (en) * | 2017-09-04 | 2019-03-06 | Siemens Aktiengesellschaft | Filter unit based data communication system including a blockchain platform |
CN108768988A (en) * | 2018-05-17 | 2018-11-06 | 深圳前海微众银行股份有限公司 | Block chain access control method, equipment and computer readable storage medium |
CN108960825A (en) * | 2018-06-26 | 2018-12-07 | 阿里巴巴集团控股有限公司 | Electric endorsement method and device, electronic equipment based on block chain |
CN109033406A (en) * | 2018-08-03 | 2018-12-18 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN109067759A (en) * | 2018-08-27 | 2018-12-21 | 深圳前海益链网络科技有限公司 | A kind of intelligence contract calling single-point execution system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112052473A (en) * | 2019-06-05 | 2020-12-08 | 国际商业机器公司 | Geographic location compliance |
CN110827037A (en) * | 2019-11-07 | 2020-02-21 | 北京海益同展信息科技有限公司 | Data interaction method and device based on block chain |
CN111865936A (en) * | 2020-06-30 | 2020-10-30 | 深圳前海益链网络科技有限公司 | Intelligent contract implementation method and device, computer equipment and storage medium |
CN116743729A (en) * | 2023-08-14 | 2023-09-12 | 四川万流数据服务有限责任公司 | Intelligent contract calling device, system and method |
Also Published As
Publication number | Publication date |
---|---|
CN109818957B (en) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109818957A (en) | Intelligent contract call method, apparatus and system based on visualization interface | |
CN110428257B (en) | Password cracking task processing method, equipment and storage medium | |
CN107730196B (en) | Project progress management method and terminal equipment | |
CN110493007A (en) | A kind of Information Authentication method, apparatus, equipment and storage medium based on block chain | |
CN108960825A (en) | Electric endorsement method and device, electronic equipment based on block chain | |
CN108898389A (en) | Based on the content verification method and device of block chain, electronic equipment | |
CN109460966A (en) | Contract signing method, apparatus and terminal device based on requesting party's classification | |
CN104169952A (en) | Network payment method, device and system | |
CN110737723B (en) | Method, device and equipment for getting card ticket and storage medium | |
CN107147711A (en) | Application service update method and device | |
CN104091140A (en) | Information processing method and electronic device | |
CN108932421A (en) | A kind of identity identifying method and device | |
CN111444090B (en) | Contract testing method and device in blockchain, electronic equipment and storage medium | |
CN107682376B (en) | Wind control data interaction method and device | |
CN108390848A (en) | A kind of information witness method and device | |
CN116975901A (en) | Identity verification method, device, equipment, medium and product based on block chain | |
CN109150981B (en) | Block chain network networking method, device, equipment and computer readable storage medium | |
CN106886705A (en) | A kind of processing method and processing device of film information | |
CN114677138B (en) | Data processing method, device and computer readable storage medium | |
CN109698974A (en) | A kind of method, apparatus, electronic equipment and the medium of display progress | |
CN115482631A (en) | Information interaction method and device | |
US12051128B2 (en) | Method for negotiating a contract between two parties in a telecommunications network and devices implementing said method | |
CN113767607B (en) | Communication server and user equipment for verifying gift certificates | |
CN110661789B (en) | Address resetting method, device, equipment and computer readable storage medium | |
CN105430056B (en) | A kind of remote access method and system of mobile terminal application |
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 |