User asset view calculation method, system, computer equipment and storage medium
By storing user authorization information and data hash values on the consortium chain and combining it with multi-party secure computing, the problems of data compliance and privacy protection among multiple institutions are solved, and unified computing of user asset views and efficient and orderly business processes are achieved.
Patent Information
- Application Number
- CN202111230871.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-22
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2041-10-22
AI Technical Summary
How to ensure compliance with data usage among multiple institutions, prevent data theft and abuse, and how to ensure the authenticity and reliability of asset data and the orderliness of business processes in multi-party secure computing.
By storing the user's authorization information and the hash value of the authorized data set on the alliance chain, using multi-party secure computing for confidential computing to form a unified asset view, combined with the consensus, difficulty of tampering and traceability of the alliance chain, the compliance use and privacy protection of data are ensured.
It achieves data usage compliance among multiple institutions, ensures the authenticity of user asset data and the efficiency and orderliness of business processes, protects user privacy, and enhances the understanding of the overall picture of user assets.
Smart Images

Figure CN114064800B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security technology, and in particular to a method, system, computer device and storage medium for calculating a user asset view. Background Art
[0002] In traditional customer-centric scenarios, financial institutions and other organizations involved in client assets can only analyze the distribution of clients' assets within their own institutions and provide them with financial and derivative services tailored to their asset capacities. With the trend toward platform-based and scenario-based finance, a user-centric service model is needed. This requires obtaining a user's asset data across various institutions, such as banks, securities companies, insurance companies, trusts, and funds, to create a unified asset view and provide matching financial and derivative services. Ensuring data compliance across multiple institutions and preventing data theft and abuse have become pressing challenges. Summary of the Invention
[0003] Based on this, it is necessary to provide a user asset view calculation method, system, computer equipment and storage medium to address the issue of how to ensure data usage compliance among multiple institutions and prevent data theft and abuse.
[0004] A method for calculating a user asset view is applied to any node in a consortium chain composed of multiple nodes. The method includes storing a hash value of a user's authorization information and an authorization data set on the consortium chain, the authorization data set including a hash value of a node authorization data set of each node, the node authorization data set containing a data set of plaintext information of the user's authorization data obtained by a single node; initiating a user's asset calculation task and storing the asset calculation task on the chain; receiving a calculation scheduling task sent by a platform and performing an authenticity verification on the authorization data sets of the nodes participating in the calculation; when the authenticity verification passes, initiating a multi-party secure calculation to the remaining nodes participating in the asset calculation task, obtaining a unified asset calculation ciphertext result, and storing the unified asset calculation ciphertext result on the chain; the multi-party secure calculation includes performing a secret calculation of a joint weighted sum of the asset data ciphertexts according to the asset weights formed by pre-consensus among the nodes, and returning the calculation result in the form of ciphertext; determining the user's asset level based on the unified asset calculation ciphertext result, and storing the asset level on the chain; and forming a unified asset view calculation result based on the user's asset level.
[0005] The above-mentioned user asset view calculation method leverages the consensus-based, tamper-resistant, and traceable nature of information on the consortium chain to establish a consortium chain among multiple data holders. Each node transmits the user's authorization information and the hash value of the authorized data set to the consortium chain for storage, ensuring the trustworthiness and verifiability of the user's authorized data. The institution sends a user's asset calculation task to the platform, which then stores the task on the chain. The platform verifies user authorization through the consortium chain, ensuring data compliance, preventing data theft and misuse, and ensuring traceability and efficient execution of the entire business process. After confirming authorization, the platform sends a calculation scheduling task to each node participating in the multi-party secure computation. Upon receiving the calculation scheduling task from the platform, the node verifies the authenticity of the participating node's authorized data set. Once the participating node's authorized data set passes the authenticity verification, it initiates a multi-party secure computation with the remaining participating nodes to obtain the unified asset calculation ciphertext result, which is then stored on the chain. The user's asset level is determined based on the encrypted results of the unified asset calculation, and the asset level is stored on-chain. Based on the user's asset level, a unified asset view calculation result is generated. This industry-user asset view calculation method combines multi-party secure computation with consortium blockchains, integrating user business data from other terminals through a confidential computation method to form a comprehensive and secure user asset view calculation system. This ensures the compliant use of user business data, protecting the privacy of users' data on other terminals, while also ensuring the authenticity and credibility of data obtained by terminals, thus enabling efficient and orderly business processes.
[0006] In one embodiment, the authenticity verification of the node authorization data set participating in the calculation includes determining whether the hash value of the node authorization data set participating in the calculation is the same as the hash value of the node authorization data set stored on the consortium chain.
[0007] In one embodiment, when the authenticity check fails, the asset calculation task is terminated.
[0008] In one embodiment, determining the user's asset level based on the unified asset calculation ciphertext result includes performing multiple pairwise comparisons of the unified asset calculation ciphertext result with an asset judgment interval based on multi-party secure computation to determine the user's asset level; the asset judgment interval is formed by pre-consensus among various nodes.
[0009] A method for calculating a user asset view comprises receiving an asset calculation task initiated by a node; obtaining user authorization information on a consortium chain, and verifying the user's authorization status at each node based on the user authorization information; the consortium chain is composed of multiple nodes, and the consortium chain stores the user's authorization information and a hash value of an authorization data set, wherein the authorization data set includes a hash value of a node authorization data set of each node, and the node authorization data set includes a data set of plaintext information of user authorization data obtained by a single node; when the user's authorization verification at each node passes, sending a calculation scheduling task to each node.
[0010] In one embodiment, when the user fails authorization verification at each node, the asset calculation task is terminated.
[0011] A user asset view calculation system includes multiple nodes, and the multiple nodes form a consortium chain. The consortium chain stores the user's authorization information and the hash value of the authorization data set. The authorization data set includes the hash value of the node authorization data set of each node, and the node authorization data set contains a data set of plaintext information of the user's authorization data obtained by a single node; the node is used to initiate the user's asset calculation task and store the asset calculation task on the chain, and is also used to receive the calculation scheduling task sent by the platform, perform authenticity verification on the node authorization data set participating in the calculation, and when the authenticity verification passes, initiate multi-party secure calculation to the remaining nodes participating in the asset calculation task to obtain a unified asset calculation ciphertext result. , and upload the unified asset calculation ciphertext result to the chain for evidence storage; the multi-party secure calculation includes a secret calculation of the joint weighted sum of the asset data ciphertext according to the asset weight formed by the pre-consensus of each node, and returns the calculation result in the form of ciphertext, and is also used to determine the user's asset level based on the unified asset calculation ciphertext result, and upload the asset level to the chain for evidence storage, and is also used to form a unified asset view calculation result based on the user's asset level; the platform is used to receive asset calculation tasks initiated by the node, and is also used to obtain user authorization information on the alliance chain, verify the user's authorization status under each node based on the user authorization information, and send calculation scheduling tasks to each node when the user's authorization verification under each node is passed.
[0012] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the user asset view calculation method described in any one of the above embodiments are implemented.
[0013] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the user asset view calculation method described in any one of the above embodiments are implemented.
[0014] A computer program product includes a computer program, characterized in that when the computer program is executed by a processor, it implements the steps of the user asset view calculation method described in any one of the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the implementation methods of this specification or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the implementation methods or the description of the prior art. Obviously, the drawings described below are only some implementation methods recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0016] Figure 1 A schematic diagram of a method flow for calculating a user asset view according to one embodiment of the present disclosure;
[0017] Figure 2 A schematic diagram of a method flow for calculating a user asset view according to another embodiment of the present disclosure;
[0018] Figure 3 This is a structural block diagram of a business data interaction system according to another embodiment of the present disclosure;
[0019] Figure 4 This is a structural block diagram of a user asset view computing system according to one embodiment of the present disclosure;
[0020] Figure 5 A block diagram of a user asset view computing device or system according to one embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] To facilitate understanding of the present invention, the present invention will be described more fully below with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the accompanying drawings. However, the present invention may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the present disclosure.
[0022] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may also be an element centered thereon. When an element is considered to be "connected" to another element, it may be directly connected to the other element or there may be an element centered thereon at the same time. The terms "vertical", "horizontal", "left", "right", "up", "down", "front", "rear", "circumferential" and similar expressions used herein are based on the orientation or positional relationship shown in the accompanying drawings and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this invention pertains. The terms used in this specification of the present invention are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0024] With the development of multi-party secure computation (MPCC) technology, it has begun to be introduced in traditional financial scenarios. MPC ensures that data holders can complete interactive computations without leaking plaintext data, achieving "available but invisible" data. During the construction of a unified asset view, data security and data exchange are prioritized. However, the lack of visibility of plaintext data makes it difficult to verify the authenticity of asset data exchanged, leading to the possibility of false or unnecessary asset data being provided during specific calculations. Furthermore, due to data invisibility, the entire data exchange process is opaque, making it impossible to verify the authenticity of data authorization relationships. All information exchanged can only be stored in the system or locally. Especially when multiple institutions are involved in a task, it is difficult to verify the orderly progress of the unified asset view construction process and to accurately trace and review the process. Its effectiveness and efficiency need to be improved. Establishing a unified asset view for users across multiple institutions while ensuring data compliance, user privacy, asset data reliability, and orderly business processes has become a challenge.
[0025] The above user asset view calculation method is applied to any node in a consortium chain composed of multiple nodes. The consortium chain stores user authorization information and the hash value of the authorized data set. Each node can only use the user's asset data after obtaining data authorization from the user.
[0026] The authorization data set includes the hash value of each node's node authorization data set. This means that each node's node authorization data set is hashed using a hash algorithm, resulting in a corresponding hash value for each node. The hash algorithm can generate fixed-length data from any given data size as its mapping. If the data is damaged in the slightest during storage or transmission, the hash value corresponding to the altered data will also change. Therefore, hash values can be used to ensure that the data used in calculations has not been tampered with.
[0027] The authorization data set is the combination of the hash values corresponding to the node authorization data sets of each node. The authorization data set is hashed again using a hash algorithm to obtain its hash value, which is then stored in the consortium chain. At the same time, the node authorization data set also contains the plaintext information of the user authorization data obtained by each node, i.e., the asset data that each node can use with user authorization.
[0028] Figure 1 This is a flowchart of a method for calculating a user asset view according to one embodiment of the present disclosure. In one embodiment, the method for calculating a user asset view includes the following steps S100 to S500.
[0029] Step S100: Initiate the user's asset calculation task and store the asset calculation task on the chain.
[0030] In some embodiments of the present disclosure, the application scenario of the user asset view calculation method of the present disclosure is the financial services industry. A financial institution is regarded as a node, and a user asset view calculation system is deployed in the local private domain of the financial institution. A reliable alliance chain is established between the terminals of multiple institutions through blockchain technology, and the platform can be used to verify and manage multiple institutions. Each node, platform, and alliance chain can interact freely with each other. When building a user-centric service model, the system needs to obtain the asset data of the user in different institutions such as banks, securities, insurance, trusts, funds, etc. Financial institutions can form a unified asset view by interacting with asset data, and provide users with matching financial and derivative services based on the unified asset view.
[0031] When the first node initiates an asset calculation task for a user, it is transmitted to the platform and uploaded to the consortium chain for on-chain evidence storage. Any financial institution can interact with the consortium chain multiple times during the asset view calculation process, transmitting key information involved in each step of the multi-party secure calculation to the consortium chain for on-chain evidence storage and access to information related to the unified asset view. Before asset data calculations, institutions can also obtain user authorization information from the consortium chain through the platform for comparison and verification, ensuring that the asset data calculation is performed with user authorization.
[0032] For example, if Institution A needs to perform a unified asset calculation for User X across three institutions, Institution A, B, and C, Institution A can submit an asset calculation task for User X to the platform. Simultaneously, this asset calculation task can be transferred to the consortium blockchain for on-chain storage. Upon receiving the calculation task request, the platform can verify User X's authorization status with Institutions A, B, and C by obtaining the user's authorization information from the consortium blockchain.
[0033] Step S200: Receive the computing scheduling task sent by the platform, and perform authenticity verification on the authorized data set of the nodes participating in the computing.
[0034] Once the platform determines that the user has completed authorization on each node, it will determine that the asset calculation task can proceed. The platform sends the calculation scheduling task to each node. After receiving the calculation scheduling task, the node can verify the authenticity of the node authorization data set for parameter calculation to ensure that the data participating in the multi-party secure calculation is authentic and secure.
[0035] For example, when the platform determines that organizations A, B, and C have all obtained the authorization information of user X, the platform will send a computing scheduling task to organizations A, B, and C. After the three nodes of organizations A, B, and C receive the computing scheduling task sent by the server, they will respectively verify the authenticity of the authorization data sets of the nodes participating in the calculation.
[0036] Step S300: When the authenticity check passes, a multi-party secure computation is initiated to the remaining nodes participating in the asset computation task to obtain a unified asset computation ciphertext result, and the unified asset computation ciphertext result is uploaded to the chain for evidence storage; the multi-party secure computation includes a secret computation of the asset data ciphertext in accordance with the asset weights formed by the pre-consensus of each node, performing a joint weighted summation, and returning the computation result in the form of ciphertext.
[0037] In one embodiment, any one of the multiple nodes that build the alliance chain can perform initial settings for the multi-party secure computing protocol and store it on the chain. The remaining nodes can obtain the stored initial value of the multi-party secure computing protocol through the alliance chain and reach a consensus.
[0038] In one embodiment, the multi-party secure computation protocol includes methods for calculating user asset data, including asset weights, asset judgment intervals, and asset grades. Each node can leverage the consortium chain to reach consensus on these methods for computing tasks. This allows for the storage and access of information from interactive processes, including data user authorization, task initiation, data verification, data computation, and results, to ensure data reliability and verifiability, enabling traceability and efficient, orderly execution of the entire business process.
[0039] When the authorized data sets of all participating nodes have passed authenticity verification, any node can initiate a multi-party secure computation with the remaining nodes participating in the asset computation task. Each node can utilize multi-party secure computation to implement confidential computation tasks that are "available but invisible" to all user business data. The multi-party secure computation protocol encrypts the original data involved in the user asset computation into confidential shards. These confidential shards then interact with each other across multiple nodes through the multi-party secure computation protocol to obtain the computation results.
[0040] For example, institution A initiates an anonymous query to institutions B and C. After receiving the query results, institutions B and C encrypt the locally retrieved user business data involved in the user asset calculation and return it as encrypted shards for further calculation. A weighted summation of the encrypted asset data is performed according to the asset weights agreed upon in advance by the three parties, resulting in a unified asset calculation ciphertext result. This unified asset calculation ciphertext result is then returned in encrypted form to institutions A, B, and C, respectively. This unified asset calculation ciphertext result can also be transmitted to the consortium blockchain for on-chain storage.
[0041] The multi-party secure computation protocol enables interactive computations across multiple nodes to obtain results. All interactive information during the computation process is encrypted, making it impossible to decipher the plaintext information. This ensures that all user business data remains stored in plaintext and is only exchanged with other terminals in ciphertext. The anonymous query function of multi-party secure computation enables anonymous queries of user business data on other terminals. This means that institutions B and C cannot know that institution A is querying user X, but institution A can obtain encrypted shards of user X's asset data at institutions B and C. This prevents other terminals from accessing the query information of the terminal performing the query, protecting user privacy and terminal information security. By storing and accessing all types of information during the interactive process on the consortium chain, data reliability and verifiability are ensured, ensuring traceability and efficient and orderly execution of the entire business process.
[0042] Step S400: Determine the user's asset level based on the unified asset calculation ciphertext result, and store the asset level on the chain.
[0043] Step S500: generating a unified asset view calculation result based on the user's asset level.
[0044] Each node stores the encrypted unified asset calculation results received locally within the institution. Based on multi-party secure computation, nodes can perform multiple pairwise comparisons of the unified asset calculation results against the asset judgment intervals pre-agreed upon by each node to determine the user's asset tier and store this tier on-chain. Institutions can then obtain the unified asset view calculation results based on the user's asset tier. Using the unified asset view calculation results, the system can gain a more comprehensive understanding of the user's total assets and distribution.
[0045] The aforementioned user asset view calculation method sends all relevant data involved in each business calculation step to the consortium chain for on-chain storage. This ensures that data at every stage of the business calculation process is trustworthy and verifiable, enabling traceability and efficient, orderly execution of the entire business process. During the specific business data calculation phase, a computation task request is sent to the platform, which then verifies authorization status against the user's authorization information stored on the consortium chain, ensuring that multi-party secure computation is conducted with authorization. Multi-party secure computation protects user data privacy during the calculation process, and anonymous queries within the multi-party secure computation prevent other institutions from obtaining detailed information about the queried user. This user asset view calculation method leverages the consensus-based, tamper-resistant, and traceable nature of information on the consortium chain to establish a consortium chain among multiple data holders. All information involved in the data exchange process is stored and retrieved on the consortium chain, ensuring trustworthiness and verifiability, enabling traceability and efficient, orderly execution of the entire business process.
[0046] By combining multi-party secure computing and consortium blockchains, the target user's business data from other institutions is introduced through confidential computing, forming a rich and comprehensive business data computing system. This user business data can be used in compliance with regulations, protecting the privacy of the user's asset data in other institutions, ensuring the authenticity and credibility of asset data, and enabling efficient and orderly business processes. This helps enhance institutions' understanding of the full picture of user assets, build a higher-quality high-net-worth customer base, and provide users with more accurate and tailored financial services.
[0047] In one embodiment, the consortium chain can store key information in the user asset view calculation process. Key information in the user asset view calculation process includes user authorization information, hash value information of the authorized data set, multi-party secure calculation information to reach consensus on asset weights / asset judgment ranges / asset levels, encryption information, and all task information in the calculation process, including initiation information, verification information, calculation results (user weighted assets, asset level), etc.
[0048] Consortium chains are used to store user authorization information across various institutions on-chain. When using business data, servers can verify user authorization via the consortium chain to ensure data compliance and prevent data theft and abuse. Business data and other relevant information involved in data interaction and calculations are stored on-chain. Data holders leverage the tamper-resistant nature of consortium chains to encrypt and store data on-chain, ensuring data credibility and verifiability, enabling traceability and efficient, orderly execution of the entire business process.
[0049] In one embodiment, authenticity verification of the node authorization data set participating in the calculation includes determining whether the hash value of the node authorization data set participating in the calculation is the same as the hash value of the node authorization data set stored on the consortium chain.
[0050] Each node uses a hash algorithm to hash its locally stored node authorization data set and obtain the hash value corresponding to the locally stored node authorization data set. Before any node performs multi-party secure computation, it can compare and verify the hash value corresponding to the locally stored node authorization data set with the hash value of the node authorization data set pre-stored in the consortium chain to determine whether the hash value corresponding to the locally stored node authorization data set is the same as the hash value of the node authorization data set pre-stored in the consortium chain to complete the authenticity verification.
[0051] According to the characteristics of the hash algorithm, if the data is damaged in the slightest during storage or transmission, the hash value corresponding to the changed data will also change. Therefore, when the node determines that the hash value corresponding to the locally stored node authorization data set is the same as the hash value of the node authorization data set pre-stored in the alliance chain, it ensures that the locally stored data has not been tampered with. In this way, the authenticity of the user asset data participating in the calculation can be verified before the multi-party secure computing task begins, so as to reduce the probability of data being maliciously tampered with, prevent institutions from using inconsistent false data to participate in the calculation, and enhance the reliability of the data.
[0052] In one embodiment, each node will continue to perform multi-party secure computation only after the authenticity verification is successful. When the authenticity verification fails, the asset computation task is terminated.
[0053] In one embodiment, determining a user's asset level based on the unified asset calculation ciphertext result includes performing multiple pairwise comparisons of the unified asset calculation ciphertext result with an asset judgment interval based on multi-party secure computation to determine the user's asset level. The asset judgment interval is pre-agreed upon by each node. Based on the multi-party secure computation, the nodes can perform multiple pairwise comparisons of the unified asset calculation ciphertext result with the pre-agreed asset judgment intervals to determine the user's asset level, and store the determined user asset level on-chain. The computation initiator cannot obtain the specific asset results of the multi-party secure computation and can only determine the user's asset level through multiple comparisons with the asset judgment interval.
[0054] For example, if Institution A initiates a multi-party secure computation and the calculated result is that User X's weighted assets are 3.5 million, this asset value falls within the asset range [3 million, 5 million] pre-agreed by Institutions A, B, and C, and the asset level corresponding to this range is V3. Institution A then performs multiple pairwise comparisons based on the unified asset calculation ciphertext it receives and the asset judgment range pre-agreed by each node. Institution A will only determine that User X's asset level is V3 and will not be able to determine that User X's total assets are 3.5 million.
[0055] Figure 2 This is a flow chart of a method for calculating a user asset view according to another embodiment of the present disclosure. In one embodiment, the method for calculating a user asset view includes the following steps S10 to S30.
[0056] Step S10: receiving the asset calculation task initiated by the node.
[0057] When any node initiates an asset calculation task, the platform will receive the asset calculation task initiated by the node.
[0058] Step S20: Obtain the user authorization information on the alliance chain, and verify the user's authorization status under each node based on the user authorization information; the alliance chain is composed of multiple nodes, and the alliance chain stores the user's authorization information and the hash value of the authorization data set. The authorization data set includes the hash value of the node authorization data set of each node, and the node authorization data set contains a data set of the plaintext information of the user authorization data obtained by a single node.
[0059] The platform verifies the authorization status of the target user at each node by obtaining the user authorization information corresponding to the user stored on the alliance chain.
[0060] Step S30: When the user passes the authorization verification at each node, the computing scheduling task is sent to each node.
[0061] When the platform obtains user authorization information that includes the user's authorization information on all nodes, it can be determined that the user has completed authorization on all nodes. The platform can then determine that the asset computing tasks initiated by the nodes can continue to execute. After completing the verification of user authorization, the platform will send the computing scheduling tasks to each node.
[0062] By using a consortium chain to store user authorization information for each node, the platform can leverage this information to verify user authorization within each node, ensuring data compliance and preventing data theft and misuse. The platform can also schedule computing tasks based on verification results, dispatching computing nodes within the corresponding organization to perform multi-party secure computing tasks. Multi-party secure computing enables confidential computing tasks where data is "available but invisible," ensuring that user asset data within each organization remains stored in plaintext and interacts only with other organizations' asset data in ciphertext. Anonymous queries can be used to query users on other nodes, preventing other nodes from obtaining information about the node initiating the computing task, thus protecting user privacy and the trade secrets of the node initiating the computing task.
[0063] In one embodiment, the asset calculation task is terminated when the user's authorization verification fails at each node. If the user authorization information stored in the consortium chain only includes the user's authorization information for some nodes, or does not include the user's authorization information for any node, the platform will determine that the authorization verification has failed and terminate the node's asset calculation task. Specifically, if the user fails to complete authorization for any one or more of the participating nodes, the platform may determine that the calculation task does not meet the requirements and terminate it. The platform may send a calculation task termination message to the node that initiated the asset calculation task.
[0064] Figure 3 This is a flowchart illustrating a business data interaction method according to another embodiment of the present disclosure. In order to better illustrate the business process of interaction using the above-mentioned user asset view calculation method in a user asset view calculation system, the application scenario of data interaction in the financial services industry is taken as an example. Institution A needs to perform unified asset calculation for user X under institutions A, B, and C, but this should not be understood as a limitation on the scope of the invention patent.
[0065] Institutions A, B, and C deploy a user asset view calculation system locally, establishing a reliable consortium chain across multiple institutions using blockchain technology. The platform provides unified management of these institutions, enabling free interaction between the platform, individual institutions, and the consortium chain. Institutions A, B, and C obtain user authorization information for their asset data and store the hash value of the authorized data set on the consortium chain. The consortium chain can also store other key information in the multi-party secure calculation process. Key information in the user asset view calculation process includes user authorization information, the hash value of the authorized data set, multi-party secure calculation information for reaching consensus on asset weights, asset judgment ranges, and asset levels, encryption information, and all task information in the calculation process, including initiation information, verification information, and calculation results (user-weighted assets, asset levels). In subsequent operations, institutions A, B, C, and the platform can retrieve any stored evidence from the consortium chain.
[0066] After completing the construction of the alliance chain and information storage, any one of institutions A, B, and C can make initial settings for asset weights, asset judgment ranges, and asset grades, and the three institutions reach a consensus on the above initial values through the alliance chain.
[0067] Institution A sends a computation task for user X's assets under institutions A, B, and C to the platform, and simultaneously stores the computation task on-chain. The platform verifies user X's authorization status with institutions A, B, and C by obtaining user authorization information on the consortium chain. If user X has not authorized asset data with any one or more of institutions A, B, and C, the computation task will be terminated by the platform. If the platform verifies that institutions A, B, and C have all obtained authorization from user X, it sends the computation scheduling task to institutions A, B, and C. After receiving the computation scheduling task, institutions A, B, and C compare the hash value of the local dataset participating in the computation with the hash value of the dataset stored on the consortium chain to verify the authenticity of the data.
[0068] After verifying the authenticity of the dataset's hash value, Institution A can initiate a multi-party secure computation against Institutions B and C. This allows Institution A to perform anonymous queries. Institutions B and C cannot tell that Institution A's query is targeting User X, but Institution A can obtain the encrypted shards of User X's asset data at Institutions B and C. A joint weighted summation of the asset data is performed in a secret state based on the asset weights agreed upon in advance by the three parties. Institution A receives a unified asset calculation result in encrypted form. Institution A stores the unified asset calculation result locally and posts the result to the blockchain for evidence. Based on the multi-party secure computation, Institution A can also perform multiple pairwise comparisons of the calculation result against the asset judgment interval to determine User X's asset rank, which is then posted to the blockchain for evidence. Once Institution A has obtained User X's asset rank, it can calculate the unified asset view for User X based on the asset rank.
[0069] Based on the above-mentioned user asset view calculation method, each institution can send user authorization information for data involved in the unified asset view calculation to the consortium chain for on-chain storage. During the specific asset data calculation phase, user authorization information can be retrieved from the consortium chain for comparison and verification to ensure that the calculation is performed with authorization. Multi-party secure computation is used to protect data privacy during the user asset calculation process. Anonymous queries within the multi-party secure computation prevent other institutions from obtaining detailed information about the queried user. Asset range calculation and obfuscated results prevent institutions from inferring a user's specific asset data at other institutions. This system, leveraging the consensus-based, tamper-resistant, and traceable nature of information on the consortium chain, establishes a consortium chain among multiple data holders. This system reaches consensus on information such as asset weights, asset judgment ranges, and asset levels in calculation tasks. It also stores and retrieves information from various interactive processes, including data user authorization, task initiation, data verification, data calculation process, and data calculation results, on the consortium chain. This ensures data trustworthiness and verifiability, enabling traceability and efficient, orderly execution of the entire business process.
[0070] It should be understood that although Figure 1-Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 1-Figure 3 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The order of execution of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0071] Based on the description of the embodiment of the user asset view calculation method described above, the present disclosure also provides a user asset view calculation system. The system may include a system (including a distributed system), software (application), modules, components, servers, clients, etc. that use the method described in the embodiments of this specification and a device combined with necessary implementation hardware. Based on the same innovative concept, the system in one or more embodiments provided in the embodiments of the present disclosure is as described in the following embodiments. Since the implementation scheme and method for solving the problem of the system are similar, the implementation of the specific system of the embodiment of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements predetermined functions. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and conceived.
[0072] Figure 4 This is a structural block diagram of a user asset view computing system according to another embodiment of the present disclosure. In one embodiment, the user asset view computing system includes a platform and multiple nodes.
[0073] Multiple nodes form a consortium chain, which stores user authorization information and the hash value of the authorization data set. The authorization data set includes the hash value of the node authorization data set of each node. The node authorization data set contains the plaintext information of the user authorization data obtained by a single node.
[0074] Nodes are responsible for initiating user asset calculation tasks and storing these tasks on-chain. They also receive calculation scheduling tasks from the platform, verify the authenticity of the authorized data sets of participating nodes, and, if the authenticity verification passes, initiate multi-party secure computation with the remaining participating nodes to obtain a unified asset calculation ciphertext result, which is then stored on-chain. Multi-party secure computation involves performing a secret computation on the ciphertext of asset data, performing a weighted summation based on the asset weights pre-agreed by each node, and returning the result in ciphertext. Nodes also determine the user's asset rank based on the unified asset calculation ciphertext result, store this rank on-chain, and generate a unified asset view calculation result based on the user's asset rank.
[0075] The platform is used to receive asset computing tasks initiated by nodes, obtain user authorization information on the alliance chain, verify the user's authorization status at each node based on the user authorization information, and send computing scheduling tasks to each node when the user's authorization verification at each node passes.
[0076] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0077] It should be understood that the various embodiments of the above-mentioned methods, systems, etc. in this specification are described in a progressive manner. The same / similar parts between the various embodiments can be referred to in detail. Each embodiment focuses on the differences from other embodiments. For related parts, please refer to the descriptions of other method embodiments.
[0078] Figure 5 FIG. 1 is a block diagram of a user asset view computing device or system according to an embodiment of the present disclosure. Figure 5 The user asset view computing device or system S00 includes a processing component S20, which further includes one or more processors and a memory resource represented by a memory S22 for storing instructions, such as applications, that can be executed by the processing component S20. The application stored in the memory S22 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component S20 is configured to execute the instructions to perform the above-described method.
[0079] The user asset view computing device or system S00 may further include: a power supply component S24 configured to perform power management of the user asset view computing device or system S00, a wired or wireless network interface S26 configured to connect the user asset view computing device or system S00 to a network, and an input / output (I / O) interface S28. The user asset view computing device or system S00 may operate based on an operating system stored in the memory S22, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, or the like.
[0080] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory S22 including instructions. The instructions are executable by a processor of the user asset view computing device or system S00 to perform the above method. The storage medium can be a computer-readable storage medium, such as a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0081] In an exemplary embodiment, a computer program product is also provided. The computer program product includes instructions that can be executed by a processor of the user asset view computing device or system S00 to implement the above method.
[0082] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences from the other embodiments. In particular, the hardware + program embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
[0083] It should be noted that the aforementioned devices, electronic devices, servers, etc., according to the description of the method embodiments, may also include other implementation methods. For specific implementation methods, reference can be made to the description of the relevant method embodiments. At the same time, new embodiments formed by combining features between various method, device, equipment, and server embodiments still fall within the scope of implementation covered by this disclosure and are not described in detail here.
[0084] Throughout this specification, references to terms such as "some embodiments," "other embodiments," and "desired embodiments" indicate that a particular feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. Although these terms are used interchangeably throughout this specification, they do not necessarily refer to the same embodiment or example.
[0085] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0086] The above-described embodiments merely represent several implementations of the present invention. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent. It should be noted that a person skilled in the art would be able to make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the patent for this invention shall be determined by the appended claims.
Claims
1. A method for calculating user asset views, applied to any node in a consortium chain consisting of multiple nodes, characterized in that: The method comprises: The alliance chain stores the user's authorization information and the hash value of the authorization data set. The authorization data set includes the hash value of the node authorization data set of each node. The node authorization data set contains a data set of the plaintext information of the user's authorization data obtained by a single node; Initiate the user's asset calculation task and store the asset calculation task on the chain; Receive computing scheduling tasks sent by the platform and verify the authenticity of the authorized data set of nodes participating in the computing; When the authenticity check passes, a multi-party secure computation is initiated to the remaining nodes participating in the asset computation task to obtain a unified asset computation ciphertext result, which is then uploaded to the blockchain for evidence storage. The multi-party secure computation includes performing a secret computation on the asset data ciphertext in accordance with the asset weights pre-consensused by each node, performing a joint weighted summation of the asset data ciphertext, and returning the computation result in ciphertext form. Determine the user's asset level based on the encrypted result of the unified asset calculation, and store the asset level on the chain; A unified asset view calculation result is formed based on the asset level of the user.
2. The method for calculating user asset view according to claim 1, characterized in that: The authenticity verification of the node authorization data set participating in the calculation includes: Determine whether the hash value of the node authorization data set participating in the calculation is the same as the hash value of the node authorization data set stored on the consortium chain.
3. The method for calculating user asset view according to claim 1 or 2, characterized in that: When the authenticity check fails, the asset calculation task is terminated.
4. The method for calculating user asset view according to claim 1, characterized in that: Determining the user's asset level based on the unified asset calculation ciphertext result includes: Based on multi-party secure computing, the unified asset calculation ciphertext result is compared with the asset judgment interval multiple times to determine the user's asset level; the asset judgment interval is formed by pre-consensus of each node.
5. A method for calculating user asset view, characterized in that: include: Receive asset calculation tasks initiated by nodes; Obtaining user authorization information on the consortium chain, and verifying the user's authorization status at each node based on the user authorization information; the consortium chain is composed of multiple nodes, and the consortium chain stores the user's authorization information and the hash value of the authorization data set, the authorization data set includes the hash value of the node authorization data set of each node, and the node authorization data set includes a data set of plaintext information of the user's authorization data obtained by a single node; When the user passes the authorization verification at each node, a computing scheduling task is sent to each node; The node is configured to, after receiving the computation scheduling task, perform authenticity verification on the authorized data set of the nodes participating in the computation. When the authenticity verification passes, initiate a multi-party secure computation to the remaining nodes participating in the asset computation task, obtain a unified asset computation ciphertext result, and store the unified asset computation ciphertext result on-chain. The user's asset level is determined based on the unified asset computation ciphertext result, and the asset level is stored on-chain. A unified asset view computation result is formed based on the user's asset level. The multi-party secure computation includes performing a secret calculation of the joint weighted sum of the ciphertext of the asset data according to the asset weights formed by the pre-consensus of each node, and returning the calculation result in the form of ciphertext.
6. The method for calculating user asset view according to claim 5, characterized in that: When the user fails the authorization verification at each node, the asset calculation task is terminated.
7. A user asset view calculation system, characterized in that: include: A plurality of nodes, wherein the plurality of nodes constitute a consortium chain, wherein the consortium chain stores user authorization information and a hash value of an authorization data set, wherein the authorization data set includes a hash value of a node authorization data set of each node, and the node authorization data set includes a data set of plaintext information of user authorization data obtained by a single node; The node is used to initiate a user's asset calculation task and store the asset calculation task on the chain. It is also used to receive calculation scheduling tasks sent by the platform, verify the authenticity of the authorized data set of the nodes participating in the calculation, and, when the authenticity verification passes, initiate multi-party secure calculation to the remaining nodes participating in the asset calculation task, obtain a unified asset calculation ciphertext result, and store the unified asset calculation ciphertext result on the chain. The multi-party secure calculation includes performing a secret state calculation of the joint weighted sum of the asset data ciphertext according to the asset weight formed by the pre-consensus of each node, and returning the calculation result in the form of ciphertext. The node is also used to determine the user's asset level based on the unified asset calculation ciphertext result, store the asset level on the chain, and form a unified asset view calculation result based on the user's asset level. The platform is used to receive asset computing tasks initiated by nodes, obtain user authorization information on the alliance chain, verify the user's authorization status under each node based on the user authorization information, and send computing scheduling tasks to each node when the user's authorization verification under each node is passed.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the user asset view calculation method described in any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the user asset view calculation method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the user asset view calculation method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Platform docking method based on blockchain, electronic device and storage medium
CN112003858A