-
公开(公告)号:EP4365808A1
公开(公告)日:2024-05-08
申请号:EP22831652.7
申请日:2022-06-10
发明人: MU, Changchun , DI, Gang , QIAN, Youcai , DU, Jinzhao
CPC分类号: G06F21/64 , H04L9/50 , G06Q50/18 , G06F21/6254 , G06Q50/265 , G06Q2220/0020130101 , G06Q50/01 , G06Q40/02 , G06Q40/04 , G06Q30/06 , G06Q30/018
摘要: The present invention discloses a method and an apparatus for data verification, and relates to the field of computer technology. A implementation of the method includes: performing a first verification on data-to-be-verified, where the data-to-be-verified includes a first contract parameter, a identifier of the smart contract, and a first execution result; processing, after the first verification is passed, the first contract parameter to obtain second contract parameter, and executing a smart contract based on the second contract parameter to obtain a second execution result; and sending the second contract parameter, the identifier of the smart contract, and the second execution result to a consensus verification node for a consensus verification. According to the implementation, a mechanism of multi-node joint verification ensures the accuracy of the contract execution result, and avoids the situation that an operating agency system is in charge of both contract execution and contract verification, causing the low credibility of verification of the smart contract, thereby improving the credibility of contract execution and verification.
-
公开(公告)号:EP4390815A1
公开(公告)日:2024-06-26
申请号:EP22857506.4
申请日:2022-07-21
发明人: MU, Changchun , DI, Gang , QIAN, Youcai , DU, Jinzhao
摘要: A method and apparatus for executing smart contract, relating to the technical field of digital currencies. The method comprises: in response to an execution request of smart contract, calling an application layer contract to execute service logic processing, and constructing fund layer contract parameters required for executing a fund layer contract (S101); and according to the service logic and the fund layer contract parameters, calling the fund layer contract by the application layer contract to execute fund processing (S102). The method can separate application logic processing and fund processing in a business scenario, and contract responsibility is clear, and logic processing is simple; in addition, by calling between smart contracts, complex contracts are implemented by combining simple contracts, and thus the method is adapted to more business application scenarios.
-
公开(公告)号:EP4350556A1
公开(公告)日:2024-04-10
申请号:EP22810634.0
申请日:2022-05-26
发明人: DI, Gang , GAO, Yang , HE, Mengwei , QIAN, Youcai , CHENG, Mingyu
摘要: The present invention relates to the technical field of computers, and discloses an information verification method and apparatus. A implementation of the method includes: constructing a constraint set of a zero-knowledge proof circuit, wherein the constraint set includes a range attribute verification condition; receiving a verifiable representation, using the verifiable representation as a secret input of the zero-knowledge proof circuit, and generating a personal information credential by means of the zero-knowledge proof circuit, wherein the verifiable representation is generated according to personal information to be verified; and in response to receiving decentralized identity information and a threshold value, which are sent by a verification system of a personal information credential, using the decentralized identity information and the threshold value as public inputs of the zero-knowledge proof circuit, and verifying, by the zero-knowledge proof circuit, whether the personal information credential satisfies the constraint set. By means of the implementation, sensitive information during user information verification can be protected while maintaining a decentralized identity system, thereby avoiding directly showing plaintext of real information of a user, and the verification efficiency is high.
-
公开(公告)号:EP4304131A1
公开(公告)日:2024-01-10
申请号:EP22762599.3
申请日:2022-03-03
发明人: MU, Changchun , DI, Gang , QIAN, Youcai , CHEN, Qingjie , DU, Jinzhao
摘要: The present disclosure mainly relates to the technical field of computers, and in particular to a method and apparatus for generating a random number in a blockchain. In a specific embodiment, the method includes: a first random number and a first digest value of the first random number are locally generated by a first node in a blockchain; the first node submits the first digest value to a smart contract; the smart contract broadcasts a first service, so that at least one blockchain node submits participation information about the first service; the smart contract determins a second node from the at least one blockchain node based on the order of submitting the participation information; when the first service ends, the first node submits the first random number to the smart contract; when the smart contract verifies that the first random number corresponds to the first digest value, the smart contract generates a second random number based on a second digest value of the second node and the first random number; and a second service is started based on the second random number. The embodiment improves the reliability of the random number, thereby ensuring the fairness of service results.
-
公开(公告)号:EP4180984A1
公开(公告)日:2023-05-17
申请号:EP21852328.0
申请日:2021-08-04
发明人: MU, Changchun , DI, Gang , QIAN, Youcai , QING, Sude , CHEN, Qingjie , DU, Jinzhao
IPC分类号: G06F16/176
摘要: The disclosure relates to a method, apparatus and system for sharing files, and mainly relates to the technical field of computers. One specific implementation mode of the method comprises: acquiring files to be shared, and uploading, on a blockchain, formed compressed file packages; generating by calculation a root hash value in accordance with file names of the compressed packages and hash values thereof; and acquiring respective compressed file packages in a blockchain in accordance with the root hash value. The technical problem of an excessive burden of network resources caused by a large number of files is partially overcome by compressing a plurality of files into compressed file packages, and the file uploading and sharing efficiencies are increased by uploading the respective compressed file packages on the blockchain concurrently; the files are stored or updated, and the root hash value is shared by using data structures such as a binary tree structure, a multi-way tree structure, and a dynamic tree structure to acquire, by the root hash value and respective node hash values, the shared files, which improves the security of the files.
-
公开(公告)号:EP4451196A1
公开(公告)日:2024-10-23
申请号:EP22906586.7
申请日:2022-12-14
发明人: MU, Changchun , DI, Gang , LI, Honggang , LV, Yuan , QIAN, Youcai , ZHANG, Mingming , LIU, Jiequn , CHEN, Xuanhui , CHEN, Qingjie , HUANG, Wei , WANG, Huan
摘要: Disclosed in the disclosure are a reconciliation method, apparatus and system based on a blockchain, relating to the technical field of blockchains. A specific embodiment of the method includes: acquiring a batch hash value corresponding to a reconciliation batch transaction record fed onto the blockchain by an institution to be reconciled and a batch hash value corresponding to a reconciliation batch transaction record fed onto the blockchain by a transaction reconciliation platform respectively; performing first comparison on the batch hash values; notifying the institution and the transaction reconciliation platform to feed shard hash values corresponding to the reconciliation batch transaction record under the condition that a result of the first comparison shows inconsistence; acquiring an inconsistent shard by performing second comparison on the shard hash values; notifying the institution and the transaction reconciliation platform to feed record hash values onto the blockchain; acquiring an inconsistent transaction record by performing third comparison on the record hash values; and notifying the institution and the transaction reconciliation platform of the inconsistent transaction record. According to the embodiment, a storage space of a blockchain can be saved; reconciliation efficiency is greatly improved, and a reconciliation result cannot be tampered with; and the problem of data privacy on a chain is solved.
-
公开(公告)号:EP4358000A1
公开(公告)日:2024-04-24
申请号:EP22824009.9
申请日:2022-05-20
发明人: MU, Changchun , DI, Gang , QIAN, Youcai , LV, Yuan , DU, Jinzhao , LI, Changli
CPC分类号: G06Q20/065 , G06Q20/223 , G06Q20/28 , H04L9/50 , H04L9/0894 , H04L9/3247 , H04L2209/5620130101 , G06Q20/102
摘要: The present invention relates to a digital currency-based payment method, platform and system, and a terminal, and relates to the technical field of computers. An implementation of the method includes: receiving a target payment request for a first digital currency in a frozen state, the first digital currency in the frozen state being generated based on a pre-payment request and a pre-configured pre-payment deposit smart contract; generating a second digital currency according to a target payment amount indicated by the target payment request, the first digital currency, and a pre-configured pre-payment verification smart contract; and sending the second digital currency to a first account corresponding to the first digital currency. The implementation improves the transaction security, and is conducive to protecting the rights and interests of a user.
-
公开(公告)号:EP4180985A1
公开(公告)日:2023-05-17
申请号:EP21854512.7
申请日:2021-08-04
发明人: MU, Changchun , DI, Gang , QIAN, Youcai , QING, Sude , CHEN, Qingjie , DU, Jinzhao
IPC分类号: G06F16/176
摘要: A file sharing method, apparatus, and system, mainly relate to the technical field of computers. The method comprises: obtaining a file to be shared; concurrently transmitting the shared file compression packages onto a blockchain; forming data blocks according to a compressed package file name and a hash value thereof, wherein the data blocks comprise the hash value of a previous data block; using the hash value of a last data block as a root hash value; and according to the root hash value, obtaining a file comprised in the last data block, and then obtaining each file compression package in a blockchain indicated by the root hash value. By compressing a plurality of files into file packages, the present application partially overcomes the technical problem that the burden of a network resource is too high due to a large number of files; the file on-chain and sharing efficiency is improved by performing concurrent on-chain on each file compression package; and a one-way linked list data structure on the blockchain is used to save and share the file, thereby improving the security of the file.
-
-
-
-
-
-
-