首页> 外国专利> BLOCKCHAIN-BASED ASSET QUERY METHOD AND APPARATUS, AND ELECTRONIC DEVICE

BLOCKCHAIN-BASED ASSET QUERY METHOD AND APPARATUS, AND ELECTRONIC DEVICE

机译:基于区块链的资产查询方法和装置,以及电子设备

摘要

Disclosed is a blockchain-based asset query method and apparatus, and an electronic device. The method and apparatus are applied to a node device in a blockchain that carries a trusted execution environment; the blockchain stores asset issuance transactions that are issued to the blockchain by an investment manager and comprise asset information; and the asset issuance transactions are pre-encrypted. The method comprises: receiving a call transaction, which is sent by a client, for a target smart contract deployed on a blockchain and which comprises a transaction identifier of a target asset issuance transaction queried by an asset query user, wherein a contract code of the target smart contract is pre-encrypted (502); in response to the call transaction, decrypting the contract code of the target smart contract in a trusted execution environment, executing the decrypted contract code in the trusted execution environment, and determining whether the asset query user has permission to view the target asset issuance transaction (504); and if so, returning the target asset issuance transaction decrypted in the trusted execution environment to the client (506).
机译:公开了一种基于区块的资产查询方法和装置,以及电子设备。该方法和装置应用于携带受信任执行环境的区块链中的节点设备;区块链存储资产发布交易,该交易由投资经理发出给区块链,并包含资产信息;资产发布交易是预先加密的。该方法包括:接收由客户端发送的呼叫事务,用于部署在块链中的目标智能合同,并且包括由资产查询用户查询的目标资产发布事务的事务标识符,其中目标智能合同是预加密的(502);响应呼叫事务,在可信执行环境中解密目标智能契约的合同代码,在可信执行环境中执行解密的合同代码,并确定资产查询用户是否具有查看目标资产发布事务的权限( 504);如果是这样,请将在可信执行环境中解密的目标资产发布交易返回给客户(506)。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号