CN110264197A - The receipt storage method and node of binding events type function and Rule of judgment - Google Patents

The receipt storage method and node of binding events type function and Rule of judgment Download PDF

Info

Publication number
CN110264197A
CN110264197A CN201910419959.1A CN201910419959A CN110264197A CN 110264197 A CN110264197 A CN 110264197A CN 201910419959 A CN201910419959 A CN 201910419959A CN 110264197 A CN110264197 A CN 110264197A
Authority
CN
China
Prior art keywords
block chain
transaction
log
contract
function
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
CN201910419959.1A
Other languages
Chinese (zh)
Other versions
CN110264197B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910419959.1A priority Critical patent/CN110264197B/en
Publication of CN110264197A publication Critical patent/CN110264197A/en
Priority to PCT/CN2020/089386 priority patent/WO2020233425A1/en
Priority to PCT/CN2020/089385 priority patent/WO2020233424A1/en
Priority to PCT/CN2020/091403 priority patent/WO2020233628A1/en
Application granted granted Critical
Publication of CN110264197B publication Critical patent/CN110264197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3823Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction

Abstract

This specification one or more embodiment provides the receipt storage method and node of a kind of binding events type function and Rule of judgment, and this method may include: the transaction for the intelligent contract of calling that the first block chain node is received by encryption;First block chain node decrypts the transaction in credible performing environment to obtain the intelligent contract, and the intelligence contract includes special event function;First block chain node executes the intelligent contract in the credible performing environment, obtains receipt data, and the receipt data includes the log corresponding to the special event function;First block chain node stores the receipt data, makes to meet at least one log field of preset condition in the log corresponding to the special event function and is stored with remaining content of plaintext version storage, the receipt data with ciphertext form.

Description

The receipt storage method and node of binding events type function and Rule of judgment
Technical field
This specification one or more embodiment is related to block chain technical field more particularly to a kind of binding events function class The receipt storage method and node of type and Rule of judgment.
Background technique
Block chain technology constructs on transmission network (such as point to point network).Network node in transmission network utilizes Linked data structure is verified and storing data, and knows together algorithm using distributed node to generate and more new data.
Technically maximum two challenges are exactly privacy and performance to the block platform chain of enterprise-level at present, and often the two are chosen War is difficult to solve simultaneously.Most solutions are all to exchange privacy for by losing performance, or less consider that privacy goes the property pursued Energy.The encryption technology of common solution privacy concern, as homomorphic cryptography (Homomorphic encryption) and Zero Knowledge are demonstrate,proved Complexities such as bright (Zero-knowledge proof) are high, poor universality, but also may bring serious performance loss.
Credible performing environment (Trusted Execution Environment, TEE) is another solution privacy concern Mode.TEE can play the role of the black box in hardware, and the code and data operating system layer executed in TEE can not all be peeped, Interface predetermined can just operate on it only in code.In terms of efficiency, due to the black box property of TEE, in TEE Carry out operation is clear data, rather than the complicated cryptography arithmetic in homomorphic cryptography, calculating process efficiency are not lost, because This combines safety and the privacy that block chain can be largely promoted under the premise of performance loss is lesser with TEE. Industry very pays close attention to the scheme of TEE at present, and the chip and software league of nearly all mainstream have the TEE solution party of oneself Case, TPM's (Trusted Platform Module, reliable platform module) and hardware aspect including software aspects Intel SGX (Software Guard Extensions, software protection extension), ARM Trustzone (trusted domain) and AMD PSP (Platform Security Processor, platform safety processor).
Summary of the invention
In view of this, this specification one or more embodiment provides a kind of binding events type function and Rule of judgment Receipt storage method and node.
To achieve the above object, it is as follows to provide technical solution for this specification one or more embodiment:
According to this specification one or more embodiment in a first aspect, proposing a kind of binding events type function and sentencing The receipt storage method of broken strip part, comprising:
First block chain node receives the transaction of the intelligent contract of calling by encryption;
First block chain node decrypts the transaction in credible performing environment to obtain the intelligent contract, the intelligence Contract includes special event function;
First block chain node executes the intelligent contract in the credible performing environment, obtains receipt data, described Receipt data includes the log corresponding to the special event function;
First block chain node stores the receipt data, makes to meet in the log corresponding to the special event function pre- If at least one log field of condition is stored with plaintext version, remaining content of the receipt data is stored with ciphertext form.
According to the second aspect of this specification one or more embodiment, proposes a kind of binding events type function and sentence The receipt memory node of broken strip part, comprising:
Receiving unit receives the transaction of the intelligent contract of calling by encryption;
Decryption unit decrypts the transaction in credible performing environment to obtain the intelligent contract, the intelligence contract Include special event function;
Execution unit executes the intelligent contract in the credible performing environment, obtains receipt data, the receipt number According to the log comprising corresponding to the special event function;
Storage unit stores the receipt data, makes to meet default item in the log corresponding to the special event function At least one log field of part is stored with plaintext version, remaining content of the receipt data is stored with ciphertext form.
According to the third aspect of this specification one or more embodiment, a kind of electronic equipment is proposed, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is by running the executable instruction to realize method as described in relation to the first aspect.
According to the fourth aspect of this specification one or more embodiment, a kind of computer readable storage medium is proposed, The step of being stored thereon with computer instruction, method as described in relation to the first aspect realized when which is executed by processor.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram for creation intelligence contract that an exemplary embodiment provides.
Fig. 2 is a kind of schematic diagram for calling intelligence contract that an exemplary embodiment provides.
Fig. 3 is the receipt storage method of a kind of binding events type function and Rule of judgment that an exemplary embodiment provides Flow chart.
Fig. 4 is a kind of schematic diagram that secret protection is realized on block chain node that an exemplary embodiment provides.
Fig. 5 is a kind of function that block chain network is realized by system contract and chain code that an exemplary embodiment provides The schematic diagram of logic.
Fig. 6 is the receipt memory node of a kind of binding events type function and Rule of judgment that an exemplary embodiment provides Block diagram.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification one or more embodiment.Phase Instead, they are only some aspects phases with the one or more embodiments of as detailed in the attached claim, this specification The example of consistent device and method.
It should be understood that the sequence that might not show and describe according to this specification in other embodiments executes The step of correlation method.In some other embodiments, step included by method can than described in this specification more It is more or less.In addition, single step described in this specification, may be broken down into other embodiments multiple steps into Row description;And multiple steps described in this specification, it may also be merged into single step progress in other embodiments Description.
Block chain is normally divided into three types: publicly-owned chain (Public Blockchain), privately owned chain (Private ) and alliance's chain (Consortium Blockchain) Blockchain.In addition, there are also a plurality of types of combinations, such as privately owned chain The different combinations such as+alliance chain, alliance's chain+publicly-owned chain.It is publicly-owned chain that wherein decentralization degree is highest.Publicly-owned chain with than Special coin, ether mill are representative, and the participant that publicly-owned chain is added can read data record on chain, participate in business and compete newly Book keeping operation power of block etc..Moreover, each participant's (i.e. node) freely can be added and exit network, and carry out relevant operation.It is private There is chain then on the contrary, the write-in permission of the network is by some tissue or mechanism controls, reading data permission is by organization prescribed.Simply For, privately owned chain can be weak center's system, and participating in node has stringent limitation and less.Such block chain is more It is suitable for using inside particular organization.Alliance's chain is then block chain between publicly-owned chain and privately owned chain, it can be achieved that " part Decentralization ".Each node usually has corresponding physical mechanism or tissue in alliance's chain;Participant is added by authorization Enter network and composition interests correlation alliance, it is common to safeguard the operation of block chain.
Whether publicly-owned chain, privately owned chain or alliance's chain may all provide the function of intelligent contract.Intelligence on block chain Contract is the contract that can be executed by transaction triggering on block catenary system.Intelligent contract can pass through the formal definition of code.
By taking ether mill as an example, user is supported to create in the network of ether mill and call the logic of some complexity, this is ether Mill is different from the ultimate challenge of bit coin block chain technology.Ether mill is ether mill void as the core of a programmable block chain Quasi- machine (EVM), each ether mill node can run EVM.EVM is the complete virtual machine of figure spirit, it means that can be with The logic of various complexity is realized by it.It is exactly to run on EVM that user, which issues in ether mill and call intelligent contract,.It is real On border, what virtual machine was directly run is virtual machine code (Virtual Machine bytecodes, lower abbreviation " bytecode ").It is deployed on block chain Intelligent contract can be the form of bytecode.
Such as shown in Fig. 1, after a transaction comprising the intelligent contract information of creation is sent ether mill network by Bob, section The EVM of point 1 can execute this and trade and generate corresponding contract example." 0x6f8ae93 ... " in 1 in figure represents this The address of contract, what the data field of transaction saved can be bytecode, and the to field of transaction is sky.Pass through common recognition machine between node After system is reached an agreement, this contract is successfully created, and can be called in the follow-up process.After contract creation, on block chain There is a contract account corresponding with the intelligence contract, and possess a specific address, contract code will be stored in the conjunction About in account.The behavior of intelligent contract is controlled by contract code.In other words, intelligent contract to generate on block chain comprising closing The about virtual account of code and account storage (Storage).
As shown in Fig. 2, one is used to call the transaction of intelligent contract to be sent to ether mill by Bob still by taking ether mill as an example After network, the EVM of a certain node can execute this and trade and generate corresponding contract example.The from word traded in 2 in figure Section is the address of the account of transaction initiator (i.e. Bob), and " 0x6f8ae93 ... " in field represents called intelligence and close Address about, value field are the value of ether coin, the side of the intelligent contract of the calling that the data field of transaction saves in ether mill Method and parameter.Intelligent contract in a prescribed manner in block chain network each node disjoint execution, all execution record and Data are all stored on block chain, so just saving the transaction that can not be distorted, will not lose on block chain after the completion of transaction Voucher.
Node in block chain network can generate corresponding receipt (receipt) number after executing the transaction that Bob is initiated According to for recording the relevant receipt information of the transaction.By taking ether mill as an example, node executes the resulting receipt data of trading can be with Including following content:
Result field indicates the implementing result of transaction;
Gas used field indicates the gas value of transaction consumption;
Logs field indicates that the log that transaction generates, log may further include From field, To field, Topic word Section and Log data field etc., wherein From field indicates that the account address of the initiator called, To field indicate called pair As the account address of (such as intelligent contract), Topic field indicate that the theme of log, Log data field indicate daily record data;
Output field indicates the output of transaction.
Wherein, log is the Xiang Gongneng provided in ether mill.In the operational process of the code of intelligent contract, Ke Yiji Record log caused by each event contained by code.Log allows the details of record event, such as above-mentioned From field, To Field may indicate that both sides' account that transaction is related to, Topic field may include state variable cited in event etc. in code Value etc. after execution.Therefore, log can be also used in addition to can be used as the relevant evidence after executing on block chain of trading Drive relevant operation.It is, for example, possible to use the call back functions of JavaScript to monitor event, can produce phase when the event triggers The log answered, thus by retrieval log content, DAPP can be driven when retrieving default log content (Decentralized Application, Distributed Application) client executing relevant treatment operations etc..
In the related art, the full content of the receipt data generated in TEE is taken as the data for needing secret protection And it is stored encrypted on block chain.The block chain is stored in data made of certain logic tissue in the database of node Set.The database, as described later, physical support can store medium, such as persistent storage medium.Work as receipt data When contained log is encrypted storage, the search operaqtion for log possibly can not normally be implemented, to influence above-mentioned DAPP Execution of the client to relevant treatment operations.
Below in conjunction with the receipt storage method for illustrating one binding events type function of the application and Rule of judgment shown in Fig. 3 The realization process of embodiment:
Step 302, the first block chain node receives the transaction of the intelligent contract of calling by encryption.
In one embodiment, user can generate transaction directly on the first block chain node;Alternatively, user can be in visitor Transaction is generated on the end of family, and the transaction is sent to by the first block chain node by client;Alternatively, client can will be above-mentioned Transaction is sent to the second block chain node, and the transaction is sent to the first block chain node by the second block chain node.
In one embodiment, when transaction is for calling intelligent contract, transaction content may include that called intelligence is closed Account address about, needs incoming method and parameter etc..
Step 304, the first block chain node decrypts the transaction in credible performing environment to obtain the intelligent contract, The intelligence contract includes special event function.
In one embodiment, intelligent contract may include one or more events, and each event is for realizing predefined Relevant treatment logic.Each event contained by intelligent contract is called execute after, can generate corresponding Logs field, for example, when Intelligent contract include event 1 and event 2 when, corresponding Logs field can be generated in event 1, event 2 can be generated it is corresponding Logs field, so that the corresponding receipt data of intelligence contract includes simultaneously multiple Logs fields.
In one embodiment, event contained by intelligent contract can be divided into special event function and common event function, In: log caused by common event function is stored using ciphertext form, to realize secret protection;Special event function institute The log of generation then needs under the premise of meeting secret protection demand, (such as hereinafter by least part log field Exposure log field) it is stored with plaintext version, so as to be retrieved for the Content Implementation of the partial log field, to drive The implementation of dynamic relevant operation.
In one embodiment, special event function can be predefined clobal function in block chain network.Such as In the chain code or system contract of block chain network, it can recorde the event functions for belonging to " special event function ", for example It can recorde in special event function list;Correspondingly, pass through the event functions that will include in intelligent contract and above-mentioned spy Different event functions list compares, and can determine whether the event functions that intelligent contract includes are above-mentioned special event letter Number.
In one embodiment, special event function can be customized arbitrary function in intelligent contract, and by intelligence The type identifier for being directed to event functions can be added in contract, which can be labeled as special event function.With For Solidity language, the example code for the event functions that intelligent contract includes is as follows:
Event buy_candy1expose(who,candy_num);
Event buy_candy2(who,candy_num);
In above-mentioned example code, 2 events of intelligent Contracts Definitions: event buy_candy1 and event buy_ candy2.By adding type identifier " expose " in event buy_candy1, event buy_candy1 can be marked It is denoted as above-mentioned special event function;Correspondingly, due to not containing type identifier " expose " in event buy_candy2, Thus event buy_candy2 is common event function rather than above-mentioned special event function.
There are many high-level language that ether mill is supported, such as Solidity, Serpent, LLL language, may include above-mentioned Type identifier.The intelligent contract of high level language can be compiled as corresponding bytecode, the firstth area by compiler Block chain node finally executes the intelligent contract of bytecode form in EVM virtual machine.So, above-mentioned type identifier is advanced It can be the first kind in identical or high-level language intelligent contract code in language and the intelligent contract code of bytecode form Type identifier, bytecode form intelligent contract code in be Second Type identifier, first kind identifier and Second Type It can be corresponded to each other between identifier.
In one embodiment, by encrypting to transaction content, the above-mentioned transaction by encryption can be made to be in privacy guarantor The state of shield, avoids transaction content from exposing.It for example, may the account address comprising transaction initiator, friendship in transaction content The information such as the account address of easy target, may insure these transaction contents by encryption can not be read directly.
In one embodiment, above-mentioned transaction can be encrypted by way of symmetric encipherment algorithm, can also be used non- The mode of symmetry algorithm is encrypted.The Encryption Algorithm that symmetric cryptography uses, e.g. DES algorithm, 3DES algorithm, TDEA are calculated Method, Blowfish algorithm, RC5 algorithm, IDEA algorithm etc..Rivest, shamir, adelman, e.g. RSA, Elgamal, knapsack algorithm, Rabin, D-H, ECC (elliptic curve encryption algorithm) etc..
In one embodiment, above-mentioned transaction can be carried out by way of symmetric encipherment algorithm combination rivest, shamir, adelman Encryption.By taking above-mentioned transaction is committed to the first block chain node by client as an example, client can be added using symmetric encipherment algorithm Close transaction content encrypts transaction content using the key of symmetric encipherment algorithm, and is added with rivest, shamir, adelman cryptographic symmetrical The key used in close algorithm, for example using the key used in the public key encryption symmetric encipherment algorithm of rivest, shamir, adelman. In this way, can be first decrypted using the private key of rivest, shamir, adelman after the first block chain node receives the transaction of encryption, The key of symmetric encipherment algorithm is obtained, and then decrypts to obtain transaction content with the key of symmetric encipherment algorithm.
When transaction is for calling intelligent contract, the calling of multinest structure can be.For example, transaction calls directly intelligence Can and about 1, and the intelligence and about 1 code have invoked intelligence and about 2, and the code in intelligence and about 2 be directed toward it is intelligent with about 3 Contract address so that transaction actually have invoked indirectly intelligence and about 3 codes, and intelligence and about 3 in include a certain event Function.The event functions are contained in this way, being equivalent in intelligence and about 1.Specific implementation process is similar with the above process, herein not It repeats again.
Step 306, the first block chain node executes the intelligent contract in the credible performing environment, obtains receipt number According to the receipt data includes the log corresponding to the special event function.
As previously mentioned, the first block chain node is when executing the code of intelligent contract, for each event contained by code Function will generate corresponding Logs field respectively, i.e., generate the log for corresponding to each event functions respectively.By determining spy Different event functions may further determine that out the corresponding log of special event function, and corresponding at least in special event function In the case that a part of log field meets preset condition, at least part log field is allowed to be deposited using plaintext version Storage.
In one embodiment, such as in ether mill, the first block chain node receives the calling intelligence that client is sent After the transaction of contract, can check transaction whether effectively, format it is whether correct, whether the signature for verifying transaction legal etc..
In general, the node in ether mill is typically also the node of contention book keeping operation power, and therefore, the first block chain node is made Node for contention book keeping operation power can be performed locally the transaction.If one in the node of contention book keeping operation power is striven in epicycle It wins during taking book keeping operation power by force, then becomes accounting nodes.If the first block chain node is in the process of epicycle contention book keeping operation power In win, just become accounting nodes;Certainly, if if the first block chain node does not have during epicycle contention is kept accounts and weighed It wins, is not then accounting nodes, and other nodes are likely to become accounting nodes.
Intelligent contract is similar to the class in Object-Oriented Programming, and the contract that the result of execution generates the corresponding intelligence contract is real Example is similar to and generates the corresponding object of class.It executes in transaction for creating the process of the code of intelligent contract, will create contract account Family, and contract is disposed in account space.In ether mill, the address of intelligent contract account is address (such as Fig. 1-2 by sender In " 0xf5e ... ") and transaction random number (nonce) as input, pass through what Encryption Algorithm generated, such as the conjunction in Fig. 1-2 About address " 0x6f8ae93 ... " is generated by the encrypted algorithm of nonce in the address of sender " 0xf5e ... " and transaction.
In general, proved using proof of work (Proof of Work, POW) and equity (Proof of Stake, POS), equity is appointed to prove the area of support intelligence contract of the common recognition such as (Delegated Proof of Stake, DPOS) algorithm In block chain network, the node of contention book keeping operation power can execute the friendship after receiving the transaction comprising the intelligent contract of creation Easily.Contention book keeping operation power node in may one of them epicycle contention keep accounts weigh during win, become accounting nodes.Note This can be included transaction of intelligent contract by account node and other transaction be packaged together and generate new block, and by the new of generation Block be sent to other nodes and know together.
For using machines such as practical Byzantine failure tolerance (Practical Byzantine Fault Tolerance, PBFT) In the block chain network of the support intelligence contract of system, there is the node of book keeping operation power to have agreed upon before epicycle book keeping operation.Therefore, After one block chain node receives above-mentioned transaction, if itself not being the accounting nodes of epicycle, which can be sent to Accounting nodes.For the accounting nodes (can be the first block chain node) of epicycle, which is being packaged and is generating new block During perhaps before or by the transaction with it is other transaction be packaged together and generate new block during or before, The transaction can be executed.The transaction is packaged (or further including that other transaction are packaged together) and generates new area by the accounting nodes After block, the new block of generation or block head are sent to other nodes and known together.
As described above, in block chain network using the support intelligence contract of POW mechanism, or using POS, DPOS, In the block chain network of the support intelligence contract of PBFT mechanism, which can be packaged and generate new by the accounting nodes of epicycle Block, and the new block back zone build of generation is sent to other nodes and is known together.If other nodes receive institute It states after block that there is no problem through verifying, which can be appended to original block chain end, to complete to keep accounts Journey is reached common understanding;If transaction completes deployment of the intelligent contract in block chain network, if handing over for creating intelligent contract It is easy for calling intelligent contract, then completes the calling and execution of intelligent contract.Other node verification accounting nodes are sent new Block or block head during, the transaction in the block can also be executed.
The implementation procedure can generally be executed by virtual machine.By taking ether mill as an example, support user in ether mill network Middle creation and/or the logic for calling some complexity, this is the ultimate challenge that ether mill is different from bit coin block chain technology.Ether Mill is ether mill virtual machine (EVM, Ethereum Virtual Machine) as the core of a programmable block chain, each Ether mill node can run EVM.EVM is the complete virtual machine of a figure spirit, it means that can be realized by it various Complicated logic.It is exactly to run on EVM that user, which issues in ether mill and call intelligent contract,.
In the present embodiment, the first block chain node can be in credible performing environment (Trusted ExecutionEnvironment, TEE) in execute decryption intelligent contract code.Such as shown in Fig. 4, the first block chain link Point can be divided into conventional performing environment (being located at left side in figure) and TEE, transaction (as described above, the transaction that client is submitted There may be other sources;This is illustrated for sentencing the transaction that client is submitted) it initially enters in conventional performing environment " transaction/query interface " is identified, can be left in conventional performing environment and be carried out there is no the transaction of privacy process demand Processing (here can the identifier according to contained by the transaction user type of initiator, type of transaction, transaction etc. recognize whether Privacy process demand), and the transaction transport that privacy process demand will be present is handled into TEE.TEE and conventional performing environment It is mutually isolated.It trades and is in encrypted state before entering TEE, in the transaction for being then decrypted as plaintext in credible performing environment Hold, thus enable the transaction content of the plaintext to realize efficient process in TEE under the premise of ensuring data safety, and The receipt data of plaintext is generated in TEE.
TEE is the security extension based on CPU hardware, and the credible performing environment completely isolated with outside.TEE be earliest by The concept that Global Platform is proposed, for solving the security isolation of resource in mobile device, being parallel to operating system is to answer Credible and secure performing environment is provided with program.The Trust Zone technology of ARM realizes the TEE technology of real commercialization earliest. Along with the high speed development of internet, safe demand is higher and higher, is not limited only to mobile device, cloud device, data center More demands all are proposed to TEE.The concept of TEE has also obtained the development and expansion of high speed.Now described TEE compare with The concept initially proposed has been the TEE of more broad sense.For example, server chips manufacturer Intel, AMD etc. are successively proposed The TEE of hardware auxiliary and the concept and characteristic for enriching TEE, have been widely recognized in industry.The TEE lifted now is logical Often more refer to the TEE technology of this kind of hardware auxiliary.Different from mobile terminal, cloud access needs to remotely access, and terminal user is to hard Part platform is invisible, therefore seeks to the genuine and believable of confirmation TEE using the first step of TEE.Therefore present TEE technology is all drawn Enter remote proving mechanism, endorsed by hardware vendor (mainly CPU manufacturer) and ensures user to TEE by digital signature technology State can verify that.It is simultaneously only the demand for security that the resource isolation of safety is also unable to satisfy, further data-privacy protection Also it is suggested.Including Intel SGX, the commercial TEE including AMD SEV also both provides memory encryption technology, by reliable hardware It is limited to inside CPU, the data of bus and memory are that ciphertext prevents malicious user from being spied upon.For example, the software of Intel Protection extends code execution, remote proving, security configuration, the secure storage of data such as (SGX) TEE technology insulation and is used for Execute the trusted path of code.The application program run in TEE is kept safe, as a consequence it is hardly possible to be accessed by third party.
By taking Intel SGX technology as an example, SGX provides enclosure (enclave, also referred to as enclave), i.e., one adds in memory Close credible execution region, protects data not to be stolen by CPU.By taking the first block chain node is using the CPU for supporting SGX as an example, Using newly-increased processor instruction, a part of region EPC (Enclave Page Cache, enclosure page can be distributed in memory Face caching or enclave page cache), by the crypto engine MEE (Memory Encryption Engine) in CPU to wherein Data encrypted.The content encrypted in EPC, which only enters after CPU, can just be decrypted into plain text.Therefore, in SGX, user It can distrust operating system, VMM (Virtual Machine Monitor, monitor of virtual machine), even BIOS (Basic Input Output System, basic input output system), it is only necessary to trust CPU just and can ensure that private data will not leak. It in practical application, is transferred in enclosure after private data being encrypted with ciphertext form, and will be corresponding by remote proving Code key is also passed to enclosure.Then, operation is carried out using data under the encipherment protection of CPU, as a result can be returned with ciphertext form.This Under kind mode, powerful calculating power not only can use, but also do not have to concern of data and leak.
As described above, by executing the transaction content after decrypting in TEE, it can be ensured that implementation procedure is in trusted context Interior completion, to ensure that privacy information will not leak.It is used to create intelligent conjunction there are the transaction of privacy process demand when above-mentioned It include the code of intelligent contract when about, in the transaction, the first block chain node can be decrypted to obtain in TEE to the transaction The code of its contained intelligent contract, and the code is executed in TEE in turn.When the above-mentioned transaction there are privacy process demand is used for When calling intelligent contract, the first block chain node can execute the code (if called intelligent contract processing encryption in TEE State then needs that first the intelligence contract is decrypted in TEE, to obtain corresponding code).Specifically, the first block chain Node can use the processor instruction increased newly in CPU, distributes a part of region EPC in memory, is drawn by the encryption in CPU MEE is held up to carry out in the encryption deposit EPC above-mentioned plaintext code.The content encrypted in EPC enter after CPU be decrypted into it is bright Text.In CPU, operation is carried out to the code of plaintext, completes implementation procedure.For example, executing intelligent contract in SGX technology Plaintext code can load EVM into enclosure.During remote proving, Key Management server can calculate local EVM The hash value of code, and compared with the hash value of the EVM code loaded in the first block chain node, comparison result is correctly as logical A necessary condition of remote proving is crossed, to complete the measurement of the code loaded to the first block chain node SGX enclosure.By Measurement, correct EVM can execute the code of above-mentioned intelligent contract in SGX.
Step 308, the first block chain node stores the receipt data, makes the log corresponding to the special event function Middle at least one log field for meeting preset condition is stored with plaintext version, remaining content of the receipt data is with ciphertext shape Formula storage.
It in one embodiment, can be by all of the log for the log for corresponding to special event function in receipt data Log field is compared with corresponding preset condition, and all log fields for meeting preset condition are deposited with plaintext version Storage.Correspondingly, for corresponding to special event function but to meet the log field of preset condition, corresponding to common event function Log, other receipt contents in receipt data etc., stored with ciphertext form.
In one embodiment, for the log for corresponding to special event function in receipt data, it can determine that this is special The corresponding exposed log field of event functions, and exposure log field is compared with corresponding preset condition, to will expire The exposure log field of sufficient preset condition is stored with plaintext version.The privacy content that exposure log field often relates to is relatively It is few, or it is not related to core privacy content, it is relatively low with the risk that plaintext version stores;And non-exposed log field may It is related to relatively more or relatively prior privacy content, the core without departing from secret protection may insure with ciphertext form storage Mind.And judged by combining preset condition, can further screen out that exposed log field may include is not suitable for Disclosed privacy content, thus while guaranteeing to complete search operaqtion, realization secret protection as much as possible.
In one embodiment, the exposure log field in special event function comprising being indicated by exposure identifier.First Block chain node can be by reading exposure identifier contained by special event function, and one that the exposure identifier is indicated Or multiple log fields are determined as above-mentioned exposure log field.By taking Solidity language as an example, intelligent contract includes special The example code of event functions is as follows:
Event buy_candy3expose_from(who,candy_num);
Event buy_candy4show_to(who,candy_num);
In above-mentioned example code, 2 events of intelligent Contracts Definitions: event buy_candy3 and event buy_ candy4。
Containing type identifier " expose " in event buy_candy3 can be by event buy_ according to described above Candy3 is determined as special event function.Further, after the type identifier " expose " comprising exposure identifier " _ From ", the exposure identifier " _ from " is for indicating log field From, so that in the corresponding generation of event buy_candy3 In log Logs, From field will be stored with plaintext version, and remaining To field, Topic field, Log data field etc. with Ciphertext form storage.
Event buy_candy4 not containing type identifier " expose ";But if before event buy_candy4 is Special event function predetermined is stated, for example event buy_candy4 is located in special event function list above-mentioned, that It can be determined that event buy_candy4 is special event function.Further, exposure mark is included in event buy_candy4 Know symbol " show_to ", the exposure identifier " show_to " is for indicating log field to, so that at buy_candy4 pairs of event In the log Logs that should be generated, To field will be stored with plaintext version, and remaining From field, Topic field, Log data Field etc. is stored with ciphertext form.
It is similar with the exposure log field that exposure identifier is indicated, it may include in special event function and pass through encryption The encrypted logs field that identifier is indicated, then exposing log field is other remaining log fields.It is with Solidity language Example, the example code for the special event function that intelligent contract includes are as follows:
Event buy_candy5expose_hide_from(who,candy_num);
Event buy_candy6hide_to(who,candy_num);
In above-mentioned example code, 2 events of intelligent Contracts Definitions: event buy_candy5 and event buy_ candy6。
Containing type identifier " expose " in event buy_candy5 can be by event buy_ according to described above Candy5 is determined as special event function.It further, include encrypted identifier after type identifier " expose " " hide_from ", the encrypted identifier " hide_from " is for indicating log field From, so that in event buy_candy5 In the corresponding log Logs generated, From field will be stored with ciphertext form, and remaining To field, Topic field, Log Data field etc. is exposure log field, is stored with plaintext version.
Event buy_candy6 not containing type identifier " expose ";But if before event buy_candy6 is Special event function predetermined is stated, for example event buy_candy6 is located in special event function list above-mentioned, that It can be determined that event buy_candy6 is special event function.Further, encryption mark is included in event buy_candy6 Know symbol " hide_to ", the encrypted identifier " hide_to " is for indicating log field to, so that at buy_candy6 pairs of event In the log Logs that should be generated, To field will be stored with ciphertext form, and remaining From field, Topic field, Logdata Field etc. is exposure log field, is stored with plaintext version.
There are many high-level language that ether mill is supported, such as Solidity, Serpent, LLL language, may include above-mentioned Exposure/encrypted identifier.Above-mentioned exposure/encrypted identifier is in the intelligent contract code of high-level language and bytecode form It can be closed in identical or high-level language intelligent contract code for the intelligence of the first exposure/encrypted identifier, bytecode form It is the second exposure/encrypted identifier about in code, it can between the first exposure/encrypted identifier and the second exposure/encrypted identifier To correspond to each other.
In addition to adding above-mentioned exposure identifier or encrypted identifier in special event function, to indicate corresponding exposure Except log field, the mapping relations or special thing between special event function and exposure log field can be pre-defined Mapping relations between part function and encrypted logs field, so that the available predefined above-mentioned mapping of the first block chain node Relationship, and the special event function for including according to intelligent contract and above-mentioned mapping relations, determine that the special event function is corresponding Exposure log field.
For example, when including " Event buy_candy7-from_to ", " Eventbuy_candy8- in mapping relations When the contents such as topic ", if including event " Event buy_candy7 " in intelligent contract, by inquiring above-mentioned mapping Relationship " Event buy_candy7-from_to " can then determine the event " Event buy_candy7 " corresponding exposed day Will field is From field and To field, if including event " Event buy_candy8 " in intelligent contract, by inquiring Above-mentioned mapping relations " Eventbuy_candy8-topic " can then determine that the event " Event buy_candy8 " is corresponding Exposure log field be Topic field.
In one embodiment, under the premise of protecting privacy of user, by giving event functions contained by intelligent contract Identification, can be according to different types of event functions for the differentiated demand of secret protection, and determining can be with stored in clear Exposure log field, and situation is further met to preset condition according to exposure log field, it is embodied in storing process Corresponding differentiated demand, flexibility with higher.
Specifically, can be incited somebody to action by the way that the corresponding exposed log field of special event function to be compared with preset condition The exposure log field for meeting preset condition is stored with plaintext version, and be unsatisfactory for preset condition exposure log field or other Receipt contents then inevitable stored with ciphertext form.Wherein, the content of preset condition may include at least one of: corresponding Value comprising preset content, corresponding log field in log field belongs to default value section etc..
Preset content may include: specified one or more keywords, for example the keyword may include predefined State variable, predefined intermediate variable etc. so that when a certain exposed log field include as keyword state variable or When intermediate variable, it is possible to determine that the exposure log field meets preset condition.
Preset content may include: preset value.For example the preset value can be numerical value, which can take with state variable Value etc. is compared, to determine whether the value of state variable meets expection;For another example the preset value can for numerical value, letter, The character string of the compositions such as additional character, the character string can with the transaction account address of initiator, transacting targeted side account address, Log topic etc. is compared, to identify specific transaction initiator, specific transacting targeted side or specific log topic Deng.By taking preset content is character string as an example, it is assumed that the character string is a certain account address, and family can be used to be directed to account address When initiation is traded and the corresponding exposed log field of type of transaction includes To field, To field is stored using plaintext version, and When initiating to trade for other account addresses, To field does not allow to store using plaintext version, avoids leakage privacy.
Default value section may indicate that the secret protection conditions of demand of relevant receipts field, such as in scene of transferring accounts, It default value section can be for numerical value be smaller, the lower numerical intervals of secret protection demand, even if so that open relevant receipts word Section will not cause serious privacy of user to reveal, but can be used for the relevant operation of automatic trigger such as DAPP client, thus Certain balance is obtained between secret protection and convenience.Therefore, when the value of exposure log field is in the default value area Between when, which can be stored with plaintext version.
In one embodiment, preset condition may include the corresponding general conditions of all log fields, i.e., in receipt data In correspond to special event function log in, there are unified preset conditions for all log fields contained by the log so that All exposed log fields contained by the log are both needed to be compared with the preset condition that this is unified.For example, when preset condition is It, can be by all exposed log fields and the default item in the corresponding log of special event function when " including predetermined keyword " Keyword contained by part is compared, to determine the exposure log field comprising the keyword, as meeting above-mentioned default item The exposure log field of part.
In one embodiment, preset condition may include the corresponding conditions of particular application of each log field, i.e., in receipt Corresponding in the log of special event function in data, each log field contained by the log is respectively present corresponding default item Part, so that each exposed log field contained by the log be used to be compared with corresponding preset condition.Different log words It is mutually indepedent between the corresponding preset condition of section, but may be identical, it is also possible to it is different.For example, From field and To field are corresponding Preset condition can be " whether include preset content ", and the preset content can be preset account address, show by this It initiates or for the transaction that account address is initiated, allows to store From field or To field with plaintext version in account address (can be stored when From field or To field belong to exposed log field with plaintext version).For another example Topic field is corresponding Preset condition can be " whether belonging to default value interval ", and can recorde in Topic field dependent event reference shape The value of state variable may include the state variable for representing " transfer amounts " under scene of for example transferring accounts, show that transfer amounts are in When default value interval (typically smaller the amount of money corresponding small amount numerical intervals), allow the transfer amounts with plaintext shape Formula stores (can store when Topic field belongs to exposed log field with plaintext version).
In one embodiment, preset condition can be located in transaction so that it is different trade used by preset condition can be with It has differences, to meet the demand difference that different exchanges face;Certainly, different transaction can also use identical default item Part.The difference of preset condition can show themselves in that the applicable receipt field of the content of preset condition, preset condition, to exposure log Whether field meets the difference of at least one dimension in the processing logic that preset condition is judged.
In one embodiment, preset condition can be located in the intelligent contract that transaction is called or preset condition can position In another intelligent contract that the intelligent contract that transaction is called is called, so that transaction can be closed by choosing called intelligence About, to determine whether using corresponding preset condition.Intelligent contract can be preparatory by transaction initiator itself or any other user Creation;Certainly, if intelligent contract needs to make when the Call Condition is satisfied there are corresponding Call Condition It obtains above-mentioned transaction and calls the intelligence contract, for example the Call Condition may include: that transaction initiator belongs to default white list, transaction Initiator is not belonging to default blacklist or other conditions.
In one embodiment, preset condition can be located in system contract or chain code, so that the preset condition is applicable In the global conditions of the All Activity on block chain, and it is different from preset condition contained by above-mentioned transaction or intelligent contract, made Even if system contract or chain generation can be based in the case that the intelligent contract for obtaining calling of trading or trade does not include preset condition Preset condition defined in code, and the user type of transaction initiator is combined, determine the storage mode of log field.
It is and pre- contained by chain code or system contract it is noted that preset condition contained by transaction or intelligent contract If not contradiction between condition: the two can separately include the preset condition of different dimensions, such as the log that preset condition is applicable Field is different;Alternatively, can be defaulted as preferentially when there is conflict between the preset condition that the two includes using transaction or intelligence Preset condition contained by contract, or preferentially using preset condition contained by chain code or system contract, this depends on predefined Selection logic.
By program code (the hereinafter referred to as chain generation for running block chain on calculating equipment (physical machine or virtual machine) Code), it can be the block chain node in block chain network, such as the first above-mentioned block chain node by the calculating device configuration Deng.In other words, the first block chain node is by running above-mentioned chain code, to realize corresponding function logic.Therefore, Ke Yi When creating block chain network, chain is written into receipt data storage logic relevant to event functions and preset condition described above In code, so that receipt data storage logic may be implemented in each block chain node.
Receipt data storage logic relevant to event functions and preset condition may include: the knowledge to special event function Other logic, to the confirmation logic of exposure log field, to the determination logic of preset condition, to the processing logic of exposed log field Deng.
First block chain node is used to indicate to the recognition logic of special event function: special contained by identification intelligent contract Event functions.Such as: can recorde in predefined special event function list or system contract in system contract can be with Record has the processing logic identified based on type identifier to special event function.It specifically can be special with reference to above identification The associated description of different event functions, details are not described herein again.
First block chain node is used to indicate to the confirmation logic of exposure log field: according to determining pair of special event function The exposure log field answered.Such as: according to exposure identifier or encrypted identifier contained by special event function, determine corresponding Exposure log field;Alternatively, according to the special event function and exposure log word recorded in chain code or system contract or block Mapping relations between section initiate the contained special event function of transaction in conjunction with current, determine corresponding exposure log field.Tool Body can be with reference to the associated description for above knowing the corresponding exposed log field of special event function, and details are not described herein again.
Be used to indicate the first block chain node to the determination logic of preset condition: acquisition exposure log field is applicable in default Condition.Such as: the general conditions for being suitable for all receipt fields are obtained, or obtain the dedicated item for being suitable for exposure log field Part etc..Specifically can be with reference to the associated description of above preset condition, details are not described herein again.
First block chain node is used to indicate to the processing logic of exposure log field: being exposed to corresponding in receipt data The receipt contents of log field are stored.Such as: the log for corresponding to special event function in receipt data can incite somebody to action Correspond to exposure log field in the log and meets the receipt contents of preset condition using plaintext version storage, and by the log In correspond to exposure log field and do not meet preset condition receipt contents, corresponding to non-exposed field receipt contents use Ciphertext form storage, and other receipt contents (such as corresponding receipt contents of common event function) in receipt data are used Ciphertext form storage.Specifically can be with reference to the associated description for above storing receipt data, details are not described herein again.
Since the upgrading update of chain code is relatively difficult, so that being deposited using the realization of chain code to the storage of receipt data In the problem that flexibility is low, scalability is insufficient.In order to realize the Function Extension to chain code, as shown in figure 5, chain can be used The mode that code is combined with system contract: chain code for realizing block chain network basic function, and in operational process Function Extension can be realized by way of system contract.Similar with above-mentioned intelligent contract, system contract includes for example The code of bytecode form, the first block chain node can be by the codes of operating system contract (for example, according to unique corresponding The code in the system contract is read in address " 0x53a98 ... "), it realizes and the function of chain code is supplemented.Correspondingly, the firstth area Block chain node can read the code of system contract, define in the code of the system contract and type of transaction and event functions phase The receipt data of pass stores logic;Then, the first block chain node can execute the code of system contract, to be based on and event Function and the relevant receipt data of preset condition store logic, will meet preset condition in the log for corresponding to special event function Exposure log field with plaintext version storage, receipt data remaining content stored with ciphertext form.
It is different from the above-mentioned intelligent contract that block chain is distributed to by user, system contract can not freely be issued by user.The The system contract that one block chain node is read may include the preset system contract being configured in the wound generation block of block chain network;With And the administrator (i.e. above-mentioned management user) in block chain network can have the renewal authority for system contract, thus It is updated for such as above-mentioned preset system contract, then the system contract that above-mentioned first block chain node is read can also wrap Include system contract after updating accordingly.Certainly, system contract can be implemented once preset system contract by administrator after update It is obtained after update;Alternatively, system contract obtains after can implementing successive ignition update to preset system contract by administrator after updating Arrive, for example, by preset system contract update to obtain system and about 1, to system and about 1 update the system that obtains and about 2, system is closed About 2 updates obtain system and about 3, and the system and about 1, system and about 2, system and about 3 can be considered as system contract after update, But the first block chain node would generally be subject to the system contract of latest edition, for example the first block chain node can be with system contract Subject to code in 3, and the code in nonsystematic and about 1 or system and about 2.
Other than the preset system contract for including in wound generation block, administrator can also close delivery system in subsequent block About, and for the system contract issued it is updated.In short, should be closed by modes such as rights managements to system Publication about and update and implement a degree of limitation, with ensure block chain network function logic can normal operation, and It avoids causing unnecessary loss to any user.
For needed in receipt data with ciphertext form store receipt contents, the first block chain node by key pair this A little receipt contents are encrypted.The encryption can use symmetric cryptography, can also use asymmetric encryption.If the firstth area Block chain node symmetric cryptography mode encrypts receipt contents with the symmetric key of symmetric encipherment algorithm, then client (or its He holds the object of key) encrypted receipt contents can be decrypted with the symmetric key of the symmetric encipherment algorithm.
In one embodiment, the symmetric key of the first block chain node symmetric encipherment algorithm encrypts receipt contents When, which can be provided previously to the first block chain node by client.So, due to only having client (actually should For the corresponding user of logon account in client) and the first block chain node grasp the symmetric key so that the only client End can decrypt corresponding encrypted receipt contents, avoid unrelated user even criminal to encrypted receipt contents into Row decryption.
For example, client, when initiating to trade to the first block chain node, client can use the first of symmetric encipherment algorithm Beginning key pair transaction content is encrypted, to obtain the transaction;Correspondingly, the first block chain node can be initial by obtaining this Key, for directly or indirectly being encrypted to receipt contents.For example, which can be by client and the first block Chain node is negotiated to obtain in advance, perhaps by Key Management server is sent to client and the first block chain node or by visitor Family end is sent to the first block chain node.When initial key is sent to the first block chain node by client, client can be with After encrypting by the public key of rivest, shamir, adelman to the initial key, encrypted initial key is sent to the firstth area Block chain node, and the first block chain node solves the encrypted initial key by the private key of rivest, shamir, adelman It is close, initial key is obtained, i.e., digital envelope encryption described above, details are not described herein again.
In one embodiment, the first block chain node can encrypt receipt contents using above-mentioned initial key. Difference transaction use initial keys can be identical so that the All Activity that same user is submitted be all made of the initial key into Row encryption, or the initial key that different transaction use can be different, for example client can be generated for each transaction is random One initial key, to promote safety.
In one embodiment, the first block chain node can generate derivative key according to initial key and impact factor, and Receipt contents are encrypted by the derivative key.It is encrypted compared to initial key is directlyed adopt, derivative key can be with Increase degree of randomness, to promote the difficulty being broken, facilitates the safeguard protection for optimizing data.Impact factor can be with transaction phase It closes;For example, impact factor may include trade cryptographic Hash specific bit, such as the first block chain node can by initial key with First 16 (or first 32,16 latter, rear 32 or other positions) of transaction cryptographic Hash are spliced, and to spliced word Symbol string carries out Hash operation, to generate derivative key.
In one embodiment, the first block chain node can also use asymmetric encryption mode, i.e., calculated with asymmetric encryption The public key of method encrypts receipt contents, then correspondingly, client can be decrypted above-mentioned with the private key of the rivest, shamir, adelman Encrypted receipt contents.The key of rivest, shamir, adelman, such as can be and a pair of of public key and private key are generated by client, and Public key is sent to the first block chain node in advance, so that the first block chain node can be by the receipt contents public key encryption.
First block chain node is by running the code for realizing a certain function, to realize the function.Therefore, for needing The function to realize in TEE also needs to execute correlative code.And the code for being executed in TEE, it needs to meet TEE Related specifications and requirement;Accordingly for the rule for realizing the code of a certain function, needed in the related technology in conjunction with TEE Model and requirement re-start written in code, and there is only relatively bigger exploitation amounts, and are easy to produce during rewriting Raw loophole (bug) influences the reliability and stability of function realization.
Therefore, the first block chain node can be by executing store function code, the receipts that will be generated in TEE except TEE According to data (including needing the receipt contents of the plaintext version of stored in clear, and the receipt of the ciphertext form that needs ciphertext to store Content) external memory space to except TEE is stored, allow the store function code to be in the related technology for realizing depositing It stores up the code of function, need to re-start written in code in conjunction with the specification and requirement of TEE, can realize peace for receipt data Complete reliable storage, on the basis of not influencing safe and reliable degree, can not only reduce the exploitation amount of correlative code, and TCB (Trusted Computing Base, trusted computing base) can be reduced by reducing the correlative code of TEE, so that TEE During technology and block chain technology are combined, it is additional caused by security risk be in controlled range.
In one embodiment, the first block chain node can execute write buffer function code in TEE, by above-mentioned receipts It is stored in the write buffer in TEE according to data, for example the write buffer can correspond to " caching " as shown in Figure 1.Further, One block chain node exports the data in write buffer from credible performing environment, to store to external memory space.Wherein, it writes slow Depositing function code can be stored in TEE with plaintext version, and the caching function generation of the plaintext version can be directly executed in TEE Code;Or, write buffer function code can be stored in except TEE with ciphertext form, for example it is stored in above-mentioned external memory space (such as " packing+storage " shown in Fig. 4, wherein " packing " indicates the first block chain node except credible performing environment to friendship Easily be packaged blocking), the write buffer function code of the ciphertext form can be read in TEE, be decrypted in TEE as in plain text Code, and execute the plaintext code.
Write buffer refers to when writing data into external memory space, in order to avoid causing " the punching to external memory space Hit " and " buffering " mechanism of offer.For example, can realize above-mentioned write buffer using buffer;Certainly, write buffer can also adopt It is realized with cache, this specification is limited not to this.In fact, due to the security context that TEE is isolation, and it is external Memory space is located at except TEE, so that can carry out batch by using write buffer mechanism to the data in caching and outside is written Memory space promotes data storage efficiency to reduce the interaction times between TEE and external memory space.Meanwhile TEE exists During constantly executing each item transaction, it may be necessary to transfer generated data, be write if the data that need to be called are located exactly at In caching, the data can be directly read from write buffer, on the one hand can reduce the friendship between external memory space in this way Mutually, it on the other hand eliminates to the decrypting process from external memory space data streams read, thus at the data being lifted in TEE Manage efficiency.
It is of course also possible to write buffer be built on except TEE, for example the first block chain node can execute except TEE Write buffer function code, thus by the write buffer outside above-mentioned receipt data deposit TEE, and further by the number in write buffer According to storing to external memory space.
The receipt memory node of a kind of binding events type function of this specification and Rule of judgment is introduced below in conjunction with Fig. 6 Embodiment, comprising:
Receiving unit 61 receives the transaction of the intelligent contract of calling by encryption;
Decryption unit 62 decrypts the transaction in credible performing environment to obtain the intelligent contract, and the intelligence is closed It about include special event function;
Execution unit 63 executes the intelligent contract in the credible performing environment, obtains receipt data, the receipt Data include the log corresponding to the special event function;
Storage unit 64 stores the receipt data, makes to meet in the log corresponding to the special event function default At least one log field of condition is stored with plaintext version, remaining content of the receipt data is stored with ciphertext form.
Optionally, the event functions containing type identifier in the intelligent contract, the type identifier are used for institute Event functions are stated labeled as special event function.
Optionally, when the event functions that the intelligent contract includes are located in the special function list recorded on block chain When, the event functions that the intelligence contract includes are judged as special event function.
Optionally, at least one described log field includes: the corresponding exposed log field of the special event function.
Optionally, the exposed log field in the special event function comprising being indicated by exposure identifier;Or Person, comprising the encrypted logs field indicated by encrypted identifier in the special event function, the exposed log field is Other log fields.
Optionally, record has the mapping between predefined special event function and exposure log field to close in block chain System or the mapping relations between predefined special event function and encrypted logs field;The mapping relations are used for really Determine the corresponding exposed log field of the special event function.
Optionally, the preset condition includes at least one of: including preset content in corresponding log field, corresponding The value of log field belong to default value section.
Optionally,
The preset condition includes the corresponding general conditions of all log fields;Or,
The preset condition includes the corresponding conditions of particular application of each log field.
Optionally,
The preset condition is located in the transaction;Or,
The preset condition is located at the intelligent contract that in the intelligent contract that the transaction is called or the transaction is called and is adjusted In another intelligence contract;Or,
The preset condition is located in system contract or chain code.
Optionally, storage unit 64 is specifically used for:
The code of reading system contract defines in the code of the system contract related to event functions and preset condition Receipt data store logic;
The code for executing the system contract will meet preset condition in the log for corresponding to the special event function At least one log field with plaintext version storage, the receipt data remaining content stored with ciphertext form.
Optionally, the system contract includes: that the preset system contract being recorded in wound generation block or the preset system close System contract after about corresponding update.
Optionally, storage unit 64 is specifically used for:
Store function code is executed except the credible performing environment, and the receipt data is stored to described credible External memory space except performing environment.
Optionally, the key that the first block chain node encrypts the receipt data includes: symmetric encipherment algorithm The key of key or rivest, shamir, adelman.
Optionally, the key of the symmetric encipherment algorithm includes the initial key that the client provides;Or, described symmetrical The key of Encryption Algorithm includes the derivative key that the initial key and impact factor generate.
Optionally, the transaction is encrypted by the initial key, and the initial key is by rivest, shamir, adelman Public key encrypted;Decryption unit 62 is specifically used for:
It is decrypted to obtain the initial key with the private key of the rivest, shamir, adelman, and with the initial key to described Transaction is decrypted, to obtain the transaction content.
Optionally, the initial key is generated by client;Or, the initial key is sent to by Key Management server The client.
Optionally, the impact factor is related to the transaction.
Optionally, the impact factor includes: the specific bit of the cryptographic Hash of the transaction.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects, Component, data structure etc..This specification can also be practiced in a distributed computing environment, in these distributed computing environment In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module It can be located in the local and remote computer storage media including storage equipment.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.In a typical configuration, computer includes at one or more Manage device (CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, based on graphene Storage medium or other magnetic storage devices or any other non-transmission medium, can be used for storing can be accessed by a computing device Information.As defined in this article, computer-readable medium does not include temporary computer readable media (transitory media), Such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
The term that this specification one or more embodiment uses be only merely for for the purpose of describing particular embodiments, and It is not intended to be limiting this specification one or more embodiment.In this specification one or more embodiment and the appended claims Used in the "an" of singular, " described " and "the" be also intended to including most forms, unless context understands earth's surface Show other meanings.It is also understood that term "and/or" used herein refers to and includes one or more associated list Any or all of project may combine.
It will be appreciated that though this specification one or more embodiment may using term first, second, third, etc. come Various information are described, but these information should not necessarily be limited by these terms.These terms are only used to same type of information area each other It separates.For example, the first information can also be referred to as in the case where not departing from this specification one or more scope of embodiments Two information, similarly, the second information can also be referred to as the first information.Depending on context, word as used in this is " such as Fruit " can be construed to " ... when " or " when ... " or " in response to determination ".
The foregoing is merely the preferred embodiments of this specification one or more embodiment, not to limit this theory Bright book one or more embodiment, all within the spirit and principle of this specification one or more embodiment, that is done is any Modification, equivalent replacement, improvement etc. should be included within the scope of the protection of this specification one or more embodiment.

Claims (21)

1. the receipt storage method of a kind of binding events type function and Rule of judgment, comprising:
First block chain node receives the transaction of the intelligent contract of calling by encryption;
First block chain node decrypts the transaction in credible performing environment to obtain the intelligent contract, the intelligence contract Include special event function;
First block chain node executes the intelligent contract in the credible performing environment, obtains receipt data, the receipt Data include the log corresponding to the special event function;
First block chain node stores the receipt data, makes to meet default item in the log corresponding to the special event function At least one log field of part is stored with plaintext version, remaining content of the receipt data is stored with ciphertext form.
2. according to the method described in claim 1, the event functions containing type identifier in the intelligence contract, the type Identifier is used to the event functions being labeled as special event function.
3. according to the method described in claim 1, being recorded when the event functions that the intelligent contract includes are located on block chain When in special function list, the event functions that the intelligence contract includes are judged as special event function.
4. according to the method described in claim 1, at least one described log field includes: that the special event function is corresponding Exposure log field.
5. according to the method described in claim 4, described comprising being indicated by exposure identifier in the special event function Exposure log field;Alternatively, comprising the encrypted logs field indicated by encrypted identifier in the special event function, it is described Exposure log field is other log fields.
6. according to the method described in claim 4, record has predefined special event function and exposure log word in block chain The mapping relations between mapping relations or predefined special event function and encrypted logs field between section;It is described to reflect The relationship of penetrating is used for determining the corresponding exposed log field of the special event function.
7. according to the method described in claim 1, the preset condition includes at least one of: being wrapped in corresponding log field Value containing preset content, corresponding log field belongs to default value section.
8. according to the method described in claim 1,
The preset condition includes the corresponding general conditions of all log fields;Or,
The preset condition includes the corresponding conditions of particular application of each log field.
9. according to the method described in claim 1,
The preset condition is located in the transaction;Or,
The preset condition is located at what the intelligent contract that in the intelligent contract that the transaction is called or the transaction is called was called In another intelligence contract;Or,
The preset condition is located in system contract or chain code.
10. according to the method described in claim 1, the first block chain node stores the receipt data, comprising:
First block chain node reads the code of system contract, defines in the code of the system contract with event functions and in advance If the relevant receipt data of condition stores logic;
First block chain node executes the code of the system contract, will correspond to full in the log of the special event function At least one log field of sufficient preset condition is stored with plaintext version, remaining content of the receipt data is deposited with ciphertext form Storage.
11. according to the method described in claim 10, the system contract includes: that the preset system being recorded in wound generation block closes System contract about or after the corresponding update of the preset system contract.
12. according to the method described in claim 1, the first block chain node stores the receipt data, comprising:
First block chain node executes store function code except the credible performing environment, and the receipt data is stored External memory space except to the credible performing environment.
13. according to the method described in claim 1, the key packet that the first block chain node encrypts the receipt data It includes: the key of symmetric encipherment algorithm or the key of rivest, shamir, adelman.
14. according to the method for claim 13, the key of the symmetric encipherment algorithm includes the first of the client offer Beginning key;Or, the key of the symmetric encipherment algorithm includes the derivative key that the initial key and impact factor generate.
15. according to the method for claim 14, the transaction is encrypted by the initial key, and the initial key It is encrypted by the public key of rivest, shamir, adelman;First block chain node decrypts the transaction in credible performing environment, packet It includes:
First block chain node decrypts to obtain the initial key with the private key of the rivest, shamir, adelman, and with described initial Transaction described in key pair is decrypted, to obtain the transaction content.
16. according to the method for claim 14, the initial key is generated by client;Or, the initial key is by close Key management server is sent to the client.
17. according to the method for claim 14, the impact factor is related to the transaction.
18. according to the method for claim 17, the impact factor includes: the specific bit of the cryptographic Hash of the transaction.
19. the receipt memory node of a kind of binding events type function and Rule of judgment, comprising:
Receiving unit receives the transaction of the intelligent contract of calling by encryption;
Decryption unit decrypts the transaction in credible performing environment to obtain the intelligent contract, and the intelligence contract includes Special event function;
Execution unit executes the intelligent contract in the credible performing environment, obtains receipt data, the receipt data packet Containing the log for corresponding to the special event function;
Storage unit stores the receipt data, makes to meet preset condition in the log corresponding to the special event function At least one log field is stored with plaintext version, remaining content of the receipt data is stored with ciphertext form.
20. a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is by running the executable instruction to realize the side as described in any one of claim 1-18 Method.
21. a kind of computer readable storage medium, is stored thereon with computer instruction, realized such as when which is executed by processor The step of any one of claim 1-18 the method.
CN201910419959.1A 2019-05-20 2019-05-20 Receipt storage method and node combining event function type and judgment condition Active CN110264197B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201910419959.1A CN110264197B (en) 2019-05-20 2019-05-20 Receipt storage method and node combining event function type and judgment condition
PCT/CN2020/089386 WO2020233425A1 (en) 2019-05-20 2020-05-09 Determination condition based receipt storage method and node
PCT/CN2020/089385 WO2020233424A1 (en) 2019-05-20 2020-05-09 Event function type-based receipt storage method and node
PCT/CN2020/091403 WO2020233628A1 (en) 2019-05-20 2020-05-20 Receipt storage method and node based on combination of event function type and judgment condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910419959.1A CN110264197B (en) 2019-05-20 2019-05-20 Receipt storage method and node combining event function type and judgment condition

Publications (2)

Publication Number Publication Date
CN110264197A true CN110264197A (en) 2019-09-20
CN110264197B CN110264197B (en) 2021-05-18

Family

ID=67914800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910419959.1A Active CN110264197B (en) 2019-05-20 2019-05-20 Receipt storage method and node combining event function type and judgment condition

Country Status (2)

Country Link
CN (1) CN110264197B (en)
WO (1) WO2020233628A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510918A (en) * 2020-04-28 2020-08-07 拉扎斯网络科技(上海)有限公司 Communication method, system, device, electronic equipment and readable storage medium
CN111510462A (en) * 2020-04-28 2020-08-07 拉扎斯网络科技(上海)有限公司 Communication method, system, device, electronic equipment and readable storage medium
WO2020233425A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Determination condition based receipt storage method and node
WO2020233638A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node based on code labeling and transaction type
WO2020233424A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Event function type-based receipt storage method and node
WO2020233634A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Method and node for receipt storage combining transaction and event type condition restrictions
WO2020233628A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node based on combination of event function type and judgment condition

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318135A (en) * 2014-10-27 2015-01-28 中国科学院信息工程研究所 Java code safety dynamic loading method on basis of trusted execution environment
CN105429760A (en) * 2015-12-01 2016-03-23 神州融安科技(北京)有限公司 Method and system for identity verification of digital certificate based on TEE (Trusted Execution Environment)
CN105787353A (en) * 2014-12-17 2016-07-20 联芯科技有限公司 Credible application management system and loading method for credible applications
CN105828324A (en) * 2016-03-21 2016-08-03 珠海市魅族科技有限公司 Method and device of obtaining virtual subscriber identity
CN106407795A (en) * 2016-09-05 2017-02-15 北京众享比特科技有限公司 Data existence authentication system, authentication method and verification method
CN108681898A (en) * 2018-05-15 2018-10-19 广东工业大学 A kind of data trade method and system based on block chain
CN109389500A (en) * 2018-09-29 2019-02-26 重庆邮电大学 Data trade platform based on ether mill
US20190132120A1 (en) * 2017-10-27 2019-05-02 EMC IP Holding Company LLC Data Encrypting System with Encryption Service Module and Supporting Infrastructure for Transparently Providing Encryption Services to Encryption Service Consumer Processes Across Encryption Service State Changes

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10554634B2 (en) * 2017-08-18 2020-02-04 Intel Corporation Techniques for shared private data objects in a trusted execution environment
CN107682331B (en) * 2017-09-28 2020-05-12 复旦大学 Block chain-based Internet of things identity authentication method
CN109660358B (en) * 2019-01-08 2022-04-08 余炀 Data circulation method based on block chain and safe execution environment
CN110264197B (en) * 2019-05-20 2021-05-18 创新先进技术有限公司 Receipt storage method and node combining event function type and judgment condition

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318135A (en) * 2014-10-27 2015-01-28 中国科学院信息工程研究所 Java code safety dynamic loading method on basis of trusted execution environment
CN105787353A (en) * 2014-12-17 2016-07-20 联芯科技有限公司 Credible application management system and loading method for credible applications
CN105429760A (en) * 2015-12-01 2016-03-23 神州融安科技(北京)有限公司 Method and system for identity verification of digital certificate based on TEE (Trusted Execution Environment)
CN105828324A (en) * 2016-03-21 2016-08-03 珠海市魅族科技有限公司 Method and device of obtaining virtual subscriber identity
CN106407795A (en) * 2016-09-05 2017-02-15 北京众享比特科技有限公司 Data existence authentication system, authentication method and verification method
US20190132120A1 (en) * 2017-10-27 2019-05-02 EMC IP Holding Company LLC Data Encrypting System with Encryption Service Module and Supporting Infrastructure for Transparently Providing Encryption Services to Encryption Service Consumer Processes Across Encryption Service State Changes
CN108681898A (en) * 2018-05-15 2018-10-19 广东工业大学 A kind of data trade method and system based on block chain
CN109389500A (en) * 2018-09-29 2019-02-26 重庆邮电大学 Data trade platform based on ether mill

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233425A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Determination condition based receipt storage method and node
WO2020233638A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node based on code labeling and transaction type
WO2020233424A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Event function type-based receipt storage method and node
WO2020233634A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Method and node for receipt storage combining transaction and event type condition restrictions
WO2020233628A1 (en) * 2019-05-20 2020-11-26 创新先进技术有限公司 Receipt storage method and node based on combination of event function type and judgment condition
CN111510918A (en) * 2020-04-28 2020-08-07 拉扎斯网络科技(上海)有限公司 Communication method, system, device, electronic equipment and readable storage medium
CN111510462A (en) * 2020-04-28 2020-08-07 拉扎斯网络科技(上海)有限公司 Communication method, system, device, electronic equipment and readable storage medium
CN111510918B (en) * 2020-04-28 2022-08-02 拉扎斯网络科技(上海)有限公司 Communication method, system, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN110264197B (en) 2021-05-18
WO2020233628A1 (en) 2020-11-26

Similar Documents

Publication Publication Date Title
CN110223172A (en) The receipt storage method and node of conditional combination code mark and type dimension
CN109831298A (en) The method of security update key and node, storage medium in block chain
CN110263544A (en) In conjunction with the receipt storage method and node of type of transaction and Rule of judgment
CN110264195A (en) It is marked and transaction, the receipt storage method of user type and node in conjunction with code
CN110245490A (en) The receipt storage method and node of conditional combination code mark and type dimension
CN110245506A (en) Intelligent contract administration method and device based on block chain, electronic equipment
CN110032883A (en) Method, system and the node of secret protection are realized in block chain
CN110263087A (en) Receipt storage method and node based on various dimensions information and with condition limitation
CN110264197A (en) The receipt storage method and node of binding events type function and Rule of judgment
CN110264196A (en) In conjunction with the conditional receipt storage method and node of code mark and user type
CN110245504A (en) The receipt storage method and node limited in conjunction with the condition of polymorphic type dimension
CN110264198A (en) In conjunction with the conditional receipt storage method and node of code mark and type of transaction
CN110263086A (en) In conjunction with the receipt storage method and node of user type and event functions type
CN110266644A (en) In conjunction with the receipt storage method and node of code mark and type of transaction
CN110245947A (en) The receipt storage method and node limited in conjunction with the condition of transaction and user type
CN110245942A (en) In conjunction with the receipt storage method and node of user type and Rule of judgment
CN110245946A (en) In conjunction with the receipt storage method and node of code mark and polymorphic type dimension
CN110278193A (en) It is marked and transaction, the receipt storage method of event type and node in conjunction with code
CN110245503A (en) In conjunction with the receipt storage method and node of code mark and Rule of judgment
CN110033267A (en) Method, node, system and the storage medium of secret protection are realized in block chain
CN110032884A (en) The method and node, storage medium of secret protection are realized in block chain
CN110245945A (en) In conjunction with the receipt storage method and node of code mark and user type
CN110020855A (en) Method, the node, storage medium of secret protection are realized in block chain
CN110263091A (en) In conjunction with code mark and user, the receipt storage method of event type and node
CN110263088A (en) In conjunction with the conditional receipt storage method and node of code mark and event type

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
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant