Movatterモバイル変換


[0]ホーム

URL:


CN109492983A - E-seal based on block chain intelligence contract signs method and apparatus - Google Patents

E-seal based on block chain intelligence contract signs method and apparatus
Download PDF

Info

Publication number
CN109492983A
CN109492983ACN201811123654.8ACN201811123654ACN109492983ACN 109492983 ACN109492983 ACN 109492983ACN 201811123654 ACN201811123654 ACN 201811123654ACN 109492983 ACN109492983 ACN 109492983A
Authority
CN
China
Prior art keywords
contract
seal
intelligent contract
key
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811123654.8A
Other languages
Chinese (zh)
Other versions
CN109492983B (en
Inventor
臧磊
傅婧
郭鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co LtdfiledCriticalOneConnect Smart Technology Co Ltd
Priority to CN201811123654.8ApriorityCriticalpatent/CN109492983B/en
Publication of CN109492983ApublicationCriticalpatent/CN109492983A/en
Application grantedgrantedCritical
Publication of CN109492983BpublicationCriticalpatent/CN109492983B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

This application involves block chain technical fields, provide a kind of E-seal signature method, apparatus, computer equipment and storage medium based on block chain intelligence contract.The described method includes: obtaining contract information and the corresponding authority identification of the contract information, intelligent contract is generated according to the contract information and the authority identification, includes E-seal key in the intelligence contract;It will be in the intelligent contract write-in block chain;It receives the E-seal that terminal is sent and signs request, E-seal signature request is diffused in the block chain, the block chain is used to know together to E-seal signature request;After common recognition passes through, target electronic seal key is obtained, when the E-seal key agreement in the target electronic seal key and the intelligent contract, the intelligent contract is executed, obtains the electronic contract of signed E-seal.It can prevent E-seal mistake from signing using the present processes.

Description

E-seal based on block chain intelligence contract signs method and apparatus
Technical field
This application involves block chain technical fields, more particularly to a kind of E-seal label based on block chain intelligence contractArranging method and device.
Background technique
Two sides or in many ways when signing a contract, it is often necessary to it is with an official seal affixed on contract, to ensure the authenticity of contract and haveEffect property.And with the rapid development of computer technology, traditional papery contract is gradually replaced by electronic contract, in traditional technology,It is with an official seal affixed to electronic contract, it is usually the interface for calling directly signature E-seal, this mode is there are security risk, when connecingWhen mouth is by malicious attack, it is easy to cause the mistake signature of mistake E-seal.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide it is a kind of can prevent that E-seal mistake from signing based onThe E-seal of block chain intelligence contract signs method and apparatus.
A kind of E-seal based on block chain intelligence contract signs method, which comprises obtain contract information andThe corresponding authority identification of the contract information generates intelligent contract, the intelligence according to the contract information and the authority identificationIt can include E-seal key in contract;It will be in the intelligent contract write-in block chain;Receive the E-seal label that terminal is sentAdministration's request carries out common recognition verification to E-seal signature request;After common recognition verification passes through, it is close to obtain target electronic sealKey executes the intelligence and closes when the E-seal key agreement in the target electronic seal key and the intelligent contractAbout, the electronic contract of signed E-seal is obtained.
The E-seal signature request carries current facility mark, the acquisition target in one of the embodiments,Before E-seal key, comprising: according to the corresponding first E-seal sub-key of the current facility identifier lookup, and receiveThe current facility that block chain node returns identifies corresponding second E-seal sub-key;The acquisition target electronic sealKey, comprising: carry out the first E-seal sub-key and the second E-seal sub-key according to preset sequenceCombination, obtains the target electronic seal key.
In one of the embodiments, before the E-seal signature request for receiving terminal transmission, comprising: receive eventuallyThe electronic contract that end is sent generates request, and the electronic contract, which generates, carries scene identity, user identifier in request;According to describedScene identity searches corresponding contract template and essence of a contract;The corresponding word of the essence of a contract is searched according to the user identifierSegment information;Electronic contract is generated according to the contract template, the essence of a contract and the field information.
It is described in one of the embodiments, that intelligent contract, packet are generated according to the contract information and the authority identificationIt includes: intelligent contract text is generated according to the contract information and the authority identification;According at the beginning of the intelligent contract text generationBegin intelligent contract, and carries out Formal Verification to the initial intelligent contract, when being verified, obtains the intelligent contract.
It is described in one of the embodiments, that the intelligent contract is written in block chain, comprising: to pass through peer-to-peer networkThe intelligent contract is diffused into the block chain by mode, and the block chain is used to know together to the intelligent contract;WhenWhen the block chain within a preset time passes through the intelligent contract common recognition, block is generated according to the intelligent contract;By instituteIt states block to be diffused into block chain, the block chain is for verifying the block, when being verified, by the blockBlock chain is written.
In one of the embodiments, it is described according to the contract information and the authority identification generate intelligent contract itBefore, which comprises establish default intelligent contract template;It is described that intelligence is generated according to the contract information and the authority identificationEnergy contract, comprising: intelligent contract is generated according to the intelligent contract template, the contract information and the authority identification.
A kind of E-seal signature device based on block chain intelligence contract, described device includes: that intelligent contract generates mouldBlock, for obtaining contract information and the corresponding authority identification of the contract information, according to the contract information and the mechanism markKnow and generate intelligent contract, includes E-seal key in the intelligence contract;Writing module, for the intelligent contract to be writtenIn block chain;E-seal signs request receiving module, for receiving the E-seal signature request of terminal transmission, to the electricitySub- seal signature request carries out common recognition verification;Intelligent contract execution module, for obtaining target electronic after common recognition verification passes throughSeal key, when the E-seal key agreement in the target electronic seal key and the intelligent contract, described in executionIntelligent contract obtains the electronic contract of signed E-seal.
The E-seal signature request carries current facility mark in one of the embodiments, and described device is also wrappedIt includes E-seal sub-key and obtains module, for close according to the corresponding first electronic seal seal of the current facility identifier lookupKey, and the current facility for receiving the return of block chain link point identifies corresponding second E-seal sub-key;The intelligence is closedAbout execution module is also used to the first E-seal sub-key with the second E-seal sub-key according to preset suitableSequence is combined, and obtains the target electronic seal key.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processingDevice realizes step described in the above-mentioned E-seal signature method based on block chain intelligence contract when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processorStep described in the above-mentioned E-seal signature method based on block chain intelligence contract is realized when row.
Above-mentioned E-seal signature method, apparatus, computer equipment and storage medium based on block chain intelligence contract, it is firstContract information and the corresponding authority identification of the contract information are first obtained, is generated according to the contract information and the authority identificationIntelligent contract includes E-seal key in the intelligence contract, by the intelligent contract write-in block chain, is receiving terminalWhen the E-seal of transmission signs request, E-seal signature request is diffused in the block chain, the areaBlock chain is used to know together to E-seal signature request, after common recognition passes through, obtains target electronic seal key, works as instituteWhen stating the E-seal key agreement in target electronic seal key and the intelligent contract, the intelligent contract is executed, is obtainedIn the application, since the information in block chain can not distort, contract is believed for the electronic contract of signed E-sealBreath is written in block chain intelligence contract with authority identification, it is ensured that data safety, to prevent the mistake signature of E-seal.
Detailed description of the invention
Fig. 1 is the application scenario diagram of the E-seal signature method in one embodiment based on block chain intelligence contract;
Fig. 2 is the flow diagram of the E-seal signature method in one embodiment based on block chain intelligence contract;
Fig. 3 is the flow diagram of step S204 in one embodiment;
Fig. 4 is the structural block diagram of the E-seal signature device in one embodiment based on block chain intelligence contract;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understoodThe application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, notFor limiting the application.
E-seal provided by the present application based on block chain intelligence contract signs method, can be applied to as shown in Figure 1Application environment in.Wherein, terminal 102 is communicated with server 104 by network by network.Server 104 obtains firstContract information and the corresponding authority identification of contract information are taken, based on contract information and authority identification generate intelligent contract, the intelligenceIt is stored with E-seal key in contract, then intelligent contract is written in block chain, when the electronics for receiving the transmission of terminal 102When seal signature request, which is signed into request, queue to be verified is added, and by E-seal signature request in areaIt is spread in block chain, the node in block chain knows together to E-seal signature request, and after common recognition passes through, server 104 is obtainedTarget electronic seal key is taken, when the E-seal key agreement in the target electronic seal key and intelligent contract, is executedIntelligent contract, to obtain the electronic contract of signed E-seal.
Wherein, terminal 102 can be, but not limited to be various personal computers, laptop, smart phone, plate electricityBrain, server 104 can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of E-seal signatory based on block chain intelligence contractMethod is applied to be illustrated for the server in Fig. 1 in this way, comprising the following steps:
Step S202 obtains contract information and the corresponding authority identification of contract information, based on contract information and authority identificationIntelligent contract is generated, includes E-seal key in intelligent contract.
Wherein, contract information includes contract template mark, essence of a contract, the corresponding field information of essence of a contract and the conjunctionThe data such as the limited time limit with corresponding E-seal key, E-seal;Authority identification is corresponding for identifying E-sealSign mechanism.Contract template, essence of a contract and the corresponding field information of essence of a contract may make up a complete electronic contract,In, contract template, essence of a contract are corresponding with business scenario, and the corresponding field information of essence of a contract is corresponding with contract signature user,Business scenario therein for example leases scene, loan scene etc., and essence of a contract refers to the field type of composition contract information, exampleSuch as, borrower, identification card number, address, creditor etc..
In the present embodiment, server, can basis after getting contract information and the corresponding authority identification of contract informationContract information and authority identification generate intelligent contract, and the number such as contract information and authority identification is stored in the intelligent contract of generationAccording to.Wherein, intelligent contract is a kind of computer protocol for being intended to propagate, verify or execute in a manner of information-based contract.Intelligence is closedAbout allow to carry out credible transaction in no third-party situation, these transaction are traceable and irreversible.Intelligent contract is generationThe set of code and data.
Intelligent contract is written in block chain step S204.
Specifically, the both sides to sign a contract, including contract signature user and signature mechanism, it is necessary first to be registered as blockThe user of chain, when succeeding in registration, block chain can return to contract signature user and signature mechanism a pair of public key and private key respectively, work as clothesIt is engaged in after the intelligent contract of device generation, contract signature user and signature mechanism are respectively adopted respective private key and sign to intelligent contractName then will be in the intelligent contract write-in block chain after signature to guarantee the validity of contract.
In one embodiment, intelligent contract is written in block chain server, specifically includes the following steps: server is firstIntelligent contract is diffused into block chain by the mode for first passing through peer-to-peer network, and the node in block chain is total to intelligent contractKnow;When passing through within a preset time to intelligent contract common recognition, block is generated according to intelligent contract;Block is diffused into block chainIn, the node in block chain verifies block, and when being verified, block chain is written in block.
Step S206 receives the E-seal that terminal is sent and signs request, knows together to E-seal signature requestVerification.
Specifically, the corresponding current contract information of electronic contract to be signed and current machine are carried in E-seal signature requestStructure mark, wherein current contract information includes that the corresponding contract template mark of electronic contract to be signed, essence of a contract, contract are wantedThe corresponding field information of element.In one embodiment, before terminal to server sends E-seal signature request, server is neededFirst to generate a electronic contract, electronic contract is sent to terminal, the corresponding contract signature user of terminal to electronic contract intoRow signature, after having signed, the electronic contract of the good name of the label is sent to server by terminal, while sending E-seal to serverSignature request, E-seal signature request are used to indicate the E-seal that server covers contract signature mechanism to electronic contract.
Further, after server receives E-seal signature request, by E-seal signature request in block chainIt is diffused, each node verifies E-seal signature request in block chain, including verifies electronic contract to be signedCorresponding contract information authority identification corresponding with whether identical, the to be signed electronic contract of contract information in intelligent contract with onlyCan whether authority identification in contract identical, E-seal signature requests whether corresponding timestamp arranges in intelligent contractTerm of validity in etc..After verification of most of node to E-seal signature request passes through, it is determined that logical for common recognition verificationIt crosses.
Step S208 obtains target electronic seal key, when target electronic seal key and intelligence after common recognition verification passes throughCan E-seal key agreement in contract when, execute intelligent contract, obtain the electronic contract of signed E-seal.
Specifically, after common recognition passes through, server is obtained according to the current facility mark carried in E-seal signature requestTake corresponding target electronic seal key, when the target electronic seal key that gets with can only E-seal key in contractWhen consistent, intelligent contract is executed, the electronic contract of signed E-seal is obtained.
In one embodiment, for target electronic seal key storage in the memory of server, server can be according to currentE-seal key directly finds target electronic seal key, after finding E-seal key, electronics that server will acquireSeal key is spread in block chain, when nodes most of in block chain pass through the target electronic seal key verification, thenDetermine the E-seal key agreement in the target electronic seal key and intelligent contract, at this point, intelligent contract executes automatically, it is rightElectronic contract is with an official seal affixed, obtains the electronic contract of signed E-seal.
In the above-mentioned E-seal signature method based on block chain intelligence contract, server obtains contract information and conjunction firstThe corresponding authority identification with information, based on contract information and authority identification generate intelligent contract, include electronic seal in intelligent contractIntelligent contract is written in block chain chapter key, when receiving the E-seal signature request that terminal is sent, by E-seal labelAdministration's request is diffused in block chain, and block chain is used to know together to E-seal signature request, after common recognition passes through, is obtainedTarget electronic seal key is taken, when the E-seal key agreement in target electronic seal key and intelligent contract, executes intelligenceCan contract, obtain the electronic contract of signed E-seal, in the application, since the information in block chain can not distort,It therefore will be in contract information and authority identification write-in block chain intelligence contract, it is ensured that data safety, to prevent electronic sealThe mistake signature of chapter.
In one embodiment, E-seal signature request carries current facility mark, obtains target electronic seal keyBefore, comprising: according to the corresponding first E-seal sub-key of current facility identifier lookup, and receive the return of block chain link pointCurrent facility identifies corresponding second E-seal sub-key;Obtain target electronic seal key, comprising: by the first E-sealSub-key is combined with the second E-seal sub-key according to preset sequence, obtains target electronic seal key.
It in the present embodiment, is the safety and compliance that are further ensured that E-seal key, by the corresponding electricity of contractSub- seal key distributed storage is on each node of block chain, and server is after receiving E-seal signature request, meetingE-seal signature request is verified, after verification passes through, according to the current facility mark carried in E-seal signature requestKnow and searches corresponding first E-seal sub-key, meanwhile, E-seal signature request is spread in block chain, in block chainEach node to the E-seal signature request verify, when any one block chain node to E-seal sign requestVerification is when passing through, which can sign the current facility identifier lookup carried in request corresponding the according to E-sealSecond E-seal sub-key is returned to server by two E-seal sub-keys, and after common recognition passes through, server gets moreA E-seal sub-key carries out deduplication operation to these E-seal sub-keys first, then carries out according to preset sequenceCombination, to obtain E-seal key.
In the present embodiment, by the way that E-seal key is carried out distributed storage, server only gets multiple electronicsSeal sub-key could combine to obtain E-seal key, to further ensure safety existing for E-seal key.
In one embodiment, before the E-seal signature request for receiving terminal transmission, comprising: receive what terminal was sentElectronic contract generates request, and electronic contract, which generates, carries scene identity, user identifier in request;It is searched and is corresponded to according to scene identityContract template and essence of a contract;The corresponding field information of essence of a contract is searched according to user identifier;Based on contract template, contractElement and field information generate electronic contract.
Wherein, scene identity is used for identification service scene, business scenario for example to the relevant field of business such as loan, leaseScape;Identity of the user identifier for unique identification contract signature user.After server receives electronic contract generation request, to thisRequest is parsed, wherein the scene identity and user identifier that are carried, then can search corresponding according to scene identityContract template and essence of a contract, wherein contract template refers to that the fixed format for extracting existing contract and/or fixed field obtainTemplate, essence of a contract refers to the variable field type of composition contract, for example, borrower, identification card number, address, creditorEtc..
Further, server can find the corresponding field of each essence of a contract according to user identifier from database and believeBreath, for example, the field information of borrower;Zhang San.Getting contract template, essence of a contract and the corresponding field letter of essence of a contractAfter breath, essence of a contract and field information are written in contract template, to obtain electronic contract.
In the present embodiment, by the way that contract template, essence of a contract is arranged, electronic contract can be quickly generated, electronics is improvedThe formation efficiency of contract.
In one embodiment, based on contract information and authority identification generate intelligent contract, comprising: based on contract information andAuthority identification generates intelligent contract text;It is closed according to the intelligence contract text generation initial intelligent contract, and to the initial intelligentFormal Verification is about carried out, intelligent contract is arrived when being verified.
Wherein, intelligent contract text is to retouch the contract information of natural language description and authority identification by what is formalizedIt states, is converted into the text that the specification of formalization obtains.Formal Verification refers to whether the existing program of verifying meets itThe requirement of specification.It is generally divided into model inspection and verifying of deducing, is based respectively on two kinds of thoughts of state search and theorem proving.
Specifically, server converts contract information and authority identification to the natural language description of rule, i.e. propositional logic,Intelligent contract text has just been obtained, intelligent contract language (such as Solidity language, Yi Zhongzhi are passed through according to intelligent contract textCan contract high-level language) executable code of establishing intelligent contract, initial intelligent contract is obtained, then to initial intelligent contractFormal Verification is carried out, that is, verifies the requirement whether initial intelligent contract meets specification, uses SPIN (Simple PromelaInterpreter is suitable for the assistant analysis detection instrument of parallel system, especially protocol conformance)) tool verified,Promela (modeling language of the SPIN) model for being established initial intelligent contract using concurrent process first, is tested using SPIN toolWhether card Promela model meets the safety of linear time temporal logic (LTL) formula description, judges to execute by verification resultWhether contract meets the requirement of specification, when counter-example occurs in verification result, illustrates intelligent contract existing defects, modifies intelligent contractThe defects of.When verification result is all correct, intelligent contract is obtained.Wherein, the code structure of intelligent contract is divided into structural bodyWith function two parts, structural body has recorded the related data of contract information and authority identification, and function provides answering of externally operatingUse program interface code.
In above-described embodiment, the safety of intelligent contract can be guaranteed without leakage by carrying out Formal Verification to intelligent contractHole.
In one embodiment, as shown in figure 3, in step S204, intelligent contract is written in block chain, comprising:
Intelligent contract is diffused into block chain by step S302 by way of peer-to-peer network, and block chain is used for intelligenceContract is known together.
Wherein, peer-to-peer network, i.e. P2P (Peer to Peer), refer to peer-to-peer computer network, be it is a kind of fellow itBetween distribute the Distributed Application framework of task and workload, a kind of networking or net that be P2P computing model form in application layerNetwork form, feature include decentralization, scalability and high performance-price ratio etc..
Specifically, intelligent contract is spread in block chain the whole network by way of P2P, and block chain node can all receive the intelligenceEnergy contract, and the intelligence contract is saved in memory, wait common recognition.Wherein common recognition is to realize to establish letter between different nodesAppoint, obtain the process of equity.
Step S304, when block chain within a preset time passes through intelligent contract common recognition, according to intelligent contract generation areaBlock.
Specifically, when knowing together the time then, the cryptographic Hash for saving intelligent contract in memory is calculated in block chain node accounting,And block structure is formed by the cryptographic Hash and intelligent contract, which is diffused into other block chain nodes, otherBlock chain node gets the corresponding cryptographic Hash of intelligence contract in block structure, and the cryptographic Hash and the intelligence oneself saved are closedCryptographic Hash about is compared, while the intelligent contract that each block chain node saves oneself is sent to other block chainsIt is compared in node, finally, indicating block chain when all block chain nodes within a preset time reach an agreement to intelligent contractThe common recognition of the intelligence contract is passed through, server generates block according to the intelligence contract, includes following information in block: working as propareaThe cryptographic Hash of block, the cryptographic Hash of previous block, timestamp when reaching common understanding, description information and intelligent contract.
Block is diffused into block chain by S306, and block chain is for verifying block, when being verified, by areaBlock chain is written in block.
Specifically, know together intelligent contract be diffused into the form of block in block chain node, when block chain nodeWhen receiving the intelligence contract, which is verified, verifies contract signature user and contract label in the intelligence contractWhether the private key signature of mechanism, administration matches with the account of block chain node, and when being verified, block chain is written in intelligent contractIn.
In above-described embodiment, intelligent contract is written in block chain by way of common recognition, ensure that intelligent contract notIt can distort.
In one embodiment, before based on contract information and authority identification generate intelligent contract, method includes: to establish in advanceIf intelligent contract template;Based on contract information and authority identification generate intelligent contract, comprising: according to intelligent contract template, contractInformation and authority identification generate intelligent contract.
Wherein, presetting intelligent contract template is established according to the code in intelligent contract with fixed character, is had solidThe code for determining feature refer to have in intelligent contract that based on contract information and authority identification are established identical function, same alike result andThe code segment of same procedure.
Specifically, when generating intelligent contract, the code in intelligent contract with fixed character is extracted, will be extractedThe code come saves in the database, default intelligent contract template is obtained, every time when generating intelligent contract all by intelligent contractIn extracted with the code of fixed character, the code extracted is saved in the database, just will form intelligent contractTemplate library.When server needs to generate intelligent contract, intelligent contract template is searched from database, then according to intelligent contractTemplate, contract information and authority identification generate intelligent contract.For example, being having the same according to the code that authority identification generatesThe code of the part is saved in database by the code of function.When generating intelligent contract, the code of the part is got,As long as modifying the corresponding parameter of authority identification, so that it may the corresponding code of the authority identification in intelligent contract is generated, so as toImprove the formation efficiency of intelligent contract.
It should be understood that although each step in the flow chart of Fig. 2-3 is successively shown according to the instruction of arrow,These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these stepsExecution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-3Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-stepsCompletion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successivelyIt carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternatelyIt executes.
In one embodiment, as shown in figure 4, providing a kind of E-seal signature dress based on block chain intelligence contractSet 400, comprising: intelligent contract generation module 402, writing module 404, E-seal signature request receiving module 406 and intelligenceContract execution module 408, in which:
Intelligent contract generation module 402 is for obtaining contract information and the corresponding authority identification of contract information, based on contractInformation and authority identification generate intelligent contract, include E-seal key in intelligent contract;
Writing module 404 is used to intelligent contract be written in block chain;
E-seal signature request receiving module 406 is used to receive the E-seal signature request of terminal transmission, to electronicsSeal signature request carries out common recognition verification;
Intelligent contract execution module 408 is used to target electronic seal key is obtained, when target electricity after common recognition verification passes throughWhen E-seal key agreement in sub- seal key and intelligent contract, intelligent contract is executed, signed E-seal is obtainedElectronic contract.
In one embodiment, E-seal signature request carries current facility mark, and above-mentioned apparatus further includes electronic sealSeal Key Acquisition Module is used for according to the corresponding first E-seal sub-key of current facility identifier lookup, and receives blockThe current facility that chain node returns identifies corresponding second E-seal sub-key;Intelligent contract execution module is also used to firstE-seal sub-key is combined with the second E-seal sub-key according to preset sequence, and it is close to obtain target electronic sealKey.
In one embodiment, above-mentioned apparatus further include: electronic contract generation module, for receiving the electronics of terminal transmissionContract generates request, and electronic contract, which generates, carries scene identity, user identifier in request;Corresponding conjunction is searched according to scene identityWith template and essence of a contract;The corresponding field information of essence of a contract is searched according to user identifier;Based on contract template, essence of a contractAnd field information generates electronic contract.
In one embodiment, intelligent contract generation module is also used to based on contract information and authority identification generates intelligence and closesAbout text;Formal Verification is carried out according to intelligent contract text generation initial intelligent contract, and to initial intelligent contract, works as verifyingBy when, obtain intelligent contract.
In one embodiment, writing module is also used to by way of peer-to-peer network intelligent contract being diffused into block chainIn, block chain is for knowing together to intelligent contract;When block chain within a preset time passes through intelligent contract common recognition, according toIntelligent contract generates block;Block is diffused into block chain, block chain is for verifying block, when being verified,Block chain is written into block.
In one embodiment, above-mentioned apparatus further includes;Template establishes module, for establishing default intelligent contract template;Intelligent contract generation module is used to generate intelligent contract according to intelligent contract template, contract information and authority identification.
About based on block chain intelligence contract E-seal signature device it is specific limit may refer to above forThe restriction of E-seal signature method based on block chain intelligence contract, details are not described herein.It is above-mentioned intelligently to be closed based on block chainThe modules in E-seal signature device about can be realized fully or partially through software, hardware and combinations thereof.It is above-mentionedEach module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be stored in a software formIn memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junctionComposition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface andDatabase.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipmentInclude non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and dataLibrary.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculatingThe database of machine equipment is for storing based on data such as contract information, authority identification, E-seal code keys.The computer equipmentNetwork interface is used to communicate with external terminal by network connection.To realize one kind when the computer program is executed by processorE-seal based on block chain intelligence contract signs method.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tiedThe block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipmentIt may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored withComputer program, which performs the steps of acquisition contract information when executing computer program and contract information is correspondingAuthority identification, based on contract information and authority identification generate intelligent contract, include E-seal key in intelligent contract;It will be intelligentContract is written in block chain;It receives the E-seal that terminal is sent and signs request, common recognition school is carried out to E-seal signature requestIt tests;After common recognition verification passes through, target electronic seal key is obtained, the electronics in target electronic seal key and intelligent contractWhen seal key agreement, intelligent contract is executed, the electronic contract of signed E-seal is obtained.
In one embodiment, E-seal signature request carries current facility mark, obtains target electronic seal keyBefore, it also performs the steps of when processor executes computer program according to corresponding first electronics of current facility identifier lookupSeal sub-key, and the current facility for receiving the return of block chain link point identifies corresponding second E-seal sub-key;Obtain meshMark E-seal key, comprising: by the first E-seal sub-key and the second E-seal sub-key according to preset sequence intoRow combination, obtains target electronic seal key.
In one embodiment, before receiving the E-seal signature request that terminal is sent, processor executes computer journeyIt is also performed the steps of when sequence and receives the electronic contract generation request that terminal is sent, electronic contract generates in request and carries sceneMark, user identifier;Corresponding contract template and essence of a contract are searched according to scene identity;Contract is searched according to user identifier to wantThe corresponding field information of element;Based on contract template, essence of a contract and field information generate electronic contract.
In one embodiment, based on contract information and authority identification generate intelligent contract, comprising: based on contract information andAuthority identification generates intelligent contract text;According to intelligent contract text generation initial intelligent contract, and to initial intelligent contract intoRow Formal Verification obtains intelligent contract when being verified.
In one embodiment, intelligent contract is written in block chain, comprising: by intelligent conjunction by way of peer-to-peer networkIt is about diffused into block chain, block chain is for knowing together to intelligent contract;When block chain is within a preset time to intelligent contractWhen common recognition passes through, block is generated according to intelligent contract;Block is diffused into block chain, block chain is for testing blockWhen being verified block chain is written in block by card.
In one embodiment, before based on contract information and authority identification generate intelligent contract, processor executes calculatingFoundation default intelligent contract template is also performed the steps of when machine program;Based on contract information and authority identification generate intelligence and closeAbout, comprising: intelligent contract is generated according to intelligent contract template, contract information and authority identification.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculatedMachine program performs the steps of when being executed by processor obtains contract information and the corresponding authority identification of contract information, according to conjunctionIntelligent contract is generated with information and authority identification, includes E-seal key in intelligent contract;Block chain is written into intelligent contractIn;It receives the E-seal that terminal is sent and signs request, common recognition verification is carried out to E-seal signature request;When common recognition verification is logicalLater, target electronic seal key is obtained, when the E-seal key agreement in target electronic seal key and intelligent contract,Intelligent contract is executed, the electronic contract of signed E-seal is obtained.
In one embodiment, E-seal signature request carries current facility mark, obtains target electronic seal keyBefore, it is also performed the steps of when computer program is executed by processor according to corresponding first electricity of current facility identifier lookupSub- seal sub-key, and the current facility for receiving the return of block chain link point identifies corresponding second E-seal sub-key;It obtainsTarget electronic seal key, comprising: by the first E-seal sub-key and the second E-seal sub-key according to preset sequenceIt is combined, obtains target electronic seal key.
In one embodiment, before receiving the E-seal signature request that terminal is sent, computer program is by processorIt is also performed the steps of when execution and receives the electronic contract generation request that terminal is sent, electronic contract generates in request and carries fieldScape mark, user identifier;Corresponding contract template and essence of a contract are searched according to scene identity;Contract is searched according to user identifierThe corresponding field information of element;Based on contract template, essence of a contract and field information generate electronic contract.
In one embodiment, based on contract information and authority identification generate intelligent contract, comprising: based on contract information andAuthority identification generates intelligent contract text;According to intelligent contract text generation initial intelligent contract, and to initial intelligent contract intoRow Formal Verification obtains intelligent contract when being verified.
In one embodiment, intelligent contract is written in block chain, comprising: by intelligent conjunction by way of peer-to-peer networkIt is about diffused into block chain, block chain is for knowing together to intelligent contract;When block chain is within a preset time to intelligent contractWhen common recognition passes through, block is generated according to intelligent contract;Block is diffused into block chain, block chain is for testing blockWhen being verified block chain is written in block by card.
In one embodiment, before based on contract information and authority identification generate intelligent contract, computer program is locatedReason device also performs the steps of foundation default intelligent contract template when executing;Based on contract information and authority identification generate intelligenceContract, comprising: intelligent contract is generated according to intelligent contract template, contract information and authority identification.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be withRelevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computerIn read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,To any reference of memory, storage, database or other media used in each embodiment provided herein,Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may includeRandom access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancingType SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodimentIn each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lanceShield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneouslyIt cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the artIt says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the applicationRange.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

CN201811123654.8A2018-09-262018-09-26Electronic seal signing method, device, equipment and medium based on block chain intelligent contractActiveCN109492983B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811123654.8ACN109492983B (en)2018-09-262018-09-26Electronic seal signing method, device, equipment and medium based on block chain intelligent contract

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811123654.8ACN109492983B (en)2018-09-262018-09-26Electronic seal signing method, device, equipment and medium based on block chain intelligent contract

Publications (2)

Publication NumberPublication Date
CN109492983Atrue CN109492983A (en)2019-03-19
CN109492983B CN109492983B (en)2023-04-07

Family

ID=65689884

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811123654.8AActiveCN109492983B (en)2018-09-262018-09-26Electronic seal signing method, device, equipment and medium based on block chain intelligent contract

Country Status (1)

CountryLink
CN (1)CN109492983B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110598823A (en)*2019-08-142019-12-20深圳壹账通智能科技有限公司Signature method and device based on virtual three-dimensional seal and computer equipment
CN110598460A (en)*2019-09-272019-12-20腾讯科技(深圳)有限公司Block chain-based electronic signature method and device and storage medium
CN110855688A (en)*2019-11-182020-02-28腾讯科技(深圳)有限公司Block chain information processing method and related equipment
CN111127205A (en)*2019-12-232020-05-08卓尔智联(武汉)研究院有限公司Intelligent contract generation method and device, computer equipment and storage medium
CN111338849A (en)*2020-02-242020-06-26扬州制汇互联信息技术有限公司Industrial demand contract execution method based on block chain
CN111340625A (en)*2020-02-242020-06-26扬州制汇互联信息技术有限公司Industrial contract execution system based on block chain
CN111597269A (en)*2020-05-212020-08-28昆明大棒客科技有限公司Block chain-based contract implementation method, device and equipment
CN111695805A (en)*2020-06-102020-09-22北京航空航天大学Intelligent contract model construction method and system for legal contracts
CN111741035A (en)*2020-08-282020-10-02支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
CN111738748A (en)*2020-08-142020-10-02支付宝(杭州)信息技术有限公司 Blockchain-based seal processing method and device
CN111985928A (en)*2020-09-032020-11-24深圳壹账通智能科技有限公司Verification method, verification device, electronic equipment and storage medium
CN112100588A (en)*2020-09-102020-12-18支付宝(杭州)信息技术有限公司 Blockchain-based digital seal application method, device and electronic device
CN112101938A (en)*2020-09-102020-12-18支付宝(杭州)信息技术有限公司Block chain-based digital seal using method and device and electronic equipment
CN112132584A (en)*2020-08-162020-12-25中信银行股份有限公司Contract signing method and device, electronic equipment and readable storage medium
CN113448592A (en)*2021-02-082021-09-28北京科技大学Intelligent legal contract generation method based on contract text markup language
CN114331437A (en)*2021-12-302022-04-12蚂蚁区块链科技(上海)有限公司Block chain-based digital seal using method and device
CN114936163A (en)*2022-06-072022-08-23中国银行股份有限公司Contract testing method, device, system and medium based on fixed-length message
CN115099987A (en)*2022-06-282022-09-23平安银行股份有限公司Electronic contract implementation method and device and electronic equipment
CN115495770A (en)*2022-11-182022-12-20中国信息通信研究院 Block chain-based overdue contract processing method and device, equipment and medium
CN116701538A (en)*2023-06-212023-09-05中国银行股份有限公司 Method, device, equipment, and storage medium for issuing electronic seals based on blockchain
TWI843134B (en)*2021-06-302024-05-21南韓商Arti朋友股份有限公司Blockchain network using a smart contract-based multi-chain technique and parallel expansion method thereof
CN119903557A (en)*2024-12-312025-04-29智百会(北京)科技有限公司 Digital signature electronic seal generation method based on blockchain storage

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080052519A1 (en)*2006-08-092008-02-28Hon Hai Precision Industry Co., Ltd.System and method for signing a contract electronically
CN106408299A (en)*2016-08-312017-02-15江苏买卖网电子商务有限公司Block chain technology-based electronic intelligent signing payment method
CN106960165A (en)*2017-03-132017-07-18广东网金控股股份有限公司It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
CN107171794A (en)*2017-06-272017-09-15葛峰A kind of electronic document based on block chain and intelligent contract signs method
CN107403303A (en)*2017-06-162017-11-28兴业数字金融服务(上海)股份有限公司A kind of signature method for the electronic contract system that card is deposited based on block chain
CN108234443A (en)*2017-10-262018-06-29招商银行股份有限公司Contracting method, system and computer readable storage medium
US20180205555A1 (en)*2015-07-132018-07-19Nippon Telegraph And Telephone CorporationContract Agreement Method, Agreement Verification Method, Contract Agreement System, Agreement Verification Device, Contract Agreement Device, Contract Agreement Program and Agreement Verification Program
CN108537046A (en)*2017-03-062018-09-14才信网络科技(上海)有限公司A kind of online contract signature system and method based on block chain technology

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080052519A1 (en)*2006-08-092008-02-28Hon Hai Precision Industry Co., Ltd.System and method for signing a contract electronically
US20180205555A1 (en)*2015-07-132018-07-19Nippon Telegraph And Telephone CorporationContract Agreement Method, Agreement Verification Method, Contract Agreement System, Agreement Verification Device, Contract Agreement Device, Contract Agreement Program and Agreement Verification Program
CN106408299A (en)*2016-08-312017-02-15江苏买卖网电子商务有限公司Block chain technology-based electronic intelligent signing payment method
CN108537046A (en)*2017-03-062018-09-14才信网络科技(上海)有限公司A kind of online contract signature system and method based on block chain technology
CN106960165A (en)*2017-03-132017-07-18广东网金控股股份有限公司It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
CN107403303A (en)*2017-06-162017-11-28兴业数字金融服务(上海)股份有限公司A kind of signature method for the electronic contract system that card is deposited based on block chain
CN107171794A (en)*2017-06-272017-09-15葛峰A kind of electronic document based on block chain and intelligent contract signs method
CN108234443A (en)*2017-10-262018-06-29招商银行股份有限公司Contracting method, system and computer readable storage medium

Cited By (32)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110598823B (en)*2019-08-142022-11-04深圳壹账通智能科技有限公司Signature method and device based on virtual three-dimensional seal and computer equipment
CN110598823A (en)*2019-08-142019-12-20深圳壹账通智能科技有限公司Signature method and device based on virtual three-dimensional seal and computer equipment
CN110598460A (en)*2019-09-272019-12-20腾讯科技(深圳)有限公司Block chain-based electronic signature method and device and storage medium
CN110598460B (en)*2019-09-272022-08-05腾讯科技(深圳)有限公司Block chain-based electronic signature method and device and storage medium
CN110855688A (en)*2019-11-182020-02-28腾讯科技(深圳)有限公司Block chain information processing method and related equipment
CN110855688B (en)*2019-11-182021-06-25腾讯科技(深圳)有限公司Block chain information processing method and related equipment
CN111127205A (en)*2019-12-232020-05-08卓尔智联(武汉)研究院有限公司Intelligent contract generation method and device, computer equipment and storage medium
CN111127205B (en)*2019-12-232020-11-20卓尔智联(武汉)研究院有限公司Intelligent contract generation method and device, computer equipment and storage medium
CN111338849A (en)*2020-02-242020-06-26扬州制汇互联信息技术有限公司Industrial demand contract execution method based on block chain
CN111340625A (en)*2020-02-242020-06-26扬州制汇互联信息技术有限公司Industrial contract execution system based on block chain
CN111338849B (en)*2020-02-242023-07-07扬州制汇互联信息技术有限公司Industrial demand contract execution method based on block chain
CN111597269A (en)*2020-05-212020-08-28昆明大棒客科技有限公司Block chain-based contract implementation method, device and equipment
CN111695805A (en)*2020-06-102020-09-22北京航空航天大学Intelligent contract model construction method and system for legal contracts
CN111738748A (en)*2020-08-142020-10-02支付宝(杭州)信息技术有限公司 Blockchain-based seal processing method and device
CN112132584A (en)*2020-08-162020-12-25中信银行股份有限公司Contract signing method and device, electronic equipment and readable storage medium
CN112671769A (en)*2020-08-282021-04-16支付宝(杭州)信息技术有限公司Electronic contract signing method, device and equipment
CN112671769B (en)*2020-08-282022-10-11支付宝(杭州)信息技术有限公司Electronic contract signing method, device and equipment
CN111741035A (en)*2020-08-282020-10-02支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
US11461860B2 (en)2020-08-282022-10-04Alipay (Hangzhou) Information Technology Co., Ltd.Signing methods, apparatuses and devices of electronic contract
CN111741035B (en)*2020-08-282020-11-24支付宝(杭州)信息技术有限公司 Electronic contract signing method, device and equipment
CN111985928A (en)*2020-09-032020-11-24深圳壹账通智能科技有限公司Verification method, verification device, electronic equipment and storage medium
CN112101938A (en)*2020-09-102020-12-18支付宝(杭州)信息技术有限公司Block chain-based digital seal using method and device and electronic equipment
CN112100588A (en)*2020-09-102020-12-18支付宝(杭州)信息技术有限公司 Blockchain-based digital seal application method, device and electronic device
CN112101938B (en)*2020-09-102024-03-01支付宝(杭州)信息技术有限公司Digital seal using method and device based on block chain and electronic equipment
CN113448592A (en)*2021-02-082021-09-28北京科技大学Intelligent legal contract generation method based on contract text markup language
TWI843134B (en)*2021-06-302024-05-21南韓商Arti朋友股份有限公司Blockchain network using a smart contract-based multi-chain technique and parallel expansion method thereof
CN114331437A (en)*2021-12-302022-04-12蚂蚁区块链科技(上海)有限公司Block chain-based digital seal using method and device
CN114936163A (en)*2022-06-072022-08-23中国银行股份有限公司Contract testing method, device, system and medium based on fixed-length message
CN115099987A (en)*2022-06-282022-09-23平安银行股份有限公司Electronic contract implementation method and device and electronic equipment
CN115495770A (en)*2022-11-182022-12-20中国信息通信研究院 Block chain-based overdue contract processing method and device, equipment and medium
CN116701538A (en)*2023-06-212023-09-05中国银行股份有限公司 Method, device, equipment, and storage medium for issuing electronic seals based on blockchain
CN119903557A (en)*2024-12-312025-04-29智百会(北京)科技有限公司 Digital signature electronic seal generation method based on blockchain storage

Also Published As

Publication numberPublication date
CN109492983B (en)2023-04-07

Similar Documents

PublicationPublication DateTitle
CN109492983A (en)E-seal based on block chain intelligence contract signs method and apparatus
CN108776936A (en)Settlement of insurance claim method, apparatus, computer equipment and storage medium
Schneider et al.Leakage assessment methodology: A clear roadmap for side-channel evaluations
Cheval et al.Deciding equivalence-based properties using constraint solving
CN108964924A (en)Digital certificate method of calibration, device, computer equipment and storage medium
US20210192360A1 (en)Artificial neural network
CN111090581B (en)Intelligent contract testing method, intelligent contract testing device, computer equipment and storage medium
CN109033058B (en)Contract text verification method, apparatus, computer device and storage medium
Zhang et al.Towards verifiable federated learning
CN111666565A (en)Sandbox simulation test method and device, computer equipment and storage medium
JP2014112892A5 (en)
US20190052470A1 (en)Group signatures with probabilistic revocation
WO2019144549A1 (en)Vulnerability testing method and device, computer equipment, and storage medium
Zhao et al.Blockchain-based auditable privacy-preserving data classification for Internet of Things
US20220294776A1 (en)Formal verification method for certificate storage smart contract, computer device, and non-transitory computer-readable storage medium
CN113609219A (en)Method, system, device and storage medium for verifying file based on block chain
WO2020220742A1 (en)Method and device for anchoring data on a block chain at a given time, and electronic device
Weng et al.Proof of unlearning: Definitions and instantiation
Fazouane et al.Formal verification of privacy properties in electric vehicle charging
CN114253855B (en)Method, device, server and medium for generating test cases
Meier et al.Efficient construction of machine-checked symbolic protocol security proofs
CN108399533B (en) Transaction processing method, apparatus, computer equipment and storage medium
CN109698750A (en)Block generation method, device, equipment and the readable storage medium storing program for executing of block chain
CN108667919A (en)Data processing method, device, computer equipment and storage medium
US20220327222A1 (en)Method and system for securing neural network models

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
REGReference to a national code

Ref country code:HK

Ref legal event code:DE

Ref document number:1261986

Country of ref document:HK

SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp