[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108833255A - Communication means, system and block chain node device based on block chain - Google Patents

Communication means, system and block chain node device based on block chain Download PDF

Info

Publication number
CN108833255A
CN108833255A CN201810392357.7A CN201810392357A CN108833255A CN 108833255 A CN108833255 A CN 108833255A CN 201810392357 A CN201810392357 A CN 201810392357A CN 108833255 A CN108833255 A CN 108833255A
Authority
CN
China
Prior art keywords
client
block chain
account address
communication
good friend
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
CN201810392357.7A
Other languages
Chinese (zh)
Inventor
刘均
张兴斌
刘新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810392357.7A priority Critical patent/CN108833255A/en
Publication of CN108833255A publication Critical patent/CN108833255A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application is suitable for field of communication technology, provides a kind of communication means based on block chain, system and block chain node device, and wherein method includes:The public key and account address that client is sent are received, by public key and account address registration in block chain;Receive the communication information that client is sent;The communication information includes the account address of communication data, the account address of Correspondent Node and client;Communication data is sent to Correspondent Node according to the account address of Correspondent Node, and encrypted communication data is registered in block chain by encryption of communicated data using the public key of client.The application can guarantee the safety of communication data, realize the persistence of communication data, and user is allow to check oneself all chat message anywhere or anytime.

Description

Communication means, system and block chain node device based on block chain
Technical field
The embodiment of the present application belong to field of communication technology more particularly to a kind of communication means based on block chain, system and Block chain node device.
Background technique
Currently, communication software transmits chat message by centralized server, the chat record of communicating pair is stored In centralization database, there are safety issues for this communication mode, once central server failure, then may cause The historical communication record leakage stored in database or loss, cause damages to user;In addition, genuinely convinced in some communication softwares Business device only retain the communications records of user whithin a period of time, limit the quantity that user checks chat message, cause user without Method checks the whole historical communications record of oneself, reduces user experience.
Summary of the invention
In view of this, this application provides a kind of communication means based on block chain, system and block chain node device, with Solving above-mentioned existing communication mode, there are safety issues and some communication softwares only to retain user whithin a period of time Communications records limit the quantity that user checks chat message, cause user that can not check the whole historical communications record of oneself, The problem of reducing user experience.
The first aspect of the embodiment of the present application provides a kind of communication means based on block chain, is applied to block chain node Equipment, the communication means include:
The public key and account address that client is sent are received, by the public key and the account address registration in block chain In;
Receive the communication information that the client is sent;Wherein, the communication information includes communication data, Correspondent Node Account address and the account address of the client;
The communication data is sent to the Correspondent Node according to the account address of the Correspondent Node, and described in utilization Encrypted communication data is registered in block chain the encryption of communicated data by the public key of client.
Based on the above technical solution, described to be sent out the communication data according to the account address of the Correspondent Node It send to the Correspondent Node, and using the public key of the client to the encryption of communicated data, by encrypted communication data Further include after being registered in block chain:
Receive the historical communication data inquiry request that the client is sent;The historical communication data inquiry request includes The account address of the client and the account address of Correspondent Node;
Inquiry and the account address of the client and the account address phase of the Correspondent Node from the block chain The historical communication data are back to the client by the historical communication data matched;Wherein, be stored in the client with The corresponding private key of the public key.
Based on the above technical solution, the communication means based on block chain further includes:
It receives the good friend that the client is sent and adds request, the good friend adds the account that request carries good friend to be added Family address;
The good friend is added into request according to the account address of the good friend to be added and is sent to the good friend's to be added Communication terminal;
What if the addition good friend that the communication terminal for receiving the good friend to be added within a preset time returns was verified The account address of the good friend to be added is then added in the buddy list of the client by information, and by the client Buddy list be registered in block chain.
Based on the above technical solution, further include before the communication information for receiving the client transmission:
When detecting that the client is online, according to the good friend of client described in the account address lookup of the client List, and the buddy list of the client is pushed into the client and is shown.
Based on the above technical solution, the communication means based on block chain further includes:
The user name that the client is sent is received, the user name is established with the account address of the client and is associated with After be registered in block chain.
The second aspect of the embodiment of the present application provides a kind of communication system based on block chain, sets applied to block chain node Standby, the communication system includes:
Registration unit, for receiving public key and the account address of client transmission, by the public key and the account address It is registered in block chain;
Communication information acquiring unit, the communication information sent for receiving the client;Wherein, the communication information packet Include the account address of communication data, the account address of Correspondent Node and the client;
Communication data registration unit, for the communication data to be sent to institute according to the account address of the Correspondent Node Correspondent Node is stated, and encrypted communication data is registered in by the encryption of communicated data using the public key of the client In block chain.
Based on the above technical solution, the communication system based on block chain further includes:
Inquiry request receiving unit, the historical communication data inquiry request sent for receiving the client;It is described to go through History communication data inquiry request includes the account address of the client and the account address of Correspondent Node;
Inquiry request processing unit, for being inquired from the block chain and the account address of the client and described logical The historical communication data are back to the client by the historical communication data that the account address of letter opposite end matches;Wherein, Private key corresponding with the public key is stored in the client.
Based on the above technical solution, the communication system based on block chain further includes:
Good friend's request reception unit adds request for receiving the good friend that the client is sent, and good friend's addition is asked Ask the account address for carrying good friend to be added;
Good friend requests retransmission unit, for the good friend to be added request hair according to the account address of the good friend to be added It send to the communication terminal of the good friend to be added;
Buddy list registration unit, if the communication terminal for receiving the good friend to be added within a preset time returns The information that is verified of addition good friend, then the good friend that the account address of the good friend to be added is added to the client is arranged In table, and the buddy list of the client is registered in block chain.
Based on the above technical solution, the communication system based on block chain further includes:
Buddy list push unit, for when detecting that the client is online, according to the account of the client The buddy list of the client is inquired in location, and the buddy list of the client is pushed to the client and is shown.
Based on the above technical solution, the communication system based on block chain further includes:
User name registration unit, the user name sent for receiving the client, by the user name and the client The account address at end is registered in block chain after establishing association.
The third aspect of the embodiment of the present application provides a kind of block chain node device, including memory, processor and Store the computer program that can be run in the memory and on the processor, wherein described in the processor executes It realizes when computer program such as the step of above-mentioned first aspect and its any possible embodiment the method.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, wherein realize when the computer program is executed by processor such as above-mentioned first aspect and its The step of any possible embodiment the method.
The beneficial effect of the embodiment of the present application is:
The embodiment of the present application passes through the communications records of communicating pair due to realizing communication function based on block chain technology It is registered in after encryption in block chain, goes centrality and tamper-resistance properties it makes use of block chain, it is ensured that be registered in block chain In communication data safety, and the persistence of communication data may be implemented, checks user anywhere or anytime To all one's own chat messages, the user experience is improved.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the topological diagram of block chain node device provided by the embodiments of the present application when in use;
Fig. 2 is the implementation process schematic diagram of the communication means provided by the embodiments of the present application based on block chain;
Fig. 3 is the implementation process schematic diagram for the communication means based on block chain that another embodiment of the application provides;
Fig. 4 is the structural schematic diagram of the communication system provided by the embodiments of the present application based on block chain;
Fig. 5 is the structural schematic diagram for the communication system based on block chain that another embodiment of the application provides;
Fig. 6 is the structural schematic diagram of block chain node device provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, block chain link The detailed description of point device, circuit and method, so as not to obscure the description of the present application with unnecessary details.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Fig. 1 is the topological diagram of block chain node device provided by the embodiments of the present application when in use.For ease of description only Only the parts related to this embodiment are shown.
Shown in Figure 1, which includes 1~n of block chain node device, client 20 and Correspondent Node 30, In, n is positive integer.Coded communication intelligence contract, each block chain node device are deployed in each block chain node device It is equivalent to a distributed data base, block chain described in the embodiment of the present application is composed by each block chain node device Distributed experiment & measurement system, the data stored in each node device in the distributed experiment & measurement system are the same, and And all block chain node devices are in wide area network, are mistrustful between these block chain node devices.The visitor Family end 20 and the Correspondent Node 30 are the mobile terminal used in communicating pair with communication function, including but not limited to intelligence The terminals such as energy mobile phone, computer.
Based on topological diagram shown in FIG. 1, below in conjunction with other accompanying drawings to provided by the embodiments of the present application based on block chain Communication means, system and block chain node device are described in detail:
Fig. 2 shows the implementation process of the communication means provided by the embodiments of the present application based on block chain, realities shown in Fig. 2 It applies in example, the executing subject of process is any one node device in 1~n of block chain node device shown in FIG. 1.This method Implementation process details are as follows:
Step S201 receives public key and account address that client 20 is sent, the public key and the account address is stepped on Note is in block chain.Wherein, the account address of the client is unique identification of the client 20 in block chain.It is described Block chain node device is by calling the coded communication intelligence contract by the public key and the account address registration in block In chain.
In the present embodiment, relevant Encryption Algorithm is deployed in the client 20, the client 20 can pass through institute It states relevant Encryption Algorithm and generates public private key pair and account address offline.Wherein, account address is as client 20 in block Unique identification in chain, private key are saved or are backed up by 20 user of client oneself.Wherein, the relevant Encryption Algorithm include but It is not limited to ellipse curve signature algorithm, hash function and readable encryption algorithm.
In the present embodiment, the block chain node device can receive the public key that one or more clients 20 are sent simultaneously Correspondence can be increased newly when receiving the public key and account address that one or more of clients 20 are sent with account address Block record the public key and account address that one or more of clients 20 are sent, while the institute that newly-increased block can be recorded Public key and account address broadcast that one or more clients 20 are sent are stated in other each node devices into block chain, with Other each node devices are reached common understanding.
Further, the communication means based on block chain can also include:
The user name that the client 20 is sent is received, the account address of the user name and the client 20 is established It is registered in after association in block chain.
In the present embodiment, the user name of the customized setting of user can also be uploaded to the block by the client 20 In chain node device, be registered in block chain node device the user name of the client 20 also in block chain so that it is convenient to Correspondent Node 30 identifies the identity of 20 user of client in communication process.
In the present embodiment, the account address and the user name can be uploaded to described by the client 20 together Block chain node device, naturally it is also possible to the account address and the user name are separately uploaded to the block chain node and set It is standby.
Step S202 receives the communication information that the client 20 is sent;Wherein, the communication information includes communication number According to, the account address of Correspondent Node 30 and the account address of the client 20.Wherein, the account address of the Correspondent Node For unique identification of the Correspondent Node in block chain.
In the present embodiment, the Correspondent Node 30 is other terminals being registered in block chain, as 20 user of client When being communicated with the Correspondent Node 30, it can be looked by inputting the account address of Correspondent Node 30 in contact person's search column Corresponding contact person is looked for, then by clicking the dialog box of account the address opening and the contact person of the contact person searched, The inputting communication information in the dialog box, and detecting that the information in the dialog box sends key and be clicked by described When, the communication information is sent to the block chain node device, wherein the communication that the block chain node device receives In information not only include the communication data of user's input, but also carries the account address of communicating pair.
Preferably, in the present embodiment, 20 user of client can also input communication directly in message input frame Then the account address of data and Correspondent Node 30 is communicated the account address of the communication data and Correspondent Node 30 with one The form of information is sent to block chain node device, and the communication information that block chain node device receives at this time includes communication number According to the account address of, Correspondent Node 30, the account address of the client 20 is carried.
The communication data is sent to the Correspondent Node according to the account address of the Correspondent Node 30 by step S203 30, and block chain is registered in by encrypted communication data to the encryption of communicated data using the public key of the client 20 In.
In the present embodiment, the block chain node device utilizes the public key pair by the coded communication intelligence contract The encryption of communicated data.The block chain node device, can be from after receiving the communication information that the client 20 is sent The account of communication data, the account address of the client 20 and the Correspondent Node 30 is parsed in the communication information Then the communication data is sent to institute according to the account address of the Correspondent Node 30 parsed by location in clear text manner Client 20 is stated, while the public key of the client can be searched in block chain according to the account address of the client, then The communication data is encrypted using the public key of the client 20 found, and logical after newly-increased block recording of encrypted Letter data, while the information that newly-increased block records being broadcast in other block chain node devices in block chain, so that block Other block chain node devices in chain are reached common understanding with current block chain node device, prevent communication data from losing and distorting.
Preferably, in the present embodiment, can also include after step S203:
Receive the historical communication data inquiry request that the client 20 is sent;The historical communication data inquiry request packet Include the account address of the client 20 and the account address public key address of Correspondent Node 30;
Inquiry and the account address of the client 20 and the account address of the Correspondent Node 30 from the block chain The historical communication data are back to the client 20 by the historical communication data to match;Wherein, in the client 20 It is stored with private key corresponding with the public key.
In the present embodiment, the historical communication data inquiry request can also include the period of required inquiry.It is described The historical communication data of block chain node device back to the client 20 are logical using the history of the public key encryption Letter data.Since the historical communication data are the public key encryptions using the client 20, and with the client 20 The private key that public key matches is stored in client 20, therefore client 20 is after getting encrypted historical communication data The encrypted historical communication data are decrypted using the private key to obtain further mentioning so in plain text The safety of high communication data avoids communication data from illegally being stolen and brings loss to user.
Above as can be seen that the communication means provided in the present embodiment is due to realizing communication function based on block chain technology, And be registered in the communications records of communicating pair in block chain after encryption, go centrality to usurp with anti-it makes use of block chain It is modified, it is ensured that it is registered in the safety of the communication data in block chain, and the persistence of communication data may be implemented, User is set to view all one's own chat messages anywhere or anytime, the user experience is improved.
Fig. 3 shows the implementation process schematic diagram for the communication means based on block chain that another embodiment of the application provides, In the embodiment shown in fig. 3, the executing subject of process is any one node in 1~n of block chain node device shown in FIG. 1 Equipment.Shown in Figure 3, relative to a upper embodiment, the communication means provided in this embodiment based on block chain further includes:
Step S304 receives the good friend that the client 20 is sent and adds request, the good friend add request carry to Add the account address of good friend;
Step S305, according to the account address of the good friend to be added by the good friend add request be sent to it is described wait add The communication terminal of plusing good friend;
Step S306, if the addition good friend that the communication terminal for receiving the good friend to be added within a preset time returns tests The information passed through is demonstrate,proved, then is added to the account address of the good friend to be added in the buddy list of the client 20, and will The buddy list of the client 20 is registered in block chain.
In the present embodiment, the personal essential information and institute that the block chain node device can input 20 user of client It is registered in block chain after stating the account address foundation association of client 20, individual's essential information includes but is not limited to user The basic documents such as name, user's gender, age of user, occupation.The client 20 is when adding good friend, if without Correspondent Node 30 The personal essential information of 30 user of Correspondent Node can be sent to block chain node device, by the block chain link by account address Point device searches for relevant matching user according to the personal essential information of 30 user of Correspondent Node in block chain, and will search Matching user information pushing to the client 20 shown, push the client 20 in block chain node device Matching selection in user needs good friend to be added.
In the present embodiment, the block chain equipment is after receiving the good friend that the client 20 is sent and adding request, When good friend request is forwarded to Correspondent Node 30, the good friend can also be added using the account address of the client 20 After adding request to be encrypted, the good friend is added into request and is registered in block chain, so as to the user of the client 20 in the future Inquiry.
Preferably, shown in Figure 3, relative to a upper embodiment, the communication party provided in this embodiment based on block chain Method can also include:
Step S305, when detecting that the client 20 is online, according to the account address lookup institute of the client 20 The buddy list of client 20 is stated, and the buddy list of the client 20 is pushed into the client 20 and is shown.
It in the present embodiment, can be in client 20 when being registered with the user name with Correspondent Node 30 in the block chain Buddy list in show the user name of Correspondent Node 30, wherein the account of the user name of the Correspondent Node 30 and Correspondent Node 30 Family address establish it is relevant, display Correspondent Node 30 user name facilitate client 20 user identify good friend's identity.
In the present embodiment, since when client 20 is online, the buddy list of client 20 is pushed to the client End 20 is shown so that it is convenient to which 20 user of client selects the good friend for needing to contact directly from buddy list, without manual The account address of connection good friend needed for input, further the user experience is improved.
It should be noted that step S301~step S303 implementation in the present embodiment is due to real with upper one respectively Apply in example that step S201~step S202 implementation is identical, therefore, details are not described herein.
Thus, it will be seen that the communication means provided in this embodiment based on block chain equally can use block chain Centrality and tamper-resistance properties are gone, guarantees the safety for the communication data being registered in block chain, and communication data may be implemented Persistence, so that user is viewed all one's own chat messages anywhere or anytime;In addition, real relative to upper one Example is applied, the specific implementation flow of addition good friend is further defined in the present embodiment, 20 user of client is directly existed Communication object is selected in buddy list, further simplifies user's operation, and the user experience is improved.
Fig. 4 is the structural schematic diagram of the communication system provided by the embodiments of the present application based on block chain, which is applied to Any one node device in 1~n of block chain node device shown in FIG. 1.It illustrate only and this reality for ease of description Apply the relevant part of example.
Shown in Figure 4, the communication system 4 provided in this embodiment based on block chain includes:
Account address registration unit 41, for receiving public key and the account address of the transmission of client 20, by the public key and The account address registration is in block chain;
Communication information acquiring unit 42, the communication information sent for receiving the client 20;Wherein, the communication letter Breath includes the account address of communication data, the account address of Correspondent Node 30 and the client 20;
Communication data registration unit 43, for being sent the communication data according to the account address of the Correspondent Node 30 The extremely Correspondent Node 30, and using the public key of the client 20 to the encryption of communicated data, by encrypted communication number According to being registered in block chain.
Optionally, the communication system 4 based on block chain further includes:
Inquiry request receiving unit 44, the historical communication data inquiry request sent for receiving the client 20;Institute Stating historical communication data inquiry request includes the account address of the client 20 and the account address of Correspondent Node 30;
Inquiry request processing unit 45, for being inquired from the block chain and the account address of the client 20 and institute The historical communication data that the account address of Correspondent Node 30 matches are stated, the historical communication data are back to the client 20;Wherein, private key corresponding with the public key is stored in the client 20.
Optionally, shown in Figure 5, in another embodiment, the communication system 4 based on block chain further includes:
Good friend's request reception unit 46 adds request for receiving the good friend that the client 20 is sent, and the good friend adds Request is added to carry the account address of good friend to be added;
Good friend requests retransmission unit 47, adds the good friend for the account address according to the good friend to be added and requests It is sent to the communication terminal of the good friend to be added;
Buddy list registration unit 48, if the communication terminal for receiving the good friend to be added within a preset time returns The information that the addition good friend returned is verified, then be added to the good of the client 20 for the account address of the good friend to be added In friendly list, and the buddy list of the client 20 is registered in block chain.
Optionally, the communication system 4 based on block chain further includes:
Buddy list push unit 49, for when detecting that the client 20 is online, according to the client 20 The buddy list of client 20 described in account address lookup, and the buddy list of the client 20 is pushed into the client 20 are shown.
Optionally, the communication system 4 based on block chain further includes:
User name registration unit 50, the user name sent for receiving the client 20, by the user name with it is described The account address of client 20 is registered in block chain after establishing association.
It should be noted that each unit of above system provided by the embodiments of the present application, due to real with the application method It applies example and is based on same design, bring technical effect is identical as the application embodiment of the method, and particular content can be found in the application Narration in embodiment of the method, details are not described herein again.
Therefore, it can be seen that the communication system provided by the embodiments of the present application based on block chain equally can use block chain Go centrality and tamper-resistance properties, guarantee the safety for the communication data being registered in block chain, and communication number may be implemented According to persistence, so that user is viewed all one's own chat messages anywhere or anytime.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Fig. 6 is the schematic diagram of block chain node device provided by the embodiments of the present application.As shown in fig. 6, the area of the embodiment Block chain node device 6 includes:It processor 60, memory 61 and is stored in the memory 61 and can be in the processor 60 The computer program 62 of upper operation.The processor 60 realizes that above-mentioned each block chain node is set when executing the computer program 62 The function of each unit in standby embodiment, such as the function of unit 41 to 43 shown in Fig. 4.Alternatively, the processor 60 execute it is described The step in above-mentioned each embodiment of the method, such as step S201 to S203 shown in Fig. 2 are realized when computer program 62.
Illustratively, following steps are realized when the processor 60 executes the computer program 62:
The public key and account address that client 20 is sent are received, by the public key and the account address registration in block chain In;
Receive the communication information that the client 20 is sent;Wherein, the communication information includes communication data, Correspondent Node 30 account address and the account address of the client 20;
The communication data is sent to the Correspondent Node 30 according to the account address of the Correspondent Node 30, and is utilized Encrypted communication data is registered in block chain the encryption of communicated data by the public key of the client 20.
Illustratively, following steps are also realized when the processor 60 executes the computer program 62:
Receive the historical communication data inquiry request that the client 20 is sent;The historical communication data inquiry request packet Include the account address of the client 20 and the account address of Correspondent Node 30;
Inquiry and the account address of the client 20 and the account address of the Correspondent Node 30 from the block chain The historical communication data are back to the client 20 by the historical communication data to match;Wherein, in the client 20 It is stored with private key corresponding with the public key.
Illustratively, following steps are also realized when the processor 60 executes the computer program 62:
It receives the good friend that the client 20 is sent and adds request, the good friend adds request and carries good friend's to be added Account address;
The good friend is added into request according to the account address of the good friend to be added and is sent to the good friend's to be added Communication terminal;
What if the addition good friend that the communication terminal for receiving the good friend to be added within a preset time returns was verified The account address of the good friend to be added is then added in the buddy list of the client 20 by information, and by the client The buddy list at end 20 is registered in block chain.
Illustratively, following steps are also realized when the processor 60 executes the computer program 62:
When detecting that the client 20 is online, according to client 20 described in the account address lookup of the client 20 Buddy list, and the buddy list of the client 20 is pushed into the client 20 and is shown.
Illustratively, following steps are also realized when the processor 60 executes the computer program 62:
The user name that the client 20 is sent is received, the account address of the user name and the client 20 is established It is registered in after association in block chain.
The block chain node device 6 can be the meter such as desktop PC, notebook, palm PC and cloud server Calculate equipment.The block chain node device may include, but be not limited only to, processor 60, memory 61.Those skilled in the art can To understand, Fig. 6 is only the example of block chain node device 6, does not constitute the restriction to block chain node device 6, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different components, such as the block chain node is set Standby 6 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 61 can be the internal storage unit of the block chain node device 6, such as block chain node is set Standby 6 hard disk or memory.The memory 61 is also possible to the External memory equipment of the block chain node device 6, such as institute State the plug-in type hard disk being equipped on block chain node device 6, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 61 can also both include The internal storage unit of the block chain node device also includes External memory equipment.The memory 61 by store it is described based on Other programs and data needed for calculation machine program and the terminal.The memory 61 can be also used for temporarily storing Output or the data that will be exported.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Unit, module are completed, i.e., the internal structure of the block chain node device 6 are divided into different functional unit or module, with Complete all or part of function described above.Each functional unit in embodiment, module can integrate single in a processing In member, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units, on It states integrated unit both and can take the form of hardware realization, can also realize in the form of software functional units.In addition, each Functional unit, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.On The specific work process for stating unit in system, module, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous herein It states.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed method, system and block chain node is set It is standby, it may be implemented in other ways.For example, system described above, block chain node device embodiment are only to show Meaning property, for example, in addition the division of the module or unit, only a kind of logical function partition can have in actual implementation Division mode, such as multiple units or components can be combined or can be integrated into another system or some features can be with Ignore, or does not execute.Another point, shown or discussed mutual coupling or direct-coupling or communication connection can be logical Some interfaces are crossed, the INDIRECT COUPLING or communication connection of block chain node device or unit can be electrical property, mechanical or other shapes Formula.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the application realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, the computer program includes computer program code, the computer program code It can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can To include:Any entity or block chain node device, recording medium, USB flash disk, movement of the computer program code can be carried Hard disk, magnetic disk, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier wave Signal and telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that:It still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of communication means based on block chain, which is characterized in that be applied to block chain node device, the communication means packet It includes:
The public key and account address that client is sent are received, and by the public key and account address registration in block chain;
Receive the communication information that the client is sent;Wherein, the communication information includes the account of communication data, Correspondent Node Address and the account address of the client;
The communication data is sent to the Correspondent Node according to the account address of the Correspondent Node, and utilizes the client Encrypted communication data is registered in block chain the encryption of communicated data by the public key at end.
2. the communication means as described in claim 1 based on block chain, which is characterized in that described according to the Correspondent Node Account address the communication data is sent to the Correspondent Node, and using the public key of the client to the communication number According to encryption, further include after encrypted communication data is registered in block chain:
Receive the historical communication data inquiry request that the client is sent;The historical communication data inquiry request includes described The account address of client and the account address of Correspondent Node;
It inquires from the block chain and is gone through with what the account address of the client, the account address of the Correspondent Node matched The historical communication data are back to the client by history communication data;Wherein, it is stored in the client and the public affairs The corresponding private key of key.
3. the communication means as described in claim 1 based on block chain, which is characterized in that the method also includes:
It receives the good friend that the client is sent and adds request, the good friend is with adding the account for requesting to carry good friend to be added Location;
The good friend is added into the communication that request is sent to the good friend to be added according to the account address of the good friend to be added Terminal;
If the information that the addition good friend that the communication terminal for receiving the good friend to be added within a preset time returns is verified, Then the account address of the good friend to be added is added in the buddy list of the client, and by the good friend of the client List is registered in block chain.
4. the communication means as claimed in claim 3 based on block chain, which is characterized in that described to receive the client transmission The communication information before further include:
When detecting that the client is online, arranged according to the good friend of client described in the account address lookup of the client Table, and the buddy list of the client is pushed into the client and is shown.
5. the communication means as described in claim 1 based on block chain, which is characterized in that further include:
The user name that the client is sent is received, is stepped on after the user name is associated with the foundation of the account address of the client Note is in block chain.
6. a kind of communication system based on block chain, which is characterized in that be applied to block chain node device, the communication system packet It includes:
Account address registration unit, for receiving public key and the account address of client transmission, by the public key and account address It is registered in block chain;
Communication information acquiring unit, the communication information sent for receiving the client;Wherein, the communication information includes logical The account address of letter data, the account address of Correspondent Node and the client;
Communication data registration unit, for the communication data to be sent to described lead to according to the account address of the Correspondent Node Believe opposite end, and block is registered in by encrypted communication data to the encryption of communicated data using the public key of the client In chain.
7. the communication system as claimed in claim 6 based on block chain, which is characterized in that further include:
Inquiry request receiving unit, the historical communication data inquiry request sent for receiving the client;The history is logical Letter data inquiry request includes the account address of the client and the account address of Correspondent Node;
Inquiry request processing unit, for from the block chain inquiry and the account address of the client, described communicate pair The historical communication data are back to the client by the historical communication data that the account address at end matches;Wherein, described Private key corresponding with the public key is stored in client.
8. the communication system as claimed in claim 6 based on block chain, which is characterized in that further include:
Good friend's request reception unit adds request for receiving the good friend that the client is sent, and the good friend adds request and takes Account address with good friend to be added;
Good friend requests retransmission unit, and the good friend is added request for the account address according to the good friend to be added and is sent to The communication terminal of the good friend to be added;
Buddy list registration unit, if adding of returning of the communication terminal for receiving the good friend to be added within a preset time The account address of the good friend to be added is then added to the buddy list of the client by the information that plusing good friend is verified In, and the buddy list of the client is registered in block chain.
9. a kind of block chain node device, including memory, processor and storage are in the memory and can be at the place The computer program run on reason device, which is characterized in that realized when the processor executes the computer program as right is wanted The step of seeking any one of 1 to 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810392357.7A 2018-04-27 2018-04-27 Communication means, system and block chain node device based on block chain Pending CN108833255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810392357.7A CN108833255A (en) 2018-04-27 2018-04-27 Communication means, system and block chain node device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810392357.7A CN108833255A (en) 2018-04-27 2018-04-27 Communication means, system and block chain node device based on block chain

Publications (1)

Publication Number Publication Date
CN108833255A true CN108833255A (en) 2018-11-16

Family

ID=64155658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810392357.7A Pending CN108833255A (en) 2018-04-27 2018-04-27 Communication means, system and block chain node device based on block chain

Country Status (1)

Country Link
CN (1) CN108833255A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109617787A (en) * 2018-12-17 2019-04-12 上海点融信息科技有限责任公司 For the message method of sending and receiving of block chain network, storage medium, calculate equipment
CN110232570A (en) * 2019-05-29 2019-09-13 深圳市元征科技股份有限公司 A kind of information monitoring method and device
CN110336832A (en) * 2019-07-24 2019-10-15 深圳传音控股股份有限公司 A kind of information encryption and decryption method, device, terminal and storage medium
CN110598386A (en) * 2019-09-27 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110995837A (en) * 2019-12-03 2020-04-10 湖南国奥电力设备有限公司 Underground cable collected data uploading method and system based on block chain
CN112995298A (en) * 2021-02-06 2021-06-18 福建博泉哈希科技有限公司 Block chain-based communication method and storage medium
CN113542231A (en) * 2021-06-23 2021-10-22 深圳市华海同创科技有限公司 Communication method, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100981A (en) * 2016-08-22 2016-11-09 布比(北京)网络技术有限公司 Social network data exchange method and device
CN106339875A (en) * 2016-08-25 2017-01-18 江苏通付盾科技有限公司 Operation record review method and operation record review device based on public block chain
CN107370606A (en) * 2017-07-26 2017-11-21 中山大学 A kind of microblogging multi-signature method based on block chain
CN107948192A (en) * 2017-12-22 2018-04-20 众安信息技术服务有限公司 A kind of block chain account customization identification and login method and system
US20180114169A1 (en) * 2012-09-28 2018-04-26 Rex Wiig System and method of a requirement, compliance and resource management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180114169A1 (en) * 2012-09-28 2018-04-26 Rex Wiig System and method of a requirement, compliance and resource management
CN106100981A (en) * 2016-08-22 2016-11-09 布比(北京)网络技术有限公司 Social network data exchange method and device
CN106339875A (en) * 2016-08-25 2017-01-18 江苏通付盾科技有限公司 Operation record review method and operation record review device based on public block chain
CN107370606A (en) * 2017-07-26 2017-11-21 中山大学 A kind of microblogging multi-signature method based on block chain
CN107948192A (en) * 2017-12-22 2018-04-20 众安信息技术服务有限公司 A kind of block chain account customization identification and login method and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109617787A (en) * 2018-12-17 2019-04-12 上海点融信息科技有限责任公司 For the message method of sending and receiving of block chain network, storage medium, calculate equipment
CN110232570A (en) * 2019-05-29 2019-09-13 深圳市元征科技股份有限公司 A kind of information monitoring method and device
CN110232570B (en) * 2019-05-29 2023-05-30 深圳市元征科技股份有限公司 Information supervision method and device
CN110336832A (en) * 2019-07-24 2019-10-15 深圳传音控股股份有限公司 A kind of information encryption and decryption method, device, terminal and storage medium
CN110336832B (en) * 2019-07-24 2023-11-03 深圳传音控股股份有限公司 Information encryption and decryption methods, devices and terminals
CN110598386A (en) * 2019-09-27 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110598386B (en) * 2019-09-27 2023-05-30 腾讯科技(深圳)有限公司 Block chain-based data processing method, device, equipment and storage medium
CN110995837A (en) * 2019-12-03 2020-04-10 湖南国奥电力设备有限公司 Underground cable collected data uploading method and system based on block chain
CN110995837B (en) * 2019-12-03 2022-09-30 湖南国奥电力设备有限公司 Underground cable collected data uploading method and system based on block chain
CN112995298A (en) * 2021-02-06 2021-06-18 福建博泉哈希科技有限公司 Block chain-based communication method and storage medium
CN113542231A (en) * 2021-06-23 2021-10-22 深圳市华海同创科技有限公司 Communication method, electronic device, and storage medium
CN113542231B (en) * 2021-06-23 2023-03-24 深圳市华海同创科技有限公司 Communication method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN108833255A (en) Communication means, system and block chain node device based on block chain
CN108365961B (en) The response method and server that interface call method and terminal device, interface call
US9294287B2 (en) Interrogating an authentication device
CN104883677B (en) A kind of communicated between near-field communication device connection method, device and system
CN110059055B (en) File storage and reading method and device based on distributed private cloud
Velliangiri et al. An efficient lightweight privacy-preserving mechanism for industry 4.0 based on elliptic curve cryptography
Jin et al. A secure RFID mutual authentication protocol for healthcare environments using elliptic curve cryptography
CN106576043A (en) Virally distributable trusted messaging
US11553314B2 (en) Method and system for providing interoperability for rich communication suite (RCS) messaging with local and remote applications with e-commerce and data collection
CN107196919B (en) Data matching method and device
US11558320B2 (en) Method and system for providing interoperability for rich communication suite (RCS) messaging with local and remote applications
CN114329527A (en) Intersection data acquisition method, equipment and system
US20050208940A1 (en) Network service system using a temporary use identifier
CN106685907A (en) Method and device for generating session key
CN105450592A (en) Safety verification method and device, server and terminal
CN110910143A (en) Identity identification generation method, device, related node and medium
CN112035859B (en) Password service calling method and device, storage medium and electronic device
CN107204853A (en) A kind of wireless digital signature method of use mobile phone
CN104980481B (en) Method and system, the electric terminal of data are transmitted between electric terminal
CN108235823A (en) Proxy cellular-less roaming
Lee et al. Enhanced delegation-based authentication protocol for PCSs
CN110610418A (en) Transaction state query method, system, device and storage medium based on block chain
CN104052654A (en) Method and system for achieving chatting online
CN104158893B (en) The method and system of Contents of clipboard are transmitted based on WiFi equipment
US20230188485A1 (en) Method and system for providing interoperability for rich communication suite (rcs) information sharing using plural channels

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: 20181116

RJ01 Rejection of invention patent application after publication