CN110460686B - Block chain address registration method and device - Google Patents

Block chain address registration method and device Download PDF

Info

Publication number
CN110460686B
CN110460686B CN201910680861.1A CN201910680861A CN110460686B CN 110460686 B CN110460686 B CN 110460686B CN 201910680861 A CN201910680861 A CN 201910680861A CN 110460686 B CN110460686 B CN 110460686B
Authority
CN
China
Prior art keywords
information
address
alias
block
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910680861.1A
Other languages
Chinese (zh)
Other versions
CN110460686A (en
Inventor
吴绪城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Rivtower Technology Co Ltd
Original Assignee
Cryptape 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 Cryptape Co ltd filed Critical Cryptape Co ltd
Priority to CN201910680861.1A priority Critical patent/CN110460686B/en
Publication of CN110460686A publication Critical patent/CN110460686A/en
Application granted granted Critical
Publication of CN110460686B publication Critical patent/CN110460686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC

Abstract

The embodiment of the specification discloses a method and a device for registering a block chain address, wherein the method comprises the following steps: receiving alias information input by a user; when determining that the alias information is not mapped by account information of other users and a blockchain address is not registered by a user, receiving address information of a blockchain account; customizing and editing the alias information; writing the customized and edited alias information and address information into a block based on an encryption algorithm, and broadcasting the block to a block chain network; and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address. Therefore, convenient address recording is realized, the authenticity of data recording is met through the data uplink, the transmission process of address information is simplified, and the authenticity, the reliability and the verifiability of data are ensured; and convenient alias information and address information mapping inquiry is provided. Thus, the overall efficiency of use of the blockchain address is improved.

Description

Block chain address registration method and device
Technical Field
The present disclosure relates to the field of computer software technologies, and in particular, to a method and an apparatus for registering a block chain address.
Background
In the development of the blockchain technology, a blockchain address becomes a key parameter of the whole technology implementation, and the summary of the blockchain address includes, but is not limited to, contract address, wallet address, and other address information generated in the implementation of the blockchain technology (the blockchain address is simply referred to as an address in the following).
Due to the rapid development of the blockchain technology, the number of blockchain items of the whole network is large at present, and the whole blockchain industry does not have standard specifications aiming at the types of address information, and different technologies are realized, so that the address types, the lengths and the character information of all blockchain items are different. In daily address use, including but not limited to wallet transfer and contract calling, complex address information is used, particularly in daily wallet transfer, the highly complex address needs to be checked repeatedly for operation to be confident, and in contract calling, a large amount of address information is used in programming.
In decentralized technical application, the blockchain address is one of the core elements, and in the calling process of the blockchain, the failure of the whole technical application can be caused by the wrong filling of the address information; the troubles caused by the non-specification of the address include: the address information is transmitted through Email, QQ and the like in the traditional technology, so that the address information cannot be prevented from being modified in the transmission process, and a serious safety problem exists; the complexity of the address information leads to the need to check the correctness repeatedly each time the address information is used, and the format of the address information leads to the need of providing multiple format choices for technical application, which leads to complex and tedious operation.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method and an apparatus for registering a block chain address, so as to avoid the problems of complicated address information and easy modification, which result in complicated security and operation.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
in a first aspect, a method for registering a blockchain address is provided, where the method is applied to a blockchain address registration server, and the method includes:
receiving alias information input by a user;
when determining that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address, receiving address information of a blockchain account;
customizing and editing the alias information;
writing the customized and edited alias information and the address information into a block based on an encryption algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
In a second aspect, an apparatus for block chain address registration is provided, including:
the first receiving module is used for receiving alias information input by a user;
the second receiving module is used for receiving the address information of the block chain account when the alias information is determined not to be mapped by the account information of other users and the block chain address is not registered by the user;
the customized editing module is used for performing customized editing on the alias information;
the uplink module writes the customized and edited alias information and the address information into a block based on an encryption algorithm and broadcasts the alias information and the address information into a block chain network;
and the storage module is used for storing the block information of the block, binding the block information with the alias information and the address information and finishing the registration of the block chain address.
In a third aspect, an electronic device is provided, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving alias information input by a user;
when determining that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address, receiving address information of a blockchain account;
customizing and editing the alias information;
writing the customized and edited alias information and the address information into a block based on an encryption algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
In a fourth aspect, a computer-readable storage medium is presented, the computer-readable storage medium storing one or more programs that, when executed by an electronic device that includes a plurality of application programs, cause the electronic device to:
receiving alias information input by a user;
when determining that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address, receiving address information of a blockchain account;
customizing and editing the alias information;
writing the customized and edited alias information and the address information into a block based on an encryption algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
As can be seen from the technical solutions provided by the embodiments of the present specification, convenient address recording can be achieved through the blockchain address registration service, authenticity of data recording is satisfied through a data uplink, and the record can also be found through querying blockchain information by using a blockchain browser, so that a transmission process of address information is simplified and real reliability of data is guaranteed; authenticity, non-tampering and verifiability of alias information and address information are realized through a reference block chain technology; convenient alias information and address information mapping query is provided through an API interface. Thus, the overall efficiency of use of the blockchain address is improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic diagram illustrating a step of a block chain address registration method according to an embodiment of the present disclosure.
Fig. 2 is a second step schematic diagram of a block chain address registration method according to an embodiment of the present disclosure.
Fig. 3a is a third step of the block chain address registration method according to an embodiment of the present disclosure.
Fig. 3b is a fourth step diagram illustrating a block chain address registration method according to an embodiment of the present disclosure.
Fig. 4 is a fifth step diagram illustrating a block chain address registration method according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification.
Fig. 6 is a block chain address registration structure according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Example one
Referring to fig. 1, a schematic diagram of steps of a blockchain address registration method provided in an embodiment of the present application is shown, where the blockchain address registration method is applied in a blockchain address registration server, where the blockchain address may include a blockchain account address including a wallet address, a contract address, and the like. These blockchain addresses may include the following steps when registering:
step 11: alias information input by a user is received.
The alias information may be alias information input by the user through a keyboard or alias information selected from a preset list. The alias information can be a character string with any length formed by arranging one or more of character types such as numbers, letters, special characters and the like; for example, the alias information is: 11khkad 1. The image may be a picture, a two-dimensional code, audio, or video, and the like, which is not limited in the present application.
Step 12: receiving address information of a blockchain account when the alias information is determined not to be mapped by account information of other users and not to be registered by the user with a blockchain address.
In this step, it is first determined that the received alias information is valid, i.e., the alias information has not been mapped by account information of other users and has not been registered by the user with a blockchain address. In other words, if the received alias information is already registered by the account of another user or the alias information is already registered by the user at another blockchain address, the alias information is invalid and subsequent blockchain address registration cannot be performed.
Step 13: and customizing and editing the alias information.
Alternatively, the step 13 may be specifically executed as:
adding an identifier in the alias information, wherein the identifier is used for marking the block chain address registration server; for example, a blockchain address registrar number or ID is added to the alias information.
And/or;
encrypting the alias information and the address information; for example, the alias information and the address information are encrypted using an existing symmetric encryption algorithm or an asymmetric encryption algorithm.
Step 14: and writing the customized and edited alias information and the address information into the block based on an encryption algorithm, and broadcasting the alias information and the address information into the block chain network.
Specifically, a hash algorithm may be adopted to encrypt and write the alias information and the address information into the block, and broadcast the alias information and the address information to the blockchain network; alternatively, the hash value obtained by the encryption process in step 13, the customized and edited alias information, and the address information may be written into the block together by using a hash algorithm, and broadcast to the blockchain network.
Optionally, writing the customized and edited alias information and the address information into the block based on an encryption algorithm, which specifically includes:
writing the customized and edited alias information and the address information into a Cell space of the block based on a Hash algorithm, wherein the Cell space is used for recording the storage state of the information written into the block.
The Cell space belongs to a state mechanism, and when the Cell space is set to an occupied state after data is written, the current data is valid, and when the Cell space is set to a historical state, the data recorded in the Cell space is invalid. In other words, although the data in the Cell space is not rewritable, the memory state thereof may be changed.
Optionally, the current timestamp is written when the customized edited alias information and the address information are written to the block based on the encryption algorithm. The block-out interval is generally 10 seconds, and alias information, address information, and the like written by different blockchain registrars can be received in the same block. In the application, the time stamp is introduced while the blocks are written, so that the condition that the same alias information is written into a plurality of block chain registration servers in one block can be prevented, and the time stamp is irreversible.
Step 15: and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
Wherein the tile information may include: block height, block ID, block hash value, etc.
It should be understood that, in the present application, the block information of the block is bound with the corresponding alias information and address information, and stored in the database of the blockchain address registration server. For example, it may be: account A: alias 1-address 1-chunk ID 1-chunk Hash1 timestamp 1; alias 2-address 2-chunk ID 2-chunk Hash 2-timestamp 2.
Convenient address recording can be realized through the block chain address registration service, the data chaining is realized, the authenticity of the data recording is met, the record can be searched through the block chain browser for inquiring the block information, the transmission process of the address information is simplified, and the authenticity and the reliability of the data are ensured; authenticity, non-tampering and verifiability of alias information and address information are realized through a reference block chain technology; convenient alias information and address information mapping query is provided through an API interface.
Optionally, in this embodiment of the present specification, before receiving alias information input by a user, the method may further include an alias registration process, where the specific steps are shown in fig. 2:
step 21: and after the user logs in the blockchain address registration server, acquiring the account information of the user.
Step 22: and receiving alias information input by the user.
Step 23: judging whether the alias information is in an alias database; if yes, go to step 24; otherwise, jump to step 25.
Step 24: the user is prompted to re-enter additional alias information.
Step 25: storing the alias information in the alias database, wherein the alias information is in a many-to-one mapping relationship with the account information of the user.
Thus, the alias database can be used to determine whether an alias entered by the user has been registered at the time of alias registration.
Optionally, after the registration of the blockchain address is completed, the method further includes a process of using the registered blockchain address to perform an application, and specifically, the steps shown in fig. 3a may be specifically included:
step 31: receiving alias information input by the user;
step 32: inquiring the block information bound with the alias information;
step 33: verifying whether alias information written in a block corresponding to the block information is the same as input alias information based on the block information;
step 34: when the verification is the same, acquiring address information corresponding to the alias information from a block corresponding to the block information;
step 35: and performing block chain application operation according to the address information.
Optionally, after step 34 is executed and before step 35 is executed, the method described with reference to fig. 3b further includes:
step 36: acquiring address information corresponding to the alias information from the local;
step 37: the address information obtained from the local is verified against the address information obtained from the block.
Optionally, in an embodiment of the present specification, the method further includes a step of changing the registered blockchain address; specifically, reference may be made to fig. 4:
step 41: receiving alias information input by the user;
step 42: searching block information bound with the alias information based on the alias information;
step 43: setting the storage state of the Cell space of the block corresponding to the block information as a historical state;
step 44: receiving other alias information input by a user;
step 45: when determining that the other alias information is not mapped by account information of other users and is not registered by the user with the blockchain address, inputting address information of the blockchain account;
step 46: customizing and editing the other alias information;
step 47: writing the other customized and edited alias information and the address information into the block based on an encryption algorithm, and broadcasting the alias information and the address information into a block chain network;
and 48: and storing the block information of the block, and binding the block information with the other alias information and the address information to complete the registration of the block chain address.
Therefore, the storage state of the Cell space in the block network can be changed, the mapping of the alias and the address can be changed, and the alias and the address can be commonly identified to the whole block chain network.
The technical solution referred to in the present specification is described in detail below by specific examples.
- -alias registration
First, the user can open and log on a web page of a blockchain address registration server (hereinafter, referred to as a server, and also referred to as a server).
Second, the user enters an alias registration page.
The user then enters alias information, clicks on confirmation, and successfully registers the alias, for example: blockchain.
And then, the service provider locks the account information of the user corresponding to the alias information in the database.
Finally, the facilitator indicates to the outside that the alias is registered.
-blockchain address registration
First, the user enters an alias mapping page.
Second, an alias is selected, for example: blockchain, begin mapping.
Third, the dialog box enters wallet address information, e.g., 0x11khkad12221k3j1lk2j33, confirming the mapping.
Fourthly, the service provider receives the request of mapping confirmation and carries out customized editing on the data.
The fifth step adds a facilitator number (mykj) in front of the alias, for example: mykj _ blockchain.
And sixthly, carrying out an encryption algorithm on the edited alias information and the address information to obtain a Hash value.
And seventhly, writing the alias information, the address information and the Hash into a Cell space and broadcasting the alias information, the address information and the Hash into a channel block network.
And eighthly, the service provider database records the block height, the block ID and the block Hash and binds the block height, the block ID and the block Hash with the account information of the user.
- -transfer application
Step 1, logging in wallet software, opening an address calling tool, such as: and opening a transfer page.
And step 2, clicking a receiving address column to select the name of the service provider.
It should be understood that the problem of selecting a facilitator, mainly the uniqueness of the alias, is that in the database of the facilitator, there may be several facilitators sharing data, performing deduplication together; the problem of the same alias of a plurality of registrars is solved, so that a service provider is selected before the alias is input, and thus, a plurality of repeated problems can not occur when the alias is input.
And 3, inputting an alias blockchain into the alias column, wherein the wallet requests an API (application program interface) of a corresponding service provider in real time and carries alias information.
And 4, the service provider receives the API query request, calls the database to query alias information and queries block information bound by the alias.
And 5, verifying whether the alias information stored in the block is the same as that in the database or not, and if so, acquiring the address information stored in the block.
And 6, searching address information from the local database by the service provider, and feeding the address information back to the wallet for verification.
And 7, the wallet automatically fills address information in an address field below the alias field.
And 8, clicking to confirm the transaction, and carrying out block chain technology application by the wallet according to the address information in the address bar to realize the function of transferring accounts.
-changing blockchain address registration
First, the user enters an alias mapping page.
Second, an alias is selected and the mapping is unmapped.
The facilitator then changes the storage state of the Cell space on the blockchain to invalid.
After that, the change of the block chain address registration can be realized according to the steps from the first step to the eighth step in the block chain address registration process. At this time, the latest Cell space data in the block network has been changed and is commonly known throughout the network by inquiry.
The block chain address registration service forms a character record with a fixed format through the mapping relation between the alias and the address, uploads the final character record to a block chain network, provides an inquiry interface of alias mapping, and inquires data from a block chain by the data, thereby ensuring the authenticity of the inquired data, and the distributed block chain link points provide the convenience and reliability of inquiry and improve the efficiency of address information in the application of the block chain technology. Moreover, the block chain address alias registration service can realize that visual alias information corresponds to complex address information, can provide a self-defined naming rule aiming at the convenience of memory, and can self-define the complex address information corresponding to personalized character string information through alias registration; through a block chain technology, alias information and address information are packaged and uploaded, written into a space of a block chain for storage, and synchronized to a block chain network to realize the common identification of the whole network; registering all block information of a service provider synchronous block chain network, and providing complete block inquiry; the address information corresponding to the alias information recorded in the block is quickly and conveniently queried through a query interface provided by the registration service; the mapping of the address information can be automatically recognized by directly inputting partial characters of the alias through a query interface provided by the registration service by using the index information.
Example two
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present specification. Referring to fig. 5, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the shared resource access control device on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
receiving alias information input by a user;
when determining that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address, receiving address information of a blockchain account;
customizing and editing the alias information;
writing the customized and edited alias information and the address information into a block based on an encryption algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
The methods disclosed above in the embodiments of fig. 1-4 of the present specification may be implemented in or by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present specification may be embodied directly in a hardware decoding processor, or in a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the method of fig. 1 and implement the functions of the block chain address registration apparatus in the embodiments shown in fig. 1 to 4, which are not described herein again in this specification.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
EXAMPLE III
Embodiments of the present specification also propose a computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a portable electronic device comprising a plurality of application programs, are capable of causing the portable electronic device to perform the method of the embodiment shown in fig. 1, and in particular for performing the method of:
receiving alias information input by a user;
when determining that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address, receiving address information of a blockchain account;
customizing and editing the alias information;
writing the customized and edited alias information and the address information into a block based on an encryption algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
Example four
Fig. 6 is a schematic structural diagram of an apparatus 600 for assisting a user to become a target class user according to an embodiment of the present disclosure. Referring to fig. 6, in a software implementation, an apparatus 600 for assisting a user to become a target class user may include:
a first receiving module 61, which receives alias information input by a user;
a second receiving module 62, configured to receive address information of a blockchain account when it is determined that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address;
a customized editing module 63, which performs customized editing on the alias information;
a chaining module 64 for writing the customized and edited alias information and the address information into a block based on an encryption algorithm and broadcasting the alias information and the address information into a block chain network;
the storage module 65 stores the block information of the block, and binds the block information with the alias information and the address information to complete the registration of the block chain address.
Optionally, as an embodiment, the method further includes:
the acquisition module acquires the account information of the user after the user logs in the blockchain address registration server;
the third receiving module is used for receiving alias information input by the user;
the judging module is used for judging whether the alias information is in an alias database or not;
if yes, prompting the user to input other alias information again;
otherwise, the storage module stores the alias information in the alias database, wherein the alias information and the account information of the user are in a many-to-one mapping relationship.
Optionally, as an embodiment, after the registration of the blockchain address is completed, the method further includes:
the fourth receiving module is used for receiving alias information input by the user;
the query module is used for querying the block information bound with the alias information;
the verification module verifies whether the alias information written in the block corresponding to the block information is the same as the input alias information or not based on the block information;
the acquisition module acquires the address information corresponding to the alias information from the block corresponding to the block information when the verification is the same;
and the processing module is used for carrying out block chain application operation according to the address information.
Optionally, the obtaining module is further configured to obtain, from the local, address information corresponding to the alias information;
the verification module is further configured to verify the address information obtained from the local and the address information obtained from the block.
Optionally, as an embodiment, the uplink module is specifically configured to write the customized and edited alias information and the address information into a Cell space of the block based on a hash algorithm, where the Cell space is used to record a storage state of the information written into the block.
Optionally, the fourth receiving module is further configured to receive alias information input by the user;
the searching module is used for searching the block information bound with the alias information based on the alias information;
further comprising: and the setting module is used for setting the storage state of the Cell space of the block corresponding to the block information as history.
Optionally, the customized editing module is specifically configured to:
adding an identifier in the alias information, wherein the identifier is used for marking the block chain address registration server;
and/or;
and encrypting the alias information and the address information.
Optionally, the uplink module writes the current timestamp when writing the customized and edited alias information and the address information into the block based on the encryption algorithm.
It should be understood that the block chain address registration apparatus in this embodiment of the present disclosure may also perform the method performed by the block chain address registration apparatus (or device) in fig. 1 to 4, and implement the functions of the block chain address registration apparatus (or device) in the embodiments shown in fig. 1 to 4, which are not described herein again.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

Claims (9)

1. A method for registering a blockchain address is applied to a blockchain address registration server, and comprises the following steps:
receiving alias information input by a user;
when determining that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address, receiving address information of a blockchain account;
and customizing and editing the alias information, comprising the following steps: adding an identifier in the alias information, wherein the identifier is used for marking the block chain address registration server; and/or; encrypting the alias information and the address information;
writing the customized and edited alias information and the address information into a block based on a Hash algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
2. The method of claim 1, wherein prior to receiving user-entered alias information, the method further comprises:
after a user logs in a block chain address registration server, acquiring account information of the user;
receiving alias information input by the user;
judging whether the alias information is in an alias database;
if yes, prompting the user to input other alias information again;
otherwise, storing the alias information in the alias database, wherein the alias information and the account information of the user are in a many-to-one mapping relationship.
3. The method of claim 1 or 2, wherein after completion of registration of a blockchain address, the method further comprises:
receiving alias information input by the user;
inquiring the block information bound with the alias information;
verifying whether alias information written in a block corresponding to the block information is the same as input alias information based on the block information;
when the verification is the same, acquiring address information corresponding to the alias information from a block corresponding to the block information;
and performing block chain application operation according to the address information.
4. The method of claim 3, wherein after obtaining the address information corresponding to the alias information from the block corresponding to the block information, before performing a block chain application operation according to the address information, the method further comprises:
acquiring address information corresponding to the alias information from the local;
the address information obtained from the local is verified against the address information obtained from the block.
5. The method according to claim 1 or 2, wherein writing the customized and edited alias information and the address information into the block based on a hash algorithm specifically comprises:
writing the customized and edited alias information and the address information into a Cell space of the block based on a Hash algorithm, wherein the Cell space is used for recording the storage state of the information written into the block.
6. The method of claim 5, wherein the method further comprises:
receiving alias information input by the user;
searching block information bound with the alias information based on the alias information;
setting the storage state of the Cell space of the block corresponding to the block information as history;
receiving other alias information input by a user;
when determining that the other alias information is not mapped by account information of other users and is not registered by the user with the blockchain address, inputting address information of the blockchain account;
customizing and editing the other alias information;
writing the other customized and edited alias information and the address information into a block based on a Hash algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the other alias information and the address information to complete the registration of the block chain address.
7. The method according to claim 1 or 2, wherein the current timestamp is written when the custom edited alias information and the address information are written to the block based on a hash algorithm.
8. A block chain address registration apparatus, comprising:
the first receiving module is used for receiving alias information input by a user;
the second receiving module is used for receiving the address information of the block chain account when the alias information is determined not to be mapped by the account information of other users and the block chain address is not registered by the user;
the customized editing module is used for performing customized editing on the alias information and comprises: adding an identifier in the alias information, wherein the identifier is used for marking the block chain address registration server; and/or; encrypting the alias information and the address information;
the uplink module writes the customized and edited alias information and the address information into a block based on a Hash algorithm and broadcasts the alias information and the address information into a block chain network;
and the storage module is used for storing the block information of the block, binding the block information with the alias information and the address information and finishing the registration of the block chain address.
9. A computer-readable storage medium storing one or more programs which, when executed by an electronic device including a plurality of application programs, cause the electronic device to:
receiving alias information input by a user;
when determining that the alias information is not mapped by account information of other users and is not registered by the user with a blockchain address, receiving address information of a blockchain account;
and customizing and editing the alias information, comprising the following steps: adding an identifier in the alias information, wherein the identifier is used for marking the block chain address registration server; and/or; encrypting the alias information and the address information;
writing the customized and edited alias information and the address information into a block based on a Hash algorithm, and broadcasting the alias information and the address information into a block chain network;
and storing the block information of the block, and binding the block information with the alias information and the address information to complete the registration of the block chain address.
CN201910680861.1A 2019-07-26 2019-07-26 Block chain address registration method and device Active CN110460686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910680861.1A CN110460686B (en) 2019-07-26 2019-07-26 Block chain address registration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910680861.1A CN110460686B (en) 2019-07-26 2019-07-26 Block chain address registration method and device

Publications (2)

Publication Number Publication Date
CN110460686A CN110460686A (en) 2019-11-15
CN110460686B true CN110460686B (en) 2021-12-10

Family

ID=68483525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910680861.1A Active CN110460686B (en) 2019-07-26 2019-07-26 Block chain address registration method and device

Country Status (1)

Country Link
CN (1) CN110460686B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445242B (en) * 2020-03-11 2024-04-16 陈健 Block chain-based account address information issuing method and device
CN111461719A (en) * 2020-04-13 2020-07-28 江苏恒为信息科技有限公司 Block chain account identity identification method
CN112202936B (en) * 2020-09-24 2023-12-19 广东九河云计算有限公司 Account address coordinated method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453415A (en) * 2016-12-01 2017-02-22 江苏通付盾科技有限公司 Block chain based equipment certification method, certification server and user equipment
CN106600250A (en) * 2016-11-04 2017-04-26 北京果仁宝科技有限公司 User identification method and user identification device of block chain from decentralization to centralization

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170236104A1 (en) * 2016-02-12 2017-08-17 D+H Usa Corporation Peer-to-Peer Financial Transactions Using A Private Distributed Ledger
CN106384236B (en) * 2016-08-31 2019-07-16 江苏通付盾科技有限公司 Based on the ca authentication management method of block chain, apparatus and system
US11538031B2 (en) * 2017-03-31 2022-12-27 Vijay Madisetti Method and system for identity and access management for blockchain interoperability

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600250A (en) * 2016-11-04 2017-04-26 北京果仁宝科技有限公司 User identification method and user identification device of block chain from decentralization to centralization
CN106453415A (en) * 2016-12-01 2017-02-22 江苏通付盾科技有限公司 Block chain based equipment certification method, certification server and user equipment

Also Published As

Publication number Publication date
CN110460686A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN112199738B (en) Infringement evidence method and device based on blockchain and electronic equipment
CN110495132B (en) System and method for generating, uploading and executing code blocks within distributed network nodes
CN110460686B (en) Block chain address registration method and device
JP2020511059A (en) Information authentication method and system
US9613156B2 (en) Cookie information sharing method and system
CN105592011B (en) Account login method and device
JP6854046B2 (en) Data backfill method, terminal, and system
JP2019537112A (en) Method, apparatus and server for account login
CN102299954A (en) context-specific network resource addressing model for distributed services
JP2017521769A (en) Login account prompt
CN109582473A (en) Across chain data access method and device based on block chain
JP6903570B2 (en) Information manipulation
CN111488095A (en) User login management method and device
CN105187399A (en) Resource processing method and device
JP2019511060A (en) Method and apparatus for page display
CN111310137B (en) Block chain associated data evidence storing method and device and electronic equipment
CN113408254A (en) Page form information filling method, device, equipment and readable medium
CN109271564A (en) Declaration form querying method and equipment
CN114860238A (en) Page generation method and device and electronic equipment
CN115392889A (en) Service processing method and device
CN109146457A (en) Data input householder method and device
CN113836331A (en) Image query method, device and storage medium
US20200311169A1 (en) Apparatus and method for determining types of uniform resource locator
CN110427745B (en) Verification code obtaining method and device, electronic equipment and computer readable medium
CN110971578B (en) User identity confirmation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20191115

Assignee: Hangzhou Xita Technology Co.,Ltd.

Assignor: CRYPTAPE Co.,Ltd.

Contract record no.: X2021980015760

Denomination of invention: A blockchain address registration method and device

Granted publication date: 20211210

License type: Common License

Record date: 20211229

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right

Effective date of registration: 20231213

Address after: 10/F, Guotou Building, No. 398 Shaoxing Road, Gongshu District, Hangzhou City, Zhejiang Province, 310000

Patentee after: Hangzhou Xita Technology Co.,Ltd.

Address before: Room 1301, block a, Huaxing Times Square, 478 Wensan Road, Xihu District, Hangzhou City, Zhejiang Province, 310013

Patentee before: CRYPTAPE Co.,Ltd.

TR01 Transfer of patent right