CN112732832A - DID and zero knowledge proof based block chain supply chain financial supply method and system - Google Patents

DID and zero knowledge proof based block chain supply chain financial supply method and system Download PDF

Info

Publication number
CN112732832A
CN112732832A CN202110011651.0A CN202110011651A CN112732832A CN 112732832 A CN112732832 A CN 112732832A CN 202110011651 A CN202110011651 A CN 202110011651A CN 112732832 A CN112732832 A CN 112732832A
Authority
CN
China
Prior art keywords
identity
financial
supply
chain
digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110011651.0A
Other languages
Chinese (zh)
Other versions
CN112732832B (en
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.)
Shanghai Taidi Technology Co ltd
Original Assignee
Shanghai Taidi Technology 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 Shanghai Taidi Technology Co ltd filed Critical Shanghai Taidi Technology Co ltd
Priority to CN202110011651.0A priority Critical patent/CN112732832B/en
Publication of CN112732832A publication Critical patent/CN112732832A/en
Application granted granted Critical
Publication of CN112732832B publication Critical patent/CN112732832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Accounting & Taxation (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to a block chain supply chain financial supply method and a system based on DID and zero knowledge certification, wherein the method firstly provides DID digital identities for various financial supply bodies based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute; then, judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject according to zero knowledge proof; if the identity identifiers are judged to be the same, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identities; and finally, the multi-chain unique identification identities are compatibly used in each financial supply chain in the block chain, so that the related operation efficiency is greatly improved, and the mobility of the supply chain is improved, so that suppliers at all levels can obtain matched financing in a short time.

Description

DID and zero knowledge proof based block chain supply chain financial supply method and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a block chain supply chain financial supply method and system based on DID and zero knowledge certification.
Background
With the development and progress of society, along with the gradual deepening of the structural reform of the supply side and the development of industrial transformation in China, the problems of difficult financing, expensive financing and the like of small and medium-sized micro enterprises are gradually intensified. The reason for this is that ERP systems between a core enterprise and upper and lower enterprises in the same supply chain are not intercommunicated, and an information island problem exists.
This problem results in the upstream supplier's indirect trade information with the core enterprise not being proven. Meanwhile, in the traditional supply chain context, the core enterprise is used as a credible trade background endorsement, and the bank can only meet the financing requirements of the core company and the primary suppliers,
thereby causing the dilemma that the medium and small micro enterprises of the upstream suppliers at the second level and above are difficult to trap and financing, expensive financing and the like.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a block chain supply chain financial supply method and system based on DID and zero knowledge certification, which can improve data processing efficiency.
The technical scheme of the invention is as follows:
a block chain supply chain financial supply method based on DID and zero knowledge certification,
step S100: providing DID digital identities for the financial supply bodies based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute;
step S200: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject or not according to zero knowledge proof;
step S300: if the identification is judged to be yes, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identity;
step S400: and the unique identification identities are compatibly used in each financial supply chain in the block chain according to the multi-chain.
Preferably, step S200: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject according to zero knowledge proof, and specifically comprising the following steps:
step S210: generating a main body judgment code according to the identity marking attribute in each DID digital identity in the block chain;
step S220: respectively establishing corresponding connection relations of all subject judgment codes generated by identity marking attributes of all DID digital identities of all financial supply subjects; wherein each main body judgment code of one financial supply main body is correlated;
step S230: generating a correlation setting instruction according to the corresponding connection relation of each subject judgment code generated by the identity marking attribute of each DID digital identity of each financial supply subject;
step S240: and judging whether the identity marking attribute in each DID digital identity in the block chain belongs to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof.
Preferably, step S240: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof, and specifically comprising the following steps:
s241: obtaining a DID confirmation correlation instruction loaded by a financial supply main body; wherein the DID confirms that the association command corresponds to the association setting command.
S242: activating the association setting instruction based on a DID confirm association instruction loaded by a financial provisioning body;
s243: and judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject or not based on the activated association setting instruction according to zero knowledge proof.
Preferably, step S243: judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject or not based on the activated association setting instruction according to zero knowledge proof, and specifically comprising the following steps:
step S2431: reversely searching a main body judgment code associated with the activated association setting instruction in the block chain based on the activated association setting instruction;
step S2432: and judging whether each main body judgment code belongs to the same financial supply main body or not according to the associated main body judgment codes searched reversely based on the zero knowledge proof.
Preferably, step S400: the method is compatible in each financial supply chain in the blockchain according to the multi-chain unique identification identity, and specifically comprises the following steps:
step S410: positioning the specific supply position of the financial supply main body corresponding to the multi-chain unique identification in each financial supply chain in the block chain according to the multi-chain unique identification;
step S420: and applying the supply relation of the financial supply main body corresponding to the multi-chain unique identification identity to the corresponding supply chain in the block chain according to the positioned specific supply position.
Preferably, the financial provisioning main body includes a core financial main body and a plurality of peripheral financial main bodies, and the step S100: based on the DID technology, the method provides DID digital identities for various financial supply bodies, and specifically comprises the following steps:
step S110: acquiring basic subject information of a financial supply subject; wherein the basic subject information at least comprises a transaction bill, an account receivable voucher and a logistics voucher.
Step S120: authenticating whether the financial provisioning subject belongs to a core financial subject or a peripheral financial subject according to the basic subject information;
step S130: respectively providing the DID digital identities for the authenticated core financial subject and the authenticated peripheral financial subject by adopting a DID technology of a W3C standard; the certified DID digital identity of the core financial subject is a core DID identity, and the certified DID digital identity of the peripheral financial subject is a peripheral DID identity.
Preferably, step S130: respectively providing the DID digital identities for the authenticated core financial subject and the authenticated peripheral financial subject by adopting a DID technology of a W3C standard; wherein, the DID digital identity of the core finance subject after the authentication is the core DID identity, and after the DID digital identity of the peripheral finance subject after the authentication is the peripheral DID identity, the method further comprises:
step S140: performing hash value uplink on the core DID identity and the peripheral DID identity;
step S150: setting the core DID identity and the peripheral DID identity after the hash value is linked in corresponding positions in each financial supply chain in the block chain; the core financial subject corresponding to the core DID identity is set at a core position in the financial supply chain, and the peripheral financial subject corresponding to the peripheral DID identity is set at a peripheral position in the financial supply chain;
step S160: establishing a financial supply chain relationship between a core financial subject set in a core position and a peripheral financial subject set in a peripheral position in each financial supply chain in the block chain;
preferably, a block chain supply chain financial supply apparatus based on DID and zero knowledge proof, the apparatus comprising:
the digital identity generating module is used for providing DID digital identities for the financial supply bodies based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute;
the zero knowledge application module is used for judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply main body or not according to zero knowledge proof;
the unique identity identification module is used for collecting and setting the identity identifiers in the DID digital identities belonging to the same financial supply subject as a multi-chain unique identity if the unique identity identification module judges that the DID digital identities belong to the same financial supply subject;
and the supply chain using module is used for compatibly using in each financial supply chain in the block chain according to the multi-chain unique identification identity.
Preferably, the zero knowledge application module is further configured to:
generating a main body judgment code according to the identity marking attribute in each DID digital identity in the block chain;
respectively establishing corresponding connection relations of all subject judgment codes generated by identity marking attributes of all DID digital identities of all financial supply subjects; wherein each main body judgment code of one financial supply main body is correlated;
generating a correlation setting instruction according to the corresponding connection relation of each subject judgment code generated by the identity marking attribute of each DID digital identity of each financial supply subject;
and judging whether the identity marking attribute in each DID digital identity in the block chain belongs to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof.
Preferably, a block chain supply chain financial system based on DID and zero knowledge proof, the system is used for providing DID digital identity for each financial supply body based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute; the identity marking attribute judging module is used for judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply main body or not according to zero knowledge proof; if the identity identifiers are judged to be the same, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identities; for compatible use in each financial supply chain in the blockchain based on the multi-chain unique identification identity.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the above DID and zero knowledge proof based block chain supply chain financial supply method when the computer program is executed.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described DID and zero knowledge proof-based blockchain supply chain financial provisioning method.
The technical effects of the block chain supply chain financial supply method and system based on DID and zero knowledge certification are as follows:
the block chain supply chain financial supply method and system based on DID and zero knowledge certification firstly provide DID digital identities for each financial supply main body based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute; then, judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject according to zero knowledge proof; if the identity identifiers are judged to be the same, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identities; finally, according to the compatible use of the multi-chain unique identification identity in each financial supply chain in the blockchain, by utilizing the advantages of point-to-point communication, digital encryption, distributed account book and multiparty collaboration of the blockchain, the method is integrated into the application of a financial supply platform, can perform cross-chain transaction between supply chains, is assisted by using a DID technology to provide a DID digital identity as a unique identification code for each financial supply main body, enables each main body to have an identity ID, can uniquely use the identity ID in different supply chain financial closed loops, avoids cost, efficiency loss and the like caused by repeated registration, judges whether the identity marking attribute in each DID digital identity in the blockchain belongs to the same financial supply main body through zero knowledge, maintains normal flow and enhances privacy protection, and generally speaking, the method greatly improves related operation efficiency, the liquidity of the supply chain is improved, so that suppliers at all levels can obtain matched financing in a shorter time.
Drawings
FIG. 1 is a flow diagram illustrating a method for block chain supply chain financial provisioning based on DID and zero knowledge attestation, according to one embodiment;
FIG. 2 is a block diagram of a block chain supply chain financial provisioning apparatus based on DID and zero knowledge attestation, according to one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 2, a method for block chain supply chain financial supply based on DID and zero knowledge proofs is provided,
step S100: providing DID digital identities for the financial supply bodies based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute;
specifically, based on the DID technology, the financial provisioning main body can register a plurality of account numbers, and each account number is registered to obtain one identity and correspondingly obtain a corresponding DID digital identity, that is, the financial provisioning main body has at least one DID digital identity.
Step S200: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject or not according to zero knowledge proof;
specifically, whether the identity marking attribute in each DID digital identity in the block chain belongs to the same financial supply subject is judged, and whether the same financial supply subject can only use the identity ID in different supply chain financial closed loops is further judged, so that cost and efficiency loss caused by repeated registration is avoided.
Step S300: if the identification is judged to be yes, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identity;
specifically, the determination is yes, in order to determine that the identity marking attribute in each DID digital identity in the blockchain belongs to the same financial supply subject. Therefore, the ID identifiers in the DID digital identities belonging to the same financial supply main body are collected and set as multi-chain unique identification identities, so that the same financial supply main body can be ensured to uniquely use the ID in different supply chain financial closed loops, and the cost and efficiency loss caused by repeated registration is avoided.
Step S400: and the unique identification identities are compatibly used in each financial supply chain in the block chain according to the multi-chain.
The block chain supply chain financial supply method and system based on DID and zero knowledge certification firstly provide DID digital identities for each financial supply main body based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute; then, judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject according to zero knowledge proof; if the identity identifiers are judged to be the same, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identities; finally, according to the compatible use of the multi-chain unique identification identity in each financial supply chain in the blockchain, by utilizing the advantages of point-to-point communication, digital encryption, distributed account book and multiparty collaboration of the blockchain, the method is integrated into the application of a financial supply platform, can perform cross-chain transaction between supply chains, is assisted by using a DID technology to provide a DID digital identity as a unique identification code for each financial supply main body, enables each main body to have an identity ID, can uniquely use the identity ID in different supply chain financial closed loops, avoids cost, efficiency loss and the like caused by repeated registration, judges whether the identity marking attribute in each DID digital identity in the blockchain belongs to the same financial supply main body through zero knowledge, maintains normal flow and enhances privacy protection, and generally speaking, the method greatly improves related operation efficiency, the liquidity of the supply chain is improved, so that suppliers at all levels can obtain matched financing in a shorter time.
In one embodiment, the financial provisioning main body includes a core financial main body and a plurality of peripheral financial main bodies, step S100: based on the DID technology, the method provides DID digital identities for various financial supply bodies, and specifically comprises the following steps:
step S110: acquiring basic subject information of a financial supply subject; wherein the basic subject information at least comprises a transaction bill, an account receivable voucher and a logistics voucher.
Specifically, the input and collection of financial information are realized through uploading of basic information such as transaction bills, accounts receivable certificates and logistics certificates.
Step S120: authenticating whether the financial provisioning subject belongs to a core financial subject or a peripheral financial subject according to the basic subject information;
specifically, a supply chain is divided into a core enterprise and an upper enterprise and a lower enterprise, wherein the upper enterprise and the lower enterprise provide financial supplies for the core enterprise, such as services of logistics, warehousing, investors and the like, the core enterprise is a core financial subject, and the upper enterprise and the lower enterprise are peripheral financial subjects.
Step S130: respectively providing the DID digital identities for the authenticated core financial subject and the authenticated peripheral financial subject by adopting a DID technology of a W3C standard; the certified DID digital identity of the core financial subject is a core DID identity, and the certified DID digital identity of the peripheral financial subject is a peripheral DID identity.
Specifically, through setting up core DID identity and peripheral DID identity, realize the differentiation to core finance subject and peripheral finance subject, promote the stability and the managerial ability of supply chain system.
In one embodiment, step S130: respectively providing the DID digital identities for the authenticated core financial subject and the authenticated peripheral financial subject by adopting a DID technology of a W3C standard; wherein, the DID digital identity of the core finance subject after the authentication is the core DID identity, and after the DID digital identity of the peripheral finance subject after the authentication is the peripheral DID identity, the method further comprises:
step S140: performing hash value uplink on the core DID identity and the peripheral DID identity;
specifically, by utilizing the hash value uplink technology in the block chain technology, digital proof which cannot be tampered is realized, and a brand new financial data credit authentication mechanism is established, so that the overall management level in the field of financial supply chains is improved.
Step S150: setting the core DID identity and the peripheral DID identity after the hash value is linked in corresponding positions in each financial supply chain in the block chain; the core financial subject corresponding to the core DID identity is set at a core position in the financial supply chain, and the peripheral financial subject corresponding to the peripheral DID identity is set at a peripheral position in the financial supply chain;
specifically, after the corresponding position relationship is set, an ordered and efficient financial supply relationship is formed, and then the credit capability of each party is provided for each party through information digitization, so that the supply efficiency of a supply chain and the stability of the whole framework are improved.
Step S160: establishing a financial supply chain relationship between a core financial subject set in a core position and a peripheral financial subject set in a peripheral position in each financial supply chain in the block chain;
specifically, the financial supply chain relationship is preset according to the actual supply-demand relationship of the actual financial supply main body, and after the connection relationship is directly established after the core financial main body and the peripheral financial main body which is set in the peripheral position are obtained, the complete supply chain relationship can be formed, so that the effect of efficiently establishing the supply chain is realized.
In one embodiment, step S200: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject according to zero knowledge proof, and specifically comprising the following steps:
step S210: generating a main body judgment code according to the identity marking attribute in each DID digital identity in the block chain;
specifically, the generated subject judgment code includes identity attribute information in each DID digital identity in the block chain. The meaning is that after the subject judgment code is obtained, the financial supply subject corresponding to each DID digital identity in the block chain can be judged through zero knowledge proof technology.
Step S220: respectively establishing corresponding connection relations of all subject judgment codes generated by identity marking attributes of all DID digital identities of all financial supply subjects; wherein each main body judgment code of one financial supply main body is correlated;
in this step, all the main body judgment codes of a financial supply main body are set differently, in order to ensure that all the registered identities of the financial supply main body are mutually independent, after the corresponding connection relation of all the main body judgment codes generated by the identity marking attributes of all the DID digital identities of all the financial supply main bodies is established, all the main body judgment codes of one financial supply main body are related, which means that any main body judgment code of one financial supply main body is obtained, namely the financial supply main body corresponding to the rest main body judgment codes and the financial supply main body corresponding to the currently obtained main body judgment code of one financial supply main body are judged to be the same financial supply main body, thereby ensuring the safety performance of the financial supply main body, simultaneously utilizing zero knowledge to prove and protect the privacy data which each financial supply main body wants to protect, and enhancing the privacy protection while maintaining the normal flow, the financial supply main bodies can prove whether the related information is correct or not to other parties without informing the related information of other parties, so that the related operation efficiency is greatly improved, the liquidity of the supply chain is improved, and all levels of suppliers can obtain matched financing in a short time.
Step S230: generating a correlation setting instruction according to the corresponding connection relation of each subject judgment code generated by the identity marking attribute of each DID digital identity of each financial supply subject;
after the step generates the association setting instruction according to the corresponding connection relation of the subject judgment codes generated by the identity marking attributes of the DID digital identities of the financial supply subjects, the resume of the corresponding connection relation of the subject judgment codes generated by the identity marking attributes of the DID digital identities of the financial supply subjects is realized, and the generated association setting instruction contains the corresponding connection relation.
Step S240: and judging whether the identity marking attribute in each DID digital identity in the block chain belongs to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof.
In one embodiment, step S240: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof, and specifically comprising the following steps:
s241: obtaining a DID confirmation correlation instruction loaded by a financial supply main body; wherein the DID confirms that the association command corresponds to the association setting command.
In this step, the DID confirmation association command loaded by the financial supplier is set and output for the user himself, so as to achieve the acquisition of the DID confirmation association command loaded by the financial supplier, that is, the user's independent setting and flexible requirements are achieved.
S242: activating the association setting instruction based on a DID confirm association instruction loaded by a financial provisioning body;
specifically, the association setting instruction is activated through the DID confirmation association instruction in the step, so that when whether the financial supply main body belongs to the same financial supply main body is confirmed, one more protection activation step is added, multi-step and multi-inclusion confirmation is realized, and the financial safety protection efficiency is improved.
S243: and judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject or not based on the activated association setting instruction according to zero knowledge proof.
In one embodiment, step S243: judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject or not based on the activated association setting instruction according to zero knowledge proof, and specifically comprising the following steps:
step S2431: reversely searching a main body judgment code associated with the activated association setting instruction in the block chain based on the activated association setting instruction;
specifically, there are multiple supply chains in the block chain, and there are multiple subject judgment codes corresponding to various financial supply subjects in the supply chain, and after the activated association setting instruction is obtained, it is necessary to reversely search the subject judgment code associated with the activated association setting instruction in the block chain to obtain the subject judgment code associated with the currently activated association setting instruction.
Step S2432: and judging whether each main body judgment code belongs to the same financial supply main body or not according to the associated main body judgment codes searched reversely based on the zero knowledge proof.
Specifically, in steps S241 to S2432, the autonomous setting and flexible requirement of the DID confirmation association command loaded by the financial supply main body by the user are realized, when the user requires, the association command is confirmed by the DID loaded by the financial supply main body, so that the association of different DID digital identities registered by the user is realized, the problem of identity duplication of one financial supply main body is solved, the registration and storage cost of the user are greatly reduced, the whole process determines whether to perform association for the user autonomously, and when determining association, the problem of duplicate registration of the financial supply system in a chain is avoided.
Moreover, the association is carried out and judged in the block chain, specific user basic information is not included, private data are not disclosed, and the privacy protection of core enterprises and upstream and downstream enterprises is greatly improved.
In one embodiment, step S400: the method is compatible in each financial supply chain in the blockchain according to the multi-chain unique identification identity, and specifically comprises the following steps:
step S410: positioning the specific supply position of the financial supply main body corresponding to the multi-chain unique identification in each financial supply chain in the block chain according to the multi-chain unique identification;
specifically, the multi-chain unique identification identity is positioned in the step, so that the specific supply position of the financial supply main body corresponding to the multi-chain unique identification identity in each financial supply chain is determined, and the efficient and rapid arrangement of the financial supply main body corresponding to the multi-chain unique identification identity in each financial supply chain is improved.
Step S420: and applying the supply relation of the financial supply main body corresponding to the multi-chain unique identification identity to the corresponding supply chain in the block chain according to the positioned specific supply position.
In one embodiment, there is also provided a block chain supply chain financial provisioning apparatus based on DID and zero knowledge proofs, the apparatus comprising:
the digital identity generating module is used for providing DID digital identities for the financial supply bodies based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute;
the zero knowledge application module is used for judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply main body or not according to zero knowledge proof;
the unique identity identification module is used for collecting and setting the identity identifiers in the DID digital identities belonging to the same financial supply subject as a multi-chain unique identity if the unique identity identification module judges that the DID digital identities belong to the same financial supply subject;
and the supply chain using module is used for compatibly using in each financial supply chain in the block chain according to the multi-chain unique identification identity.
In one embodiment, the zero knowledge application module is further configured to:
generating a main body judgment code according to the identity marking attribute in each DID digital identity in the block chain;
respectively establishing corresponding connection relations of all subject judgment codes generated by identity marking attributes of all DID digital identities of all financial supply subjects; wherein each main body judgment code of one financial supply main body is correlated;
generating a correlation setting instruction according to the corresponding connection relation of each subject judgment code generated by the identity marking attribute of each DID digital identity of each financial supply subject;
and judging whether the identity marking attribute in each DID digital identity in the block chain belongs to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof.
In one embodiment, the DID and zero knowledge proof based block chain supply chain financial supply apparatus further comprises the following modules:
a basic subject information acquisition module for acquiring basic subject information of a financial supply subject; wherein the basic subject information at least comprises a transaction bill, an account receivable voucher and a logistics voucher.
The first judgment module is used for authenticating whether the financial supply main body belongs to a core financial main body or a peripheral financial main body according to the basic main body information;
a W3C standard identity providing module for providing the DID digital identity for the authenticated core financial subject and the peripheral financial subject respectively by adopting the DID technology of the W3C standard; the certified DID digital identity of the core financial subject is a core DID identity, and the certified DID digital identity of the peripheral financial subject is a peripheral DID identity.
A hash value uplink module, configured to perform hash value uplink on the core DID identity and the peripheral DID identity;
the identity setting module is used for setting the core DID identity and the peripheral DID identity after the chain is linked to the hash value at corresponding positions in each financial supply chain in the block chain; the core financial subject corresponding to the core DID identity is set at a core position in the financial supply chain, and the peripheral financial subject corresponding to the peripheral DID identity is set at a peripheral position in the financial supply chain;
the financial supply chain relation establishing module is used for establishing the financial supply chain relation between a core financial subject set in a core position and a peripheral financial subject set in a peripheral position in each financial supply chain in the block chain;
in one embodiment, a block chain supply chain financial system based on DID and zero knowledge proof is also provided, the system is used for providing DID digital identity for each financial supply subject based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute; the identity marking attribute judging module is used for judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply main body or not according to zero knowledge proof; if the identity identifiers are judged to be the same, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identities; for compatible use in each financial supply chain in the blockchain based on the multi-chain unique identification identity.
In one embodiment, there is also provided a computer apparatus comprising a memory storing a computer program and a processor implementing the steps of a DID and zero knowledge proof based blockchain supply chain financial supply method when the processor executes the computer program.
In one embodiment, a computer readable storage medium is also provided, having stored thereon a computer program that, when executed by a processor, performs the steps of a block chain supply chain financial supply method based on DID and zero knowledge proofs.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A financial supply method of block chain supply chain based on DID and zero knowledge certification is characterized in that,
step S100: providing DID digital identities for the financial supply bodies based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute;
step S200: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject or not according to zero knowledge proof;
step S300: if the identification is judged to be yes, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identity;
step S400: and the unique identification identities are compatibly used in each financial supply chain in the block chain according to the multi-chain.
2. The DID and zero knowledge proof-based financial supply method of a block chain supply chain according to claim 1, wherein the step S200: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject according to zero knowledge proof, and specifically comprising the following steps:
step S210: generating a main body judgment code according to the identity marking attribute in each DID digital identity in the block chain;
step S220: respectively establishing corresponding connection relations of all subject judgment codes generated by identity marking attributes of all DID digital identities of all financial supply subjects; wherein each main body judgment code of one financial supply main body is correlated;
step S230: generating a correlation setting instruction according to the corresponding connection relation of each subject judgment code generated by the identity marking attribute of each DID digital identity of each financial supply subject;
step S240: and judging whether the identity marking attribute in each DID digital identity in the block chain belongs to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof.
3. The DID and zero knowledge proof-based financial supply method of claim 2, wherein the step S240: judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof, and specifically comprising the following steps:
s241: obtaining a DID confirmation correlation instruction loaded by a financial supply main body; wherein the DID confirms that the association command corresponds to the association setting command.
S242: activating the association setting instruction based on a DID confirm association instruction loaded by a financial provisioning body;
s243: and judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject or not based on the activated association setting instruction according to zero knowledge proof.
4. The DID and zero knowledge proof-based financial supply method of claim 3, wherein the step S243 is: judging whether the identity marking attributes in the DID digital identities in the block chain belong to the same financial supply subject or not based on the activated association setting instruction according to zero knowledge proof, and specifically comprising the following steps:
step S2431: reversely searching a main body judgment code associated with the activated association setting instruction in the block chain based on the activated association setting instruction;
step S2432: and judging whether each main body judgment code belongs to the same financial supply main body or not according to the associated main body judgment codes searched reversely based on the zero knowledge proof.
5. The DID and zero knowledge proof-based block chain supply chain financial supply method of claim 4, wherein the step S400: the method is compatible in each financial supply chain in the blockchain according to the multi-chain unique identification identity, and specifically comprises the following steps:
step S410: positioning the specific supply position of the financial supply main body corresponding to the multi-chain unique identification in each financial supply chain in the block chain according to the multi-chain unique identification;
step S420: and applying the supply relation of the financial supply main body corresponding to the multi-chain unique identification identity to the corresponding supply chain in the block chain according to the positioned specific supply position.
6. A block chain supply chain financial provisioning apparatus based on DID and zero knowledge certification, the apparatus comprising:
the digital identity generating module is used for providing DID digital identities for the financial supply bodies based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute;
the zero knowledge application module is used for judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply main body or not according to zero knowledge proof;
the unique identity identification module is used for collecting and setting the identity identifiers in the DID digital identities belonging to the same financial supply subject as a multi-chain unique identity if the unique identity identification module judges that the DID digital identities belong to the same financial supply subject;
and the supply chain using module is used for compatibly using in each financial supply chain in the block chain according to the multi-chain unique identification identity.
7. The DID and zero knowledge certification based blockchain supply chain financial provisioning apparatus according to claim 6, wherein the zero knowledge application module is further configured to:
generating a main body judgment code according to the identity marking attribute in each DID digital identity in the block chain;
respectively establishing corresponding connection relations of all subject judgment codes generated by identity marking attributes of all DID digital identities of all financial supply subjects; wherein each main body judgment code of one financial supply main body is correlated;
generating a correlation setting instruction according to the corresponding connection relation of each subject judgment code generated by the identity marking attribute of each DID digital identity of each financial supply subject;
and judging whether the identity marking attribute in each DID digital identity in the block chain belongs to the same financial supply subject or not based on the association setting instruction according to zero knowledge proof.
8. A block chain supply chain financial system based on DID and zero knowledge proofs, the system being configured to provide DID digital identities for financial provisioning entities based on DID technology; wherein a financial provisioning entity has at least one DID digital identity; each DID digital identity comprises an identity identifier and an identity attribute; the identity marking attribute judging module is used for judging whether the identity marking attributes in all DID digital identities in the block chain belong to the same financial supply main body or not according to zero knowledge proof; if the identity identifiers are judged to be the same, the identity identifiers in the DID digital identities belonging to the same financial supply subject are collected and set as the multi-chain unique identification identities; for compatible use in each financial supply chain in the blockchain based on the multi-chain unique identification identity.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202110011651.0A 2021-01-06 2021-01-06 Block chain supply chain financial supply method and system based on DID and zero knowledge proof Active CN112732832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110011651.0A CN112732832B (en) 2021-01-06 2021-01-06 Block chain supply chain financial supply method and system based on DID and zero knowledge proof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110011651.0A CN112732832B (en) 2021-01-06 2021-01-06 Block chain supply chain financial supply method and system based on DID and zero knowledge proof

Publications (2)

Publication Number Publication Date
CN112732832A true CN112732832A (en) 2021-04-30
CN112732832B CN112732832B (en) 2024-02-13

Family

ID=75590693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110011651.0A Active CN112732832B (en) 2021-01-06 2021-01-06 Block chain supply chain financial supply method and system based on DID and zero knowledge proof

Country Status (1)

Country Link
CN (1) CN112732832B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452701A (en) * 2021-06-28 2021-09-28 上海计算机软件技术开发中心 Cross-chain system and cross-chain system-oriented distributed user identity authentication model
CN114091009A (en) * 2021-11-19 2022-02-25 四川启睿克科技有限公司 Method for establishing secure link by using distributed identity

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902476A (en) * 2010-07-27 2010-12-01 浙江大学 Method for authenticating identity of mobile peer-to-peer user
CN108833114A (en) * 2018-06-13 2018-11-16 上海交通大学 A kind of decentralization identity authorization system and method based on block chain
CN110224837A (en) * 2019-06-06 2019-09-10 西安纸贵互联网科技有限公司 Zero-knowledge proof method and terminal based on distributed identity
CN111090842A (en) * 2019-12-23 2020-05-01 上海源庐加佳信息科技有限公司 Supply chain financial customer loan information protection method based on zero knowledge certification
CN112016923A (en) * 2020-08-28 2020-12-01 北京大学深圳研究生院 Intra-network cross-domain identity management method and system based on block chain and computational power network
US20200403805A1 (en) * 2019-06-18 2020-12-24 Transmute Industries, Inc. Systems and Methods for a Decentralized Data Authentication Platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902476A (en) * 2010-07-27 2010-12-01 浙江大学 Method for authenticating identity of mobile peer-to-peer user
CN108833114A (en) * 2018-06-13 2018-11-16 上海交通大学 A kind of decentralization identity authorization system and method based on block chain
CN110224837A (en) * 2019-06-06 2019-09-10 西安纸贵互联网科技有限公司 Zero-knowledge proof method and terminal based on distributed identity
US20200403805A1 (en) * 2019-06-18 2020-12-24 Transmute Industries, Inc. Systems and Methods for a Decentralized Data Authentication Platform
CN111090842A (en) * 2019-12-23 2020-05-01 上海源庐加佳信息科技有限公司 Supply chain financial customer loan information protection method based on zero knowledge certification
CN112016923A (en) * 2020-08-28 2020-12-01 北京大学深圳研究生院 Intra-network cross-domain identity management method and system based on block chain and computational power network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452701A (en) * 2021-06-28 2021-09-28 上海计算机软件技术开发中心 Cross-chain system and cross-chain system-oriented distributed user identity authentication model
CN114091009A (en) * 2021-11-19 2022-02-25 四川启睿克科技有限公司 Method for establishing secure link by using distributed identity

Also Published As

Publication number Publication date
CN112732832B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
CN108647962B (en) Credit investigation system, credit investigation data storage method, device, equipment and medium
CN110912712B (en) Service operation risk authentication method and system based on block chain
US7690032B1 (en) Method and system for confirming the identity of a user
CN108154351B (en) Method, system and medium for implementing physical and electronic integrated seal and transaction approval
US20060047605A1 (en) Privacy management method and apparatus
CN110326251A (en) The system and method that the general dispersion solution of user is verified using cross validation feature are provided
US20080208726A1 (en) Method and system for securing credit accounts
CN112732832A (en) DID and zero knowledge proof based block chain supply chain financial supply method and system
CN110392041B (en) Electronic authorization method, device, storage equipment and storage medium
KR102067808B1 (en) System and method for communicating credentials
US11138593B1 (en) Systems and methods for contactless smart card authentication
TW202024975A (en) Information processing method and device, electronic equipment and computer readable storage medium
CN109249895A (en) A kind of automobile and management control system and method based on living things feature recognition
CN110414197B (en) Bank user identity verification method and device based on behavior characteristics
JP2008525890A (en) Apparatus and method for verifying financial resources for financial transactions
US20230145127A1 (en) Authentication of data sharing
CN108431843B (en) Transaction processing method and device
CN113077331A (en) Personal financial credit evaluation system and method based on big data
CN109191127A (en) A kind of method and tool of digital asset secure storage
EP2254093A1 (en) Method and system for confirming the identity of a user background of the invention
CN114936848A (en) Contract flow management method and storage medium
US20220376914A1 (en) Token management system and method
US11526888B2 (en) Relying party risk-adjusted indicator system and method
KR101152892B1 (en) Method and apparatus for mmanaging withdrawal with bank card
CN112686666A (en) Electronic wallet transaction method and device for railway business system

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
GR01 Patent grant
GR01 Patent grant