Mail deposits card methods, devices and systemsTechnical field
The present embodiments relate to information security fields more particularly to a kind of mail to deposit card methods, devices and systems.
Background technique
In business cooperation, an envelope Email often includes many important informations during negotiation between both parties is negotiated.Due to electronics postalPart still has the characteristics such as easily disappear, easily distort, is easily damaged as electronic data, once dispute occurs, merely EmailIt is easy to be under suspicion when using as evidence, the proof that Email is possessed as convenient tool of communications originally can not be playedPower.This, which is not only examined to law court's evidence obtaining, brings difficulty, also brings obstruction to enterprise commerce contact.
Existing solution is that the judicial authorities such as public security, procuratorate or law court transfer electronics at Email operatorThe original electron data of mail, as verdict foundation.But this way is related to coordinating in many ways, and is limited to notary public internetThe problems such as technological know-how, human cost, time cost are excessively high, even while Email original electron data, also have byA possibility that distorting, therefore do not have stronger enforceability.
Summary of the invention
The present invention provides a kind of mail and deposits card methods, devices and systems, to realize by will be generated according to Mail ContentsMail is deposited card information and is stored in block chain network, using block chain network can not tamper, meet to transmit for user and mentionFor the demand of notarization service.
In a first aspect, the embodiment of the invention provides a kind of mails to deposit card method, executed by user terminal, the method packetIt includes:
Mail Contents to be sent are generated, mail is generated according to the Mail Contents and deposits card information;
The Mail Contents are sent to server-side, the Mail Contents are sent to by the server-side, and store instituteState Mail Contents;
The mail is deposited into card information as transactions requests and is sent to block chain network, the thing is handled by block chain networkBusiness request, and the mail is deposited into card information storage into block chain according to processing result.
Second aspect, the embodiment of the invention also provides a kind of mails to deposit card method, is held by the node in block chain networkRow, which comprises
Obtain user terminal send include the mail deposit card information transactions requests, wherein the mail deposit card information beUser terminal is generated according to Mail Contents to be sent;
Things request is handled, and the mail is deposited into the storage of card information to block chain according to processing resultIn.
The third aspect, the embodiment of the invention provides a kind of mails to deposit card device, is configured in user terminal, described device packetIt includes:
Mail deposits card information generating unit, for generating Mail Contents to be sent, generates postal according to the Mail ContentsPart deposits card information;
Mail Contents storage unit, for sending the Mail Contents to server-side, by the server-side to the mailContent is sent to, and stores the Mail Contents;
Transactions requests transmission unit is sent to block chain network for the mail to be deposited card information as transactions requests,The transactions requests are handled by block chain network, and the mail is deposited into card information storage into block chain according to processing result.
Fourth aspect, the embodiment of the invention also provides a kind of mails to deposit card device, the section being configured in block chain networkIn point, described device includes:
Transactions requests acquiring unit, the mail for obtaining user terminal transmission deposit the transactions requests of card information, whereinIt is that user terminal is generated according to Mail Contents to be sent that the mail, which deposits card information,;
Mail deposits card information memory cell, handles things request, and according to processing result by the mailCard information storage is deposited into block chain.
5th aspect, the embodiment of the invention provides a kind of mail deposit systems, and the system comprises be configured at user terminalIn the mail deposited in card device and the node that is configured in block chain network of mail deposit card device, and between described two devicesCommunication connection.
The present invention is by the way that on the basis of existing block chain technology, block chain, which is improved suitable project by Trading Model, to be neededThe Data Storage Models wanted, it is possible to provide data storage and query mechanism, and can store any data, this and existing most of areaBlock chain project has difference, while also remaining the characteristic of block chain, deposits card information to mail by block chain and stores,The mail record that can not be distorted notarization service can be provided to transmit user by realizing.
Detailed description of the invention
Fig. 1 is the flow chart that a kind of mail that the embodiment of the present invention one provides deposits card method;
Fig. 2 is the flow chart that a kind of mail provided by Embodiment 2 of the present invention deposits card method;
Fig. 3 is the structural schematic diagram that a kind of mail that the embodiment of the present invention three provides deposits card device;
Fig. 4 is the structural schematic diagram that a kind of mail that the embodiment of the present invention four provides deposits card device;
Fig. 5 is a kind of structural schematic diagram for mail deposit system that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for mail deposit system that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouchedThe specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to justOnly the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart that a kind of mail that the embodiment of the present invention one provides deposits card method, and the present embodiment is applicable to useFamily needs the case where mail record notarization, and this method can be deposited card equipment to execute, specifically by the mail being configured in user terminalInclude the following steps:
Step 101 generates Mail Contents to be sent, generates mail according to the Mail Contents and deposits card information.
Wherein, the Mail Contents can be the text in user's email, and the mail deposit card information and refer to mailThe information for needing to collect evidence may include mail signature, can also include mail fingerprint.
Specifically, system can encrypt the Mail Contents, and encrypted form may include after generating Mail ContentsThe forms such as symmetric cryptography and asymmetric encryption.Below by taking asymmetric encryption as an example, system can be according to the private in the affiliated channel of userKey and the Mail Contents, which calculate, generates mail signature, and further, system can also be according to the mail signature and hairPart people information, addressee information, outbox time, which calculate, generates mail fingerprint.Wherein, the sender information includes senderLocation and sender's identity ID etc., addressee information include address of the addressee and addressee's identity ID etc., and the mail signature needsThe corresponding public key of private key belonging to described in channel is verified, and the mail fingerprint is also that the public key is needed to be verified.
Step 102 sends the Mail Contents to server-side, is sent to by the server-side to the Mail Contents,And store the Mail Contents.
Wherein, the Mail Contents are transferred to receipts by internet after by the Mail Contents by the server-sidePart people, while the Mail Contents can also be stored.
The mail is deposited card information and as transactions requests is sent to block chain network by step 103, by block chain networkThe transactions requests are managed, and the mail is deposited into card information storage into block chain according to processing result.
Wherein, the block chain network is that one kind is deposited by data encryption, network common recognition, intelligent contract, distributed dataStorage and point-to-point transmission mechanism guarantee the consistency of the data on chain, can not distort the network with characteristics such as decentralizations, describedIt include multiple block chain nodes configured with block chain client in block chain network, block generates in the block chain networkAfter node receives the transactions requests, transactions requests are handled to obtain Transaction Information, generate block according to Transaction Information,The block of generation is added to local block chain, and by the encrypted communication of generation to other nodes in block chain network, other sectionsPoint is also handled received transactions requests, obtains block, and the block generated based on local side is generated node to block and passedDefeated block is verified, if verifying successfully, block is also added to local block chain;If verification failure, in transactions requestsData rewind.It is handled by block chain network, the mail is deposited card information and stored in the form of block chain to the block chain linkPoint in.
The technical solution of the embodiment of the present invention is stored in block by the way that the mail generated according to Mail Contents is deposited card informationIn chain network, using the consistency of block chain network, can not distort with the characteristics such as decentralization, solve Email deposit card toolThere is the problems such as easily disappearance, easily distort, is easily damaged.
Based on the above technical solution, it is stored after the mail deposits card information in the block chain network, it can be withIncluding step of inquiring and come to testify, specifically, it includes targeted mails identification information that user can send as desired by server-sideCard inquiry request is deposited, the block chain network deposits inquiry and the target postal in card information from the mail stored in block chain nodeThe associated targeted mails of part identification information deposit card information, then the mail is deposited card information and is sent to the server-side, for userInquiry.If desired, user can also apply coming to testify, specifically, user in server-side, clicks after applying coming to testify, server-side meetingAfter upchecking, the task of coming to testify is added in server-side service queue for the legitimacy for examining the user identity, if examined notPass through, then returns to corresponding error message to front end;Server-side is come to testify after task queue execution, so that it may generate a mail notarizationPdf document, Pdf content includes source of email channel, post time, sender, addressee information, public key, mail systemInitial data of uniting signature and eml download link, are supplied to user and notarize.
The advantages of this arrangement are as follows user can obtain email by operation of inquiring and come to testify when dispute occursRelevant mail deposits the electronic document of card information, and user deposits the electronic document of card information using the mail to safeguard the conjunction of oneselfMethod equity.
Embodiment two
Fig. 2 is the flow chart that a kind of mail provided by Embodiment 2 of the present invention deposits card method, and the present embodiment is applicable to useFamily needs the case where mail record notarization, and this method can deposit card equipment by the mail in the node that is configured in block chain networkIt executes, specifically comprises the following steps:
Step 201 obtains the transactions requests that card information is deposited including the mail that user terminal is sent, wherein the mail is depositedCard information is that user terminal is generated according to Mail Contents to be sent.
Wherein, the Mail Contents can be the text in user's email, and the mail deposit card information and refer to mailThe information for needing to collect evidence may include mail signature, can also include mail fingerprint.Step 202 requests to carry out to the thingsProcessing, and the mail is deposited into card information storage into block chain according to processing result.
Specifically, can be, block in block chain network generates node and other nodes obtain the packet for having user terminal to sendInclude the transactions requests that mail deposits card information.Block generates node and is handled transactions requests to obtain Transaction Information, according to affairsData generate block, the block of generation are added to local block chain, and by the encrypted communication of generation to its in block chain networkHis node, other nodes are also handled received transactions requests, obtain block, and the block generated based on local side is to areaThe block that block generates node-node transmission is verified, if verifying successfully, block is also added to local block chain;If verification failure,The then data rewind in transactions requests is handled by block chain network, and the mail is deposited card information and stored and arrive in the form of block chainIn the block chain node.
The technical solution of the embodiment of the present invention is stored in block by the way that the mail generated according to Mail Contents is deposited card informationIn chain network, using the consistency of block chain network, can not distort with the characteristics such as decentralization, solve Email deposit card toolThere is the problems such as easily disappearance, easily distort, is easily damaged.
Based on the above technical solution, the mail is being deposited into card information storage into block chain according to processing resultIt later, can also include providing a user query steps, specifically, the block chain network is receiving the user terminal transmissionInclude targeted mails identification information depositing card inquiry request after, can the block chain node from the block chain network look intoIt askes and deposits card information with the associated targeted mails of targeted mails identification information, and the mail is deposited into card information and is sent to userEnd.The advantages of this arrangement are as follows user can be supplied to user institute when needing to check that the mail for having sent out mail deposits card informationIt states and has sent out the mail of mail and deposit card information.
Embodiment three
Fig. 3 is the structural schematic diagram that a kind of mail that the embodiment of the present invention three provides deposits card device, and the mail deposits card dressIt sets and is configured in user terminal, mail provided by the executable embodiment of the present invention one deposits card method, and it is corresponding to have execution methodFunctional module and beneficial effect.As shown in figure 3, the specific structure that the mail deposits card device is as follows: mail deposits card information and generates listFirst 31, Mail Contents storage unit 32, transactions requests transmission unit 33;
The mail deposits card information generating unit 31, for generating Mail Contents to be sent, according to the Mail ContentsIt generates mail and deposits card information;
The Mail Contents storage unit 32, for sending the Mail Contents to server-side, by the server-side to instituteIt states Mail Contents to be sent to, and stores the Mail Contents;
The transactions requests transmission unit 33 is sent to block chain for the mail to be deposited card information as transactions requestsNetwork handles the transactions requests by block chain network, and the mail is deposited the storage of card information to block according to processing resultIn chain.
On the basis of the above embodiments, the mail is deposited card information generating unit 31 and specifically be can be used for: according to describedMail Contents described in the key pair of the affiliated email channel of Mail Contents are digitally signed, obtain mail deposit card information in includeMail signature.Further, the mail is deposited card information generating unit 31 and be can be also used for: described according to the Mail ContentsAfter Mail Contents described in the key pair of affiliated email channel are digitally signed, according to the sender information of mail, addresseeInformation, outbox time and the mail signature generate mail and deposit the mail fingerprint for including in card information.
On the basis of the above embodiments, described device can also include: to deposit card query unit, described to deposit card query unitFor: using the mail deposit card information be sent to block chain network as transactions requests after, to block chain network send includeTargeted mails identification information deposits card inquiry request, is deposited in card information and is inquired from the mail stored in block chain by block chain networkCard information is deposited with the associated targeted mails of targeted mails identification information;Obtain the mesh that the block chain network inquiresMark mail deposits card information.
On the basis of the above embodiments, described device can also include request unit of coming to testify, and be used for: obtaining the blockAfter the targeted mails that chain network inquires deposit card information, sending to server-side includes that coming to testify for local user's information is askedIt asks, legitimate verification is carried out to user according to local user's information by server;If it is determined that legitimate verification passes through, then institute is generatedState the result of coming to testify that targeted mails deposit card information.
Mail described in above-described embodiment deposits card device and deposits card method, skill for executing mail described in above-described embodiment oneArt principle is similar with the technical effect of generation, and which is not described herein again.
Example IV
Fig. 4 is the structural schematic diagram that a kind of mail that the embodiment of the present invention four provides deposits card device, and the mail deposits card dressIt sets in the node being configured in block chain network, mail provided by the executable embodiment of the present invention two deposits card method, has and holdsThe corresponding functional module of row method and beneficial effect.As shown in figure 4, the specific structure that the mail deposits card device is as follows: affairs are askedAcquiring unit 41, mail is asked to deposit card information memory cell 42;
Transactions requests acquiring unit 41, the affairs for depositing card information including the mail for obtaining user terminal transmission are askedIt asks, wherein it is that user terminal is generated according to Mail Contents to be sent that the mail, which deposits card information,;
Mail deposits card information memory cell 42, for handling things request, and according to processing result by instituteIt states mail and deposits card information storage into block chain.
On the basis of the above embodiments, described device further include: deposit card query unit, the card query unit of depositing is usedIn: receive user terminal transmission deposits card inquiry request including targeted mails identification information;It is deposited in card information from the mail of storageInquiry deposits card information with the associated targeted mails of targeted mails identification information;The target sent a query to the user terminalMail deposits card information.
Mail described in above-described embodiment deposits card device and deposits card method, skill for executing mail described in above-described embodiment twoArt principle is similar with the technical effect of generation, and which is not described herein again.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for mail deposit system that the embodiment of the present invention five provides, as shown in figure 5, the postalPart deposit system includes that mail deposits card device 51 and mail deposits card device 52, and the mail deposits card device 51 and is configured at user terminalIn, the mail is deposited in the node that card device 52 is configured in block chain network, and is communicated to connect between described two devices.
It includes that mail deposits card information generating unit 31, Mail Contents storage unit 32, transactions requests that mail, which deposits card device 51,Transmission unit 33.Wherein the mail deposits card information generating unit 31, for generating Mail Contents to be sent, according to the postalPart content generates mail and deposits card information;The Mail Contents storage unit 32, for sending the Mail Contents to server-side, byThe server-side is sent to the Mail Contents, and stores the Mail Contents;The transactions requests transmission unit 33 is usedIt is sent to block chain network in the mail is deposited card information as transactions requests, the affairs are handled by block chain network and are askedIt asks, and the mail is deposited into card information storage into block chain according to processing result.
Mail deposits card device 52 and deposits card information memory cell 42 including transactions requests acquiring unit 41, mail.Wherein affairsRequest unit 41, the mail for obtaining user terminal transmission deposits the transactions requests of card information, wherein the mail is depositedCard information is that user terminal is generated according to Mail Contents to be sent;Mail deposits card information memory cell 42, for the thingObject request is handled, and the mail is deposited card information storage into block chain according to processing result.
It should be noted that with reference to Fig. 6, mail deposit system can also include server-side, and user can be as desired byCard inquiry button is deposited in the server-side click, and then it includes targeted mails identification information that mail, which is deposited card inquiry request unit 34 and sent,Deposit card inquiry request, the block chain network deposits inquiry and the target in card information from the mail stored in block chain nodeThe targeted mails of mail piece identifiers information association deposit card information, then the mail is deposited card information and is sent to the server-side, forFamily inquiry.If desired, user can also apply coming to testify, specifically, user in server-side, clicks after applying for coming to testify key, clothesBusiness end can examine the legitimacy of the user identity, and after upchecking, the task of coming to testify is added in server-side service queue, ifInspection does not pass through, then returns to corresponding error message to front end;Server-side is come to testify after task queue execution, so that it may generate a postalThe Pdf document of part notarization, Pdf content includes, source of email channel, post time, sender, addressee information, public key,Mailing system initial data signature and eml download link, are supplied to user and notarize.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art thatThe invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present inventionIt is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, alsoIt may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.