CN117011035A - Asset management method and device based on blockchain network and related equipment - Google Patents

Asset management method and device based on blockchain network and related equipment Download PDF

Info

Publication number
CN117011035A
CN117011035A CN202211227266.0A CN202211227266A CN117011035A CN 117011035 A CN117011035 A CN 117011035A CN 202211227266 A CN202211227266 A CN 202211227266A CN 117011035 A CN117011035 A CN 117011035A
Authority
CN
China
Prior art keywords
asset
conversion
digital asset
predictor
digital
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
CN202211227266.0A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202211227266.0A priority Critical patent/CN117011035A/en
Publication of CN117011035A publication Critical patent/CN117011035A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/2455Query execution
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computational Linguistics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the application provides an asset management method, device and related equipment based on a blockchain network, wherein the method comprises the following steps: responding to an asset conversion request of a terminal device, and sending a first asset conversion parameter query request to a predictor network, wherein the predictor network comprises a plurality of predictor nodes; receiving a first target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, wherein the first target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from a blockchain by the plurality of predictor nodes; and calling a transaction contract corresponding to the first target conversion parameter to perform conversion processing on the first digital asset to the second digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment, so that asset conversion can be accurately and conveniently performed.

Description

Asset management method and device based on blockchain network and related equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an asset management method and apparatus based on a blockchain network, and related devices.
Background
With the rapid development and great popularization of the blockchain technology, transactions of digital assets on a chain, namely conversion among the assets, can be provided, but exchange rates among various digital assets among different transaction channels are different, and an object needs to browse each large blockchain transaction platform by itself when carrying out digital asset transactions or exchanges, so that the optimal exchange rate is selected to maximize the value of the digital asset exchanges of the optimization object. The above operation requires high requirements, and the exchange rate of each platform changes in real time, and the exchange rate of the object to be checked may be greatly different from the exchange rate of the transaction, resulting in great funds exchange loss.
It can be seen that how to accurately and conveniently perform asset conversion is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides an asset management method, device and related equipment based on a blockchain network, which can accurately select the optimal digital asset exchange rate based on a decentralised predictor network, thereby conveniently completing asset conversion through an optimal transaction path.
In a first aspect, an embodiment of the present application provides a method for asset management based on a blockchain network, the method including:
responding to an asset conversion request of a terminal device, and sending a first asset conversion parameter query request to a predictor network, wherein the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset, and the predictor network comprises a plurality of predictor nodes;
receiving a first target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, wherein the first target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from a blockchain by the plurality of predictor nodes;
and calling a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
In a second aspect, an embodiment of the present application provides a method for asset management based on a blockchain network, the method including:
Responding to a first asset conversion parameter query request of an asset management server, calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, wherein the first asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the first asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving an asset conversion request of terminal equipment;
determining a first target conversion parameter between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and sending the first target conversion parameter to the asset management server, so that the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
In a third aspect, an embodiment of the present application provides a method for asset management based on a blockchain network, the method including:
the asset management server responds to an asset conversion request of the terminal equipment and sends a first asset conversion parameter query request to a predictor network, wherein the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset, and the predictor network comprises a plurality of predictor nodes;
the predictor node of the predictor network responds to the first asset conversion parameter query request and calls transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain;
the predictor node determines a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired by a plurality of predictor nodes included in the predictor network;
the predictor node sending the first target conversion parameter to the asset management server;
And the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset, obtains an asset conversion result, and sends the asset conversion result to the terminal equipment.
In a fourth aspect, an embodiment of the present application provides an asset management device, the device including:
the system comprises a sending module, a predicting module and a predicting module, wherein the sending module is used for responding to an asset conversion request of terminal equipment and sending a first asset conversion parameter query request to a predicting machine network, the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset, and the predicting machine network comprises a plurality of predicting machine nodes;
a receiving module, configured to receive a first target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, where the first target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired by the plurality of predictor nodes from a blockchain;
and the processing module is used for calling the transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset, obtaining an asset conversion result and sending the asset conversion result to the terminal equipment.
In a fifth aspect, an embodiment of the present application provides an asset management device, the device including:
the acquisition module is used for responding to a first asset conversion parameter query request of the asset management server, calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, wherein the first asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the first asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving the asset conversion request of the terminal equipment;
a determining module, configured to determine a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and the sending module is used for sending the first target conversion parameter to the asset management server so that the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
In a sixth aspect, an embodiment of the present application provides a computer apparatus, where the computer apparatus includes a processor, a network interface, and a storage device, where the processor, the network interface, and the storage device are connected to each other, and the network interface is controlled by the processor to send and receive data, and the storage device is used to store a computer program, where the computer program includes program instructions, and the processor is configured to invoke the program instructions to perform the asset management method based on a blockchain network according to the first aspect or the second aspect.
In a seventh aspect, embodiments of the present application provide a computer readable storage medium storing a computer program comprising program instructions for execution by a processor to perform the blockchain network-based asset management method of the first or second aspects.
In an eighth aspect, an embodiment of the present application provides a computer program product comprising a computer program, wherein the computer program when executed by a computer processor implements the asset management method according to the first aspect or the second aspect.
In the embodiment of the application, after a terminal device submits an asset conversion request, an asset management server may send a first asset conversion parameter query request to a predictor network, where the first asset conversion parameter query request includes an identifier of a first digital asset and an identifier of a second digital asset, and the predictor network includes a plurality of predictor nodes to form a decentralised predictor, where the predictor network may determine a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired by the plurality of predictor nodes from a blockchain, and use the first target conversion parameter as an optimal conversion parameter; the asset management server receives the first target conversion parameters sent by the predictor network, and can directly call the transaction contracts corresponding to the first target conversion parameters to convert the first digital assets, so that part or all of the first digital assets are converted into the second digital assets, after the asset conversion results are obtained, the asset conversion results are sent to the terminal equipment, the object is not required to browse the conversion parameters of each large transaction platform by itself and find out the optimal parameters, and the optimal digital asset exchange rate can be accurately selected based on the decentralised predictor network, so that asset conversion is conveniently completed through the optimal transaction path.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, from which other drawings can be obtained without inventive effort.
FIG. 1a is a schematic diagram of an asset management system according to an embodiment of the present application;
FIG. 1b is a block chain architecture diagram according to an embodiment of the present application;
FIG. 1c is a schematic diagram illustrating a process of generating a new block according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for asset management based on a blockchain network according to an embodiment of the present application;
FIG. 3 is a flow chart of another asset management method based on a blockchain network according to an embodiment of the present application;
FIG. 4 is a flow chart of yet another asset management method based on a blockchain network provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of an overall flow of asset transition provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of an asset management device according to an embodiment of the present application;
FIG. 7 is a schematic diagram of another asset management device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments obtained without inventive effort based on the embodiments of the present application fall within the scope of the present application.
Referring to fig. 1a, an architecture diagram of an asset management system according to an embodiment of the present application includes an asset management server 11, a predictor network 12, a terminal device 13, and a blockchain network 14, wherein:
the blockchain network 14 refers to a network for data sharing from node device to node device, and a plurality of node devices 104 may be included in the blockchain network. Each node device 104 may receive input information while operating normally and maintain shared data (i.e., blockchains) within the blockchain network based on the received input information. In order To ensure information intercommunication in the blockchain network, information connection can exist between each node device 104, and point-To-point (P2P) communication can be realized between any two node devices 104, specifically, P2P communication can be performed through a wired communication link or a wireless communication link. For example, when any node device 104 in the blockchain network receives input information, other node devices 104 acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all node devices 104 in the blockchain network are consistent. The blockchain maintained by the blockchain network 14 may store the latest conversion parameters (e.g., exchange rate or conversion ratio) between different types of digital assets on each transaction platform, and the transaction platform may be updated to the blockchain in time when the conversion parameters between the assets change. Specifically, different transaction platforms register corresponding intelligent contracts in the blockchain, and the latest conversion parameters stored in the blockchain by the corresponding transaction platforms can be queried through the corresponding intelligent contracts.
Alternatively, the blockchain maintained by the blockchain network 14 may be a federated chain in particular, or may be in other forms of blockchains, such as public or private chains, and so forth. The digital assets described in embodiments of the application may be digital collections, or other forms of digital assets.
The predictor network 12 includes a plurality of under-chain predictor nodes 102 that form an off-center predictor, and the predictor network 12 may query conversion parameters (e.g., exchange rates or conversion ratios) between different types of digital assets on each transaction platform through the under-chain off-center predictor, and may generate an optimal digital asset exchange rate for exchange of the digital asset of the subject by aggregating real-time exchange rates of the digital assets on the different transaction platforms.
The asset management server 11 is configured to provide a convenient and accurate digital asset conversion service as a background service to a terminal device, for example, may provide a currently optimal digital asset exchange rate to the terminal device, and may invoke a transaction contract of a transaction platform to perform digital asset exchange.
The terminal device 13 may communicate with the asset management server 11, for example, submitting a data query request, an asset conversion request, etc. to the asset management server 11, where the data query request may be used to instruct the asset management server 11 to obtain optimal asset conversion parameters from the predictor network 12 for reference by the subject; if the above-described optimal asset conversion parameters are approved, an asset conversion request may be further submitted, which may be used to instruct the asset management server 11 to invoke a trading contract of the trading platform to perform digital asset conversion. The terminal device 13 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent terminal mounted on a movable platform, and the like, which is not limited in the embodiment of the present application.
It should be noted that the numbers of node devices 104, predictor nodes 102, asset management servers 11, terminal devices 13, and the numbers of predictor networks 12, blockchain networks 14 shown in fig. 1a are merely illustrative, and any number of nodes, predictor networks, terminal devices, and blockchain networks may be deployed according to actual needs. The node device 104, the predictor node 102, and the asset management server 11 may be independent physical servers, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN), and basic cloud computing services such as big data.
Each node device in the blockchain network has a node identifier corresponding to the node device, and each node device in the blockchain network can store the node identifiers of other node devices in the blockchain network, so that the generated blocks can be broadcasted to other node devices in the blockchain network according to the node identifiers of the other node devices. Each node device may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an internet protocol (Internet Protocol, IP) address, or any other information that can be used to identify the node, and the table is described only by way of example as an IP address.
Node name Node identification
Node 1 000.000.000.000
Node 2 111.111.111.111
Node N 999.999.999.999
Wherein each node device in the blockchain network stores one and the same blockchain. The blockchain is composed of a plurality of blocks, see fig. 1b, the blockchain is composed of a plurality of blocks, the starting block comprises a block head and a block body, the block head stores an input information characteristic value, a version number, a time stamp and a difficulty value, and the block body stores input information; the next block of the starting block takes the starting block as a father block, the next block also comprises a block head and a block body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the father block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain are associated with the block data stored in the father block, and the safety of the input information in the block is ensured.
When each block in the blockchain is generated, referring to fig. 1c, when the node device where the blockchain is located receives input information, checking the input information, after the checking is completed, storing the input information into a memory pool, and updating a hash tree used for recording the input information; then, updating the update time stamp to the time of receiving the input information, trying different random numbers, and calculating the characteristic value for a plurality of times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
Wherein SHA256 is a eigenvalue algorithm used to calculate eigenvalues; version (version number) is version information of the related block protocol in the block chain; the prev_hash is the block header characteristic value of the parent block of the current block; the merkle_root is a characteristic value of input information; ntime is the update time of the update timestamp; the nbits is the current difficulty, is a fixed value in a period of time, and is determined again after exceeding a fixed period of time; x is a random number; TARGET is a eigenvalue threshold that can be determined from nbits.
Thus, when the random number meeting the formula is calculated, the information can be correspondingly stored to generate the block head and the block body, and the current block is obtained. And then, the node equipment of the block chain respectively sends the newly generated blocks to other node equipment in the block chain network according to the node identification of other node equipment in the block chain network, the other node equipment checks the newly generated blocks, and the newly generated blocks are added into the stored block chain after the checking is completed.
The node device of the blockchain network can run intelligent contracts, the intelligent contracts are code implementation for executing when certain conditions are met, contract logic can be defined through programming language, the intelligent contracts are issued to the blockchain (intelligent contract registration), keys are called or other events are triggered to execute according to the logic of contract clauses, the contract logic is completed, and meanwhile functions of updating and logging off the intelligent contracts are provided.
In some possible embodiments, after the terminal device 13 submits the asset conversion request, the asset management server 11 may send a first asset conversion parameter query request to the predictor network 12, where the first asset conversion parameter query request includes an identifier of a first digital asset and an identifier of a second digital asset, the predictor network 12 includes a plurality of predictor nodes to form a decentralised predictor, and the predictor network 12 may determine a first target conversion parameter between the first digital asset and the second digital asset as an optimal conversion parameter based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired by the plurality of predictor nodes from the blockchain; the asset management server 11 receives the first target conversion parameters sent by the predictor network, and can directly call the transaction contracts corresponding to the first target conversion parameters to convert the first digital asset, so that part or all of the first digital asset is converted into the second digital asset, after the asset conversion result is obtained, the asset conversion result is sent to the terminal device 13, and the object is not required to browse the conversion parameters of each large transaction platform by itself and calculate the optimal parameters, thereby accurately selecting the optimal digital asset exchange rate based on the decentralised predictor network and conveniently completing asset conversion through the optimal transaction path.
It will be appreciated that in the specific embodiments of the present application, data relating to information of objects, etc., is required to obtain permission or consent of the objects when the above embodiments of the present application are applied to specific products or technologies, and the collection, use and processing of relevant data is required to comply with relevant laws and regulations and standards of relevant countries and regions.
The implementation details of the technical scheme of the embodiment of the application are described in detail below:
referring to fig. 2, a flowchart of an asset management method based on a blockchain network provided by the asset management system shown in fig. 1a according to an embodiment of the present application may be applied to the asset management server 11 in fig. 1a, and specifically may include the following steps:
201. in response to an asset transition request of a terminal device, a first asset transition parameter query request is sent to a predictor network, the first asset transition parameter query request including an identification of a first digital asset and an identification of a second digital asset, the predictor network including a plurality of predictor nodes.
In a specific implementation, when a target object needs to perform digital asset conversion, an asset conversion request can be submitted to an asset management server through a terminal device, wherein the asset conversion request can indicate an asset object (namely a source asset) to be converted and a target asset to be converted, the asset object to be converted can be marked as a first digital asset, the target asset to be converted is marked as a second digital asset, and the asset conversion request can carry an identifier of the first digital asset and an identifier of the second digital asset, namely the first digital asset needs to be converted into the second digital asset; the asset management server may send a first asset conversion parameter query request to the predictor network after receiving the asset conversion request submitted by the terminal device to request the predictor network to provide conversion parameters optimal for converting the first digital asset to the second digital asset.
In some possible embodiments, the asset management server may provide an aggregated query service of digital asset transition parameters, i.e., may provide the currently optimal asset transition parameters that are derived via an aggregation process.
Specifically, the target object may submit a data query request through the terminal device, for example, may submit the data query request through an applet application interface of the terminal device, where the data query request carries an asset type to be queried, for example, the data query request carries an identifier of a first digital asset and an identifier of a second digital asset, and the asset management server may respond to the data query request of the terminal device and send a second asset conversion parameter query request to the predictor network, where the second asset conversion parameter query request includes the identifier of the first digital asset and the identifier of the second digital asset; the asset management server receives second target conversion parameters between the first digital asset and the second digital asset sent by the predictor network, wherein the second target conversion parameters are determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from a blockchain by a plurality of predictor nodes; the asset management server sends a second target conversion parameter to the terminal equipment; correspondingly, the terminal equipment can display the second target conversion parameters in the application interface so that the target object can learn the currently optimal conversion parameters. Further, if the target object is satisfied with the second target conversion parameter, the terminal device receives the asset conversion confirmation operation input by the target object, and submits the asset conversion request to the asset management server.
202. A first target conversion parameter between the first digital asset and the second digital asset transmitted by the predictor network is received, the first target conversion parameter being determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from a blockchain by the plurality of predictor nodes.
The transaction platform comprises a plurality of transaction platforms, wherein the transaction platforms are respectively provided with a conversion parameter (such as exchange rate/exchange proportion) between a first digital asset and a second digital asset, each of the plurality of transaction platform nodes can respectively acquire the conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms from a blockchain, then determine the optimal conversion parameters from the conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired by the plurality of transaction platform nodes, and can be recorded as the first target conversion parameters, the transaction platform can feed back the determined first target conversion parameters to an asset management server, and the plurality of transaction platform nodes can jointly determine the optimal conversion parameters to ensure the reliability of the result and prevent the single transaction platform node from tampering with data, thereby ensuring the accuracy of the asset conversion result.
203. And calling a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
Wherein each trading platform (e.g., exchange) corresponds to a trading contract for performing trading operations, such as conversion between digital assets.
In a specific implementation, after receiving a first target conversion parameter between a first digital asset and a second digital asset sent by a predictor network, an asset management server may call a transaction contract corresponding to the first target conversion parameter to perform conversion processing to the second digital asset on the first digital asset, so as to obtain an asset conversion result, and send the asset conversion result to a terminal device, where the asset conversion result may include whether conversion is successful, the number of assets that are successfully converted, and the like; after receiving the asset conversion result, the terminal device can update the displayed number of the first digital assets and the displayed number of the second digital assets based on the asset conversion result in the case that the asset conversion is successful, so that the target object can intuitively learn the asset conversion result.
In some possible embodiments, a specific implementation manner of the asset management server invoking the transaction contract corresponding to the first target conversion parameter to perform the conversion processing of the first digital asset to the second digital asset may be:
the asset management server determines a target transaction platform corresponding to the first target conversion parameter from a plurality of transaction platforms based on conversion parameters between the first digital asset and the second digital asset on each transaction platform, namely the transaction platform with the optimal current conversion parameter; the transaction contract address of each transaction platform can be registered in the blockchain, the asset management server acquires the transaction contract address of the target transaction platform from the blockchain, then invokes the transaction contract of the target transaction platform based on the transaction contract address, and performs conversion processing on the first digital asset to the second digital asset, so that an asset conversion result is obtained, and efficient and accurate conversion of the digital asset in the corresponding transaction platform can be realized by invoking the transaction contract.
In some possible embodiments, after receiving the asset conversion request of the terminal device, the asset management server may determine whether a time interval for submitting the data query request from the target object is longer, and if so, may request the predictor network to reconfirm the optimal conversion parameters again in consideration of the fact that the conversion parameters between the assets vary greatly; if the conversion parameters are relatively short, considering that the conversion parameters between the assets are not greatly changed, the asset conversion process can be directly performed by utilizing the optimal conversion parameters (namely, the second target conversion parameters) obtained by the data query request of the terminal equipment.
Specifically, the asset management server may obtain a time interval between a time when the second asset transition parameter query request is sent to the predictor network and a time when the asset transition request of the terminal device is received; if the time interval is greater than or equal to the preset duration, executing the step of responding to the asset conversion request of the terminal equipment and sending a first asset conversion parameter query request to the predictor network; if the time interval is smaller than the preset time length, calling a transaction contract corresponding to the second target conversion parameter to execute conversion processing from the first digital asset to the second digital asset in response to the asset conversion request of the terminal equipment to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment, so that the asset conversion efficiency is further improved. The preset time length can be 10 seconds or 1 minute, and the specific time length can be flexibly set according to actual requirements.
In some possible embodiments, the key of the target object may be selected to be kept by itself, or may be selected to be hosted in the background. The asset management server can acquire the key escrow type of the target object corresponding to the terminal equipment; if the key escrow type is key escrow, the asset management server generates asset conversion transaction based on the asset conversion request of the terminal equipment, and digitally signs the asset conversion transaction to obtain signed asset conversion transaction; if the key escrow type is key escrow (namely self-keeping), the asset management server generates signed asset conversion transaction based on the asset conversion request of the terminal equipment and the digital signature carried in the asset conversion request; the asset management server writes the signed asset conversion transaction into the blockchain, thereby recording the asset conversion activity of the target object and facilitating subsequent traceability.
In the embodiment of the application, after a terminal device submits an asset conversion request, an asset management server may send a first asset conversion parameter query request to a predictor network, where the first asset conversion parameter query request includes an identifier of a first digital asset and an identifier of a second digital asset, and the predictor network includes a plurality of predictor nodes to form a decentralised predictor, where the predictor network may determine a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired by the plurality of predictor nodes from a blockchain, and use the first target conversion parameter as an optimal conversion parameter; the asset management server receives the first target conversion parameters sent by the predictor network, and can directly call the transaction contracts corresponding to the first target conversion parameters to convert the first digital assets, so that part or all of the first digital assets are converted into the second digital assets, after the asset conversion results are obtained, the asset conversion results are sent to the terminal equipment, the object is not required to browse the conversion parameters of each large transaction platform by itself and calculate the optimal parameters, and the optimal digital asset exchange rate can be accurately selected based on the decentralised predictor network, so that asset conversion is conveniently completed through the optimal transaction path.
Referring to fig. 3, a flowchart of another asset management method based on a blockchain network provided by the asset management system shown in fig. 1a according to an embodiment of the present application may be applied to the predictor node 102 in fig. 1a, and specifically may include the following steps:
301. and calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain in response to a first asset conversion parameter query request of an asset management server, wherein the first asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the first asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving an asset conversion request of a terminal device.
302. A first target conversion parameter between the first digital asset and the second digital asset is determined based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network.
Specifically, when the predictor node receives a first asset conversion parameter query request of the asset management server, a transaction contract corresponding to a plurality of transaction platforms can be called to acquire real-time conversion parameters between the first digital asset and the second digital asset on each transaction platform from the blockchain, then a consensus mechanism and other predictor nodes can be adopted to perform consensus processing on the real-time conversion parameters between the first digital asset and the second digital asset on each transaction platform acquired by each predictor node, so that optimal conversion parameters between the first digital asset and the second digital asset are determined, and the optimal conversion parameters are recorded as first target conversion parameters.
In some possible embodiments, a specific implementation manner of determining the first target conversion parameter by the predictor node using the consensus mechanism may be:
each predictor node can determine an optimal conversion parameter from conversion parameters between a first digital asset and a second digital asset on a plurality of acquired transaction platforms and record the optimal conversion parameter as a candidate conversion parameter between the first digital asset and the second digital asset; the predictor node obtains candidate conversion parameters determined by each predictor node in the predictor network, and then selects a first target conversion parameter between a first digital asset and the second digital asset from the candidate conversion parameters determined by each predictor node, for example, the candidate conversion parameter with the duty ratio exceeding a certain proportion threshold value can be used as the first target conversion parameter; and if the number of the candidate conversion parameters with the duty ratio exceeding a certain proportion threshold is more than one, taking the optimal candidate conversion parameters as first target conversion parameters.
In some possible embodiments, the specific implementation manner of determining the first target conversion parameter by the predictor network may also be:
the method comprises the steps that a propranker node obtains conversion parameters between a first digital asset and a second digital asset on a plurality of transaction platforms obtained from a blockchain by a plurality of propranker nodes included in the propranker network, then, propranker contracts are called to process the conversion parameters between the first digital asset and the second digital asset obtained by the plurality of propranker nodes to obtain first target conversion parameters, specifically, the conversion parameters between the first digital asset and the second digital asset obtained by the plurality of propranker nodes are input into propranker contracts, and optimal conversion parameters are output by the propranker contracts, so that consensus of the optimal conversion parameters is completed in a contract mode, and the consensus efficiency is improved.
303. And sending the first target conversion parameter to the asset management server, so that the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
In some possible embodiments, the predictor node in the predictor network may invoke the transaction contracts corresponding to the plurality of transaction platforms to obtain, from the blockchain, conversion parameters between the first digital asset and the second digital asset on each transaction platform in response to a second asset conversion parameter query request of the asset management server, the second asset conversion parameter query request including an identification of the first digital asset and an identification of the second digital asset, the second asset conversion parameter query request being sent by the asset management server to the predictor node in the predictor network after receiving the data query request of the terminal device.
The method comprises the steps that a propranker node determines second target conversion parameters between a first digital asset and a second digital asset on a plurality of transaction platforms acquired from a blockchain by a plurality of propranker nodes included in a propranker network; and sending the second target conversion parameter to the asset management server so that the asset management server sends the second target conversion parameter to the terminal equipment to display the second target conversion parameter.
The specific embodiment of determining the second target conversion parameter by the predictor node may refer to the specific manner of determining the first target conversion parameter, which is not described herein.
In the embodiment of the application, a plurality of propranolol nodes form a decentralization propranolol network, each transaction platform is provided with a conversion parameter (such as exchange rate/exchange proportion) between a first digital asset and a second digital asset, each propranolol node in the propranolol network can acquire the conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms from a blockchain respectively, then the optimal conversion parameters are determined from the conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired by the plurality of propranolol nodes and can be recorded as the first target conversion parameters, the propranolol network can feed back the determined first target conversion parameters to an asset management server, the optimal conversion parameters are jointly determined by the plurality of propranolol nodes, the reliability of the result can be ensured, and the single propranolol node is prevented from tampering data, thereby ensuring the accuracy of the asset conversion result and improving the asset conversion efficiency.
Referring to fig. 4, a flowchart of another asset management method based on a blockchain network provided by the asset management system shown in fig. 1a according to an embodiment of the present application may be applied to the terminal device 13, the asset management server 11, and the predictor node 103 in fig. 1a, and specifically may include the following steps:
401. The terminal device sends a data query request to the asset management server, the data query request including an identification of the first digital asset and an identification of the second digital asset.
402. The asset management server responds to the data query request and sends a second asset conversion parameter query request to a predictor network, wherein the second asset conversion parameter query request comprises the identification of the first digital asset and the identification of the second digital asset, and the predictor network comprises a plurality of predictor nodes.
403. And the predictor node of the predictor network responds to the first asset conversion parameter query request, invokes a transaction contract corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, and determines a second target conversion parameter between the first digital asset and the second digital asset on the plurality of transaction platforms based on the conversion parameters between the first digital asset and the second digital asset acquired by the plurality of predictor nodes included in the predictor network.
404. The predictor node sends the second target conversion parameter to the asset management server.
405. The asset management server sends the second target conversion parameter to the terminal device.
406. And the terminal equipment displays the second target conversion parameters.
407. And the terminal equipment sends an asset conversion request to the asset management server when receiving the asset conversion confirmation operation.
408. The asset management server responds to an asset conversion request of the terminal device and sends a first asset conversion parameter query request to the predictor network, wherein the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset.
409. And the predictor node of the predictor network responds to the first asset conversion parameter query request, invokes a transaction contract corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, and determines a first target conversion parameter between the first digital asset and the second digital asset on the plurality of transaction platforms acquired by the predictor node of the predictor network.
410. The predictor node sends the first target conversion parameter to the asset management server.
411. And the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing from the first digital asset to the second digital asset, and an asset conversion result is obtained.
412. And the asset management server sends the asset conversion result to the terminal equipment.
413. The terminal device updates the displayed number of the first digital assets and the displayed number of the second digital assets based on the asset conversion result.
The specific implementation of steps 401 to 413 may be referred to the relevant descriptions of the corresponding steps in the foregoing embodiments, which are not repeated here.
In some possible implementations, please refer to fig. 5, which is a schematic diagram of an overall flow chart of asset conversion provided by the embodiment of the present application, from the perspective of a blockchain smart contract, the method may specifically include the following steps:
501. the object inquires exchange rate of the exchange digital asset through a blockchain applet on the terminal equipment;
502. the applet composes an exchange rate inquiry request of the digital asset A- (B) according to the object information and submits the exchange rate inquiry request to the digital asset service;
Wherein digital asset a may correspond to a first digital asset described above and digital asset B may correspond to a second digital asset described above.
503. The digital asset service operated by the asset management server requests the optimal exchange rate of the current digital asset A < - > B through the under-chain predictor node;
504. each under-chain predictor node inquires the latest exchange rate of A- (B) on each exchange through an exchange contract, and determines the optimal exchange rate of A- (B) of the current digital asset through consensus;
505. the digital asset service receives the optimal exchange rate of A-B sent by the under-chain predictor node and then sends the optimal exchange rate to the terminal equipment;
506. the terminal equipment displays the optimal exchange rate of A- (B) through the applet;
507. after the object checks the displayed optimal exchange rate of A- (B), the applet sends a digital asset exchange request to the digital asset service when the object determines that the object is to be exchanged;
508. the digital asset service exchanges transaction signatures for the digital assets of the object according to the hosting type of the key if the object is a key hosting; if not, the object is digitally signed; the signed digital asset exchange transaction is linked;
509. an optimal digital asset transaction contract operated by the asset management server performs a digital asset exchange transaction, querying an exchange rate of asset exchanges from a predictor contract operated on a predictor node;
510. The predictor node under the predictor contract notification chain queries the latest real-time exchange rate, commonly recognizes the optimal exchange rate of A- (B), and sends the optimal exchange rate of A- (B) to the optimal digital asset transaction contract;
511. the optimal digital asset trading contract calls trading contract 1 corresponding to the optimal exchange rate to execute the exchange of the digital asset, and obtains a digital asset exchange result returned by the trading contract 1;
512. after the applet receives the digital asset redemption results, the A- > B redeemed digital asset is displayed.
It can be seen that, in the embodiment of the application, the object is not required to browse and collect the conversion parameters of each large exchange by itself, and the optimal conversion parameters are selected to perform asset conversion, but a channel for exchange rate aggregation is provided for the object, the object can acquire the optimal digital asset exchange rate in one channel, and the asset conversion can be completed by one key based on application interfaces such as small programs, so that the method is accurate and convenient; real-time exchange rates among various contract digital assets of each exchange on a chain are queried in real time through an off-chain decentralization predictor, the real-time exchange rates of the digital assets on the chain are aggregated, an optimal digital asset exchange rate is generated for exchange of the digital assets of the object, and benefits of the object can be optimized to the greatest extent.
Referring to fig. 6, a schematic structural diagram of an asset management device according to an embodiment of the present application, the device includes:
a sending module 601, configured to respond to an asset conversion request of a terminal device, and send a first asset conversion parameter query request to a predictor network, where the first asset conversion parameter query request includes an identifier of a first digital asset and an identifier of a second digital asset, and the predictor network includes a plurality of predictor nodes;
a receiving module 602, configured to receive a first target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, where the first target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired by the plurality of predictor nodes from a blockchain;
and the processing module 603 is configured to invoke a transaction contract corresponding to the first target conversion parameter to perform conversion processing on the first digital asset to the second digital asset, obtain an asset conversion result, and send the asset conversion result to the terminal device.
Optionally, the sending module 601 is further configured to send, in response to a data query request of the terminal device, a second asset conversion parameter query request to the predictor network, where the second asset conversion parameter query request includes an identifier of the first digital asset and an identifier of the second digital asset;
The receiving module 602 is further configured to receive a second target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, where the second target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes;
the sending module 601 is further configured to send the second target conversion parameter to the terminal device, so that the terminal device displays the second target conversion parameter, and send an asset conversion request to an asset management server when receiving an asset conversion confirmation operation.
Optionally, the processing module 603 is specifically configured to:
determining a target trading platform corresponding to the first target conversion parameter from the plurality of trading platforms based on conversion parameters between the first digital asset and the second digital asset on each of the plurality of trading platforms;
acquiring a transaction contract address of the target transaction platform from the blockchain;
and calling the transaction contract of the target transaction platform based on the transaction contract address to execute conversion processing from the first digital asset to the second digital asset, so as to obtain an asset conversion result.
Optionally, the apparatus further includes an obtaining module 604, where:
the obtaining module 604 is configured to obtain a time interval between a time when the second asset transition parameter query request is sent to the predictor network and a time when the asset transition request of the terminal device is received; if the time interval is greater than or equal to the preset duration, triggering the sending module 601 to respond to an asset conversion request of the terminal equipment and send a first asset conversion parameter query request to a predictor network;
the processing module 603 is further configured to, if the time interval is smaller than the preset duration, call a transaction contract corresponding to the second target conversion parameter to perform conversion processing on the first digital asset to the second digital asset in response to an asset conversion request of the terminal device, obtain an asset conversion result, and send the asset conversion result to the terminal device.
Optionally, the obtaining module 604 is further configured to obtain a key escrow type of the target object corresponding to the terminal device;
the processing module 603 is further configured to generate an asset conversion transaction based on the asset conversion request of the terminal device if the key escrow type is key escrow, and digitally sign the asset conversion transaction to obtain a signed asset conversion transaction;
The processing module 603 is further configured to generate a signed asset conversion transaction based on the asset conversion request of the terminal device and a digital signature carried in the asset conversion request if the key escrow type is key escrow;
the processing module 603 is further configured to write the signed asset transition transaction to the blockchain.
It should be noted that, the functions of each functional module of the asset management device according to the embodiment of the present application may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
Referring to fig. 7, a schematic structural diagram of another asset management device according to an embodiment of the present application, the device includes:
an obtaining module 701, configured to respond to a first asset conversion parameter query request of an asset management server, invoke a transaction contract corresponding to a plurality of transaction platforms to obtain conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, where the first asset conversion parameter query request includes an identifier of the first digital asset and an identifier of the second digital asset, and the first asset conversion parameter query request is sent by the asset management server to a predictor node in a predictor network after receiving an asset conversion request of a terminal device;
A determining module 702, configured to determine a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and a sending module 703, configured to send the first target conversion parameter to the asset management server, so that the asset management server invokes a transaction contract corresponding to the first target conversion parameter to perform conversion processing on the first digital asset to the second digital asset, obtain an asset conversion result, and send the asset conversion result to the terminal device.
Optionally, the obtaining module 701 is further configured to respond to a second asset conversion parameter query request of the asset management server, call a transaction contract corresponding to a plurality of transaction platforms to obtain conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, where the second asset conversion parameter query request includes an identifier of the first digital asset and an identifier of the second digital asset, and the second asset conversion parameter query request is sent by the asset management server to a predictor node in a predictor network after receiving a data query request of a terminal device;
The determining module 702 is further configured to determine a second target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
the sending module 703 is further configured to send the second target conversion parameter to the asset management server, so that the asset management server sends the second target conversion parameter to the terminal device to display the second target conversion parameter.
Optionally, the determining module 702 is specifically configured to:
obtaining candidate conversion parameters between the first digital asset and the second digital asset determined by each predictor node in the predictor network, wherein the candidate conversion parameters are optimal conversion parameters determined by each predictor node from the obtained conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms;
and selecting a first target conversion parameter between the first digital asset and the second digital asset from the candidate conversion parameters determined by each predictor node.
Optionally, the determining module 702 is specifically configured to:
acquiring conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and calling a propranker contract to process conversion parameters between the first digital asset and the second digital asset acquired by the plurality of propranker nodes to obtain a first target conversion parameter between the first digital asset and the second digital asset.
It should be noted that, the functions of each functional module of the asset management device according to the embodiment of the present application may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
Referring to fig. 8, a schematic structural diagram of a computer device according to an embodiment of the present application includes a power supply module and other structures, and includes a processor 801, a storage device 802, and a network interface 803. Data may be interacted between the processor 801, the storage 802, and the network interface 803.
The storage device 802 may include volatile memory (RAM), such as random-access memory (RAM); the storage device 802 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Solid State Drive (SSD), etc.; the storage device 802 may also include a combination of the types of memory described above.
The processor 801 may be a central processing unit (central processing unit, CPU). In one embodiment, the processor 801 may also be a graphics processor (Graphics Processing Unit, GPU). The processor 801 may also be a combination of a CPU and a GPU.
In one embodiment, the storage device 802 is configured to store program instructions, and the processor 801 may call the program instructions to perform the following operations:
responding to an asset conversion request of a terminal device, and sending a first asset conversion parameter query request to a predictor network, wherein the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset, and the predictor network comprises a plurality of predictor nodes;
receiving a first target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, wherein the first target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from a blockchain by the plurality of predictor nodes;
and calling a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
Optionally, the processor 801 is further configured to:
responding to a data query request of the terminal equipment, and sending a second asset conversion parameter query request to a predictor network, wherein the second asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset;
receiving a second target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, the second target conversion parameter being determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes;
and sending the second target conversion parameter to the terminal equipment so that the terminal equipment displays the second target conversion parameter, and sending an asset conversion request to an asset management server when receiving an asset conversion confirmation operation.
Optionally, the processor 801 is specifically configured to:
determining a target trading platform corresponding to the first target conversion parameter from the plurality of trading platforms based on conversion parameters between the first digital asset and the second digital asset on each of the plurality of trading platforms;
Acquiring a transaction contract address of the target transaction platform from the blockchain;
and calling the transaction contract of the target transaction platform based on the transaction contract address to execute conversion processing from the first digital asset to the second digital asset, so as to obtain an asset conversion result.
Optionally, the processor 801 is further configured to:
obtaining a time interval between a time of sending the second asset transition parameter query request to the predictor network and a time of receiving an asset transition request of the terminal device;
if the time interval is greater than or equal to the preset duration, executing the step of responding to the asset conversion request of the terminal equipment and sending a first asset conversion parameter query request to a predictor network;
and if the time interval is smaller than the preset time length, responding to an asset conversion request of the terminal equipment, calling a transaction contract corresponding to the second target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
Optionally, the processor 801 is further configured to:
obtaining a key escrow type of a target object corresponding to the terminal equipment;
If the key escrow type is key escrow, generating an asset conversion transaction based on the asset conversion request of the terminal equipment, and digitally signing the asset conversion transaction to obtain a signed asset conversion transaction;
if the key escrow type is that the key is not escrow, generating signed asset conversion transaction based on the asset conversion request of the terminal equipment and the digital signature carried in the asset conversion request;
writing the signed asset transition transaction into the blockchain.
In specific implementation, the processor 801, the storage device 802 and the network interface 803 described in the embodiments of the present application may perform the implementation described in the related embodiments of the method provided in fig. 2 of the embodiments of the present application, and may also perform the implementation described in the related embodiments of the apparatus provided in fig. 6 of the embodiments of the present application, which are not described herein again.
In one embodiment, the storage device 802 is configured to store program instructions, and the processor 801 may call the program instructions to perform the following operations:
responding to a first asset conversion parameter query request of an asset management server, calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, wherein the first asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the first asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving an asset conversion request of terminal equipment;
Determining a first target conversion parameter between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and sending the first target conversion parameter to the asset management server, so that the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
Optionally, the processor 801 is further configured to:
responding to a second asset conversion parameter query request of an asset management server, calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, wherein the second asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the second asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving a data query request of terminal equipment;
Determining a second target conversion parameter between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and sending the second target conversion parameter to the asset management server so that the asset management server sends the second target conversion parameter to the terminal equipment to display the second target conversion parameter.
Optionally, the processor 801 is specifically configured to:
obtaining candidate conversion parameters between the first digital asset and the second digital asset determined by each predictor node in the predictor network, wherein the candidate conversion parameters are optimal conversion parameters determined by each predictor node from the obtained conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms;
and selecting a first target conversion parameter between the first digital asset and the second digital asset from the candidate conversion parameters determined by each predictor node.
Optionally, the processor 801 is specifically configured to:
acquiring conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and calling a propranker contract to process conversion parameters between the first digital asset and the second digital asset acquired by the plurality of propranker nodes to obtain a first target conversion parameter between the first digital asset and the second digital asset.
In specific implementation, the processor 801, the storage device 802 and the network interface 803 described in the embodiments of the present application may perform the implementation described in the related embodiments of the method provided in fig. 3 of the embodiments of the present application, and may also perform the implementation described in the related embodiments of the apparatus provided in fig. 7 of the embodiments of the present application, which are not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments. The technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a computer, a server, or a network device, etc., and may be a processor in the computer device specifically) to execute all or part of the steps of the above-described method of the embodiments of the present application. Wherein the aforementioned storage medium may comprise: a U-disk, a removable hard disk, a magnetic disk, an optical disk, a Read-Only Memory (abbreviated as ROM), a random access Memory (abbreviated as Random Access Memory, RAM), or the like.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it should be understood that: the technical schemes described in the foregoing embodiments may be modified or some of the technical features may be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (15)

1. A blockchain network-based asset management method, the method comprising:
responding to an asset conversion request of a terminal device, and sending a first asset conversion parameter query request to a predictor network, wherein the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset, and the predictor network comprises a plurality of predictor nodes;
receiving a first target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, wherein the first target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from a blockchain by the plurality of predictor nodes;
And calling a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
2. The method of claim 1, wherein before sending the first asset transition parameter query request to the predictor network in response to the asset transition request of the terminal device, the method further comprises:
responding to a data query request of the terminal equipment, and sending a second asset conversion parameter query request to a predictor network, wherein the second asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset;
receiving a second target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, the second target conversion parameter being determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes;
and sending the second target conversion parameter to the terminal equipment so that the terminal equipment displays the second target conversion parameter, and sending an asset conversion request to an asset management server when receiving an asset conversion confirmation operation.
3. The method according to claim 1 or 2, wherein the calling the transaction contract corresponding to the first target conversion parameter to perform conversion processing on the first digital asset to the second digital asset to obtain an asset conversion result includes:
determining a target trading platform corresponding to the first target conversion parameter from the plurality of trading platforms based on conversion parameters between the first digital asset and the second digital asset on each of the plurality of trading platforms;
acquiring a transaction contract address of the target transaction platform from the blockchain;
and calling the transaction contract of the target transaction platform based on the transaction contract address to execute conversion processing from the first digital asset to the second digital asset, so as to obtain an asset conversion result.
4. The method according to claim 2, wherein the method further comprises:
obtaining a time interval between a time of sending the second asset transition parameter query request to the predictor network and a time of receiving an asset transition request of the terminal device;
if the time interval is greater than or equal to the preset duration, executing the step of responding to the asset conversion request of the terminal equipment and sending a first asset conversion parameter query request to a predictor network;
And if the time interval is smaller than the preset time length, responding to an asset conversion request of the terminal equipment, calling a transaction contract corresponding to the second target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
obtaining a key escrow type of a target object corresponding to the terminal equipment;
if the key escrow type is key escrow, generating an asset conversion transaction based on the asset conversion request of the terminal equipment, and digitally signing the asset conversion transaction to obtain a signed asset conversion transaction;
if the key escrow type is that the key is not escrow, generating signed asset conversion transaction based on the asset conversion request of the terminal equipment and the digital signature carried in the asset conversion request;
writing the signed asset transition transaction into the blockchain.
6. A blockchain network-based asset management method, the method comprising:
Responding to a first asset conversion parameter query request of an asset management server, calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, wherein the first asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the first asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving an asset conversion request of terminal equipment;
determining a first target conversion parameter between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and sending the first target conversion parameter to the asset management server, so that the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
7. The method of claim 6, wherein the method further comprises, prior to invoking the trade contracts corresponding to the plurality of trade platforms to obtain the conversion parameters between the first digital asset and the second digital asset on each trade platform from the blockchain in response to the first asset conversion parameter query request of the asset management server:
responding to a second asset conversion parameter query request of an asset management server, calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, wherein the second asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the second asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving a data query request of terminal equipment;
determining a second target conversion parameter between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
And sending the second target conversion parameter to the asset management server so that the asset management server sends the second target conversion parameter to the terminal equipment to display the second target conversion parameter.
8. The method of claim 6 or 7, wherein the determining a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network comprises:
obtaining candidate conversion parameters between the first digital asset and the second digital asset determined by each predictor node in the predictor network, wherein the candidate conversion parameters are optimal conversion parameters determined by each predictor node from the obtained conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms;
and selecting a first target conversion parameter between the first digital asset and the second digital asset from the candidate conversion parameters determined by each predictor node.
9. The method of claim 6 or 7, wherein the determining a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network comprises:
acquiring conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and calling a propranker contract to process conversion parameters between the first digital asset and the second digital asset acquired by the plurality of propranker nodes to obtain a first target conversion parameter between the first digital asset and the second digital asset.
10. A blockchain network-based asset management method, the method comprising:
the asset management server responds to an asset conversion request of the terminal equipment and sends a first asset conversion parameter query request to a predictor network, wherein the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset, and the predictor network comprises a plurality of predictor nodes;
The predictor node of the predictor network responds to the first asset conversion parameter query request and calls transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain;
the predictor node determines a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired by a plurality of predictor nodes included in the predictor network;
the predictor node sending the first target conversion parameter to the asset management server;
and the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset, obtains an asset conversion result, and sends the asset conversion result to the terminal equipment.
11. An asset management device, the device comprising:
the system comprises a sending module, a predicting module and a predicting module, wherein the sending module is used for responding to an asset conversion request of terminal equipment and sending a first asset conversion parameter query request to a predicting machine network, the first asset conversion parameter query request comprises an identification of a first digital asset and an identification of a second digital asset, and the predicting machine network comprises a plurality of predicting machine nodes;
A receiving module, configured to receive a first target conversion parameter between the first digital asset and the second digital asset sent by the predictor network, where the first target conversion parameter is determined by the predictor network based on conversion parameters between the first digital asset and the second digital asset on a plurality of transaction platforms acquired by the plurality of predictor nodes from a blockchain;
and the processing module is used for calling the transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset, obtaining an asset conversion result and sending the asset conversion result to the terminal equipment.
12. An asset management device, the device comprising:
the acquisition module is used for responding to a first asset conversion parameter query request of the asset management server, calling transaction contracts corresponding to a plurality of transaction platforms to acquire conversion parameters between a first digital asset and a second digital asset on each transaction platform from a blockchain, wherein the first asset conversion parameter query request comprises an identification of the first digital asset and an identification of the second digital asset, and the first asset conversion parameter query request is sent to a predictor node in a predictor network by the asset management server after receiving the asset conversion request of the terminal equipment;
A determining module, configured to determine a first target conversion parameter between the first digital asset and the second digital asset based on conversion parameters between the first digital asset and the second digital asset on the plurality of transaction platforms acquired from the blockchain by a plurality of predictor nodes included in the predictor network;
and the sending module is used for sending the first target conversion parameter to the asset management server so that the asset management server calls a transaction contract corresponding to the first target conversion parameter to execute conversion processing to the second digital asset on the first digital asset to obtain an asset conversion result, and sending the asset conversion result to the terminal equipment.
13. A computer device comprising a processor, a network interface and a storage device, the processor, the network interface and the storage device being interconnected, wherein the network interface is controlled by the processor to receive and transmit data, the storage device to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the blockchain network-based asset management method of any of claims 1-5 or the blockchain network-based asset management method of any of claims 6-9.
14. A computer readable storage medium storing a computer program comprising program instructions for execution by a processor to perform the blockchain network-based asset management method of any of claims 1-5 or the blockchain network-based asset management method of any of claims 6-9.
15. A computer program product comprising a computer program which when executed by a computer processor implements the blockchain network-based asset management method of any of claims 1 to 5 or the blockchain network-based asset management method of any of claims 6 to 9.
CN202211227266.0A 2022-10-09 2022-10-09 Asset management method and device based on blockchain network and related equipment Pending CN117011035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211227266.0A CN117011035A (en) 2022-10-09 2022-10-09 Asset management method and device based on blockchain network and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211227266.0A CN117011035A (en) 2022-10-09 2022-10-09 Asset management method and device based on blockchain network and related equipment

Publications (1)

Publication Number Publication Date
CN117011035A true CN117011035A (en) 2023-11-07

Family

ID=88566070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211227266.0A Pending CN117011035A (en) 2022-10-09 2022-10-09 Asset management method and device based on blockchain network and related equipment

Country Status (1)

Country Link
CN (1) CN117011035A (en)

Similar Documents

Publication Publication Date Title
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
US11343103B2 (en) Sending cross-chain authenticatable messages
US20210304201A1 (en) Transaction verification method and apparatus, storage medium, and electronic device
EP4300323A1 (en) Data processing method and apparatus for blockchain network, computer device, computer readable storage medium, and computer program product
CN110601896B (en) Data processing method and equipment based on block chain nodes
CN103608810A (en) Enriching database query responses using data from external data sources
CN111125496B (en) Price query method, device and system
CN109213758B (en) Data access method, device, equipment and computer readable storage medium
CN104363072A (en) Error information transfer and escape method, error information transfer and escape device and error information transfer and escape system
CN111247550A (en) Computerized transaction management module for blockchain networks
CN113076729B (en) Method and system for importing report, readable storage medium and electronic equipment
US20210144629A1 (en) Wireless communication core network and method for analyzing user equipment mobility in the same
US20230259930A1 (en) Cross-chain transaction processing method and apparatus, electronic device, and storage medium
CN115374175A (en) Method and device for tracking task execution progress based on micro-service architecture
CN110955724A (en) Data processing method and device based on block chain, node equipment and storage medium
CN111814045A (en) Data query method and device, electronic equipment and storage medium
US20230306128A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to provide variable resiliency when indexing blockchain states for performing blockchain operations in decentralized applications using cryptography-based digital repositories
CN112269915B (en) Service processing method, device, equipment and storage medium
JP7509886B2 (en) Method and apparatus for pushing subscription data in the internet of things, and devices and storage media thereof
CN114301988A (en) Distributed calling method and device, storage medium and electronic equipment
WO2022068280A1 (en) Data processing method and apparatus, device, and storage medium
CN110930253B (en) Method and device for generating main key inside intelligent contract, computer equipment and storage medium
US20200242702A1 (en) Capital chain information traceability method, system, server and readable storage medium
WO2023208132A1 (en) Api conversion system and access request processing method therefor, and electronic device and medium
CN117011035A (en) Asset management method and device based on blockchain network and related equipment

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