CN111581251B - Digital asset query method, device and storage medium for cross-chain transaction - Google Patents

Digital asset query method, device and storage medium for cross-chain transaction Download PDF

Info

Publication number
CN111581251B
CN111581251B CN202010327488.4A CN202010327488A CN111581251B CN 111581251 B CN111581251 B CN 111581251B CN 202010327488 A CN202010327488 A CN 202010327488A CN 111581251 B CN111581251 B CN 111581251B
Authority
CN
China
Prior art keywords
digital asset
transaction
party
authorization
authorization information
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.)
Active
Application number
CN202010327488.4A
Other languages
Chinese (zh)
Other versions
CN111581251A (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.)
Aolin Technology Co ltd
Original Assignee
Aolin 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 Aolin Technology Co ltd filed Critical Aolin Technology Co ltd
Priority to CN202010327488.4A priority Critical patent/CN111581251B/en
Publication of CN111581251A publication Critical patent/CN111581251A/en
Application granted granted Critical
Publication of CN111581251B publication Critical patent/CN111581251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Fuzzy Systems (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a digital asset query method, a device and a storage medium for cross-chain transaction, wherein the method applied to a third party blockchain for pre-storing the cross-chain transaction digital asset comprises the following steps: receiving a digital asset inquiry request, wherein the digital asset inquiry request is issued through an intelligent contract according to any transaction party participating in cross-chain transaction; sending an authorization request to a corresponding digital asset authorization party according to the digital asset inquiry request; and when the authorization information is received, transmitting the authorization information to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information. The invention realizes unified query of the cross-chain data asset by uniformly storing and managing the digital asset through the third-party blockchain, and meets different data query requirements of different users on the transaction process.

Description

Digital asset query method, device and storage medium for cross-chain transaction
Technical Field
The invention relates to the technical field of blockchain, in particular to a digital asset query method, device and storage medium for cross-chain transaction.
Background
The cross-chain technology is used for promoting intercommunication among multi-block chains under different business scenes so as to realize asset data interaction among different block chains. For example, in various financial scenarios such as industry chain finance and supply chain finance, in order to meet the digital asset transaction requirements of different attributes and different states in different financial scenarios, a multi-chain inter-chain cross-chain collaborative transaction meeting the transaction requirements needs to be constructed according to a plurality of block chains of different business types and business states. In order to meet the data query requirements of different users on the transaction process, a cross-chain transaction digital asset query method is needed to be proposed.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect that the data query requirements of different users on the transaction process in the prior art cannot be met, so as to provide a digital asset query method, a device and a storage medium for cross-chain transaction.
According to a first aspect, the present embodiment provides a digital asset query method for cross-chain transactions, applied to a third party blockchain that prestores cross-chain transaction digital assets, including: receiving a digital asset inquiry request, wherein the digital asset inquiry request is issued through an intelligent contract according to any transaction party participating in cross-chain transaction; sending an authorization request to a corresponding digital asset authorization party according to the digital asset inquiry request; and when the authorization information is received, transmitting the authorization information to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information.
Optionally, the sending, according to the digital asset query request, an authorization request to a corresponding digital asset authorizer includes: matching the digital asset inquiry request with a prestored digital asset identifier to obtain target digital asset identifier information; and sending an authorization request containing the target digital asset identification information to a corresponding digital asset authorizer.
Optionally, the authorization information includes a first digital asset key; when receiving the authorization information, the method sends the authorization information to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information, and the method comprises the following steps: and after receiving the authorization information, sending the first digital asset key to the transaction party, so that the transaction party decrypts the target digital asset according to the first digital asset key to obtain a query result.
Optionally, the method further comprises: and when the same digital asset inquiry request sent by any transaction party is received, sending authorization information containing a second digital asset key to the transaction party, wherein the second digital asset key is different from the first digital asset key.
According to a second aspect, the present embodiment provides a digital asset querying device for cross-chain transactions, applied to a third party blockchain for pre-storing cross-chain transaction digital assets, including: the inquiry request receiving module is used for receiving a digital asset inquiry request which is issued through an intelligent contract according to any transaction party participating in cross-chain transaction; the authorization request sending module is used for sending an authorization request to a corresponding digital asset authorization party according to the digital asset inquiry request; and the digital asset inquiry module is used for sending the authorization information to the transaction party when receiving the authorization information, so that the transaction party inquires the corresponding digital asset according to the authorization information.
Optionally, the authorization request sending module includes: the target digital asset acquisition module is used for matching the digital asset inquiry request with a prestored digital asset identifier to obtain target digital asset identifier information; and the authorization request sending sub-module is used for sending an authorization request containing the target digital asset identification information to the corresponding digital asset authorized party.
Optionally, the digital asset query module includes: and the inquiry result acquisition module is used for transmitting the first digital asset key to the transaction party after receiving the authorization information, so that the transaction party decrypts the target digital asset according to the first digital asset key to obtain an inquiry result.
Optionally, the apparatus further includes: and the authorization information sending sub-module is used for sending authorization information containing a second digital asset key to any transaction party when receiving the same digital asset inquiry request sent by the transaction party, wherein the second digital asset key is different from the first digital asset key.
According to a third aspect, the present embodiment provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the digital asset querying method for a cross-chain transaction according to the first aspect or any implementation manner of the first aspect when the program is executed.
According to a fourth aspect, the present embodiment provides a storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the digital asset querying method for a cross-chain transaction according to the first aspect or any implementation of the first aspect.
The technical scheme of the invention has the following advantages:
according to the digital asset inquiry method/device for the cross-chain transaction, the digital asset is uniformly stored and managed through the third-party blockchain, the authorization request is sent to the corresponding digital asset authorization party according to the digital asset inquiry request, and when the authorization information is received, the authorization information is sent to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information, uniform inquiry of the cross-chain data asset is realized, and different data inquiry requirements of different users on the transaction process are met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of one specific example of a method for querying digital assets for a cross-chain transaction in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of a digital asset query device for cross-chain transactions according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a specific example of an electronic device in an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, or can be communicated inside the two components, or can be connected wirelessly or in a wired way. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The embodiment provides a digital asset query method for cross-chain transaction, as shown in fig. 1, applied to a third party blockchain for pre-storing cross-chain transaction digital assets, comprising:
s101, receiving a digital asset inquiry request, wherein the digital asset inquiry request is issued through an intelligent contract according to any transaction party participating in cross-chain transaction;
illustratively, the digital asset query request may be a query request for business, funds, assets of a transaction party to a cross-chain transaction. The digital asset inquiry request can be made by any transaction party participating in the cross-chain transaction, wherein any transaction party participating in the cross-chain transaction can be a private chain, a alliance chain or a cross-chain network, etc., the manner of making the digital asset inquiry request can be to issue an intelligent contract to a third party blockchain, and the intelligent contract can comprise what kind of digital asset inquiry is made to the transaction party participating in the cross-chain transaction. When any transaction party participating in the cross-chain transaction has a query requirement, the transaction party participating in the cross-chain transaction issues a digital asset query request to a third party blockchain in the form of an intelligent contract through a side chain technology or a proxy technology and other cross-chain technologies, and the third party blockchain receives the digital asset query request.
S102, sending an authorization request to a corresponding digital asset authorization party according to the digital asset inquiry request;
illustratively, a digital asset authorizer represents one or more parties that require authorization of a query request to a party that made the query request. The digital asset inquiry request comprises a digital asset authorization party and information to be inquired, after the digital asset inquiry request is obtained, the third-party blockchain can verify the inquiry authority of a transaction party initiating the digital asset inquiry request, and when the transaction party is determined to have the corresponding digital asset inquiry authority, an authorization request is sent to the corresponding digital asset authorization party according to the information in the digital asset inquiry request. The authorization request may also be issued to the digital asset authorizer in the form of a cross-chain technology, such as a side-chain technology or proxy technology, that includes the information of the party that initiated the digital asset query request and the digital asset information to be queried.
And S103, when the authorization information is received, the authorization information is sent to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information.
Illustratively, the authorization information may be a digital asset corresponding to a digital asset query request issued by the participant. For example, when any party wants to query the state of a digital asset, the authorization information received by the third party block link is the state of the queried digital asset, such as whether the digital asset is mortgage/mortgage and what kind of transaction the target digital asset is in, and the third party block chain sends the authorization information to the transaction party for the transaction party to obtain the query information. The authorization information is not particularly limited in this embodiment, and can be determined by those skilled in the art as needed.
According to the digital asset inquiry method for the cross-chain transaction, which is provided by the embodiment of the invention, the digital asset is uniformly stored and managed through the third-party blockchain, the authorization request is sent to the corresponding digital asset authorization party according to the digital asset inquiry request, and when the authorization information is received, the authorization information is sent to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information, uniform inquiry of the cross-chain data asset is realized, and different data inquiry requirements of different users on the transaction process are met.
As an optional implementation manner of this embodiment, step S102 includes:
firstly, matching a digital asset inquiry request with a prestored digital asset identifier to obtain target digital asset identifier information;
illustratively, in the third party blockchain, for each digital asset of the individual transaction parties involved in the cross-chain transaction, a unique identification corresponding thereto is stored, which is common throughout the transaction system. When the third-party block link receives the digital asset inquiry request, the identification corresponding to the digital asset inquiry request is matched, and the target digital asset identification information is obtained. When a certain participant wants to acquire the state of a certain asset, a corresponding order number is input, and a unique identifier corresponding to the order number exists in the third-party blockchain, wherein the corresponding mode can be that the identifier corresponds to a plurality of keywords, for example, when the certain participant needs to inquire a certain lot of goods, the order number or the goods number or the name of the goods is input, and the identifiers corresponding to the keywords are stored in the third-party blockchain.
And secondly, sending an authorization request containing the target digital asset identification information to the corresponding digital asset authorizer.
The third party blockchain sends an authorization request containing the target digital asset identification information to the corresponding one or more digital asset authorizers for the one or more digital asset authorizers to invoke the digital asset information uniquely corresponding to the identification according to the target digital asset identification information.
According to the digital asset inquiry method for the cross-chain transaction, provided by the embodiment of the invention, the digital asset inquiry request is matched with the prestored digital asset identification to obtain the identification information uniquely corresponding to the target digital asset, so that the corresponding digital asset is obtained, and the convenience of digital asset acquisition is improved.
As an alternative implementation of this embodiment, the authorization information in step S103 includes a first digital asset key, and step S103 includes:
and after receiving the authorization information, sending the first digital asset key to the transaction party, so that the transaction party decrypts the target digital asset according to the first digital asset key to obtain a query result.
Illustratively, the digital asset is present in an encrypted manner in a third party blockchain, and only the parties that are able to decrypt it are able to obtain the information of the digital asset. When the authorization information is a digital asset key, the third party blockchain issues the digital asset key to a transaction party, and the transaction party can decrypt the target digital asset through the obtained first digital asset key to obtain a query result. The encryption and decryption methods of the authorized digital asset are not limited in this embodiment, and can be determined by those skilled in the art as required.
According to the digital asset inquiry method for the cross-chain transaction, which is provided by the embodiment of the invention, the first digital asset key is used as the authorization information, so that the participants can only check the authorized digital asset which can be decrypted by the key, and the safety of digital asset inquiry is improved.
As an alternative implementation of this embodiment, the method further includes:
and when the same digital asset inquiry request sent by any transaction party is received, sending authorization information containing a second digital asset key to the transaction party, wherein the second digital asset key is different from the first digital asset key.
Illustratively, when a request for querying the same digital asset sent by any transaction party is received, the authorization information obtained by the third party blockchain is a second digital asset key, and the second digital asset key is sent to the participant, so that the participant decrypts the target digital asset through the second digital asset key to obtain a query result. The first digital asset key and the second digital asset key are different, the data asset is re-encrypted after each time the digital asset key decrypts the digital asset, and the re-encryption mode may be to update the digital asset key corresponding to the digital asset authorized party by controlling the key generating node according to a preset update condition, for example, the digital asset key of the digital asset authorized party may be updated in real time, or the corresponding digital asset key may be updated immediately after the digital asset is queried, so that the digital asset key originally obtained by each participant cannot view the same digital asset again.
According to the digital asset inquiry method for the cross-chain transaction, which is provided by the embodiment of the invention, different digital asset keys are allocated to the same digital asset inquiry request, so that the digital asset inquiry cannot be repeatedly checked by the same participant, and the inquiry safety is improved.
The embodiment provides a digital asset inquiry device for cross-chain transaction, which is applied to a third party blockchain for pre-storing cross-chain transaction digital assets, as shown in fig. 2, and comprises:
a query request receiving module 201, configured to receive a digital asset query request, where the digital asset query request is issued through an intelligent contract according to any transaction party participating in a cross-chain transaction; the specific implementation manner is shown in the corresponding part of step S101 of the method in this embodiment, and will not be described herein.
An authorization request sending module 202, configured to send an authorization request to a corresponding digital asset authorized party according to the digital asset inquiry request; the specific implementation manner is shown in the corresponding portion of step S102 of the method in this embodiment, and will not be described herein.
And the digital asset inquiry module 203 is configured to send the authorization information to the transaction party when receiving the authorization information, so that the transaction party inquires the corresponding digital asset according to the authorization information. The specific implementation manner is shown in the corresponding part of the method step S103 in this embodiment, and will not be described herein.
According to the digital asset inquiry device for the cross-chain transaction, which is provided by the embodiment of the invention, the digital asset is uniformly stored and managed through the third-party blockchain, the authorization request is sent to the corresponding digital asset authorization party according to the digital asset inquiry request, and when the authorization information is received, the authorization information is sent to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information, uniform inquiry of the cross-chain data asset is realized, and different data inquiry requirements of different users on the transaction process are met.
As an optional implementation manner of this embodiment, the authorization request sending module 202 includes:
the target digital asset acquisition module is used for matching the digital asset inquiry request with a prestored digital asset identifier to obtain target digital asset identifier information; specific implementation manner is shown in the corresponding parts of the method in this embodiment, and will not be described herein.
And the authorization request sending sub-module is used for sending an authorization request containing the target digital asset identification information to the corresponding digital asset authorized party. Specific implementation manner is shown in the corresponding parts of the method in this embodiment, and will not be described herein.
As an alternative implementation manner of this embodiment, the digital asset query module 203 includes:
and the inquiry result acquisition module is used for transmitting the first digital asset key to the transaction party after receiving the authorization information, so that the transaction party decrypts the target digital asset according to the first digital asset key to obtain an inquiry result. Specific implementation manner is shown in the corresponding parts of the method in this embodiment, and will not be described herein.
As an alternative implementation of this embodiment, the foregoing apparatus further includes:
and the authorization information sending sub-module is used for sending authorization information containing a second digital asset key to any transaction party when receiving the same digital asset inquiry request sent by the transaction party, wherein the second digital asset key is different from the first digital asset key. Specific implementation manner is shown in the corresponding parts of the method in this embodiment, and will not be described herein.
Embodiments of the present application also provide an electronic device, as shown in fig. 3, a processor 310 and a memory 320, where the processor 310 and the memory 320 may be connected by a bus or other means.
The processor 310 may be a central processing unit (Central Processing Unit, CPU). The processor 310 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), field programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above.
The memory 320 is used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the digital asset query method for cross-chain transactions in embodiments of the present invention. The processor executes various functional applications of the processor and data processing by running non-transitory software programs, instructions, and modules stored in memory.
Memory 320 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 320 may optionally include memory located remotely from the processor, which may be connected to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 320, which when executed by the processor 310, perform a digital asset querying method for cross-chain transactions as in the embodiment shown in fig. 1.
The details of the above electronic device may be understood correspondingly with respect to the corresponding related descriptions and effects in the embodiment shown in fig. 1, which are not repeated herein.
The present embodiment also provides a computer storage medium storing computer executable instructions that are operable to perform the method of querying digital assets for cross-chain transactions in any of the method embodiments described above. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It is apparent that the above examples are given by way of illustration only and are not limiting of the embodiments. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. While still being apparent from variations or modifications that may be made by those skilled in the art are within the scope of the invention.

Claims (4)

1. A digital asset query method for cross-chain transactions applied to a third party blockchain that pre-stores cross-chain transaction digital assets, comprising:
receiving a digital asset inquiry request, wherein the digital asset inquiry request is issued through an intelligent contract according to any transaction party participating in cross-chain transaction;
sending an authorization request to a corresponding digital asset authorization party according to the digital asset inquiry request;
when authorization information is received, the authorization information is sent to the transaction party, so that the transaction party inquires corresponding digital assets according to the authorization information;
the sending an authorization request to a corresponding digital asset authorization party according to the digital asset query request includes:
matching the digital asset inquiry request with a prestored digital asset identifier to obtain target digital asset identifier information;
transmitting an authorization request containing the target digital asset identification information to a corresponding digital asset authorizer;
the authorization information includes a first digital asset key; when receiving the authorization information, the method sends the authorization information to the transaction party, so that the transaction party inquires the corresponding digital asset according to the authorization information, and the method comprises the following steps:
after receiving the authorization information, sending the first digital asset key to the transaction party, so that the transaction party decrypts the target digital asset according to the first digital asset key to obtain a query result;
and when the same digital asset inquiry request sent by any transaction party is received, sending authorization information containing a second digital asset key to the transaction party, wherein the second digital asset key is different from the first digital asset key.
2. A digital asset querying device for cross-chain transactions, applied to a third party blockchain that pre-stores cross-chain transaction digital assets, comprising:
the inquiry request receiving module is used for receiving a digital asset inquiry request which is issued through an intelligent contract according to any transaction party participating in cross-chain transaction;
the authorization request sending module is used for sending an authorization request to a corresponding digital asset authorization party according to the digital asset inquiry request;
the digital asset inquiry module is used for sending the authorization information to the transaction party when receiving the authorization information, so that the transaction party inquires the corresponding digital asset according to the authorization information;
the authorization request sending module comprises:
the target digital asset acquisition module is used for matching the digital asset inquiry request with a prestored digital asset identifier to obtain target digital asset identifier information;
an authorization request sending sub-module, configured to send an authorization request containing the target digital asset identification information to a corresponding digital asset authorizer;
the authorization information includes a first digital asset key; the digital asset query module comprises:
the inquiry result acquisition module is used for transmitting the first digital asset key to the transaction party after receiving the authorization information, so that the transaction party decrypts the target digital asset according to the first digital asset key to obtain an inquiry result;
and the authorization information sending sub-module is used for sending authorization information containing a second digital asset key to any transaction party when receiving the same digital asset inquiry request sent by the transaction party, wherein the second digital asset key is different from the first digital asset key.
3. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the digital asset querying method for a cross-chain transaction as claimed in claim 1 when the program is executed.
4. A storage medium having stored thereon computer instructions which when executed by a processor perform the steps of the digital asset querying method for a cross-chain transaction as claimed in claim 1.
CN202010327488.4A 2020-04-23 2020-04-23 Digital asset query method, device and storage medium for cross-chain transaction Active CN111581251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010327488.4A CN111581251B (en) 2020-04-23 2020-04-23 Digital asset query method, device and storage medium for cross-chain transaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010327488.4A CN111581251B (en) 2020-04-23 2020-04-23 Digital asset query method, device and storage medium for cross-chain transaction

Publications (2)

Publication Number Publication Date
CN111581251A CN111581251A (en) 2020-08-25
CN111581251B true CN111581251B (en) 2023-07-28

Family

ID=72122666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010327488.4A Active CN111581251B (en) 2020-04-23 2020-04-23 Digital asset query method, device and storage medium for cross-chain transaction

Country Status (1)

Country Link
CN (1) CN111581251B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948433B (en) * 2021-02-24 2024-06-04 北京金山云网络技术有限公司 Cross-blockchain query method, device, system, equipment and medium
CN113034136A (en) * 2021-03-10 2021-06-25 全球能源互联网研究院有限公司 Data management method and device based on block chain and electronic equipment
CN112804360B (en) * 2021-03-30 2021-07-06 支付宝(杭州)信息技术有限公司 Method and apparatus for providing cross-chain private data
CN113420087A (en) * 2021-06-22 2021-09-21 中国工商银行股份有限公司 Asset query method and device based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076761A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction permission control method and system, electronic device, and storage medium
CN108320228A (en) * 2018-03-07 2018-07-24 物数(上海)信息科技有限公司 Transregional piece of chain transaction in assets method, platform, equipment and storage medium
CN109035012A (en) * 2018-06-11 2018-12-18 西安纸贵互联网科技有限公司 A kind of across the chain processing method and computer readable storage medium of block catenary system
CN110060162A (en) * 2019-03-29 2019-07-26 阿里巴巴集团控股有限公司 Data grant, querying method and device based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076761A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction permission control method and system, electronic device, and storage medium
CN108320228A (en) * 2018-03-07 2018-07-24 物数(上海)信息科技有限公司 Transregional piece of chain transaction in assets method, platform, equipment and storage medium
CN109035012A (en) * 2018-06-11 2018-12-18 西安纸贵互联网科技有限公司 A kind of across the chain processing method and computer readable storage medium of block catenary system
CN110060162A (en) * 2019-03-29 2019-07-26 阿里巴巴集团控股有限公司 Data grant, querying method and device based on block chain

Also Published As

Publication number Publication date
CN111581251A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN111581251B (en) Digital asset query method, device and storage medium for cross-chain transaction
US11677569B1 (en) Systems and methods for notary agent for public key infrastructure names
US11481756B2 (en) Integrated mobile trusted service manager
US11784788B2 (en) Identity management method, device, communications network, and storage medium
CN108235806B (en) Method, device and system for safely accessing block chain, storage medium and electronic equipment
US11695735B2 (en) Security management for net worked client devices using a distributed ledger service
CN111600908B (en) Data processing method, system, computer device and readable storage medium
JP6652767B2 (en) Methods for managing the status of connected devices
US20190140837A1 (en) Remote Management Method, and Device
CN110601816B (en) Lightweight node control method and device in block chain system
US20170288866A1 (en) Systems and methods of creating a distributed ring of trust
KR20160025531A (en) Method to enroll a certificate to a device using scep and respective management application
EP1353470B1 (en) Method for deployment of a workable public key infrastructure
JP2009086802A (en) Mediation method and system for authentication
WO2022155803A1 (en) Data encryption method, data transmission method, related apparatuses and device
CN114547583A (en) Identity authentication system, method, device, equipment and computer readable storage medium
CN113642239B (en) Federal learning modeling method and system
WO2022206247A1 (en) Certificate lookup method, and apparatus
CN112529642B (en) Invoice management method, system, equipment and storage medium based on block chain
CN114024692B (en) Signing method, device and system
CN110602074B (en) Service identity using method, device and system based on master-slave association
CN114640491A (en) Communication method and system
CN110610416A (en) KYC data sharing system and method based on block chain intelligent contract
CN115987988B (en) Relay chain-based attribute proxy re-encryption method, model and storage medium
US20240171548A1 (en) Security management for networked client devices using a distributed ledger service

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
GR01 Patent grant
GR01 Patent grant