CN109309613A - A kind of method, apparatus and system of mail delivery - Google Patents

A kind of method, apparatus and system of mail delivery Download PDF

Info

Publication number
CN109309613A
CN109309613A CN201811174016.9A CN201811174016A CN109309613A CN 109309613 A CN109309613 A CN 109309613A CN 201811174016 A CN201811174016 A CN 201811174016A CN 109309613 A CN109309613 A CN 109309613A
Authority
CN
China
Prior art keywords
mail
client
transaction code
sent
information
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
Application number
CN201811174016.9A
Other languages
Chinese (zh)
Other versions
CN109309613B (en
Inventor
冯丹丹
赵振功
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201811174016.9A priority Critical patent/CN109309613B/en
Publication of CN109309613A publication Critical patent/CN109309613A/en
Application granted granted Critical
Publication of CN109309613B publication Critical patent/CN109309613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of method, apparatus of mail delivery and systems, this method comprises: receiving the mail that the first client is sent, mail is sent to transmission server, and by the first node of the reception information preservation of the mail to block chain, and the first transaction code is sent to first client, receive the E-mail inquiries request that first client or the second client are sent, wherein, the E-mail inquiries request includes first transaction code or at least one of the second transaction code that transmission server is sent to described the first client and the second client;It is requested to determine the first transaction code and the second transaction code according to E-mail inquiries, and mail reception information and the second transaction code acquisition mail transmission information is obtained according to the first transaction code;Judge whether the transmission information matches with the reception information, if matching, it is determined that the mail delivery success.It solves e-mail messages in the prior art and denies the lower technical problem of Certainty Factor.

Description

A kind of method, apparatus and system of mail delivery
Technical field
This application involves network safety filed technical field more particularly to the method, apparatus and system of a kind of mail delivery.
Background technique
With the extensive use of internet, mail has become the unit transmissions file such as enterprise, organ, notice important messages Effective way, but e-mail sending send mail after, e-mail sending not can determine that whether mail server connects to mail Debit delivers the mail, can not determine whether mail reception side receives the mail, even if the mail completes throwing Pass, if e-mail sending or mail reception side's either side deny mail send or receive and the content of mail, mail hair The side of sending or mail reception side can not provide effective evidence to prove the mail is delivered or received to mail server whether.For Inhibit the denial behavior to mail transmission/reception situation and Mail Contents, in the prior art, it is usually by signing for electricity that prevention, which is denied, Sub- mail signs for e-mail technique by establishing fair agreement between mistrustful receiving-transmitting sides and exchanges e-mail messages With evidence is denied to guarantee to receive and dispatch the traceable of denial behavior, but in mistake receiving-transmitting sides exchange e-mail messages and deny evidence Cheng Zhong, the network attack of malice can distort the information of mail and the evidence of denial, therefore, the postal obtained according to equitable agreement Part information and denial Certainty Factor are lower.
Summary of the invention
The application provides a kind of method and device of mail delivery, to solve e-mail messages in the prior art and deny card According to the lower technical problem of confidence level.
In a first aspect, the application provides a kind of method of mail delivery, this method comprises: receiving server receives the first visitor The mail is sent to transmission server by the mail that family end is sent, and by the reception information preservation of the mail to block chain First node, and to first client send the first transaction code, when receive first client or second visitor The E-mail inquiries request that family end is sent, wherein the E-mail inquiries request includes that first transaction code or the transmission service When the mail is sent to second client by device, sent to first client and second client second At least one of transaction code requests to determine first transaction code and second transaction code according to the E-mail inquiries, and The reception information for obtaining the mail from the first node according to first transaction code, then according to second transaction code The transmission information of the mail is obtained from second node, wherein between first transaction code and second transaction code one by one Corresponding, the second node refers to the position that the transmission information of the mail is saved in the block chain, the transmission of the mail Information refers to that the mail is sent to the information of second client by the transmission server, then judges the hair of the mail Whether breath of delivering letters matches with the reception information of the mail, if matching, it is determined that the mail delivery success.
The method of mail delivery provided by the embodiments of the present application exists the transmission information of the mail and reception information preservation On the node of block chain, and after mail sends or receives, client is sent to corresponding mail or receiving end sends transaction code, When there is mail and denying behavior, the transmission information of mail is transferred in the block chain by the transaction code and receive information come Obtain the evidence denied, the data transparency that has due to block chain technology and can not tamper, postal is improved by block chain Part information and the confidence level for denying evidence.
Optionally, described to receive the characteristic information and reception that information includes: the mail that first client is sent Server receives the time of the mail;Wherein, the characteristic information includes: the cryptographic Hash of Mail Contents, the type of mail, hair Send or receive one or more combinations in the email address of mail and the IP address of client.
Optionally, the information that sends includes: the characteristic information of the received mail of second client and described Send the time that server sends the mail.
Optionally, whether the transmission information for judging the mail matches with the reception information of the mail, comprising:
Judge in cryptographic Hash and the received mail of the second client for the Mail Contents that first client is sent Whether the cryptographic Hash of appearance is identical;
Judge the type of mail that first client is sent and the type of the received mail of the second client is It is no identical;
Judge the email address for sending or receiving mail and second client reception that first client is sent The email address for sending or receiving mail it is whether identical.
The method of mail delivery provided by the embodiments of the present application, by that will send information and receive in mail in mail Hold, the type of mail, the email address for sending or receiving mail are matched evidence to determine denial, by credible mail Content in information is verified in many ways, improves the confidence level for denying evidence.
It optionally, will be before the first node of mail reception information preservation to block chain, further includes:
Obtain the content of the mail, wherein the content of the mail is text information or the file information;
The content of the mail is subjected to Hash calculation and obtains the cryptographic Hash of the Mail Contents.
Optionally, the first transaction code is sent to first client, comprising:
First transaction code is sent to first client in the form of mail;Or
First transaction code is sent to first client in the form of instant communication information.
The method of mail delivery provided by the embodiments of the present application, after mail transmission, first client can pass through postal The form of part or instant communication information obtains first transaction code, improves the flexibility that client obtains transaction code.
Second aspect, the application provide a kind of device of mail delivery, which includes:
The mail is sent to transmission server, and will for receiving the mail of the first client transmission by receiving module The reception information preservation of the mail to block chain first node, and to first client send the first transaction code; And receive the E-mail inquiries request that first client or the second client are sent, wherein the E-mail inquiries request When the mail being sent to second client including first transaction code or the transmission server, to described first At least one of the second transaction code that client and second client are sent;
Module is obtained, determines first transaction code and second transaction code for requesting according to the E-mail inquiries, And the reception information of the mail is obtained from the first node according to first transaction code, and according to second transaction Code obtains the transmission information of the mail from second node, wherein one between first transaction code and second transaction code One is corresponding, and the second node refers to the position that the transmission information of the mail is saved in the block chain, the hair of the mail Breath of delivering letters refers to that the mail is sent to the information of second client by the transmission server;
Judgment module, for judging whether the transmission information of the mail matches with the reception information of the mail, if Match, it is determined that the mail delivery success.
Optionally, described to receive the characteristic information and mail that information includes: the mail that first client is sent Server receives the time of the mail;Wherein, the characteristic information includes: the cryptographic Hash of Mail Contents, the type of mail, hair Send or receive one or more combinations in the email address of mail and the IP address of client.
Optionally, the information that sends includes: the characteristic information of the received mail of second client and described Mail server sends the time of the mail.
Optionally, the judgment module, is specifically used for:
Judge in cryptographic Hash and the received mail of the second client for the Mail Contents that first client is sent Whether the cryptographic Hash of appearance is identical;
Judge the type of mail that first client is sent and the type of the received mail of the second client is It is no identical;
Judge the email address for sending or receiving mail and second client reception that first client is sent The email address for sending or receiving mail it is whether identical.
Optionally, the acquisition module, is also used to:
Obtain the content of the mail, wherein the content of the mail is text information or the file information;
The content of the mail is subjected to Hash calculation and obtains the cryptographic Hash of the Mail Contents.
Optionally, the sending module, is specifically used for:
First transaction code is sent to first client in the form of mail;Or
First transaction code is sent to first client in the form of instant communication information.
The third aspect, the application provide a kind of system of delivery, which includes: the first client, receives server, hair Send server and the second client;
The reception server, the mail sent for receiving first client, is sent to transmission for the mail Server sends first by the first node of the reception information preservation of the mail to block chain, and to first client Transaction code;And determine and receive the E-mail inquiries request that first client or second client are sent, wherein institute Stating E-mail inquiries request includes at least one of first transaction code or second transaction code, according to the E-mail inquiries It requests to determine first transaction code and second transaction code, and is obtained according to first transaction code from the first node The reception information of the mail, and believed according to second transaction code from the transmission that the second node obtains the mail Whether breath, the transmission information for judging the mail match with the reception information of the mail, if matching, it is determined that the mail is thrown Pass success;
The transmission server, the mail sent for receiving the reception server, determines and receives described the The mail reception request that two clients are sent, is sent to second client for the mail, and by the mail Send the second node that information preservation arrives the block chain, and to first client and second client transmission the Two transaction codes, wherein corresponded between second transaction code and first transaction code;
The mail for receiving the mail of user's input, and is sent to the reception and serviced by first client Device;And first transaction code is received, and receive second transaction code, and to described in reception server transmission E-mail inquiries request, wherein E-mail inquiries request include in first transaction code or second transaction code at least One;
Second client, the reception request of the mail for being sent to the transmission server, and to institute It states and receives the server transmission E-mail inquiries request, and receive second transaction code.
Fourth aspect, the application provide a kind of server, which includes:
Memory, for storing computer instruction;
Processor is connect with the memory, for executing the computer instruction in the memory, with described in the execution Method described in first aspect or first aspect any one method in the cards are executed when computer instruction.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer instruction, when the computer instruction is run on computers, so that computer executes first aspect institute The method stated or any one method in the cards of the first face.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of the system of mail delivery provided by the embodiment of the present application;
Fig. 2 is a kind of flow chart of the method for mail delivery provided by the embodiment of the present application;
Fig. 3 provides a kind of schematic diagram of block data structures by the embodiment of the present application;
Fig. 4 is a kind of structural schematic diagram of the device of mail delivery provided by the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of server provided by the embodiment of the present application.
Specific embodiment
In scheme provided by the embodiments of the present application, described embodiment is only some embodiments of the present application, rather than Whole embodiments.According to the embodiment in the application, those of ordinary skill in the art are not making creative work premise Under all other embodiment obtained, shall fall in the protection scope of this application.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical scheme It is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical scheme Thin explanation, rather than the restriction to technical scheme, in the absence of conflict, the embodiment of the present application and embodiment In technical characteristic can be combined with each other.
First introduce below the invention relates to some concepts.
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.
Fig. 1 show the invention relates to mail delivery system a kind of possible implementation, the system packet Include: the first client 101 receives server 102, sends server 103 and the second client 104.First client 101 for sending information to the reception server 102, and the server 102 that receives is used for the request that customer in response end is sent, The server 103 that sends is used to respond the request that second client 104 is sent, second client 104 be used for The transmission server 103 sends request, and receives the information for sending server 103 and feeding back.
It should be understood that the reception server 102 and the transmission server 103 can be same server, it is also possible to Different servers, herein with no restrictions.
Embodiment one
It is done further in detail below in conjunction with method of the Figure of description to a kind of mail delivery provided by the embodiment of the present application Thin explanation, this method specific implementation may comprise steps of (method flow is as shown in Figure 2):
Step 201, it receives server and receives the mail that the first client is sent, the mail is sent to transmission service Device, and by the first node of the reception information preservation of the mail to block chain, and send first to first client and hand over Easy code.
The information that receives includes: that the characteristic information for the mail that first client is sent and reception server connect Receive the time of the mail;Wherein, the characteristic information includes: the cryptographic Hash of Mail Contents, the type of mail, sends or receives One or more combinations in the email address of mail and the IP address of client.
It include multiple nodes in the linked data structure of the block chain, and each node is mutual by multiple blocks It is formed by connecting, data are to be stored in the form of block data structures into each block, wherein block is by block head and block Body two parts composition.User is in the first client-side editing text or the mail of file type, by first client by institute It states mail and is sent to mail server, wherein include the characteristic information of the mail in the mail, mail server receives institute The mail of the first client transmission is stated, and the reception information of the mail is saved in area in the form of block data structures In the block of the first node of block chain, and generate the first transaction code, the block of the first node and first transaction code one One is corresponding, wherein first transaction code is that have regular length and be that the number of class or letter form by one, mail service First transaction code is sent to first client by device.
Further, the mail is sent into information preservation to the purpose in block chain in order to realize.By mail reception information It is saved in front of the first node of block chain, further includes: obtain the content of the mail, wherein the content of the mail is text This information or the file information;The content of the mail is subjected to Hash calculation and obtains the cryptographic Hash of the Mail Contents.
Specifically, mail server by the mail text information or the file information extract, the text envelope Breath or the file information are converted into character string, then are consolidated the text string generation of the text information or the file information by hash function The value of measured length, wherein the value of the regular length is made of letter or number, is equivalent to an identity of the Mail Contents Card number, the hash function includes MD4, MD5, SHS etc..
For example, the text information of the mail is " all colleagues is asked to have a meeting No. 8.20 at 3 points in afternoons in Conference Room I ", Since each Chinese character or number are made of two characters, by transfer function by text information Chinese character or number be converted into Binary system, octal system, the decimal system or hexadecimal character string, for example, the transfer function includes ord () function, dechex () function or urldecode () function etc., then, mail server is using the character string of the text information of acquisition as Hash The input value of function, if the hash function is MD5 algorithm, in calculating process, mail server first determines whether input Chief Information Officer Whether degree (bit) is equal to 448 to the result of 512 complementations, if being not equal to, in a manner of filling one 1 and n 0, so that this is asked Remaining result is equal to 448, and after having filled, the length of information is just that N*512+448 (bit) then records the length of information, with 64 Position is reloaded into mark to store the preceding message length of filling so that the message length just becomes N*512+448+64=(N+1) * 512 Quasi- magic number (four integers): the magic number (physical sequential) of standard is (A=(01234567) 16, B=(89ABCDEF) 16, C= (FEDCBA98) (76543210) 16 16, D=), finally, the character string is grouped on the basis of 512, again by each group Change and be divided into the grouping of 16 32 seats, by four linear functions (& be with, | be or,~right and wrong, ^ are exclusive or) carry out cycle calculations Obtain the value of a regular length.
Further, in order to improve the flexibility that client obtains transaction code, the first transaction is sent to first client Code, comprising: send first transaction code to first client in the form of mail;Or in the form of instant communication information First transaction code is sent to first client.
Further, in order to which obtained mail is sent or received information preservation into block chain, the mail sends letter Breath or the data structure for receiving information are as shown in Figure 3.Each block includes block head and block body two parts;Block head includes: Block length, version number, father's block cryptographic Hash, Merkle root cryptographic Hash, timestamp, transaction number;Wherein, block length table Show with byte the size for indicating block after the block length field;Version number indicates the proof rule that the block is abided by, example Such as, 5 vision;Father's block cryptographic Hash is the cryptographic Hash that the cryptographic Hash of previous block is calculated by SHA256 algorithm; Merkle root cryptographic Hash: each block can save the information that multiple mails send or receive, by the block it is each transmission or The cryptographic Hash for receiving information is calculated by SHA256 algorithm each sends or receives the corresponding cryptographic Hash of information;Timestamp table Show the time proximity that the block generates, wherein the value of the timestamp must be strictly larger than the intermediate value of preceding 1 block time, with system On the basis of time, each node can also refuse those blocks for exceeding oneself 2 hour timestamp;The transaction count indicates should The quantity of the reception information or transmission information that include in block.Block body includes: type, outbox side, the recipient, transaction of transaction IP, transaction cryptographic Hash, sending time stamp.Wherein, type of transaction includes that mail server sends mail or receives mail, outbox side Refer to outbox side's email address, recipient refers to that recipient email address, transaction IP refer to that outbox side sends mail/recipient and connects The IP address of receiving emails, transaction cryptographic Hash refer to that the content of the mail passes through the cryptographic Hash that Hash operation obtains, sending time Stamp refers to that mail server sends or receives the system time of mail.
Step 202, it receives server and receives the E-mail inquiries request that first client or the second client are sent, Wherein, to include first transaction code or the transmission server be sent to described for the mail for E-mail inquiries request When two clients, at least one of the second transaction code of first client and second client transmission.
Specifically, in store preset account and cipher list in the database for sending server, user pass through the Two clients send account and password to mail server, the transmission server authentication account and password whether with it is preset Account and cipher list match, if in the preset account and cipher list including the account that second client is sent And password, then the server that sends receives the request that the second client receives mail, then, the transmission server authentication The email address of recipient that second client corresponds to the mail whether email address sends with first client is No identical, if they are the same, then the received mail is sent to second client by the transmission server, and generates second Transaction code corresponds between first transaction code and second transaction code, and the transmission server is by mail or i.e. When communication message form send second Transaction Information to first client and second client.
The server that receives determines the E-mail inquiries for receiving that first client or second client are sent Request, wherein the mail requests include at least one of first transaction code or second transaction code.
Specifically, receiving server receives the E-mail inquiries request that first client or second client are sent Mode may include:
Mode 1 receives the E-mail inquiries request that server receives the first client transmission, wherein the mail is looked into Asking request includes first transaction code.
Mode 2 receives the E-mail inquiries request that server receives the first client transmission, wherein the mail is looked into Asking request includes second transaction code.
Mode 3 receives the E-mail inquiries request that server receives the first client transmission, wherein the mail is looked into Asking request includes first transaction code and second transaction code.
Mode 4 receives the E-mail inquiries request that server receives the second client transmission, wherein the mail Inquiry request includes second transaction code.
It should be understood that the second node and the first node of the block chain can be same node, it is also possible to difference Node, herein with no restrictions.
Step 203, it receives server and determines that first transaction code and described second is handed over according to E-mail inquiries request Easy code, and the reception information of the mail is obtained according to first transaction code from the first node, and according to described Two transaction codes obtain the transmission information of the mail from second node, wherein first transaction code and second transaction code Between correspond, the second node refers to the position that the transmission information of the mail is saved in the block chain, the postal The transmission information of part refers to that the mail is sent to the information of second client by the transmission server;
It is described to send the characteristic information and transmission service that information includes: the received mail of second client Device sends the time of the mail.
Specifically, after the mail is sent to second client by the transmission server, by the hair of the mail Breath of delivering letters is saved in the second node of block chain, and second transaction code of generation is sent to described connect in the form of signaling Server is received, the signaling includes the content information of the email address for sending mail and the mail, the reception clothes Business device, which is based on the signaling, to establish one-to-one relationship between first transaction code and second transaction code.Work as reception When server receives E-mail inquiries request, server is received according to one between first transaction code and second transaction code One-to-one correspondence determines first transaction code and second transaction code, receives the server reception E-mail inquiries and asks There are many modes asked, comprising:
One, it receives server and receives the E-mail inquiries request that first client is sent, wherein the mail is looked into When asking request including first transaction code, specifically include:
When reception server receives first transaction code that first client is sent, server is received according to institute It states the one-to-one relationship between the first transaction code and second transaction code and determines second transaction code, according to described The corresponding relationship of first transaction code and the block chain first node, determines the reception of the mail from the first node Information, and according to the corresponding relationship of second transaction code and the block chain second node, it is determined from the second node The transmission information of the mail out.
Two, it receives server and receives the E-mail inquiries request that first client or the second client are sent, In, when the E-mail inquiries request includes second transaction code, specifically include:
When reception server receives second transaction code that first client or the second client are sent, receive Server determines first transaction according to relationship one-to-one between first transaction code and second transaction code Code, according to the corresponding relationship of first transaction code and the block chain first node, determines institute from the first node The reception information of mail is stated, and according to the corresponding relationship of second transaction code and the block chain second node, from described The transmission information of the mail is determined in two nodes.
Three, it receives server and receives the E-mail inquiries request that first client is sent, wherein the mail is looked into When asking request including first transaction code and second transaction code, specifically include:
When reception server receives first transaction code and second transaction code that first client is sent, Mail server is according to the corresponding relationship of first transaction code and the block chain first node, from the first node really Make the reception information of the mail, and according to the corresponding relationship of second transaction code and the block chain second node, from The transmission information of the mail is determined in the second node.
Step 204, it receives server and judges whether the transmission information of the mail matches with the reception information of the mail, If matching, it is determined that the mail delivery success.
Specifically, receiving server judges whether the transmission information of the mail matches with the reception information of the mail, Include:
Judge in cryptographic Hash and the received mail of the second client for the Mail Contents that first client is sent Whether the cryptographic Hash of appearance is identical;
Judge the type of mail that first client is sent and the type of the received mail of the second client is It is no identical;
Judge the email address for sending or receiving mail and second client reception that first client is sent The email address for sending or receiving mail it is whether identical.
Receive server according to first transaction code and second transaction code obtain the mail transmission information and It is described to send information and the characteristic information including the mail received in information after the reception information of the mail.It connects Server is received according to the characteristic information, first determines whether the cryptographic Hash and described for the Mail Contents that first client is sent Whether the cryptographic Hash of the received Mail Contents of two clients is identical, if the cryptographic Hash for the Mail Contents that first client is sent It is identical as the cryptographic Hash of the received Mail Contents of the second client, then judge the class for the mail that first client is sent Whether type identical as the type of the received mail of the second client, if first client send mail type with The type of the received mail of second client is identical, then judge that first client sends send or receive mail Whether email address and the received email address for sending or receiving mail of second client are identical, if first client With holding the email address for sending or receiving mail sent and the received mailbox for sending or receiving mail of second client Location is identical, it is determined that the transmission information of the mail and the reception information matches of the mail, the mail delivery success.
The method of mail delivery provided by the embodiments of the present application exists the transmission information of the mail and reception information preservation On the node of block chain, and after mail sends or receives, client is sent to corresponding mail or receiving end sends transaction code, When there is mail and denying behavior, the transmission information of mail is transferred in the block chain by the transaction code and receive information come Obtain the evidence denied, the data transparency that has due to block chain technology and can not tamper, postal is improved by block chain Part information and the confidence level for denying evidence.
Embodiment two
The application provides a kind of device of mail delivery, as shown in figure 4, the device includes:
Receiving module 401, the mail sent for receiving the first client, is sent to transmission server for the mail, And by the first node of the reception information preservation of the mail to block chain, and first is sent to first client and is traded Code;And receive the E-mail inquiries request that first client or the second client are sent, wherein the E-mail inquiries are asked It asks when the mail being sent to second client including first transaction code or the transmission server, to described At least one of the second transaction code that one client and second client are sent;
Module 402 is obtained, for determining first transaction code and second transaction according to E-mail inquiries request Code, and the reception information of the mail is obtained according to first transaction code from the first node, and according to described second Transaction code obtains the transmission information of the mail from second node, wherein first transaction code and second transaction code it Between correspond, the second node refers to the position that the transmission information of the mail is saved in the block chain, the mail Transmission information refer to that the mail is sent to the information of second client by the transmission server;
Judgment module 403, for judging whether the transmission information of the mail matches with the reception information of the mail, if Matching, it is determined that the mail delivery success.
Optionally, described to receive the characteristic information and reception that information includes: the mail that first client is sent Server receives the time of the mail;Wherein, the characteristic information includes: the cryptographic Hash of Mail Contents, the type of mail, hair Send or receive one or more combinations in the email address of mail and the IP address of client.
Optionally, the information that sends includes: the characteristic information of the received mail of second client and described Send the time that server sends the mail.
Optionally, the judgment module 403, is specifically used for:
Judge in cryptographic Hash and the received mail of the second client for the Mail Contents that first client is sent Whether the cryptographic Hash of appearance is identical;
Judge the type of mail that first client is sent and the type of the received mail of the second client is It is no identical;
Judge the email address for sending or receiving mail and second client reception that first client is sent The email address for sending or receiving mail it is whether identical.
Optionally, the acquisition module 402, is also used to:
Obtain the content of the mail, wherein the content of the mail is text information or the file information;
The content of the mail is subjected to Hash calculation and obtains the cryptographic Hash of the Mail Contents.
Optionally, the receiving module 401, is specifically used for:
First transaction code is sent to first client in the form of mail;Or
First transaction code is sent to first client in the form of instant communication information.
Embodiment three
The application provides a kind of system of delivery, as shown in Figure 1, the system includes: the first client 101, receives service Device 102 sends server 103 and the second client 104;
The reception server 102, the mail sent for receiving first client 101, the mail is sent It gives and sends server 103, by the first node of the reception information preservation of the mail to block chain, and to first client 101 send the first transaction code;And determine the postal for receiving that first client 101 or second client 104 are sent Part inquiry request, wherein the E-mail inquiries request includes at least one in first transaction code or second transaction code It is a, it is requested to determine first transaction code and second transaction code according to the E-mail inquiries, and according to first transaction Code obtains the reception information of the mail from the first node, and is obtained according to second transaction code from the second node Whether the transmission information for taking the mail, the transmission information for judging the mail match with the reception information of the mail, if Match, it is determined that the mail delivery success;
The transmission server 103, the mail sent for receiving the reception server 102, determination receive The mail reception request that second client 104 is sent, is sent to second client 104 for the mail, and By the transmission information preservation of the mail to the second node of the block chain, and to first client 101 and described Second client 104 sends the second transaction code, wherein corresponds between second transaction code and first transaction code;
The mail for receiving the mail of user's input, and is sent to the reception and taken by first client 101 Business device 102;And first transaction code is received, and receive second transaction code, and to the reception server 102 Send the E-mail inquiries request, wherein the E-mail inquiries request includes first transaction code or second transaction code At least one of;
Second client 104, the reception request of the mail for being sent to the transmission server 103, with And the E-mail inquiries request is sent to the reception server 102, and receive second transaction code.
Example IV
The application provides a kind of server, as shown in figure 5, the server includes:
Memory 501, for storing computer instruction;
Processor 502 is connect with the memory 501, for executing the computer instruction in the memory 501, with Method described in embodiment one is executed when executing the computer instruction.
Embodiment five
The embodiment of the present application provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter Calculation machine instruction, when the computer instruction is run on computers, so that computer executes method described in embodiment one.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of mail delivery characterized by comprising
The mail is sent to transmission server, and the reception of the mail is believed by the mail for receiving the transmission of the first client Breath is saved in the first node of block chain, and sends the first transaction code to first client;
Receive the E-mail inquiries request that first client or the second client are sent, wherein the E-mail inquiries request When the mail being sent to second client including first transaction code or the transmission server, to described first At least one of the second transaction code that client and second client are sent;
It is requested to determine first transaction code and second transaction code according to the E-mail inquiries, and according to first transaction Code obtains the reception information of the mail from the first node, and obtains institute from second node according to second transaction code State the transmission information of mail, wherein correspond between first transaction code and second transaction code, the second node Refer to the position that the transmission information of the mail is saved in the block chain, the transmission information of the mail refers to the transmission clothes The mail is sent to the information of second client by business device;
Whether the transmission information for judging the mail matches with the reception information of the mail, if matching, it is determined that the mail It delivers successfully.
2. the method as described in claim 1, which is characterized in that the reception information includes: that first client is sent The characteristic information and reception server of the mail receive the time of the mail;Wherein, the characteristic information includes: in mail One or more of cryptographic Hash, the type of mail, the email address for sending or receiving mail and IP address of client of appearance Combination.
3. method according to claim 2, which is characterized in that the transmission information includes: that second client is received The characteristic information of the mail and the time for sending server and sending the mail.
4. method as claimed in claim 3, which is characterized in that judge the transmission information of the mail and the reception of the mail Whether information matches, comprising:
Judge Mail Contents that first client is sent cryptographic Hash and the received Mail Contents of the second client Whether cryptographic Hash is identical;
Judge the type of the mail that first client is sent and the received mail of the second client type whether phase Together;
Judge the email address for sending or receiving mail and the received hair of the second client that first client is sent Whether the email address for sending or receiving mail is identical.
5. method as claimed in claim 4, which is characterized in that by the first node of mail reception information preservation to block chain it Before, further includes:
Obtain the content of the mail, wherein the content of the mail is text information or the file information;
The content of the mail is subjected to Hash calculation and obtains the cryptographic Hash of the Mail Contents.
6. method a method as claimed in any one of claims 1 to 5, which is characterized in that the first transaction code is sent to first client, Include:
First transaction code is sent to first client in the form of mail;Or
First transaction code is sent to first client in the form of instant communication information.
7. a kind of device of mail delivery characterized by comprising
The mail is sent to transmission server, and will be described for receiving the mail of the first client transmission by receiving module The reception information preservation of mail to block chain first node, and to first client send the first transaction code;And Receive the E-mail inquiries request that first client or the second client are sent, wherein the E-mail inquiries request includes When the mail is sent to second client by first transaction code or the transmission server, to first client At least one of the second transaction code that end and second client are sent;
Module is obtained, determines first transaction code and second transaction code, and root for requesting according to the E-mail inquiries Obtain the reception information of the mail from the first node according to first transaction code, and according to second transaction code from Second node obtains the transmission information of the mail, wherein one is a pair of between first transaction code and second transaction code It answers, the second node refers to the position that the transmission information of the mail is saved in the block chain, the transmission letter of the mail Breath refers to that the mail is sent to the information of second client by the transmission server;
Judgment module, for judging whether the transmission information of the mail matches with the reception information of the mail, if matching, Determine the mail delivery success.
8. a kind of system of mail delivery characterized by comprising the first client, receive server, send server and Second client;
The mail is sent to transmission service by the reception server, the mail sent for receiving first client Device sends the first transaction by the first node of the reception information preservation of the mail to block chain, and to first client Code;And determine and receive the E-mail inquiries request that first client or second client are sent, wherein the postal Part inquiry request includes at least one of first transaction code or second transaction code, is requested according to the E-mail inquiries Determine first transaction code and second transaction code, and described in obtaining from the first node according to first transaction code The reception information of mail, and the transmission information of the mail is obtained according to second transaction code from the second node, sentence Whether the transmission information of the mail of breaking matches with the reception information of the mail, if matching, it is determined that the mail delivery at Function;
The transmission server, the mail sent for receiving the reception server, determines and receives second visitor The mail reception request that family end is sent, is sent to second client for the mail, and by the transmission of the mail Information preservation and sends second to first client and second client and hands over to the second node of the block chain Easy code, wherein corresponded between second transaction code and first transaction code;
The mail for receiving the mail of user's input, and is sent to the reception server by first client;With And first transaction code is received, and receive second transaction code, and send the mail to the reception server Inquiry request, wherein the E-mail inquiries request includes at least one of first transaction code or second transaction code;
Second client, the reception request of the mail for being sent to the transmission server, and connect to described It receives server and sends the E-mail inquiries request, and receive second transaction code.
9. a kind of server characterized by comprising
Memory, for storing computer instruction;
Processor is connect with the memory, for executing the computer instruction in the memory, to execute the calculating The method as described in claim 1-6 is any is executed when machine instructs.
10. a kind of computer readable storage medium, which is characterized in that it is stored with computer instruction in the readable storage medium storing program for executing, When described instruction is run on computers, so that computer executes the method as described in claim 1-6 is any.
CN201811174016.9A 2018-10-09 2018-10-09 Mail delivery method, device and system Active CN109309613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811174016.9A CN109309613B (en) 2018-10-09 2018-10-09 Mail delivery method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811174016.9A CN109309613B (en) 2018-10-09 2018-10-09 Mail delivery method, device and system

Publications (2)

Publication Number Publication Date
CN109309613A true CN109309613A (en) 2019-02-05
CN109309613B CN109309613B (en) 2021-01-22

Family

ID=65225659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811174016.9A Active CN109309613B (en) 2018-10-09 2018-10-09 Mail delivery method, device and system

Country Status (1)

Country Link
CN (1) CN109309613B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831374A (en) * 2019-03-18 2019-05-31 深圳幂度信息科技有限公司 A kind of email distribution and reception system based on block chain
CN110351258A (en) * 2019-06-28 2019-10-18 太原理工大学 A kind of distributed electronic mailbox system based on no coin block chain technology
TWI732599B (en) * 2020-06-17 2021-07-01 區塊科技股份有限公司 System for validating e-mail integrity by inserting a media file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271903A (en) * 1999-04-24 2000-11-01 内克森公司 Internet E-mail system possessing receiving and acknowledgeing function and its method
US20050182959A1 (en) * 2002-02-19 2005-08-18 Postini, Inc. Systems and methods for managing the transmission of electronic messages via message source data
CN1665188A (en) * 2005-03-03 2005-09-07 武汉大学 Method for implementing security E-mail system having transmitting-receiving bidirectional nonrepudiation mechanism
CN102571627A (en) * 2010-12-08 2012-07-11 中国电信股份有限公司 E-mail transmitting method and system thereof
CN108540528A (en) * 2018-03-07 2018-09-14 胡金钱 Confirm electronic document be sent to method and system, computer storage media

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271903A (en) * 1999-04-24 2000-11-01 内克森公司 Internet E-mail system possessing receiving and acknowledgeing function and its method
US20050182959A1 (en) * 2002-02-19 2005-08-18 Postini, Inc. Systems and methods for managing the transmission of electronic messages via message source data
CN1665188A (en) * 2005-03-03 2005-09-07 武汉大学 Method for implementing security E-mail system having transmitting-receiving bidirectional nonrepudiation mechanism
CN102571627A (en) * 2010-12-08 2012-07-11 中国电信股份有限公司 E-mail transmitting method and system thereof
CN108540528A (en) * 2018-03-07 2018-09-14 胡金钱 Confirm electronic document be sent to method and system, computer storage media

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汪宗清: ""安全电子邮件中的抗目标抵赖协议"", 《计算机工程》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831374A (en) * 2019-03-18 2019-05-31 深圳幂度信息科技有限公司 A kind of email distribution and reception system based on block chain
CN109831374B (en) * 2019-03-18 2020-04-21 深圳幂度信息科技有限公司 Mail receiving and sending system based on block chain
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
TWI732599B (en) * 2020-06-17 2021-07-01 區塊科技股份有限公司 System for validating e-mail integrity by inserting a media file

Also Published As

Publication number Publication date
CN109309613B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US8255983B2 (en) Method and apparatus for email communication
US7149801B2 (en) Memory bound functions for spam deterrence and the like
CN102158468B (en) Method for sharing and acquiring data in social network service (SNS)
CN108235805A (en) Account unifying method and device and storage medium
CN104717232B (en) A kind of cryptographic system towards group
CN109614802B (en) Anti-quantum-computation signature method and signature system
US20040236953A1 (en) Method and device for transmitting an electronic message
CN109309613A (en) A kind of method, apparatus and system of mail delivery
CN109560935B (en) Anti-quantum-computation signature method and signature system based on public asymmetric key pool
CN109413096A (en) A kind of login method and device more applied
CN107437105B (en) Multi-role full-scene NFC and QR code safe express delivery system and use method
CN114329527A (en) Intersection data acquisition method, equipment and system
US20220020020A1 (en) Methods, systems, and devices for managing digital assets
CN100452712C (en) Method for automatic adding member and its system
CN108833431A (en) A kind of method, apparatus, equipment and the storage medium of password resetting
CN115840787B (en) Block chain-based supply chain data sharing method, device, equipment and medium
CN108718323A (en) A kind of identity identifying method and system
WO2012113288A1 (en) Method and device for keeping mail address secret
Goldstein et al. Network characteristics of blockchain technology of on board communication
CN107979613A (en) A kind of method and system of guarantee JMS message safety certifications
CN106997554A (en) A kind of credit note information table processing method and processing system
CN105025009B (en) A kind of method for strengthening mailing system access security and mail security access system
CN111741014B (en) Message sending method, device, server and storage medium
CN105721274B (en) The fusion method and device of one kind of multiple instant messagings
CN106790178B (en) Anti-intrusion authentication method, system and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant