CN109831374A - A kind of email distribution and reception system based on block chain - Google Patents
A kind of email distribution and reception system based on block chain Download PDFInfo
- Publication number
- CN109831374A CN109831374A CN201910203667.4A CN201910203667A CN109831374A CN 109831374 A CN109831374 A CN 109831374A CN 201910203667 A CN201910203667 A CN 201910203667A CN 109831374 A CN109831374 A CN 109831374A
- Authority
- CN
- China
- Prior art keywords
- data
- block chain
- transaction data
- block
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 21
- 230000004044 response Effects 0.000 claims description 29
- 230000000644 propagated effect Effects 0.000 claims description 13
- 238000013500 data storage Methods 0.000 claims description 7
- 238000010276 construction Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 3
- 238000012795 verification Methods 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 14
- 230000006399 behavior Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 6
- 238000012546 transfer Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Abstract
The invention belongs to block chain technical field more particularly to a kind of email distribution and reception systems based on block chain.The email distribution and reception system includes block chain Mail Clients and mail block catenary system, wherein the block chain Mail Clients is used for receiving and dispatching mail, is encrypted to the Mail Contents of transmission, the Mail Contents received are decrypted;The mail block catenary system, for being stored by each block chain node to the transaction data generated during mail transmission/reception.System in this way, user mail clear data are encrypted in block chain Mail Clients, ensure that data in the safety for sending and transmitting the stage.Even if data are intercepted and captured by rogue program and ciphertext, if ciphertext data are tampered so check code can also fail therewith, it can not also pass through when block chain node verification, and since the decentralization of block chain stores and can not distort etc. characteristics, the denial behavior of user can be effectively prevented.
Description
Technical field
The invention belongs to block chain technical field more particularly to a kind of email distribution and reception systems based on block chain.
Background technique
With the popularity of the internet, Email has become most important and indispensable one of the means of communication of people,
Especially all kinds of enterprises, government bodies and its hetero-organization mechanism etc..
Current email system mainly includes three parts: mail server, user agent and mail transfer protocol.Mail
Server provides the transimission and storage of mail, and there is the mail server of oneself in the offer commercial city of general each mail server.With
Family agency is the program that mail sends or reads, such as common OutLook, Foxmail.Mail transfer protocol refers to that mail exists
The agreement having to comply in transmit process, it defines how to exchange information between different servers (or client), often
The mail transfer protocol seen has SMPT (Simple Mail Transfer Protocol), POP3 (Post Office
Protocol 3), IMAP (Internet Mail Access Protocol) etc..Existing e-mail system still have as
Lower deficiency:
Mail server is centralization, be easy hacked or service provider in the case where agreeing to without user with
Meaning uses user mail data, causes user data to reveal, especially confidential data, causes extreme loss to user;
Email is that transimission and storage is carried out with plaintext version in a network, and Mail Contents, which exist, to be trapped or modified
Risk.Although part Mail Clients provides data encryption feature, function default is not use or be not checked, is used
Family is often without knowing it sent mail with clear-text way;
There are denial behaviors for Email User.One is senders to deny behavior, i.e. sender does not recognize to send out the postal
Part, another kind are that addressee denies behavior, i.e. addressee does not recognize to receive the mail.Sender denies behavior can pass through number at present
Word signature technology solves, and addressee, which denies behavior, to be ensured by Non-Repudiation protocol, and Non-Repudiation protocol needs 5 times or more
Data exchange could complete once safety communication and difficulty is larger.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of email distribution and reception system based on block chain, it is existing to solve
The problem of email distribution and reception system easily causes user data to reveal and be also easy to produce denial behavior.
The embodiment of the invention provides a kind of email distribution and reception systems based on block chain, may include:
Block chain Mail Clients is used for receiving and dispatching mail, the Mail Contents of transmission is encrypted, to what is received
Mail Contents are decrypted;
Mail block catenary system, for by each block chain node to the transaction data generated during mail transmission/reception into
Row storage.
Further, Mail Contents to be sent are encrypted the block chain Mail Clients, obtain mail
Ciphertext data construct transaction data, and the transaction data are sent to the mail block catenary system, the transaction data package
Include the mail ciphertext data, sender's email address, recipient's email address and sending time;
The mail block catenary system is after receiving the transaction data, by each block chain node to the transaction
Data are propagated, verified, are packaged and output block.
Further, the block chain Mail Clients monitors whether new block output, if there is new block output,
Inquiry message then is sent to associated nodes, the associated nodes are the block chain link connecting with the block chain Mail Clients
Point;
The associated nodes search connected transaction data after receiving the inquiry message in the block of new output,
If finding the connected transaction data, the connected transaction data are sent to the block chain Mail Clients, it is described
Connected transaction data are the transaction data comprising association address, and the association address is corresponding with the block chain Mail Clients
Email address;
The block chain Mail Clients after receiving the connected transaction data, judge the association address whether be
Sender's email address, if so, determining that mail is sent successfully, if it is not, then determining to receive new mail.
Further, the block chain Mail Clients parses mail ciphertext data from connected transaction data, and right
The mail ciphertext data are decrypted, and obtain Mail Contents.
Preferably, the email distribution and reception system of the block chain can also include decentralization storage system, described to go to center
Change storage system for storing to mail ciphertext data.
Optionally, Mail Contents to be sent are encrypted the block chain Mail Clients, and it is close to obtain mail
Literary data, and the mail ciphertext data are sent to the decentralization storage system;
The decentralization storage system carries out the mail ciphertext data after receiving the mail ciphertext data
Storage, and response message is sent to the block chain Mail Clients, the response message includes that the mail ciphertext data exist
Location information in the decentralization storage system;
The block chain Mail Clients constructs transaction data after receiving the response message, and by the number of deals
According to the mail block catenary system is sent to, the transaction data includes that the mail ciphertext data are stored in the decentralization
Location information in system;
The mail block catenary system is after receiving the transaction data, by block chain node to the transaction data
It propagated, verified, being packaged simultaneously output block.
Optionally, Mail Contents to be sent are encrypted the block chain Mail Clients, and it is close to obtain mail
Literary data construct transaction data, and the transaction data are sent to the mail block catenary system;
The mail block catenary system is after receiving the transaction data, by each block chain node to the transaction
Data are propagated, are verified;
Transaction node initiates storage request to the decentralization storage system, by the mail ciphertext in the transaction data
Data are sent in the decentralization storage system, and the transaction node is the block chain node being verified;
The decentralization storage system carries out the mail ciphertext data after receiving the mail ciphertext data
Storage, and response message is sent to the transaction node, the response message includes the mail ciphertext data in described go
Location information in heart storage system;
The transaction node moves the mail ciphertext data after receiving the response message from the transaction data
It removes, and location information of the mail ciphertext data in the decentralization storage system is added into the transaction data
In, form the transaction data being recorded in the mail block catenary system.
Further, the block chain Mail Clients parses the mail ciphertext data from connected transaction data and exists
Location information in the decentralization storage system, and according to the mail ciphertext data in the decentralization storage system
In location information to the decentralization storage system send request of data;
The mail ciphertext data are sent to described by the centralization storage system after receiving the request of data
Block chain Mail Clients;
The block chain Mail Clients carries out the mail ciphertext data after receiving the mail ciphertext data
Decryption processing obtains Mail Contents.
Optionally, Mail Contents to be sent are divided into the first Mail Contents and second by the block chain Mail Clients
Mail Contents, and first Mail Contents and second Mail Contents are encrypted respectively, obtain the first mail
Ciphertext data and the second mail ciphertext data, the first mail ciphertext data are stored into the mail block catenary system or
In the decentralization storage system, the second mail ciphertext data are stored into the decentralization storage system.
Further, described store the second mail ciphertext data includes: into the decentralization storage system
The second mail ciphertext data are stored to the local storage medium of the block chain Mail Clients, and will
Transaction data including information is locally-located is sent to the mail block catenary system, and the information that is locally-located is described second
Location information of the mail ciphertext data on the local storage medium;
The mail block catenary system is after receiving the transaction data, by block chain node by the transaction data
In the information that is locally-located be sent to the centralization storage system;
The centralization storage system receive it is described information is locally-located after, according to the information that is locally-located to institute
It states block chain Mail Clients and sends data acquisition request;
The block chain Mail Clients is after receiving the data acquisition request, by the second mail ciphertext data
It is sent to the centralization storage system;
The decentralization storage system is after receiving the second mail ciphertext data, to the mail ciphertext data
It is stored, and sends response message to the block chain node, the response message includes the second mail ciphertext data
Location information in the decentralization storage system;
The block chain node constructs new transaction data after receiving the response message, and to the new transaction
Data are propagated, verified, are packaged and output block, and the new transaction data includes the second mail ciphertext data in institute
The location information and the first mail data in decentralization storage system are stated, first mail data is that first mail is close
The location information of literary data or the first mail ciphertext data in the decentralization storage system.
Existing beneficial effect is the embodiment of the present invention compared with prior art: provided in an embodiment of the present invention based on block
The email distribution and reception system of chain includes block chain Mail Clients and mail block catenary system, wherein the block chain mail client
End is used for receiving and dispatching mail, is encrypted to the Mail Contents of transmission, the Mail Contents received are decrypted;
The mail block catenary system, for being deposited by each block chain node to the transaction data generated during mail transmission/reception
Storage.System in this way, user mail clear data are encrypted in block chain Mail Clients, ensure that data
In the safety for sending and transmitting the stage.Even if data are intercepted and captured by rogue program and ciphertext, if ciphertext data quilt
Distorting so check code can also fail therewith, and when block chain node verification can not also pass through, and go to center due to block chain
Its behavior for sending and receiving mail can not be deleted and modify by changing storage and characteristics, the user such as can not distorting, it can effectively anti-
The only denial behavior of user.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, 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 of the invention some
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 a kind of schematic block diagram for email distribution and reception system based on block chain that embodiment one provides;
Fig. 2 is under the scene of embodiment one, and transaction data is sent to mail block linkwork by block chain Mail Clients
The schematic diagram of system;
Fig. 3 is the schematic diagram that block chain Mail Clients obtains mail state;
Fig. 4 is the schematic diagram that block chain Mail Clients is shown Mail Contents under the scene of embodiment one;
Fig. 5 is a kind of schematic block diagram for email distribution and reception system based on block chain that the embodiment of the present invention two provides;
Fig. 6 is under the scene of embodiment two, and transaction data is sent to mail block linkwork by block chain Mail Clients
The schematic diagram of system;
Fig. 7 is the schematic diagram that block chain Mail Clients is shown Mail Contents under the scene of embodiment two.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Embodiment one:
As shown in Figure 1, email distribution and reception system of one of the embodiment of the present invention based on block chain may include block chain
Mail Clients and mail block catenary system.
The block chain Mail Clients is used for receiving and dispatching mail, the Mail Contents of transmission is encrypted, to reception
To Mail Contents be decrypted.
The mail block catenary system, for the number of deals by each block chain node to generation during mail transmission/reception
According to being stored.It include numerous block chain nodes in the mail block catenary system, specifically construction and operating mechanism can
Think any one in existing various block catenary systems, the present embodiment is not specifically limited this.
When user needs to carry out mail transmission by the block chain Mail Clients, the block chain Mail Clients
Mail Contents to be sent are encrypted first, obtain mail ciphertext data.Then, the block chain Mail Clients
The mail ciphertext data and other data configurations can be sent to the mail area at transaction data, and by the transaction data
Block catenary system (as shown in Figure 2), the transaction data include but be not limited to the mail ciphertext data, sender's email address,
The data such as recipient's email address and sending time.
The mail block catenary system is after receiving the transaction data, by each block chain node to the transaction
Data are propagated, verified, are packaged and output block.
Further, as shown in figure 3, whether block chain Mail Clients meeting real-time monitoring has new block output,
If there is new block output, inquiry message can be sent to associated nodes, the associated nodes are and the block chain mail visitor
The block chain node of family end connection.
The associated nodes search connected transaction data after receiving the inquiry message in the block of new output,
If finding the connected transaction data, the connected transaction data are sent to the block chain Mail Clients, it is described
Connected transaction data are the transaction data comprising association address, and the association address is corresponding with the block chain Mail Clients
Email address.
The block chain Mail Clients will do it associated storage and parsing after receiving the connected transaction data,
And judge whether the association address is sender's email address, if so, determining that mail is sent successfully, if it is not, then determining to connect
Receive new mail.
As shown in figure 4, when the block chain Mail Clients needs to be shown Mail Contents, it can be from the pass
Mail ciphertext data are parsed in connection transaction data, and the mail ciphertext data are decrypted, obtain Mail Contents,
Finally the Mail Contents after decryption are shown.
It is carried out specifically below by way of operating mechanism of the specific example to the email distribution and reception system in the present embodiment
It is bright:
It is assumed that the public key of user A is 3b7f77bfcf8d7d30b8a3, the public key of user B is
2d5bfca369f80e19c6a0 sends mail, Mail Contents are as follows: " today, weather was all well and good from user A to user B!".
After user A has filled in Mail Contents and clicked transmission, block chain Mail Clients first can be in local by mail
Content is encrypted with the public key of user A, obtains mail ciphertext data: 0xad539598ee5ebf20cfb81b36b7ce1fb
eba5748654eb1d15422d0ef3079faee.Then, block chain Mail Clients can form one according to default rule
Transaction data, such as:
{"from":"3b7f77bfcf8d7d30b8a3",
"to":"2d5bfca369f80e19c6a0",
"data":"0xad539598ee5ebf20cfb81b36b7ce1fbeba5748654eb1d15422d0ef3079
faee"
}
Finally, the block chain Mail Clients of user A sends this transaction data in mail block catenary system, transaction
Data can be by P2P Internet communication to each block chain node, and block chain node will do it after receiving transaction data independently to be tested
Card, legitimacy, integrality of verify data etc..Its number of deals can be added by block chain node in the transaction data being only verified
Priority ranking is carried out according in pond and according to given rule.Assuming that the transaction data that user A is sent to user B meets priority
It is required that being bundled in block by block chain node, each block chain node starts to compete the legal block of output.When there is new block (false
If the block height (height) of new block is 1000) after output, the block chain node of output new block can be at once by new block
It is propagated by P2P network.
After block chain Mail Clients has learnt new block output, it can initiate to ask to block chain node connected to it
It asks: whether (leading to when in practice containing the relevant transaction data of 3b7f77bfcf8d7d30b8a3 in the block that height is 1000
Cross Bloom filter scheduling algorithm anonymity and initiate inquiry), if containing associated transaction data, area in the block that height is 1000
This transaction data is returned to block chain Mail Clients by block chain node, and block chain Mail Clients can be to transaction data later
It is parsed.The client of user A can match respectively " from " field value and " to " word with " 3b7f77bfcf8d7d30b8a3 "
Segment value matches with " from " field value herein, then the client of user A can prompt user mail to send successfully.Similarly, it uses
The client of family B judges the address " 2d5bfca369f80e19c6a0 " of user B and " to " field value matches, then its meeting
Prompt user receives new mail.
When user A and user B check mail, block chain Mail Clients can parse to obtain " data " field value, and
It is decrypted with the private key being locally stored, finally decryption content is shown.
Embodiment two:
As shown in figure 5, the email distribution and reception system in the embodiment of the present invention is in addition to including the block chain mail in embodiment one
It can also include decentralization storage system, the decentralization storage system packet except client and mail block catenary system
The storage systems such as IPFS are included but are not limited to, for storing to mail ciphertext data, to mitigate the mail block linkwork
The storage burden of system.
As shown in fig. 6, when user needs to carry out mail transmission by the block chain Mail Clients, the block chain
Mail Contents to be sent are encrypted first for Mail Clients, obtain mail ciphertext data, and the mail is close
Literary data are sent to the decentralization storage system.
The decentralization storage system carries out the mail ciphertext data after receiving the mail ciphertext data
Storage, and response message is sent to the block chain Mail Clients, the response message includes that the mail ciphertext data exist
Location information in the decentralization storage system can also include storage state, the cryptographic Hash of mail ciphertext data
(hash) etc..
The block chain Mail Clients judges whether to store after receiving the response message according to the storage state
Success, if it is not, then to user's prompt information and carry out other by user and operate, if so, construction transaction data, and by the friendship
Easy data are sent to the mail block catenary system, and the transaction data includes the mail ciphertext data in the decentralization
Location information in storage system can also include the number such as sender's email address, recipient's email address and sending time
According to.
It is carried out specifically below by way of operating mechanism of the specific example to the email distribution and reception system in the present embodiment
It is bright:
It is assumed that the public key of user A is 3b7f77bfcf8d7d30b8a3, the public key of user B is
2d5bfca369f80e19c6a0 sends mail, Mail Contents are as follows: " today, weather was all well and good from user A to user B!".
After user A has filled in Mail Contents and clicked transmission, block chain Mail Clients first can be in local by mail
Content is encrypted with the public key of user A, obtains mail ciphertext data: 0xad539598ee5ebf20cfb81b36b7ce1fb
eba5748654eb1d15422d0ef3079faee.Then, mail ciphertext data can be sent to by block chain Mail Clients
Centralization storage system, decentralization storage system return to following response message:
{"hash":"0xea674fdde714fd979de3edf0f56aa9716b898ec8",
"status":"SUCCESS",
"time":1549888186
}
After the block chain Mail Clients of user A obtains the response message that decentralization storage system returns, judgement "
Status " field value whether be " SUCCESS ".If not being " SUCCESS ", user is prompted to store failure, and guide user
Carry out next step operation;If it is " SUCCESS ", then block chain Mail Clients is formed according to default rule such as next friendship
Easy data:
{"from":"3b7f77bfcf8d7d30b8a3",
"to":"2d5bfca369f80e19c6a0",
"path":"0xea674fdde714fd979de3edf0f56aa9716b898ec8"
}
The mail block catenary system is after receiving the transaction data, by block chain node to the transaction data
It propagated, verified, being packaged simultaneously output block.
The block chain Mail Clients judges whether mail sends successfully or judge whether to receive the mistake of new mail
Journey is identical as the process in embodiment one, specifically can refer to the specific descriptions in embodiment one, details are not described herein again.
As shown in fig. 7, can be handed over from association when the block chain Mail Clients needs to be shown Mail Contents
Location information of the mail ciphertext data in the decentralization storage system is parsed in easy data, and according to the postal
Location information of the part ciphertext data in the decentralization storage system sends data to the decentralization storage system and asks
It asks.
The mail ciphertext data are sent to described by the centralization storage system after receiving the request of data
Block chain Mail Clients.
The block chain Mail Clients carries out the mail ciphertext data after receiving the mail ciphertext data
Decryption processing obtains Mail Contents, is finally shown the Mail Contents after decryption.
Embodiment three:
Similar with embodiment two, the email distribution and reception system in the present embodiment also includes block chain Mail Clients, mail area
Block catenary system and decentralization storage system.It but is from block chain Mail Clients to decentralization storage system in embodiment two
Storage request is initiated, and is by the block chain node in mail block catenary system in the present embodiment come to decentralization storage system
Initiate storage request.
Specifically, when user needs to carry out mail transmission by the block chain Mail Clients, the block chain postal
Mail Contents to be sent are encrypted first for part client, obtain mail ciphertext data, construct transaction data, and will
The transaction data is sent to the mail block catenary system, and the transaction data includes but is not limited to the mail ciphertext number
According to, data such as sender's email address, recipient's email address and sending time.
The mail block catenary system is after receiving the transaction data, by each block chain node to the transaction
Data are propagated, are verified.
Transaction node initiates storage request to the decentralization storage system, by the mail ciphertext in the transaction data
Data are sent in the decentralization storage system, and the transaction node is the block chain node being verified.
The decentralization storage system carries out the mail ciphertext data after receiving the mail ciphertext data
Storage, and response message is sent to the transaction node, the response message includes the mail ciphertext data in described go
Location information in heart storage system can also include storage state, cryptographic Hash of mail ciphertext data etc..
The transaction node moves the mail ciphertext data after receiving the response message from the transaction data
It removes, and location information of the mail ciphertext data in the decentralization storage system is added into the transaction data
In, form the transaction data being recorded in the mail block catenary system.
It is carried out specifically below by way of operating mechanism of the specific example to the email distribution and reception system in the present embodiment
It is bright:
It is assumed that the public key of user A is 3b7f77bfcf8d7d30b8a3, the public key of user B is
2d5bfca369f80e19c6a0 sends mail, Mail Contents are as follows: " today, weather was all well and good from user A to user B!".
After user A has filled in Mail Contents and clicked transmission, block chain Mail Clients first can be in local by mail
Content is encrypted with the public key of user A, obtains mail ciphertext data: 0xad539598ee5ebf20cfb81b36b7ce1fb
eba5748654eb1d15422d0ef3079faee.Then, block chain Mail Clients can form one according to default rule
Transaction data, such as:
{"from":"3b7f77bfcf8d7d30b8a3",
"to":"2d5bfca369f80e19c6a0",
"data":"0xad539598ee5ebf20cfb81b36b7ce1fbeba5748654eb1d15422d0ef3079
faee"
}
Block chain node in mail block catenary system will do it individual authentication after obtaining transaction data, for being verified
Transaction data transaction data " data " field value can be parsed, and to decentralization storage system initiate storage ask
It asks, if the storage of the data is not present in decentralization storage system, the hash of the ciphertext data is such as not present, then can incite somebody to action
Corresponding content hash or URL or other location informations etc. are returned after data progress storage to corresponding block chain node, if
The storage of the data is had existed in decentralization storage system, then corresponding area can be returned to the storage location of the data
Block chain node such as obtains hash:0xea674fdde714fd979de3 of the mail ciphertext data in decentralization storage system
edf0f56aa9716b898ec8.The hash can be added in transaction data by block chain node, while remove in transaction data
Mail ciphertext data field, such as:
{"from":"3b7f77bfcf8d7d30b8a3",
"to":"2d5bfca369f80e19c6a0",
"path":"0xea674fdde714fd979de3edf0f56aa9716b898ec8"
}
The block chain Mail Clients judges whether mail sends successfully or judge whether to receive the mistake of new mail
Journey is identical as the process in embodiment one, specifically can refer to the specific descriptions in embodiment one, details are not described herein again.
The process that the block chain Mail Clients is shown Mail Contents is identical as the process in embodiment two, tool
Body can refer to the specific descriptions in embodiment two, and details are not described herein again.
Example IV:
Similar with embodiment two, the email distribution and reception system in the present embodiment also includes block chain Mail Clients, mail area
Block catenary system and decentralization storage system.It but is from block chain Mail Clients to decentralization storage system in embodiment two
Storage request is initiated, and is actively to initiate data acquisition request by decentralization storage system in the present embodiment, the present embodiment is outstanding
It is suitable for including the case where big text or attachment in Mail Contents.
Specifically, when user needs to carry out mail transmission by the block chain Mail Clients, the block chain postal
Mail Contents to be sent are divided into the first Mail Contents and the second Mail Contents first by part client, in first mail
Holding is small text data, and second Mail Contents are big text or attachment.
Then, the block chain Mail Clients respectively carries out first Mail Contents and second Mail Contents
Encryption obtains the first mail ciphertext data and the second mail ciphertext data, by the first mail ciphertext data store to
In the mail block catenary system or in the decentralization storage system, the second mail ciphertext data are stored to described
In decentralization storage system.
Wherein, the first mail ciphertext data are stored to process and embodiment one into the mail block catenary system
In process it is similar, the first mail ciphertext data are stored to process and embodiment into the decentralization storage system
Process in two is similar, specifically can refer to the specific descriptions in embodiment one and embodiment two, details are not described herein again.
The process that the second mail ciphertext data are stored into the decentralization storage system is specifically included following
Process:
The block chain Mail Clients stores the second mail ciphertext data to the block chain Mail Clients
Local storage medium on, and will include that the transaction data of information is locally-located to be sent to the mail block catenary system, in institute
It states and is propagated between each block chain node of mail block catenary system, the information that is locally-located is the second mail ciphertext
Location information of the data on the local storage medium, such as the location information of local URL or other forms.The friendship
Easy data can also include the data such as sender's email address, recipient's email address and sending time.
The mail block catenary system is after receiving the transaction data, by block chain node to the transaction data
It is parsed, can be communicated with the decentralization storage system after being resolved to specific data field, by the number of deals
The information that is locally-located in is sent to the centralization storage system.
The centralization storage system receive it is described information is locally-located after, according to the information that is locally-located to institute
It states block chain Mail Clients and sends data acquisition request.
The block chain Mail Clients is after receiving the data acquisition request, by the second mail ciphertext data
It is sent to the centralization storage system.
The decentralization storage system is after receiving the second mail ciphertext data, to the mail ciphertext data
It is stored, and sends response message to the block chain node, the response message includes the second mail ciphertext data
Location information in the decentralization storage system can also include the Hash of storage state, the second mail ciphertext data
Value etc..
The block chain node constructs new transaction data after receiving the response message, and to the new transaction
Data are propagated, verified, are packaged and output block, and the new transaction data includes the second mail ciphertext data in institute
The location information and the first mail data in decentralization storage system are stated, can also include sender's email address, recipient
The data such as email address and sending time, first mail data (correspond to institute for the first mail ciphertext data
State the first mail ciphertext data and store the situation into the mail block catenary system) or the first mail ciphertext data in institute
The location information stated in decentralization storage system (is stored corresponding to by the first mail ciphertext data to the decentralization
Situation in storage system).
It is carried out specifically below by way of operating mechanism of the specific example to the email distribution and reception system in the present embodiment
It is bright:
It is assumed that the public key of user A is 3b7f77bfcf8d7d30b8a3, the public key of user B is
2d5bfca369f80e19c6a0, from user A to user B send mail, Mail Contents are in addition to text information: " today weather very
Well!", it further include the audio attachment of a 20M size.
After user A has filled in Mail Contents and has clicked transmission, block chain Mail Clients first can by text information and
Audio attachment carries out asymmetric encryption processing with the public key of user A local, respectively obtains 0xad539598ee5ebf20cfb8
1b36b7ce1fbeba5748654eb1d15422d0ef3079faee and 0x3d27146593c566cac19d76cf1ec336
921874bfbe25b6.....14e808114050bc8e260e4f413, wherein 0x3d27146593c566cac19d76cf
1ec336921874bfbe25b6.....14e808114050bc8e260e4f413 in the block chain Mail Clients sheet of user A
The store path on ground are as follows: http: // 192.168.1.123:8888/UserA/mail/e07dced0592d6c3ed8e33011,
In conjunction with other information, the block chain Mail Clients of user A can be to the friendship of the transmission of the block chain node in mail block catenary system
Easy data are as follows:
{"from":"3b7f77bfcf8d7d30b8a3",
"to":"2d5bfca369f80e19c6a0",
"data1":"0xad539598ee5ebf20cfb81b36b7ce1fbeba5748654eb1d15422d0ef307
9faee",
"data2":"http://192.168.1.123:8888/UserA/mail/
e07dced0592d6c3ed8e33011"
}
Each block chain node can be by " data2 " field value in the transaction data, i.e., " http: //
192.168.1.123:8888/UserA/mail/e07dced0592d6c3ed8e33011 it " parses and submits to center
Change storage system.Decentralization storage system can obtain after getting the URL to the request of the block chain Mail Clients of user A
Take mail ciphertext data resource.The positioning of mail ciphertext data after decentralization storage system completes the storage of mail ciphertext data
Information returns to corresponding block chain node, if hash is 0xa828a6989deec5905636ac8e07dced0592d6c3e.
Final block chain node forms following transaction data according to certain rule:
{"from":"3b7f77bfcf8d7d30b8a3",
"to":"2d5bfca369f80e19c6a0",
"data1":"0xad539598ee5ebf20cfb81b36b7ce1fbeba5748654eb1d15422d0ef307
9faee",
"data2":"0xa828a6989deec5905636ac8e07dced0592d6c3e"
}
The block chain Mail Clients judges whether mail sends successfully or judge whether to receive the mistake of new mail
Journey is identical as the process in embodiment one, specifically can refer to the specific descriptions in embodiment one, details are not described herein again.
The block chain Mail Clients can also refer to embodiment one and embodiment to the process that Mail Contents are shown
Specific descriptions in two, details are not described herein again.
In conclusion the email distribution and reception system provided through the invention, user mail clear data is in block chain mail
Client is encrypted, and ensure that data in the safety for sending and transmitting the stage.Even if data are intercepted and captured by rogue program
What is obtained is also ciphertext, if ciphertext data are tampered so check code and can also fail therewith, when block chain node verification also can
Do not pass through, and can not delete and modify its transmission since the decentralization of block chain stores and can not distort etc. characteristics, user
With the behavior for receiving mail, it can effectively prevent the denial behavior of user.
It should be understood that the sequence of each step is not meant that the order of the execution order in above-described embodiment, the execution of each process
Sequence should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
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.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained 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 for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of email distribution and reception system based on block chain characterized by comprising
Block chain Mail Clients is used for receiving and dispatching mail, the Mail Contents of transmission is encrypted, to the mail received
Content is decrypted;
Mail block catenary system, for being deposited by each block chain node to the transaction data generated during mail transmission/reception
Storage.
2. email distribution and reception system according to claim 1, which is characterized in that further include:
Mail Contents to be sent are encrypted the block chain Mail Clients, obtain mail ciphertext data, construction
Transaction data, and the transaction data is sent to the mail block catenary system, the transaction data includes that the mail is close
Literary data, sender's email address, recipient's email address and sending time;
The mail block catenary system is after receiving the transaction data, by each block chain node to the transaction data
It propagated, verified, being packaged simultaneously output block.
3. email distribution and reception system according to claim 2, which is characterized in that further include:
The block chain Mail Clients monitors whether new block output, if having new block output, to associated nodes
Inquiry message is sent, the associated nodes are the block chain node connecting with the block chain Mail Clients;
The associated nodes search connected transaction data, if looking into after receiving the inquiry message in the block of new output
The connected transaction data are found, then the connected transaction data are sent to the block chain Mail Clients, the association
Transaction data is the transaction data comprising association address, and the association address is postal corresponding with the block chain Mail Clients
Case address;
The block chain Mail Clients judges whether the association address is transmission after receiving the connected transaction data
Square email address, if so, determining that mail is sent successfully, if it is not, then determining to receive new mail.
4. email distribution and reception system according to claim 3, which is characterized in that further include:
The block chain Mail Clients parses mail ciphertext data from connected transaction data, and to the mail ciphertext number
According to being decrypted, Mail Contents are obtained.
5. email distribution and reception system according to claim 1, which is characterized in that further include:
Decentralization storage system, for being stored to mail ciphertext data.
6. email distribution and reception system according to claim 5, which is characterized in that further include:
Mail Contents to be sent are encrypted the block chain Mail Clients, obtain mail ciphertext data, and will
The mail ciphertext data are sent to the decentralization storage system;
The decentralization storage system deposits the mail ciphertext data after receiving the mail ciphertext data
Storage, and response message is sent to the block chain Mail Clients, the response message includes the mail ciphertext data in institute
State the location information in decentralization storage system;
The block chain Mail Clients constructs transaction data after receiving the response message, and the transaction data is sent out
It send to the mail block catenary system, the transaction data includes the mail ciphertext data in the decentralization storage system
In location information;
The mail block catenary system carries out the transaction data after receiving the transaction data, through block chain node
It propagates, verifying, be packaged simultaneously output block.
7. email distribution and reception system according to claim 5, which is characterized in that further include:
Mail Contents to be sent are encrypted the block chain Mail Clients, obtain mail ciphertext data, construction
Transaction data, and the transaction data is sent to the mail block catenary system;
The mail block catenary system is after receiving the transaction data, by each block chain node to the transaction data
It propagated, verified;
Transaction node initiates storage request to the decentralization storage system, by the mail ciphertext data in the transaction data
It is sent in the decentralization storage system, the transaction node is the block chain node being verified;
The decentralization storage system deposits the mail ciphertext data after receiving the mail ciphertext data
Storage, and response message is sent to the transaction node, the response message includes that the mail ciphertext data described go to center
Change the location information in storage system;
The transaction node removes the mail ciphertext data after receiving the response message from the transaction data,
And location information of the mail ciphertext data in the decentralization storage system is added into the transaction data, shape
At the transaction data being recorded in the mail block catenary system.
8. email distribution and reception system according to claim 6 or 7, which is characterized in that further include:
The block chain Mail Clients parses the mail ciphertext data in the decentralization from connected transaction data
Location information in storage system, and the location information according to the mail ciphertext data in the decentralization storage system
Request of data is sent to the decentralization storage system;
The centralization storage system is sent to the block after receiving the request of data, by the mail ciphertext data
Chain Mail Clients;
The block chain Mail Clients is decrypted the mail ciphertext data after receiving the mail ciphertext data
Processing, obtains Mail Contents.
9. email distribution and reception system according to claim 5, which is characterized in that further include:
Mail Contents to be sent are divided into the first Mail Contents and the second Mail Contents by the block chain Mail Clients, and
First Mail Contents and second Mail Contents are encrypted respectively, obtain the first mail ciphertext data and
Two mail ciphertext data store the first mail ciphertext data into the mail block catenary system or the decentralization
In storage system, the second mail ciphertext data are stored into the decentralization storage system.
10. email distribution and reception system according to claim 9, which is characterized in that described by the second mail ciphertext data
It stores and includes: into the decentralization storage system
The second mail ciphertext data are stored to the local storage medium of the block chain Mail Clients, and will include
The transaction data that information is locally-located is sent to the mail block catenary system, and the information that is locally-located is second mail
Location information of the ciphertext data on the local storage medium;
The mail block catenary system, will be in the transaction data by block chain node after receiving the transaction data
Information is locally-located and is sent to the centralization storage system;
The centralization storage system receive it is described information is locally-located after, according to the information that is locally-located to the area
Block chain Mail Clients sends data acquisition request;
The block chain Mail Clients sends the second mail ciphertext data after receiving the data acquisition request
To the centralization storage system;
The decentralization storage system carries out the mail ciphertext data after receiving the second mail ciphertext data
Storage, and response message is sent to the block chain node, the response message includes the second mail ciphertext data in institute
State the location information in decentralization storage system;
The block chain node constructs new transaction data after receiving the response message, and to the new transaction data
It propagated, verified, being packaged simultaneously output block, the new transaction data includes that the second mail ciphertext data are gone described
Location information and the first mail data in centralization storage system, first mail data are the first mail ciphertext number
According to or location information of the first mail ciphertext data in the decentralization storage system.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910203667.4A CN109831374B (en) | 2019-03-18 | 2019-03-18 | Mail receiving and sending system based on block chain |
PCT/CN2019/096828 WO2020186672A1 (en) | 2019-03-18 | 2019-07-19 | Blockchain-based mail transmission and reception system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910203667.4A CN109831374B (en) | 2019-03-18 | 2019-03-18 | Mail receiving and sending system based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109831374A true CN109831374A (en) | 2019-05-31 |
CN109831374B CN109831374B (en) | 2020-04-21 |
Family
ID=66870322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910203667.4A Expired - Fee Related CN109831374B (en) | 2019-03-18 | 2019-03-18 | Mail receiving and sending system based on block chain |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109831374B (en) |
WO (1) | WO2020186672A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351185A (en) * | 2019-06-28 | 2019-10-18 | 太原理工大学 | A kind of distributed electronic mailbox system based on block chain technology |
CN110351258A (en) * | 2019-06-28 | 2019-10-18 | 太原理工大学 | A kind of distributed electronic mailbox system based on no coin block chain technology |
CN110601955A (en) * | 2019-09-06 | 2019-12-20 | 阿里巴巴集团控股有限公司 | Block chain-based e-mail delivery method, device and equipment |
CN111083133A (en) * | 2019-12-11 | 2020-04-28 | 公安部第三研究所 | Method and system for analyzing correlation between mail information and malicious code information |
CN111130806A (en) * | 2019-12-30 | 2020-05-08 | 论客科技(广州)有限公司 | E-mail filing and evidence saving method and device based on block chain technology |
WO2020186672A1 (en) * | 2019-03-18 | 2020-09-24 | 深圳幂度信息科技有限公司 | Blockchain-based mail transmission and reception system |
CN112258192A (en) * | 2020-09-15 | 2021-01-22 | 山东鲁能软件技术有限公司 | Mail confirmation method and device based on block chain wallet address |
CN112272155A (en) * | 2020-09-15 | 2021-01-26 | 山东鲁能软件技术有限公司 | E-mail receiving and sending method based on block chain |
CN112272156A (en) * | 2020-09-15 | 2021-01-26 | 山东鲁能软件技术有限公司 | E-mail receiving and sending system based on block chain |
US11102217B2 (en) | 2019-07-30 | 2021-08-24 | Block Chain Security Corp. | Method and system for confirming e-mail authenticity and non-transitory storage medium thereof |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113595877B (en) * | 2021-07-23 | 2022-08-30 | 永旗(北京)科技有限公司 | Instant communication method based on block chain |
CN115296881A (en) * | 2022-07-29 | 2022-11-04 | 北京达佳互联信息技术有限公司 | Information acquisition method and device, electronic equipment and computer readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790234A (en) * | 2017-01-18 | 2017-05-31 | 维沃移动通信有限公司 | A kind of e-mail sending method, method of reseptance, first terminal and second terminal |
CN108769014A (en) * | 2018-05-29 | 2018-11-06 | 山东九州信泰信息科技股份有限公司 | A method of PGP verifications are carried out to Email based on block chain technology |
CN109309613A (en) * | 2018-10-09 | 2019-02-05 | 京东方科技集团股份有限公司 | A kind of method, apparatus and system of mail delivery |
US20190051079A1 (en) * | 2017-08-11 | 2019-02-14 | United States Postal Service | Cryptographically tracked and secured vote by mail system |
CN109450781A (en) * | 2018-12-29 | 2019-03-08 | 深圳市网心科技有限公司 | A kind of mail communication method and relevant apparatus based on distributed network |
CN109462540A (en) * | 2018-10-12 | 2019-03-12 | 彩讯科技股份有限公司 | Mail deposits card methods, devices and systems |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831374B (en) * | 2019-03-18 | 2020-04-21 | 深圳幂度信息科技有限公司 | Mail receiving and sending system based on block chain |
-
2019
- 2019-03-18 CN CN201910203667.4A patent/CN109831374B/en not_active Expired - Fee Related
- 2019-07-19 WO PCT/CN2019/096828 patent/WO2020186672A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790234A (en) * | 2017-01-18 | 2017-05-31 | 维沃移动通信有限公司 | A kind of e-mail sending method, method of reseptance, first terminal and second terminal |
US20190051079A1 (en) * | 2017-08-11 | 2019-02-14 | United States Postal Service | Cryptographically tracked and secured vote by mail system |
CN108769014A (en) * | 2018-05-29 | 2018-11-06 | 山东九州信泰信息科技股份有限公司 | A method of PGP verifications are carried out to Email based on block chain technology |
CN109309613A (en) * | 2018-10-09 | 2019-02-05 | 京东方科技集团股份有限公司 | A kind of method, apparatus and system of mail delivery |
CN109462540A (en) * | 2018-10-12 | 2019-03-12 | 彩讯科技股份有限公司 | Mail deposits card methods, devices and systems |
CN109450781A (en) * | 2018-12-29 | 2019-03-08 | 深圳市网心科技有限公司 | A kind of mail communication method and relevant apparatus based on distributed network |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020186672A1 (en) * | 2019-03-18 | 2020-09-24 | 深圳幂度信息科技有限公司 | Blockchain-based mail transmission and reception system |
CN110351258A (en) * | 2019-06-28 | 2019-10-18 | 太原理工大学 | A kind of distributed electronic mailbox system based on no coin block chain technology |
CN110351185A (en) * | 2019-06-28 | 2019-10-18 | 太原理工大学 | A kind of distributed electronic mailbox system based on block chain technology |
US11102217B2 (en) | 2019-07-30 | 2021-08-24 | Block Chain Security Corp. | Method and system for confirming e-mail authenticity and non-transitory storage medium thereof |
CN110601955A (en) * | 2019-09-06 | 2019-12-20 | 阿里巴巴集团控股有限公司 | Block chain-based e-mail delivery method, device and equipment |
CN110601955B (en) * | 2019-09-06 | 2022-04-19 | 创新先进技术有限公司 | Block chain-based e-mail delivery method, device and equipment |
CN111083133A (en) * | 2019-12-11 | 2020-04-28 | 公安部第三研究所 | Method and system for analyzing correlation between mail information and malicious code information |
CN111083133B (en) * | 2019-12-11 | 2021-10-22 | 公安部第三研究所 | Method and system for analyzing correlation between mail information and malicious code information |
CN111130806A (en) * | 2019-12-30 | 2020-05-08 | 论客科技(广州)有限公司 | E-mail filing and evidence saving method and device based on block chain technology |
CN112272155A (en) * | 2020-09-15 | 2021-01-26 | 山东鲁能软件技术有限公司 | E-mail receiving and sending method based on block chain |
CN112272156A (en) * | 2020-09-15 | 2021-01-26 | 山东鲁能软件技术有限公司 | E-mail receiving and sending system based on block chain |
CN112258192A (en) * | 2020-09-15 | 2021-01-22 | 山东鲁能软件技术有限公司 | Mail confirmation method and device based on block chain wallet address |
CN112258192B (en) * | 2020-09-15 | 2023-07-28 | 山东鲁能软件技术有限公司 | Mail confirmation method and device based on blockchain wallet address |
Also Published As
Publication number | Publication date |
---|---|
CN109831374B (en) | 2020-04-21 |
WO2020186672A1 (en) | 2020-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109831374A (en) | A kind of email distribution and reception system based on block chain | |
JP5256358B2 (en) | System and method for verifying delivery and integrity of electronic messages | |
US7398315B2 (en) | Reducing unwanted and unsolicited electronic messages by preventing connection hijacking and domain spoofing | |
US7552176B2 (en) | Reducing unwanted and unsolicited electronic messages by exchanging electronic message transmission policies and solving and verifying solutions to computational puzzles | |
US7483951B2 (en) | Method and system for selectively blocking delivery of electronic mail | |
US9166937B2 (en) | Peer-to-peer email | |
US9444647B2 (en) | Method for predelivery verification of an intended recipient of an electronic message and dynamic generation of message content upon verification | |
CN1668040B (en) | Method and apparatus for authenticating the origin of e-mail messages in a communications network | |
JP2007528686A (en) | Spam blocking system and method | |
JP2005518763A (en) | System and method for verifying delivery and integrity of electronic messages | |
WO2001044953A1 (en) | Method and system for confirming receipt of electronic mail transmitted via a communications network | |
US20140052626A1 (en) | Secure email | |
US20060184635A1 (en) | Electronic mail method using email tickler | |
KR101238527B1 (en) | Reducing unwanted and unsolicited electronic messages | |
Guo et al. | Analysis of email header for forensics purpose | |
CN104660491A (en) | Mail handling method | |
CN108243092A (en) | A kind of mail sends inquiry system automatically | |
KR100867940B1 (en) | Method for Blocking Spam Mail | |
RU2008135759A (en) | SYSTEM AND METHOD FOR TRANSFER OF DOCUMENTS AND DOCUMENT MANAGEMENT | |
KR20060124489A (en) | System for blocking spam mail and method of the same | |
Schwenk | Email: Protocols and SPAM | |
KR20080093084A (en) | System for blocking spam mail | |
Hameed et al. | LENS: LEveraging anti-social Networking against Spam | |
CN109561046A (en) | A kind of method and device of converged communication public account content-encrypt | |
Scheerder | CPJ Koymans |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200421 |
|
CF01 | Termination of patent right due to non-payment of annual fee |