CN105898717A - Mobile terminal mail attachment downloading method - Google Patents

Mobile terminal mail attachment downloading method Download PDF

Info

Publication number
CN105898717A
CN105898717A CN201510708545.2A CN201510708545A CN105898717A CN 105898717 A CN105898717 A CN 105898717A CN 201510708545 A CN201510708545 A CN 201510708545A CN 105898717 A CN105898717 A CN 105898717A
Authority
CN
China
Prior art keywords
annex
download
mail document
module
complete
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510708545.2A
Other languages
Chinese (zh)
Inventor
张月川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510708545.2A priority Critical patent/CN105898717A/en
Priority to PCT/CN2016/083940 priority patent/WO2017071204A1/en
Publication of CN105898717A publication Critical patent/CN105898717A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a mobile terminal mail attachment downloading method and device. The downloading method comprises the following steps: an attachment downloading request is received, a size of an attachment is determined, a complete mail file is downloaded from a network side server if the size of the attachment is larger than a preset threshold value, and the attachment is extracted. Via use of the mobile terminal mail attachment downloading method and device, the complete mail file is downloaded from the server when the size of the attachment of a mail is larger than the preset threshold value, the attachment can be obtained via local parsing operation, limitation imposed by a conventional mail protocol can be broken, and a user can be enabled to check a large attachment file on a mobile terminal.

Description

The method for down loading of the Email attachment of mobile terminal
Technical field
The present invention relates to a kind of method for down loading and device, the mail particularly relating to a kind of mobile terminal is attached The method for down loading of part and device.
Background technology
At present, extensive along with mobile terminal is applied, the mailing system used the most on computers, Through being widely used in various mobile terminal, but, in view of the postal on currently used mobile terminal The restriction of part agreement, for bigger annex, many mobile terminals cannot download big accessory at all, Therefore, the use for Email attachment of user has been had a strong impact on.
Summary of the invention
It is an object of the invention to, it is provided that the method for down loading of the Email attachment of a kind of mobile terminal and dress Put, enabling realize the download of big accessory on mobile terminals.
To achieve these goals, the invention provides the download of the Email attachment of a kind of mobile terminal Method, including:
Receive annex and download request;
The size of annex is judged, if the size of described annex is more than predetermined threshold value, then Complete mail document is downloaded from the server of network side;
Described complete mail document is resolved, extracts described annex.
Present invention also offers the download apparatus of the Email attachment of a kind of mobile terminal, including:
Request receiver module downloaded by annex, is used for receiving annex and downloads request;
Judge module, for judging the size of annex;
First download module, for judging that at described judge module the size of described annex is at default threshold In the case of value is above, then from the server of network side, download complete mail document;
Parsing module, for resolving described complete mail document, extracts described annex.
The method for down loading of the Email attachment of the mobile terminal of the present invention and device, exceed at Email attachment In the case of predetermined threshold value, from server, download the file of complete mail document, then by this Ground resolves and obtains annex, in this way, breaches the restriction of existing mail protocol so that use Family can check big accessory file on mobile terminals.
Accompanying drawing explanation
Fig. 1 is that the flow process of the method for down loading of the Email attachment of the mobile terminal of the embodiment of the present invention one is shown It is intended to;
Fig. 2 is the structural representation of the download apparatus of the Email attachment of the mobile terminal of inventive embodiments two Figure.
Detailed description of the invention
Below in conjunction with the accompanying drawings the embodiment of the present invention is described in detail.
The one complete mail document of envelope comprise mail head's information (sender, addressee, outbox time etc.), The content such as message body, Email attachment.The storage format of complete mail document is Mime (Multipurpose Internet Mail Extensions, multipurpose internet mail extensions) form. In general email distribution and reception system, can be interacted with server by mail protocol, distinguish The contents such as mail head's information, message body, Email attachment are asked respectively and transmitted.Mail Information can separately obtain, if such as only wanting to header, Exchange agreement be allow. Under the Exchange agreement of the mail of Microsoft's offer, mobile terminal is all to use ActiveSync The communication bridge that this sub-protocol exchanges as client and server.
Some interface methods that user is provided by agreement on mobile terminals synchronize below account All Files folder information after store, each file containing a server can The unique ID mark identified, is identified by this ID, and client uses ActiveSync to provide Some interfaces can obtain the header of had mail under this file, annex at server Unique mark, such as 14%3a53%3a2, general mobile terminal manufacturer is all to be marked by this Know and download annex from server, but have some servers to have the limit of size request for this mode System, usually about 10M, once the size of annex has exceeded 10M, and server just refuses client The download request of end, client is with regard to failed download.
This is to this situation, and in embodiments of the invention, the size for annex is prejudged, If annex is more than the threshold value (such as 10M) preset, the most by other means will from server Complete mail document downloads, and carries out local parsing, extracts annex and is supplied to user.
Embodiment one
As it is shown in figure 1, the download side of the Email attachment of the mobile terminal that it is the embodiment of the present invention one The schematic flow sheet of method.The method for down loading of the present embodiment includes:
Step 101: receiving annex and download request, such as, user triggers annex by clicking on annex Download request.
Step 102: the size of annex is judged;
Step 103: if the size of described annex is more than predetermined threshold value, then from the service of network side Device is downloaded complete mail document.
Step 104: described complete mail document is resolved, extracts described annex, then tie Bundle.
By the method for embodiment, in the case of Email attachment is beyond predetermined threshold value, directly from clothes Business device is downloaded the file of complete mail document, then obtains annex by local parsing, by this The mode of kind, breaches the restriction of existing mail protocol so that user can on mobile terminals can Check big accessory file.
Further, in step 103, from the server of network side, download complete mail document Process may include that and obtains complete mail document from the fileinfo of locally stored pre-download First identification information;Utilize first this identification information, download to the server of described network side and send The download request of complete mail document;Receive described complete mail document.
In mobile terminal side, storing the relevant information of mail when, client is the most stored The ID that uniquely identifies in complete mail document face on the server (is referred to as the first mark in the present embodiment Knowledge information), such as " 14%3a156%3a2 ", receiving mobile phone users when client needs to ask The when of seeking the annex downloading more than 10M, the first mark of locally stored mail can be obtained Knowledge information, the method interface provided by ActiveSync, send complete mail document and download request, Complete mail document is downloaded (containing the full contents such as header, text, annex), complete The form of whole mail document is MINE form, then uses program means (such as MINE file Resolver) extract the inside attachment content.
Further, many times, the annex of mail has multiple, needs at complete mail document Determine big accessory to be downloaded, then carry out being extracted and presented to user, specifically, can use The following two kinds mode:
1) extracted by unique expression of annex, specific as follows:
The second identification information that described annex is corresponding is obtained, so from the fileinfo of described pre-download After, described complete mail document is resolved, according to the second identification information, extraction is asked Annex.The fileinfo of pre-download mentioned here can be mail head's information can also be mail with Step file presss from both sides the information etc. comprised.
2) extracted by the positional information of annex, specific as follows:
From the fileinfo of described pre-download, obtain the positional information of described annex, to described completely Mail document resolves, and according to described positional information, extracts the annex asked.Annex Storage is in a certain order, and user is when the download request triggering some annex, the most really Determine the position of this annex, according to this positional information, it is possible in mail document after parsing Find the annex of correspondence and present to user.
Additionally, in above-mentioned steps 102, if it is judged that the size of annex is less than predetermined threshold value (example As for 10M), then can perform step 105: by the second identification information corresponding to described annex from The server of described network side is downloaded described annex.
It should be noted that the embodiment of the present invention focus on annex is exceeded the feelings of predetermined threshold value The process of condition, and for during less than predetermined threshold value, can use of the prior art any additional Method for down loading, it is of course also possible to use the present invention for the processing method of big accessory.
A simple application example be set forth below:
Such as one envelope mail M has annex A, B, C, and size is respectively 1M, 20M, 2M, User asks to download A or C, then use traditional approach to be downloaded, if user's request Downloading accessories B, now we are to know that the position of B is the 2nd, then client sends and downloaded The request (being set to request here for R) of whole mail document M is to server, after having downloaded, M is stored to this locality.Then, client uses Mime format parser to resolve the content of M, Extract the content of second annex, content is stored mobile terminal storage as the content of annex In space, notify that user's annex is downloaded complete.
To server request download whole envelope mail document code simple examples (request R simple in Hold):
Embodiment two
As in figure 2 it is shown, the download apparatus of the Email attachment of the mobile terminal that it is inventive embodiments two Structural representation, this device includes: annex download request receiver module 11, be used for receiving annex Download request;Judge module 12, for judging the size of annex;First download module 13, In the case of the size at the described judge module described annex of judgement is more than predetermined threshold value, then Complete mail document is downloaded from the server of network side;Parsing module 14, for described completely Mail document resolves, and extracts described annex.
Wherein, the first download module 13 may include that
First identification information module, for having obtained from the fileinfo of locally stored pre-download First identification information of whole mail document;Mail downloads request module, is used for utilizing this identification information, The download request sending complete mail document is downloaded to the server of described network side;Mail reception mould Block, receives described complete mail document.
Further, according to the difference of annex extracting mode, described parsing module 14 can have as follows Two kinds of constituted modes
Mode one: parsing module 14 may include that
Second identification information acquisition module, described for obtaining from the fileinfo of described pre-download The second identification information that annex is corresponding;
First resolution unit, for resolving described complete mail document, and according to described the Two identification informations, extract the annex asked.
Mode two: parsing module 14 may include that
Position information acquisition module, for obtaining described annex from the fileinfo of described pre-download Positional information;
Second resolution unit, for resolving described complete mail document, and according to institute's rheme Confidence ceases, and extracts the annex asked.
Additionally, be less than the situation of predetermined threshold value, the download apparatus of the present embodiment for annex, also may be used To include:
Second download module 15, for judging that at described judge module the size of described annex is less than pre- If in the case of threshold value, by the second identification information corresponding to described annex from the clothes of described network side Described annex downloaded by business device.
One of ordinary skill in the art will appreciate that: realize the whole of above-mentioned each method embodiment Or part steps can be completed by the hardware that programmed instruction is relevant.Aforesaid program is permissible It is stored in a computer read/write memory medium.This program upon execution, performs to include State the step of each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic The various medium that can store program code such as dish or CD.
It is last it is noted that various embodiments above is only in order to illustrate technical scheme, It is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, It will be understood by those within the art that: foregoing embodiments still can be remembered by it The technical scheme carried is modified, or carries out the most some or all of technical characteristic With replacing;And these amendments or replacement, do not make the essence of appropriate technical solution depart from this Invent the scope of each embodiment technical scheme.

Claims (11)

1. the method for down loading of the Email attachment of a mobile terminal, it is characterised in that including:
Receive annex and download request;
The size of annex is judged, if the size of described annex is more than predetermined threshold value, then Complete mail document is downloaded from the server of network side;
Described complete mail document is resolved, extracts described annex.
Method for down loading the most according to claim 1, it is characterised in that from the service of network side The process downloading complete mail document in device includes:
The first mark letter of complete mail document is obtained from the fileinfo of locally stored pre-download Breath;
Utilize first this identification information, download to the server of described network side and send complete mail literary composition The download request of part;
Receive described complete mail document.
Method for down loading the most according to claim 1, it is characterised in that to described complete mail File resolves, and the process extracting asked annex includes:
The second identification information that described annex is corresponding is obtained from the fileinfo of described pre-download;
Described complete mail document is resolved, and according to described second identification information, extracts institute The annex of request.
Method for down loading the most according to claim 1, it is characterised in that to described complete mail File resolves, and the process extracting asked annex includes:
Obtain the positional information of described annex;
Described complete mail document is resolved, and according to described positional information, extracts and asked Annex.
Method for down loading the most according to claim 1, it is characterised in that if described annex Size is less than described predetermined threshold value, then pass through the second identification information corresponding to described annex from described net The server of network side is downloaded described annex.
6. according to the arbitrary described method for down loading of claim 1 to 5, it is characterised in that described complete The form of whole mail document is MINE form.
7. the download apparatus of the Email attachment of a mobile terminal, it is characterised in that including:
Request receiver module downloaded by annex, is used for receiving annex and downloads request;
Judge module, for judging the size of annex;
First download module, for judging that at described judge module the size of described annex is at default threshold In the case of value is above, then from the server of network side, download complete mail document;
Parsing module, for resolving described complete mail document, extracts described annex.
Download apparatus the most according to claim 7, it is characterised in that described first downloads mould Block includes:
First identification information module, for having obtained from the fileinfo of locally stored pre-download First identification information of whole mail document;
Mail downloads request module, is used for utilizing this identification information, to the server of described network side Download the download request sending complete mail document;
Mail reception module, is used for receiving described complete mail document.
Download apparatus the most according to claim 7, it is characterised in that described parsing module bag Include:
Second identification information acquisition module, described for obtaining from the fileinfo of described pre-download The second identification information that annex is corresponding;
First resolution unit, for resolving described complete mail document, and according to described the Two identification informations, extract the annex asked.
Download apparatus the most according to claim 7, it is characterised in that described parsing module Including:
Position information acquisition module, obtains the positional information of described annex;
Second resolution unit, for resolving described complete mail document, and according to institute's rheme Confidence ceases, and extracts the annex asked.
11. download apparatus according to claim 7, it is characterised in that also include:
Second download module, for judging that at described judge module the size of described annex is less than presetting In the case of threshold value, by the second identification information corresponding to described annex from the service of described network side Device is downloaded described annex.
CN201510708545.2A 2015-10-27 2015-10-27 Mobile terminal mail attachment downloading method Pending CN105898717A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510708545.2A CN105898717A (en) 2015-10-27 2015-10-27 Mobile terminal mail attachment downloading method
PCT/CN2016/083940 WO2017071204A1 (en) 2015-10-27 2016-05-30 Method for downloading email attachment on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510708545.2A CN105898717A (en) 2015-10-27 2015-10-27 Mobile terminal mail attachment downloading method

Publications (1)

Publication Number Publication Date
CN105898717A true CN105898717A (en) 2016-08-24

Family

ID=57001853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510708545.2A Pending CN105898717A (en) 2015-10-27 2015-10-27 Mobile terminal mail attachment downloading method

Country Status (2)

Country Link
CN (1) CN105898717A (en)
WO (1) WO2017071204A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124925A (en) * 2020-08-25 2022-03-01 华为技术有限公司 Electronic mail synchronization method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1303206A (en) * 2001-01-16 2001-07-11 英业达集团(南京)电子技术有限公司 Method for receiving too-long e-mail by electronic communication equipment
CN1710891A (en) * 2005-07-27 2005-12-21 北京立通无限科技有限公司 Mail appendix converting download method
CN101087268A (en) * 2006-08-18 2007-12-12 华为技术有限公司 System, method and device for realizing Email notification
CN101247563A (en) * 2008-03-20 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Mail pushing system and mail receiving and dispatching method
CN102025647A (en) * 2009-09-17 2011-04-20 中国长城工业总公司 System and method for mail sending and receiving
US20150200883A1 (en) * 2012-05-30 2015-07-16 Daniel Scott Brotherston Systems and methods for maintaining responsiveness in the presence of large data chunks

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8260861B1 (en) * 2005-08-31 2012-09-04 AT & T Intellectual Property II, LP System and method for an electronic mail attachment proxy
CN100512234C (en) * 2005-11-22 2009-07-08 腾讯科技(深圳)有限公司 A transmission method and system for attachment of multimedia mail
CN101035317A (en) * 2007-04-03 2007-09-12 华为技术有限公司 Service parameter configuration method and system and service parameter configuration unit
CN100589456C (en) * 2007-06-08 2010-02-10 腾讯科技(深圳)有限公司 A kind of sending and receiving method of Email attachment and system
CN101800710A (en) * 2008-04-02 2010-08-11 华为技术有限公司 Mail reception control method, system and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1303206A (en) * 2001-01-16 2001-07-11 英业达集团(南京)电子技术有限公司 Method for receiving too-long e-mail by electronic communication equipment
CN1710891A (en) * 2005-07-27 2005-12-21 北京立通无限科技有限公司 Mail appendix converting download method
CN101087268A (en) * 2006-08-18 2007-12-12 华为技术有限公司 System, method and device for realizing Email notification
CN101247563A (en) * 2008-03-20 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Mail pushing system and mail receiving and dispatching method
CN102025647A (en) * 2009-09-17 2011-04-20 中国长城工业总公司 System and method for mail sending and receiving
US20150200883A1 (en) * 2012-05-30 2015-07-16 Daniel Scott Brotherston Systems and methods for maintaining responsiveness in the presence of large data chunks

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124925A (en) * 2020-08-25 2022-03-01 华为技术有限公司 Electronic mail synchronization method and electronic equipment
CN114124925B (en) * 2020-08-25 2023-05-12 华为技术有限公司 E-mail synchronization method and electronic equipment
US12003475B2 (en) 2020-08-25 2024-06-04 Huawei Technologies Co., Ltd. Email synchronization method and electronic device

Also Published As

Publication number Publication date
WO2017071204A1 (en) 2017-05-04

Similar Documents

Publication Publication Date Title
CN103595615B (en) The method of sending and receiving of Email, terminal
CN101075910B (en) Method and device for quickly registering
CN102655481B (en) A kind of instant messaging chat content inspection method based on webpage and system
CN106357503B (en) Message treatment method and instant communication server
CN101216834B (en) File downloading method, system, device and server
CN104468531A (en) Authorization method, device and system for sensitive data
CN102958008A (en) Method, system and mobile terminals for realizing instant messaging
CN102622592A (en) Name card recognition method based on cloud technology
US20150172886A1 (en) Method and system of mobile device communication
US10733258B2 (en) Method and system for sending webpage content with browser bookmark uniform resource locator
CN102546606B (en) Telnet command filter method, network safety device and network safety system
CN104618388B (en) Fast registration login method and corresponding resetting server, information server
CN105516935A (en) Platform integrated decision method and device of RCS (Rich Communication Suite) and traditional information service and terminal
CN107484113A (en) A kind of realization method and system of bluetooth cloud anti-loss device
CN104951256B (en) A kind of Method of printing, printer and server
US8966108B2 (en) Portable data carrier comprising a CAT interpreter
CN107666664B (en) Method, device, equipment and storage medium for machine-card binding
CN103139758B (en) Mobile Socket class application system, server, method and WAP gateway
CN103118358A (en) Unique identification mobile phone user registration method
CN104320765A (en) Group information display method, group information sending method and terminal
CN105898717A (en) Mobile terminal mail attachment downloading method
CN102625282A (en) Mobile terminal, control device, account data processing system and method
US9760326B2 (en) Print facilitation
CN105024907A (en) IM information pushing method and system, server and platform
CN111131323A (en) Message transmission method and related device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824

WD01 Invention patent application deemed withdrawn after publication