CN111461719A - Block chain account identity identification method - Google Patents

Block chain account identity identification method Download PDF

Info

Publication number
CN111461719A
CN111461719A CN202010283822.0A CN202010283822A CN111461719A CN 111461719 A CN111461719 A CN 111461719A CN 202010283822 A CN202010283822 A CN 202010283822A CN 111461719 A CN111461719 A CN 111461719A
Authority
CN
China
Prior art keywords
account
user
address
block chain
identity
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
CN202010283822.0A
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.)
Jiangsu Hengwei Information Technology Co ltd
Original Assignee
Jiangsu Hengwei Information 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 Jiangsu Hengwei Information Technology Co ltd filed Critical Jiangsu Hengwei Information Technology Co ltd
Priority to CN202010283822.0A priority Critical patent/CN111461719A/en
Publication of CN111461719A publication Critical patent/CN111461719A/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/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or 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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The invention relates to the technical field of block chains, in particular to a block chain account identity identification method, which comprises the steps of receiving a command for setting an identity identification for a block chain account, wherein the setting command is a string of characters with the length of 1-255, checking the code normativity, the length and the global uniqueness of the character string, associating the qualified character string and the hash value thereof with an account address, and using the character string associated with the account address as the account identity identification. The block chain technology can be more conveniently and rapidly applied in the Internet environment.

Description

Block chain account identity identification method
Technical Field
The invention relates to an identity identification method of a blockchain account, in particular to a globally unique method which is used for identifying an identity in a transaction and is registered by a user in a self-defining way in a blockchain based on an account model.
Background
An account of a blockchain based on an account model is composed of public and private keys of an account, a public key of the account is a string of character strings generated by a private key through an asymmetric encryption algorithm and encoded by base58, the address is also called an address of the account, generally, the length of the address is 20-64 bytes, in application of the blockchain, such as transaction, a source account address and a target account address of the transaction need to be indicated in elements of the transaction, and these are used as essential elements of the transaction, and the address of the account in the transaction elements is a unique identifier of the account in the blockchain.
The identity refers to an attribute set related to entities such as natural people and legal people, and in the financial distributed account book system, the identity can be digitally identified, and an account is an attribute set of the identity.
In the process of creating the account, each account is associated with an identity, the transaction data carries the account identity of a sender, the identity of the account is globally unique in the distributed account book system and is not easy to be falsely used, and the anonymization processing of the account identity is supported for a system with a privacy protection requirement.
At present, in the block chain technology, the transaction between accounts adopts an account address as a unique identifier representing a source account and a target account, and the following problems exist:
(1) the account address is longer, is generally 20-64 characters in length, contains upper and lower case characters and numbers, and is not beneficial to the memorization and identification of a user;
(2) account addresses are easy to be confused, and generally, in the using process, when accounts are compared manually, only partial character strings at the beginning and the end of the accounts are compared, and the probability of errors of the middle part is still relatively high.
(3) The account address is not visual, the character strings in the account address are basically arranged and combined in disorder and meaningless, and the character strings cannot form visual correspondence with the user identity.
Disclosure of Invention
In order to solve the problems existing in the prior art that the transaction between accounts in the prior block chain technology adopts an account address as a unique identifier for representing a source account and a target account, the invention discloses a block chain account identity identification method, which can locate the block chain address of an associated account according to the identity by using the obtained identity, and indirectly inquire the information of the account in a block chain account book; the source account and the target account may also be designated in the transaction element by an identification.
A method for identifying identity of a block chain account comprises the following steps,
receiving a command for setting an identity identifier for a blockchain account, wherein the setting command is a string of characters with the length of 1-255, the string of characters does not contain a blank space, the string of characters is set by a user, and the user has an address and a private key of the blockchain account;
checking the standardization, the length and the global uniqueness of the character string codes;
associating the character string which is qualified by inspection and the hash value thereof with the account address;
using the character string associated with the account address as an account identity;
and returning to reset the character strings which are not qualified in the check.
Further, the character string is obtained by any one or more of capital letters, lower case letters, numbers and symbols.
Further, an account state tree is set, the structure of the account state tree contains an account address, other attribute branches and Name attribute branches of the account are arranged under the account address, the Name attribute is limited to be set only one time, set once, not allowed to be modified and not allowed to be deleted, and the hash value of the qualified character string is stored in the Name attribute branch.
Further, a block chain account book user state space is set, and is used for checking whether the qualified character strings and the hash values thereof are associated with the account addresses, storing the checked qualified character strings and the hash values thereof in the block chain account book user state space, and establishing one-to-one mapping relation objects between the character strings and the hash values thereof as well as the account addresses.
Further, whether the account has set the identity can be judged by inquiring whether the Name attribute branch has been set in the account status tree.
The invention has the advantages that the invention provides a block chain account identity identification method, which uniquely represents a block chain account on a block chain through a user-defined character string identification, supports the chain data of the account indexed on the chain through the identification, supports the transaction parties using the identification to indicate the block chain in the transaction, introduces the identification method of the block chain account identity, can improve the readability, the memorability, the usability and the distinguishability of the block chain account address, realize more convenient and rapid application of the block chain technology in the Internet environment, lead the user of the block chain to be capable of identifying the block chain address and the self-defined identity, the association of accounts such as name, mobile phone number, mailbox, etc., is equivalent to setting a unique alias for the blockchain account, and meanwhile, a public block chain address and the capability of digital signature are provided for the self-defined identity.
Drawings
FIG. 1 is a tree structure diagram of the account status of the present invention;
fig. 2 is a schematic diagram of a one-to-one mapping relationship between an account address and an account id according to the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all embodiments, and other embodiments obtained by those skilled in the art based on the embodiments in the present specification should fall within the protection scope.
The technical solutions provided by the embodiments in the present specification are described in detail below, and it should be noted that the following embodiments can be understood by referring to each other since the technical ideas based on the following embodiments are similar.
Example 1: a method for identifying the identity of a block chain account,
(1) the method comprises the steps that a user firstly obtains ownership of an account on a block chain, namely obtains an address and a private key of the account;
(2) the user defines a meaningful character string as a unique identity of the block chain account, the character string consists of a-Z, A-Z, 0-9, @ # $ & -with the length of 1-255, and a space cannot be reserved in the middle;
(3) setting a Name attribute branch of a blockchain account in an account state tree (as shown in fig. 1), wherein the Name attribute of the blockchain account is only allowed to be set one time, is only allowed to be set once, is not allowed to be modified, and is not allowed to be deleted, an account address is contained in the account state tree structure, and other attribute branches and the Name attribute branch of the account are arranged under the account address;
(4) judging whether the identity identification character string is set in the account setting consensus process flow, and performing coding normalization check, length check and global uniqueness check;
(5) after the consensus processing flow passes, the hash value of the identification character string is stored in the Name attribute branch of the account state tree, and meanwhile, the identification character string and the hash value thereof are stored in the user state space of the block chain account book, and a one-to-one mapping relation object between the identification character string and the hash value thereof and the account address is established, as shown in fig. 2.
Wherein, the global uniqueness checking step is as follows: searching whether a mapping relation table of a hash value and an account address of the user identity identification character string exists or not, if yes, indicating that the mapping relation table is not globally unique, indicating that the mapping relation table is occupied, and not allowing setting, and if not, allowing setting;
whether the account is provided with the identity can be judged by inquiring whether the Name attribute branch is set in the account state tree or not.
The method comprises the following steps of indexing account information through identity identification: calculating the hash value of the account identity, searching an identity hash value and account address mapping relation table according to the identity hash value, finding an account address, and searching a state tree through the account address;
the transaction can be carried out through the identity identification, and the specific steps are as follows: for the identity, the hash value of the identity is calculated, then the mapping table of the hash value of the account identity and the account address is searched according to the hash value, and then the account is indirectly positioned.
The above embodiments are merely technical ideas and features of the present invention, and thus should not limit the scope of the present invention, and all equivalent changes or modifications made according to the spirit of the present invention should be covered within the scope of the present invention.

Claims (5)

1. A method for identifying a blockchain account comprises the following steps,
receiving a command for setting an identity identifier for a blockchain account, wherein the setting command is a string of characters with the length of 1-255, the string of characters does not contain a blank space, the string of characters is set by a user, and the user has an address and a private key of the blockchain account;
checking the standardization, the length and the global uniqueness of the character string codes;
associating the character string which is qualified by inspection and the hash value thereof with the account address;
using the character string associated with the account address as an account identity;
and returning to reset the character strings which are not qualified in the check.
2. The method of claim 1, wherein the identification of the blockchain account is performed by a user,
the character string is obtained by any one or more of capital letters, lowercase letters, numbers and symbols.
3. The method of claim 1, wherein the identification of the blockchain account is performed by a user,
setting an account state tree, wherein the account state tree structure contains an account address, other attribute branches and Name attribute branches of the account are arranged under the account address, the Name attribute is limited to be set only one time, is only allowed to be set once, is not allowed to be modified, is not allowed to be deleted, and the hash value of the qualified character string is stored in the Name attribute branch.
4. The method of claim 1, wherein the identification of the blockchain account is performed by a user,
and setting a user state space of the block chain account book, wherein the user state space is used for associating the qualified character strings and the hash values thereof with the account addresses, storing the qualified character strings and the hash values thereof into the user state space of the block chain account book, and establishing one-to-one mapping relation objects between the character strings and the hash values thereof and the account addresses.
5. The method of claim 3, wherein the identification of the blockchain account is performed by a user,
the method comprises the following steps: and judging whether the account is provided with the identity identification or not by inquiring whether the Name attribute branch is set in the account state tree or not.
CN202010283822.0A 2020-04-13 2020-04-13 Block chain account identity identification method Pending CN111461719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010283822.0A CN111461719A (en) 2020-04-13 2020-04-13 Block chain account identity identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010283822.0A CN111461719A (en) 2020-04-13 2020-04-13 Block chain account identity identification method

Publications (1)

Publication Number Publication Date
CN111461719A true CN111461719A (en) 2020-07-28

Family

ID=71678617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010283822.0A Pending CN111461719A (en) 2020-04-13 2020-04-13 Block chain account identity identification method

Country Status (1)

Country Link
CN (1) CN111461719A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051622A (en) * 2021-03-11 2021-06-29 杭州趣链科技有限公司 Index construction method, device, equipment and storage medium
CN113256290A (en) * 2021-05-14 2021-08-13 杭州链网科技有限公司 Decentralized encrypted communication and transaction system
CN113821536A (en) * 2021-11-23 2021-12-21 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948192A (en) * 2017-12-22 2018-04-20 众安信息技术服务有限公司 A kind of block chain account customization identification and login method and system
CN109493054A (en) * 2018-11-27 2019-03-19 深圳链报科技有限公司 Multichain approaches to IM, device, storage medium and block chain identity resolution device
CN110460686A (en) * 2019-07-26 2019-11-15 杭州秘猿科技有限公司 A kind of block chain address register method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948192A (en) * 2017-12-22 2018-04-20 众安信息技术服务有限公司 A kind of block chain account customization identification and login method and system
CN109493054A (en) * 2018-11-27 2019-03-19 深圳链报科技有限公司 Multichain approaches to IM, device, storage medium and block chain identity resolution device
CN110460686A (en) * 2019-07-26 2019-11-15 杭州秘猿科技有限公司 A kind of block chain address register method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051622A (en) * 2021-03-11 2021-06-29 杭州趣链科技有限公司 Index construction method, device, equipment and storage medium
CN113256290A (en) * 2021-05-14 2021-08-13 杭州链网科技有限公司 Decentralized encrypted communication and transaction system
CN113256290B (en) * 2021-05-14 2023-04-18 杭州链网科技有限公司 Decentralized encrypted communication and transaction system
CN113821536A (en) * 2021-11-23 2021-12-21 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Similar Documents

Publication Publication Date Title
CN111461719A (en) Block chain account identity identification method
KR101627592B1 (en) Detection of confidential information
US10181168B2 (en) Personal safety verification system and similarity search method for data encrypted for confidentiality
CA2906475C (en) Method and apparatus for substitution scheme for anonymizing personally identifiable information
CN107241184B (en) Personal password generation and management method based on improved AES
CN111767565B (en) Data desensitization processing method, processing device and storage medium
CN116484437B (en) Asset information management method and device and computer equipment
CN110489466B (en) Method and device for generating invitation code, terminal equipment and storage medium
CN107612692A (en) A kind of information processing method, device and storage medium
CN110413711B (en) Differential data acquisition method and storage medium thereof
US20190303384A1 (en) Method and system for consolidating data retrieved from different sources
US10536162B2 (en) Method and system to convert globally unique identifiers to electronic data interchange document identifiers
CN108804487A (en) A kind of method and device of extraction target character
US8538013B2 (en) Rules-driven hash building
CN113094742A (en) Data desensitization method, data desensitization device, electronic device and storage medium
CN116055067B (en) Weak password detection method, device, electronic equipment and medium
CN115577374A (en) Encryption fusion storage method, device and medium based on MD5
TWI664849B (en) Method, computer program product and processing system for generating secure alternative representation
CN111866134A (en) Method and system for generating hash value and address of block chain transaction and storage medium
CN108512657B (en) Password generation method and device
CN114282268A (en) Database integrity checking method and device based on SM3 algorithm
KR20170128994A (en) Apparatus and method for spam message filtering
CN111797130A (en) Disambiguation-based enterprise entity unique ID (identity) creation method and system
CN113177223B (en) High-security data reversible desensitization method realized based on data attribute dynamic factors
CN112364368B (en) Telephone number encryption storage method

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