Asset certification method and device based on blockchain
By using the zero-knowledge proof system to generate and verify asset proofs on the blockchain, the problem of privacy information leakage during the asset proof process is solved, safe and efficient asset verification is achieved, and service costs are reduced.
Patent Information
- Application Number
- CN202011368257.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-27
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-11-27
AI Technical Summary
There is a risk of personal user privacy information leakage in the existing asset proof process, especially in scenarios such as house purchase lottery. The transmission and verification of frozen asset information may leak user's financial information.
The blockchain-based asset proof method is adopted, and the asset proof is generated and verified using the zero-knowledge proof system. The proof key and verification key are stored through the blockchain nodes to ensure that the user's privacy information is not leaked during the generation and verification of the asset proof.
It reduces the risk of personal user privacy information leakage during the process of obtaining deposit certificates, achieves the effect of protecting user asset privacy information, improves information security, and can verify without freezing assets, reducing service costs.
Smart Images

Figure CN112347516B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based asset certification method and device. Background Art
[0002] Asset certificates generally refer to certificates issued by banks to depositors that can prove the depositor's deposit balance at a certain point in time or the amount of deposits in a certain period, as well as certificates that prove the depositor has a deposit balance in the bank that cannot be used before a certain point in the future. Asset certificates are usually used in scenarios such as lottery for house purchases, studying abroad, and overseas travel.
[0003] In existing technical solutions, for example, before the lottery for home purchase, the real estate company first establishes an asset freezing service with the bank, then notifies individual users that they can apply to the designated bank to freeze the assets in their personal accounts, and then submits a screenshot of the bank's frozen asset information to the real estate company, and finally the real estate company verifies the validity of the screenshot with the bank. Although the above common methods can accurately determine whether the assets of individual users meet the requirements, there is a risk of leaking the privacy information of individual users. Summary of the invention
[0004] The purpose of the present invention is to provide a blockchain-based asset certification method and device to reduce the risk of leakage of personal user privacy information in the process of obtaining deposit certificates.
[0005] In a first aspect, an embodiment of the present invention provides an asset proof method based on blockchain, which is applied to a blockchain node, including: receiving an asset proof generation request; the asset proof generation request is sent by a first requester to the blockchain node; generating an asset proof based on the asset proof generation request and a proof key of a zero-knowledge proof system; the proof key of the zero-knowledge proof system is stored in the blockchain node; and sending the asset proof to the first requester.
[0006] In a possible implementation, the method further includes: receiving an encrypted asset certificate sent by a second requesting party; and verifying the encrypted asset certificate based on a verification key of a zero-knowledge proof system.
[0007] In one possible implementation, before the step of receiving the encrypted asset certificate sent by the second requester, it also includes: the first requester determines the encrypted asset certificate based on the asset certificate; the encrypted asset certificate includes the result of whether the user asset data meets the first threshold; the first requester sends the encrypted asset certificate to the second requester.
[0008] In a possible implementation manner, the asset certificate generation request includes: basic information of the first requesting party.
[0009] In a possible implementation, after the step of receiving the asset proof generation request, it also includes: verifying the qualifications of the first requester based on the basic information of the first requester; generating a qualification verification result of the first requester; when the qualification verification result of the first requester is valid, generating an asset certificate based on the asset proof generation request and the proof key of the zero-knowledge proof system.
[0010] In a possible implementation, the step of generating an asset proof based on the asset proof generation request and the proof key of the zero-knowledge proof system includes: obtaining asset proof generation information based on the asset proof generation request; wherein the asset proof generation information includes: basic information of the user, basic information of the first requesting party and asset data of the user; verifying the asset proof generation information using the zero-knowledge proof system; and encrypting the verified asset proof generation information based on the proof key to obtain the asset proof.
[0011] In one possible implementation, the step of verifying the encrypted asset certificate based on the verification key of the zero-knowledge proof system includes: decrypting the encrypted asset certificate using the verification key to obtain asset certificate verification parameters; inputting the asset certificate verification parameters into the verification function of the zero-knowledge proof system to obtain a verification result.
[0012] In a possible implementation, the asset proof verification parameters include: basic information of the first requester, basic information of the user, and a character string representing the user's asset data.
[0013] In a possible implementation, the asset proof verification parameters are input into the verification function of the zero-knowledge proof system, and the step of obtaining the verification result includes: verifying the validity of the first requester based on the basic information of the first requester and the public key of the first requester; and verifying the consistency of the user based on the basic information of the user.
[0014] In a second aspect, an embodiment of the present invention provides an asset proof method based on blockchain, which is applied to a first requester and includes: obtaining the asset data of the user based on the personal asset proof application information sent by the user; wherein the personal asset proof application information includes the basic information of the user; determining an asset proof generation request based on the asset data of the user and the basic information of the first requester; sending the asset proof generation request to a blockchain node; receiving the asset proof generated by the blockchain node, and determining an encrypted asset proof based on the asset proof; the encrypted asset proof includes the result of whether the user asset data meets a first threshold; and sending the encrypted asset proof to a second requester.
[0015] In one possible implementation, the method is applied to a second requesting party, and includes: receiving the encrypted asset certificate; sending the encrypted asset certificate to the blockchain node; and receiving a verification result of the encrypted asset certificate by the blockchain node.
[0016] In the third aspect, an embodiment of the present invention provides an asset proof device based on blockchain, which is applied to a first requesting party, including: a first receiving module, used to receive an asset proof generation request; the asset proof generation request is sent by the first requesting party to the blockchain node; an asset proof generation module, used to generate an asset proof based on the asset proof generation request and a proof key of a zero-knowledge proof system; the proof key of the zero-knowledge proof system is stored in the blockchain node; a first sending module, used to send the asset proof to the first requesting party.
[0017] In a fourth aspect, an embodiment of the present invention provides a terminal, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the steps of the method described in any one of the above embodiments are implemented.
[0018] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores machine-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method described in any one of the above-mentioned embodiments.
[0019] The present invention provides a blockchain-based asset certification method and device, which is applied to a blockchain node, including: first receiving an asset certification generation request, which is sent by a first requester to the blockchain node; then generating an asset certification based on the asset certification generation request and a certification key of a zero-knowledge certification system, which is stored in the blockchain node; and then sending the asset certification to the first requester. This method reduces the risk of privacy information leakage when obtaining personal user asset information, and achieves the effect of protecting user asset privacy information. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1A flowchart of a blockchain-based asset certification method provided by an embodiment of the present invention;
[0022] Figure 2 A flowchart of another blockchain-based asset certification method provided by an embodiment of the present invention;
[0023] Figure 3 A schematic diagram of a model architecture of a blockchain node based on a zero-knowledge proof system provided by an embodiment of the present invention;
[0024] Figure 4 A schematic diagram of the structure of an asset certification device based on blockchain provided by an embodiment of the present invention;
[0025] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0027] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] An asset certificate generally refers to a certificate issued by a bank to a depositor that can prove the depositor's deposit balance at a previous point in time or the amount of deposits in a certain period, as well as a certificate proving that the depositor has a deposit balance in the bank that cannot be used before a certain point in the future. Asset certificates are usually used in scenarios such as lottery for home purchases, studying abroad, and overseas travel. In existing technical solutions, for example, before the lottery for home purchases, real estate companies first establish an asset freezing service with the bank, and then notify individual users that they can apply to the designated bank to freeze the assets in their personal accounts, and then submit a screenshot of the bank's frozen asset information to the real estate company, and finally the real estate company verifies the validity of the screenshot with the bank. Although the above common methods can accurately determine whether the assets of individual users meet the requirements, there is a risk of leaking personal user privacy information.
[0029] Based on this, an embodiment of the present invention provides an asset proof method and device for a blockchain in a zero-knowledge proof system to reduce the risk of leakage of personal user privacy information in the process of obtaining deposit certificates in the prior art.
[0030] See also Figure 1 to Figure 2 The flowchart of the asset certification method based on blockchain is shown in FIG. 1 . The method is applied to blockchain nodes. The model architecture diagram of blockchain nodes is shown in FIG. Figure 3 , the method mainly comprises the following steps:
[0031] S110: Receive an asset proof generation request; the asset proof generation request is sent by the first requesting party to the blockchain node.
[0032] Among them, the asset proof generation request includes the basic information of the first requester. The first requester may be a banking institution that has the authority to issue an asset proof request. The user may apply for an asset proof from the banking institution, and then the banking institution applies to the corresponding blockchain node. The first requester needs to be verified to determine whether it has the authority to issue an asset proof request. Therefore, in some embodiments, after the step of receiving the asset proof generation request, the method may also include: verifying the qualifications of the first requester based on the basic information of the first requester; generating a qualification verification result of the first requester; when the qualification verification result of the first requester is valid, generating an asset proof based on the asset proof generation request and the proof key of the zero-knowledge proof system.
[0033] The basic information of the first requester may include: the name of the institution, the institution public key and the validity period of the first requester. The model architecture of the blockchain node may include a verification unit, which can verify the qualifications of the first requester through the institution registration smart contract interface. According to the qualification verification results, the institutions that pass the verification will be registered by the administrator (central bank or bank alliance), and the institutions that fail the verification will be removed.
[0034] When the qualification verification result of the first requester is valid, communication between the blockchain node and the first applicant institution can be carried out, which is equivalent to establishing an independent service interface between the blockchain node and the first requester.
[0035] S120: Generate an asset certificate based on the asset certificate generation request and the certification key of the zero-knowledge proof system.
[0036] The proof key of the zero-knowledge proof system is stored in the blockchain node. The asset proof generation request includes: the user's asset data and basic information of the first requesting party; the user's asset data may include the user's bank deposits, fixed assets, etc. For example, when the first requesting party is a bank, the user's asset data may be the user's deposits and loan amounts in the bank.
[0037] The model architecture of the blockchain node may also include a verification unit and a support unit. The verification unit may include different independent service interfaces, such as an asset proof generation interface and an asset proof verification interface, etc. The independent service interface may be used to realize communication between the requesting institution and the blockchain node. The independent service interface generally does not broadcast transactions to other blockchain nodes, thereby ensuring data privacy.
[0038] The support unit may include a zero-knowledge proof system, which includes a proof key and a verification key. Both the proof key and the verification key may be stored in the above-mentioned blockchain node, and are used to decrypt the asset proof generation request and the asset proof, respectively.
[0039] S130: Send the asset certificate to the first requesting party.
[0040] Among them, the steps of generating an asset certificate specifically include: first, obtaining asset certificate generation information based on an asset certificate generation request; wherein the asset certificate generation information includes: basic information of the user, basic information of the first requesting party and asset data of the user; then verifying the asset certificate generation information using a zero-knowledge proof system; finally, encrypting the verified asset certificate generation information based on a proof key to obtain an asset certificate.
[0041] After obtaining the asset certificate, the first requesting party may encrypt the asset certificate information to obtain an encrypted asset certificate, where the encrypted asset certificate includes the result of whether the user asset data meets the first threshold; and then send the encrypted asset certificate to the second requesting party.
[0042] As a specific example, the step of encrypting the asset certificate may include: converting the information of whether the user's asset data meets the first threshold into graphic information of a QR code or a barcode, and sending it to the second requesting party. In addition, the encrypted asset certificate may also be provided to the user by the first requesting party, and then the user terminal presents the graphic information including the asset certificate information to the second requesting party, which may be a real estate company, a study abroad agency, a visa agency, etc.
[0043] In order to verify the authenticity of the asset certificate, the method further includes verification by the second requesting party, and the verification method includes:
[0044] Step (A): receiving the encrypted asset certificate sent by the second requesting party;
[0045] The asset certificate can be obtained by the second requesting party directly requesting the first requesting party, or can be provided by the user to the second requesting party.
[0046] Step (B): Verify the encrypted asset proof based on the verification key of the zero-knowledge proof system.
[0047] Among them, the step of verifying the encrypted asset proof based on the verification key of the zero-knowledge proof system includes: first, using the verification key to decrypt the encrypted asset proof to obtain the asset proof verification parameter; then inputting the asset proof verification parameter into the verification function of the zero-knowledge proof system to obtain the verification result.
[0048] The asset proof verification parameters include: basic information of the first requester, basic information of the user, and a string representing the user's asset data. The string representing the user's asset data is a string of proof strings generated by a zero-knowledge proof algorithm function, such as "DDEUDIEDEND9D8HD", which is input into the verification function as a parameter when verifying the proof.
[0049] Verification using the verification function of the zero-knowledge proof system includes: verifying the validity of the first requester based on the basic information of the first requester and the public key of the first requester; and verifying the consistency of the user based on the basic information of the user.
[0050] An asset certification method based on blockchain provided in an embodiment of the present application, when applied to a first requesting party, includes:
[0051] Step (C): based on the personal asset certification application information sent by the user, obtaining the user's asset data; wherein the personal asset certification application information includes the user's basic information;
[0052] Step (D): determining an asset certificate generation request based on the user's asset data and basic information of the first requesting party;
[0053] Step (E): Sending the asset proof generation request to the blockchain node;
[0054] Step (F): receiving the asset certificate generated by the blockchain node, and determining the encrypted asset certificate based on the asset certificate; the encrypted asset certificate includes a result of whether the user asset data meets the first threshold;
[0055] Step (G): Send the encrypted asset certificate to the second requester.
[0056] An asset certification method based on blockchain provided in an embodiment of the present application, when applied to a second requesting party, includes:
[0057] Step (H): receiving crypto asset proof;
[0058] Step (I): Send the encrypted asset certificate to the blockchain node;
[0059] Step (J): Receive the verification result of the blockchain node on the encrypted asset certificate.
[0060] In combination with the above implementation, the present application provides a blockchain-based asset certification method, which includes the following process:
[0061] (1) The first requesting party obtains the asset data of the user based on the personal asset certification application information sent by the user, wherein the personal asset certification application information includes the basic information of the user;
[0062] (2) The first requesting party determines an asset certificate generation request based on the user's asset data and the basic information of the first requesting party;
[0063] (3) The first requester sends a request to generate an asset certificate to the blockchain node;
[0064] (4) The blockchain node receives the asset proof generation request;
[0065] (5) The blockchain node generates an asset certificate based on the asset certificate generation request and the proof key of the zero-knowledge proof system;
[0066] (6) The blockchain node sends the asset certificate to the first requester;
[0067] (7) The first requesting party receives the asset certificate generated by the blockchain node;
[0068] (8) The first requesting party determines the encrypted asset certificate based on the asset certificate; the encrypted asset certificate includes a result of whether the user asset data meets the first threshold;
[0069] (9) The first requesting party sends the encrypted asset certificate to the second requesting party;
[0070] (10) The second requester sends the encrypted asset certificate to the blockchain node;
[0071] (11) The blockchain node receives the encrypted asset certificate sent by the second requester;
[0072] (12) The blockchain node verifies the encrypted asset proof based on the verification key of the zero-knowledge proof system.
[0073] In combination with the asset certification method based on blockchain in the above embodiment, as a specific example, the method includes the following steps:
[0074] Step 1: The user sends an application for proof of personal assets to the bank;
[0075] Among them, the application for personal asset proof includes basic user information, which may be: user name, ID number, time period, etc.
[0076] Step 2: The bank receives the application for personal asset certification and obtains the user's asset data based on the application for personal asset certification;
[0077] Step 3: The bank submits asset proof generation request information to the blockchain node;
[0078] Among them, the asset certificate generation request information includes: user basic information, bank basic information and user asset data information.
[0079] Step 4: The blockchain node generates an independent service interface;
[0080] First, the blockchain node obtains the bank institution that has joined the smart contract, that is, decrypts the bank institution through the public key, and verifies whether the bank institution name is qualified to apply for asset proof;
[0081] Then, an independent service interface is established between the blockchain node and the banking institution.
[0082] Step 5: The blockchain node generates an asset certificate based on the asset certificate generation request and the proof key of the zero-knowledge proof system; this step specifically includes:
[0083] Step (51): The blockchain node reads the asset certificate through an independent service interface to generate request information;
[0084] Step (52): The blockchain node calls the zero-knowledge proof system to verify the asset proof generation request information;
[0085] Step (53): Encrypt the verified asset certificate generation information based on the certification key to obtain the asset certificate.
[0086] The step (53) specifically includes: the asset proof generation request information is verified by the constraint system, and if it meets the conditions, it is input as a parameter into the function of generating the proof to generate the asset proof information; wherein the asset proof information includes: bank, user and data string.
[0087] Step 6: The bank converts the asset proof information (bank, user and data string) into graphic information of a QR code or barcode and sends it to the user;
[0088] Step 7: The user submits the asset proof information to the real estate company;
[0089] Step 8: The real estate company uses the verification client to verify the validity of the asset certificate;
[0090] The verification client applies for verification to the blockchain node, and the blockchain node calls the zero-knowledge proof system to verify the validity of the asset certificate (the asset certificate is verified based on the verification key of the zero-knowledge proof system). Specifically:
[0091] Step (81): decrypt the asset certificate using the verification key to obtain the asset certificate verification parameter;
[0092] Step (82): Input the asset proof verification parameters into the verification function of the zero-knowledge proof system to obtain the verification result.
[0093] This step (82) specifically includes: verifying the validity of the first requesting party (bank) based on the basic information of the first requesting party and the public key of the first requesting party; and verifying the consistency of the user based on the basic information of the user.
[0094] The asset proof verification parameters include: basic information of the first requesting party (bank), basic information of the user, and a character string representing the user's asset data.
[0095] Blockchain nodes can both generate asset certificates (executed on the bank side) and verify asset certificates (executed on the real estate company side). In other words, both banks and real estate companies can use the blockchain node, but each banking institution and blockchain node has an independent service interface to ensure data privacy.
[0096] The blockchain-based asset certification method provided in the embodiment of the present application can privatize the asset information of individual users, and complete asset verification without exposing personal privacy information when the asset certificate is presented to the second requesting party, thereby improving information security; verification can be achieved without freezing assets, thereby reducing service costs.
[0097] The present invention provides a blockchain-based asset certification method and device, the method comprising: first receiving an asset certification generation request, the asset certification generation request is sent by a first requesting party to the blockchain node; then generating an asset certification based on the asset certification generation request and a certification key of a zero-knowledge certification system, the certification key of the zero-knowledge certification system is stored in the blockchain node; and then sending the asset certification to the first requesting party. The method reduces the risk of privacy information leakage when obtaining the asset status of an individual user, and achieves the effect of protecting the privacy information of the user's assets.
[0098] The present application also provides an asset certification device based on blockchain, see Figure 4 As shown in the structural schematic diagram, the device comprises:
[0099] The first receiving module 310 is used to receive an asset proof generation request; the asset proof generation request is sent by the first requesting party to the blockchain node; wherein the asset proof generation request includes: basic information of the first requesting party.
[0100] An asset proof generation module 320 is used to generate an asset proof based on an asset proof generation request and a proof key of a zero-knowledge proof system; the proof key of the zero-knowledge proof system is stored in a blockchain node;
[0101] The first sending module 330 is used to send the asset certificate to the first requesting party.
[0102] In some embodiments, the asset proof generation module includes: a first acquisition unit, used to obtain asset proof generation information based on an asset proof generation request; wherein the asset proof generation information includes: basic information of the user, basic information of the first requesting party and asset data of the user; a first verification unit, used to verify the asset proof generation information using a zero-knowledge proof system; a first encryption unit, used to encrypt the verified asset proof generation information based on a proof key to obtain an asset proof.
[0103] In some embodiments, the device also includes: a second receiving module for receiving the encrypted asset certificate sent by the second requesting party; and a verification module for verifying the encrypted asset certificate based on a verification key of the zero-knowledge proof system.
[0104] In some embodiments, the verification module includes: a first decryption unit, used to decrypt the encrypted asset certificate using the verification key to obtain the asset certificate verification parameter; a verification function unit, used to input the asset certificate verification parameter into the verification function of the zero-knowledge proof system to obtain the verification result. The asset certificate verification parameter includes: basic information of the first requester, basic information of the user, and a character string representing the user's asset data.
[0105] In some embodiments, the verification function unit is further used to: verify the validity of the first requesting party based on the basic information of the first requesting party and the public key of the first requesting party; and verify the consistency of the user based on the basic information of the user.
[0106] In some embodiments, the device also includes: a first determination unit, used by the first requester to determine the encrypted asset certificate based on the asset certificate; the encrypted asset certificate includes the result of whether the user asset data meets the first threshold; and a second sending unit, used by the first requester to send the encrypted asset certificate to the second requester.
[0107] In some embodiments, the device also includes: a verification module, which is used to verify the qualifications of the first requesting party based on the basic information of the first requesting party; and generate a qualification verification result of the first requesting party; when the qualification verification result of the first requesting party is valid, an asset certificate is generated based on the asset certificate generation request and the proof key of the zero-knowledge proof system.
[0108] In some embodiments, the device comprises:
[0109] A first acquisition module is used to acquire the asset data of the user based on the personal asset certification application information sent by the user; wherein the personal asset certification application information includes the basic information of the user;
[0110] A second determination module, configured to determine an asset certificate generation request based on the user's asset data and basic information of the first requester;
[0111] The second sending module is used to send the asset proof generation request to the blockchain node;
[0112] A first encryption module is used to receive an asset certificate generated by a blockchain node, and to determine an encrypted asset certificate based on the asset certificate; the encrypted asset certificate includes a result of whether the user asset data meets a first threshold;
[0113] The second sending module is also used to send the encrypted asset certificate to the second requesting party.
[0114] In some embodiments, the device comprises:
[0115] A third receiving module, used to receive encrypted asset proof;
[0116] The third sending module is used to send the encrypted asset certificate to the blockchain node;
[0117] The third receiving module is also used to receive the verification result of the blockchain node on the encrypted asset certificate.
[0118] An embodiment of the present application further provides a terminal, specifically, the terminal includes a processor and a storage device; the storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned implementation methods.
[0119] As an example, Figure 5 As shown, a computer device 400 provided in an embodiment of the present application includes: a processor 401, a memory 402 and a bus, wherein the memory 402 stores machine-readable instructions executable by the processor 401. When the computer device is running, the processor 401 communicates with the memory 402 through the bus, and the processor 401 executes the machine-readable instructions to perform the steps of the above-mentioned blockchain-based asset certification method.
[0120] Specifically, the above-mentioned memory 402 and processor 401 can be general-purpose memory and processor, which are not specifically limited here. When the processor 401 runs the computer program stored in the memory 402, the above-mentioned blockchain-based asset certification method can be executed.
[0121] Corresponding to the above-mentioned blockchain-based asset proof method, an embodiment of the present application also provides a computer-readable storage medium, which stores machine-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the steps of the above-mentioned blockchain-based asset proof method.
[0122] The blockchain-based asset certification device provided in the embodiment of the present application can be specific hardware on the device or software or firmware installed on the device. The device provided in the embodiment of the present application has the same implementation principle and technical effects as the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in the device embodiment can refer to the corresponding contents in the aforementioned method embodiment. It can be clearly understood by technicians in the relevant field that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned method embodiment, and will not be repeated here.
[0123] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0124] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0125] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0127] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the mobile control method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0128] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0129] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that any technician familiar with this technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present application, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and should all be covered by the protection scope of the present application.
Claims
1. A blockchain-based asset certification method, It is characterized in that Applied to blockchain nodes, including: Receive an asset certificate generation request; the asset certificate generation request is sent by a first requester to the blockchain node, the first requester is a bank institution with the authority to issue an asset certificate request, and the asset certificate generation request includes: the user's asset data and basic information of the first requester; wherein the asset certificate refers to a certificate issued by a bank institution to a depositor that can prove the depositor's deposit balance at a previous point in time or the deposit amount in a certain period, and proves that the depositor has a deposit balance in the bank that cannot be used before a certain point in the future; the user sends a personal asset certificate application to the bank institution; the bank institution receives the personal asset certificate application, and obtains the user's asset data based on the personal asset certificate application, and the bank institution submits the asset certificate generation request to the blockchain node; Generate an asset certificate based on the asset certificate generation request and the proof key of the zero-knowledge proof system; the proof key of the zero-knowledge proof system is stored in the blockchain node; The asset certificate is sent to the first requester.
2. According to the asset certification method based on blockchain according to claim 1, It is characterized in that Also includes: Receiving the encrypted asset certificate sent by the second requesting party; The encrypted asset proof is verified based on the verification key of the zero-knowledge proof system.
3. According to the asset certification method based on blockchain according to claim 2, It is characterized in that Before the step of receiving the encrypted asset certificate sent by the second requesting party, the method further includes: The first requester determines an encrypted asset certificate based on the asset certificate; the encrypted asset certificate includes a result of whether the user asset data meets a first threshold; The first requester sends the encrypted asset certificate to the second requester.
4. According to the asset certification method based on blockchain according to claim 1, It is characterized in that After receiving the asset proof generation request, it also includes: Verifying the qualifications of the first requester based on the basic information of the first requester; Generating a qualification verification result of the first requesting party; When the qualification verification result of the first requester is valid, the asset certificate is generated based on the asset certificate generation request and the certification key of the zero-knowledge proof system.
5. According to the asset certification method based on blockchain according to claim 1, It is characterized in that The step of generating an asset certificate based on the asset certificate generation request and the certification key of the zero-knowledge proof system includes: Acquire asset proof generation information based on the asset proof generation request; wherein the asset proof generation information includes: basic information of the user, basic information of the first requesting party and asset data of the user; Using a zero-knowledge proof system to verify the asset proof generation information; The verified asset certificate generation information is encrypted based on the certification key to obtain the asset certificate.
6. According to the asset certification method based on blockchain as claimed in claim 2, It is characterized in that The step of verifying the encrypted asset certificate based on the verification key of the zero-knowledge proof system includes: Decrypt the encrypted asset certificate using the verification key to obtain an asset certificate verification parameter; The asset proof verification parameter is input into the verification function of the zero-knowledge proof system to obtain a verification result.
7. According to the asset certification method based on blockchain according to claim 6, It is characterized in that The asset proof verification parameters include: basic information of the first requester, basic information of the user, and a character string representing the user's asset data.
8. According to the asset certification method based on blockchain according to claim 7, It is characterized in that The step of inputting the asset proof verification parameter into the verification function of the zero-knowledge proof system to obtain the verification result comprises: Verifying the validity of the first requester based on the basic information of the first requester and the public key of the first requester; Based on the basic information of the user, the consistency of the user is verified.
9. A blockchain-based asset certification method, It is characterized in that Applicable to the first requester, including: Based on the personal asset certificate application information sent by the user, the asset data of the user is obtained; wherein the personal asset certificate application information includes the basic information of the user; wherein the asset certificate refers to a certificate issued by a bank institution to a depositor, which can prove the deposit balance of the depositor at a certain point in time before or the deposit amount in a certain period, and proves that the depositor has a deposit balance in the bank that cannot be used before a certain point in time in the future; Based on the asset data of the user and the basic information of the first requester, determining an asset proof generation request, the first requester being a banking institution with authority to issue an asset proof request, the asset proof generation request including: the asset data of the user and the basic information of the first requester; Sending the asset proof generation request to the blockchain node; Receiving the asset certificate generated by the blockchain node, and determining the encrypted asset certificate based on the asset certificate; the encrypted asset certificate includes a result of whether the user asset data meets the first threshold; The encrypted asset certificate is sent to the second requestor.
10. According to the asset certification method based on blockchain according to claim 9, It is characterized in that Applicable to the second requester, including: Receiving the encrypted asset certificate; Sending the encrypted asset certificate to the blockchain node; Receive the blockchain node's verification result of the encrypted asset certificate.
11. An asset certification device based on blockchain, It is characterized in that Applied to blockchain nodes, including: A first receiving module is used to receive an asset certificate generation request; the asset certificate generation request is sent to the blockchain node by a first requester, the first requester is a bank institution with the authority to issue an asset certificate request, and the asset certificate generation request includes: the user's asset data and basic information of the first requester; wherein, the asset certificate refers to a certificate issued by a bank institution to a depositor that can prove the depositor's deposit balance at a previous point in time or the deposit amount in a certain period, and proves that the depositor has a deposit balance in the bank that cannot be used before a certain point in the future; the user sends a personal asset certificate application to the bank institution; the bank institution receives the personal asset certificate application, and obtains the user's asset data based on the personal asset certificate application, and the bank institution submits the asset certificate generation request to the blockchain node; An asset proof generation module, used to generate an asset proof based on the asset proof generation request and a proof key of a zero-knowledge proof system; the proof key of the zero-knowledge proof system is stored in the blockchain node; The first sending module is used to send the asset certificate to the first requesting party.
12. A terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.
13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores machine executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method according to any one of claims 1 to 10.
