CN108881312A - Intelligent contract upgrade method, system and relevant device and storage medium - Google Patents

Intelligent contract upgrade method, system and relevant device and storage medium Download PDF

Info

Publication number
CN108881312A
CN108881312A CN201810970018.2A CN201810970018A CN108881312A CN 108881312 A CN108881312 A CN 108881312A CN 201810970018 A CN201810970018 A CN 201810970018A CN 108881312 A CN108881312 A CN 108881312A
Authority
CN
China
Prior art keywords
intelligent contract
block chain
data
chain node
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810970018.2A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810970018.2A priority Critical patent/CN108881312A/en
Publication of CN108881312A publication Critical patent/CN108881312A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/126Applying verification of the received information the source of the received data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/102Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying security measure for e-commerce
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of intelligent contract upgrade method, system and relevant device and storage mediums, are related to block chain technical field.Intelligent contract upgrade method includes:Block chain node sends upgrade request to intelligent contract publishing center;Block chain node receives the upgrading response including encryption data that intelligent contract publishing center returns, wherein encryption data includes the intelligent contract data of target version;Block chain node verifies the data in upgrading response;In response to being verified, block chain node is upgraded using the intelligent contract data of target version.Embodiment through the invention, block chain node can pass through the intelligent contract data to intelligent contract publishing center transmission upgrade request acquisition target version and be verified, be upgraded, so as to realize intelligent contract safety, automatic updating, improve the efficiency and safety of the upgrading of intelligent contract.

Description

Intelligent contract upgrade method, system and relevant device and storage medium
Technical field
The present invention relates to block chain technical field, in particular to a kind of intelligent contract upgrade method, system and relevant device And storage medium.
Background technique
Since block chain itself has the characteristics that anti-tamper and traceable, block chain technology is increasingly being applied to count According in storage.Intelligent contract is a kind of executable code for being stored in block chain node, which specifies intelligent contract Implementation procedure and processing logic, such as input, output, intermediate conversion logic etc..Inventor has found after analyzing, with intelligence The optimization of the processing logic of energy contract, inevitably needs to upgrade intelligent contract in use.Currently, main The upgrading of intelligent contract is carried out by the way of manually upgrading.
Summary of the invention
Inventor it is found after analysis that, the upgrading of intelligent contract is directed not only to the upgrading of a block chain local node, And it is related to the unified escalation process of all block chain nodes in system, therefore the workload upgraded is very big.Also, upgraded It may relate to the operation such as human intervention in journey.Therefore, the mode efficiency manually upgraded is lower, safety is poor.
One technical problem to be solved by the embodiment of the invention is that:How the efficiency and safety of intelligent contract upgrading are improved Property.
First aspect according to some embodiments of the invention provides a kind of intelligent contract upgrade method, including:Block chain Node sends upgrade request to intelligent contract publishing center;What block chain node received intelligent contract publishing center return includes adding The upgrading response of ciphertext data, wherein encryption data includes the intelligent contract data of target version;Block chain node is to upgrading response In data verified;In response to being verified, block chain node is upgraded using the intelligent contract data of target version.
In some embodiments, the version information of the current intelligent contract in upgrade request including block chain node, upgrading Response is that intelligent contract publishing center is returned in response to the version of current intelligent contract lower than target version.
In some embodiments, the timing of block chain node sends upgrade request to intelligent contract publishing center.
In some embodiments, encryption data is using the corresponding private key encryption of intelligent contract;Block chain node uses The corresponding public key of intelligent contract verifies the data in upgrading response.
In some embodiments, encryption data includes closing to the intelligent contract data of target version, the intelligence of target version About the summary info of data carries out encrypted data, and upgrading response further includes the signature of encryption data;Block chain node is to liter Data in grade response carry out verifying:Block chain node uses the corresponding public key pair of current intelligence contract of block chain node Signature in upgrading response is verified;In response to being verified to signature, block chain node encrypts number using public key decryptions According to obtaining intelligent contract data, the first summary info of target version;Block chain node calculates the intelligence of the target version obtained Second summary info of contract data;Consistent in response to the first summary info and the second summary info, the judgement of block chain node is tested Card passes through.
In some embodiments, intelligent contract upgrade method further includes:Upgrade information is stored in block by block chain node In chain, wherein upgrade information includes the version information of the intelligent contract after the upgrading of block chain node.
In some embodiments, intelligent contract upgrade method further includes:It is newest in block chain node read area block chain Upgrade information, wherein upgrade information includes the version information of intelligent contract, so that block chain node is in the current of block chain node In the case that the version of intelligent contract is less than the version information in upgrade information, upgrading is sent to intelligent contract publishing center and is asked It asks.
The second aspect according to some embodiments of the invention provides a kind of intelligent contract upgrade method, including:Intelligence is closed About publishing center receives the upgrade request that block chain link point is sent;Intelligent contract publishing center generates the upgrading including encryption data Response, wherein encryption data includes the intelligent contract data of target version;Intelligent contract publishing center is returned to block chain node Upgrading response including encryption data, so that block chain node verifies the data in upgrading response, and in response to verifying Pass through, is upgraded using the intelligent contract data of target version.
In some embodiments, encryption data is using the corresponding private key encryption of intelligent contract, so as to block chain node The data in upgrading response are verified using intelligent contract corresponding public key.
In some embodiments, intelligent contract publishing center generation includes that the upgrading response of encryption data includes:Intelligence is closed The about target version of the intelligent contract of publishing center inquiry;Intelligent contract publishing center is using the corresponding private key of intelligent contract to target The intelligent contract data of version, the summary info of the intelligent contract data of target version are encrypted, and encryption data is generated;Intelligence Contract publishing center is signed using the corresponding private key pair encryption data of intelligent contract;Intelligent contract publishing center generates The upgrading response of encryption data and signature.
In terms of third according to some embodiments of the invention, a kind of block chain node is provided, including:Upgrade request is sent Module is configured as sending upgrade request to intelligent contract publishing center;Upgrade response receiving module, is configured as receiving intelligence The upgrading response including encryption data that contract publishing center returns, wherein encryption data includes the intelligent contract of target version Data;Data Verification module is configured as verifying the data in upgrading response;Upgraded module is configured to respond to It is verified, is upgraded using the intelligent contract data of target version.
In some embodiments, the version information of the current intelligent contract in upgrade request including block chain node, upgrading Response is that intelligent contract publishing center is returned in response to the version of current intelligent contract lower than target version.
In some embodiments, upgrade request sending module is configured to timing to intelligent contract publishing center hair Send upgrade request.
In some embodiments, encryption data is using the corresponding private key encryption of intelligent contract;Data Verification module into One step is configured as verifying the data in upgrading response using the corresponding public key of intelligent contract.
In some embodiments, encryption data includes closing to the intelligent contract data of target version, the intelligence of target version About the summary info of data carries out encrypted data, and upgrading response further includes the signature of encryption data;Data Verification module into One step is configured as verifying the signature in upgrading response using the corresponding public key of current intelligence contract of block chain node; In response to being verified to signature, using public key decryptions encryption data, obtains the intelligent contract data of target version, first plucks Want information;Calculate the second summary info of the intelligent contract data of the target version obtained;In response to the first summary info and Two summary infos are consistent, and judgement is verified.
In some embodiments, block chain node further includes:Information storage module is configured as upgrade information being stored in In block chain, wherein upgrade information includes the version information of the intelligent contract after the upgrading of block chain node.
In some embodiments, block chain node further includes:Information reading module is configured as reading in block chain most New upgrade information, wherein upgrade information includes the version information of intelligent contract;Upgrade request sending module is further configured It is block chain node in the case where the version of the current intelligent contract of block chain node is less than the version information in upgrade information, Upgrade request is sent to intelligent contract publishing center.
The 4th aspect according to some embodiments of the invention provides a kind of intelligent contract publishing center, including:Upgrading is asked Receiving module is sought, is configured as receiving the upgrade request that block chain link point is sent;Upgrade response generation module, is configurable to generate Upgrading response including encryption data, wherein encryption data includes the intelligent contract data of target version;Upgrade response and returns to mould Block is configured as returning to the upgrading response including encryption data to block chain node, so that block chain node is in upgrading response Data verified, and in response to being verified, upgraded using the intelligent contract data of target version.
In some embodiments, encryption data is using the corresponding private key encryption of intelligent contract, so as to block chain node The data in upgrading response are verified using intelligent contract corresponding public key.
In some embodiments, upgrading response generation module is configured to inquire the target version of intelligent contract; Believed using abstract of the corresponding private key of intelligent contract to the intelligent contract data of target version, the intelligent contract data of target version Breath is encrypted, and encryption data is generated;It is signed using the corresponding private key pair encryption data of intelligent contract;Generating includes encryption The upgrading response of data and signature.
The 5th aspect according to some embodiments of the invention provides a kind of intelligent contract upgrade-system, including:Aforementioned It anticipates a kind of block chain node;And any one aforementioned intelligent contract publishing center.
The 6th aspect according to some embodiments of the invention, provides a kind of block chain node, including:Memory;And It is coupled to the processor of the memory, processor is configured as the instruction based on storage in the memory, executes aforementioned Any one intelligent contract upgrade method.
The 7th aspect according to some embodiments of the invention provides a kind of intelligent contract publishing center, including:Storage Device;And it is coupled to the processor of the memory, processor is configured as the instruction based on storage in the memory, holds Any one aforementioned intelligent contract upgrade method of row.
The 8th aspect according to some embodiments of the invention, provides a kind of computer readable storage medium, stores thereon There is computer program, wherein the program realizes any one aforementioned intelligent contract upgrade method when being executed by processor.
Some embodiments in foregoing invention have the following advantages that or beneficial effect:Embodiment through the invention, block Chain node can be by sending the intelligent contract data of upgrade request acquisition target version to intelligent contract publishing center and carrying out Verifying, upgrading, so as to realize intelligent contract safety, automatic updating, improve the upgrading of intelligent contract efficiency and Safety.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is the flow diagram according to the intelligent contract upgrade method of some embodiments of the invention.
Fig. 2 is the flow diagram according to the intelligent contract data feedback method of some embodiments of the invention.
Fig. 3 is the flow diagram according to the intelligent contract upgrade method of other embodiments of the invention.
Fig. 4 is the flow diagram according to the upgrade information storage method of some embodiments of the invention.
Fig. 5 is the structural schematic diagram according to the block chain node of some embodiments of the invention.
Fig. 6 is the structural schematic diagram according to the intelligent contract publishing center of some embodiments of the invention.
Fig. 7 is the structural schematic diagram according to the intelligent contract upgrade-system of some embodiments of the invention.
Fig. 8 is the exemplary block diagram according to the intelligent contract update device of other embodiments of the invention.
Fig. 9 is the exemplary block diagram according to the intelligent contract update device of yet other embodiments of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below Description only actually at least one exemplary embodiment be it is illustrative, never as to the present invention and its application or make Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Unless specifically stated otherwise, positioned opposite, the digital table of the component and step that otherwise illustrate in these embodiments It is not limited the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality Proportionate relationship draw.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
Fig. 1 is the flow diagram according to the intelligent contract upgrade method of some embodiments of the invention.As shown in Figure 1, should The intelligent contract upgrade method of embodiment includes step S102~S110.
In step s 102, block chain node sends upgrade request to intelligent contract publishing center.
Intelligent contract publishing center is the equipment or cluster for issuing the intelligent contract of target version.Target version is area Block chain node thinks the version of intelligent contract to be achieved after the upgrading of intelligent contract, such as can be newest version or ratio Current version is higher by the latest edition etc. in the version or main upgraded version of predetermined level.In some embodiments, area Block chain node can according to need, and first passes through configuration interface in advance and configures to target version;In some embodiments, it is also possible to Default objects version is latest edition.
In some embodiments, upgrade request may include block chain nodal information, intelligent contract information, request in mark It is one or more.Block chain nodal information can be for example mark, operation system information, the server letter of block chain node Breath, configuration surroundings information etc..Intelligent contract information can for example be believed for the title of intelligent contract, the current version of intelligent contract Breath etc..To which intelligent contract publishing center can choose when returning to the intelligent contract of target version and meet block chain node Environment, configuration target version intelligent contract.
As needed, upgrade request can use public key encryption.In some embodiments, it can be distributed for block chain node Public key, intelligent contract publishing center retain private key, to be encrypted during data are transmitted.Key for example can be with It is to be configured when installing intelligent contract for the first time, those skilled in the art can also obtain key using other modes, here not It repeats again.
In step S104, intelligent contract publishing center generates the upgrading response including encryption data, wherein encryption data Intelligent contract data including target version.Intelligent contract data includes the code of intelligent contract, can also include issuing time, The description informations such as publisher.
In some embodiments, upgrade response other than including the intelligent contract data of target version, can also include From the request mark obtained in upgrade request, the version number of intelligent contract data etc. in upgrading response.
In some embodiments, encryption data is using the corresponding private key encryption of intelligent contract.
In step s 106, the upgrading including encryption data that block chain node receives that intelligent contract publishing center returns is answered It answers.
In step S108, block chain node verifies the data in upgrading response.For example, block chain node can be with It whether is to be issued, whether be tampered by intelligent contract publishing center using the received data of the corresponding public key verifications of intelligent contract Etc..It is thus possible to improve safety.
In step s 110, in response to being verified, block chain node is carried out using the intelligent contract data of target version Upgrading.For example, original code can be replaced with to the code of target version and re-start load.
Method through the foregoing embodiment, block chain node can be by sending upgrade request to intelligent contract publishing center Obtain target version intelligent contract data simultaneously verified, upgraded, so as to realize intelligent contract safety, automation Upgrading improves the efficiency and safety of intelligent contract upgrading.
In some embodiments, block chain node does not know whether currently used intelligent contract is target version.Cause This, block chain node can send current intelligent contract version information, intelligent contract publishing center to intelligent contract publishing center Intelligent contract data is only returned when there is currently the intelligent contract of more highest version.Present invention intelligence is described below with reference to Fig. 2 to close The about embodiment of data feedback method.
Fig. 2 is the flow diagram according to the intelligent contract data feedback method of some embodiments of the invention.Such as Fig. 2 institute Show, the intelligent contract data feedback method of the embodiment includes step S202~S204.
In step S202, block chain node sends upgrade request to intelligent contract publishing center, wherein in upgrade request The version information of current intelligent contract including block chain node.
In some embodiments, block chain node periodically can send upgrade request to intelligent contract publishing center.
In step S204, intelligent contract publishing center is lower than in response to the version of the current intelligent contract of block chain node Target version returns to the intelligent contract data of the target version of encryption to block chain node.
In some embodiments, if the version of the current intelligent contract of block chain node has been target version, intelligence Energy contract publishing center can return to the upgrading response including the information without upgrading, or not response.
It is thus possible to realize that the automation of intelligent contract updates, update efficiency is improved.
In order to further increase the safety of intelligent contract escalation process, intelligent contract publishing center can be in upgrading response In enclose signature, so that block chain link point is verified.The implementation of the intelligent contract upgrade method of the present invention is described below with reference to Fig. 3 Example.
Fig. 3 is the flow diagram according to the intelligent contract upgrade method of other embodiments of the invention.As shown in figure 3, The intelligent contract upgrade method of the embodiment includes step S302~S324.
In step s 302, block chain node sends the upgrade request of public key encryption to intelligent contract publishing center.
In step s 304, intelligent contract publishing center is decrypted the data in upgrade request using private key.
In step S306, intelligent contract publishing center inquires the target version of intelligent contract.
In step S308, intelligent contract publishing center generates summary info according to the intelligent contract data of target version.
In step s310, intelligent contract publishing center closes the intelligence of target version using the corresponding private key of intelligent contract About data, the intelligent contract data of target version summary info encrypted, generate encryption data.
In some embodiments, summary info is the MD5 (Message-Digest of the intelligent contract data of target version Algorithm 5, Message Digest Algorithm 5) value.As needed, summary info can also be calculated using other algorithms, this In repeat no more.
In step S312, intelligent contract publishing center is signed using the corresponding private key pair encryption data of intelligent contract Name.
In some embodiments, SHA (Security Hash Algorithm, Secure Hash Algorithm) calculating can be used The cryptographic Hash of encryption data is encrypted using the cryptographic Hash of private key pair encryption data, generates signature.
In step S314, intelligent contract publishing center returns to upgrading response to block chain node, wherein upgrading response bag Include encryption data and signature.
In step S316, block chain node answers upgrading using the corresponding public key of current intelligence contract of block chain node Signature in answering is verified.
In some embodiments, block chain node can first calculate the cryptographic Hash of the encryption data in upgrading response, obtain First cryptographic Hash;Then the signature in upgrading response is decrypted using intelligent contract corresponding public key, obtains the second cryptographic Hash.It rings Should be consistent with the second cryptographic Hash in the first cryptographic Hash, illustrate that upgrade response is that intelligent contract publishing center issues really, block chain Node determines that signature verification passes through, and otherwise signature verification does not pass through.
In step S318, in response to being verified to signature, block chain node is using the corresponding public key of intelligent contract Encryption data is decrypted, intelligent contract data, the first summary info of target version are obtained.
In step s 320, block chain node calculates the second abstract letter of the intelligent contract data of the target version obtained Breath.When calculating the second summary info, the digest calculations method of use uses block chain node with intelligent contract publishing center Digest calculations method is consistent.
It is consistent in response to the first summary info and the second summary info in step S322, the judgement verifying of block chain node Pass through.Whether the verifying is tampered for inspection data.
In step S324, in response to being verified, block chain node is carried out using the intelligent contract data of target version Upgrading.
Method through the foregoing embodiment can verify the authenticity and integrity of intelligent contract data, realize intelligence The safety upgrade of contract.
In some embodiments, upgrade case can also be stored in block chain by block chain node, for other block chains Node reference.The embodiment of upgrade information storage method of the present invention is described below with reference to Fig. 4.
Fig. 4 is the flow diagram according to the upgrade information storage method of some embodiments of the invention.As shown in figure 4, should The upgrade information storage method of embodiment includes step S402~S404.
In step S402, the first block chain node is upgraded using the intelligent contract data of target version.
In step s 404, upgrade information is stored in block chain by the first block chain node.
In some embodiments, upgrade information includes the version letter of the intelligent contract after the upgrading of the first block chain node Breath.
After block chain is updated, other block chain nodes in system will know that current target version, thus It can according to need initiation to update.For example, the embodiment can also include step S406~S408.
Newest upgrade information in step S406, in the second block chain node read area block chain, wherein upgrade information Version information including intelligent contract.
In step S408, the second block chain node is less than upgrading letter in the version of the current intelligent contract of block chain node In the case where version information in breath, upgrade request is sent to intelligent contract publishing center.
In some embodiments, the upgrade information stored in block chain can also include that the environment of the first block chain node is matched Confidence breath, operating condition etc..If carry out the operation of the block chain link point discovery of intelligent contract upgrading is smooth, version have it is scarce It falls into and waits operation problems, can also be recorded in block chain.Other block chain nodes can according to need decision after reading Whether update.
The embodiment of block chain node of the present invention is described below with reference to Fig. 5.
Fig. 5 is the structural schematic diagram according to the block chain node of some embodiments of the invention.As shown in figure 5, the embodiment Block chain node 500 include:Upgrade request sending module 510 is configured as sending to upgrade to intelligent contract publishing center asking It asks;Upgrade response receiving module 520, the upgrading including encryption data for being configured as receiving intelligent contract publishing center return is answered It answers, wherein encryption data includes the intelligent contract data of target version;Data Verification module 530 is configured as to upgrading response In data verified;Upgraded module 540 is configured to respond to be verified, using the intelligent contract number of target version According to being upgraded.
In some embodiments, the version information of the current intelligent contract in upgrade request including block chain node, upgrading Response is that intelligent contract publishing center is returned in response to the version of current intelligent contract lower than target version.
In some embodiments, upgrade request sending module 510 is configured to timing into the publication of intelligent contract The heart sends upgrade request.
In some embodiments, encryption data is using the corresponding private key encryption of intelligent contract;Data Verification module into One step is configured as verifying the data in upgrading response using the corresponding public key of intelligent contract.
In some embodiments, encryption data includes closing to the intelligent contract data of target version, the intelligence of target version About the summary info of data carries out encrypted data, and upgrading response further includes the signature of encryption data;Data Verification module 530 It is configured to test the signature in upgrading response using the corresponding public key of current intelligence contract of block chain node Card;In response to being verified to signature, using public key decryptions encryption data, obtain target version intelligent contract data, One summary info;Calculate the second summary info of the intelligent contract data of the target version obtained;In response to the first summary info Consistent with the second summary info, judgement is verified.
In some embodiments, block chain node 500 further includes:Information storage module 550 is configured as upgrade information It is stored in block chain, wherein upgrade information includes the version information of the intelligent contract after the upgrading of block chain node.
In some embodiments, block chain node 500 further includes:Information reading module 560 is configured as reading block chain In newest upgrade information, wherein upgrade information includes the version information of intelligent contract;Upgrade request sending module 510 into One step is configured as the version letter that block chain node is less than in upgrade information in the version of the current intelligent contract of block chain node In the case where breath, upgrade request is sent to intelligent contract publishing center.
The embodiment of the intelligent contract publishing center of the present invention is described below with reference to Fig. 6.
Fig. 6 is the structural schematic diagram according to the intelligent contract publishing center of some embodiments of the invention.As shown in fig. 6, should The intelligent contract publishing center 600 of embodiment includes:Upgrade request receiving module 610 is configured as receiving block chain link point hair The upgrade request sent;Upgrade response generation module 620, be configurable to generate the upgrading response including encryption data, wherein encryption Data include the intelligent contract data of target version;Upgrade response return module 630, is configured as returning to block chain node and wrap The upgrading response of encryption data is included, so that block chain node verifies the data in upgrading response, and it is logical in response to verifying It crosses, is upgraded using the intelligent contract data of target version.
In some embodiments, encryption data is using the corresponding private key encryption of intelligent contract, so as to block chain node The data in upgrading response are verified using intelligent contract corresponding public key.
In some embodiments, upgrading response generation module 620 is configured to inquire the target version of intelligent contract This;The intelligent contract data of target version, the intelligent contract data of target version are plucked using intelligent contract corresponding private key It wants information to be encrypted, generates encryption data;It is signed using the corresponding private key pair encryption data of intelligent contract;Generation includes The upgrading response of encryption data and signature.
The embodiment of the intelligent contract upgrade-system of the present invention is described below with reference to Fig. 7.
Fig. 7 is the structural schematic diagram according to the intelligent contract upgrade-system of some embodiments of the invention.As shown in fig. 7, should The intelligent contract upgrade-system 70 of embodiment includes block chain node 710 and intelligent contract publishing center 720.Block chain node 710 specific embodiment can with reference to the block chain node 500 in Fig. 5 embodiment, intelligent contract publishing center 720 it is specific Embodiment can be with reference to the intelligent contract publishing center 600 in Fig. 6 embodiment.Block chain node 710 can have one or more It is a, one is exemplarily only shown in Fig. 7.
Fig. 8 is according to the exemplary block diagram of the intelligent contract update device of other embodiments of the invention, intelligent contract Update device can be block chain node or intelligent contract publishing center.As shown in figure 8, the intelligent contract of the embodiment upgrades Device 80 includes:Memory 810 and the processor 820 for being coupled to the memory 810, processor 820 are configured as being based on depositing The instruction in memory 810 is stored up, the intelligent contract upgrade method in any one aforementioned embodiment is executed.
Wherein, memory 810 is such as may include system storage, fixed non-volatile memory medium.System storage Device is for example stored with operating system, application program, Boot loader (Boot Loader) and other programs etc..
Fig. 9 is according to the exemplary block diagram of the intelligent contract update device of yet other embodiments of the invention, intelligent contract Update device can be block chain node or intelligent contract publishing center.As shown in figure 9, the intelligent contract of the embodiment upgrades Device 90 includes:Memory 910 and processor 920 can also include input/output interface 930, network interface 940, storage Interface 950 etc..Bus 960 can for example be passed through between these interfaces 930,940,950 and memory 910 and processor 920 Connection.Wherein, input/output interface 930 is display, the input-output equipment such as mouse, keyboard, touch screen provide connecting interface. Network interface 940 provides connecting interface for various networked devices.The external storages such as memory interface 950 is SD card, USB flash disk provide Connecting interface.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, special Sign is that the program realizes any one aforementioned intelligent contract upgrade method when being executed by processor.
Those skilled in the art should be understood that the embodiment of the present invention can provide as method, system or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more, Machine can use the meter implemented in non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of calculation machine program 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 is interpreted as to be realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
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.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (24)

1. a kind of intelligence contract upgrade method, including:
Block chain node sends upgrade request to intelligent contract publishing center;
Block chain node receives the upgrading response including encryption data that intelligent contract publishing center returns, wherein the encryption Data include the intelligent contract data of target version;
Block chain node verifies the data in the upgrading response;
In response to being verified, block chain node is upgraded using the intelligent contract data of the target version.
2. intelligence contract upgrade method according to claim 1, wherein include the block chain link in the upgrade request The version information of the current intelligent contract of point, the upgrading response are that intelligent contract publishing center is closed in response to the current intelligence Version about is returned lower than target version.
3. intelligence contract upgrade method according to claim 1 or 2, wherein the node timing of block chain is sent out to intelligent contract Cloth center sends upgrade request.
4. intelligence contract upgrade method according to claim 1, wherein the encryption data is corresponding using intelligent contract Private key encryption;
Block chain node verifies the data in the upgrading response using the corresponding public key of the intelligence contract.
5. intelligence contract upgrade method according to claim 4, wherein the encryption data includes the intelligence to target version Energy contract data, the encrypted data of summary info progress of the intelligent contract data of the target version, the upgrading response It further include the signature of the encryption data;
The block chain node carries out verifying to the data in the upgrading response:
Block chain node using the block chain node the corresponding public key of current intelligent contract to the signature in upgrading response into Row verifying;
In response to being verified to the signature, block chain node obtains mesh using encryption data described in the public key decryptions Mark intelligent contract data, the first summary info of version;
Block chain node calculates the second summary info of the intelligent contract data of the target version obtained;
Consistent in response to the first summary info and the second summary info, the block chain node judgement is verified.
6. intelligence contract upgrade method according to claim 1, further includes:
Upgrade information is stored in block chain by block chain node, wherein the upgrade information includes the block chain node The version information of intelligent contract after upgrading.
7. intelligence contract upgrade method according to claim 6, further includes:
Newest upgrade information in block chain node read area block chain, wherein the upgrade information includes the version of intelligent contract This information, the version so as to block chain node in the current intelligent contract of the block chain node are less than in the upgrade information In the case where version information, upgrade request is sent to intelligent contract publishing center.
8. a kind of intelligence contract upgrade method, including:
Intelligent contract publishing center receives the upgrade request that block chain link point is sent;
Intelligent contract publishing center generates the upgrading response including encryption data, wherein the encryption data includes target version Intelligent contract data;
Intelligent contract publishing center returns to the upgrading response including encryption data to block chain node, so that block chain node is to institute The data stated in upgrading response are verified, and in response to being verified, using the target version intelligent contract data into Row upgrading.
9. intelligence contract upgrade method according to claim 8, wherein the encryption data is corresponding using intelligent contract Private key encryption, so as to block chain node using the corresponding public key of the intelligent contract to the data in the upgrading response into Row verifying.
10. intelligence contract upgrade method according to claim 9, wherein the intelligence contract publishing center, which generates, includes The upgrading response of encryption data includes:
Intelligent contract publishing center inquires the target version of intelligent contract;
Intelligent contract publishing center is using the corresponding private key of intelligent contract to the intelligent contract data of target version, target version The summary info of intelligent contract data is encrypted, and encryption data is generated;
Intelligent contract publishing center is signed using the corresponding private key pair encryption data of intelligent contract;
Intelligent contract publishing center generates the upgrading response including encryption data and signature.
11. a kind of block chain node, including:
Upgrade request sending module is configured as sending upgrade request to intelligent contract publishing center;
Upgrade response receiving module, the upgrading including encryption data for being configured as receiving intelligent contract publishing center return is answered It answers, wherein the encryption data includes the intelligent contract data of target version;
Data Verification module is configured as verifying the data in the upgrading response;
Upgraded module is configured to respond to be verified, and is upgraded using the intelligent contract data of the target version.
12. block chain node according to claim 11, wherein including the block chain node in the upgrade request The version information of current intelligence contract, the upgrading response are intelligent contract publishing centers in response to the current intelligent contract Version is returned lower than target version.
13. block chain node according to claim 11 or 12, wherein the upgrade request sending module is further matched It is set to timing and sends upgrade request to intelligent contract publishing center.
14. block chain node according to claim 11, wherein the encryption data is using the corresponding private of intelligent contract Key encryption;
The Data Verification module is configured to using the corresponding public key of the intelligence contract in the upgrading response Data verified.
15. block chain node according to claim 14, wherein the encryption data includes closing to the intelligence of target version About data, the encrypted data of summary info progress of the intelligent contract data of the target version, the upgrading response are also wrapped Include the signature of the encryption data;
The Data Verification module is configured to the corresponding public key of current intelligence contract using the block chain node Signature in upgrading response is verified;In response to being verified to the signature, add using described in the public key decryptions Ciphertext data obtains intelligent contract data, the first summary info of target version;Calculate the intelligent contract number of the target version obtained According to the second summary info;Consistent in response to the first summary info and the second summary info, judgement is verified.
16. block chain node according to claim 11, further includes:
Information storage module is configured as upgrade information being stored in block chain, wherein the upgrade information includes the area The version information of intelligent contract after the upgrading of block chain node.
17. block chain node according to claim 11,
Further include:Information reading module is configured as reading the newest upgrade information in block chain, wherein the upgrading letter Breath includes the version information of intelligent contract;
The upgrade request sending module is configured to block chain node and closes in the current intelligence of the block chain node In the case that version about is less than the version information in the upgrade information, upgrade request is sent to intelligent contract publishing center.
18. a kind of intelligence contract publishing center, including:
Upgrade request receiving module is configured as receiving the upgrade request that block chain link point is sent;
Upgrade response generation module, be configurable to generate the upgrading response including encryption data, wherein the encryption data includes The intelligent contract data of target version;
Upgrade response return module, is configured as returning to the upgrading response including encryption data to block chain node, so as to block Chain node verifies the data in the upgrading response, and in response to being verified, using the intelligence of the target version Contract data is upgraded.
19. intelligence contract publishing center according to claim 18, wherein the encryption data is using intelligent contract pair The private key encryption answered, so that block chain node uses the corresponding public key of the intelligent contract to the data in the upgrading response It is verified.
20. intelligence contract publishing center according to claim 19, wherein the upgrading response generation module further by It is configured to inquire the target version of intelligent contract;Using the corresponding private key of intelligent contract to the intelligent contract data of target version, The summary info of the intelligent contract data of target version is encrypted, and encryption data is generated;Utilize the corresponding private key of intelligent contract It signs to encryption data;Generate the upgrading response including encryption data and signature.
21. a kind of intelligence contract upgrade-system, including:
Block chain node described in any one of claim 11~17;And
Intelligent contract publishing center described in any one of claim 18~20.
22. a kind of block chain node, including:
Memory;And
It is coupled to the processor of the memory, the processor is configured to the instruction based on storage in the memory, It executes such as intelligent contract upgrade method according to any one of claims 1 to 7.
23. a kind of intelligence contract publishing center, including:
Memory;And
It is coupled to the processor of the memory, the processor is configured to the instruction based on storage in the memory, Execute the intelligent contract upgrade method as described in any one of claim 8~10.
24. a kind of computer readable storage medium, is stored thereon with computer program, power is realized when which is executed by processor Benefit require any one of 1~10 described in intelligent contract upgrade method.
CN201810970018.2A 2018-08-24 2018-08-24 Intelligent contract upgrade method, system and relevant device and storage medium Pending CN108881312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810970018.2A CN108881312A (en) 2018-08-24 2018-08-24 Intelligent contract upgrade method, system and relevant device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810970018.2A CN108881312A (en) 2018-08-24 2018-08-24 Intelligent contract upgrade method, system and relevant device and storage medium

Publications (1)

Publication Number Publication Date
CN108881312A true CN108881312A (en) 2018-11-23

Family

ID=64321344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810970018.2A Pending CN108881312A (en) 2018-08-24 2018-08-24 Intelligent contract upgrade method, system and relevant device and storage medium

Country Status (1)

Country Link
CN (1) CN108881312A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635559A (en) * 2018-12-07 2019-04-16 深圳市云歌人工智能技术有限公司 It issues resource and obtains method, system, device and the storage medium of authorization
CN109885612A (en) * 2018-12-26 2019-06-14 联动优势科技有限公司 The synchronization take-effective method and device of block chain intelligence contract
CN110009362A (en) * 2019-04-02 2019-07-12 北京众享比特科技有限公司 Block chain intelligence contract amending method, device and computer readable storage medium
CN110018840A (en) * 2019-04-11 2019-07-16 深圳市网心科技有限公司 A kind of intelligence contract upgrade method, device, block chain node device and medium
CN110138592A (en) * 2019-04-09 2019-08-16 苏宁易购集团股份有限公司 A kind of management method and system of intelligence contract
CN110392042A (en) * 2019-06-19 2019-10-29 深圳壹账通智能科技有限公司 System environments resource allocation information acquisition methods, device and block chain node
CN110401631A (en) * 2019-06-19 2019-11-01 深圳壹账通智能科技有限公司 System upgrade information acquisition method, device, storage medium and block chain node
CN110427385A (en) * 2019-08-02 2019-11-08 中国工商银行股份有限公司 Block chain data-updating method, interdependent node and block chain
CN110544097A (en) * 2019-09-06 2019-12-06 杭州复杂美科技有限公司 Intelligent contract version control, calling and upgrading method, equipment and storage medium
CN110688428A (en) * 2019-09-24 2020-01-14 北京海益同展信息科技有限公司 Method and device for issuing intelligent contracts
CN111045722A (en) * 2019-12-06 2020-04-21 深圳前海环融联易信息科技服务有限公司 Intelligent contract packaging method, device, system, computer equipment and storage medium
CN111159753A (en) * 2019-12-10 2020-05-15 天翼电子商务有限公司 Block chain intelligent contract management method and system, storage medium and terminal
CN111258599A (en) * 2018-12-03 2020-06-09 中国电信股份有限公司 Firmware upgrade method, system and computer readable storage medium
CN111651171A (en) * 2020-06-05 2020-09-11 中国银行股份有限公司 Interface version deployment method and device, electronic equipment and storage medium
WO2020211483A1 (en) * 2019-04-19 2020-10-22 创新先进技术有限公司 Method and apparatus for storing and executing smart contract in blockchain, and electronic device
CN112053243A (en) * 2020-09-29 2020-12-08 中国银行股份有限公司 Method and device for upgrading intelligent contracts in block chain
CN112085604A (en) * 2020-09-10 2020-12-15 北京金山云网络技术有限公司 Method and device for upgrading intelligent contract
CN112235137A (en) * 2020-10-12 2021-01-15 杭州溪塔科技有限公司 Method and device for upgrading block link point program and electronic equipment
CN112751807A (en) * 2019-10-31 2021-05-04 中国电信股份有限公司 Secure communication method, apparatus, system and storage medium
CN112765586A (en) * 2021-01-12 2021-05-07 湖北宸威玺链信息技术有限公司 Block chain-based deployment file distribution method, equipment and storage medium
CN113760353A (en) * 2021-08-27 2021-12-07 浙商银行股份有限公司 Block chain intelligent contract version control method and block chain system
CN115543392A (en) * 2022-11-30 2022-12-30 北京百度网讯科技有限公司 Trusted program upgrading method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425114A (en) * 2008-12-12 2009-05-06 四川长虹电器股份有限公司 Software upgrading bag packaging method and software upgrading method
CN101436141A (en) * 2008-11-21 2009-05-20 深圳创维数字技术股份有限公司 Firmware upgrading and encapsulating method and device based on digital signing
CN102955700A (en) * 2011-08-18 2013-03-06 腾讯科技(深圳)有限公司 System and method for upgrading software
CN106778329A (en) * 2016-11-28 2017-05-31 中国银行股份有限公司 A kind of block chain intelligence contract template dynamic updating method, apparatus and system
CN107562513A (en) * 2017-07-18 2018-01-09 杭州趣链科技有限公司 A kind of management method of the intelligent contract life cycle based on JAVA
CN108074177A (en) * 2017-12-05 2018-05-25 深圳前海微众银行股份有限公司 Data account checking method, system and computer readable storage medium
TW201828215A (en) * 2017-01-23 2018-08-01 現代財富控股有限公司 Smart contract version control system and method thereof based on blockchain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436141A (en) * 2008-11-21 2009-05-20 深圳创维数字技术股份有限公司 Firmware upgrading and encapsulating method and device based on digital signing
CN101425114A (en) * 2008-12-12 2009-05-06 四川长虹电器股份有限公司 Software upgrading bag packaging method and software upgrading method
CN102955700A (en) * 2011-08-18 2013-03-06 腾讯科技(深圳)有限公司 System and method for upgrading software
CN106778329A (en) * 2016-11-28 2017-05-31 中国银行股份有限公司 A kind of block chain intelligence contract template dynamic updating method, apparatus and system
TW201828215A (en) * 2017-01-23 2018-08-01 現代財富控股有限公司 Smart contract version control system and method thereof based on blockchain
CN107562513A (en) * 2017-07-18 2018-01-09 杭州趣链科技有限公司 A kind of management method of the intelligent contract life cycle based on JAVA
CN108074177A (en) * 2017-12-05 2018-05-25 深圳前海微众银行股份有限公司 Data account checking method, system and computer readable storage medium

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258599A (en) * 2018-12-03 2020-06-09 中国电信股份有限公司 Firmware upgrade method, system and computer readable storage medium
CN111258599B (en) * 2018-12-03 2023-06-20 中国电信股份有限公司 Firmware upgrade method, system and computer readable storage medium
CN109635559A (en) * 2018-12-07 2019-04-16 深圳市云歌人工智能技术有限公司 It issues resource and obtains method, system, device and the storage medium of authorization
CN109885612B (en) * 2018-12-26 2021-04-20 联动优势科技有限公司 Synchronous validation method and device for intelligent contracts of block chains
CN109885612A (en) * 2018-12-26 2019-06-14 联动优势科技有限公司 The synchronization take-effective method and device of block chain intelligence contract
CN110009362A (en) * 2019-04-02 2019-07-12 北京众享比特科技有限公司 Block chain intelligence contract amending method, device and computer readable storage medium
CN110138592A (en) * 2019-04-09 2019-08-16 苏宁易购集团股份有限公司 A kind of management method and system of intelligence contract
CN110018840B (en) * 2019-04-11 2021-12-03 深圳市迅雷网络技术有限公司 Intelligent contract upgrading method and device, block chain link point equipment and medium
CN110018840A (en) * 2019-04-11 2019-07-16 深圳市网心科技有限公司 A kind of intelligence contract upgrade method, device, block chain node device and medium
WO2020211483A1 (en) * 2019-04-19 2020-10-22 创新先进技术有限公司 Method and apparatus for storing and executing smart contract in blockchain, and electronic device
CN110392042A (en) * 2019-06-19 2019-10-29 深圳壹账通智能科技有限公司 System environments resource allocation information acquisition methods, device and block chain node
CN110401631A (en) * 2019-06-19 2019-11-01 深圳壹账通智能科技有限公司 System upgrade information acquisition method, device, storage medium and block chain node
CN110427385A (en) * 2019-08-02 2019-11-08 中国工商银行股份有限公司 Block chain data-updating method, interdependent node and block chain
CN110427385B (en) * 2019-08-02 2022-06-10 中国工商银行股份有限公司 Block chain data updating method, related node and block chain
CN110544097A (en) * 2019-09-06 2019-12-06 杭州复杂美科技有限公司 Intelligent contract version control, calling and upgrading method, equipment and storage medium
CN110688428A (en) * 2019-09-24 2020-01-14 北京海益同展信息科技有限公司 Method and device for issuing intelligent contracts
CN112751807B (en) * 2019-10-31 2023-02-03 中国电信股份有限公司 Secure communication method, device, system and storage medium
CN112751807A (en) * 2019-10-31 2021-05-04 中国电信股份有限公司 Secure communication method, apparatus, system and storage medium
CN111045722B (en) * 2019-12-06 2023-08-25 深圳前海环融联易信息科技服务有限公司 Intelligent contract packaging method, device, system, computer equipment and storage medium
CN111045722A (en) * 2019-12-06 2020-04-21 深圳前海环融联易信息科技服务有限公司 Intelligent contract packaging method, device, system, computer equipment and storage medium
CN111159753B (en) * 2019-12-10 2023-12-22 天翼商业保理有限公司 Block chain intelligent contract management method and system, storage medium and terminal
CN111159753A (en) * 2019-12-10 2020-05-15 天翼电子商务有限公司 Block chain intelligent contract management method and system, storage medium and terminal
CN111651171A (en) * 2020-06-05 2020-09-11 中国银行股份有限公司 Interface version deployment method and device, electronic equipment and storage medium
CN111651171B (en) * 2020-06-05 2023-03-31 中国银行股份有限公司 Interface version deployment method and device, electronic equipment and storage medium
CN112085604A (en) * 2020-09-10 2020-12-15 北京金山云网络技术有限公司 Method and device for upgrading intelligent contract
CN112053243A (en) * 2020-09-29 2020-12-08 中国银行股份有限公司 Method and device for upgrading intelligent contracts in block chain
CN112053243B (en) * 2020-09-29 2024-01-26 中国银行股份有限公司 Method and device for upgrading intelligent contracts in block chain
CN112235137A (en) * 2020-10-12 2021-01-15 杭州溪塔科技有限公司 Method and device for upgrading block link point program and electronic equipment
CN112765586A (en) * 2021-01-12 2021-05-07 湖北宸威玺链信息技术有限公司 Block chain-based deployment file distribution method, equipment and storage medium
CN113760353A (en) * 2021-08-27 2021-12-07 浙商银行股份有限公司 Block chain intelligent contract version control method and block chain system
CN113760353B (en) * 2021-08-27 2024-01-02 浙商银行股份有限公司 Block chain intelligent contract version control method and block chain system
CN115543392A (en) * 2022-11-30 2022-12-30 北京百度网讯科技有限公司 Trusted program upgrading method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108881312A (en) Intelligent contract upgrade method, system and relevant device and storage medium
US10628578B2 (en) Systems and methods for determining trust levels for computing components using blockchain
US10310824B2 (en) Distributed ledger platform for computing applications
US11533187B2 (en) Device birth certificate
US11973869B2 (en) Maintaining blocks of a blockchain in a partitioned blockchain network
CN108550037B (en) File processing method and device based on block chain
CN110933163B (en) Block chain contract deployment method, device, equipment and storage medium
CN102170440B (en) Method suitable for safely migrating data between storage clouds
CN109067732A (en) Internet of things equipment and data insertion system, method and computer readable storage medium
EP4216077A1 (en) Blockchain network-based method and apparatus for data processing, and computer device
CN108830720A (en) Intelligent contract operation method, device, system and computer readable storage medium
JP2022541929A (en) Method and apparatus for issuing smart contracts
EP3502871A1 (en) System and methods for determining trust levels for computing components using blockchain
CN106020868B (en) A kind of smart card firmware update and system
CN109408486B (en) File distribution method and system, distribution server and file generation device
CN111444090B (en) Contract testing method and device in blockchain, electronic equipment and storage medium
Chen et al. Policychain: A decentralized authorization service with script-driven policy on blockchain for internet of things
CN117251889B (en) Block chain consensus method, related device and medium
CN111259452A (en) Data management method based on block chain and related device
KR101296279B1 (en) Method and Apparatus of Rule Engine System with Separate Rule Server and Rule Executor
CN109871218A (en) The method and apparatus for managing smart machine
CN106209663B (en) Flow segmentation and system
CN113487041A (en) Horizontal federal learning method, device and storage medium
JP2023517614A (en) CODE CONSTRUCTION METHOD, APPARATUS, DEVICE AND STORAGE MEDIUM
CN111273970B (en) Calling method, device, system, medium and electronic equipment of intelligent contract

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123