CN109242458A - Approaches to IM and relevant device based on block chain - Google Patents

Approaches to IM and relevant device based on block chain Download PDF

Info

Publication number
CN109242458A
CN109242458A CN201811160546.8A CN201811160546A CN109242458A CN 109242458 A CN109242458 A CN 109242458A CN 201811160546 A CN201811160546 A CN 201811160546A CN 109242458 A CN109242458 A CN 109242458A
Authority
CN
China
Prior art keywords
block chain
user
information
target
wallet address
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
CN201811160546.8A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201811160546.8A priority Critical patent/CN109242458A/en
Publication of CN109242458A publication Critical patent/CN109242458A/en
Pending legal-status Critical Current

Links

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/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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/105Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems involving programming of a portable memory device, e.g. IC cards, "electronic purses"
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4594Address books, i.e. directories containing contact information about correspondents

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of approaches to IM and relevant device based on block chain, this method comprises: when target user register complete when, establish the user information of the target user and the corresponding relationship of block chain wallet address;By the corresponding relationship carry on the node of target network, so as to other users inquire the target user the user information or the block chain wallet address.It is provided by the present application to be based on block chain information management method, it will be on the corresponding relationship carry to target network of user information and block chain wallet address, target network provides the query service of user information or block chain wallet address, realizes the mutual search between block catenary system user.In addition, due to target network independently of block catenary system other than, query logic is undertaken by target network, does not consume block catenary system own resources.

Description

Approaches to IM and relevant device based on block chain
Technical field
This application involves block chain technical fields, more specifically to a kind of approaches to IM based on block chain And relevant device.
Background technique
For below with scene: user A is with needing to inquire the wallet of user B by the user informations such as name or company's information Location, realization are transferred accounts.Since in the block catenary system of the prior art, user can not be searched specified by the block catenary system User results in business associate and forms obstruction in block chain.
It therefore, how to be that those skilled in the art need to solve based on the mutual search between block catenary system realization user The problem of.
Summary of the invention
Being designed to provide for the application is a kind of based on block chain information management method and relevant device, is based on block linkwork System realizes the mutual search between user.
To achieve the above object, this application provides one kind to be based on block chain information management method, comprising:
When target user, which registers, to complete, the user information for establishing the target user is corresponding with block chain wallet address Relationship;
By the corresponding relationship carry on the node of target network, so that other users inquire the institute of the target user State user information or the block chain wallet address.
Wherein, the user information of the target user and the corresponding relationship of block chain wallet address are established, comprising:
The user information of the target user is carried out data with block chain wallet address to merge to obtain information retrieval table, and Using the information retrieval table as the corresponding relationship.
Wherein, if the target network is specially IPFS network, by the user information of the target user and block chain Wallet address carries out data and merges to obtain information retrieval table, comprising:
The user information of the target user is carried out data with block chain wallet address to merge to obtain packaged data;
Isomery is carried out to the packaged data by IPLD to handle to obtain the information retrieval table.
Wherein, the user information include any one of address name, place company and contact method or appoint several Combination.
Wherein, further includes:
When receiving inquiry request, the inquiry request is forwarded to the target network, so as to the target network The corresponding user information of the inquiry request or block chain wallet address are returned according to the corresponding relationship.
Wherein, the inquiry request is forwarded to the target network, so that the target network is according to the corresponding pass System returns to the corresponding user information of the inquiry request or block chain wallet address, comprising:
Determine the query type of the inquiry request;
When the query type is that wallet address lookup is requested, target user's information is determined according to the inquiry request, And target user's information is sent to the target network, so that the target network returns to the mesh according to corresponding relationship Mark the corresponding block chain wallet address of user information;
When the query type is user information inquiry request, target block chain wallet is determined according to the inquiry request Address, and the target block chain wallet address is sent to the target network, so that the target network is closed according to corresponding System returns to the corresponding target user's information in the target block chain wallet address.
Wherein, when the user information includes multinomial user's subclass information, target user's information is all described Any one of user's subclass information appoints several combinations.
To achieve the above object, this application provides one kind to be based on block chain information management system, comprising:
Module is established, for establishing the user information and block chain of the target user when target user registers completion The corresponding relationship of wallet address;
Carry module, for by the corresponding relationship carry in the node of target network, so that other users inquire institute State target user the user information or the block chain wallet address.
Wherein, the module of establishing is specially when target user registers completion, by the user information of the target user It carries out data with block chain wallet address to merge to obtain information retrieval table, and using the information retrieval table as the corresponding relationship Module.
Wherein, if the target network is specially IPFS network, the module of establishing includes:
Combining unit merges to obtain for the user information of the target user to be carried out data with block chain wallet address Packaged data;
Isomery processing unit handles to obtain the information retrieval for carrying out isomery to the packaged data by IPLD Table.
Wherein, the user information include any one of address name, place company and contact method or appoint several Combination.
Wherein, further includes:
Forwarding module, for when receiving inquiry request, the inquiry request to be forwarded to the target network, so as to The target network returns to the corresponding user information of the inquiry request or block chain wallet address according to the corresponding relationship.
Wherein, the forwarding module includes:
Determination unit, for determining the query type of the inquiry request;
First query unit is used for when the query type is that wallet address lookup is requested, according to the inquiry request Determine target user's information, and target user's information be sent to the target network, so as to the target network according to Corresponding relationship returns to the corresponding block chain wallet address of target user's information;
Second query unit is used for when the query type is user information inquiry request, according to the inquiry request It determines target block chain wallet address, and the target block chain wallet address is sent to the target network, so as to described Target network returns to the corresponding target user's information in the target block chain wallet address according to corresponding relationship.
Wherein, when the user information includes multinomial user's subclass information, target user's information is all described Any one of user's subclass information appoints several combinations.
To achieve the above object, this application provides a kind of electronic equipment, comprising:
Memory, for storing computer program;
Processor realizes such as the above-mentioned step based on block chain information management method when for executing the computer program Suddenly.
To achieve the above object, this application provides a kind of computer readable storage medium, the computer-readable storages It is stored with computer program on medium, is realized when the computer program is executed by processor and is based on block chain information pipe as above-mentioned The step of reason method.
It is by above scheme it is found that provided by the present application a kind of based on block chain information management method, comprising: when target is used When family registration is completed, the user information of the target user and the corresponding relationship of block chain wallet address are established;By the correspondence Relationship carry on the node of target network, so as to other users inquire the target user the user information or the area Block chain wallet address.
It is provided by the present application to be based on block chain information management method, by user information pass corresponding with block chain wallet address It is on carry to target network, target network provides the query service of user information or block chain wallet address, realizes block Mutual search between catenary system user.In addition, due to target network independently of block catenary system other than, query logic is by target Network undertakes, and does not consume block catenary system own resources.Disclosed herein as well is one kind to be based on block chain information management system And a kind of electronic equipment and a kind of computer readable storage medium, equally it is able to achieve above-mentioned technical effect.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of application architecture figure of approaches to IM disclosed in the present application;
Fig. 2 is a kind of flow chart based on block chain information management method disclosed in the embodiment of the present application;
Fig. 3 is flow chart of the another kind based on block chain information management method disclosed in the embodiment of the present application;
Fig. 4 is another flow chart based on block chain information management method disclosed in the embodiment of the present application;
Fig. 5 is a kind of structure chart based on block chain information management system disclosed in the embodiment of the present application;
Fig. 6 is the structure chart of a kind of electronic equipment disclosed in the embodiment of the present application;
Fig. 7 is the structure chart of another kind electronic equipment disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
In the prior art, user can not search specified user by block catenary system.Therefore, it is utilized in the application The corresponding relationship of target network carry user information and block chain wallet address other than block chain, target network provide user's letter The query service of breath or block chain wallet address, realizes the mutual search between block catenary system user, and query logic by Target network undertakes, and does not consume block catenary system own resources.
The application architecture figure of approaches to IM provided by the present application is as shown in Figure 1, include block chain network and target network Network.It include multiple block chain nodes in block chain network, each user for accessing block chain can use intelligent contract and complete Registration, as each registration user creates user information, and distributes block chain wallet address for it.Target network (such as IPFS Network) in each node be used to store the corresponding relationship of user information and block chain wallet address.When certain in block chain network When one block chain node receives inquiry request of the user to the user information of another user or block chain wallet address, by this Inquiry request is forwarded to the node in target network, which returns to query result to block chain node according to the inquiry request, Complete inquiry operation.
The embodiment of the present application discloses one kind based on block chain information management method, realizes user based on block catenary system Between mutual search.
Referring to fig. 2, a kind of flow chart based on block chain information management method disclosed in the embodiment of the present application, such as Fig. 2 institute Show, comprising:
S101: when target user, which registers, to complete, user information and the block chain wallet address of the target user are established Corresponding relationship;
The executing subject of the present embodiment is each block chain node in above-mentioned application architecture, this step can be encapsulated as block An intelligent contract in catenary system, the function logic which provides is addition and inquiry.For adding logic, each User completes trigger the addition logic in the intelligence contract after registering in block chain, i.e., for each in block platform chain The user of upper registration establishes the corresponding relationship of user information Yu block chain wallet address, and enters S102.
For query logic, the user each to succeed in registration provides user information or the calling of wallet address lookup connects Mouthful.User information herein may include address name, place company and contact method etc., and particular content can be according to block chain Platform is applied independently to be set in which specific class business scenario.Query logic in intelligent contract can be according in the user information Any one or appoint its corresponding wallet address of multinomial inquiry, can also be according to any one of wallet address lookup user information Or appoint it is multinomial, will describe in detail in next embodiment.
It is understood that this step is not defined the concrete form of corresponding relationship, as a kind of preferred implementation side Formula, the corresponding relationship can be stored in the form of information retrieval table.I.e. when marking user's registration completion, by the target user's User information carries out data with block chain wallet address and merges to obtain information retrieval table, and using the information retrieval table as described in Corresponding relationship.
S102: by the corresponding relationship carry on the node of target network, the target is inquired so as to other users and is used The user information at family or the block chain wallet address.
Target network in the present embodiment is the network except block catenary system, and destination node therein is for storing each use The user information at family and the corresponding relationship of wallet address.The concrete type of target network is not defined herein, this field skill Art personnel can carry out flexible choice, such as IPFS (Chinese name: interspace file system, English according to actual storage demand Full name: InterPlanetary File System) network etc..
This step is established in the user information pass corresponding with block chain wallet address that step S101 forms target user On system, its corresponding relationship is stored in the target network other than block catenary system.Each node in the target network provides The storage service of corresponding relationship, the target network provide query service simultaneously for the user on block chain.Target network network is held The logic of load storage and P2P (peer-to-peer network) retrieval, the computing resource without consuming block catenary system itself.
As a preferred implementation manner, further include: when receiving inquiry request, the inquiry request is forwarded to institute Target network is stated, so that the target network returns to the corresponding user information of the inquiry request or area according to the corresponding relationship Block chain wallet address.Specific query steps will describe in detail in next embodiment.
It is provided by the embodiments of the present application to be based on block chain information management method, by user information and block chain wallet address On corresponding relationship carry to target network, target network provides the query service of user information or block chain wallet address, realizes Mutual search between block catenary system user.In addition, due to target network independently of block catenary system other than, query logic It is undertaken by target network, does not consume block catenary system own resources.
The present embodiment will be described in detail the querying method of user information provided by the present application or wallet address, specific:
Referring to Fig. 3, flow chart of the another kind based on block chain information management method provided by the embodiments of the present application, such as Fig. 3 It is shown, comprising:
S201: when receiving inquiry request, the query type of the inquiry request is determined;If the query type is money Packet address inquiry request then enters S202;If the query type is user information inquiry request, enter S203;
Query type in the present embodiment includes the request of wallet address lookup and user information inquiry request, and wallet address is looked into The wallet address that the data that request is request inquiry are a certain user is ask, user information inquiry request is that the data of request inquiry are The corresponding a certain or whole user information in a certain wallet address.For example, user information inquiry request can also be subdivided into name Inquiry request, company's information inquiring request etc..
User can be requested by block chain node input inquiry, and the rope to request data is included at least in the inquiry request Draw, which can be wallet address or a certain item or a few items in user information.When block chain receives inquiry request, The corresponding query type of the inquiry request is determined first, then enters S202 if the request of wallet address lookup;If user information Inquiry request then enters S203.
S202: determining target user's information according to the inquiry request, and target user's information is sent to described Target network, according to the corresponding block chain wallet of corresponding relationship return target user's information so as to the target network Location;
When query type is that wallet address lookup is requested, block chain sends target user's information in the inquiry request To target network, target network traverses the node of itself according to target user's information, and inquiry is believed with the presence or absence of the target user Corresponding wallet address is ceased, the block chain node if it exists then the wallet address inquired being back to where request user.
S203: target block chain wallet address is determined according to the inquiry request, and by the target block chain wallet Location is sent to the target network, so that the target network returns to the target block chain wallet address pair according to corresponding relationship The target user's information answered.
This step is similar with the querying flow of previous step, i.e., according to the target block in inquiry request in target network Chain wallet address returns to target user's information, and details are not described herein.It is worth noting that, user can specify in inquiry request to be needed Return to specific one or several user's subclass information.
It is understood that when target network storage user information includes multinomial user's subclass information, in the present embodiment Target user's information be any one of all user's subclass information or appoint several combinations.User's subclass information herein is Implement to include address name, place company or the contact method in example for upper one.That is, when query type is wallet When address lookup is requested, target user's information of user's input can be any one or several user's subclass information, work as inquiry Type is when query type is, target user's information of user's request may be any one or several user's subclasses is appointed to believe Breath.
It should be noted that when target network is there is no when the data that user requests inquiry phase can be returned to block chain Information is closed, which may include target user's information or target block chain wallet address, traversal instruction etc..Block link Each user on block chain can be carried out according to target user's information or target block chain wallet address when receiving traversal instruction Traversal carries out amended record operation to the corresponding relationship of target network storage, i.e., is generated and used according to the data if having inquired data The corresponding relationship carry of family information and block chain wallet address is on target network.
Below by taking the corresponding relationship of IPFS network storage user information and block chain wallet address as an example, the application is provided Approaches to IM describe in detail, it is specific:
Referring to fig. 4, another flow chart based on block chain information management method, such as Fig. 4 provided by the embodiments of the present application It is shown, comprising:
S301: when target user, which registers, to complete, by the user information of the target user and block chain wallet address into Row data merge to obtain packaged data;
In specific implementation, when target user is completed by a block chain Node registry, the block chain node is by the mesh The user information and block chain wallet address for marking user merge into a data, i.e. packaged data.
S302: isomery is carried out to the packaged data by IPLD and handles to obtain information retrieval table;
It is understood that can be carried out by IPLD to the data after packing for convenience of the inquiry operation of subsequent step Isomery processing, is unified into a kind of convenient for content addressed type of data structure.
S303: by the information retrieval table carry on the node of IPFS network;
IPFS is substantially a kind of content addressable, versioned, the distributed storage of point-to-point hypermedia, transport protocol, Target is that supplement even replaces the hypertext media transport protocol (HTTP) used in 20 years in the past, belongs to a kind of decentralization Distributed storage network.Different from http protocol, major network failure problems are not present in IPFS.And it is more with better function than http protocol Greatly, more efficient and cost is lower.It can be seen that information can be accelerated to inquire using IPFS network carry information retrieval table And efficiency of transmission.
S304: when receiving inquiry request, the query type of the inquiry request is determined;If the query type is money Packet address inquiry request then enters S305;If the query type is user information inquiry request, enter S306;
S305: determining target user's information according to the inquiry request, and target user's information is sent to described IPFS network, according to the corresponding block chain wallet of information retrieval table return target user's information so as to the IPFS network Location;
S306: target block chain wallet address is determined according to the inquiry request, and by the target block chain wallet Location is sent to the target network, so that the IPFS network returns to the target block chain wallet address according to information retrieval table Corresponding target user's information.
One kind provided by the embodiments of the present application is introduced based on block chain information management system below, it is described below One kind can be cross-referenced based on block chain information management method based on block chain information management system and above-described one kind.
Referring to Fig. 5, a kind of structure chart based on block chain information management system provided by the embodiments of the present application, such as Fig. 5 institute Show, comprising:
Module 501 is established, for establishing the user information and block of the target user when target user registers completion The corresponding relationship of chain wallet address;
Carry module 502, for by the corresponding relationship carry in the node of target network, so as to other users inquiry The user information of the target user or the block chain wallet address.
It is provided by the embodiments of the present application to be based on block chain information management system, by user information and block chain wallet address On corresponding relationship carry to target network, target network provides the query service of user information or block chain wallet address, realizes Mutual search between block catenary system user.In addition, due to target network independently of block catenary system other than, query logic It is undertaken by target network, does not consume block catenary system own resources.
On the basis of the above embodiments, the module 501 of establishing is specially to work as target as a preferred implementation manner, When user's registration is completed, the user information of the target user is subjected to data with block chain wallet address and merges to obtain information inspection Rope table, and using the information retrieval table as the module of the corresponding relationship.
On the basis of the above embodiments, if the target network is specially IPFS net as a preferred implementation manner, Network, then the module 501 of establishing include:
Combining unit merges to obtain for the user information of the target user to be carried out data with block chain wallet address Packaged data;
Isomery processing unit handles to obtain the information retrieval for carrying out isomery to the packaged data by IPLD Table.
On the basis of the above embodiments, the user information includes address name, institute as a preferred implementation manner, In any one of company and contact method or appoint several combinations.
On the basis of the above embodiments, as a preferred implementation manner, further include:
Forwarding module, for when receiving inquiry request, the inquiry request to be forwarded to the target network, so as to The target network returns to the corresponding user information of the inquiry request or block chain wallet address according to the corresponding relationship.
On the basis of the above embodiments, the forwarding module includes: as a preferred implementation manner,
Determination unit, for determining the query type of the inquiry request;
First query unit is used for when the query type is that wallet address lookup is requested, according to the inquiry request Determine target user's information, and target user's information be sent to the target network, so as to the target network according to Corresponding relationship returns to the corresponding block chain wallet address of target user's information;
Second query unit is used for when the query type is user information inquiry request, according to the inquiry request It determines target block chain wallet address, and the target block chain wallet address is sent to the target network, so as to described Target network returns to the corresponding target user's information in the target block chain wallet address according to corresponding relationship.
Wherein, when the user information includes multinomial user's subclass information, target user's information is all described Any one of user's subclass information appoints several combinations.
Present invention also provides a kind of electronic equipment, referring to Fig. 6, the knot of a kind of electronic equipment provided by the embodiments of the present application Composition, as shown in Figure 6, comprising:
Memory 100, for storing computer program;
Step provided by above-described embodiment may be implemented in processor 200 when for executing the computer program.
Specifically, memory 100 includes non-volatile memory medium, built-in storage.Non-volatile memory medium storage There are operating system and computer-readable instruction, which is that the operating system and computer in non-volatile memory medium can The operation of reading instruction provides environment.Processor 200 provides calculating and control ability for electronic equipment, executes the memory 100 When the computer program of middle preservation, following steps may be implemented: when target user, which registers, to complete, establishing the target user's The corresponding relationship of user information and block chain wallet address;By the corresponding relationship carry on the node of target network, so as to Other users inquire the target user the user information or the block chain wallet address.
The embodiment of the present application is by the corresponding relationship carry to target network of user information and block chain wallet address, target Network provides the query service of user information or block chain wallet address, realizes mutually searching between block catenary system user Rope.In addition, due to target network independently of block catenary system other than, query logic is undertaken by target network, does not consume block chain System own resources.
Preferably, it when the processor 200 executes the computer subprogram saved in the memory 100, may be implemented Following steps: carrying out data with block chain wallet address for the user information of the target user and merge to obtain information retrieval table, And using the information retrieval table as the corresponding relationship.
Preferably, it when the processor 200 executes the computer subprogram saved in the memory 100, may be implemented Following steps: the user information of the target user is subjected to data with block chain wallet address and merges to obtain packaged data;It is logical It crosses IPLD packaged data progress isomery is handled to obtain the information retrieval table.
Preferably, it when the processor 200 executes the computer subprogram saved in the memory 100, may be implemented Following steps: when receiving inquiry request, the inquiry request is forwarded to the target network, so as to the target network The corresponding user information of the inquiry request or block chain wallet address are returned according to the corresponding relationship.
Preferably, it when the processor 200 executes the computer subprogram saved in the memory 100, may be implemented Following steps: the query type of the inquiry request is determined;When the query type is that wallet address lookup is requested, according to institute It states inquiry request and determines target user's information, and target user's information is sent to the target network, so as to the mesh It marks network and the corresponding block chain wallet address of target user's information is returned to according to corresponding relationship;When the query type is to use When the information inquiring request of family, target block chain wallet address is determined according to the inquiry request, and by the target block chain money Packet address is sent to the target network, according to the corresponding relationship return target block chain wallet so as to the target network The corresponding target user's information in location.
On the basis of the above embodiments, preferably, referring to Fig. 7, the electronic equipment further include:
Input interface 300 is connected with processor 200, for obtaining computer program, parameter and the instruction of external importing, It saves through the control of processor 200 into memory 100.The input interface 300 can be connected with input unit, and it is manual to receive user The parameter or instruction of input.The input unit can be the touch layer covered on display screen, be also possible to be arranged in terminal enclosure Key, trace ball or Trackpad, be also possible to keyboard, Trackpad or mouse etc..Specifically, in the present embodiment, by defeated Index etc. in the request of 300 input inquiry of incoming interface.
Display unit 400 is connected with processor 200, the data sent for video-stream processor 200.The display unit 400 It can be display screen, liquid crystal display or the electric ink display screen etc. in PC machine.It, can be with specifically, in the present embodiment Query result etc. is shown by display unit 400.
The network port 500 is connected with processor 200, for being communicatively coupled with external each terminal device.The communication link The communication technology used by connecing can be cable communicating technology or wireless communication technique, and such as mobile high definition chained technology (MHL) leads to It is blue with universal serial bus (USB), high-definition media interface (HDMI), adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption The tooth communication technology, communication technology based on IEEE802.11s etc..
Present invention also provides a kind of computer readable storage medium, the storage medium may include: USB flash disk, mobile hard disk, Read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic The various media that can store program code such as dish or CD.Computer program, the calculating are stored on the storage medium Machine program is performed the steps of when being executed by processor when target user registers completion, establishes the user of the target user The corresponding relationship of information and block chain wallet address;By the corresponding relationship carry on the node of target network, so as to other The user information of target user described in user query or the block chain wallet address.
The embodiment of the present application is by the corresponding relationship carry to target network of user information and block chain wallet address, target Network provides the query service of user information or block chain wallet address, realizes mutually searching between block catenary system user Rope.In addition, due to target network independently of block catenary system other than, query logic is undertaken by target network, does not consume block chain System own resources.
Preferably, when the computer subprogram stored in the computer readable storage medium is executed by processor, specifically Following steps may be implemented: the user information of the target user being subjected to data with block chain wallet address and merges to obtain information Table is retrieved, and using the information retrieval table as the corresponding relationship.
Preferably, when the computer subprogram stored in the computer readable storage medium is executed by processor, specifically Following steps may be implemented: the user information of the target user being merged with block chain wallet address progress data and is packaged Data;Isomery is carried out to the packaged data by IPLD to handle to obtain the information retrieval table.
Preferably, when the computer subprogram stored in the computer readable storage medium is executed by processor, specifically Following steps may be implemented: when receiving inquiry request, the inquiry request being forwarded to the target network, so as to described Target network returns to the corresponding user information of the inquiry request or block chain wallet address according to the corresponding relationship.
Preferably, when the computer subprogram stored in the computer readable storage medium is executed by processor, specifically Following steps may be implemented: determining the query type of the inquiry request;When the query type is the request of wallet address lookup When, target user's information is determined according to the inquiry request, and target user's information is sent to the target network, with Toilet states target network and returns to the corresponding block chain wallet address of target user's information according to corresponding relationship;When the inquiry When type is user information inquiry request, target block chain wallet address is determined according to the inquiry request, and by the target Block chain wallet address is sent to the target network, so that the target network returns to the target block according to corresponding relationship The corresponding target user's information in chain wallet address.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. one kind is based on block chain information management method characterized by comprising
When target user, which registers, to complete, the user information pass corresponding with block chain wallet address of the target user is established System;
By the corresponding relationship carry on the node of target network, so that other users inquire the use of the target user Family information or the block chain wallet address.
2. being based on block chain information management method according to claim 1, which is characterized in that establish the use of the target user The corresponding relationship of family information and block chain wallet address, comprising:
The user information of the target user and block chain wallet address are subjected to data and merge to obtain information retrieval table, and by institute Information retrieval table is stated as the corresponding relationship.
3. being based on block chain information management method according to claim 2, which is characterized in that if the target network is specially The user information of the target user is then carried out data with block chain wallet address and merges to obtain information retrieval by IPFS network Table, comprising:
The user information of the target user is carried out data with block chain wallet address to merge to obtain packaged data;
Isomery is carried out to the packaged data by IPLD to handle to obtain the information retrieval table.
4. being based on block chain information management method according to claim 1, which is characterized in that the user information includes user Any one of name, place company and contact method appoint several combinations.
5. block chain information management method is based on described in -4 any one according to claim 1, which is characterized in that further include:
When receiving inquiry request, the inquiry request is forwarded to the target network, so as to the target network according to The corresponding relationship returns to the corresponding user information of the inquiry request or block chain wallet address.
6. being based on block chain information management method according to claim 5, which is characterized in that the inquiry request to be forwarded to The target network, so as to the target network according to the corresponding relationship return the corresponding user information of the inquiry request or Block chain wallet address, comprising:
Determine the query type of the inquiry request;
When the query type is that wallet address lookup is requested, target user's information is determined according to the inquiry request, and will Target user's information is sent to the target network, uses so that the target network returns to the target according to corresponding relationship The corresponding block chain wallet address of family information;
When the query type is user information inquiry request, with determining target block chain wallet according to the inquiry request Location, and the target block chain wallet address is sent to the target network, so that the target network is according to corresponding relationship Return to the corresponding target user's information in the target block chain wallet address.
7. being based on block chain information management method according to claim 6, which is characterized in that when the user information includes more When user's subclass information, target user's information is any one of all described user's subclass information or appoints several groups It closes.
8. one kind is based on block chain information management system characterized by comprising
Module is established, for establishing the user information and block chain wallet of the target user when target user registers completion The corresponding relationship of address;
Carry module, for by the corresponding relationship carry in the node of target network, so that other users inquire the mesh The user information of mark user or the block chain wallet address.
9. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor is realized when for executing the computer program and is based on block chain information as described in any one of claim 1 to 7 The step of management method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized when the computer program is executed by processor and is based on block chain information pipe as described in any one of claim 1 to 7 The step of reason method.
CN201811160546.8A 2018-09-30 2018-09-30 Approaches to IM and relevant device based on block chain Pending CN109242458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811160546.8A CN109242458A (en) 2018-09-30 2018-09-30 Approaches to IM and relevant device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811160546.8A CN109242458A (en) 2018-09-30 2018-09-30 Approaches to IM and relevant device based on block chain

Publications (1)

Publication Number Publication Date
CN109242458A true CN109242458A (en) 2019-01-18

Family

ID=65054981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811160546.8A Pending CN109242458A (en) 2018-09-30 2018-09-30 Approaches to IM and relevant device based on block chain

Country Status (1)

Country Link
CN (1) CN109242458A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873879A (en) * 2019-04-17 2019-06-11 上海沄界信息科技有限公司 It can the distributed cloud storage method and device really weighed of data
CN111461733A (en) * 2020-04-03 2020-07-28 银清科技有限公司 Account information query method, device and system based on block chain
CN112243047A (en) * 2019-07-19 2021-01-19 傲为信息技术(江苏)有限公司 Public chain based block chain network addressing method
CN114679473A (en) * 2022-03-18 2022-06-28 青岛闪收付信息技术有限公司 Financial account management system and method based on distributed digital identity
CN115150360A (en) * 2022-06-28 2022-10-04 北京送好运信息技术有限公司 E-mail address and block chain address binding method based on block chain technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150262137A1 (en) * 2014-03-17 2015-09-17 Coinbase, Inc. Off-block chain transactions in combination with on-block chain transactions
CN106357644A (en) * 2016-09-21 2017-01-25 江苏通付盾科技有限公司 Method, system and server for authenticating identities on basis of block chain networks
CN106357640A (en) * 2016-09-18 2017-01-25 江苏通付盾科技有限公司 Method, system and server for authenticating identities on basis of block chain networks
CN108023893A (en) * 2017-12-18 2018-05-11 王松山 A kind of method of block chain data recognizing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150262137A1 (en) * 2014-03-17 2015-09-17 Coinbase, Inc. Off-block chain transactions in combination with on-block chain transactions
CN106357640A (en) * 2016-09-18 2017-01-25 江苏通付盾科技有限公司 Method, system and server for authenticating identities on basis of block chain networks
CN106357644A (en) * 2016-09-21 2017-01-25 江苏通付盾科技有限公司 Method, system and server for authenticating identities on basis of block chain networks
CN108023893A (en) * 2017-12-18 2018-05-11 王松山 A kind of method of block chain data recognizing system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873879A (en) * 2019-04-17 2019-06-11 上海沄界信息科技有限公司 It can the distributed cloud storage method and device really weighed of data
CN112243047A (en) * 2019-07-19 2021-01-19 傲为信息技术(江苏)有限公司 Public chain based block chain network addressing method
CN112243047B (en) * 2019-07-19 2022-04-01 傲为有限公司 Public chain based block chain network addressing method
JP2022534311A (en) * 2019-07-19 2022-07-28 南京瑞祥信息技術有限公司 Blockchain network addressing method based on public chain
CN111461733A (en) * 2020-04-03 2020-07-28 银清科技有限公司 Account information query method, device and system based on block chain
CN111461733B (en) * 2020-04-03 2023-09-01 银清科技有限公司 Block chain-based account information query method, device and system
CN114679473A (en) * 2022-03-18 2022-06-28 青岛闪收付信息技术有限公司 Financial account management system and method based on distributed digital identity
CN115150360A (en) * 2022-06-28 2022-10-04 北京送好运信息技术有限公司 E-mail address and block chain address binding method based on block chain technology
CN115150360B (en) * 2022-06-28 2023-12-19 北京送好运信息技术有限公司 Mailbox address and blockchain address binding method based on blockchain technology

Similar Documents

Publication Publication Date Title
CN109242458A (en) Approaches to IM and relevant device based on block chain
US9734247B2 (en) Topology service using closure tables and metagraphs
US9996565B2 (en) Managing an index of a table of a database
CN105940410B (en) For removing the cleaner of personal recognizable information
CN103238138B (en) Method, device and system for migration logic partition
CN104125208B (en) Data transmission method and device
CN108769111A (en) A kind of server connection method, computer readable storage medium and terminal device
CN104038401A (en) Interoperability for distributed overlay virtual environments
CN109062512A (en) A kind of distributed storage cluster, data read-write method, system and relevant apparatus
CN108776648A (en) Data transmission method, system and FPGA isomeries accelerator card and storage medium
CN104780221B (en) Medium-sized and small enterprises intellectual property synthetic service platform system
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
CN108268216B (en) Data processing method, device and server
CN102622444A (en) XML (extensible markup language) message processing method and XML message processing device
CN108536617A (en) Buffer memory management method, medium, system and electronic equipment
CN107329916B (en) A kind of USB device control method, device and calculate equipment
CN107220259A (en) A kind of database extension system, equipment and the method for extending database
CN110191204A (en) A kind of Intranet communication between devices method, system, device and computer storage medium
CN111104425A (en) Data processing method and device
CN108769211A (en) The method for routing and computer readable storage medium of client device, webpage
CN103049494B (en) Method and device for storing table of extensible markup language (XML) file
US8112495B2 (en) Transmitting information about distributed group memberships
CN108154024A (en) A kind of data retrieval method, device and electronic equipment
CN110837511A (en) Data processing method, system and related equipment
CN109032693A (en) Method and device for loading display information, electronic equipment and readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118

RJ01 Rejection of invention patent application after publication