首页>
外国专利>
METHOD AND SYSTEM FOR VALIDATING A TRANSACTION IN A BLOCKCHAIN IN CONNECTION WITH A PRODUCT LIFECYCLE
METHOD AND SYSTEM FOR VALIDATING A TRANSACTION IN A BLOCKCHAIN IN CONNECTION WITH A PRODUCT LIFECYCLE
展开▼
机译:验证与产品生命周期相关的区块链交易的方法和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present invention discloses a method for validating a transaction in a blockchain configured for tracking and tracing changes occurring during a product lifecycle, the method comprising:a) receiving (101) a request for a transaction for the product;b) checking (102) if a smart contract is available for said transaction, and if so then executing the smart contract code;the computer implemented method being characterized in that the request comprises customized validation rules defined for the transaction wherein each customized validation rule defines a Boolean predicate and encodes a condition for validating the transaction, and wherein the execution of the smart contract code comprises:b1) determining (104) whether the smart contract code handles code injection, and if so, passing (105) each Boolean predicate as a parameter of the smart contract code andexecuting said Boolean predicate on the smart contract code in order to determine if the condition of the customized validation rule for validating the transaction is satisfied for said Boolean predicate;b2) executing (109) the transaction and pushing data records associated to said transaction into a node of the blockchain if and only if each of the conditions of the customized validation rules for validating the transaction has been satisfied, wherein said data records comprise the customized validation rules used for validating the transaction and that have been previously checked as a writing of the transaction.
展开▼