CN109033788B - Certificate management method and device based on block chain technology - Google Patents
Certificate management method and device based on block chain technology Download PDFInfo
- Publication number
- CN109033788B CN109033788B CN201810621086.8A CN201810621086A CN109033788B CN 109033788 B CN109033788 B CN 109033788B CN 201810621086 A CN201810621086 A CN 201810621086A CN 109033788 B CN109033788 B CN 109033788B
- Authority
- CN
- China
- Prior art keywords
- certificate
- identity
- uid
- version
- asset
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/33—User authentication using certificates
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a certificate management method and a device based on a block chain technology, wherein the method comprises the following steps: constructing a block chain cluster; according to the identity certificate, the asset certificate, the legal certificate and the right-confirming certificate, acquiring the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the right-confirming UID of the right-confirming certificate; and respectively writing the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the legal certificate UID of the right-confirming certificate into blocks on the corresponding identity chain, asset chain, legal certificate chain and right-confirming chain in the block chain cluster. The invention realizes that each chain can be repeatedly used in different service scenes by uploading the abstract and the identity UID of each certificate to each block chain, simplifies the block data structure, ensures that the inquiry is simpler and more convenient, and greatly improves the reading and writing capability of the system.
Description
Technical Field
The present invention relates to the field of block technologies, and in particular, to a certificate management method and apparatus based on a block chain technology.
Background
At present, the existing registration certificate management system stores around a paper certificate or an electronic certificate, each registration certificate is stored in a centralized database system of a registration organization in the form of one or a plurality of data records, and one certificate is not stored in a distributed mode in a unique and independent digital encryption file mode, so that the certificate is easy to be tampered; database systems in various places throughout the country are not interconnected, so that the storage mode is difficult for users to inquire the authenticity of a certificate.
In addition, because the block chain appears, the registered certificate is uploaded to the block chain, so that the user can conveniently inquire and distinguish the authenticity, but if the information of all certificates is uploaded to one chain, various types of information are stored in the first same block, and the repeated use of the information is not facilitated; the data structure of the second block is very complex, the query is very difficult, and the query efficiency is low; and the writing of the third block needs queuing, so that the reading and writing capability of the system is seriously reduced.
Disclosure of Invention
In order to solve the above problems, the present invention provides a certificate management method and apparatus based on a blockchain technique.
In a first aspect, the present invention provides a certificate management method based on a blockchain technique, including: constructing a block chain cluster; according to an identity certificate, an asset certificate, a legal certificate and a right-confirming certificate, acquiring a digest and an identity UID of the identity certificate, a digest and an asset UID of the asset certificate, a digest and a legal certificate UID of the legal certificate and a digest and a right-confirming UID of the right-confirming certificate; and respectively writing the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the authority certificate UID of the authority certificate into blocks on a corresponding identity chain, an asset chain, a legal certificate chain and an authority certificate chain in a block chain cluster.
Preferably, the method further comprises the following steps: acquiring an abstract and an identity version UID of the identity version certificate according to the identity version certificate; and writing the digest of the identity version certificate and the identity version UID into a block on the corresponding identity version chain in the block chain cluster.
Preferably, the method further comprises the following steps: acquiring a summary and an asset version UID of the asset version certificate according to the asset version certificate; writing the digest of the asset version certificate and the asset version UID to a block on a corresponding asset version chain in a block chain cluster.
Preferably, the method further comprises the following steps: acquiring a summary of the legal certification document version certificate and a legal certification document version UID according to the legal certification document version certificate; and writing the abstract of the legal certification file version certificate and the UID of the legal certification file version certificate into a block on the corresponding legal certification file version chain in the block chain cluster.
Preferably, the method further comprises the following steps: dividing the identity certificate into a personal identity certificate and an organization identity certificate according to the identity certificate, and respectively writing the identity certificate into blocks on a corresponding personal identity chain and an organization identity chain in a block chain cluster according to the abstract and the personal identity UID of the personal identity certificate and the abstract and the organization identity UID of the organization identity certificate; and/or dividing the assets into N asset certificates according to the categories of the assets, and respectively writing the N asset certificates and the asset UIDs into the blocks on the corresponding N asset chains in the block chain cluster, wherein N is a natural number greater than 1.
Preferably, the method further comprises the following steps: according to the transaction of the assets, the legal certificate can generate a transferred legal certificate and an authorized legal certificate, then generate a digest of the transferred legal certificate and a transferred legal certificate UID, and write the digest of the authorized legal certificate and the authorized legal certificate UID into the corresponding transaction certificate chain in the blockchain cluster.
Preferably, the block chain cluster further performs industry classification according to the certificate of authenticity, divides the asset certificate into M types, and then writes the digest and the asset UID of the M types of asset certificates into corresponding blocks on M types of asset chains in the block chain cluster, where M is a natural number greater than 1.
Preferably, the method further comprises the following steps: when the assets are transferred, the abstract and the identity UID of the identity certificate of the transferee after transfer and the abstract and the authority-confirming UID of the authority-confirming certificate are added and written into the corresponding identity chain and the corresponding blocks on the authority-confirming chain in the block chain cluster; and/or when the asset is in use permission, the digest and the identity UID of the identity certificate of the permitted user and the digest and the authority certificate UID of the authority certificate are added and written into the corresponding identity chain and the corresponding block on the authority chain in the block chain cluster.
Preferably, the identity certificate, the identity version certificate, the asset version certificate and the certificate of authenticity are all stored with the certificate UID as a file name and dat as an extended file name.
In a second aspect, the present invention provides a certificate management apparatus based on a blockchain technique, including: the generating module is used for constructing a block chain cluster; the acquisition module is used for acquiring the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the legal certificate UID of the right certificate according to the identity certificate, the asset certificate, the legal certificate and the right certificate; and the processing module is used for writing the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the legal certificate UID of the right-confirming certificate into blocks on corresponding identity chains, asset chains, legal certificate chains and right-confirming chains in the block chain cluster respectively.
The invention uploads the abstract and the identity UID of each certificate to each block chain, so that the information uploaded to the block chain is not easy to be tampered, and application software is convenient to identify the certificate content; the block chain is widely applied, so that the certificate corresponding to the certificate information written into the block chain is easy to circulate, inquire and store; in addition, different types of certificates are stored in a chain, each chain can be repeatedly used in different service scenes, the block data structure is simplified, the query is simple and convenient, the query is easy, and the reading and writing capability of the system is greatly improved.
Drawings
Fig. 1 is a flowchart of a certificate management method based on a block chain according to an embodiment of the present invention;
fig. 2 is a flowchart of another block chain-based certificate management method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a certificate management apparatus based on a block chain according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention are further described in detail below with reference to the accompanying drawings and the embodiments.
Fig. 1 is a flowchart of a certificate management method based on a blockchain technique according to an embodiment of the present invention. Fig. 1 illustrates a certificate management method based on a blockchain technique, which includes the following specific steps:
step S101, a block chain cluster is constructed.
Specifically, since the registration certificate includes an identity certificate, an asset certificate, a legal certificate and an authority confirmation certificate, at least four block chains of the established block chain cluster are respectively the identity chain, the asset chain, the legal certificate chain and the authority confirmation chain.
Optionally, if the identity information is divided into personal identity information and organization identity information according to the type of the identity information, two identity chains in the established block chain cluster are respectively a personal identity chain and an organization identity chain;
optionally, if the asset creation information of the assets can be divided into N types of asset creation information such as characters, video screens and pictures according to the types of the asset creation information of the assets, N asset chains in the block chain cluster are constructed, and the N asset chains are respectively a character asset chain, a video asset chain, a picture asset chain and other N asset chains, wherein N is a natural number greater than 1. .
Alternatively, the legal certificate may generate a transferred legal certificate and an approved legal certificate according to the transaction of the asset, and then write the generated transferred legal certificate and transferred legal certificate UID, the transferred legal certificate and the approved legal certificate UID to the corresponding transaction certificate chain in the blockchain cluster.
Optionally, M kinds of assets, such as a house property certificate, a patent certificate, a work authorization certificate, and the like, may be further divided according to the industry of the authorization certificate, and then the assets are divided into M kinds, and at least M asset block chains are constructed in the block chain cluster. The block chain cluster comprises M asset chains, and M is a natural number greater than 1.
Step S102, according to the identity certificate, the asset certificate, the legal certificate and the right-confirming certificate, obtaining the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the right-confirming UID of the right-confirming certificate.
Specifically, the user extracts the digest and the certificate UID in the file generated by the four certificates according to the four certificates, i.e., the identity certificate, the asset certificate, the certificate of legal document and the certificate of authority.
In the block chain, after information is written into one block of the block chain, the information is automatically copied to the blocks of other block chains. Therefore, only the abstract and the certificate UID in the certificate need to be provided, the user can inquire on the block chain in the server according to the abstract or the certificate UID of the certificate, and then the user can download the specific certificate on the block chain.
The files generated by the certificate are stored in the server by using the certificate UID as the file name and dat as the extension file name.
Step S103, respectively writing the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the legal certificate UID of the right-confirming certificate into blocks on the corresponding identity chain, asset chain, legal certificate chain and right-confirming chain in the block chain cluster.
Specifically, the obtained digest and the identity UID of the identity certificate are written into a block on an identity chain in a block chain cluster, the digest and the asset UID of the asset certificate are written into a block on an asset chain in the block chain cluster, the digest and the legal certification file UID of the legal certification file certificate are written into a block on the legal certification file chain in the block chain cluster, and the digest and the certification UID of the certification certificate are written into a block on the certification chain in the block chain cluster.
The information written into the blockchain is not changeable because the information on the blockchain is not changeable, so that the certificate of the uplink can be prevented from being tampered; in addition, since the upper chain is the abstract of the certificate and the UID of the certificate, the identification of the application software is facilitated.
Optionally, the identity certificate is divided into a personal identity certificate and an organization identity certificate, and the obtained personal identity certificate is written into blocks on a corresponding personal identity chain and an organization identity chain in the block chain cluster respectively according to the abstract and the personal identity UID of the personal identity certificate and the abstract and the organization identity UID of the organization identity certificate; and dividing the assets into N asset certificates according to the categories of the assets, and respectively writing the assets into the blocks on the corresponding N asset chains in the block chain cluster according to the digests and the asset UIDs of the N asset certificates.
Optionally, version information of the identity may be generated according to the identity information and added to the generated right-confirming certificate, and at this time, the blockchain cluster may be divided into an identity chain, an identity version chain, an asset chain, a legal certificate chain, and a right-confirming chain. The concrete implementation is as follows:
according to the identity certificate, the identity version certificate, the asset certificate, the legal certificate and the right-confirming certificate, acquiring the abstract and the identity UID of the identity certificate, the abstract and the identity version UID of the identity version certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the right-confirming UID of the right-confirming certificate; and respectively writing the abstract and the identity UID of the identity certificate, the abstract and the identity UID of the identity version certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the legal certificate UID of the right-confirming certificate into the blocks on the corresponding identity chain, the identity version chain, the asset chain, the legal certificate file chain and the right-confirming chain in the block chain cluster.
The block chain cluster comprises a plurality of block chain clusters, wherein the block chain clusters are divided into personal identity version information and organization identity version information according to the types of the identity version information, and the two block chain clusters are a personal identity version chain and an organization identity version chain respectively. And respectively writing the block into the corresponding blocks on the personal identity version chain and the organization identity version chain in the block chain cluster according to the abstract of the personal identity version certificate, the personal identity version UID, the abstract of the organization identity certificate version and the organization identity version UID.
Optionally, version information of the asset may be generated according to the authoring information of the asset and added to the generated right-confirming certificate, and at this time, the blockchain cluster may be divided into an identity chain, an asset version chain, a legal document chain, and a right-confirming chain. The concrete implementation is as follows:
according to the identity certificate, the asset version certificate, the legal certificate and the right-confirming certificate, acquiring the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the asset version UID of the asset version certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the right-confirming UID of the right-confirming certificate; and respectively writing the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the asset version UID of the asset version certificate, the abstract and the legal certificate UID of the legal certificate and the abstract and the legal certificate UID of the right-confirming certificate into the blocks on the corresponding identity chain, asset version chain, legal certificate file chain and right-confirming chain in the block chain cluster.
If the asset version information can be divided into N asset version information such as characters, video screens, pictures and the like according to the types of the asset version information, N asset version chains in the established block chain cluster are respectively a character asset version chain, a video asset version chain, a picture asset version chain and the like. And the assets are also classified into N asset version certificates according to the categories of the assets, and the summaries of the N asset version certificates and the asset version UID are respectively written into the blocks on the corresponding N asset version chains in the block chain cluster.
Optionally, version information of the legal certification document may be generated according to the legal certification document information and added to the generated right-confirming certificate, and at this time, the blockchain cluster may be divided into an identity chain, an asset chain, a legal certification document version chain, and a right-confirming chain. The concrete implementation is as follows:
acquiring the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate UID of the legal certificate version certificate, the abstract and the legal certificate version UID of the legal certificate version certificate, and the abstract and the authority-confirming UID of the authority-confirming certificate according to the identity certificate, the asset version certificate, the legal certificate and the authority-confirming certificate; and respectively writing the abstract and the identity UID of the identity certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certification file UID of the legal certification file certificate, the abstract and the legal certification file version UID of the legal certification file version certificate, and the abstract and the authority confirmation UID of the authority confirmation certificate into the blocks on the corresponding identity chain, asset chain, legal certification file version chain and authority confirmation chain in the block chain cluster.
In addition, according to another certificate management method based on the blockchain technology as illustrated in fig. 2, the specific implementation steps are as follows:
step S301, constructing a block chain cluster;
step S302, according to the identity certificate, the identity version certificate, the asset version certificate, the legal certificate document version certificate and the right-confirming certificate, acquiring the abstract and the identity UID of the identity certificate, the abstract and the identity version UID of the identity version certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certificate document UID of the asset version certificate, the abstract and the legal certificate document version UID of the legal certificate document certificate, and the abstract and the right-confirming UID of the right-confirming certificate;
step S303, respectively writing the digest and the identity UID of the identity certificate, the digest and the identity version UID of the identity version certificate, the digest and the asset UID of the asset certificate, the digest and the legal certificate UID of the asset version certificate, the digest and the legal certificate UID of the legal certificate version certificate, and the digest and the right certificate UID of the right certificate into the corresponding blocks in the block chain cluster, the identity version chain, the asset version chain, the legal certificate file chain, the legal certificate version chain, and the right certificate UID.
Optionally, the relationship between seven certificates, namely an identity certificate, an identity version certificate, an asset version certificate, a legal document version certificate, and a proof certificate, is: the identity certificate is generated by digitally encrypting the identity information and the first timestamp; the identity version certificate is generated by digitally encrypting the identity certificate, the version information of the identity and the second timestamp; the asset certificate is generated by digitally encrypting the generation information of the asset and the third timestamp; the asset version certificate is generated by digitally encrypting the asset certificate, the asset version information, the HASH value of the data file recording the asset existence and the fourth timestamp; the legal certificate is generated by digitally encrypting the legal certificate information and the fifth timestamp; the legal certification document version certificate is generated by digitally encrypting the legal certification document certificate, the version information of the legal certification document, the data file HASH value for recording the legal certification document and the sixth timestamp; and after the authority-confirming organization verifies the authenticity of the identity certificate, the identity version certificate, the asset version certificate, the legal certificate and the legal certificate version certificate, the identity UID, the identity version certificate UID, the asset version certificate UID, the legal certificate version certificate UID and the seventh timestamp are digitally encrypted to generate the authority-confirming certificate. Where the legal certification document certifies a deterministic relationship between the identity information and the asset generation information.
The identity abstract comprises various information and authority-determining mechanisms UID of various individuals and organizations, the identity version abstract comprises various information and authority-determining mechanisms UID of various individuals and organizations with various presented versions, the asset abstract comprises various information and authority-determining mechanisms UID of various assets, the asset version abstract comprises various information and authority-determining mechanisms UID of various assets with various presented versions, the legal certification document abstract comprises various information and authority-determining mechanisms UID of various legal certification documents, the legal certification document version abstract comprises various information and authority-determining mechanisms UID of various legal certification documents with various presented versions, the authority-determining abstract comprises various information of various individuals and organizations, various information of various individuals and organizations with various presented versions, various information of various assets with various presented versions, various authority-determining mechanisms UID, various information of various assets with various presented versions, various, Various information of various legal documents and various information of various legal documents of various presented versions.
In one embodiment, if one or more of the digest of the identity certificate and the identity UID or/and the digest of the identity version certificate and the identity version UID, the digest of the asset certificate and the asset UID or/and the digest of the asset version certificate and the asset version UID, the digest of the legal certification file certificate and the legal certification file version UID, the digest of the copyright, and the confirmation UID have been written to the corresponding block chain in the block chain cluster, then the digest of the certificate and the certificate UID that have been written at that time are not written to the block chain cluster.
Thus, if the same person has a plurality of resources, the identity certificate is not required to be linked again, so that the block chain system is simplified, and the association between the certificate on the chain and the certificate on the chain is realized.
In one embodiment, if one or more of the digest of the identity certificate and the identity UID or/and the digest of the identity version certificate and the identity version UID, the digest of the asset certificate and the asset UID or/and the digest of the asset version certificate and the asset version UID, the digest of the legal certification file certificate and the legal certification file version UID or/and the digest of the legal certification file version certificate and the legal certification file version UID are changed, the digest of the changed certificate and the certificate UID are acquired and are appended to the corresponding tile on the tile chain in the cluster of the tile chain.
In one embodiment, when the asset is transferred, adding and writing the abstract and the identity UID of the identity certificate of the transferee and the abstract and the authority-confirming UID of the authority-confirming certificate into the block on the corresponding block chain in the block chain cluster; and/or when the asset is permitted to be used, adding and writing the abstract and the identity UID of the identity certificate of the licensee and the abstract and the authority UID of the authority certificate to the block on the corresponding block chain in the block chain cluster.
The invention uploads the abstract and the identity UID of each certificate to each block chain, so that the information uploaded to the block chain is not easy to be tampered, and application software is convenient to identify the certificate content; the block chain is widely applied, so that the certificate corresponding to the certificate information written into the block chain is easy to circulate, inquire and store; in addition, different types of certificates are stored in a chain, each chain can be repeatedly used in different service scenes, the block data structure is simplified, the query is simple and convenient, the query is easy, and the reading and writing capability of the system is greatly improved.
Fig. 3 is a schematic diagram of a certificate management apparatus based on a block chain according to an embodiment of the present invention. Fig. 3 illustrates a block chain-based certificate management apparatus, where the apparatus 300 includes: a generating module 301, an obtaining module 302, a classifying module 303 and a processing module 304, wherein each module is specifically configured to:
the generating module 301 is configured to construct a block chain cluster;
the obtaining module 302 is configured to obtain, according to the identity certificate, the asset certificate, the legal certificate, and the right-confirming certificate, a digest of the identity certificate and an identity UID, a digest of the asset certificate and an asset UID, a digest of the legal certificate and a legal certificate UID, and a digest of the right-confirming certificate and a right-confirming UID;
the processing module 304 is configured to write the digest of the identity certificate and the identity UID, the digest of the asset certificate and the asset UID, the digest of the legal certificate and the legal certificate UID, and the digest of the right-confirming certificate and the right-confirming UID into blocks on the corresponding identity chain, asset chain, legal certificate chain, and right-confirming chain in the block chain cluster, respectively.
Optionally, version information of the identity may be generated according to the identity information and added to the generated right-confirming certificate, and at this time, the blockchain cluster may be divided into an identity chain, an identity version chain, an asset chain, a legal certificate chain, and a right-confirming chain. The concrete implementation is as follows:
the obtaining module 302 is configured to obtain, according to the identity certificate, the identity version certificate, the asset certificate, the legal certificate, and the right-confirming certificate, the digest and the identity UID of the identity certificate, the digest and the identity version UID of the identity version certificate, the digest and the asset UID of the asset certificate, the digest and the legal certificate UID of the legal certificate, and the digest and the right-confirming UID of the right-confirming certificate;
the processing module 304 is configured to write the digest of the identity certificate and the identity UID, the digest of the identity version certificate and the identity version UID, the digest of the asset certificate and the asset UID, the digest of the legal document certificate and the legal document UID, and the digest of the right-determining certificate and the right-determining UID into blocks in the block chain cluster corresponding to the identity chain, the identity version chain, the asset chain, the legal document chain, and the right-determining chain, respectively.
The block chain cluster comprises a plurality of block chain clusters, wherein the block chain clusters are divided into personal identity version information and organization identity version information according to the types of the identity version information, and the two block chain clusters are a personal identity version chain and an organization identity version chain respectively. And dividing the identity version certificate into a personal identity version certificate and an organization identity version certificate, and respectively writing the identity version certificate and the organization identity version UID into blocks on a corresponding personal identity version chain and an organization identity version chain in the block chain cluster according to the abstract of the personal identity version certificate and the personal identity version UID as well as the abstract of the organization identity certificate version and the organization identity version UID.
Optionally, version information of the asset may be generated according to the authoring information of the asset and added to the generated right-confirming certificate, and at this time, the blockchain cluster may be divided into an identity chain, an asset version chain, a legal document chain, and a right-confirming chain. The concrete implementation is as follows:
the obtaining module 302 is configured to obtain, according to the identity certificate, the asset version certificate, the legal certificate and the right-confirming certificate, a digest of the identity certificate and an identity UID, a digest of the asset certificate and an asset UID, a digest of the asset version certificate and an asset version UID, a digest of the legal certificate and a legal certificate UID, and a digest of the right-confirming certificate and a right-confirming UID;
the processing module 304 is configured to write the digest of the identity certificate and the identity UID, the digest of the asset certificate and the asset UID, the digest of the asset version certificate and the asset version UID, the digest of the legal certificate and the legal certificate UID, and the digest of the right-confirming certificate and the right-confirming UID into blocks on the corresponding identity chain, asset version chain, legal certificate chain, and right-confirming chain in the block chain cluster, respectively.
If the asset version information can be divided into N asset version information such as characters, video screens, pictures and the like according to the types of the asset version information, N asset version chains in the established block chain cluster are respectively a character asset version chain, a video asset version chain, a picture asset version chain and the like. And classifying the assets into N asset version certificates according to the categories of the assets, and respectively writing the assets into the blocks on the corresponding N asset version chains in the block chain cluster according to the abstracts and the asset version UIDs of the N asset version certificates.
Optionally, version information of the asset may be generated according to the authoring information of the asset and added to the generated right-confirming certificate, and at this time, the blockchain cluster may be divided into an identity chain, an asset chain, a legal proof document version chain, and a right-confirming chain. The concrete implementation is as follows:
the obtaining module 302 is configured to obtain, according to the identity certificate, the asset version certificate, the legal certificate, and the right-confirming certificate, a digest of the identity certificate and an identity UID, a digest of the asset certificate and an asset UID, a digest of the legal certificate and a legal certificate UID, a digest of the legal certificate version certificate and a legal certificate version UID, and a digest of the right-confirming certificate and a right-confirming UID;
the processing module 304 is configured to write the digest of the identity certificate and the identity UID, the digest of the asset certificate and the asset UID, the digest of the legal certificate and the legal certificate version UID, the digest of the legal certificate version certificate and the legal certificate version UID, and the digest of the authority-confirming certificate and the authority-confirming UID into blocks on the corresponding identity chain, asset chain, legal certificate file chain, legal certificate version chain, and authority-confirming chain in the block chain cluster, respectively.
In one embodiment, when the classification module 303 classifies the asset into the personal identification certificate and the agency identification certificate based on the identification certificate, or/and the personal identification version certificate and the agency identification version certificate based on the identification version certificate, the asset is classified into N asset certificates based on the category of the asset, or/and the asset version certificate is classified into N asset version certificates based on the category of the asset version.
At this time, the processing module 304 writes the digest of the personal identity certificate and the personal identity UID, and the digest of the organization identity certificate and the organization identity UID into blocks on the corresponding personal identity chain and organization identity chain in the block chain cluster, respectively; or/and respectively writing the abstract of the personal identity version certificate and the personal identity version UID as well as the abstract of the organization identity certificate version and the organization identity version UID into the blocks on the corresponding personal identity version chain and organization identity version chain in the block chain cluster; respectively writing the abstracts and the asset UIDs of the N asset certificates into the blocks on the corresponding N asset chains in the block chain cluster; or/and respectively writing the summaries of the N asset version certificates and the asset version UID into the blocks on the corresponding N asset version chains in the block chain cluster.
In another embodiment, the classification module 303 classifies the asset certificates or/and asset version certificates into M categories according to industry.
At this time, the processing module 304 writes the digest and the asset UID of the M asset certificates, or/and the digest and the asset version UID of the M asset version certificates, into the corresponding blocks on the M asset chains or/and the M asset version chains in the block chain cluster, respectively, where M is a natural number greater than 1.
In another embodiment, the classification module 303 may generate a transferred legal certificate and an approved legal certificate according to the transaction of the asset, and then write the generated transferred legal certificate and transferred legal certificate UID and the approved legal certificate and approved legal certificate UID to the corresponding transaction certificate chain in the blockchain cluster.
The invention uploads the abstract and the identity UID of each certificate to each block chain, so that the information uploaded to the block chain is not easy to be tampered, and application software is convenient to identify the certificate content; the block chain is widely applied, so that the certificate corresponding to the certificate information written into the block chain is easy to circulate, inquire and store; in addition, different types of certificates are stored in a chain, each chain can be repeatedly used in different service scenes, the block data structure is simplified, the query is simple and convenient, the query is easy, and the reading and writing capability of the system is greatly improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A certificate management method based on block chain technology is characterized by comprising the following steps:
constructing a block chain cluster;
obtaining a digest and an identity UID of the identity certificate, a digest and an identity version UID of the identity version certificate, a digest and a law certificate UID of the asset certificate, a digest and a law certificate UID of the law certificate version certificate, a digest and a law certificate version UID of the law certificate, a digest and a law certificate UID of the transfer law certificate, a digest and a law certificate UID of the permission law certificate, and a digest and a law certificate UID of the right certificate;
and respectively writing the abstract and the identity UID of the identity certificate, the abstract and the identity UID of the identity version certificate, the abstract and the asset UID of the asset certificate, the abstract and the asset version UID of the asset version certificate, the abstract and the legal certification file UID of the legal certification file certificate, the abstract and the legal certification file version UID of the legal certification file version certificate, and the abstract and the certification UID of the certification certificate into blocks on a corresponding identity chain, an identity version chain, an asset version chain, a legal certification file version chain, a transaction certification file certificate chain and a certification chain in a block chain cluster.
2. The method for certificate management based on blockchain technology of claim 1, further comprising: acquiring an abstract and an identity version UID of the identity version certificate according to the identity version certificate;
and writing the digest of the identity version certificate and the identity version UID into a block on the corresponding identity version chain in the block chain cluster.
3. The method for certificate management based on blockchain technology of claim 1, further comprising: acquiring a summary and an asset version UID of the asset version certificate according to the asset version certificate;
writing the digest of the asset version certificate and the asset version UID to a block on a corresponding asset version chain in a block chain cluster.
4. The method for certificate management based on blockchain technology of claim 1, further comprising: acquiring a summary of the legal certification document version certificate and a legal certification document version UID according to the legal certification document version certificate;
and writing the abstract of the legal certification file version certificate and the UID of the legal certification file version certificate into a block on the corresponding legal certification file version chain in the block chain cluster.
5. The method for certificate management based on blockchain technology of claim 1, further comprising:
dividing the identity certificate into a personal identity certificate and an organization identity certificate according to the identity certificate, and respectively writing the identity certificate into blocks on a corresponding personal identity chain and an organization identity chain in a block chain cluster according to the abstract and the personal identity UID of the personal identity certificate and the abstract and the organization identity UID of the organization identity certificate; and/or
And dividing the assets into N asset certificates according to the categories of the assets, and respectively writing the N asset certificates into blocks on the corresponding N asset chains in the block chain cluster according to the abstracts and the asset UIDs of the N asset certificates, wherein N is a natural number greater than 1.
6. The method for certificate management based on blockchain technology of claim 1, further comprising:
according to the transaction of the assets, the legal certificate can generate a transferred legal certificate and an authorized legal certificate, then generate a digest of the transferred legal certificate and a transferred legal certificate UID, and write the digest of the authorized legal certificate and the authorized legal certificate UID into the corresponding transaction certificate chain in the blockchain cluster.
7. The certificate management method based on blockchain technology according to claim 1, wherein the blockchain cluster further performs industry classification according to the certificate of authenticity, divides the asset certificate into M types, and then writes digests and asset UIDs of the M types of asset certificates into corresponding blocks on M types of asset chains in the blockchain cluster, where M is a natural number greater than 1.
8. The method for certificate management based on blockchain technology of claim 1, further comprising:
when the assets are transferred, the abstract and the identity UID of the identity certificate of the transferee after transfer and the abstract and the authority-confirming UID of the authority-confirming certificate are added and written into the corresponding identity chain and the corresponding blocks on the authority-confirming chain in the block chain cluster; and/or
When the assets are in use permission, the digest and the identity UID of the identity certificate of the permitted user and the digest and the identity UID of the authentication certificate are added and written into the corresponding identity chain and the blocks on the authentication chain in the block chain cluster.
9. The method for certificate management based on blockchain technology of any one of claims 1 to 8, wherein the identity certificate, the identity version certificate, the asset version certificate and the certificate of authenticity are all stored with the certificate UID as a file name and dat as an extended file name.
10. A certificate management apparatus based on a blockchain technique, comprising:
the generating module is used for constructing a block chain cluster;
an obtaining module for obtaining the abstract and the identity UID of the identity certificate according to the identity certificate, the identity version certificate, the asset version certificate, the legal certificate document version certificate, the transferred legal certificate document certificate, the allowed legal certificate document certificate and the right-confirming certificate, a digest of the identity version certificate and an identity version UID, a digest of the asset certificate and an asset UID, a digest of the asset version certificate and an asset version UID, a digest of the legal document certificate and a legal document UID, a digest of the legal document version certificate and a legal document version UID, a digest of the transferred legal document certificate and a transferred legal document UID, a digest of the licensed legal document certificate and a licensed legal document UID, and a digest of the certificate of authenticity and a certificate of authenticity UID;
and the processing module is used for writing the abstract and the identity UID of the identity certificate, the abstract and the identity version UID of the identity version certificate, the abstract and the asset UID of the asset certificate, the abstract and the legal certification file UID of the legal certification file certificate, the abstract and the legal certification file version UID of the legal certification file version certificate, and the abstract and the certification UID of the certification certificate into blocks on a corresponding identity chain, an identity version chain, an asset version chain, a legal certification file version chain, a transaction certification file certificate chain and a certification chain in a block chain cluster respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621086.8A CN109033788B (en) | 2018-06-15 | 2018-06-15 | Certificate management method and device based on block chain technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621086.8A CN109033788B (en) | 2018-06-15 | 2018-06-15 | Certificate management method and device based on block chain technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109033788A CN109033788A (en) | 2018-12-18 |
CN109033788B true CN109033788B (en) | 2021-06-11 |
Family
ID=64609880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810621086.8A Active CN109033788B (en) | 2018-06-15 | 2018-06-15 | Certificate management method and device based on block chain technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109033788B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112733178B (en) * | 2020-11-23 | 2022-05-13 | 腾讯科技(深圳)有限公司 | Cross-chain trust method, device, equipment and medium based on digital certificate authentication |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812367A (en) * | 2016-03-15 | 2016-07-27 | 浙江神州量子网络科技有限公司 | Authentication system and authentication method of network access device in quantum network |
CN106600403A (en) * | 2016-11-07 | 2017-04-26 | 北京金股链科技有限公司 | Asset management method, device and system |
CN107146152A (en) * | 2017-03-28 | 2017-09-08 | 杭州象链网络技术有限公司 | A kind of credit management system kept accounts based on block chain |
CN107172027A (en) * | 2017-05-05 | 2017-09-15 | 北京凤凰理理它信息技术有限公司 | Certificate management method, storage device, storage medium and device |
CN107291862A (en) * | 2017-06-12 | 2017-10-24 | 腾讯科技(深圳)有限公司 | Business datum storage method, device, storage medium and electronic equipment |
CN107395343A (en) * | 2017-07-10 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Certificate management method and system |
CN107425981A (en) * | 2017-06-12 | 2017-12-01 | 清华大学 | A kind of digital certificate management method and system based on block chain |
CN107888382A (en) * | 2017-11-24 | 2018-04-06 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | A kind of methods, devices and systems of the digital identity checking based on block chain |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701372B (en) * | 2015-12-18 | 2019-04-09 | 布比(北京)网络技术有限公司 | A kind of building of block chain identity and verification method |
CN105719185B (en) * | 2016-01-22 | 2019-02-15 | 杭州复杂美科技有限公司 | The data comparison and common recognition method of block chain |
US10984081B2 (en) * | 2016-09-30 | 2021-04-20 | Cable Television Laboratories, Inc. | Systems and methods for secure person to device association |
CN113435994A (en) * | 2017-03-31 | 2021-09-24 | 唐晓领 | Method, device and system for sharing transaction metadata information by multiple financial borrowing parties based on block chain |
CN107705114A (en) * | 2017-08-31 | 2018-02-16 | 中链科技有限公司 | Copyright data processing method, system and storage medium based on block chain technology |
CN107749847A (en) * | 2017-10-23 | 2018-03-02 | 济南浪潮高新科技投资发展有限公司 | A kind of method of block chain quadrature digital up-converter |
CN108052530B (en) * | 2017-11-10 | 2020-12-11 | 杭州云象网络技术有限公司 | Decentralized CA construction method and system based on alliance chain |
-
2018
- 2018-06-15 CN CN201810621086.8A patent/CN109033788B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105812367A (en) * | 2016-03-15 | 2016-07-27 | 浙江神州量子网络科技有限公司 | Authentication system and authentication method of network access device in quantum network |
CN106600403A (en) * | 2016-11-07 | 2017-04-26 | 北京金股链科技有限公司 | Asset management method, device and system |
CN107146152A (en) * | 2017-03-28 | 2017-09-08 | 杭州象链网络技术有限公司 | A kind of credit management system kept accounts based on block chain |
CN107172027A (en) * | 2017-05-05 | 2017-09-15 | 北京凤凰理理它信息技术有限公司 | Certificate management method, storage device, storage medium and device |
CN107291862A (en) * | 2017-06-12 | 2017-10-24 | 腾讯科技(深圳)有限公司 | Business datum storage method, device, storage medium and electronic equipment |
CN107425981A (en) * | 2017-06-12 | 2017-12-01 | 清华大学 | A kind of digital certificate management method and system based on block chain |
CN107395343A (en) * | 2017-07-10 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Certificate management method and system |
CN107888382A (en) * | 2017-11-24 | 2018-04-06 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | A kind of methods, devices and systems of the digital identity checking based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN109033788A (en) | 2018-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Gräther et al. | Blockchain for education: lifelong learning passport | |
US11523153B2 (en) | System and techniques for digital data lineage verification | |
US20190114396A1 (en) | Methods and apparatus for sharing, transferring and removing previously owned digital media | |
CN112069165A (en) | Document redaction and coordination | |
US9699193B2 (en) | Enterprise-specific functionality watermarking and management | |
CN109033789B (en) | Method, device and system for generating right-confirming certificate | |
WO2017053404A1 (en) | Security application for data security formatting, tagging and control | |
US20230161886A1 (en) | Distributed ledger-based digital content tracing | |
JP2008186330A (en) | Use authorization managing device, content sharing system, content sharing method and content sharing program | |
Peng et al. | Secure and traceable copyright management system based on blockchain | |
US20190272392A1 (en) | Method for custody and provenance of digital documentation | |
CN109582641B (en) | Screening method and screening system for input works based on block chain | |
CN111885153A (en) | Block chain-based data acquisition method and device, computer equipment and storage medium | |
US7912859B2 (en) | Information processing apparatus, system, and method for managing documents used in an organization | |
WO2021090120A1 (en) | Downstream tracking of content consumption | |
CN109033788B (en) | Certificate management method and device based on block chain technology | |
CN111191271B (en) | Computer-implemented method, system and storage medium | |
Chandersekaran et al. | Assured content delivery in the enterprise | |
Seymour | The modern records management program: an overview of electronic records management standards | |
US20140331316A1 (en) | Functionality Watermarking and Management | |
US11966502B2 (en) | Digital file forensic accounting and management system | |
KR102329886B1 (en) | Multidimensional copyright management method and system | |
CN117744140A (en) | Blockchain-based slicing combinable whole-process data right-determining method | |
Kristiawan et al. | Development of Blockchain-Based Digital Signature Platform | |
Deepa et al. | Data Deduplication on Multi-domain Big Data to Overcome Communication Overheads |
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 |