A method, apparatus, and computer-readable storage medium for processing virtual asset data

By establishing isolated access rights between multiple independent data processing devices, and directly obtaining the target user's holding asset objects and holding virtual assets from the second data device, the problem of repeated calculation of the same data indicators in multiple data processing devices is solved, and the utilization rate of computing resources and the efficiency of the data processing system is improved.

CN114186267BActive Publication Date: 2025-06-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010960906.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-14
Publication Date
2025-06-10
Estimated Expiration
2040-09-14

AI Technical Summary

Technical Problem

In multiple independent data processing devices, the same data indicators need to be calculated separately, resulting in waste of computing resources.

Method used

By establishing isolated access rights between the first data device and the second data device, the first data device can directly obtain the target user's holding asset object and the holding virtual assets from the second data device, thereby calculating the target user's service consumption assets.

Benefits of technology

It improves the utilization rate of computing resources, reduces the need for repeated calculations, and improves the efficiency of data processing systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114186267B_ABST
    Figure CN114186267B_ABST
Patent Text Reader

Abstract

The present application discloses a virtual asset data processing method, apparatus and computer-readable storage medium. The method includes: obtaining an access storage address of an asset data table in a second data device based on an isolated access permission for the asset data table in the second data device; a physical isolation state exists between a first data device and the second data device; traversing asset objects in the asset data table based on the access storage address and a user identifier of a target user to obtain held asset objects to which the target user belongs; obtaining, from the asset data table, held virtual assets of the target user for the held asset objects to which the target user belongs; and determining service consumption assets of the target user for the held asset objects to which the target user belongs according to the held virtual assets of the target user for the held asset objects to which the target user belongs. By adopting the present application, the utilization rate of computing resources related to service consumption assets can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data processing, and in particular, to a method and apparatus for processing virtual asset data and a computer-readable storage medium. Background Art

[0002] In a data processing system, there may be multiple data processing devices. The data in these multiple data processing devices may be isolated from each other, and these multiple data processing devices may be respectively used to independently implement different data processing functions. In the process of independently implementing their own data processing functions, these multiple data devices may perform statistical calculations on the same data metric (for example, data metric z1).

[0003] It can be seen that since these multiple data processing devices independently implement their own data processing functions, the above data metric z1 will be executed once by each of these multiple data processing devices, which will result in a waste of computing resources in the entire data processing system. Summary of the Invention

[0004] This application provides a method and apparatus for processing virtual asset data and a computer-readable storage medium, which can improve the utilization rate of computing resources related to service-consuming assets.

[0005] On the one hand, this application provides a method for processing virtual asset data, which is executed by a first data device. The first data device is physically isolated from a second data device, and includes:

[0006] Based on the isolation access permission for the asset data table in the second data device, obtain the access storage address of the asset data table in the second data device;

[0007] Based on the access storage address and the user identifier of the target user, traverse the asset objects in the asset data table to obtain the held asset objects belonging to the target user;

[0008] From the asset data table, obtain the held virtual assets of the target user for the held asset objects belonging to the target user;

[0009] Determine the service-consuming assets of the target user for the held asset objects belonging to the target user according to the held virtual assets of the target user for the held asset objects belonging to the target user.

[0010] On the one hand, this application provides a virtual asset data processing apparatus, which is applied to a first data device. The first data device is physically isolated from a second data device, and includes:

[0011] An address acquisition module, configured to obtain the access storage address of the asset data table in the second data device based on the isolation access permission for the asset data table in the second data device;

[0012] A traversal module, configured to traverse asset objects in an asset data table based on an access storage address and a user identifier of a target user, so as to obtain held asset objects belonging to the target user;

[0013] An asset acquisition module, configured to acquire, from the asset data table, virtual assets held by the target user for the held asset objects belonging to the target user;

[0014] A consumed asset determination module, configured to determine service consumed assets of the target user for the held asset objects belonging to the target user according to the virtual assets held by the target user for the held asset objects belonging to the target user.

[0015] Wherein, the above device further includes:

[0016] A request generation module, configured to generate a permission acquisition request for the asset data table; the permission acquisition request carries a device identifier of a first data device and a data table identifier of the asset data table;

[0017] A permission setting module, configured to send the permission acquisition request to a second data device, so that the second data device identifies the device identity of the first data device according to the device identifier in the permission acquisition request, and after successfully identifying the device identity of the first data device, set an isolated access permission for the first data device for the asset data table according to the data table identifier in the permission acquisition request.

[0018] Wherein, the first data device belongs to a first blockchain network; the second data device belongs to a second blockchain network;

[0019] An address acquisition module, including:

[0020] An address request unit, configured to send a storage address acquisition request for the asset data table to the second data device based on a first smart contract in the first data device and the isolated access permission for the asset data table in the second data device, so that the second data device parses the storage address acquisition request based on a second smart contract in the second data device and acquires an access storage address of the asset data table indicated by the storage address acquisition request;

[0021] An address acquisition unit, configured to acquire the access storage address sent by the second data device through the second smart contract based on the first smart contract.

[0022] Wherein, the traversal module includes:

[0023] An information generation unit, configured to generate access information based on the access storage address and the user identifier of the target user;

[0024] An access traversal unit, configured to access an asset data table in a second data device based on an access storage address in access information, and traverse the accessed asset data table based on a user identifier in the access information to obtain a portfolio of held asset objects of a target user;

[0025] An asset determination unit, configured to determine at least two asset objects in the portfolio of held asset objects as held asset objects belonging to the target user.

[0026] Wherein, an asset acquisition module is configured to:

[0027] Obtain, from the asset data table, the held virtual assets of the target user for each held asset object respectively;

[0028] A consumed asset determination module includes:

[0029] A factor acquisition unit, configured to acquire service consumption factors respectively associated with each held asset object;

[0030] A held consumed asset determination unit, configured to determine the held service consumption assets respectively corresponding to each held asset object according to the service consumption factors respectively associated with each held asset object and the held virtual assets of the target user for each held asset object respectively;

[0031] A consumed asset determination unit, configured to determine the service consumption assets of the target user for the held asset objects belonging to the target user according to the held service consumption assets respectively corresponding to each held asset object.

[0032] Wherein, the at least two held asset objects include held asset object f n , where n is a positive integer less than or equal to the total number of assets of the at least two held asset objects;

[0033] The factor acquisition unit includes:

[0034] A factor acquisition subunit, configured to acquire the net asset value of held asset object f n and the asset rate of held asset object f n ;

[0035] A factor determination subunit, configured to determine the net asset value and the asset rate as service consumption factors associated with held asset object f n .

[0036] Wherein, the held consumed asset determination unit includes:

[0037] A product value acquisition subunit, configured to acquire the product value among the net asset value, the asset rate, and the held virtual assets of the target user for held asset object f n ;

[0038] A consumption asset determination subunit, configured to determine the product value as the held asset object f n The corresponding held service consumption asset.

[0039] Among them, the traversal module includes:

[0040] A status determination unit, configured to determine the process reconciliation status of the second data device in the asset data table for the asset reconciliation process based on the accessed storage address; the asset reconciliation process refers to the reconciliation process for the held asset objects belonging to the target user;

[0041] A traversal unit, configured to traverse the asset data table according to the user identifier when the process reconciliation status is the reconciliation completed status, and obtain the held asset objects belonging to the target user.

[0042] Among them, the service consumption asset is the consumption asset of the target user for the held asset objects belonging to the target user at the current moment;

[0043] The above device further includes:

[0044] A historical asset acquisition module, configured to acquire the historical consumption assets of the target user for the held asset objects belonging to the target user at the historical moments within the asset deduction period when the current moment meets the asset deduction period;

[0045] An accumulated asset determination module, configured to determine the service consumption accumulated assets of the target user for the held asset objects belonging to the target user within the asset deduction period according to the service consumption assets at the current moment and the historical consumption assets at the historical moments.

[0046] Among them, the above device further includes:

[0047] A prompt information generation module, configured to generate an asset deduction prompt information according to the service consumption accumulated assets;

[0048] An information sending module, configured to send the asset deduction prompt information to the user terminal to which the target user belongs, so that the user terminal outputs the asset deduction prompt information on the terminal page;

[0049] The user terminal is further configured to respond to the confirmation operation for the asset deduction prompt information on the terminal page, and deduct the service consumption accumulated assets from the asset account of the target user.

[0050] Among them, the number of historical consumption assets is at least two; the historical moments include the asset generation moments respectively corresponding to each historical consumption asset;

[0051] The prompt information generation module includes:

[0052] A unit row generation unit for generating unit row description information corresponding to each historical consumption asset and service consumption asset respectively;

[0053] A unit row sequence generation unit for sorting the unit row description information corresponding to each historical consumption asset and service consumption asset respectively according to the asset generation time corresponding to each historical consumption asset and the current time of the service consumption asset, to obtain a unit row sequence;

[0054] A table generation unit for rendering a table for the unit row sequence to obtain table description information including the unit row sequence;

[0055] A prompt message generation unit for generating an asset deduction prompt message according to the table description information.

[0056] On the one hand, the present application provides a computer device, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the method in one aspect of the present application.

[0057] On the one hand, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. The computer program includes program instructions. When the program instructions are executed by the processor, the processor executes the method in the above-mentioned one aspect.

[0058] According to one aspect of the present application, there is provided a computer program product or computer program. The computer program product or computer program includes computer instructions. The computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned one aspect and various alternative ways.

[0059] This application can obtain the access storage address of the asset data table in the second data device based on the isolated access permission to the asset data table in the second data device; traverse the asset objects in the asset data table based on the access storage address and the user identification of the target user to obtain the held asset objects to which the target user belongs; obtain the held virtual assets of the target user for the held asset objects to which the target user belongs from the asset data table; determine the service consumption assets of the target user for the held asset objects to which the target user belongs according to the held virtual assets of the target user for the held asset objects to which the target user belongs. It can be seen that when calculating the service consumption assets of the target user for the held asset objects to which the target user belongs, the method proposed in this application can directly obtain the held asset objects to which the target user belongs and the held virtual assets of the target user for the held asset objects from the second data device based on the isolated access permission to the asset data table. Therefore, the first data device can quickly calculate the service consumption assets of the target user for the held asset objects to which the target user belongs based on the held virtual assets of the target user for the held asset objects to which the target user belongs obtained from the second data device. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions in this application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0061] Figure 1 is a schematic structural diagram of a network architecture provided by an embodiment of this application;

[0062] Figure 2 is a schematic diagram of a scenario for obtaining service consumption assets provided by this application;

[0063] Figure 3 is a schematic flowchart of a virtual asset data processing method provided by this application;

[0064] Figure 4 is a schematic diagram of a scenario for obtaining service consumption cumulative assets provided by this application;

[0065] Figure 5 is a schematic diagram of a scenario for generating table description information provided by this application;

[0066] Figure 6 is a schematic diagram of a terminal page provided by this application;

[0067] Figure 7 is a schematic flowchart of a virtual asset data processing method provided by this application;

[0068] Figure 8 It is a schematic structural diagram of a virtual asset data processing device provided by this application;

[0069] Figure 9 It is a schematic structural diagram of a computer device provided by this application. Specific embodiments

[0070] Next, the technical solutions in this application will be clearly and completely described in conjunction with the accompanying drawings in this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0071] Please refer to Figure 1 , Figure 1 It is a schematic structural diagram of a network architecture provided by an embodiment of this application. As Figure 1 shown, the network architecture may include a server cluster and a terminal device cluster. The terminal device cluster may include one or more terminal devices, and the number of terminal devices will not be limited here. As Figure 1 shown, the multiple terminal devices may specifically include terminal device 100a, terminal device 101a, terminal device 102a,..., terminal device 103a; the server cluster may include server 200,..., server 300. As Figure 1 shown, terminal device 100a, terminal device 101a, terminal device 102a,..., terminal device 103a can all be network-connected to each server in the server cluster, so that each terminal device can perform data interaction with each server through the network connection.

[0072] As Figure 1 shown, each server in the server cluster can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device can be: intelligent terminals such as smart phones, tablet computers, notebook computers, desktop computers, and smart TVs.

[0073] Next, taking the communication between terminal device 100a, server 200, and server 300 as an example, the specific description of the embodiment of this application will be carried out.

[0074] Please refer to Figure 2 , Figure 2This is a schematic diagram of a scenario for obtaining service-consuming assets provided by this application. As Figure 2 shown, server 200 can be a server for calculating the service-consuming assets of target user 107b for the virtual assets held by the user. Server 300 can be a server for reconciling the transactions of all users (including target user 107b) for virtual asset objects. Among them, server 200 can be the first data device in the corresponding Figure 3 embodiment, and server 300 can be the second data device in the corresponding Figure 3 embodiment. For the specific descriptions of server 200 and server 300, refer to the respective steps in the corresponding Figure 3 embodiment.

[0075] Server 300 also includes asset data table 102b. Asset data table 102b includes the held asset objects belonging to each user (including target user 107b) and the virtual assets held by each user for the held asset objects after server 200 has completed the reconciliation of the transactions of all users for virtual asset objects. Among them, the held asset object belonging to a user is the virtual asset object purchased by the user, and the virtual asset object can refer to virtual assets such as funds or stocks. The virtual assets held by a user for the held asset object belonging to the user are the purchase quantity (i.e., the purchase share) of the user for the held asset object belonging to the user. Among them, the held asset object purchased by target user 107b can be recommended by the wealth management platform for target user 107b to purchase. Therefore, target user 107b needs to pay the corresponding service fee to the wealth management platform, and this service fee is the service fee of target user for the held asset object belonging to the user. Server 200 and server 300 above can be understood as the background servers of this wealth management platform.

[0076] Server 200 and server 300 are physically isolated from each other, that is, server 200 and server 300 do not belong to the same server, and the data between server 200 and server 300 is not shared but isolated from each other. Therefore, first, server 200 can request server 300 to obtain the isolation access permission for asset data table 102b in server 300. After server 300 receives the access permission acquisition request of server 200 for the asset data table, server 300 can set the isolation access permission for asset data table 102b for server 200. Among them, for the specific process of how server 200 obtains the isolation access permission for asset data table 102b from server 300, refer to step S101 in the corresponding Figure 3 embodiment.

[0077] After the server 200 obtains the isolation access right to the asset data table 102b from the server 300, it can access the asset data table 102b in the server 300, and obtain from the accessed asset data table 102b the held asset objects 103b of the target user 107b, as well as the virtual assets held by the target user for the held asset objects 103b to which the target user belongs.

[0078] As Figure 2 shown, the held asset objects 103b of the target user 107b obtained by the server 200 here specifically include held asset object 1, held asset object 2, held asset object 3, held asset object 4, and held asset object 5. The virtual assets held by the target user 107b for the held asset objects to which the target user belongs obtained by the server 200 specifically include: the virtual asset 1 held by the target user 107b for the held asset object 1, the virtual asset 2 held by the target user 107b for the held asset object 2, the virtual asset 3 held by the target user 107b for the held asset object 3, the virtual asset 4 held by the target user 107b for the held asset object 4, and the virtual asset 5 held by the target user 107b for the held asset object 5.

[0079] The server 200 can also obtain the service consumption factors for the held asset objects to which the target user 107b belongs. The service consumption factor is other relevant factors in addition to being related to the virtual assets held by the target user 107b for the held asset objects to which the target user belongs when calculating the service consumption assets of the target user 107b for the held asset objects to which the target user belongs. Here, the server 200 can obtain the service consumption factor 1 for the held asset object 1 of the target user 107b, the service consumption factor 2 for the held asset object 2 of the target user 107b, the service consumption factor 3 for the held asset object 3 of the target user 107b, the service consumption factor 4 for the held asset object 4 of the target user 107b, and the service consumption factor 5 for the held asset object 5 of the target user 107b. Among them, the specific description of the service consumption factor can also be referred to in step S104 in the corresponding Figure 3 embodiment below.

[0080] Subsequently, the server 200 can calculate the held service consumption assets of the target user 107b for each held asset object to which the target user belongs through the virtual assets held corresponding to each held asset object of the target user 107b and the service consumption factors obtained. The held service consumption assets of the target user for one of his held asset objects are the service fees of the target user 107b for the held asset object. The specific explanation of the held service consumption assets can also be referred to in the Figure 3 corresponding embodiment below.

[0081] Here, as shown in block 105b, the server 200 can calculate the holding service consumption asset 1 of the holding asset object 1 based on the holding virtual asset 1 and the service consumption factor 1; the server 200 can calculate the holding service consumption asset 2 of the holding asset object 2 based on the holding virtual asset 2 and the service consumption factor 2; the server 200 can calculate the holding service consumption asset 3 of the holding asset object 3 based on the holding virtual asset 3 and the service consumption factor 3; the server 200 can calculate the holding service consumption asset 4 of the holding asset object 4 based on the holding virtual asset 4 and the service consumption factor 4; the server 200 can calculate the holding service consumption asset 5 of the holding asset object 5 based on the holding virtual asset 5 and the service consumption factor 5.

[0082] Subsequently, the server 200 can sum up the above-obtained holding service consumption asset 1, holding service consumption asset 2, holding service consumption asset 3, holding service consumption asset 4, and holding service consumption asset 5 to obtain the service consumption asset 106b. The service consumption asset 106b is the service fee of the target user for all the holding asset objects to which the target user belongs.

[0083] As can be seen from the above, since the server 300 will obtain the holding virtual assets of the target user for the holding asset objects to which the target user belongs when reconciling the transactions of the target user for the virtual asset objects, the server 200 can directly obtain the isolated access permission for the asset data table from the server 300, and then, based on the obtained isolated access permission for the asset data table, obtain the holding virtual assets of the target user for the holding asset objects to which the target user belongs from the server 300, without the need to pull the transaction data of the target user for the virtual asset objects to re-obtain the holding virtual assets of the target user for the holding asset objects to which the target user belongs. Therefore, through the method provided in this application, the efficiency of the server 200 in obtaining the holding virtual assets of the target user for the holding asset objects to which the target user belongs can be improved, and further, the efficiency of the server 200 in calculating the service consumption assets of the target user for the holding asset objects to which the target user belongs can be improved.

[0084] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of a virtual asset data processing method provided in this application. As Figure 3 shown, the method may include:

[0085] Step S101, based on the isolated access permission for the asset data table in the second data device, obtain the access storage address of the asset data table in the second data device; the first data device and the second data device are in a state of physical isolation from each other;

[0086] Specifically, the embodiments of the present application can be executed by a first data device, which can be a server or a terminal device. The first data device and the second data device are physically isolated from each other. In other words, the first data device and the second data device are not the same device and are independent devices. The second data device can also be a server or a terminal device.

[0087] Among them, the virtual asset object held by the target user can be called the holding asset object to which the target user belongs, and the share of the target user in the holding asset object to which the target user belongs can be called the holding virtual asset of the target user in the holding asset object to which the target user belongs. The holding asset object of the target user can be a virtual asset object such as stocks or funds purchased by the target user, and the holding virtual asset (i.e., share) of the target user in the holding asset object is the quantity of the holding asset object purchased by the target user.

[0088] For example, if the target user purchases 50 shares of stock 1, the holding virtual asset to which the target user belongs can be stock 1, and the holding virtual asset of the target user in stock 1 is 50 shares.

[0089] Among them, the above-mentioned first data device and the second data device can be the back-end of a wealth management platform, and the holding virtual object purchased by the target user can be recommended by the wealth management platform for the target user to purchase. Therefore, after the target user purchases the virtual asset object recommended by the wealth management platform, the wealth management platform can charge service fees from the target user. This process can be described in another way, that is, the wealth management platform can provide investment consulting (investment advisor) services to the target user (i.e., recommend virtual assets that can be purchased to the target user). After the target user accepts the investment consulting services provided by the wealth management platform, the target user needs to pay service fees for the investment consulting services to the wealth management platform. The service fees that the target user needs to pay to the wealth management platform can be called the service consumption assets of the target user for the holding asset object.

[0090] Therefore, it should be noted that the first data device can be a device for calculating the service consumption assets of the target user for the holding asset object to which the target user belongs. The second data device can be a device for reconciling the transactions of the target user for the virtual asset object (such as transactions for redeeming virtual assets or purchasing virtual assets). Since the first data device and the second data device are physically isolated from each other, it can be understood that the data stored in the first data device and the data stored in the second data device are isolated from each other.

[0091] Among them, when the first data device calculates the service consumption assets of the target user for the held asset object to which the target user belongs, it needs to calculate through the virtual assets held by the target user for the held asset object to which the target user belongs (i.e., asset shares). When the second data device reconciles the transactions of the target user for the virtual asset object, it will obtain the virtual assets held by the target user for the held asset object to which the target user belongs. Therefore, the first data device can request access rights to the second data device, so that the first data device can directly obtain from the second data device the virtual assets held by the target user for the held asset object to which the target user belongs.

[0092] Among them, for a better understanding of this embodiment, the process by which the second data device reconciles the transactions of the target user for the virtual asset object to obtain the virtual assets held by the target user for the held virtual assets may be as follows:

[0093] Since the second data device needs to reconcile the transactions of the target user for the virtual asset object every day, and the principle of the second data device reconciling the transactions of the target user for the virtual assets every day is the same, the process of the second data device reconciling the transactions of the target user for the virtual asset object on the Dth day is taken as an example for description here. Please refer to the following.

[0094] Since it can be confirmed that all the transactions of the target user on the Dth day have been completed at the end of the Dth day (i.e., the early morning of the D + 1th day), the second data device can reconcile the transactions of the target user for the virtual assets on the Dth day in the early morning of the D + 1th day: The second data device can obtain the virtual assets held by the target user for the held asset object to which the target user belongs on the D - 1th day. The second data device can also reconcile with the institutions with which the target user has transacted on the Dth day (such as the institutions to which the purchased or redeemed virtual assets belong). During the reconciliation process, the second data device can update the virtual assets held by the target user for the held asset object to which the target user belongs on the D - 1th day according to the transactions made by the target user on the Dth day. After all the transactions are reconciled, the virtual assets held by the target user for the held asset object to which the target user belongs on the Dth day can be obtained.

[0095] For example, if the virtual assets held by the target user for the held asset object 1 on the D - 1th day are 100 shares, and the target user purchases another 50 shares of the held asset object 1 on the Dth day, then at the end of the Dth day, the virtual assets held by the target user for the held asset object 1 will be 150 shares.

[0096] Among them, since the target user can conduct transactions on virtual asset objects every day, the held asset objects to which the target user belongs every day can be different, and the virtual assets held for the held asset objects to which the target user belongs can also be different. Therefore, when the second data device obtains the virtual assets held by the target user for the held asset objects to which the target user belongs, it is to obtain the held asset objects of the target user for each day and the virtual assets held for the held asset objects.

[0097] Among them, the data after reconciling the transactions of the target user on virtual asset objects by the second data device can be stored in the asset data table in the second data device. Therefore, the first data device only needs to provide the second data device with the access right to the asset data table, and the access right of the first data device to the asset data table in the second data device can be called the isolated access right.

[0098] Among them, the process by which the first data device obtains the isolated access right to the asset data table from the second data device can be as follows: The first data device can generate a permission acquisition request for the asset data table. This permission acquisition request is the request for the first data device to obtain the isolated access right to the asset data table from the second data device. This permission acquisition request can carry the device identifier (i.e., device ID) of the first data device and the data table identifier of the asset data table.

[0099] The first data device can send the generated permission acquisition request to the second data device. After obtaining the permission acquisition request, the second data device can obtain the device identifier of the first data device and the data table identifier of the asset data table from the permission acquisition request. The second data device can identify the device identity of the first data device according to the obtained device identifier of the first data device. A device list (which can be imported by developers) can be pre-imported into the second data device. This device list can include the device identifiers of multiple devices. The second data device can give the isolated access right to the asset data table to the devices that exist in this device list.

[0100] Therefore, developers can pre-add the device identifier of the first data device to this device list. Therefore, after the second data device detects the device identifier of the first data device in the permission acquisition request and detects that the device identifier of the first data device exists in the device list, it indicates that the second data device has successfully identified the device identity of the first data device. After the second data device successfully identifies the device identity of the first data device, it can find the asset data table according to the data table identifier of the asset data table in the permission acquisition request, and then set the isolated access right to the found asset data table for the first data device.

[0101] After obtaining the isolation access right to the asset data table in the second data device, the first data device can obtain the storage address of the asset data table in the second data device based on the isolation access right to the asset data table. The storage address of the asset data table in the second data device can be referred to as the access storage address.

[0102] Furthermore, the first data device and the second data device can also be blockchain nodes belonging to different blockchain networks. For example, the first data device can be a blockchain node belonging to the first blockchain network, and the second data device can be a blockchain node belonging to the second blockchain network. Therefore, it can be known that since the first data device and the second data device are blockchain nodes belonging to different blockchain networks, the data in the first data device and the data in the second data device are also isolated from each other.

[0103] Since the first data device needs to obtain the virtual assets held by the target user for the held asset objects in the asset data table of the second data device, the first data device and the second data device need to perform cross-chain interaction.

[0104] Among them, the cross-chain interaction between the first data device and the second data device can be achieved through smart contracts. A first smart contract can be constructed in the first data device, and this first smart contract is used for the first data device to send an access request for the asset data table to the second data device. A second smart contract can also be constructed in the second data device, and this second smart contract is used to respond to and execute the access request for the asset data table from the first data device. Among them, the first smart contract and the second smart contract can be interconnected. The second smart contract can identify the contract type of the first smart contract and respond to the access request for the asset data table initiated based on the first smart contract. Similarly, the first smart contract can also identify the contract type of the second smart contract and receive the data synchronized based on the second smart contract.

[0105] It should be noted that the above-mentioned first smart contract and second smart contract are used to achieve cross-chain interaction between the first data device and the second data device. However, for the first data device to access the second data device, it still needs the isolation access right to the asset data table. Therefore, the first data device can send a storage address acquisition request for the asset data table to the second data device through the first smart contract and the isolation access right to the asset data table in the second data device. The first data device sending a storage address acquisition request for the asset data table to the second data device is also initiating an access right for the asset data table to the second data device.

[0106] After obtaining the storage address access request sent by the first data device, the second data device can parse the storage address access request through a second smart contract. By parsing the storage address access request, the second data device can obtain the access storage address indicated by the storage address access request, which is the storage address of the asset data table in the second data device. For example, the data table identifier of the asset data table can be carried in the storage address acquisition request, and the access storage address indicated by the storage address acquisition request is the access storage address of the asset data table indicated by the data table identifier in the storage address acquisition request.

[0107] The second data device can send the access storage address of the asset data table obtained according to the storage address acquisition request to the first data device through the second smart contract, and the first data device can receive the access storage address sent by the second data device through the second smart contract through the first smart contract.

[0108] Step S102: Traverse the asset objects in the asset data table based on the access storage address and the user identifier of the target user to obtain the held asset objects to which the target user belongs;

[0109] Specifically, after obtaining the access storage address for the asset data table, the first data device can traverse the asset objects in the asset data table based on the access storage address and the user identifier of the target user. By traversing the asset objects in the asset data table, the held asset objects of the target user can be screened out from the asset data table. Since the first data device also needs to calculate the service consumption assets of the held virtual assets of the target user for the held asset objects to which the target user belongs every day, the held asset objects to which the target user belongs obtained by the first data device here are the held asset objects of the target user at the current latest.

[0110] For example, if the first data device needs to calculate the held virtual assets of the target user for the held asset objects to which the target user belongs on the Dth day, the held asset objects to which the target user belongs obtained by the first data device here can be the held asset objects to which the target user finally belongs on the Dth day obtained by the first data device at the early morning of the (D + 1)th day.

[0111] Since the holding asset object to which the target user belongs obtained by the first data device needs to be the final holding asset object of the target user after the second data device completes the transaction reconciliation of the target user for the virtual asset object on the same day (i.e., the day when the service consumption assets need to be calculated, such as the above-mentioned Day D). Therefore, before traversing the asset data table, the first data device also needs to determine the reconciliation status of the second data device for the target user's transaction of the virtual asset object. If the reconciliation status is the completed reconciliation status, it indicates that the asset data table has been updated with the target user's final holding asset object on the same day. Therefore, at this time, the first data device can traverse the asset data table according to the user identifier of the target user to obtain the target user's final holding asset object on the same day.

[0112] For example, first, the first data device can determine the process reconciliation status of the second data device for the asset reconciliation process in the asset data table based on the access storage address of the asset data table. The asset reconciliation process refers to the process of the second data device reconciling the holding asset object belonging to the target user in the asset data table. When the first data device determines that the process reconciliation status of the second data device for this asset reconciliation process is the completed reconciliation status, it indicates that the second data device has completed the update of the target user's final holding asset object on the same day in the asset data table. At this time, the first data device can traverse the asset data table according to the user identifier of the target user to obtain the target user's final holding asset object on the same day.

[0113] Furthermore, the virtual asset object recommended by the wealth management platform for the target user to purchase can also be an investment portfolio plan, which can include multiple asset objects (the virtual asset object can be simply referred to as an asset object). Therefore, there can be multiple holding asset objects to which the target user belongs. Specifically, the first data device can first package and encapsulate the access storage address of the asset data table and the user identifier of the target user to generate access information for accessing the asset data table, and this access information includes the access storage address of the asset data table and the user identifier of the target user. The first data device can access the asset data table through the access storage address in the access information. After successfully accessing the asset data table, it can traverse the virtual asset objects in the accessed asset data table according to the user identifier of the target user in the access information to traverse and filter out the combination of the target user's final holding asset objects on the same day. This combination of holding asset objects is the combination composed of multiple asset objects in the investment portfolio plan purchased by the target user. In other words, this combination of holding asset objects includes multiple holding asset objects to which the target user belongs. The first data device can use all the asset objects in the combination of holding asset objects as the currently obtained holding asset objects to which the target user belongs.

[0114] Through the above process, the first data device can obtain the held asset objects to which the target user belongs on the same day (the day for which service consumption assets need to be calculated, such as the above-mentioned Dth day).

[0115] Step S103: Obtain the virtual assets held by the target user for the held asset objects to which the target user belongs from the asset data table;

[0116] Specifically, after the second data device obtains the held asset objects to which the target user belongs on the same day in the asset data table, it can also obtain from the asset data table the virtual assets held by the target user for each held asset object to which the target user belongs on the same day, that is, obtain the holding shares corresponding to each held asset object respectively.

[0117] Step S104: Determine the service consumption assets of the target user for the held asset objects to which the target user belongs according to the virtual assets held by the target user for the held asset objects to which the target user belongs;

[0118] Specifically, the first data device can obtain the service consumption factors associated with each held asset object of the target user respectively. The service consumption factor refers to other relevant factors in addition to being related to the virtual assets held by the target user for the held asset objects when calculating the service consumption assets of the held asset objects to which the target user belongs. The first data device can calculate the service fees corresponding to each held asset object respectively through the service consumption factors associated with each held asset object of the target user respectively and the virtual assets held by the target user for each held asset object respectively, and the service fees corresponding to each held asset object respectively can be called the holding service consumption assets corresponding to each held asset object respectively.

[0119] The first data device can sum up the holding service consumption assets corresponding to each held asset object respectively, and then use the sum of the holding service consumption assets corresponding to each held asset object respectively as the service consumption assets of the target user for the held asset objects to which the target user belongs finally calculated.

[0120] For example, if among multiple (at least two) held asset objects of the target user there is a held asset object f n , where n is a positive integer less than or equal to the total number of assets of the multiple held asset objects of the target user, that is, the held asset object f n can be any one of the multiple held asset objects of the target user.

[0121] Therefore, the first data device can obtain the net asset value and asset rate of the held asset object f n , and the obtained net asset value and asset rate are the net asset value and asset rate associated with the held asset object f nAssociated service consumption factors. Then, the first data device can multiply the net asset value, the asset rate, and the virtual assets held by the target user for the asset object f n to obtain the product value of the net asset value, the asset rate, and the virtual assets held by the target user for the asset object f n . This product value is the service consumption assets held by the first data device for the target user for the asset object f n .

[0122] Every day, the first data device obtains the service fees for the asset objects held by the target user every day through the process described above. Moreover, the first data device can accumulate the service fees for the asset objects held by the target user obtained every day and charge the target user for the service fees once per quarter (it can also be other periods, specifically determined according to the actual application scenario).

[0123] Specifically, assuming that the above-obtained service consumption assets are the consumption assets (i.e., service fees) of the target user obtained by the first data device for the affiliated asset objects on the last day of a deduction cycle, then the consumption assets of the target user obtained by the first data device for the affiliated asset objects before that (every day except the last day of a deduction cycle) can be called historical consumption assets.

[0124] It can be said that the above service consumption assets are the consumption assets of the target user obtained by the first data device for the affiliated asset objects at the current moment. The current moment can refer to the final moment of the day to which the service consumption assets belong. For example, if the service consumption assets are the consumption assets of the target user calculated for the affiliated asset objects on the Dth day, then the current moment can be the final moment of the Dth day.

[0125] Similarly, the above historical consumption assets are the consumption assets of the target user obtained by the first data device for the affiliated asset objects at the historical moment. The historical moment can refer to the final moment of the day to which the historical consumption assets belong. For example, if the historical consumption assets are the consumption assets of the target user calculated for the affiliated asset objects on the Mth day, then the historical moment can be the final moment of the Mth day.

[0126] Therefore, when the above current moment meets the asset deduction cycle, the first data device can obtain the historical consumption assets of the target user for the affiliated asset objects at the historical moment. Among them, the current moment meeting the asset deduction cycle means that the current moment is the final moment of the last day of a deduction cycle, that is, the above service consumption assets are the consumption assets of the target user obtained by the first data device for the affiliated asset objects on the last day of a deduction cycle.

[0127] Next, the first data device can sum up the obtained historical consumption assets and service consumption assets, and the obtained sum value is the cumulative service consumption assets of the target user for the owned asset objects under a deduction cycle. This cumulative service consumption assets is the total service fee that the target user needs to pay within a deduction cycle.

[0128] Please refer to Figure 4 , Figure 4 which is a schematic diagram of a scenario for obtaining cumulative service consumption assets provided by this application. As Figure 4 shown, assume that a deduction cycle has n days, and these n days specifically include the 1st day, the 2nd day, ……, and the nth day of this deduction cycle. The first data device can calculate the service consumption assets of the target user for each day in these n days of this deduction cycle through the above process. Please refer to the following.

[0129] As Figure 4 shown, the owned asset objects of the target user on the 1st day may include owned asset object 1, owned asset object 2, and owned asset object 3. The owned virtual asset of the target user for owned asset object 1 on the 1st day may be owned virtual asset a1, the owned virtual asset of the target user for owned asset object 2 on the 1st day may be owned virtual asset b1, and the owned virtual asset of the target user for owned asset object 3 on the 1st day may be owned virtual asset c1.

[0130] Therefore, the first data device can calculate the owned service consumption asset fa1 of the target user for owned asset object 1 on the 1st day based on owned virtual asset a1; the first data device can calculate the owned service consumption asset fb1 of the target user for owned asset object 2 on the 1st day based on owned virtual asset b1; the first data device can calculate the owned service consumption asset fc1 of the target user for owned asset object 3 on the 1st day based on owned virtual asset c1. The first data device can sum up the owned service consumption assets fa1, owned service consumption asset fb1, and owned service consumption asset fc1, and then the service consumption asset 100c of the target user for all the owned asset objects on the 1st day can be obtained.

[0131] Similarly, the owned asset objects of the target user on the 2nd day may also include owned asset object 1, owned asset object 2, and owned asset object 3. The owned virtual asset of the target user for owned asset object 1 on the 2nd day may be owned virtual asset a2, the owned virtual asset of the target user for owned asset object 2 on the 2nd day may be owned virtual asset b1, and the owned virtual asset of the target user for owned asset object 3 on the 2nd day may be owned virtual asset c2.

[0132] Therefore, the first data device can calculate the holding service consumption assets fa2 of the target user for the holding asset object 1 on the second day based on holding the virtual asset a2; the first data device can calculate the holding service consumption assets fb1 of the target user for the holding asset object 2 on the second day based on holding the virtual asset b1; the first data device can calculate the holding service consumption assets fc2 of the target user for the holding asset object 3 on the second day based on holding the virtual asset c2. The first data device can sum up the holding service consumption assets fa2, the holding service consumption assets fb1, and the holding service consumption assets fc2, and then the service consumption assets 101c of the target user for all the holding asset objects to which the target user belongs on the second day can be obtained.

[0133] Similarly, the holding asset objects to which the target user belongs on the nth day can also include the holding asset object 1, the holding asset object 2, and the holding asset object 3. The virtual asset held by the target user for the holding asset object 1 on the nth day can be the virtual asset a2, the virtual asset held by the target user for the holding asset object 2 on the nth day can be the virtual asset b2, and the virtual asset held by the target user for the holding asset object 3 on the nth day can be the virtual asset c3.

[0134] Therefore, the first data device can calculate the holding service consumption assets fa2 of the target user for the holding asset object 1 on the nth day based on holding the virtual asset a2; the first data device can calculate the holding service consumption assets fb2 of the target user for the holding asset object 2 on the nth day based on holding the virtual asset b2; the first data device can calculate the holding service consumption assets fc3 of the target user for the holding asset object 3 on the nth day based on holding the virtual asset c3. The first data device can sum up the holding service consumption assets fa2, the holding service consumption assets fb2, and the holding service consumption assets fc3, and then the service consumption assets 102c of the target user for all the holding asset objects to which the target user belongs on the nth day can be obtained.

[0135] Through the above process, the first data device can calculate the service consumption assets of the target user for all the holding asset objects to which the target user belongs every day within a deduction cycle. The first data device can sum up the service consumption assets corresponding to each day within a deduction cycle, and then the final cumulative service consumption assets 103c of the target user within a deduction cycle can be obtained.

[0136] The first data device can generate an asset deduction prompt message according to the above cumulative service consumption assets. The asset deduction prompt message contains the cumulative service consumption assets that the target user needs to pay.

[0137] Moreover, the number of the above-mentioned historical consumption assets can be multiple, one corresponding to each day, that is, one corresponding to each historical moment. The first data device can also generate unit row description information corresponding to each historical consumption asset and the above-mentioned service consumption asset respectively. The unit row description information corresponding to one consumption asset may include the consumption asset.

[0138] The first data device can sort the unit row description information corresponding to each historical consumption asset and the above-mentioned service consumption asset respectively according to the chronological order of the historical moment corresponding to each historical consumption asset and the current moment corresponding to the service consumption asset. The one with an earlier time (historical moment and current moment) is sorted later, and the one with a later time is sorted earlier. By sorting the unit row description information corresponding to each historical consumption asset and the above-mentioned service consumption asset respectively, a unit row sequence can be obtained, and this unit row sequence includes the unit row description information corresponding to each historical consumption asset and the above-mentioned service consumption asset respectively.

[0139] The first data device can perform table rendering on the obtained unit row sequence to obtain table description information including the unit row sequence. This table description information is a table, and one row in this table is a unit row description information.

[0140] Please refer to Figure 5 , Figure 5 which is a schematic diagram of a scenario for generating table description information provided by this application. As Figure 5 shown, the unit row description information generated here may include unit row description information 100d, unit row description information 101d, unit row description information 102d, unit row description information 103d, unit row description information 104d, unit row description information 105d, unit row description information 106d, and unit row description information 107d. The first half of each unit row description information represents the date of the day to which the corresponding service consumption asset belongs, and the second half of each unit row description information represents the corresponding service consumption asset. For example, the first half of the unit row description information 100d, "2020-01-08", indicates that the date of the day to which the service consumption asset corresponding to the unit row description information 100d belongs is January 8, 2020. The second half of the unit row description information 100d, "0.0002", indicates that the service consumption asset corresponding to the unit row description information 100d is 0.0002.

[0141] Among them, the historical moment or the current moment corresponding to each unit line description information can be simply referred to as the moment corresponding to each unit line. Here, the moment corresponding to the unit line description information 100d is t1, the moment corresponding to the unit line description information 101d is t2, the moment corresponding to the unit line description information 102d is t3, the moment corresponding to the unit line description information 103d is t4, the moment corresponding to the unit line description information 104d is t5, the moment corresponding to the unit line description information 105d is t6, the moment corresponding to the unit line description information 106d is t7, and the moment corresponding to the unit line description information 107d is t8.

[0142] As shown in the time axis 109d, the moment corresponding to t3 is earlier than the moment corresponding to t4, the moment corresponding to t4 is earlier than the moment corresponding to t7, the moment corresponding to t7 is earlier than the moment corresponding to t8, the moment corresponding to t8 is earlier than the moment corresponding to t6, the moment corresponding to t6 is earlier than the moment corresponding to t5, the moment corresponding to t5 is earlier than the moment corresponding to t2, and the moment corresponding to t2 is earlier than the moment corresponding to t1.

[0143] Therefore, according to each unit line description information, the order of sorting the unit line description information 100d, the unit line description information 101d, the unit line description information 102d, the unit line description information 103d, the unit line description information 104d, the unit line description information 105d, the unit line description information 106d, and the unit line description information 107d from front to back is: the unit line description information 100d, the unit line description information 101d, the unit line description information 104d, the unit line description information 105d, the unit line description information 107d, the unit line description information 106d, the unit line description information 103d, and the unit line description information 102d. This order is also the order of each unit line description information in the unit line sequence. Therefore, the table description information obtained according to the unit line sequence is the table description information 109d. The order of each unit line description information in the table description information 109d is also the order of each unit line description information in the unit line sequence.

[0144] The first data device can generate an asset deduction prompt message according to this table description information. In other words, the asset deduction prompt message can also include this table description information, and this table description information shows the consumed assets (i.e., service fees) of the target user for the held asset objects belonging to the target user every day within a deduction cycle.

[0145] The first data device can also send the generated asset deduction prompt message to the user terminal to which the target user belongs (for example, the terminal device on which the target user logs in to the financial management platform). The user terminal to which the target user belongs can output the asset deduction prompt message on the terminal page, and the output method can be the page display method or the voice broadcast method.

[0146] Among them, the user terminal to which the target user belongs can also respond to the confirmation operation of the target user for the asset deduction prompt information in the terminal page, and deduct the cumulative assets of service consumption that the target user needs to pay from the asset account of the target user.

[0147] Please refer to Figure 6 , Figure 6 which is a page schematic diagram of a terminal page provided by this application. As Figure 6 shown, the terminal device 102e is the user terminal of the target user, and the information displayed in the investment advisor service fee details page shown in the terminal page 100e of the terminal device 102e is the above-mentioned asset deduction prompt information. The asset deduction prompt information may include the table description information 109d obtained in the above Figure 5 .

[0148] In the area 101e of the terminal page 100e, specific deduction details are displayed, including the withdrawn product, withdrawal time, fund destination, and withdrawal amount. Among them, the withdrawal amount 15.34 in the area 101e is the cumulative assets of service consumption that the user needs to pay in the above-mentioned one cycle. The terminal device 102e can respond to the confirmation operation of the target user for the asset deduction prompt information in the terminal page 100e, and deduct 15.34 from the user account of the target user.

[0149] It can be seen from this that when calculating the service consumption assets of the target user for the held asset object to which the target user belongs, the first data device proposed by this application can directly obtain the held asset object to which the target user belongs and the held virtual assets of the target user for this held asset object from the second data device based on the isolated access permission to the asset data table. Therefore, the first data device can quickly calculate the service consumption assets of the target user for the held asset object to which the target user belongs based on the held virtual assets of the target user for the held asset object to which the target user belongs obtained from the second data device.

[0150] In addition, since the first data device can directly obtain the held virtual assets of the target user for the held asset object to which the target user belongs in the second data device, without having to re-statistically calculate the held virtual assets of the target user for the held asset object to which the target user belongs, the utilization rate of the computing resources related to the held virtual assets of the target user for the held asset object to which the target user belongs in the system (including the relevant data processing systems of the first data device and the second data device) is improved, that is, the utilization rate of the computing resources related to the service consumption assets of the target user for the held asset object to which the target user belongs in the system is improved.

[0151] Please refer to Figure 7 , Figure 7 which is a schematic flowchart of a virtual asset data processing method provided by this application. The method may include:

[0152] Step S201, query whether the share reconciliation is completed;

[0153] Specifically, batch running can be understood as settlement, which is executed by the above-mentioned first data device. The reconciliation database is the above-mentioned asset data table, and the reconciliation database is in the second data device. The investment advisor share database and the investment advisor billing database both belong to the first data device. The investment advisor share database is used for the first data device to store the virtual assets held (i.e., shares) of the target user for the held asset object to which the target user belongs, which are obtained from the second data device. The investment advisor billing database is used for the first data device to store the cumulative value (i.e., total fee) of the service consumption assets of the target user for the held asset object to which the target user belongs, which is calculated every day within a cycle.

[0154] Here, if the first data device is to calculate the service consumption assets of the target user for the held asset object on the (D - 1)th day, the first data device can, based on the isolated access permission to the reconciliation database, query the second data device to check whether the transaction reconciliation of the target user for the virtual asset object on the (D - 1)th day is completed (i.e., query whether the share reconciliation is completed here).

[0155] Step S202, after completion, pull the reconciled shares of the user and save them;

[0156] Specifically, if the first data device queries that the share reconciliation of the target user on the (D - 1)th day in the reconciliation database is completed, the first data device can pull the reconciled shares of the user saved in the reconciliation database, and the reconciled shares of the user saved are the virtual assets held by the target user for the held asset object to which the target user belongs on the (D - 1)th day finally.

[0157] Step S203, record the shares held by the user on the (D - 1)th day;

[0158] Specifically, the first data device can store the virtual assets held by the target user for the held asset object to which the target user belongs on the (D - 1)th day finally, which are pulled, into the investment advisor share database.

[0159] Step S204, pull the shares held by the user on the (D - 1)th day;

[0160] Specifically, when the first data device starts to calculate the service consumption assets of the target user for the held asset object on the (D - 1)th day, the first data device can pull the virtual assets held by the target user for the held asset object to which the target user belongs on the (D - 1)th day finally, which were previously recorded, from the investment advisor share database.

[0161] Step S205, calculate the fee for D-1 day;

[0162] Specifically, the first data device can calculate the fee for the (D-1)th day by pulling the virtual assets held by the target user for the held asset object belonging to the user on the (D-1)th day (as well as the corresponding service consumption factors) from the investment advisor share database. The fee for the (D-1)th day is the service consumption assets of the target user for the held asset object belonging to the user on the (D-1)th day.

[0163] Step S206, record the billing details and update the total fee;

[0164] Specifically, the first data device can record the service consumption assets of the target user for the held asset object belonging to the user on the (D-1)th day in the investment advisor billing database and update the total fee. The total fee refers to the cumulative service fee of the target user for the held asset object belonging to the user up to now within the current deduction cycle. For example, if the (D-1)th day is the 3rd day within the current deduction cycle, the updated total fee includes the sum of the service consumption assets for the first 3 days of the current deduction cycle. Another example, if the (D-1)th day is the 5th day within the current deduction cycle, the updated total fee includes the sum of the service consumption assets for the first 5 days of the current deduction cycle. If the (D-1)th day is the last day within the current deduction cycle, the updated total fee is the cumulative service consumption assets for the current deduction cycle.

[0165] By adopting the method of the present application to associate the first data device and the second data device, the first data device can directly and quickly obtain the updated virtual assets held by the target user for the held asset object belonging to the user in the second data device, and quickly calculate the service consumption assets of the target user through the obtained virtual assets held by the target user for the held asset object belonging to the user, improving the calculation efficiency of the service consumption assets.

[0166] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of a virtual asset data processing device provided by the present application. The virtual asset data processing device can be a computer program (including program code) running in a computer device. For example, the virtual asset data processing device is an application software, and the virtual asset data processing device can be used to execute the corresponding steps in the method provided by the embodiments of the present application. The virtual asset data processing device can be applied to the first data device, and the first data device and the second data device are physically isolated from each other. As Figure 8 shown, the virtual asset data processing device 1 may include: an address acquisition module 101, a traversal module 102, an asset acquisition module 103, and a consumption asset determination module 104;

[0167] An address acquisition module 101, configured to acquire an access storage address of the asset data table in the second data device based on the isolated access right to the asset data table in the second data device;

[0168] A traversal module 102, configured to traverse the asset objects in the asset data table based on the access storage address and the user identifier of the target user, so as to obtain the held asset objects to which the target user belongs;

[0169] An asset acquisition module 103, configured to acquire the held virtual assets of the target user for the held asset objects to which the target user belongs from the asset data table;

[0170] A consumed asset determination module 104, configured to determine the service consumed assets of the target user for the held asset objects to which the target user belongs according to the held virtual assets of the target user for the held asset objects to which the target user belongs.

[0171] Among them, for the specific function implementation manners of the address acquisition module 101, the traversal module 102, the asset acquisition module 103, and the consumed asset determination module 104, please refer to Figure 3 Steps S101-S104 in the corresponding embodiment, which will not be elaborated here.

[0172] Among them, the above device 1 further includes: a request generation module 105 and a permission setting module 106;

[0173] A request generation module 105, configured to generate a permission acquisition request for the asset data table; the permission acquisition request carries the device identifier of the first data device and the data table identifier of the asset data table;

[0174] A permission setting module 106, configured to send the permission acquisition request to the second data device, so that the second data device identifies the device identity of the first data device according to the device identifier in the permission acquisition request, and after successfully identifying the device identity of the first data device, set an isolated access right for the first data device for the asset data table according to the data table identifier in the permission acquisition request.

[0175] Among them, for the specific function implementation manners of the request generation module 105 and the permission setting module 106, please refer to Figure 3 Step S101 in the corresponding embodiment, which will not be elaborated here.

[0176] Among them, the first data device belongs to the first blockchain network; the second data device belongs to the second blockchain network;

[0177] The address acquisition module 101 includes: an address request unit 1011 and an address acquisition unit 1012;

[0178] An address request unit 1011, configured to send a storage address acquisition request for an asset data table to a second data device based on a first smart contract in a first data device and an isolated access right to the asset data table in the second data device, so that the second data device parses the storage address acquisition request based on a second smart contract in the second data device to obtain an access storage address of the asset data table indicated by the storage address acquisition request;

[0179] An address acquisition unit 1012, configured to obtain an access storage address sent by the second data device through the second smart contract based on the first smart contract.

[0180] For the specific functional implementation manners of the address request unit 1011 and the address acquisition unit 1012, please refer to Figure 3 Step S101 in the corresponding embodiment, which will not be elaborated here.

[0181] Among them, the traversal module 102 includes: an information generation unit 1021, an access traversal unit 1022, and an asset determination unit 1023;

[0182] The information generation unit 1021 is configured to generate access information based on the access storage address and the user identifier of the target user.

[0183] The access traversal unit 1022 is configured to access the asset data table in the second data device based on the access storage address in the access information, and traverse the accessed asset data table based on the user identifier in the access information to obtain a holding asset object combination of the target user;

[0184] The asset determination unit 1023 is configured to determine at least two asset objects in the holding asset object combination as the holding asset objects belonging to the target user.

[0185] For the specific functional implementation manners of the information generation unit 1021, the access traversal unit 1022, and the asset determination unit 1023, please refer to Figure 3 Step S102 in the corresponding embodiment, which will not be elaborated here.

[0186] Among them, the asset acquisition module 103 is configured to:

[0187] Obtain the virtual assets held by the target user for each holding asset object respectively from the asset data table;

[0188] The consumed asset determination module 104 includes: a factor acquisition unit 1041, a held consumed asset determination unit 1042, and a consumed asset determination unit 1043;

[0189] The factor acquisition unit 1041 is configured to obtain service consumption factors respectively associated with each holding asset object;

[0190] There is a holding consumption asset determination unit 1042, which is used to determine the holding service consumption assets corresponding to each holding asset object respectively according to the service consumption factors associated with each holding asset object respectively and the holding virtual assets of the target user for each holding asset object respectively.

[0191] There is a consumption asset determination unit 1043, which is used to determine the service consumption assets of the target user for the belonging holding asset object according to the holding service consumption assets corresponding to each holding asset object respectively.

[0192] Among them, for the specific functional implementation manners of the factor acquisition unit 1041, the holding consumption asset determination unit 1042, and the consumption asset determination unit 1043, please refer to Figure 3 Step S104 in the corresponding embodiment, which will not be elaborated here.

[0193] Among them, at least two holding asset objects include the holding asset object f n , where n is a positive integer less than or equal to the total number of assets of at least two holding asset objects;

[0194] The factor acquisition unit 1041 includes: a factor acquisition subunit 10411 and a factor determination subunit 10412;

[0195] The factor acquisition subunit 10411 is used to acquire the net asset value of the holding asset object f n and the asset rate of the holding asset object f n ;

[0196] The factor determination subunit 10412 is used to determine the net asset value and the asset rate as the service consumption factors associated with the holding asset object f n .

[0197] Among them, for the specific functional implementation manners of the factor acquisition subunit 10411 and the factor determination subunit 10412, please refer to Figure 3 Step S104 in the corresponding embodiment, which will not be elaborated here.

[0198] Among them, the holding consumption asset determination unit 1042 includes: a product value acquisition subunit 10421 and a consumption asset determination subunit 10422;

[0199] The product value acquisition subunit 10421 is used to acquire the product value among the net asset value, the asset rate, and the holding virtual assets of the target user for the holding asset object f n ;

[0200] The consumption asset determination subunit 10422 is used to determine the product value as the holding asset object fn The corresponding holding service-consuming assets.

[0201] Among them, for the specific functional implementation manners of the product value acquisition subunit 10421 and the consumed asset determination subunit 10422, please refer to Figure 3 Step S104 in the corresponding embodiment, which will not be elaborated here.

[0202] Among them, the traversal module 102 includes: a status determination unit 1024 and a traversal unit 1025;

[0203] The status determination unit 1024 is configured to determine the process reconciliation status of the second data device for the asset reconciliation process in the asset data table based on the accessed storage address; the asset reconciliation process refers to the reconciliation process for the held asset object belonging to the target user;

[0204] The traversal unit 1025 is configured to, when the process reconciliation status is the reconciliation completed status, traverse the asset data table according to the user identifier to obtain the held asset object belonging to the target user.

[0205] Among them, for the specific functional implementation manners of the status determination unit 1024 and the traversal unit 1025, please refer to Figure 3 Step S102 in the corresponding embodiment, which will not be elaborated here.

[0206] Among them, the service-consuming asset is the consumed asset of the target user for the held asset object belonging to the target user at the current moment;

[0207] The above device 1 further includes: a historical asset acquisition module 107 and an accumulated asset determination module 108;

[0208] The historical asset acquisition module 107 is configured to, when the current moment meets the asset deduction period, acquire the historical consumed assets of the target user for the held asset object at the historical moment within the asset deduction period;

[0209] The accumulated asset determination module 108 is configured to determine the service-consuming accumulated assets of the target user for the held asset object within the asset deduction period according to the service-consuming asset at the current moment and the historical consumed assets at the historical moment.

[0210] Among them, for the specific functional implementation manners of the historical asset acquisition module 107 and the accumulated asset determination module 108, please refer to Figure 3 Step S104 in the corresponding embodiment, which will not be elaborated here.

[0211] Among them, the above device 1 further includes: a prompt information generation module 109 and an information sending module 110;

[0212] The prompt information generation module 109 is configured to generate an asset deduction prompt information according to the accumulated assets consumed by the service;

[0213] The information sending module 110 is configured to send the asset deduction prompt information to the user terminal to which the target user belongs, so that the user terminal outputs the asset deduction prompt information on the terminal page;

[0214] The user terminal is further configured to respond to a confirmation operation on the asset deduction prompt information on the terminal page, and deduct the accumulated assets consumed by the service from the asset account of the target user.

[0215] Among them, for the specific function implementation methods of the prompt information generation module 109 and the information sending module 110, please refer to Figure 3 Step S104 in the corresponding embodiment, which will not be elaborated here.

[0216] Among them, the number of historical consumed assets is at least two; the historical moments include the asset generation moments respectively corresponding to each historical consumed asset;

[0217] The prompt information generation module 109 includes: a unit row generation unit 1091, a unit row sequence generation unit 1092, a table generation unit 1093, and a prompt information generation unit 1094;

[0218] The unit row generation unit 1091 is configured to generate unit row description information respectively corresponding to each historical consumed asset and the service consumed asset;

[0219] The unit row sequence generation unit 1092 is configured to sort the unit row description information respectively corresponding to each historical consumed asset and the service consumed asset according to the asset generation moment respectively corresponding to each historical consumed asset and the current moment of the service consumed asset, so as to obtain a unit row sequence;

[0220] The table generation unit 1093 is configured to perform table rendering on the unit row sequence to obtain table description information including the unit row sequence;

[0221] The prompt information generation unit 1094 is configured to generate an asset deduction prompt information according to the table description information.

[0222] Among them, for the specific function implementation methods of the unit row generation unit 1091, the unit row sequence generation unit 1092, the table generation unit 1093, and the prompt information generation unit 1094, please refer to Figure 3 Step S104 in the corresponding embodiment, which will not be elaborated here.

[0223] It can be seen that when calculating the service consumption assets of the target user for the held asset object to which the target user belongs, the first data device of the device proposed in this application can directly obtain the held asset object to which the target user belongs and the virtual assets held by the target user for the held asset object from the second data device based on the isolated access permission to the asset data table. Therefore, the first data device can quickly calculate the service consumption assets of the target user for the held asset object to which the target user belongs based on the virtual assets held by the target user for the held asset object obtained from the second data device.

[0224] Please refer to Figure 9 , Figure 9 which is a schematic structural diagram of a computer device provided by this application. As Figure 9 shown, the computer device 1000 may include: a processor 1001, a network interface 1004, and a memory 1005. In addition, the computer device 1000 may further include: a user interface 1003 and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the user interface 1003 may include a display screen (Display) and a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. Optionally, the memory 1005 may further be at least one storage device located far from the aforementioned processor 1001. As Figure 9 shown, the memory 1005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a device control application program.

[0225] In Figure 9 the computer device 1000 shown, the network interface 1004 can provide network communication functions; while the user interface 1003 is mainly used to provide an input interface for users; and the processor 1001 can be used to call the device control application program stored in the memory 1005 to implement the description of the virtual asset data processing method in the corresponding embodiments above Figure 3 . It should be understood that the computer device 1000 described in this application can also execute the description of the virtual asset data processing device 1 in the corresponding embodiments above Figure 8 , which will not be elaborated here. In addition, the description of the beneficial effects of adopting the same method will not be elaborated either.

[0226] In addition, it should be noted here that: The present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the virtual asset data processing device 1 mentioned above. The computer program includes program instructions. When the processor executes the program instructions, it can execute the description of the virtual asset data processing method in the corresponding embodiment mentioned above. Therefore, it will not be elaborated here. In addition, the description of the beneficial effects of the same method will not be elaborated either. For the technical details not disclosed in the computer storage medium embodiment of the present application, please refer to the description of the method embodiment of the present application. Figure 3 For the description of the virtual asset data processing method in the corresponding embodiment, it will not be elaborated here. In addition, the description of the beneficial effects of the same method will not be elaborated either. For the technical details not disclosed in the computer storage medium embodiment of the present application, please refer to the description of the method embodiment of the present application.

[0227] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The above program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the above storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0228] The above-disclosed are only the preferred embodiments of the present application. Of course, the scope of rights of the present application cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.

Claims

1. A method for processing virtual asset data, characterized in that, executed by a first data device, the first data device being physically isolated from a second data device, the first data device belonging to a first blockchain network, and the second data device belonging to a second blockchain network, including: Based on the first smart contract in the first data device and the isolation access right to the asset data table in the second data device, send a storage address acquisition request for the asset data table to the second data device, so that the second data device parses the storage address acquisition request based on the second smart contract in the second data device, and obtains the access storage address of the asset data table indicated by the storage address acquisition request; Based on the first smart contract, obtain the access storage address sent by the second data device through the second smart contract; Based on the access storage address and the user identification of the target user, traverse the asset objects in the asset data table to obtain the held asset objects to which the target user belongs; From the asset data table, obtain the held virtual assets of the target user for the held asset objects to which the target user belongs; Based on the held virtual assets of the target user for the held asset objects to which the target user belongs, determine the service consumption assets of the target user for the held asset objects to which the target user belongs.

2. The method according to claim 1, characterized in that, the method further includes: Generate a permission acquisition request for the asset data table; the permission acquisition request carries the device identification of the first data device and the data table identification of the asset data table; Send the permission acquisition request to the second data device, so that the second data device identifies the device identity of the first data device according to the device identification in the permission acquisition request, and after successfully identifying the device identity of the first data device, according to the data table identification in the permission acquisition request, set the isolation access right for the first data device to the asset data table.

3. The method according to claim 1, characterized in that, the traversing the asset objects in the asset data table based on the access storage address and the user identification of the target user to obtain the held asset objects to which the target user belongs includes: Generate access information based on the access storage address and the user identification of the target user; Based on the access storage address in the access information, access the asset data table in the second data device, and based on the user identification in the access information, traverse the accessed asset data table to obtain a combination of held asset objects of the target user; Determine at least two asset objects in the combination of held asset objects as the held asset objects to which the target user belongs.

4. The method according to claim 3, characterized in that, the obtaining the held virtual assets of the target user for the held asset objects to which the target user belongs from the asset data table includes: Obtain the virtual assets held by the target user for each of the asset objects held from the asset data table; Determine the service consumption assets of the target user for the asset objects held by the target user according to the virtual assets held by the target user for the asset objects held, including: Obtain the service consumption factors associated with each of the asset objects held; Determine the service consumption assets held corresponding to each of the asset objects held according to the service consumption factors associated with each of the asset objects held and the virtual assets held by the target user for each of the asset objects held; Determine the service consumption assets of the target user for the asset objects held by the target user according to the service consumption assets held corresponding to each of the asset objects held.

5. The method according to claim 4, characterized in that At least two asset-holding objects include the asset-holding object f n , where n is a positive integer less than or equal to the total number of assets of the at least two asset-holding objects; the obtaining the service consumption factors associated with each of the asset objects held includes: Obtain the net asset value of the held asset object f n and the asset rate of the held asset object f n ; Determine the net asset value and the asset rate as service consumption factors associated with the asset holding object f n associated.

6. The method according to claim 5, characterized in that the determining the service consumption assets held corresponding to each of the asset objects held according to the service consumption factors associated with each of the asset objects held and the virtual assets held by the target user for each of the asset objects held includes: Obtain the product value between the net value of the asset, the asset rate, and the virtual assets held by the target user for the asset holding object f n ; Determine the product value as the held asset object f n The corresponding held service consumption asset.

7. The method according to claim 1, characterized in that the traversing the asset objects in the asset data table based on the access storage address and the user identifier of the target user to obtain the asset objects held by the target user includes: Based on the access storage address, determine the process reconciliation status of the second data device for the asset reconciliation process in the asset data table; the asset reconciliation process refers to the reconciliation process for the asset objects held by the target user; When the process reconciliation status is the reconciliation completed status, traverse the asset data table according to the user identifier to obtain the asset objects held by the target user.

8. The method according to claim 1, characterized in that the service consumption assets are the consumption assets of the target user for the asset objects held at the current moment; the method further includes: When the current moment meets the asset deduction period, obtain the historical consumption assets of the target user for the asset objects held at the historical moment within the asset deduction period; Determine the cumulative service consumption assets of the target user for the asset objects held within the asset deduction period according to the service consumption assets at the current moment and the historical consumption assets at the historical moment.

9. The method according to claim 8, characterized in that the method further includes: Generate an asset deduction prompt message according to the cumulative service consumption assets; Send the asset deduction prompt message to the user terminal to which the target user belongs, so that the user terminal outputs the asset deduction prompt message on the terminal page; The user terminal is further configured to respond to a confirmation operation for the asset deduction prompt information in the terminal page, and deduct the accumulated assets consumed by the service from the asset account of the target user.

10. The method according to claim 9, wherein, the number of the historical consumed assets is at least two; the historical moments include the asset generation moments respectively corresponding to each historical consumed asset; generating the asset deduction prompt information according to the accumulated assets consumed by the service includes: generating unit row description information respectively corresponding to each historical consumed asset and the service consumed asset; sorting the unit row description information respectively corresponding to each historical consumed asset and the service consumed asset according to the asset generation moment respectively corresponding to each historical consumed asset and the current moment of the service consumed asset, to obtain a unit row sequence; performing table rendering on the unit row sequence to obtain table description information including the unit row sequence; generating the asset deduction prompt information according to the table description information.

11. A virtual asset data processing device, wherein, applied to a first data device, the first data device is physically isolated from a second data device, the first data device belongs to a first blockchain network, and the second data device belongs to a second blockchain network, and includes: an address acquisition module, configured to send a storage address acquisition request for the asset data table to the second data device based on a first smart contract in the first data device and an isolation access right to the asset data table in the second data device, so that the second data device parses the storage address acquisition request based on a second smart contract in the second data device, and acquires the access storage address of the asset data table indicated by the storage address acquisition request; the address acquisition module is further configured to acquire the access storage address sent by the second data device through the second smart contract based on the first smart contract; a traversal module, configured to traverse asset objects in the asset data table based on the access storage address and a user identifier of a target user, to obtain the held asset objects to which the target user belongs; an asset acquisition module, configured to acquire the virtual assets held by the target user for the held asset objects to which the target user belongs from the asset data table; a consumed asset determination module, configured to determine the service consumed assets of the target user for the held asset objects to which the target user belongs according to the virtual assets held by the target user for the held asset objects to which the target user belongs.

12. The device according to claim 11, wherein, the device further includes: a request generation module, configured to generate a permission acquisition request for the asset data table; the permission acquisition request carries the device identifier of the first data device and the data table identifier of the asset data table. A permission setting module is configured to send the permission acquisition request to the second data device, so that the second data device identifies the device identity of the first data device according to the device identifier in the permission acquisition request. After successfully identifying the device identity of the first data device, according to the data table identifier in the permission acquisition request, set the isolated access permission for the first data device for the asset data table.

13. A computer device, characterized in that, it includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 1-10.

14. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the method according to any one of claims 1-10 is executed.

Citation Information

Patent Citations

  • Service processing method based on big data, server, storage medium and device

    CN109636567A

  • Remote access method and device based on security gateway forwarding

    CN111556085A