CN103580991B - The method for uploading and equipment of a kind of Email attachment - Google Patents

The method for uploading and equipment of a kind of Email attachment Download PDF

Info

Publication number
CN103580991B
CN103580991B CN201310004182.5A CN201310004182A CN103580991B CN 103580991 B CN103580991 B CN 103580991B CN 201310004182 A CN201310004182 A CN 201310004182A CN 103580991 B CN103580991 B CN 103580991B
Authority
CN
China
Prior art keywords
annex
uploaded
storage server
size
group
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.)
Active
Application number
CN201310004182.5A
Other languages
Chinese (zh)
Other versions
CN103580991A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201310004182.5A priority Critical patent/CN103580991B/en
Publication of CN103580991A publication Critical patent/CN103580991A/en
Application granted granted Critical
Publication of CN103580991B publication Critical patent/CN103580991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiments of the present invention provide a kind of method for uploading of Email attachment.The method can for example include:The annex submitted to when user sends mail is obtained by HTTP HTTP;The save location of the annex is determined according to the size of the annex.Embodiments of the present invention are got after annex by mailbox server, judge it is ordinary attachments or super large annex according to annex size, and then the upload flow of the storage server for carrying out uploading to different, can avoid user each time send mail when, the phenomenon that can just be successfully transmitted annex of interacting repeatedly with mailbox server is required for, and then improves the efficiency that mailbox server processes the mail with annex.And from the user point of view, it is not necessary to all oneself judged and selected when the mail with annex is sent each time, be that user brings more preferable mailbox experience.Additionally, embodiments of the present invention provide a kind of uploading device of Email attachment, for example, mailbox server.

Description

The method for uploading and equipment of a kind of Email attachment
Technical field
Embodiments of the present invention are related to internet arena, more specifically, embodiments of the present invention are related to a kind of mail The method for uploading and equipment of annex.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein Description may include the concept that can be probed into, but be not necessarily the concept for having contemplated that or having probed into before.Therefore, unless This points out that the content otherwise described in this part is not existing skill for the description and claims of this application Art, and not because just recognizing it is prior art in being included in this part.
With the popularization of Internet technology, and between user online communation mode it is more and more convenient, Email is An essential instrument through being exchanged as user.The annex of Email is with shapes such as word forms or compressed formats The file that formula is present, by the forwarding of mailbox server, recipient user is reached from initiator user.Annex comes from amount of capacity Seeing can be divided into ordinary attachments and super large annex, and the size of ordinary attachments is usually no more than tens, and super large annex is then general It is hundreds of million, the total size even more than super large annex can reach 1G even 2G.Sent out to recipient user in initiator user After sending super large annex, mailbox server supports that the recipient user of any mailbox account number is downloaded with hyperlink form.Super large There is following some difference in addition to different in size, also from ordinary attachments in annex:First, super large annex provides independent surpassing Link form, and ordinary attachments then depend on Email;Second, ordinary attachments take the mailbox capacity of user, and super large is attached Part is individually stored in independent memory space.But super large annex is in the presence of certain phase that renews, for example, say 15 days, then renew the phase one Cross, super large annex will be automatically deleted by mailbox server.
The content of the invention
But, the present inventor has found in research process, in the prior art, the difference of super large annex and ordinary attachments, Result in the inconvenience of following two aspects:
On the one hand, sender user to mailbox server before Email attachment is uploaded, it is necessary to first judge attachment files Total capacity, if capacity exceedes the size of ordinary attachments, needs the function of selecting super large annex to upload, and is carried by mailbox server For the upload interface of super large annex, then the upload and transmission for carrying out Email attachment.And if user is sending the mail with annex When, it is required for first judging annex size each time, in addition it is also necessary to which selection sends the mode of annex, and that will certainly increase user When the mail with annex is sent with the interaction times of mailbox server, mailbox server mail of the treatment with annex is just have impact on Efficiency.Further, mailbox server is surprising in the pending number of mail of synchronization in practical application, therefore, Sent each time in the case that mail causes interaction times excessive in each user, for mailbox server systematic function shadow Sound is also huge.
If additionally, user is when the mail with annex is each time sent, being required for first judging that annex size reselection is sent out Mode is sent, will cause that the process of user's mail of the transmission with annex is comparatively laborious, user will reduced and use mailbox server Experience or impression.
On the other hand, from from the perspective of mailbox developer, because ordinary attachments are different with the function of super large annex, and Both are different in the implementation of accumulation layer, and ordinary attachments need mailbox server to be cached, and super large annex then will not be Mailbox server is cached, thus the exploitation of mailbox front end(Such as mailbox WEB is developed or the exploitation of mailbox client)Must realize Two funcalls, two interfaces uploaded to ordinary attachments upload and super large annex, this adds increased the complexity of exploitation.And Due to developing the lifting of complexity, also result in mailbox server and realize difficulty in objectively presence so that mailbox server Development efficiency is also more low.
Therefore, being highly desirable to the method for uploading and equipment of a kind of improved Email attachment(For example, mailbox server), to solve Certainly mail inefficiency this technical problem of mailbox server treatment with annex in the prior art, further, also reduces postal Case developer is realizing the difficulty of mailbox server, also lifts experience of the user using mailbox server.
In the present context, embodiments of the present invention are expected to provide the method for uploading and equipment of a kind of Email attachment.
In the first aspect of embodiment of the present invention, there is provided a kind of method for uploading of Email attachment, for example, can wrap Include:The annex submitted to when user sends mail is obtained by HTTP HTTP;Size according to the annex determines The save location of the annex.
In an embodiment of the invention, wherein, the size of the annex passes through http protocol and the mail one And obtain, or, obtained in real time when its corresponding save location is preserved by the annex.
In another embodiment of the present invention, the size in the annex is obtained in the lump by http protocol with the mail In the case of taking, the size according to the annex determines the save location of the annex, including:Judge the Mail Contents Size whether exceed default annex threshold value, if it is, determining that the save location of the annex stores clothes for super large annex Business device, if it is not, then the save location for determining the annex is ordinary attachments storage server.
In another embodiment of the present invention, the mail has one-to-one group letter information, described group of letter information Including group total item of letter and annex subitem, the annex subitem includes the size of the Message Digest 5 MD5 values of annex and annex;Example Can also such as include:The size and MD5 values of the annex are obtained from described group of letter information;According to the annex size and MD5 values judge the annex whether on be transmitted through, if it is not, then performing whether the size for judging the annex exceedes in advance If annex threshold value the step of, if it is, terminating current annex uploads flow.
In further embodiment of the invention, wherein, it is corresponding at it by the annex in the size of the annex Save location obtain in real time when being preserved in the case of, the size according to the annex determines the preservation of the annex Position, including:The initial stored position for determining the annex is ordinary attachments storage server;It is uploaded in the annex described During ordinary attachments storage server, what mailbox server obtained annex described in current time in real time has uploaded the big of part It is small;Whether the size that part has been uploaded described in judging exceedes default annex threshold value, and, the annex under the current time Whether upload and finished;If the size for having uploaded part exceedes default annex threshold value, and under the current time The annex has been uploaded and finished, it is determined that the final save location of the annex is super large annex storage server, and will be described Upload part and be transferred to super large annex storage server from the ordinary attachments storage server;If described uploaded part Size exceed default annex threshold value, and the annex is not uploaded and finished under the current time, it is determined that the annex Final save location is super large annex storage server, and the part that uploaded is turned from the ordinary attachments storage server Deposit to super large annex storage server, and, the part that do not upload of the annex is directly uploaded to the super large annex storage Server;If the size for having uploaded part is no more than default annex threshold value, and the annex under the current time Do not upload and finish, then return it is described it is real-time obtain current time described in annex the size for having uploaded part the step of.
In yet further embodiment of the invention, the process of ordinary attachments storage server is uploaded in the annex In, can also for example include:The upload part of annex described in synchronization caching.
In yet further embodiment of the invention, the part that uploaded is stored into clothes from the ordinary attachments described Business device is transferred to after super large annex storage server, for example, can also include:Periodically delete buffered annex Part is uploaded.
In another embodiment of the present invention, wherein, the mail has one-to-one group letter information, described group of letter Information includes the total item of group letter and annex subitem, and the described group of total item of letter is used for expression group letter and has used capacity;The real-time acquisition is current The size for having uploaded part of annex described in the moment, including:Believe in total item from the group in described group of letter information under current time Acquisition group letter has used capacity;Described group of letter has been defined as the size for having uploaded part of the annex with capacity.
In another embodiment of the present invention, the mail has one-to-one group letter information, described group of letter information Including group total item of letter and annex subitem, the annex subitem includes:Storage of the annex in the ordinary attachments storage server Path, or/and, store path of the annex in the super large annex storage server;Then it is described will described in upload unit Divide and be transferred to super large annex storage server from the ordinary attachments storage server, including:According to the annex described general The content of part has been uploaded described in store path acquisition in logical annex storage server;The content for having uploaded part is protected Deposit to the super large attachment server.
In another embodiment of the present invention, can also for example include:The content of part has been uploaded in institute described in The store path of super large annex storage server is stated, the annex subitem in described group of letter information is updated.
In the second aspect of embodiment of the present invention, there is provided a kind of uploading device of Email attachment, for example, can wrap Include:First acquisition unit, is configured to HTTP HTTP and obtains the annex submitted to during user's transmission mail;Really Order unit, is configured to determine according to the size of the annex save location of the annex.
In another embodiment of the present invention, wherein, the size of the annex passes through http protocol and the mail one And obtain, or, obtained in real time when its corresponding save location is preserved by the annex.
In another embodiment of the present invention, wherein, the annex size pass through http protocol and the mail In the case of obtaining in the lump, the determining unit includes:First judge module, is configured to judge the size of the Mail Contents Whether default annex threshold value is exceeded;First determining module, is configured to the result in the judge module in the case of being, The save location for determining the annex is super large annex storage server;Second determining module, is configured in the judgement mould In the case of the result of block is no, the save location for determining the annex is ordinary attachments storage server.
In another embodiment of the present invention, the mail has one-to-one group letter information, described group of letter information Including group total item of letter and annex subitem, the annex subitem includes the size of the Message Digest 5 MD5 values of annex and annex;Institute Stating equipment can also for example include:Second acquisition unit, is configured to be obtained from described group of letter information the size of the annex With MD5 values;Judging unit, be configured to according to the size and MD5 values of the annex judge the annex whether on be transmitted through; Trigger element, is configured to, in the case where the result of the judging unit is no, trigger the first judge module.
In a further embodiment of the invention, the annex size by the annex in its corresponding preservation position Put when being preserved in the case of acquisition in real time, the determining unit includes:3rd determining module, is configured to determination described attached The initial stored position of part is ordinary attachments storage server;Real-time acquisition module, is configured to be uploaded to institute in the annex During stating ordinary attachments storage server, the size for having uploaded part of annex described in current time is obtained in real time;Second Whether judge module, the size for being configured to uploaded described in judging part exceedes default annex threshold value, and, it is described current When inscribe the annex and whether uploaded and finish;4th determining module, if being configured to the size for having uploaded part More than default annex threshold value, and under the current time, the annex has been uploaded and finished, and determines the final preservation of the annex Position is super large annex storage server;5th determining module, if be configured to the size for having uploaded part exceeded in advance If annex threshold value, and the annex is not uploaded and finished under the current time, and the final save location for determining the annex is Super large annex storage server;Unloading module, is configured to upload part from the ordinary attachments storage server by described It is transferred to super large annex storage server;Uploading module, is configured to for the part that do not upload of the annex to be directly uploaded to institute State super large annex storage server;Trigger module, if being configured to the size for having uploaded part no more than default attached The annex is not uploaded and finished under part threshold value, and the current time, then trigger the real-time acquisition module.
In another embodiment of the invention, for example, can also include:Synchronization caching module, for described in synchronization caching The upload part of annex.
In another embodiment of the invention, for example, can also include:Removing module, for periodically deleting The upload part of the annex of caching.
In another embodiment of the invention, wherein, the real-time acquisition module includes:First acquisition submodule, uses In acquisition group letter has used capacity from the group letter total item in described group of letter information under current time;Determination sub-module, for inciting somebody to action Described group of letter has been defined as the size for having uploaded part of the annex with capacity.
In another embodiment of the invention, wherein, the mail has one-to-one group letter information, described group of letter Information includes the total item of group letter and annex subitem, and the annex subitem includes:Annex is in the ordinary attachments storage server Store path, or/and, store path of the annex in the super large annex storage server;The then unloading module bag Include:Second acquisition submodule, institute is obtained for the store path according to the annex in the ordinary attachments storage server State the content for having uploaded part;Submodule is preserved, for the content for having uploaded part to be preserved to super large annex clothes Business device.
In another embodiment of the invention, for example, can also include:Update module, is configured to be gone up described in The store path of the content in the super large annex storage server of part is passed, the annex subitem in described group of letter information is updated.
In embodiments of the present invention, when using webpage mailbox, user only needs to be submitted to by browser The annex of mail to be sent, without first judging the size reselection of annex which kind of sending method, by mailbox server Get after annex size, judge it is ordinary attachments or super large annex according to annex size, and then carry out uploading to difference Storage server upload flow, can thus avoid user each time send mail when, be required for repeatedly with The interaction of mailbox server can just be successfully transmitted the phenomenon of annex, and then improve the effect that mailbox server processes the mail with annex Rate.Further, embodiment party of the invention is implemented when mailbox server synchronization processes mass mailings in practical application Formula, the systematic function for mailbox server also has greatly improved.And from the user point of view, need not also send each time All oneself judged and selected during mail with annex, improved experience when user uses mailbox to send mail.
Brief description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to accompanying drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example, and not by way of limitation of the invention Dry implementation method, wherein:
Fig. 1 schematically shows the block diagram of the exemplary computer system 100 for being adapted for carrying out embodiment of the present invention;
Fig. 2 schematically shows a block schematic illustration for exemplary application scene of embodiments of the present invention;
Fig. 3 schematically shows method flow diagram according to an embodiment of the present invention;
Fig. 4 schematically shows the flow chart of the save location that the annex is determined according to the size of annex;
Fig. 5 schematically shows the method flow diagram according to a further embodiment of this invention;
Fig. 6 schematically shows the method flow diagram of a further embodiment of this invention;
Fig. 7 schematically shows the structural framing figure of the equipment of an embodiment of the present invention;
Fig. 8 schematically shows the structural framing figure present invention determine that unit;
Fig. 9 schematically shows the structural framing figure of the equipment of a further embodiment of this invention;
Figure 10 schematically shows the structural framing figure of the equipment of a further embodiment of this invention;
Figure 11 schematically shows the structural framing figure of real-time acquisition module;
Figure 12 schematically shows the structural framing figure of unloading module.
In accompanying drawing, identical or corresponding label represents identical or corresponding part.
Specific embodiment
Principle of the invention and spirit are described below with reference to some illustrative embodiments.It should be appreciated that providing this A little implementation methods are used for the purpose of better understood when those skilled in the art and then realizing the present invention, and not with any Mode limits the scope of the present invention.Conversely, these embodiments are provided so that the disclosure is more thorough and complete, and energy It is enough that the scope of the present disclosure is intactly conveyed into those skilled in the art.
Fig. 1 shows the block diagram of the exemplary computer system 100 for being adapted for carrying out embodiment of the present invention.As shown in figure 1, meter Calculation system 100 can include:CPU(CPU)101st, random access memory(RAM)102nd, read-only storage(ROM) 103rd, system bus 104, hard disk controller 105, KBC 106, serial interface controller 107, parallel interface controller 108th, display controller 109, hard disk 110, keyboard 111, serial peripheral equipment 112, concurrent peripheral equipment 113 and display 114. In these equipment, what is coupled with system bus 104 has CPU101, RAM102, ROM103, hard disk controller 105, KBC 106th, serialization controller 107, parallel controller 108 and display controller 109.Hard disk 110 is coupled with hard disk controller 105, key Disk 111 is coupled with KBC 106, and serial peripheral equipment 112 is coupled with serial interface controller 107, concurrent peripheral equipment 113 are coupled with parallel interface controller 108, and display 114 is coupled with display controller 109.It should be appreciated that described in Fig. 1 Structured flowchart just for the sake of example purpose, without limiting the scope of the present invention.In some cases, can basis Concrete condition increases or decreases some equipment.
Art technology technical staff knows that embodiments of the present invention can be implemented as a kind of system, method or calculating Machine program product.Therefore, the disclosure can be implemented as following form, i.e.,:Complete hardware, complete software(Including solid Part, resident software, microcode etc.), or the form that hardware and software is combined, referred to generally herein as " circuit ", " module " or " it is System ".Additionally, in some embodiments, the present invention is also implemented as the meter in one or more computer-readable mediums The form of calculation machine program product, includes computer-readable program code in the computer-readable medium.
Can be using any combination of one or more computer-readable media.Computer-readable medium can be calculated Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example may be, but not limited to, The system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or device, or it is any more than combination.Computer-readable The more specifically example of storage medium(Non-exhaustive examples)Can for example include:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access memory(RAM), read-only storage (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can be it is any comprising or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device and use or in connection.
Computer-readable signal media can include the data-signal propagated in a base band or as a carrier wave part, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limit In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Read any computer-readable medium beyond storage medium, the computer-readable medium can send, propagates or transmit to be used for Used by instruction execution system, device or device or program in connection.
The program code included on computer-readable medium can use any appropriate medium to transmit, including but not limited to without Line, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
Computer for performing present invention operation can be write with one or more programming language or its combination Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform on the user computer, partly perform on the user computer, performed as an independent software kit, portion Part on the user computer is divided to perform on the remote computer or performed on remote computer or server completely. It is related in the situation of remote computer, remote computer can be by the network of any kind(Including LAN (LAN) or wide area Net (WAN))Subscriber computer is connected to, or, it may be connected to outer computer(For example using ISP come By Internet connection).
Below with reference to the flow chart and equipment of the method for embodiment of the present invention(Or system)Block diagram description the present invention Implementation method.It should be appreciated that in each square frame and flow chart and/or block diagram of flow chart and/or block diagram each square frame group Conjunction can be realized by computer program instructions.These computer program instructions can be supplied to all-purpose computer, dedicated computing The processor of machine or other programmable data processing units, so as to produce a kind of machine, these computer program instructions pass through Computer or other programmable data processing units are performed, and are generated specified in the square frame realized in flow chart and/or block diagram The device of function/operation.
The storage of these computer program instructions can also caused computer or other programmable data processing units In the computer-readable medium for working in a specific way, so, the instruction stored in computer-readable medium just produces one It is individual including realizing flow chart and/or block diagram in square frame specified in function/operation command device product.
Computer program instructions can also be loaded into computer, other programmable data processing units or miscellaneous equipment On so that series of operation steps is performed on computer, other programmable data processing units or miscellaneous equipment, in terms of producing The process that calculation machine is realized, so that the instruction performed on computer or other programmable devices can be provided and realize flow chart And/or the process of function/operation specified in the square frame in block diagram.
According to the embodiment of the present invention, it is proposed that the method for uploading and equipment of a kind of Email attachment.
Herein, it is to be understood that any number of elements in accompanying drawing is used to example and unrestricted and any Name is only used for distinguishing, without any limitation.
Below with reference to some representative embodiments of the invention, principle of the invention and spirit are explained in detail.
Summary of the invention
The inventors discovered that, in the prior art because super large annex is different with ordinary attachments function, the reality of its accumulation layer Now also different, so user is when annex is uploaded, it is necessary to first calculate the total capacity of annex to be uploaded, the total capacity according to annex is come Judge that annex to be uploaded is ordinary attachments or super large annex so that the process that user sends the mail with annex is more numerous It is trivial, reduce user and use mailbox to upload the experience of annex, also reduce the efficiency that mailbox server processes mail.Further , when realizing that super large annex is uploaded and ordinary attachments are uploaded, it is necessary to annex is uploaded and calls two interfaces, this is developed to mailbox The complexity of exploitation is increased for person, mailbox server is result in and is realized difficulty in objectively presence so that mailbox server Development efficiency it is also more low.
If aspect can called to merge super large annex and ordinary attachments, unified upload AUI is provided to user, The just experience of energy significant increase mailbox user, while also reducing the work difficulty of mailbox front end developer.Here it is mail Annex merges the problem for uploading and needing to solve, that is, realize that the upload of super large annex and ordinary attachments upload the system in front end interface aspect One, the attachment upload capability of transparence is provided for domestic consumer and mailbox front end developer.
After general principle of the invention is described, lower mask body introduces various non-limiting embodiment party of the invention Formula.
Application scenarios overview
With reference first to Fig. 2, Fig. 2 is a block schematic illustration for exemplary application scene of embodiments of the present invention.Its In, user is interacted by client 202 with mailbox server 201, and mailbox server 201 uploads the big of annex according to user Small difference, carries out information exchange with super large annex storage server 203 and ordinary attachments storage server 204 respectively.Ability Field technique personnel are appreciated that the block schematic illustration shown in Fig. 2 is only that embodiments of the present invention can be achieved wherein An example.The scope of application of embodiment of the present invention is not limited by any aspect of the framework.
It should be noted that client 202 herein can be it is existing, research and develop or in the future research and development, can By any type of wired or wireless connection(For example, Wi-Fi, LAN, WAN, internet etc.)Interacted with mailbox server 201 Any client, including but not limited to:It is existing, research and develop or in the future research and development, desktop computer, calculating on knee Machine, mobile terminal(Including smart mobile phone, non-smart mobile phone, various panel computers)Deng.
It is also to be noted that mailbox server 201 herein be only it is existing, research and develop or in the future research and development, An example, the super large annex storage server 203, ordinary attachments storage service of the equipment of mail service can be provided a user with Device 204 be only it is existing, research and develop or research and development in the future, an example of storage device that is can storing user's annex. Embodiments of the present invention are unrestricted in this regard.
The client 202 that mailbox server 201 can be used according to user is obtained by the mail that http protocol sends and used Family sends the annex submitted to during mail, if what the size of the annex was obtained in the lump by http protocol and the mail, The mailbox server 201 determines the save location of the annex according to the size of annex.Specifically, mailbox server 201 is sentenced Whether the size of the disconnected Mail Contents exceedes default annex threshold value, if it is, the save location for determining the annex is Super large annex storage server 203, if it is not, then the save location for determining the annex is ordinary attachments storage server 204.
Illustrative methods
With reference to the application scenarios of Fig. 2, the Email attachment according to exemplary embodiment of the invention is described with reference to Figure 3 Method for uploading.It should be noted that above-mentioned application scenarios are for only for ease of and understand spirit and principles of the present invention and shows, Embodiments of the present invention are unrestricted in this regard.Conversely, embodiments of the present invention can apply to applicable appointing What scene.
It is the flow chart of the implementation method of method for uploading one of Email attachment disclosed by the invention, this implementation with reference to shown in Fig. 3 Mode specifically can for example include:
Step 301:The annex submitted to when user sends mail is obtained by HTTP HTTP.
In present embodiment, user uploads client and e-mail attachment is uploaded to mailbox server in HTTP forms, User uploads client first need not select ordinary attachments to upload or the upload of super large annex according to the size of attachment files, but adopt Uploaded with the HTTP annexes of common version, so present embodiment is directed to HTTP clients.When the user sends mail The annex of submission refers to all annexes in the same envelope mail that user sends, to ensure the integrality of an envelope mail.
Step 302:The save location of the annex is determined according to the size of the annex.
Under practical application scene, different size of annex, the position of preservation be it is different because super large attachment files by In its memory space is larger and transmission time is more long, it is necessary to individually be stored in super large annex storage server.
Wherein, the size of the annex can in the lump be obtained by http protocol with the mail, or, can be by institute Annex is stated to be obtained in real time when its corresponding save location is preserved.Http protocol and the mail are passed through with the size of annex As a example by obtaining in the lump, may be referred to shown in Fig. 4, be of the save location that the annex is determined according to the size of the annex Preferred flow, can specifically include:
Step 401:The annex and annex size submitted to when user sends mail are obtained by HTTP HTTP.
The Mail Contents include all annexes of an envelope Email, and the client in present embodiment is HTTP client End, generally browser, such as IE, Firefox etc., in the HTTP clients, some are with annex size computing function 's.When user uploads annex by mail, the annex size that HTTP clients will be calculated passes through HTTP HTTP and user mail annex are submitted to together, so that mailbox server can just get the size that user uploads annex, institute The size for stating annex refers to the total size of all annexes in same envelope Email.
Step 402:Judge whether the size of the Mail Contents exceedes default annex threshold value, if it is, into step Rapid 403;If it is not, then into step 404.
Preferably, the annex threshold value is to discriminate between the dividing value that annex is ordinary attachments or super large annex, specifically, described Annex threshold value can be set by the concrete condition in practical application, and its size is not especially limited here.
Step 403:The save location for determining the annex is super large annex storage server.
If the size of Mail Contents has exceeded default annex threshold value, the Email attachment is illustrated for super large annex, Need to be saved in super large annex storage server.
Step 404:The save location for determining the annex is ordinary attachments storage server.
If the size of Mail Contents is not less than default annex threshold value, illustrate that the Email attachment is common attached Part is, it is necessary to be saved in ordinary attachments storage server.
In the present embodiment, user is when using webpage mailbox, it is only necessary to submitted to by browser to be sent The annex of mail, without first judging the size reselection of annex which kind of sending method, is got by mailbox server After annex size, judge it is ordinary attachments or super large annex according to annex size, and then the annex is uploaded into difference Storage server.Can thus avoid user when mail is sent each time, be required for repeatedly and mailbox server Interaction can just be successfully transmitted the phenomenon of annex, and then improve the efficiency that mailbox server processes the mail with annex.Further , in practical application when mailbox server synchronization processes mass mailings, implement embodiments of the present invention, for mailbox The systematic function of server also has greatly improved.And from the user point of view, also the postal with annex need not sent each time All oneself judged during part and selected, experience when improving user using mailbox transmission mail.
In actual applications, a user sends identical to other different multiple users in the different time sometimes Attachment files, now, if being transmitted through this annex on user, send described attached in the user to other different multiple users During part, the phenomenon of upload will be duplicated, reduce transfer efficiency on annex.So when the upload of attachment files is carried out, it is excellent Choosing, mailbox server can carry out duplicate removal treatment before annex is uploaded to annex to be uploaded.Specifically, may be referred to Fig. 5 It is shown, it is the flow chart of the implementation method of method for uploading two of Email attachment disclosed by the invention, present embodiment specifically for example may be used To include:
Step 501:The annex and annex size submitted to when user sends mail are obtained by HTTP HTTP.
Step 502:The size and MD5 values of the annex are obtained from the group letter information of the mail.
Under practical application scene, there is one-to-one group letter information, institute in each Email in mailbox server The form for stating group letter information is as follows:
Group letter information includes the total item of group letter and annex subitem;
Wherein the total item of group letter includes that positional information of the Email in mailbox server and group letter have used capacity(Same envelope The upload size of annex in mail);The annex subitem can be one, or multiple, each annex subitem correspondence An annex in same envelope mail.Specifically, annex subitem include again attachment files mark, the MD5 values of attachment files, The path of the size of attachment files, the title of attachment files and attachment files.
Step 503:According to the size and MD5 values of the annex judge the annex whether on be transmitted through, if it is not, then Into step 504, if it is, into step 507.
Some annex in the same envelope mail of big little finger of toe of the annex.The size and MD5 values of annex can be utilized, is come Whether the annex that judgement is uniquely determined is protected in ordinary attachments storage server or super large annex storage server Deposit, if having preserved the annex for uniquely determining, then illustrate that the annex is transmitted through on, if not preserving this The annex for uniquely determining, then be transmitted through on illustrating the annex also not.
Step 504:Judge whether the size of the Mail Contents exceedes default annex threshold value, if it is, into step Rapid 505;If it is not, then into step 506.
If annex to be uploaded not on be transmitted through, need to judge the Mail Contents size whether exceed it is default attached Part threshold value, is that super large annex storage server or ordinary attachments are stored with the storage destination server for determining the Mail Contents Server.
Step 505:The save location for determining the annex is super large annex storage server;
Step 506:The save location for determining the annex is ordinary attachments storage server.
Step 507:The annex is obtained from the save location of the annex.
If be transmitted through on annex to be uploaded, user avoids the need for repeating described to be uploaded attached to mailbox server upload Part, but mailbox server needs the save location from annex(Super large annex storage server or ordinary attachments storage service Device)The annex is got, smoothly to perform the transmission flow of this mail.
In present embodiment, in addition to it can realize the beneficial effect that implementation method one is brought, further, by uploading During annex, duplicate removal treatment is carried out to annex, it is to avoid same user corresponding same annex is repeated several times upload, further carries The efficiency that annex high is uploaded.
From implementation method one, the size of the annex can in the lump be obtained by http protocol with the mail, or Person, can in real time be obtained by the annex when its corresponding save location is preserved.If browser does not have annex meter Function is calculated, then can not in the lump obtain the size of the annex with the mail by http protocol.In such a case it is necessary to logical Cross the size that the annex obtains the annex when its corresponding save location is preserved in real time.Now, realize that mail is attached Implementing for part upload may be referred to shown in Fig. 6, be the method for uploading implementation method three of Email attachment disclosed by the invention Flow chart, present embodiment specifically can for example include:
Step 601:Mailbox server determines that the initial stored position of the annex is ordinary attachments storage server.
The annex is obtained by the annex in real time when its corresponding save location is preserved in mailbox server Size this case under, annex unification it is to be uploaded to ordinary attachments storage server.
Step 602:During the annex is uploaded to the ordinary attachments storage server, mailbox server is real-time Obtain the size for having uploaded part of annex described in current time.
Under practical application scene, the mail has one-to-one group letter information, and described group of letter information includes that group is believed Total item and annex subitem, the described group of total item of letter are used for expression group letter and have used capacity, described group of letter to be the annex with capacity The size for having uploaded part.
Step 603:The upload part of annex described in synchronization caching.
During the annex is uploaded to ordinary attachments storage server by mailbox server, the mailbox server Can be with the upload part of annex described in synchronization caching.
Step 604:Whether the size for having uploaded part is judged more than default annex threshold value, if so, into step 605, if it is not, into step 610.
In the step 604, total item is believed by group in reading group letter information it is known that annex upload unit Point size, unlike the implementation method one and implementation method two, judging that annex uploaded the big of part Whether small, if exceeding, be that the size for having uploaded part is more than default annex threshold value more than after default annex threshold value, then say Bright annex is super large annex, if not less than, be uploaded part size be equal to or less than default annex threshold value, then simultaneously The annex directly can not be uploaded into corresponding annex storage server, also to judge whether the annex uploads and finish, with Ensure the accuracy that the integrality and annex of annex are uploaded.
Step 605:Judge under the current time whether the annex has uploaded to finish, if so, into step 606, If it is not, then entering step 607.
Step 606:The final save location of the annex is determined for super large annex storage server, and has been uploaded described Part is transferred to super large annex storage server from the ordinary attachments storage server.
If the size of the annex for obtaining in real time has exceeded default annex threshold value, and the annex has been uploaded Finish, then illustrate that the annex is super large annex, the save location of super large annex is for super large annex storage server, it is necessary to by institute State during annex dumps to super large annex storage server.It is described the annex is dumped to it is specific in super large annex storage server Can include:
The annex that annex subitem of the mailbox server in corresponding group of letter information of mail includes is in the ordinary attachments Store path in storage server, obtains the content of the annex, and the attachment content of acquisition then is transferred into the super large Attachment server.
Step 607:Determine the final save location of the annex for super large annex storage server, will described in upload unit Divide from the ordinary attachments storage server and be transferred to super large annex storage server, and the annex is not uploaded into part directly Connect and reach the super large annex storage server.
If the size of the annex for obtaining in real time has exceeded default annex threshold value, and the annex has not been uploaded Finish, also illustrate that the annex is super large annex, save location is super large annex storage server, it is necessary to the annex has been uploaded Part is dumped in super large annex storage server, while the part that do not upload of the annex is uploaded into super large annex storage clothes Business device.Specifically, the part that uploaded is transferred to super large annex storage server from the ordinary attachments storage server, And the part that do not upload of the annex is directly uploaded to the super large annex storage server, can include:
First, the annex that annex subitem of the mailbox server in corresponding group of letter information of mail includes is described common Store path in annex storage server, obtains the upload content of the annex, in the annex of upload that then will be obtained Appearance is transferred to the super large attachment server.
Secondly, the annex is not uploaded partly to upload to and states super large annex storage server by mailbox server.So far, Complete uploading for Email attachment.
Step 608:The store path of the content in the super large annex storage server of part is uploaded described in, more Annex subitem in new described group of letter information.
After the attachment content of acquisition is transferred to the super large attachment server by mailbox server, the annex is also updated Store path, specifically, mailbox server is by annex described in current time, and store path in super large attachment server is protected It is stored to the annex subitem in corresponding group of letter information of the mail.
Step 609:Periodically delete the upload part of buffered annex.
After the attachment content of acquisition is transferred to the super large attachment server by mailbox server, the mailbox server can Periodically to delete the upload part of the buffered annex in the buffer.Wherein, mailbox server is without every time All real-time synchronization deletes the attachment content of caching after unloading is finished, and cache contents can be deleted regularly, so as to identical content Annex can also have an opportunity foundation MD5 extremely and annex size is detected to be transmitted through on, so as to reduce client transmissions annex Time.
Step 610:If the annex is not uploaded and finished under the current time, return to step 602.
It should be noted that in figure 6, although step 608 is performed after step 609, but those skilled in the art It is appreciated that fixed sequencing relation is had no between step 608 and step 609 in fact.
In the present embodiment, user is when using webpage mailbox, it is only necessary to submitted to by browser to be sent The annex of mail, without the size reselection of annex which kind of sending method first judged, because under practical application scene, Some browsers can not calculate the size of annex, thus in present embodiment by mailbox server it is unified will be to be uploaded attached Part determines to upload to ordinary attachments storage server, and then the group letter information according to mail obtains uploaded the big of annex in real time Whether small and annex uploads and finishes, so that it is determined that the type of the annex, is super large annex or ordinary attachments, if super large Annex, just dumps to super large annex storage server by the part that the annex has been uploaded.By present embodiment, equally may be used To avoid user when mail is sent each time, it is required for repeatedly just being successfully transmitted annex with interacting for mailbox server Phenomenon, and then improve mailbox server process the mail with annex efficiency.Further, in mailbox service in practical application During device synchronization treatment mass mailings, implement embodiments of the present invention, the systematic function for mailbox server also has very Big lifting.And from the user point of view, also oneself need not all be judged and be selected when the mail with annex is sent each time Select, experience when improving user using mailbox transmission mail.
Example devices
After the method for describing exemplary embodiment of the invention, next, with reference to Fig. 7, Fig. 7 is implementation of the present invention Equipment disclosed in mode(For example, mailbox server)An implementation method structural representation, present embodiment corresponds to institute The equipment of method implementation method one that a kind of Email attachment is uploaded is stated, on exemplary embodiment of the invention, a kind of Email attachment The equipment of biography, specifically can for example include:
First acquisition unit 701, is configured to HTTP HTTP and obtains submission when user sends mail Annex;
Determining unit 702, is configured to determine according to the size of the annex save location of the annex.
Wherein, the size of the annex is obtained in the lump by http protocol with the mail, or, existed by the annex Its corresponding save location is obtained in real time when being preserved.Pass through http protocol with the mail in the lump in the size of the annex In the case of acquisition, with reference to shown in Fig. 8, the determining unit 702 can specifically include:
First judge module 801, is configured to judge whether the size of the Mail Contents exceedes default annex threshold value;
First determining module 802, is configured to the result in the judge module in the case of being, to determine the annex Save location be super large annex storage server;
Second determining module 803, is configured in the case of the result of the judge module is no, determines the annex Save location is ordinary attachments storage server.
It can be seen that, the equipment provided in present embodiment so that in user when using webpage mailbox, it is only necessary to pass through Browser submits the annex of mail to be sent to, without the size reselection of annex which kind of sending method first judged, After getting annex size by mailbox server, judge it is ordinary attachments or super large annex according to annex size, and then will The annex uploads to different storage servers.Can thus avoid user when mail is sent each time, all need Will repeatedly with the phenomenon that can just be successfully transmitted annex of interacting of mailbox server, and then improve mailbox server treatment with annex The efficiency of mail.Further, implement of the invention when mailbox server synchronization processes mass mailings in practical application Implementation method, the systematic function for mailbox server also has greatly improved.And from the user point of view, also need not be each time All oneself judged and selected when the mail with annex is sent, experience when improving user using mailbox transmission mail.
The mail has one-to-one group letter information, and described group of letter information includes the total item of group letter and annex subitem, institute Stating annex subitem includes the size of the Message Digest 5 MD5 values of annex and annex, is embodiment party of the present invention with reference to shown in Fig. 9 Equipment disclosed in formula(For example, mailbox server)Another implementation method structural representation, present embodiment corresponds to institute The equipment for stating the method implementation method two that a kind of Email attachment is uploaded, in addition to the unit shown in Fig. 8, the equipment also includes:
Second acquisition unit 901, is configured to be obtained from described group of letter information the size and MD5 values of the annex;
Judging unit 902, is configured to judge whether the annex has uploaded according to the size and MD5 values of the annex Cross;
Trigger element 903, is configured in the case where the result of the judging unit is no, and triggering first judges mould Block;
3rd acquiring unit 904, the result being configured in the judging unit is in the case of being, from the annex Save location obtains the annex.
The equipment for providing in the present embodiment, except the beneficial effect that the equipment belt shown in described Fig. 7 comes can be realized Outward, further, by uploading during annex, duplicate removal treatment is carried out to annex, it is to avoid same user corresponding same annex Upload is repeated several times, the efficiency of annex upload is further increased.
In the feelings that the size of the annex is obtained in real time by the annex when its corresponding save location is preserved It is equipment disclosed in embodiment of the present invention with reference to shown in Figure 10 under condition(For example, mailbox server)Another implementation method Structural representation, the equipment that present embodiment corresponds to the method implementation method three that a kind of Email attachment is uploaded, except Outside unit shown in Fig. 7, the equipment also includes:
Synchronization caching module 1001, is configured to the upload part of annex described in synchronization caching.
Update module 1002, is configured to upload the content of part in the super large annex storage server described in Store path, update described group of letter information in annex subitem.
Removing module 1003, is configured to periodically delete the upload part of buffered annex.
The determining unit 702 can specifically include:
3rd determining module 1004, the initial stored position for being configured to determine the annex is ordinary attachments storage service Device;
Real-time acquisition module 1005, is configured to be uploaded in the annex process of the ordinary attachments storage server In, the size for having uploaded part of annex described in current time is obtained in real time;
Whether the second judge module 1006, the size for being configured to uploaded described in judging part exceedes default annex threshold Value, and, whether the annex has uploaded and has finished under the current time;
4th determining module 1007, if being configured to the size for having uploaded part more than default annex threshold value, And the annex has been uploaded and finished under the current time, determine that the final save location of the annex stores clothes for super large annex Business device;
5th determining module 1008, if being configured to the size for having uploaded part more than default annex threshold value, And the annex is not uploaded and finished under the current time, determine that the final save location of the annex stores clothes for super large annex Business device;
Unloading module 1009, is configured to be transferred to surpass from the ordinary attachments storage server by the part that uploaded Big accessory storage server;
Uploading module 1010, is configured to for the part that do not upload of the annex to be directly uploaded to the super large annex storage Server;
Trigger module 1011, if the size for having uploaded part is configured to no more than default annex threshold value, and The annex is not uploaded and finished under the current time, then trigger the real-time acquisition module.
Wherein, with reference to shown in Figure 11, the real-time acquisition module 1005 can specifically include:
First acquisition submodule 1101, is configured under current time believe from the group in described group of letter information and is obtained in total item Take a group letter and use capacity;
Determination sub-module 1102, is configured to be defined as described group of letter with capacity the part that uploaded of the annex Size.
The mail has one-to-one group letter information, and described group of letter information includes the total item of group letter and annex subitem, institute Stating annex subitem includes:Store path of the annex in the ordinary attachments storage server, or/and, the annex is described Store path in super large annex storage server;Then with reference to shown in Figure 12, the unloading module 1009 can specifically include:
Second acquisition submodule 1201, is configured to the depositing in the ordinary attachments storage server according to the annex The content of part has been uploaded described in the acquisition of storage path;
Submodule 1202 is preserved, is configured to preserve the content for having uploaded part to the super large Enclosure Services Device.
In the equipment that present embodiment is provided(For example, mailbox server)So that user using webpage mailbox when, Only need to be submitted to by browser the annex of mail to be sent, without first judge annex size reselection which kind of Sending method, because under practical application scene, some browsers can not calculate the size of annex, so passing through in present embodiment Mailbox server it is unified annex to be uploaded is determined to upload to ordinary attachments storage server, then according to the group of mail Whether the size and annex that the real-time acquisition of letter information has uploaded annex upload and finish, so that it is determined that the type of the annex, is super Big accessory or ordinary attachments, if super large annex, just dump to the part that the annex has been uploaded super large annex and deposit Storage server.By present embodiment, can equally avoid user when mail is sent each time, be required for repeatedly and postal The interaction of case server can just be successfully transmitted the phenomenon of annex, and then improve the effect that mailbox server processes the mail with annex Rate.Further, embodiment party of the invention is implemented when mailbox server synchronization processes mass mailings in practical application Formula, the systematic function for mailbox server also has greatly improved.And from the user point of view, need not also send each time All oneself judged and selected during mail with annex, improved experience when user uses mailbox to send mail.
Although it should be noted that being referred to equipment in above-detailed(For example, mailbox server)If equipment for drying or Sub-device, but this division is only not enforceable.In fact, according to the embodiment of the present invention, above-described two The feature and function of individual or more device can embody in one apparatus.Conversely, the feature of an above-described device Can be further divided into being embodied by multiple devices with function.
Additionally, although the operation of the inventive method is described with particular order in the accompanying drawings, this do not require that or Hint must be performed according to the particular order these operation, or the operation having to carry out shown in whole could realize it is desired As a result.Conversely, the step of describing in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit some steps, Multiple steps are merged into a step to perform, and/or a step is decomposed into execution of multiple steps.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.Referred in application documents verb " including ", "comprising" and its paradigmatic Use the presence of the element or step being not excluded in addition to those elements or step described in application documents.Hat before element Word "a" or "an" is not excluded for the presence of multiple this elements.
Although describing spirit and principles of the present invention by reference to some specific embodiments, it should be appreciated that, this Invention is not limited to disclosed specific embodiment, and the division to each side does not mean that the feature in these aspects can not yet Combination is this to divide merely to the convenience of statement to be benefited.It is contemplated that cover appended claims spirit and In the range of included various modifications and equivalent arrangements.Scope of the following claims meets broadest explanation, so that comprising All such modifications and equivalent structure and function.

Claims (12)

1. a kind of method for uploading of Email attachment, including:
The annex submitted to when user sends mail is obtained by HTTP HTTP;
The save location of the annex is determined according to the size of the annex, wherein, the size of the annex passes through the annex Obtained in real time when its corresponding save location is preserved, the save location includes:Ordinary attachments storage server and super Big accessory storage server;The size according to the annex determines the save location of the annex, including:Determine described attached The initial stored position of part is ordinary attachments storage server;
During the annex is uploaded to the ordinary attachments storage server, mailbox server obtains current time in real time The size for having uploaded part of the annex;
Whether the size that part has been uploaded described in judging exceedes default annex threshold value, and, it is described attached under the current time Whether part has uploaded finishes;
If the size for having uploaded part exceedes default annex threshold value, and the annex has been uploaded under the current time Finish, it is determined that the final save location of the annex is super large annex storage server, and part from institute has been uploaded by described State ordinary attachments storage server and be transferred to super large annex storage server;
If the size for having uploaded part exceedes default annex threshold value, and the annex is not uploaded under the current time Finish, it is determined that the final save location of the annex is super large annex storage server, and part from institute has been uploaded by described State ordinary attachments storage server and be transferred to super large annex storage server, and, the annex is not uploaded into part directly It is uploaded to the super large annex storage server;
If the size for having uploaded part is no more than default annex threshold value, and the annex is not gone up under the current time Biography is finished, then return it is described it is real-time obtain current time described in annex the size for having uploaded part the step of.
2. method according to claim 1, described during the annex is uploaded to ordinary attachments storage server Method also includes:
The upload part of annex described in synchronization caching.
3. method according to claim 2, part from the ordinary attachments storage server has been uploaded described by described It is transferred to after super large annex storage server, methods described also includes:
Periodically delete the upload part of buffered annex.
4. method according to claim 1, the mail has one-to-one group letter information, and described group of letter information includes The total item of group letter and annex subitem, the described group of total item of letter include:Positional information of the mail in mailbox server and group letter have used appearance Measure, described group of letter is with capacity:The upload size of annex in same envelope mail;It is attached described in the real-time acquisition current time The size for having uploaded part of part, including:
Believe that acquisition group letter has used capacity in total item from the group in described group of letter information under current time;
Described group of letter has been defined as the size for having uploaded part of the annex with capacity.
5. method according to claim 1, the mail has one-to-one group letter information, and described group of letter information includes The total item of group letter and annex subitem, the annex subitem include:Store path of the annex in the ordinary attachments storage server; It is then described that the part that uploaded is transferred to super large annex storage server from the ordinary attachments storage server, including:
Store path according to the annex in the ordinary attachments storage server has uploaded part described in obtaining;
The code insurance of upload unit is deposited to the super large attachment server.
6. method according to claim 5, also includes:
Store path of the part in the super large annex storage server is uploaded described in, in described group of letter information of renewal Annex is itemized.
7. a kind of uploading device of Email attachment, including:
First acquisition unit, is configured to HTTP HTTP and obtains the annex submitted to during user's transmission mail;
Determining unit, is configured to determine according to the size of the annex save location of the annex, wherein, the annex Size is obtained in real time by the annex when its corresponding save location is preserved, and the save location includes:It is common attached Part storage server and super large annex storage server;The determining unit includes:
3rd determining module, the initial stored position for being configured to determine the annex is ordinary attachments storage server;
Real-time acquisition module, is configured to during the annex is uploaded to the ordinary attachments storage server, in real time Obtain the size for having uploaded part of annex described in current time;
Whether the second judge module, the size for being configured to uploaded described in judging part exceedes default annex threshold value, and, Whether the annex has uploaded and has finished under the current time;
4th determining module, if being configured to the size for having uploaded part more than default annex threshold value, and described works as The annex is inscribed when preceding upload and finish, the final save location for determining the annex is super large annex storage server;
5th determining module, if being configured to the size for having uploaded part more than default annex threshold value, and described works as The annex is inscribed when preceding do not upload and finish, the final save location for determining the annex is super large annex storage server;
Unloading module, is configured to that the part that uploaded is transferred to super large annex and is deposited from the ordinary attachments storage server Storage server;
Uploading module, is configured to for the part that do not upload of the annex to be directly uploaded to the super large annex storage server;
Trigger module, if being configured to the size for having uploaded part is no more than default annex threshold value, and it is described current When inscribe the annex and do not upload and finish, then trigger the real-time acquisition module.
8. equipment according to claim 7, also includes:
Synchronization caching module, is configured to the upload part of annex described in synchronization caching.
9. equipment according to claim 8, also includes:
Removing module, is configured to periodically delete the upload part of buffered annex.
10. equipment according to claim 7, the mail has one-to-one group letter information, described group of letter information bag Group total item of letter and annex subitem are included, the described group of total item of letter includes:Positional information of the mail in mailbox server and group letter have been used Capacity, described group of letter be with capacity:The upload size of annex in same envelope mail;The real-time acquisition module includes:
First acquisition submodule, is configured under current time believe that acquisition group letter is in total item from the group in described group of letter information Use capacity;
Determination sub-module, is configured to be defined as described group of letter with capacity the size for having uploaded part of the annex.
11. equipment according to claim 7, the mail has one-to-one group letter information, described group of letter information bag Group total item of letter and annex subitem are included, the annex subitem includes:Storage road of the annex in the ordinary attachments storage server Footpath;Then the unloading module includes:
Second acquisition submodule, is configured to the store path according to the annex in the ordinary attachments storage server and obtains Part has been uploaded described in taking;
Submodule is preserved, is configured to deposit the code insurance of upload unit to the super large attachment server.
12. equipment according to claim 11, also include:
Update module, is configured to upload store path of the part in the super large annex storage server described in, more Annex subitem in new described group of letter information.
CN201310004182.5A 2013-01-05 2013-01-05 The method for uploading and equipment of a kind of Email attachment Active CN103580991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310004182.5A CN103580991B (en) 2013-01-05 2013-01-05 The method for uploading and equipment of a kind of Email attachment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310004182.5A CN103580991B (en) 2013-01-05 2013-01-05 The method for uploading and equipment of a kind of Email attachment

Publications (2)

Publication Number Publication Date
CN103580991A CN103580991A (en) 2014-02-12
CN103580991B true CN103580991B (en) 2017-06-06

Family

ID=50051956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310004182.5A Active CN103580991B (en) 2013-01-05 2013-01-05 The method for uploading and equipment of a kind of Email attachment

Country Status (1)

Country Link
CN (1) CN103580991B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038405A (en) * 2014-05-09 2014-09-10 小米科技有限责任公司 Method of sending and receiving email and device
US9887943B2 (en) 2014-06-01 2018-02-06 Apple Inc. Dual server system for sending a large email attachment
CN106445889A (en) * 2015-08-07 2017-02-22 北京国双科技有限公司 Report mail generation method and apparatus
CN105847117A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Method of sending E-mail having attachment, device, and mobile terminal
CN106487795A (en) * 2016-10-31 2017-03-08 努比亚技术有限公司 A kind of device and method of adnexa upload, server
CN110336738B (en) * 2019-06-14 2022-10-04 平安科技(深圳)有限公司 Mail backup method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1657869A1 (en) * 2004-11-10 2006-05-17 NTT DoCoMo, Inc. Server, server system, and e-mail delivery method
CN1874352A (en) * 2006-02-18 2006-12-06 华为技术有限公司 Method and system for controlling media gateway to send E-mail
CN101079846A (en) * 2007-06-08 2007-11-28 腾讯科技(深圳)有限公司 A sending and receiving method and system of Email attachment
CN102055685A (en) * 2010-12-21 2011-05-11 常熟理工学院 Method for encrypting webmail information
CN102655482A (en) * 2011-12-26 2012-09-05 上海西默通信技术有限公司 HTTP (hyper text transport protocol) protocol analysis based web E-mail recovering method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1657869A1 (en) * 2004-11-10 2006-05-17 NTT DoCoMo, Inc. Server, server system, and e-mail delivery method
CN1874352A (en) * 2006-02-18 2006-12-06 华为技术有限公司 Method and system for controlling media gateway to send E-mail
CN101079846A (en) * 2007-06-08 2007-11-28 腾讯科技(深圳)有限公司 A sending and receiving method and system of Email attachment
CN102055685A (en) * 2010-12-21 2011-05-11 常熟理工学院 Method for encrypting webmail information
CN102655482A (en) * 2011-12-26 2012-09-05 上海西默通信技术有限公司 HTTP (hyper text transport protocol) protocol analysis based web E-mail recovering method

Also Published As

Publication number Publication date
CN103580991A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103580991B (en) The method for uploading and equipment of a kind of Email attachment
US11005673B2 (en) Communication gateway services in a networked message distribution system
CN106973099B (en) A kind of data-updating method, apparatus and system
US9537970B2 (en) Publisher-based message data caching in a publish-subscription environment
CN104462128B (en) The method, apparatus and terminal device of multimedia file processing
CN109032663A (en) Generation method, device, computer equipment and the storage medium of interface document
CN102737065B (en) Method and device for acquiring data
CN108959444A (en) Homepage cluster system management method and device based on tree
CN107066609A (en) Image display method and device
CN107888659A (en) The processing method and system of user's request
CN107885458A (en) A kind of method for sorting of disk fragmentses, terminal and computer-readable recording medium
CN107329963A (en) Accelerate the method and apparatus of web page access
WO2022142001A1 (en) Target object evaluation method based on multi-score card fusion, and related device therefor
CN107613040A (en) A kind of method and apparatus of domain name system DNS server lookup
CN107729399A (en) The method and apparatus of data processing
CN108090078A (en) The online method for previewing of document and device
CN104424225B (en) Document handling method based on document transmission process and device
CN107171894A (en) The method of terminal device, distributed high in the clouds detecting system and pattern detection
CN105227425A (en) The method of syndication message, equipment and network social intercourse system
CN109155804A (en) Approaches to IM and system based on card
CN105589919B (en) Web page resources processing method and processing device
EP3286665A1 (en) Rich attachment regeneration
CN107229618A (en) A kind of method and device for showing the page
US9185181B2 (en) Shared cache for potentially repetitive message data in a publish-subscription environment
CN109284624A (en) A kind of data safety partition method and device based on the storage of block chain

Legal Events

Date Code Title Description
C06 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