CN116384998A - DID contract management method, DID contract management device, electronic equipment and readable storage medium - Google Patents

DID contract management method, DID contract management device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN116384998A
CN116384998A CN202310275702.XA CN202310275702A CN116384998A CN 116384998 A CN116384998 A CN 116384998A CN 202310275702 A CN202310275702 A CN 202310275702A CN 116384998 A CN116384998 A CN 116384998A
Authority
CN
China
Prior art keywords
target
account
contract
address
node
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
CN202310275702.XA
Other languages
Chinese (zh)
Inventor
王耿
曹崇瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202310275702.XA priority Critical patent/CN116384998A/en
Publication of CN116384998A publication Critical patent/CN116384998A/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/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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Signal Processing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a DID contract management method, a device, electronic equipment and a computer readable storage medium, wherein a second account address to be added into a target DID contract is sent to an account node to trigger the account node to sign transaction contents to obtain target signature information containing the transaction contents and the signature, and the transaction contents comprise address introduction times of a first account address and the second account address; receiving target signature information sent by an account node, and sending the target signature information to an intelligent contract node; receiving target signature information, acquiring address introduction times corresponding to a first account address in a target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result; and introducing a second account address for the target DID contract based on the verification result and the target signature information. The embodiment of the application can improve the security of the account address when the account address is added into the DID contract.

Description

DID contract management method, DID contract management device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a DID contract management method, apparatus, electronic device, and computer readable storage medium.
Background
Under the wave of the internet, the application of blockchain technology in life of people is becoming more and more widespread, and intelligent contracts are generally deployed on blockchains to satisfy corresponding transactions, for example, a rights shareable DID (Decentralized Identity ) contract between different accounts is deployed on blockchains.
At present, if an account address is added to a DID contract, the signature held by the account address is obtained, and since the signature is a fixed signature for random information, the signature is easy to be induced by a hacker, so that the signature is used to share the right of the account to which the account address corresponding to the signature belongs, and the security of the account address added to the DID contract is low.
Disclosure of Invention
The embodiment of the application provides a DID contract management method, a DID contract management device, electronic equipment and a computer readable storage medium, which can improve the security of an account address when the account address joins in a DID contract.
In a first aspect, an embodiment of the present application provides a DID contract management method applied to a blockchain, where an intelligent contract node is disposed in the blockchain, a target DID contract is set in the intelligent contract node, the target DID contract is configured to store a plurality of account addresses, account information is shared between account addresses in the target DID contract, and the target DID contract includes a first account address of the account node, where the method includes:
Sending a second account address to be added into a target DID contract to an account node through the target account node to trigger the account node to sign transaction contents to obtain target signature information containing the transaction contents and the signature, and sending the target signature information to the target account node, wherein the transaction contents comprise address introduction times of a first account address and the second account address, and the address introduction times are times that the first account address is the new address introduction times of the target DID contract;
receiving target signature information sent by an account node through a target account node, and sending the target signature information to an intelligent contract node;
receiving target signature information through an intelligent contract node, acquiring address introduction times corresponding to a first account address in a target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result;
and introducing a second account address for the target DID contract based on the verification result and the target signature information through the intelligent contract node.
In a second aspect, an embodiment of the present application further provides a DID contract management apparatus applied to a blockchain, in which an intelligent contract node is disposed in the blockchain, a target DID contract is disposed in the intelligent contract node, the target DID contract is configured to store a plurality of account addresses, account information is shared between the account addresses in the target DID contract, and the target DID contract includes a first account address of the account node, the apparatus includes:
The signature module is used for sending a second account address to be added into the target DID contract to the account node through the target account node so as to trigger the account node to sign the transaction content, so that target signature information containing the transaction content and the signature is obtained, the target signature information is sent to the target account node, the transaction content comprises the address introduction times of the first account address and the second account address, and the address introduction times are the times that the first account address is the new address introduction times of the target DID contract;
the information sending module is used for receiving the target signature information sent by the account node through the target account node and sending the target signature information to the intelligent contract node;
the information receiving module is used for receiving the target signature information through the intelligent contract node, acquiring the address introduction times corresponding to the first account address in the target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result;
and the address introducing module is used for introducing a second account address for the target DID contract through the intelligent contract node based on the verification result and the target signature information.
In a third aspect, embodiments of the present application further provide an electronic device, including a memory storing a plurality of instructions; the processor loads instructions from the memory to perform steps in any of the DID contract management methods provided by the embodiments of the present application.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform steps in any of the DID contract management methods provided by the embodiments of the present application.
The method and the device are applied to a blockchain, an intelligent contract node is arranged in the blockchain, a target DID contract is arranged in the intelligent contract node, the target DID contract is configured to store a plurality of account addresses, account information is shared among the account addresses in the target DID contract, the target DID contract comprises a first account address of the account node, a second account address to be added into the target DID contract is sent to the account node through the target account node, the account node is triggered to sign transaction contents, target signature information containing transaction contents and the signature is obtained, the target signature information is sent to the target account node, the transaction contents comprise address introduction times of the first account address and second account address, and the address introduction times are times when the first account address is a new address introduced into the target DID contract; receiving target signature information sent by an account node through a target account node, and sending the target signature information to an intelligent contract node; receiving target signature information through an intelligent contract node, acquiring address introduction times corresponding to a first account address in a target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result; the second account address is introduced into the target DID contract through the intelligent contract node based on the verification result and the target signature information, so that the target account node applies for address introduction to the intelligent contract node spontaneously based on the signature provided by the account node, address introduction times are introduced in the application process, safety verification is carried out, safety risks caused by the fact that other account nodes are applied instead of the intelligent contract node are avoided, and safety of the account address when the DID contract is added is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a DID contract management method provided in an embodiment of the present application;
FIG. 2 is a flowchart illustrating an embodiment of a DID contract management method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a DID contract management apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Before explaining the embodiments of the present application in detail, some terms related to the embodiments of the present application are explained.
Wherein in the description of embodiments of the present application, the terms "first," "second," and the like may be used herein to describe various concepts, but such concepts are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Wherein, the blockchain: is a decentralized distributed database that consists of blocks one after the other. Each block holds certain information which is linked in a chain according to the time sequence of their respective generation.
Wherein, the blockchain node: refers to devices participating in the construction of a blockchain, such as personal computers, web servers, database servers, smartphones, etc., without limitation, e.g., each blockchain node on the blockchain may be deployed on one server or on a different server. Point-to-point communication can be performed between any two blockchain nodes on a blockchain, so that corresponding transactions, such as transactions of deploying intelligent contracts, updating stored data or generating new stored data, are realized.
It should be noted that, in the DID contract management method provided in the embodiment of the present application, corresponding steps may be executed by a blockchain node on a blockchain, that is, an account node, a target account node, and an intelligent contract node, which may be located on the same blockchain, and the target account node and the intelligent contract node may be located on the same blockchain, or may be located on different blockchains. Correspondingly, the DID contract management system provided in the embodiment of the present application may generally also include modules corresponding to the account node, the target account node, and the intelligent contract node.
The embodiment of the application provides a DID contract management method, a DID contract management device, electronic equipment and a computer readable storage medium. Specifically, the DID contract management method in the embodiment of the present application may be executed by an electronic device, that is, the target account node and the intelligent contract node on the blockchain to which the DID contract management method in the embodiment of the present application is applied are respectively electronic devices, and the target account node and the intelligent contract node may be located on the same electronic device or may be located on different electronic devices. The electronic device may be a terminal or a server. The terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), and the like, and the terminal may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent platforms.
For example, as shown in fig. 1, the electronic device is illustrated by taking a terminal as an example, where the terminal 10 corresponding to the target account node may send a second account address to be added to the target DID contract to the terminal 20 corresponding to the account node, so as to trigger the account node to sign the transaction content, obtain target signature information including the transaction content and the signature, and send the target signature information to the target account node, where the transaction content includes an address introduction number of the first account address and the second account address, and the address introduction number is the number of times that the first account address is the new address is introduced to the target DID contract; and receiving target signature information sent by the account node through the target account node, and sending the target signature information to the intelligent contract node. The terminal 30 corresponding to the intelligent contract node can receive the target signature information, acquire the address introduction times corresponding to the first account address in the target DID contract, and verify the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a verification result; and introducing a second account address for the target DID contract based on the verification result and the target signature information.
Based on the above problems, embodiments of the present application provide a method, an apparatus, an electronic device, and a computer readable storage medium for managing a DID contract, which can improve security when an account address joins a DID contract.
The following detailed description is provided with reference to the accompanying drawings. The following description of the embodiments is not intended to limit the preferred embodiments. Although a logical order is depicted in the flowchart, in some cases the steps shown or described may be performed in an order different than depicted in the figures.
In this embodiment, taking a terminal as an example for explanation, the present embodiment provides a DID contract management method applied to a blockchain, where an intelligent contract node is disposed in the blockchain, a target DID contract is set in the intelligent contract node, the target DID contract is configured to store a plurality of account addresses, account information is shared between account addresses in the target DID contract, the target DID contract includes a first account address of the account node, as shown in fig. 2, a specific flow of the DID contract management method may be as follows:
201. and sending a second account address to be added into the target DID contract to the account node through a target account node so as to trigger the account node to sign transaction contents to obtain target signature information containing the transaction contents and the signature, and sending the target signature information to the target account node, wherein the transaction contents comprise address introduction times of the first account address and the second account address, and the address introduction times are times that the first account address is a new address introduced into the target DID contract.
The target account node is a node where an account address of a target account to be added in the target DID contract is located, and the account address to be added in the target DID contract is the second account address.
It will be appreciated that, in the above-described characteristics of the target DID contract, after the second account address of the target account is added to the target DID contract, the second account address may share account information, such as asset information, of other address accounts in the target DID contract, so as to implement sharing rights held by the other address accounts.
Illustratively, the target DID contract may be an aggregate wallet address DID contract.
It will be appreciated that, since the second account address is not currently in the target DID contract, if the second account address is to be requested from the target DID contract, the second account address needs to be introduced into the target DID contract according to the account address that has been added to the target DID contract, that is, the first account address, which is in the account node, that is, in this embodiment, the target account may provide the attestation information for the target account according to the account node to which the first account address that has been added to the target DID contract belongs, so that the target account node holds the attestation information and requests address addition to the target DID contract.
In addition, in the process that the account node requests the target account to join the address in the target DID contract, if the target account node only sends the signature by using the private key to the account node to which the first account address belongs, the account node to which the first account address belongs initiates a transaction by using the private key of the first account address, so that the signature of the target account node and the related information of the signature are sent to the intelligent contract node, a great potential safety hazard exists, that is, a hacker can acquire the signature of the target account node by using the private key in a phishing manner, and based on the signature, the second account address of the target account node is added into the DID contract which can attack the user asset, that is, because account information can be shared between different account addresses in the target DID contract, the hacker can enjoy the rights of the account to which other account addresses in the target DID contract together with the target account by using the characteristics of the target DID contract, and thus the loss of the rights of the target account occurs.
In this embodiment, the second account address is sent to the account node through the target account node, so as to trigger the account node to sign the corresponding transaction content, thereby obtaining the target signature information including the signature content and the signature, where the target signature information is the certification information, and the account node sends the target signature information to the target account node to implement issuing of the certification information, so that the target account node holds the certification information to make a corresponding request, and security when the address joins the target DID contract is ensured.
In addition, the transaction content may include a current transaction event, a block height when signing the transaction content, an address introduction number of the first account address, the second account address, a transaction number or a time stamp, where the address introduction number is a number of times the first account address is a new address introduced by the target DID contract, and the transaction event is description information of the current transaction for indicating the current transaction; the transaction times are the total times of the transaction performed by the account node under the current transaction, and the time stamp is used for indicating the time of the current transaction.
Specifically, when the account node signs the transaction content, the account node may sign the transaction content based on a private key corresponding to a first account address corresponding to the account node.
In some embodiments, in order to improve security of the target DID contract, to avoid adding an inconsistent address to the target DID contract, identity verification may be performed on a target account node to which the second account address to be added in the target DID contract belongs, so as to ensure security of the target DID contract.
Specifically, before the account node signs the transaction content, the method may further include: and the account node performs identity verification on the target account node based on the second account address to obtain an identity verification result, wherein the identity verification result comprises that the identity verification passes and fails, then the identity verification result is judged, if the identity verification passes, the transaction content is signed, and if the identity verification fails, rejection information is sent to the target account node, and the rejection information can comprise the reason of the identity verification failure, so that the reminding of the target account node is realized.
Illustratively, the account node may perform identity verification on the target account node in a social manner.
202. And receiving the target signature information sent by the account node through the target account node, and sending the target signature information to the intelligent contract node.
In this embodiment, when the target account node receives the target signature information sent by the account node, it is described that the target account node obtains the certificate of the account node, and the target signature information is the certificate information provided by the account node, so that the target account node sends the target signature information to the intelligent contract node, so that the intelligent contract node performs corresponding processing based on the target DID contract deployed therein.
In some embodiments, the sending the target signature information to the smart contract node includes: and calling a DID contract function corresponding to the address introducing event through the target account node, and sending the target signature information to the intelligent contract node. The target account node may invoke the DID contract function corresponding to the address introduction event by using a private key corresponding to the second account address corresponding to the target account node, and send the target signature information obtained before to the intelligent contract node.
The address introducing event is the event of the current transaction, namely, the event of introducing the address of the second account into the target DID contract. It can be appreciated that different DID contract functions may correspond to different processing manners, so that the processing speed of the intelligent contract node may be increased by calling the DID contract function corresponding to the address import event.
203. And receiving the target signature information through the intelligent contract node, acquiring the address introduction times corresponding to the first account address in the target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result.
In this embodiment, after the smart contract node receives the target signature information, to ensure security, the smart contract node may obtain the number of address entries corresponding to the first account address in the target DID contract, so as to perform verification based on the number of address entries corresponding to the target signature information and the number of address entries in the target DID contract, to obtain a verification result, where the verification result includes a verification success result and a verification failure result, and when the verification result meets a preset verification result, the smart contract node may perform subsequent processing, for example, when the preset verification result is the verification success result, then when the verification result after verification is the verification success result, the smart contract node may perform subsequent processing.
In some embodiments, the verifying based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a verification result may include: when the address introduction times corresponding to the target signature information are consistent with the address introduction times in the target DID contract, determining that the verification result is successful; and when the address introduction times corresponding to the target signature information are inconsistent with the address introduction times in the target DID contract, determining that the verification result is a verification failure result.
204. And introducing the second account address for the target DID contract based on the verification result and the target signature information through the intelligent contract node.
In this embodiment, when the verification result meets a preset verification result, the smart contract node introduces the second account address to the target DID contract based on the target signature information.
The plurality of addresses in the target DID contract may exist in the form of an address list, and the introducing the second account address for the target DID contract may include: and adding the second account address into an address list of the target DID contract.
In some embodiments, in order to ensure security, in addition to the verification result obtained by performing verification based on the number of address importation, the smart contract node may further perform verification based on the target signature information, and may perform verification of other information, so as to importate the second account address for the target DID contract when the verification is passed.
In some embodiments, at least one verification manner may be designed for the above verification, so as to obtain a verification result corresponding to the at least one verification manner, where the verification result includes a verification success result and a verification failure result, so that when the verification result of the at least one verification manner meets a preset legal condition, a subsequent process is performed.
The preset legal conditions may be the successful verification results, that is, when the verification results corresponding to at least one verification mode are the successful verification results, the verification is passed; the preset legal conditions can also be the verification success results of a preset number, namely when the verification results of the preset number are verification success results in the verification results corresponding to at least one verification mode, the verification is passed, wherein the number of the verification modes is larger than or equal to the preset number; the preset legal conditions can also be the verification success results of the preset number with the highest priority, namely, the priority corresponding to each verification mode is set, so that when the verification results corresponding to the verification modes with the preset number with the highest priority are required to be the verification success results, the verification is passed.
In some embodiments, the above-mentioned intelligent contract node may further determine, by means of address restoration, whether the address of the current signature is consistent with the address in the signature content, or the address of the current signature is consistent with the address of the transmitted message, or whether the address in the signature content is consistent with the address of the transmitted message, so as to ensure security.
Specifically, the transaction content further includes a first account address of the account node, and may further include: restoring a first target account address for signing the transaction content based on the target signature information through the intelligent contract node, judging the first target account address, namely, because the first target account address is the signature of the account node on the transaction content, the first target account address is consistent with the first account address of the account node, so that the first target account address is required to be judged to be consistent with the first account address of the account node, when the first target account address is consistent with the first account address of the account node, the verification is passed, and then the second account address is introduced for the target DID contract based on the verification result and the target signature information; and when the first target account address is inconsistent with the first account address of the account node, indicating that verification fails.
Specifically, it may further include: judging a second account address in the target signature information, namely judging the second account address in the target signature information and the second account address of the target account node because the target account node sends a message to an intelligent contract node, when the second account address in the target signature information is consistent with the second account address of the target account node, describing that verification is passed, and then introducing the second account address for the target DID contract through the intelligent contract node based on the verification result and the target signature information; and when the second account address in the target signature information is inconsistent with the second account address of the target account node, indicating that verification fails.
In some embodiments, the smart contract node may further verify whether the first account address of the account node is in a target DID contract of the smart contract node.
In some embodiments, the transaction content further includes a tile height when the transaction content is signed, further including: acquiring the block height at the current moment through the intelligent contract node; calculating a block height difference between the block height at the current time and the block height corresponding to the transaction content, wherein the block height difference represents the time difference between the time when the target signature information is generated and the current time, so that the cost required by hacking is improved by limiting the time difference between the current time and the time when the target signature information is generated, the risk of hacking is reduced, and the security is improved. Specifically, by judging the size between the block height difference value and the height threshold value, when the block height difference value is smaller than the preset height threshold value, checking and passing, and then introducing the second account address for the target DID contract based on the checking result and the target signature information; and when the block height difference value is larger than a preset height threshold value, indicating that verification fails.
In some embodiments, the transaction content may further include a transaction number or a timestamp, so as to enable the smart contract node to verify the transaction information based on the transaction number or the timestamp, so as to prevent the re-protection attack.
In some embodiments, after introducing the second account address for the target DID contract, the method further includes: and updating the address introduction times of the first account address through the intelligent contract node to obtain updated address introduction times. For example, the address introduction number of the first account address is increased by one.
As can be seen from the above, the embodiment of the present application is applied to a blockchain, in which an intelligent contract node is disposed, a target DID contract is provided in the intelligent contract node, the target DID contract is configured to store a plurality of account addresses, account information is shared between account addresses in the target DID contract, the target DID contract includes a first account address of the account node, and a second account address to be added to the target DID contract is sent to the account node through the target account node, so as to trigger the account node to sign transaction contents, to obtain target signature information including transaction contents and signatures, and to send the target signature information to the target account node, the transaction contents include address introduction times of the first account address and the second account address, and the address introduction times are times when the first account address is a new address introduced into the target DID contract; receiving target signature information sent by an account node through a target account node, and sending the target signature information to an intelligent contract node; receiving target signature information through an intelligent contract node, acquiring address introduction times corresponding to a first account address in a target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result; the second account address is introduced into the target DID contract through the intelligent contract node based on the verification result and the target signature information, so that the target account node applies for address introduction to the intelligent contract node spontaneously based on the signature provided by the account node, address introduction times are introduced in the application process, safety verification is carried out, safety risks caused by the fact that other account nodes are applied instead of the intelligent contract node are avoided, and safety of the account address when the DID contract is added is improved.
In order to better implement the above method, the embodiment of the present application further provides a DID contract management apparatus, where the DID contract management apparatus may be specifically integrated in an electronic device, for example, a computer device, where the computer device may be a terminal, a server, or other devices.
The terminal can be a mobile phone, a tablet personal computer, an intelligent Bluetooth device, a notebook computer, a personal computer and other devices; the server may be a single server or a server cluster composed of a plurality of servers.
For example, in this embodiment, taking a specific integration of the DID contract management apparatus in a terminal as an example, the method of this embodiment will be described in detail, and this embodiment provides a DID contract management apparatus applied to a blockchain, where an intelligent contract node is disposed in the blockchain, where a target DID contract is disposed in the intelligent contract node, where the target DID contract is configured to store a plurality of account addresses, and account information is shared between account addresses in the target DID contract, where the target DID contract includes a first account address of an account node, as shown in fig. 3, the DID contract management apparatus may include:
a signature module 301, configured to send, to the account node through a target account node, a second account address to be added to the target DID contract, to trigger the account node to sign a transaction content, to obtain target signature information including the transaction content and the signature, and send the target signature information to the target account node, where the transaction content includes an address introduction number of the first account address and the second account address, and the address introduction number is a number of times the first account address is the new address introduced by the target DID contract;
An information sending module 302, configured to receive, by the target account node, the target signature information sent by the account node, and send the target signature information to the smart contract node;
the information receiving module 303 is configured to receive the target signature information through the intelligent contract node, obtain an address introduction number corresponding to the first account address in the target DID contract, and perform verification based on the address introduction number corresponding to the target signature information and the address introduction number in the target DID contract, so as to obtain a verification result;
an address introducing module 304, configured to introduce, by the smart contract node, the second account address to the target DID contract based on the verification result and the target signature information.
In some embodiments, the information receiving module 303 is specifically configured to:
and when the address introduction times corresponding to the target signature information are consistent with the address introduction times in the target DID contract, determining that the verification result is successful.
In some embodiments, the transaction content further includes a first account address of the account node, and the DID contract management apparatus further includes a first verification module, where the first verification module is specifically configured to:
Restoring a first target account address for signing the transaction content based on the target signature information through the intelligent contract node;
and when the first target account address is consistent with the first account address of the account node, introducing the second account address for the target DID contract based on the verification result and the target signature information.
In some embodiments, the DID contract management apparatus further includes a second checking module, where the second checking module is specifically configured to:
and when the second account address in the target signature information is consistent with the second account address of the target account node, introducing the second account address for the target DID contract by the intelligent contract node based on the verification result and the target signature information.
In some embodiments, the transaction content further includes a block height when signing the transaction content, and the DID contract management apparatus further includes a third verification module, where the third verification module is specifically configured to:
acquiring the block height at the current moment through the intelligent contract node;
calculating a block height difference between the block height at the current moment and the block height corresponding to the transaction content;
And when the block height difference value is smaller than a preset height threshold value, introducing the second account address for the target DID contract based on the verification result and the target signature information.
In some embodiments, the information sending module 302 is specifically configured to:
and calling a DID contract function corresponding to the address introducing event through the target account node, and sending the target signature information to the intelligent contract node.
In some embodiments, the DID contract management apparatus further includes an update module, where the update module is specifically configured to:
and updating the address introduction times of the first account address through the intelligent contract node to obtain updated address introduction times.
As can be seen from the foregoing, the DID contract management apparatus of this embodiment is applied to a blockchain, where an intelligent contract node is disposed in the blockchain, a target DID contract is set in the intelligent contract node, the target DID contract is configured to store a plurality of account addresses, account information is shared between account addresses in the target DID contract, the target DID contract includes a first account address of an account node, and a signature module 301 is configured to send, to the account node, a second account address to be added to the target DID contract through the target account node, to trigger the account node to sign a transaction content, to obtain target signature information including the transaction content and the signature, and send the target signature information to the target account node, where the transaction content includes an address introduction number of the first account address and a second account address, and the address introduction number is a number of times the first account address is a new address is introduced into the target DID contract; the information sending module 302 is configured to receive, by using the target account node, the target signature information sent by the account node, and send the target signature information to the intelligent contract node; the information receiving module 303 is configured to receive the target signature information through the intelligent contract node, obtain an address introduction number corresponding to the first account address in the target DID contract, and perform verification based on the address introduction number corresponding to the target signature information and the address introduction number in the target DID contract, so as to obtain a verification result; the address introducing module 304 is configured to introduce, for the target DID contract, a second account address through the intelligent contract node based on the verification result and the target signature information, so that the target account node applies for address introduction to the intelligent contract node spontaneously based on the signature provided by the account node, and further introduces address introduction times in the application process, so as to perform security verification, avoid security risks caused by other account nodes instead of application, and further improve security when the account address joins the DID contract.
Correspondingly, the embodiment of the application also provides electronic equipment, which can be a terminal, and the terminal can be terminal equipment such as a smart phone, a tablet personal computer, a notebook computer, a touch screen, a game machine, a personal computer (PC, personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and the like. As shown in fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be appreciated by those skilled in the art that the electronic device structure shown in the figures is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device 400 using various interfaces and lines, and performs various functions of the electronic device 400 and processes data by running or loading software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device 400.
In the embodiment of the present application, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions:
transmitting a second account address to be added into the target DID contract to the account node through a target account node so as to trigger the account node to sign transaction contents to obtain target signature information containing the transaction contents and the signature, and transmitting the target signature information to the target account node, wherein the transaction contents comprise address introduction times of the first account address and the second account address, and the address introduction times are times that the first account address is a new address introduced into the target DID contract;
receiving the target signature information sent by the account node through the target account node, and sending the target signature information to the intelligent contract node;
receiving the target signature information through the intelligent contract node, acquiring the address introduction times corresponding to the first account address in the target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result;
And introducing the second account address for the target DID contract based on the verification result and the target signature information through the intelligent contract node.
In some embodiments, the verifying based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a verification result includes:
and when the address introduction times corresponding to the target signature information are consistent with the address introduction times in the target DID contract, determining that the verification result is successful.
In some embodiments, the transaction content further includes a first account address of the account node, further including:
restoring a first target account address for signing the transaction content based on the target signature information through the intelligent contract node;
and when the first target account address is consistent with the first account address of the account node, introducing the second account address for the target DID contract based on the verification result and the target signature information.
In some embodiments, further comprising:
and when the second account address in the target signature information is consistent with the second account address of the target account node, introducing the second account address for the target DID contract by the intelligent contract node based on the verification result and the target signature information.
In some embodiments, the transaction content further includes a tile height when the transaction content is signed, further including:
acquiring the block height at the current moment through the intelligent contract node;
calculating a block height difference between the block height at the current moment and the block height corresponding to the transaction content;
and when the block height difference value is smaller than a preset height threshold value, introducing the second account address for the target DID contract based on the verification result and the target signature information.
In some embodiments, the sending the target signature information to the smart contract node includes:
and calling a DID contract function corresponding to the address introducing event through the target account node, and sending the target signature information to the intelligent contract node.
In some embodiments, after introducing the second account address for the target DID contract, the method further includes:
and updating the address introduction times of the first account address through the intelligent contract node to obtain updated address introduction times.
Thus, the electronic device 400 provided in this embodiment may have the following technical effects: the security of the account address when joining the DID contract is improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 4, the electronic device 400 further includes: a touch display 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch display 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
The touch display 403 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 401, and can receive and execute commands sent from the processor 401. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 401 to determine the type of touch event, and the processor 401 then provides a corresponding visual output on the display panel in accordance with the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 403 to implement the input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch-sensitive display 403 may also implement an input function as part of the input unit 406.
The radio frequency circuitry 404 may be used to transceive radio frequency signals to establish wireless communication with a network device or other electronic device via wireless communication.
The audio circuitry 405 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone. The audio circuit 405 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 405 and converted into audio data, which are processed by the audio data output processor 401 and sent via the radio frequency circuit 404 to e.g. another electronic device, or which are output to the memory 402 for further processing. The audio circuit 405 may also include an ear bud jack to provide communication of the peripheral headphones with the electronic device.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 407 is used to power the various components of the electronic device 400. Alternatively, the power supply 407 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 407 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 4, the electronic device 400 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, the present embodiments provide a computer readable storage medium in which a plurality of computer programs are stored, the computer programs being capable of being loaded by a processor to perform steps in any of the DID contract management methods provided in the embodiments of the present application. For example, the computer program may perform the steps of:
Transmitting a second account address to be added into the target DID contract to the account node through a target account node so as to trigger the account node to sign transaction contents to obtain target signature information containing the transaction contents and the signature, and transmitting the target signature information to the target account node, wherein the transaction contents comprise address introduction times of the first account address and the second account address, and the address introduction times are times that the first account address is a new address introduced into the target DID contract;
receiving the target signature information sent by the account node through the target account node, and sending the target signature information to the intelligent contract node;
receiving the target signature information through the intelligent contract node, acquiring the address introduction times corresponding to the first account address in the target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result;
and introducing the second account address for the target DID contract based on the verification result and the target signature information through the intelligent contract node.
In some embodiments, the verifying based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a verification result includes:
and when the address introduction times corresponding to the target signature information are consistent with the address introduction times in the target DID contract, determining that the verification result is successful.
In some embodiments, the transaction content further includes a first account address of the account node, further including:
restoring a first target account address for signing the transaction content based on the target signature information through the intelligent contract node;
and when the first target account address is consistent with the first account address of the account node, introducing the second account address for the target DID contract based on the verification result and the target signature information.
In some embodiments, further comprising:
and when the second account address in the target signature information is consistent with the second account address of the target account node, introducing the second account address for the target DID contract by the intelligent contract node based on the verification result and the target signature information.
In some embodiments, the transaction content further includes a tile height when the transaction content is signed, further including:
acquiring the block height at the current moment through the intelligent contract node;
calculating a block height difference between the block height at the current moment and the block height corresponding to the transaction content;
and when the block height difference value is smaller than a preset height threshold value, introducing the second account address for the target DID contract based on the verification result and the target signature information.
In some embodiments, the sending the target signature information to the smart contract node includes:
and calling a DID contract function corresponding to the address introducing event through the target account node, and sending the target signature information to the intelligent contract node.
In some embodiments, after introducing the second account address for the target DID contract, the method further includes:
and updating the address introduction times of the first account address through the intelligent contract node to obtain updated address introduction times.
It can be seen that the computer program can be loaded by a processor to execute the steps in any of the DID contract management methods provided in the embodiments of the present application, thereby bringing about the following technical effects: the security of the account address when joining the DID contract is improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the computer readable storage medium may execute the steps in any kind of DID contract management method provided in the embodiments of the present application, the beneficial effects that any kind of DID contract management method provided in the embodiments of the present application can be achieved, which is detailed in the previous embodiments and will not be described herein.
The foregoing describes in detail a DID contract management method, apparatus, electronic device and computer readable storage medium provided in the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core idea of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A DID contract management method, applied to a blockchain, in which an intelligent contract node is deployed, in which a target DID contract is provided, the target DID contract being configured to store a plurality of account addresses, and account information is shared between account addresses in the target DID contract, the target DID contract including a first account address of an account node, the method comprising:
sending a second account address to be added into the target DID contract to the account node through a target account node so as to trigger the account node to sign transaction contents, obtaining target signature information containing the transaction contents and the signature, and sending the target signature information to the target account node, wherein the transaction contents comprise address introduction times of the first account address and the second account address, and the address introduction times are times that the first account address is a new address introduced into the target DID contract;
receiving the target signature information sent by the account node through the target account node, and sending the target signature information to the intelligent contract node;
Receiving the target signature information through the intelligent contract node, acquiring the address introduction times corresponding to the first account address in the target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result;
and introducing the second account address for the target DID contract based on the verification result and the target signature information through the intelligent contract node.
2. The DID contract management method of claim 1, wherein the verifying based on the address importation number corresponding to the target signature information and the address importation number in the target DID contract to obtain a verification result includes:
and when the address introduction times corresponding to the target signature information are consistent with the address introduction times in the target DID contract, determining that the verification result is successful.
3. The DID contract management method of claim 1, wherein the transaction content further includes a first account address of the account node, further comprising:
restoring a first target account address for signing the transaction content based on the target signature information through the intelligent contract node;
And when the first target account address is consistent with the first account address of the account node, introducing the second account address for the target DID contract based on the verification result and the target signature information.
4. The DID contract management method of claim 1, further comprising:
and when the second account address in the target signature information is consistent with the second account address of the target account node, introducing the second account address for the target DID contract by the intelligent contract node based on the verification result and the target signature information.
5. The DID contract management method of claim 1, wherein the transaction contents further include a block height when signing the transaction contents, further comprising:
acquiring the block height at the current moment through the intelligent contract node;
calculating a block height difference value between the block height at the current moment and the block height corresponding to the transaction content;
and when the block height difference value is smaller than a preset height threshold value, introducing the second account address for the target DID contract based on the verification result and the target signature information.
6. The DID contract management method of claim 1, wherein the transmitting the target signature information to the smart contract node comprises:
and calling a DID contract function corresponding to the address introducing event through the target account node, and sending the target signature information to the intelligent contract node.
7. The DID contract management method of any one of claims 1 to 6, further comprising, after introducing the second account address for the target DID contract:
and updating the address introduction times of the first account address through the intelligent contract node to obtain updated address introduction times.
8. A DID contract management apparatus, applied to a blockchain in which an intelligent contract node is disposed, in which a target DID contract configured to store a plurality of account addresses and account information is shared between account addresses in the target DID contract, the target DID contract including a first account address of the account node, the apparatus comprising:
the signature module is used for sending a second account address to be added into the target DID contract to the account node through the target account node so as to trigger the account node to sign transaction contents, so as to obtain target signature information containing the transaction contents and the signature, and sending the target signature information to the target account node, wherein the transaction contents comprise the address introduction times of the first account address and the second account address, and the address introduction times are times that the first account address is the new address introduction times of the target DID contract;
The information sending module is used for receiving the target signature information sent by the account node through the target account node and sending the target signature information to the intelligent contract node;
the information receiving module is used for receiving the target signature information through the intelligent contract node, acquiring the address introduction times corresponding to the first account address in the target DID contract, and checking based on the address introduction times corresponding to the target signature information and the address introduction times in the target DID contract to obtain a checking result;
and the address introducing module is used for introducing the second account address for the target DID contract through the intelligent contract node based on the verification result and the target signature information.
9. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps in the DID contract management method as claimed in any one of claims 1 to 7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the DID contract management method of any one of claims 1 to 7.
CN202310275702.XA 2023-03-14 2023-03-14 DID contract management method, DID contract management device, electronic equipment and readable storage medium Pending CN116384998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310275702.XA CN116384998A (en) 2023-03-14 2023-03-14 DID contract management method, DID contract management device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310275702.XA CN116384998A (en) 2023-03-14 2023-03-14 DID contract management method, DID contract management device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116384998A true CN116384998A (en) 2023-07-04

Family

ID=86966710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310275702.XA Pending CN116384998A (en) 2023-03-14 2023-03-14 DID contract management method, DID contract management device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116384998A (en)

Similar Documents

Publication Publication Date Title
CN110365491B (en) Service processing method, device, equipment, storage medium and data sharing system
US11126981B2 (en) Resource transferring method and apparatus
WO2019042274A1 (en) Resource transfer method and apparatus, and storage medium
CN111355732B (en) Link detection method and device, electronic equipment and storage medium
CN110601858B (en) Certificate management method and device
US10993090B2 (en) Network access method, apparatus, and system
WO2018082560A1 (en) Account number registration method, related device, and system
CN111212074B (en) Blockchain-based qualification identification method, device, equipment and storage medium
CN113506100A (en) Alliance link data processing method and device, computer equipment and storage medium
US10666793B1 (en) Secure call center communications
CN110532324B (en) Block chain-based bulletin information display method, device, equipment and storage medium
CN114092101B (en) Transaction verification method and device, storage medium and electronic equipment
CN113890753B (en) Digital identity management method, device, system, computer equipment and storage medium
CN113746640B (en) Digital certificate using method, device, computer equipment and storage medium
CN116384998A (en) DID contract management method, DID contract management device, electronic equipment and readable storage medium
CN114844629A (en) Verification method and device of block chain account, computer equipment and storage medium
CN116384997A (en) DID contract management method, DID contract management system, electronic device and readable storage medium
CN116233130A (en) Block chain-based registration method, device, electronic equipment and readable storage medium
CN111476562A (en) Virtual resource transfer method, device, electronic equipment and storage medium
CN116308786A (en) Processing method, system, electronic equipment and readable storage medium for blockchain transaction
CN114422535B (en) Method, apparatus, computer device and storage medium for distributing contracts in blockchain
CN113360883B (en) Intelligent contract processing method and device, computer equipment and storage medium
CN114282270B (en) Method, device, terminal and storage medium for managing certificates in block chain
CN117041372A (en) Protocol switching method, device and equipment of passive equipment and readable storage medium
CN113806801A (en) Transaction information chaining method, device, computer equipment and storage medium

Legal Events

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