CN112347516A - Asset certification method and device based on block chain - Google Patents

Asset certification method and device based on block chain Download PDF

Info

Publication number
CN112347516A
CN112347516A CN202011368257.4A CN202011368257A CN112347516A CN 112347516 A CN112347516 A CN 112347516A CN 202011368257 A CN202011368257 A CN 202011368257A CN 112347516 A CN112347516 A CN 112347516A
Authority
CN
China
Prior art keywords
asset
proof
certification
attestation
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011368257.4A
Other languages
Chinese (zh)
Inventor
杜茂兵
曹崇瑞
赖奕宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011368257.4A priority Critical patent/CN112347516A/en
Publication of CN112347516A publication Critical patent/CN112347516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an asset certification method and device based on a block chain, which relate to the technical field of block chains, and comprise the following steps: firstly, receiving an asset certification generation request, wherein the asset certification generation request is sent to the block link point by a first requester; then generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system, wherein the proof key of the zero knowledge proof system is stored in the block chain node; the proof of asset is then sent to the first requestor. The method reduces the risk of leakage of the privacy information when the personal user asset condition is obtained, and achieves the effects of protecting the user asset privacy information and improving the information security.

Description

Asset certification method and device based on block chain
Technical Field
The invention relates to the technical field of block chains, in particular to an asset certification method and device based on a block chain.
Background
The proof of assets generally refers to proof that a bank presents to a depositor a deposit balance or a deposit occurrence amount for a certain period of time before the depositor has a deposit balance that is not available until a later time at the bank. The asset certification is generally used in the scenes of house number purchase, foreign study, overseas travel and the like.
In the prior art, for example, before purchasing a house number, a house enterprise first establishes a frozen asset service to a bank, then notifies an individual user that the individual user can apply for freezing assets in an individual account to a designated bank, submits a screenshot of asset information frozen by the bank to the house enterprise, and finally verifies the validity of the screenshot to the bank. Although the above common method can accurately know whether the assets of the individual user meet the requirements, there is a risk of revealing privacy information of the individual user.
Disclosure of Invention
The invention aims to provide an asset certification method and device based on a block chain, so as to reduce the risk of leakage of privacy information of an individual user in the process of obtaining deposit certification.
In a first aspect, an embodiment of the present invention provides an asset attestation method based on a block chain, which is applied to a block chain node, and includes: receiving an asset credential generation request; the asset proof generation request is sent to the blockchain node by a first requestor; generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system; the certification key of the zero-knowledge certification system is stored in the block chain node; sending the proof of asset to the first requestor.
In one possible embodiment, the method further comprises: receiving an encrypted asset certificate sent by a second requester; the encrypted asset proof is verified based on a verification key of a zero knowledge proof system.
In a possible implementation, before the step of receiving the encrypted proof of asset sent by the second requester, the method further includes: the first requestor determines an encrypted proof of asset based on the proof of asset; the encrypted asset attestation includes a result of whether the user asset data satisfies a first threshold; the first requestor sends the encrypted proof of asset to the second requestor.
In one possible implementation, the proof of asset generation request includes: basic information of the first requester.
In one possible embodiment, after the step of receiving the asset credential generation request, the method further comprises: verifying the qualification of the first requester based on the basic information of the first requester; generating a qualification verification result of the first requester; and when the qualification verification result of the first requester is valid, generating an asset certification based on the asset certification generation request and a certification key of a zero knowledge certification system.
In one possible embodiment, the step of generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system comprises: acquiring asset certification generation information based on the asset certification generation request; wherein the asset credential generation information comprises: basic information of the user, basic information of the first requester and asset data of the user; verifying the asset certification generating information by using a zero-knowledge certification system; and encrypting the verified asset certificate generation information based on the certificate key to obtain an asset certificate.
In one possible embodiment, the step of verifying the encrypted asset proof based on a verification key of a zero knowledge proof system comprises: decrypting the encrypted asset certificate by using the verification key to obtain an asset certificate verification parameter; and inputting the asset certification verification parameters into a verification function of the zero knowledge certification system to obtain a verification result.
In one possible embodiment, the asset attestation verification parameters include: basic information of the first requester, basic information of the user, and a character string representing asset data of the user.
In one possible embodiment, the step of inputting the asset proof verification parameters into a verification function of the zero knowledge proof system to obtain a 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; and verifying the consistency of the user based on the basic information of the user.
In a second aspect, an embodiment of the present invention provides a block chain-based asset attestation method, where the method is applied to a first requester, and includes: acquiring asset data of a user based on personal asset certification application information sent by the user; wherein the personal asset certification application information includes basic information of the user; determining an asset credential generation request based on the asset data of the user and the basic information of the first requestor; sending the asset proof generation request to a blockchain node; receiving an asset certificate generated by the block link point, and determining an encrypted asset certificate based on the asset certificate; the encrypted asset attestation includes a result of whether the user asset data satisfies a first threshold; the encrypted proof of asset is sent to a second requestor.
In one possible embodiment, the method is applied to a second requester, and comprises: receiving the encrypted asset credential; sending the encrypted asset credentials to the blockchain node; and receiving a verification result of the block link node on the encrypted asset certification.
In a third aspect, an embodiment of the present invention provides an asset attestation apparatus based on a block chain, applied to a first requester, including: a first receiving module, configured to receive a proof of asset generation request; the asset proof generation request is sent to the blockchain node by a first requestor; an asset proof generation module for generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system; the certification key of the zero-knowledge certification system is stored in the block chain node; a first sending module to send the proof of asset to the first requestor.
In a fourth aspect, an embodiment of the present invention provides a terminal, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to any one of the foregoing embodiments when executing the computer program.
In a fifth aspect, the present invention provides a computer-readable storage medium storing machine executable instructions, which, when called and executed by a processor, cause the processor to execute the method according to any one of the above embodiments.
The invention provides an asset certification method and device based on a block chain, wherein the method is applied to a block chain node and comprises the following steps: firstly, receiving an asset certification generation request, wherein the asset certification generation request is sent to the block link point by a first requester; then generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system, wherein the proof key of the zero knowledge proof system is stored in the block chain node; the proof of asset is then sent to the first requestor. The method reduces the risk of leakage of the privacy information when the personal user asset condition is obtained, and achieves the effect of protecting the user asset privacy information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of an asset attestation method based on a block chain according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another block chain-based asset attestation method provided by an embodiment of the present invention;
fig. 3 is a schematic diagram of a model architecture of a blockchain node based on a zero-knowledge proof system according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an asset attestation apparatus based on a block chain according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The proof of assets generally refers to proof that a bank presents to a depositor a deposit balance or a deposit occurrence amount for a certain period of time before the depositor has a deposit balance that is not available until a later time at the bank. The asset certification is generally used in the scenes of house number purchase, foreign study, overseas travel and the like. In the prior art, for example, before purchasing a house number, a house enterprise first establishes a frozen asset service to a bank, then notifies an individual user that the individual user can apply for freezing assets in an individual account to a designated bank, submits a screenshot of asset information frozen by the bank to the house enterprise, and finally verifies the validity of the screenshot to the bank. Although the above common method can accurately know whether the assets of the individual user meet the requirements, there is a risk of revealing privacy information of the individual user.
Based on the above, the embodiment of the invention provides an asset certification method and device for a block chain of a zero-knowledge certification system, so as to reduce the risk of leakage of privacy information of an individual user in the process of obtaining deposit certification in the prior art.
Referring to fig. 1 to fig. 2, a block chain-based asset attestation method is shown in a flowchart, the method is applied to a block chain node, and a model architecture diagram of the block chain node is shown in fig. 3, and the method mainly includes the following steps:
s110: receiving an asset credential generation request; an asset proof generation request is sent by a first requestor to a blockchain node.
Wherein the asset credential generation request includes basic information of the first requestor. The first requestor may be a banking institution having authority to issue proof of asset requests. The user may apply for proof of asset from the banking institution, and then from the banking institution to the corresponding block link point, the first requestor needs to be verified to determine whether it has the right to issue a proof of asset request, and therefore in some embodiments, after the step of receiving a proof of asset generation request, the method may further comprise: verifying the qualification 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 a proof key of the zero knowledge proof system.
The basic information of the first requester may include: the organization name, the organization public key, the validity period, etc. of the first requester. The model architecture of the blockchain node may include a verification unit that may qualify the first requestor through an institutionally registered intelligent contract interface. According to the qualification verification result, the verified institutions are registered by an administrator (a central bank or a bank alliance), and the institutions which do not pass the verification are removed.
When the qualification verification result of the first requester is valid, the communication between the block link point and the first application mechanism can be performed, which is equivalent to establishing an independent service interface between the block link point and the first requester.
S120: an asset proof is generated based on an asset proof generation request and a proof key of a zero knowledge proof system.
Wherein the certification key of the zero knowledge certification system is stored in the blockchain node. The proof of asset generation request includes: asset data of the user and basic information of the first requester; the user's property data may include the user's bank deposit, fixed property, etc., e.g., when the first requestor is a bank, the user's property data may be the user's deposit, loan amount, etc., at the bank.
The model architecture of the blockchain node may further comprise a verification unit and a support unit, the verification unit may comprise different independent service interfaces, for example: an asset proof generation interface and an asset proof verification interface, etc. The independent service interface can realize the communication between the request mechanism and the block chain link point, and generally does not broadcast the transaction to other block chain nodes, thereby ensuring the data privacy.
The support unit may then comprise a zero knowledge proof system comprising a proof key and an authentication key, both of which may be stored in the blockchain node for decrypting the asset proof generation request and the asset proof, respectively.
S130: the proof of asset is sent to the first requestor.
The step of generating the asset certificate specifically comprises the following steps: firstly, acquiring asset certification generation information based on an asset certification generation request; wherein the asset credential generation information comprises: basic information of the user, basic information of the first requester and asset data of the user; then, verifying asset certification generation information by using a zero-knowledge certification system; and finally, encrypting the verified asset certificate generation information based on the certificate key to obtain the asset certificate.
The first requester can encrypt the asset certification information after obtaining the asset certification to obtain an encrypted asset certification, wherein the encrypted asset certification comprises a result of whether the user asset data meets a first threshold value; the encrypted asset credential is then sent to the second requestor.
As a specific example, the step of encrypting the asset credential may comprise: and converting the information of the result of whether the user asset data meets the first threshold into the graphical information of the two-dimensional code or the bar code, and sending the graphical information to the second requester. In addition, the encrypted asset credential may be provided to the user by a first requestor, and the user may present graphical information including asset credential information to a second requestor, which may be a house enterprise, a study-keeping institution, a visa institution, or the like.
In order to verify the authenticity of the proof of asset, the method further comprises verification by the second requestor, the verification method comprising:
step (A): receiving an encrypted asset certificate sent by a second requester;
the asset credential may be requested by the second requestor directly from the first requestor or may be provided by the user to the second requestor.
Step (B): the encrypted asset proof is verified based on a verification key of a zero knowledge proof system.
The method for verifying the encrypted asset certificate based on the verification key of the zero-knowledge certificate system comprises the following steps of: firstly, decrypting an encrypted asset certificate by using a verification key to obtain an asset certificate verification parameter; and then inputting the asset certification verification parameters into a verification function of the zero-knowledge certification system to obtain a verification result.
The asset attestation verification parameters include: basic information of the first requester, basic information of the user, and a character string representing asset data of the user. The string representing the user asset data is a proof string generated by a zero knowledge proof algorithm function, such as "ddended 9D8 HD", which is entered as a parameter into the verification function at the time of verifying the proof.
The verification by using the verification function of the zero-knowledge proof system comprises the following steps: 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.
The asset certification method based on the block chain provided by the embodiment of the application is applied to a first requester, and comprises the following steps:
step (C): acquiring asset data of a user based on personal asset certification application information sent by the user; wherein the personal asset certification application information includes basic information of the user;
step (D): determining an asset proof generation request based on the asset data of the user and the basic information of the first requester;
a step (E): sending an asset proof generation request to a block chain node;
step (F): receiving an asset certificate generated by a block link point, and determining an encrypted asset certificate based on the asset certificate; the encrypted asset proof comprises a result of whether the user asset data meets a first threshold;
a step (G): the encrypted proof of asset is sent to the second requestor.
The asset certification method based on the block chain provided by the embodiment of the application is applied to a second requester, and comprises the following steps:
step (H): receiving an encrypted asset credential;
step (I): sending the encrypted asset certificate to the block link point;
step (J): a verification result of the block link node pair for the encrypted asset attestation is received.
In combination with the above embodiments, the present application provides a block chain-based asset attestation method, which includes the following processes:
(1) a first requester acquires asset data of a user based on personal asset certification application information sent by the user; wherein the personal asset certification application information includes basic information of the user;
(2) the first requester determines an asset certification generation request based on asset data of a user and basic information of the first requester;
(3) a first requester sends an asset certification generation request to a blockchain node;
(4) receiving an asset certification generation request by a block chain node;
(5) generating an asset proof by the block chain node based on an asset proof generation request and a proof key of a zero knowledge proof system;
(6) the block link node sends the asset certification to the first requestor;
(7) a first requester receives an asset certificate generated by a block link point;
(8) the first requestor determines an encrypted proof of asset based on the proof of asset; the encrypted asset proof comprises a result of whether the user asset data meets a first threshold;
(9) the first requester sends the encrypted asset certificate to the second requester;
(10) the second requester sends the encrypted asset certificate to the blockchain node;
(11) the block chain node receives the encrypted asset certificate sent by the second requester;
(12) the blockchain node verifies the encrypted asset proof based on a verification key of the zero-knowledge proof system.
As a specific example, the block chain-based asset attestation method in connection with the above embodiments includes the following steps:
step 1: the user sends a personal inventory asset certification application to the bank;
the personal asset certification application includes user basic information, which may specifically be: user name, identification number, time period, etc.
Step 2: the bank receives the personal asset certification application and acquires the asset data of the user based on the personal asset certification application;
and step 3: the bank submits asset certification to the block chain node to generate request information;
wherein the asset credential generation request message comprises: user basic information, bank basic information and user asset data information.
And 4, step 4: generating an independent service interface by the block chain link points;
firstly, a block chain link point acquires a bank mechanism added with an intelligent contract, namely the bank mechanism is decrypted through a public key, and whether the name of the bank mechanism has the qualification of applying for asset certification is verified;
then, an independent service interface is established between the block chain link point and the banking institution.
And 5: generating an asset proof by the block chain node based on an asset proof generation request and a proof key of a zero knowledge proof system; the method specifically comprises the following steps:
step (51): reading asset certification by a block chain node through an independent service interface to generate request information;
step (52): the block chain node calls a zero-knowledge proof system to verify the asset proof generation request information;
step (53): and encrypting the verified asset certificate generation information based on the certificate key to obtain the asset certificate.
The step (53) specifically includes: the asset certification generation request information is verified by a constraint system, and if the asset certification generation request information meets the condition, the asset certification generation request information is used as a function of parameter input generation certification to generate asset certification information; wherein the asset attestation information includes: bank, user, and data strings.
Step 6: the bank converts the asset identification information (bank, user and data character string) into the graphic information of the two-dimensional code or bar code and sends the graphic information to the user;
and 7: the user submits the asset certification information to the house enterprise;
and 8: the house enterprise verifies the validity of the asset certificate by using a verification client;
and the verification client applies for verification to the block chain node, and the block chain node calls a zero-knowledge proof system to verify the validity of the asset proof (the asset proof is verified based on a verification key of the zero-knowledge proof system). The method specifically comprises the following steps:
step (81): decrypting the asset certificate by using the verification key to obtain an asset certificate verification parameter;
step (82): and inputting the asset certification verification parameters into a verification function of the zero-knowledge certification system to obtain a verification result.
The step (82) specifically comprises: verifying the validity of the first requester based on the basic information of the first requester (bank) and the public key of the first requester; and verifying the consistency of the user based on the basic information of the user.
Wherein the asset attestation verification parameters include: basic information of a first requester (bank), basic information of a user, and a character string representing asset data of the user.
The block chain node can be used for generating asset identification (bank end execution) and verifying asset identification (house enterprise end execution), namely, banks and house enterprises can use the block chain node, but independent service interfaces are arranged between each bank mechanism and the block chain node, and data privacy is guaranteed.
According to the asset certification method based on the block chain, the asset information of the individual user can be subjected to privacy, the asset verification can be completed without exposing the individual privacy information when the asset certification is displayed to the second requester, and the information safety is improved; the verification can be realized without freezing the assets, and the service cost is reduced.
The invention provides an asset certification method and device based on a block chain, wherein the method comprises the following steps: firstly, receiving an asset certification generation request, wherein the asset certification generation request is sent to the block link point by a first requester; then generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system, wherein the proof key of the zero knowledge proof system is stored in the block chain node; the proof of asset is then sent to the first requestor. The method reduces the risk of leakage of the privacy information when the personal user asset condition is obtained, and achieves the effect of protecting the user asset privacy information.
The embodiment of the present application further provides an asset attestation device based on a block chain, referring to a schematic structural diagram shown in fig. 4, where the device includes:
a first receiving module 310, configured to receive a proof of asset generation request; the asset proof generation request is sent to the block chain node by a first requester; wherein the proof of asset generation request comprises: basic information of the first requester.
An asset proof generation module 320 for generating an asset proof based on an asset proof generation request and a proof key of a zero knowledge proof system; the certification key of the zero-knowledge certification system is stored in the block chain node;
a first sending module 330 for sending the proof of asset to the first requestor.
In some embodiments, the proof of asset generation module comprises: a first obtaining unit configured to obtain asset certification generation information based on the asset certification generation request; wherein the asset credential generation information comprises: basic information of the user, basic information of the first requester and asset data of the user; the first verification unit is used for verifying the asset certification generation information by using a zero-knowledge certification system; and the first encryption unit is used for encrypting the verified asset certificate generation information based on the certificate key to obtain the asset certificate.
In some embodiments, the apparatus further comprises: the second receiving module is used for receiving the encrypted asset certificate sent by the second requester; and the verification module is used for verifying the encrypted asset certificate based on the verification key of the zero-knowledge certificate system.
In some embodiments, the verification module comprises: the first decryption unit is used for decrypting the encrypted asset certificate by using the verification key to obtain an asset certificate verification parameter; and the verification function unit is used for inputting the asset certification verification parameters into a verification function of the zero-knowledge certification system to obtain a verification result. Wherein the asset attestation verification parameters include: basic information of the first requester, basic information of the user, and a character string representing asset data of the user.
In some embodiments, the verification function unit is further to: 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.
In some embodiments, the apparatus further comprises: a first determining unit for the first requestor to determine an encrypted proof of asset based on the proof of asset; the encrypted asset proof comprises a result of whether the user asset data meets a first threshold; a second sending unit, configured to send the encrypted asset credential to a second requestor by the first requestor.
In some embodiments, the apparatus further comprises: the verification module is used for verifying the qualification 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 a proof key of the zero knowledge proof system.
In some embodiments, the apparatus comprises:
the first acquisition module is used for acquiring asset data of a user based on personal asset certification application information sent by the user; wherein the personal asset certification application information includes basic information of the user;
the second determination module is used for determining an asset certification generation request based on the asset data of the user and the basic information of the first requester;
the second sending module is used for sending the asset certification generation request to the block chain node;
the first encryption module is used for receiving the asset certificate generated by the block link point and determining an encrypted asset certificate based on the asset certificate; the encrypted asset proof comprises a result of whether the user asset data meets a first threshold;
the second sending module is further configured to send the encrypted asset credential to a second requestor.
In some embodiments, the apparatus comprises:
a third receiving module for receiving the encrypted asset certificate;
the third sending module is used for sending the encrypted asset certificate to the block link point;
the third receiving module is further configured to receive a verification result of the block link node pair on the encrypted asset certification.
The embodiment of the application further provides a terminal, and particularly, the terminal comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above embodiments.
As an example, as shown in fig. 5, an embodiment of the present application provides a computer device 400, including: a processor 401, a memory 402 and a bus, the memory 402 storing machine-readable instructions executable by the processor 401, the processor 401 and the memory 402 communicating via the bus when the computer device is running, the processor 401 executing the machine-readable instructions to perform the steps of the above block chain based asset attestation method.
Specifically, the memory 402 and the processor 401 can be general-purpose memory and processor, and are not limited to specific examples, and the block chain based asset attestation method can be performed when the processor 401 runs a computer program stored in the memory 402.
In accordance with the above block chain based asset attestation method, embodiments of the present application further provide a computer readable storage medium having stored thereon machine executable instructions that, when invoked and executed by a processor, cause the processor to perform the steps of the above block chain based asset attestation method.
The asset certification device based on the blockchain provided by the embodiment of the application can be specific hardware on a device or software or firmware installed on the device. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the mobile control method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; the modifications, changes or substitutions do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions of the embodiments of the present application, and all of the technical solutions are intended to be covered by the scope of the present application.

Claims (14)

1. A block chain-based asset attestation method is applied to a block chain node and comprises the following steps:
receiving an asset credential generation request; the asset proof generation request is sent to the blockchain node by a first requestor;
generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system; the certification key of the zero-knowledge certification system is stored in the block chain node;
sending the proof of asset to the first requestor.
2. The blockchain-based asset attestation method of claim 1, further comprising:
receiving an encrypted asset certificate sent by a second requester;
the encrypted asset proof is verified based on a verification key of a zero knowledge proof system.
3. The blockchain-based asset attestation method of claim 2, wherein the step of receiving the encrypted asset attestation sent by the second requestor is preceded by:
the first requestor determines an encrypted proof of asset based on the proof of asset; the encrypted asset attestation includes a result of whether the user asset data satisfies a first threshold;
the first requestor sends the encrypted proof of asset to the second requestor.
4. The blockchain-based proof of asset method according to claim 1, wherein the proof of asset generation request comprises: basic information of the first requester.
5. The blockchain-based proof of asset method according to claim 4, wherein the step of receiving the proof of asset generation request is followed by the step of:
verifying the qualification of the first requester based on the basic information of the first requester;
generating a qualification verification result of the first requester;
and when the qualification verification result of the first requester is valid, generating an asset certification based on the asset certification generation request and a certification key of a zero knowledge certification system.
6. The blockchain-based asset attestation method of claim 1, wherein the step of generating an asset attestation based on the asset attestation generation request and an attestation key of a zero knowledge attestation system comprises:
acquiring asset certification generation information based on the asset certification generation request; wherein the asset credential generation information comprises: basic information of the user, basic information of the first requester and asset data of the user;
verifying the asset certification generating information by using a zero-knowledge certification system;
and encrypting the verified asset certificate generation information based on the certificate key to obtain an asset certificate.
7. The blockchain-based asset attestation method of claim 2, wherein the step of verifying the encrypted asset attestation based on a verification key of a zero knowledge attestation system comprises:
decrypting the encrypted asset certificate by using the verification key to obtain an asset certificate verification parameter;
and inputting the asset certification verification parameters into a verification function of the zero knowledge certification system to obtain a verification result.
8. The blockchain-based asset attestation method of claim 7, wherein the asset attestation verification parameters include: basic information of the first requester, basic information of the user, and a character string representing asset data of the user.
9. The blockchain-based asset attestation method of claim 8, wherein the step of inputting the asset attestation verification parameters into the verification function of the zero knowledge attestation 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;
and verifying the consistency of the user based on the basic information of the user.
10. A block chain-based asset attestation method is applied to a first requester and comprises the following steps:
acquiring asset data of a user based on personal asset certification application information sent by the user; wherein the personal asset certification application information includes basic information of the user;
determining an asset credential generation request based on the asset data of the user and the basic information of the first requestor;
sending the asset proof generation request to a blockchain node;
receiving an asset certificate generated by the block link point, and determining an encrypted asset certificate based on the asset certificate; the encrypted asset attestation includes a result of whether the user asset data satisfies a first threshold;
the encrypted proof of asset is sent to a second requestor.
11. The blockchain-based asset attestation method of claim 10, applied to a second requestor, comprising:
receiving the encrypted asset credential;
sending the encrypted asset credentials to the blockchain node;
and receiving a verification result of the block link node on the encrypted asset certification.
12. A block chain based asset attestation device, applied to a block chain node, includes:
a first receiving module, configured to receive a proof of asset generation request; the asset proof generation request is sent to the blockchain node by a first requestor;
an asset proof generation module for generating an asset proof based on the asset proof generation request and a proof key of a zero knowledge proof system; the certification key of the zero-knowledge certification system is stored in the block chain node;
a first sending module to send the proof of asset to the first requestor.
13. A terminal comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processor, when executing the computer program, performs the steps of the method according to any of claims 1 to 11.
14. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 11.
CN202011368257.4A 2020-11-27 2020-11-27 Asset certification method and device based on block chain Pending CN112347516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011368257.4A CN112347516A (en) 2020-11-27 2020-11-27 Asset certification method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011368257.4A CN112347516A (en) 2020-11-27 2020-11-27 Asset certification method and device based on block chain

Publications (1)

Publication Number Publication Date
CN112347516A true CN112347516A (en) 2021-02-09

Family

ID=74365135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011368257.4A Pending CN112347516A (en) 2020-11-27 2020-11-27 Asset certification method and device based on block chain

Country Status (1)

Country Link
CN (1) CN112347516A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666064A (en) * 2022-03-25 2022-06-24 广东启链科技有限公司 Block chain-based digital asset management method, device, storage medium and equipment
WO2023160097A1 (en) * 2022-02-25 2023-08-31 蚂蚁区块链科技(上海)有限公司 Proof generation method and apparatus, electronic device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858911A (en) * 2019-01-31 2019-06-07 京东数字科技控股有限公司 Qualification verification method, device, system, equipment and readable storage medium storing program for executing
US20190182035A1 (en) * 2017-12-12 2019-06-13 International Business Machines Corporation Protection of confidentiality, privacy and financial fairness in a blockchain based decentralized identity management system
US20200034834A1 (en) * 2018-07-27 2020-01-30 Alibaba Group Holding Limited Blockchain-based asset transfer method and apparatus, and electronic device
CN111091380A (en) * 2019-10-25 2020-05-01 趣派(海南)信息科技有限公司 Block chain asset management method based on friend covert verification
CN111159694A (en) * 2019-12-17 2020-05-15 上海七印信息科技有限公司 Private use authorization method of block chain digital assets based on zero knowledge proof
CN111213168A (en) * 2019-09-11 2020-05-29 阿里巴巴集团控股有限公司 System and method for digital asset transfer
CN111538784A (en) * 2020-04-21 2020-08-14 全球能源互联网研究院有限公司 Block chain-based digital asset transaction method and device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190182035A1 (en) * 2017-12-12 2019-06-13 International Business Machines Corporation Protection of confidentiality, privacy and financial fairness in a blockchain based decentralized identity management system
US20200034834A1 (en) * 2018-07-27 2020-01-30 Alibaba Group Holding Limited Blockchain-based asset transfer method and apparatus, and electronic device
CN109858911A (en) * 2019-01-31 2019-06-07 京东数字科技控股有限公司 Qualification verification method, device, system, equipment and readable storage medium storing program for executing
CN111213168A (en) * 2019-09-11 2020-05-29 阿里巴巴集团控股有限公司 System and method for digital asset transfer
CN111091380A (en) * 2019-10-25 2020-05-01 趣派(海南)信息科技有限公司 Block chain asset management method based on friend covert verification
CN111159694A (en) * 2019-12-17 2020-05-15 上海七印信息科技有限公司 Private use authorization method of block chain digital assets based on zero knowledge proof
CN111538784A (en) * 2020-04-21 2020-08-14 全球能源互联网研究院有限公司 Block chain-based digital asset transaction method and device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023160097A1 (en) * 2022-02-25 2023-08-31 蚂蚁区块链科技(上海)有限公司 Proof generation method and apparatus, electronic device, and storage medium
CN114666064A (en) * 2022-03-25 2022-06-24 广东启链科技有限公司 Block chain-based digital asset management method, device, storage medium and equipment

Similar Documents

Publication Publication Date Title
US11777726B2 (en) Methods and systems for recovering data using dynamic passwords
EP3607728B1 (en) Methods and devices for protecting sensitive data of transaction activity based on smart contract in blockchain
US11818265B2 (en) Methods and systems for creating and recovering accounts using dynamic passwords
US11743052B2 (en) Platform for generating authenticated data objects
US10790976B1 (en) System and method of blockchain wallet recovery
CN110046996B (en) Data processing method and device
US10630667B2 (en) Client, server, method and identity verification system
US20180359092A1 (en) Method for managing a trusted identity
WO2018145127A1 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
EP3673609A1 (en) Method and apparatus for obtaining input of secure multiparty computation protocol
CN111160909B (en) Hidden static supervision system and method for blockchain supply chain transaction
CN112347516A (en) Asset certification method and device based on block chain
CN111079190A (en) Block chain supply chain transaction hiding dynamic supervision system and method
CN110992034A (en) Supply chain transaction privacy protection system and method based on block chain and related equipment
CN111861462A (en) Financial product transaction method and device based on block chain
CN114514550A (en) Partitioning requests into blockchains
WO2024011863A9 (en) Communication method and apparatus, sim card, electronic device, and terminal device
CN109818965B (en) Personal identity verification device and method
KR101994096B1 (en) Method for user authentication and user terminal for executing the same
CN112822175B (en) Information access method and device and electronic equipment
CN116362748A (en) Safe transaction method and device
CN115048670A (en) Encryption and evidence storage method, device and equipment based on block chain and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination