CN112819466A - Digital certificate processing method and device, terminal equipment and storage medium - Google Patents

Digital certificate processing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112819466A
CN112819466A CN202110194976.7A CN202110194976A CN112819466A CN 112819466 A CN112819466 A CN 112819466A CN 202110194976 A CN202110194976 A CN 202110194976A CN 112819466 A CN112819466 A CN 112819466A
Authority
CN
China
Prior art keywords
homogeneous
evidence
certificate
target
hash value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110194976.7A
Other languages
Chinese (zh)
Inventor
张锦喜
叶灏文
梁增健
陈胜俭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Zhuoqi Cloud Chain Technology Co ltd
Original Assignee
Guangdong Zhuoqi Cloud Chain 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 Guangdong Zhuoqi Cloud Chain Technology Co ltd filed Critical Guangdong Zhuoqi Cloud Chain Technology Co ltd
Priority to CN202110194976.7A priority Critical patent/CN112819466A/en
Publication of CN112819466A publication Critical patent/CN112819466A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/045Payment circuits using payment protocols involving tickets
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a processing method, a device, a terminal device and a storage medium of digital certificate, comprising the following steps: acquiring a certification establishing request, wherein the certification establishing request comprises a first Hash value and a token value of the homogeneous certification; packaging the first Hash value and token value of the homogeneous evidence based on a preset heterogeneous evidence-passing book to generate a target heterogeneous evidence-passing of a target block chain account; and based on the target non-homogeneous general evidence, trading the homogeneous general evidence in the target non-homogeneous general evidence to obtain a trading result. According to the method and the system, the homogeneous evidence can be circulated among the block chain accounts by taking the heterogeneous evidence as a medium, so that the transaction result can be traced by using the heterogeneous evidence, and statistics and benefit distribution can be performed by using the homogeneous evidence, so that the traceability of the transaction result is realized, and the reliability is improved.

Description

Digital certificate processing method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a digital certificate, a terminal device, and a storage medium.
Background
The digital pass is a rights voucher in digital form, such as a coupon, a delivery ticket, and the like. In a cross-subject collaboration scenario, for example, merchant A issues to its customers a ticket to be redeemed by merchant B, involving data processing such as ticket redemption, benefit distribution, etc. In order to ensure the reliability of the data processing process, a block chain technology is currently adopted to process the digital certificate of authenticity, and the method mainly comprises two modes of 'result chaining' and 'on-chain non-homogeneous certificate of authenticity'.
The "result uplink" is to uplink the processing result of the service logic, but the blockchain cannot determine the correctness of the processing result, and an attacker can still tamper with the database to disturb the processing result. The' on-chain non-homogeneity evidence-based evidence representation is used for representing the ticket, and the business logic of the ticket is on a block chain and the storage and the query of the ticket are based on the block chain, but the non-homogeneity evidence-based evidence-. It can be seen that the current block chain-based ticket processing method has a problem of low reliability.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for processing a digital certificate, a terminal device, and a storage medium, which are used to solve the problem that a current block chain-based ticket processing method has low reliability.
In a first aspect, an embodiment of the present application provides a method for processing a digital certificate, including:
acquiring a certification establishing request, wherein the certification establishing request comprises a first Hash value and a token value of the homogeneous certification;
packaging the first Hash value and token value of the homogeneous evidence based on a preset heterogeneous evidence-passing book to generate a target heterogeneous evidence-passing of a target block chain account;
and on the basis of the target non-homogeneous general evidence, trading the non-homogeneous general evidence and/or the homogeneous general evidence in the target non-homogeneous general evidence to obtain a trading result.
In this embodiment, the target non-homogenization evidence of the target block chain account is generated by packaging the first hash value and token value of the homogenization evidence based on a preset non-homogenization evidence-passing book, so that the homogenization evidence can be circulated among the block chain accounts by taking the non-homogenization evidence-passing book as a medium, and the target non-homogenization evidence-passing book has the characteristics of the non-homogenization evidence-passing book and the homogenization evidence-passing book at the same time; and on the basis of the target non-homogeneous general evidence, trading the non-homogeneous general evidence and/or the homogeneous general evidence in the target non-homogeneous general evidence to obtain a trading result, so that the trading result can be traced by using the non-homogeneous general evidence, and statistics and benefit distribution can be carried out by using the homogeneous general evidence, thereby realizing the traceability of the trading result and improving the reliability.
Further, based on a preset non-homogeneous evidence-based book, the hash value and token value of the homogeneous evidence-based book are encapsulated to generate the target non-homogeneous evidence-based book of the target block chain account, including:
inputting the first hash value and token value of the homogeneous accreditation into a preset non-homogeneous accreditation account book to obtain a new non-homogeneous accreditation account book;
generating a second hash value of the non-homogeneous certification based on the new non-homogeneous certification account book;
verifying the correctness of input parameters in the non-homogeneous recertification account book, wherein the input parameters comprise a first hash value, a token value and a second hash value;
and if the input parameters are correct, signing the non-homogenization pass-certificate based on the signature certificate of the target block chain account to obtain the target non-homogenization pass-certificate.
In this embodiment, the first hash value and the token value of the homogeneous general evidence are input into a preset non-homogeneous general evidence account book, so that the non-homogeneous general evidence contains the first hash value for identifying the homogeneous general evidence and the token value for representing the homogeneous general evidence number; and generating a second hash value of the non-homogeneous certificate-passing based on the new non-homogeneous certificate-passing book for identifying the non-homogeneous certificate-passing, and then ensuring data security through parameter verification and signature.
Further, based on the target non-homogeneous evidence, the transaction is performed on the non-homogeneous evidence and/or the homogeneous evidence in the target non-homogeneous evidence, and a transaction result is obtained, wherein the transaction result comprises:
acquiring a pass-certificate transaction request, wherein the pass-certificate transaction request comprises the transaction pass-certificate quantity and a pass-certificate receiving account;
and transferring the first hash value, the token value corresponding to the transaction evidence obtaining quantity and the second hash value to an evidence obtaining receiving account to obtain a transaction result.
In this embodiment, the first hash value, the token value corresponding to the transaction passing amount, and the second hash value are transferred to the pass receiving account to obtain the transaction result, so that which non-homogeneous pass is obtained can be known from the second hash value in the transaction result, the transaction amount in the transaction result can be known, and the identification code of the transaction amount can be known from the first hash value in the transaction result.
Further, based on the target non-homogeneous evidence, performing a transaction on the non-homogeneous evidence and/or the homogeneous evidence in the target non-homogeneous evidence, and after obtaining a transaction result, the method further includes:
and if the final receiving account of the target non-homogeneous voucher is a target destroying account, destroying the target non-homogeneous voucher.
In this embodiment, for the rights and interests voucher such as the ticket, the ticket cannot be reused after being used, so the non-homogeneous voucher corresponding to the ticket needs to be destroyed, so that the non-homogeneous voucher is prevented from being reused, and the accuracy of the transaction result is ensured.
Further, after destroying the target non-homogeneity evidence, the method further includes:
and transferring the homogenization general evidence in the non-homogenization general evidence to a preset block chain account.
In this embodiment, the homogenous certificates are released for creation of new non-homogenous certificates, and recycling is achieved.
Further, based on the target non-homogeneous evidence, performing a transaction on the non-homogeneous evidence and/or the homogeneous evidence in the target non-homogeneous evidence, and after obtaining a transaction result, the method further includes:
acquiring an intelligent contract, wherein the intelligent contract comprises a benefit distribution strategy;
and based on the benefit distribution strategy, distributing the benefits corresponding to the received token value to the certificate receiving account according to the certificate receiving account and the received token value of the non-homogeneous certificate in the transaction result.
In this embodiment, since the token receiving account of the non-homogeneous voucher and the token value of the received homogeneous voucher are recorded in the transaction result, the benefit distribution based on the non-homogeneous voucher can be performed, and the statistics based on the homogeneous voucher can be performed, thereby facilitating the benefit distribution.
Further, the transaction result includes a first hash value and a second hash value, and the transaction is performed on the non-homogeneous evidence and/or the homogeneous evidence in the target non-homogeneous evidence based on the target non-homogeneous evidence, and after the transaction result is obtained, the method further includes:
and tracing the non-homogenization evidence based on the second hash value in the transaction result to obtain a circulation record of the non-homogenization evidence.
In this embodiment, the non-homogenization voucher is traced back through the second hash value, so that circulation records of the non-homogenization voucher in each blockchain account can be obtained.
In a second aspect, an embodiment of the present application provides a processing apparatus for digital certification, including:
the obtaining module is used for obtaining a certification establishing request which comprises a first Hash value and a token value of the homogenization certification;
the generating module is used for packaging the first hash value and token value of the homogeneous evidence based on a preset heterogeneous evidence-passing book to generate the target heterogeneous evidence-passing of the target block chain account;
and the transaction module is used for performing transaction on the non-homogeneous general evidence and/or the homogeneous general evidence in the target non-homogeneous general evidence based on the target non-homogeneous general evidence to obtain a transaction result.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to make the terminal device execute the processing method of the digital certificate of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the processing method of the digital certificate of the first aspect.
It is understood that the beneficial effects of the second to fourth aspects can be seen from the description of the first aspect, and are not repeated herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a processing method of digital certification according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a digital certificate processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 4 is a schematic diagram of an NFT trace back process provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
As described in the related background art, the current ticket processing methods mainly include "result chaining" and "non-homogeneous evidence-based.
In view of the problems in the prior art, the present application provides a method for generating a target non-homogeneous evidence of a target block chain account by encapsulating a first hash value and a token value of the homogeneous evidence based on a preset non-homogeneous evidence-based book, so that the homogeneous evidence can be circulated among the block chain accounts by using the non-homogeneous evidence as a medium, and the target non-homogeneous evidence can have the characteristics of the non-homogeneous evidence and the homogeneous evidence at the same time; and on the basis of the target non-homogeneous general evidence, trading the non-homogeneous general evidence and/or the homogeneous general evidence in the target non-homogeneous general evidence to obtain a trading result, so that the trading result can be traced by using the non-homogeneous general evidence, and statistics and benefit distribution can be carried out by using the homogeneous general evidence, thereby realizing the traceability of the trading result and improving the reliability.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a processing method for digital certification according to an embodiment of the present application. The processing method of the digital certificate disclosed in the embodiment of the application can be applied to terminal equipment, and the terminal equipment includes but is not limited to computer equipment such as a notebook, a desktop computer, a physical server and a cloud server which are built by using a block chain technology. The processing method of the digital certification according to the embodiment of the application includes steps S101 to S103, which are detailed as follows:
step S101, obtaining a certification establishing request, wherein the certification establishing request comprises a first Hash value and a token value of the homogenization certification, the first Hash value is an identification of the homogenization certification, and the token value is used for representing the number of the homogenization certification.
In this example, the homogeneous Token (FT) is a numerical Token relative to the Non-homogeneous Token (NFT). For example, the traditional electronic cash accounting mode is a homogenization certification, for example, if a user a transfers 10 yuan to the user a first, and a user B transfers 10 yuan to the user a, anyone cannot prove whether the electronic cash transferred twice is the same '10 yuan'. In contrast, banknotes are a non-homogenous evidence, because each banknote is numbered, it is easy to distinguish different "10 dollars". The first hash value is used for identifying homogenization evidence passing, and the token value is used for identifying the amount of the evidence passing.
Step S102, packaging the first Hash value and token value of the homogeneous evidence based on a preset heterogeneous evidence-passing book, and generating the target heterogeneous evidence-passing of the target block chain account.
In this embodiment, the non-homogeneous receivables ledger is a kind of characteristic ledger recorded on the blockchain. Illustratively, a blockchain account a is created using an SDK encapsulated in an application layer, and then an FT is created after blockchain account a, and an NFT is created based on FT. FT is converted into NFT by a certain proportion, and both NFT and FT are the same book at the time of creation. In the process of creating the NFT, the hash value of the original FT and the number of tokens to be converted need to be input on an NFT account book.
In an embodiment, based on a preset non-homogeneous evidence-based book, the method for generating a target non-homogeneous evidence-based book of a target block chain account by encapsulating a hash value and a token value of the homogeneous evidence-based book includes: inputting the first hash value and token value of the homogeneous accreditation into a preset non-homogeneous accreditation account book to obtain a new non-homogeneous accreditation account book; generating a second hash value of the non-homogeneous certification based on the new non-homogeneous certification account book; verifying the correctness of input parameters in the non-homogeneous recertification account book, wherein the input parameters comprise a first hash value, a token value and a second hash value; and if the input parameters are correct, signing the non-homogenization pass-certificate based on the signature certificate of the target block chain account to obtain the target non-homogenization pass-certificate.
In this embodiment, the credential creating request includes a block chain account address, a first hash value, a message, and request parameters such as an FT value and a signature key that the NFT needs to include. Specifically, verifying the request parameter and the node type, checking whether the operation of creating the NFT can be initiated, if so, inputting the first hash value and the token value into the NFT book, and generating the NFT hash; after the signature key is verified, putting the NFT account book into an account book pool for waiting for processing; and when the NFT account book is executed, checking whether the final input parameters of the NFT account book are correct, and if so, signing the NFT account book to generate the NFT.
In the embodiment, the first hash value and the token value of the homogeneous general evidence are input into a preset non-homogeneous general evidence account book, so that the non-homogeneous general evidence contains the first hash value for identifying the homogeneous general evidence and the token value for representing the homogeneous general evidence number; and generating a second hash value of the non-homogeneous certificate-passing based on the new non-homogeneous certificate-passing book for identifying the non-homogeneous certificate-passing, and then ensuring data security through parameter verification and signature.
And step S103, based on the target non-homogeneous evidence, carrying out transaction on the non-homogeneous evidence and/or the homogeneous evidence in the target non-homogeneous evidence to obtain a transaction result.
In this embodiment, FT and NFT transactions can be conducted using the target non-homogenous certification. It is understood that FT transactions are processes that utilize non-homogenous credentials in the target non-homogenous credentials to conduct transactions, and NFT transactions are processes that utilize homogenous credentials in the target non-homogenous credentials to conduct transactions. The FT transaction flow process may be: and initiating transfer, verifying whether the hash value, the timestamp, the signature and the related account of the receiver account reach the balance required to be deducted, if the conditions are met, generating the output content of the transaction, such as the hash value of the transaction, the latest holder information of the homogenization certification and the latest circulation record, and finally transferring the FT to the receiver account.
By way of example and not limitation, an application scenario is provided where a government has set an incentive for a market to consume funds that are expected to be used, such as 1000 thousands, which 1000 corresponds to FT in this embodiment. The government issues funds through the blockchain to the channel, such as channel a receives 200 million, which are divided into 4 ten thousand 50 denomination (50 FT per share) of the consumption ticket (NFT). When a consumer goes to a venue for consumption, the venue party is responsible for verification and sales, and FT is allocated to the venue party account according to an intelligent contract.
In one embodiment, based on the target non-homogeneous evidence, trading the homogeneous evidence in the target non-homogeneous evidence to obtain a trading result, including: acquiring a pass-certificate transaction request, wherein the pass-certificate transaction request comprises the transaction pass-certificate quantity and a pass-certificate receiving account; and transferring the first hash value, the token value corresponding to the transaction evidence obtaining quantity and the second hash value to an evidence obtaining receiving account to obtain a transaction result.
Illustratively, the target non-homogeneous voucher is a consumption coupon, the government issues a ticket with a total price of 15 yuan to the channel party, and the channel party divides the ticket into 5 yuan consumption coupons and 10 yuan consumption coupons, so that a non-homogeneous voucher with an amount of 5 yuan and a non-homogeneous voucher with an amount of 10 blocks are respectively created, wherein the token value of the homogeneous voucher in the non-homogeneous voucher is 5 to represent the amount of the consumption coupon. Therefore, in the actual transaction, the user a consumes at the merchant B by using the 5-element consumption ticket, and the 5 elements of the user a in the blockchain need to be transferred into the merchant B, and then the blockchain transfers token ═ 5 in the homogenization voucher of the user a into the merchant B at this time.
In this embodiment, the first hash value, the token value corresponding to the transaction passing amount, and the second hash value are transferred to the pass receiving account to obtain the transaction result, so that which non-homogeneous pass is obtained can be known from the second hash value in the transaction result, the transaction amount in the transaction result can be known, and the identification code of the transaction amount can be known from the first hash value in the transaction result.
In an embodiment, the trading the homogeneous voucher in the target non-homogeneous voucher based on the target non-homogeneous voucher, and after obtaining a trading result, the method further includes: and if the final receiving account of the target non-homogeneous voucher is a target destroying account, destroying the target non-homogeneous voucher.
In this embodiment, for the rights and interests voucher such as the ticket, the ticket cannot be reused after being used, so the non-homogeneous voucher corresponding to the ticket needs to be destroyed, so that the non-homogeneous voucher is prevented from being reused, and the accuracy of the transaction result is ensured.
Each NFT is created with a final usage object and will be the final flow of the non-homogeneity evidence based on this usage object. For example, an NFT containing 50 units of FT (that is, the token value of FT is 50) is created at the address a, then after a series of circulation, the NFT finally flows to the destruction address B, at this time, a function is called to determine whether to destroy the NFT and generate a hash value of the present destruction event record, and if true is returned, the NFT is destroyed, which may be regarded as the verification and cancellation of the NFT.
In an embodiment, after destroying the target non-homogeneity certification, the method further includes: and transferring the homogenization general evidence in the non-homogenization general evidence to a preset block chain account.
In this embodiment, the homogenous certificates are released for creation of new non-homogenous certificates, and recycling is achieved.
In an embodiment, the trading the homogeneous voucher in the target non-homogeneous voucher based on the target non-homogeneous voucher, and after obtaining a trading result, the method further includes: acquiring an intelligent contract, wherein the intelligent contract comprises a benefit distribution strategy; and based on the benefit distribution strategy, distributing the benefits corresponding to the received token value to the certificate receiving account according to the certificate receiving account and the received token value of the non-homogeneous certificate in the transaction result.
In this embodiment, NFT may be destroyed by following a certain smart contract, and the released FT may make a directional transition under the control of the smart contract rules. For example, if the NFT is known to have circulated three account addresses once through query, the last released FT can be equally distributed to three accounts through the intelligent contract rule, for example, the benefit distribution of the badminton merchant to promote the consumption ticket.
An intelligent contract may be understood as a ledger on a blockchain, with code automatically executing once an event triggers a term in the contract. Illustratively, the intelligent contract implementation flow of the certification distribution is as follows:
a field called 'attribute' is added in the NFT, which reflects the type of NFT currently created, for example, 1 represents badminton. Each time the system receives a verification and cancellation request of the NFT, the system can directly call the badminton intelligent contract to allocate the FT. Meanwhile, when creating the NFT, it may be input which intelligent contract function the NFT defaults to call, and at the same time, which kind of contract ID the NFT supports, and create the type of the NFT (i.e., "attribute"), and fill in this type in the jason format by using the programmable book.
In addition to entering the "attribute" field for NFT and making an intelligent contract containing a certain rule, it is more important to establish the correspondence between type and contract (verification and sale rule) to be effective on each of the badminton tickets, and this correspondence can be written on another intelligent contract and can be directly called when in use.
In the embodiment, because the token receiving account of the non-homogeneous voucher and the token value of the received homogeneous voucher are recorded in the transaction result, the non-homogeneous voucher benefit distribution can be performed based on the non-homogeneous voucher, and statistics can be performed based on the homogeneous voucher, so that benefit distribution is facilitated.
In an embodiment, the transaction result includes a first hash value and a second hash value, and the transaction is performed on the homogeneous voucher in the target non-homogeneous voucher based on the target non-homogeneous voucher, and after the transaction result is obtained, the method further includes: and tracing the non-homogenization evidence based on the second hash value in the transaction result to obtain a circulation record of the non-homogenization evidence.
In this embodiment, NFT is combined with a real-existing consumption ticket to clarify ownership and realize value storage, and is applied to tracing and storing value of a value product, so that NFT becomes a main carrier of the consumption ticket. Illustratively, a set of traceability systems is designed for NFT, and the process is as follows: NFT flows over multiple accounts, eventually being credited at an account (assuming the account is D); calling a function to inquire whether the NFT is from an account C through the NFT identifier with the owner being D; with pointers, indexing is continued up, tracing back to the oldest created NFT, characterized by its lack of previous source of NFT.
Then, the NFT trace back process established by user A, B, C, D is shown in fig. 4, all trace back data of the whole process will be stored together by user A, B, C, D, and other users in the system can access the data of this chain only after authorization. In this embodiment, the non-homogenization certification is traced through the second hash value, so that the circulation records of the non-homogenization certification in each block chain account can be obtained.
In order to execute the method corresponding to the above method embodiment to achieve the corresponding function and technical effect, the following provides a processing device for digital certificate authority. Referring to fig. 2, fig. 2 is a block diagram of a digital certificate authority processing apparatus according to an embodiment of the present disclosure. The modules included in the apparatus in this embodiment are used to execute the steps in the embodiment corresponding to fig. 1, and refer to fig. 1 and the related description in the embodiment corresponding to fig. 1 specifically. For convenience of explanation, only the part related to the present embodiment is shown, and the digital certification processing apparatus provided in the embodiment of the present application includes:
an obtaining module 201, configured to obtain a certification creating request, where the certification creating request includes a first hash value and a token value of a homogeneous certification;
the generation module 202 is configured to package the first hash value and token value of the homogeneous evidence based on a preset non-homogeneous evidence-based book, and generate a target non-homogeneous evidence-based book of a target block chain account;
and the transaction module 203 is configured to perform a transaction on the non-homogeneous general evidence and the homogeneous general evidence in the target non-homogeneous general evidence based on the target non-homogeneous general evidence to obtain a transaction result.
In one embodiment, the generating module 202 includes:
the input unit is used for inputting the first hash value and the token value of the homogenization certification to the preset non-homogenization certification account book to obtain a new non-homogenization certification account book;
a generating unit, configured to generate a second hash value of the non-homogeneous certification based on the new non-homogeneous certification account book;
a verification unit, configured to verify correctness of input parameters in the non-homogenous currency book, where the input parameters include the first hash value, the token value, and the second hash value;
and the signature unit is used for signing the non-homogeneous certificate based on the signature certificate of the target block chain account if the input parameters are correct, so as to obtain the target non-homogeneous certificate.
In one embodiment, the transaction module 203 includes:
the obtaining unit is used for obtaining a negotiable instrument transaction request, and the negotiable instrument transaction request comprises the number of negotiable instruments and a negotiable instrument receiving account;
and the transfer unit is used for transferring the first hash value, the token value corresponding to the transaction pass number and the second hash value to the pass receiving account to obtain the transaction result.
In an embodiment, the apparatus further includes:
and the destruction module is used for destroying the target non-homogenization voucher if the final receiving account of the target non-homogenization voucher is the target destruction account.
In an embodiment, the apparatus further includes:
and the transfer module is used for transferring the homogenization voucher in the non-homogenization voucher to a preset block chain account.
In an embodiment, the apparatus further includes:
the second acquisition module is used for acquiring an intelligent contract, and the intelligent contract comprises a benefit distribution strategy;
and the distribution module is used for distributing benefits corresponding to the received token value to the general evidence receiving account according to the general evidence receiving account and the received token value of the non-homogeneous general evidence in the transaction result based on the benefit distribution strategy.
In an embodiment, the apparatus further includes:
and the tracing module is used for tracing the non-homogeneous certificate based on the second hash value in the transaction result to obtain the circulation record of the non-homogeneous certificate.
Fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 3, the terminal device 3 of this embodiment includes: at least one processor 30 (only one shown in fig. 3), a memory 31, and a computer program 32 stored in the memory 31 and executable on the at least one processor 30, the processor 30 implementing the steps of any of the above-described method embodiments when executing the computer program 32.
The terminal device 3 may be a computing device such as a notebook computer, a desktop computer, a physical server, and a cloud server built by using a block chain technology. The terminal device may include, but is not limited to, a processor 30, a memory 31. Those skilled in the art will appreciate that fig. 3 is only an example of the terminal device 3, and does not constitute a limitation to the terminal device 3, and may include more or less components than those shown, or combine some components, or different components, for example, and may further include an input/output device, a network access device, and the like.
The Processor 30 may be a Central Processing Unit (CPU), and the Processor 30 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may in some embodiments be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 31 may also be used to temporarily store data that has been output or is to be output.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in any of the method embodiments described above.
The embodiments of the present application provide a computer program product, which when running on a terminal device, enables the terminal device to implement the steps in the above method embodiments when executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
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.

Claims (10)

1. A processing method of digital evidence, which is characterized by comprising the following steps:
obtaining a certification establishing request, wherein the certification establishing request comprises a first hash value and a token value of the homogenization certification, the first hash value is an identifier of the homogenization certification, and the token value is used for representing the number of the homogenization certification;
packaging the first Hash value and token value of the homogeneous evidence based on a preset heterogeneous evidence-passing book to generate a target heterogeneous evidence-passing of a target block chain account;
and based on the target non-homogeneous general certificate, carrying out transaction on the non-homogeneous general certificate and/or the homogeneous general certificate in the target non-homogeneous general certificate to obtain a transaction result.
2. The method for processing digital evidence according to claim 1, wherein the step of encapsulating the hash value and token value of the homogenization evidence based on a preset non-homogenization evidence-passing book to generate the target non-homogenization evidence of the target block chain account comprises:
inputting the first hash value and token value of the homogenization clearing to the preset non-homogenization clearing account book to obtain a new non-homogenization clearing account book;
generating a second hash value of the non-homogeneous evidence based on the new non-homogeneous evidence-passing book, wherein the second hash value is an identifier of the target non-homogeneous evidence-passing book;
verifying correctness of input parameters in the non-homogenous currency book, the input parameters including the first hash value, the token value, and the second hash value;
and if the input parameters are correct, signing the non-homogeneous certificate based on the signature certificate of the target block chain account to obtain the target non-homogeneous certificate.
3. The method for processing digital evidence according to claim 1, wherein the transaction of the non-homogeneous evidence and/or the homogeneous evidence in the target non-homogeneous evidence based on the target non-homogeneous evidence comprises:
acquiring a pass-certificate transaction request, wherein the pass-certificate transaction request comprises the transaction pass-certificate quantity and a pass-certificate receiving account;
and transferring the first hash value and the token value corresponding to the transaction pass number to the pass receiving account to obtain the transaction result.
4. The method for processing digital certificates according to claim 1, wherein the trading the non-homogeneous certificates and/or the homogeneous certificates in the target non-homogeneous certificates based on the target non-homogeneous certificates further comprises:
and if the final receiving account of the target non-homogeneous evidence is the target destroying account, destroying the target non-homogeneous evidence.
5. The processing method of digital certification according to claim 4, wherein if the final receiving account of the target non-homogenization certification is the target destruction account, after the target non-homogenization certification is destroyed, the method further comprises:
and transferring the homogenization general evidence in the non-homogenization general evidence to a preset block chain account.
6. The method for processing digital certificates according to claim 1, wherein the trading the non-homogeneous certificates and/or the homogeneous certificates in the target non-homogeneous certificates based on the target non-homogeneous certificates further comprises:
acquiring an intelligent contract, wherein the intelligent contract comprises a benefit distribution strategy;
and based on the benefit distribution strategy, distributing benefits corresponding to the received token value to the general evidence receiving account according to the general evidence receiving account and the received token value of the non-homogeneous general evidence in the transaction result.
7. The method for processing digital certificates according to claim 1, wherein the transaction result includes a first hash value of the homogenous certificate and a second hash value of the non-homogenous certificate, and after the transaction result is obtained by performing a transaction on the non-homogenous certificate and/or the homogenous certificate in the target non-homogenous certificate based on the target non-homogenous certificate, the method further includes:
and tracing the non-homogeneous certificate based on the second hash value in the transaction result to obtain a circulation record of the non-homogeneous certificate.
8. A digital certificate processing apparatus, comprising:
the obtaining module is used for obtaining a certification establishing request which comprises a first Hash value and a token value of the homogenization certification;
the generating module is used for packaging the first hash value and token value of the homogeneous evidence based on a preset heterogeneous evidence-passing book to generate the target heterogeneous evidence-passing of the target block chain account;
and the transaction module is used for carrying out transaction on the non-homogeneous general evidence and/or the homogeneous general evidence in the target non-homogeneous general evidence based on the target non-homogeneous general evidence to obtain a transaction result.
9. A terminal device, comprising a memory for storing a computer program and a processor for executing the computer program to cause the terminal device to execute the method for processing digital certificates according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the processing method of the digital certificate according to any one of claims 1 to 7.
CN202110194976.7A 2021-02-20 2021-02-20 Digital certificate processing method and device, terminal equipment and storage medium Pending CN112819466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110194976.7A CN112819466A (en) 2021-02-20 2021-02-20 Digital certificate processing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110194976.7A CN112819466A (en) 2021-02-20 2021-02-20 Digital certificate processing method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112819466A true CN112819466A (en) 2021-05-18

Family

ID=75864473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110194976.7A Pending CN112819466A (en) 2021-02-20 2021-02-20 Digital certificate processing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112819466A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746638A (en) * 2021-09-03 2021-12-03 杭州复杂美科技有限公司 NFT storage method, NFT restoration method, computer device, and storage medium
CN113837857A (en) * 2021-08-13 2021-12-24 合肥维天运通信息科技股份有限公司 Option trading method and system for order to be settled based on block chain
CN113952707A (en) * 2021-12-16 2022-01-21 广州优刻谷科技有限公司 Motion sensing game action recognition method, scoring method and system based on RFID
CN114024687A (en) * 2021-11-11 2022-02-08 上海证章信息科技有限公司 Method for realizing NFT detachable and interchangeable through locking reissue
CN114070554A (en) * 2021-11-11 2022-02-18 杭州安存网络科技有限公司 Method and device for confirming ownership of block chain machine generated data
CN114095214A (en) * 2021-10-29 2022-02-25 上海热线信息网络有限公司 Encryption and decryption method, device, equipment and medium based on block chain NFT technology
CN114581089A (en) * 2022-05-07 2022-06-03 杭州链城数字科技有限公司 NFT-based data transaction method, device, system, electronic device and medium
WO2023142183A1 (en) * 2022-01-29 2023-08-03 浙江大学 Method and apparatus for generating digital rights proof of physical artwork

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097030A (en) * 2016-04-29 2016-11-09 北京太云科技有限公司 The data processing method of a kind of assets based on block chain, Apparatus and system
CN108335207A (en) * 2018-02-14 2018-07-27 阿里巴巴集团控股有限公司 Assets management method and device, electronic equipment
CN110288357A (en) * 2019-03-25 2019-09-27 上海分布信息科技有限公司 A kind of source tracing method based on Data token
CN111105236A (en) * 2020-01-06 2020-05-05 江苏恒为信息科技有限公司 Realization algorithm of non-homogeneity evidence
CN111415156A (en) * 2020-03-26 2020-07-14 北京马上游科技有限责任公司 Shopping card implementation method based on block chain
CN112308741A (en) * 2019-07-26 2021-02-02 傲为信息技术(江苏)有限公司 Digital asset finance system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097030A (en) * 2016-04-29 2016-11-09 北京太云科技有限公司 The data processing method of a kind of assets based on block chain, Apparatus and system
CN108335207A (en) * 2018-02-14 2018-07-27 阿里巴巴集团控股有限公司 Assets management method and device, electronic equipment
CN110288357A (en) * 2019-03-25 2019-09-27 上海分布信息科技有限公司 A kind of source tracing method based on Data token
CN112308741A (en) * 2019-07-26 2021-02-02 傲为信息技术(江苏)有限公司 Digital asset finance system
CN111105236A (en) * 2020-01-06 2020-05-05 江苏恒为信息科技有限公司 Realization algorithm of non-homogeneity evidence
CN111415156A (en) * 2020-03-26 2020-07-14 北京马上游科技有限责任公司 Shopping card implementation method based on block chain

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837857A (en) * 2021-08-13 2021-12-24 合肥维天运通信息科技股份有限公司 Option trading method and system for order to be settled based on block chain
CN113746638A (en) * 2021-09-03 2021-12-03 杭州复杂美科技有限公司 NFT storage method, NFT restoration method, computer device, and storage medium
CN114095214A (en) * 2021-10-29 2022-02-25 上海热线信息网络有限公司 Encryption and decryption method, device, equipment and medium based on block chain NFT technology
CN114095214B (en) * 2021-10-29 2023-12-12 上海热线信息网络有限公司 Encryption and decryption method, device, equipment and medium based on block chain NFT technology
CN114024687A (en) * 2021-11-11 2022-02-08 上海证章信息科技有限公司 Method for realizing NFT detachable and interchangeable through locking reissue
CN114070554A (en) * 2021-11-11 2022-02-18 杭州安存网络科技有限公司 Method and device for confirming ownership of block chain machine generated data
CN114070554B (en) * 2021-11-11 2024-01-19 杭州安存网络科技有限公司 Method and device for determining ownership of block chain machine generated data
CN113952707A (en) * 2021-12-16 2022-01-21 广州优刻谷科技有限公司 Motion sensing game action recognition method, scoring method and system based on RFID
WO2023142183A1 (en) * 2022-01-29 2023-08-03 浙江大学 Method and apparatus for generating digital rights proof of physical artwork
CN114581089A (en) * 2022-05-07 2022-06-03 杭州链城数字科技有限公司 NFT-based data transaction method, device, system, electronic device and medium

Similar Documents

Publication Publication Date Title
CN112819466A (en) Digital certificate processing method and device, terminal equipment and storage medium
JP7429281B2 (en) Methods and systems for directing exchanges associated with tokens held anonymously on a blockchain
TWI723658B (en) Methods and devices for protecting sensitive data of transaction activity based on smart contract in blockchain
CN109035019B (en) Bill transaction method, system, computer device and storage medium
US20230214792A1 (en) Computer implemented systems and methods
Wijaya et al. A new blockchain-based value-added tax system
JP2022088560A (en) Computer-implemented methods and systems for validating tokens for blockchain-based cryptocurrencies
CN112037068B (en) Resource transfer method, system, device, computer equipment and storage medium
JP2020535543A (en) Methods, devices, and computer-readable media for compliant tokenization and asset value control
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN110520883B (en) Method and apparatus for processing certificates in a blockchain system
US20220391887A1 (en) Systems and Methods for Maintenance of NFT Assets
CN112950220A (en) Enterprise digital identity management system and method based on block chain
CN111899001A (en) Remittance method and device based on block chain
CN111260488B (en) Data processing method and device and readable storage medium
CN112561407B (en) Asset management method, system and device based on block chain
EP4189913A1 (en) Blockchain tokens
US20190286841A1 (en) Detecting alterations of journal data structures
EP3756156A1 (en) Method for validating a voucher
US20230342849A1 (en) Method, apparatus, and computer-readable medium for compliance aware tokenization and control of asset value
Wijaya et al. Smart Stamp Duty
CN113159768B (en) Transaction certificate storage method, device and equipment
US20240163106A1 (en) Systems and Methods for Green Proof of Stake Consensus Mechanisms
AU2018202007A1 (en) Systems and methods for obtaining accountant prepared financial statement confirmation
EA038684B1 (en) Advanced methods, systems and devices for registering information in a database

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