[go: up one dir, main page]

WO2017071204A1 - Method for downloading email attachment on mobile terminal - Google Patents

Method for downloading email attachment on mobile terminal Download PDF

Info

Publication number
WO2017071204A1
WO2017071204A1 PCT/CN2016/083940 CN2016083940W WO2017071204A1 WO 2017071204 A1 WO2017071204 A1 WO 2017071204A1 CN 2016083940 W CN2016083940 W CN 2016083940W WO 2017071204 A1 WO2017071204 A1 WO 2017071204A1
Authority
WO
WIPO (PCT)
Prior art keywords
attachment
downloading
file
mail file
module
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.)
Ceased
Application number
PCT/CN2016/083940
Other languages
French (fr)
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.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
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 Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017071204A1 publication Critical patent/WO2017071204A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

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

Definitions

  • the present invention relates to a download method and apparatus, and more particularly to a method and apparatus for downloading an email attachment of a mobile terminal.
  • the present invention provides a method for downloading an email attachment of a mobile terminal, including:
  • the present invention also provides a downloading device for an email attachment of a mobile terminal, comprising:
  • An attachment download request receiving module configured to receive an attachment download request
  • a judging module for judging the size of the attachment
  • a first downloading module configured to: when the determining module determines that the size of the accessory is greater than a preset threshold, download a complete mail file from a server on the network side;
  • the parsing module is configured to parse the complete mail file and extract the attachment.
  • the method and device for downloading an email attachment of the mobile terminal of the present invention the email attachment exceeds the pre- In the case of threshold, the file of the complete mail file is downloaded from the server, and then the attachment is obtained through local parsing. In this way, the limitation of the existing mail protocol is broken, so that the user can view the large attachment file on the mobile terminal.
  • FIG. 1 is a schematic flowchart of a method for downloading an email attachment of a mobile terminal according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a device for downloading an email attachment of a mobile terminal according to Embodiment 2 of the present invention.
  • the principle of the embodiment of the present invention is to achieve a mirror effect with a specific color by alternately plating a titanium oxynitride coating layer and a silicon oxynitride coating layer on the lower surface of the glass substrate, while ensuring insulation and overall
  • the thickness of the coating is controlled to a very thin range, thereby reducing the impact on fingerprint detection.
  • a complete mail file contains the header information (sender, recipient, sending time, etc.), mail body, email attachment, and so on.
  • the full mail file is stored in the Mime (Multipurpose Internet Mail Extensions) format.
  • the mail protocol is used to interact with the server to separately request and transmit the content of the mail header, the mail body, and the mail attachment.
  • the information of the mail can be obtained separately, for example, if only the header information is desired, the Exchange protocol is allowed.
  • the mobile terminal uses the sub-protocol of ActiveSync as a communication bridge for communication between the client and the server.
  • the user synchronizes all the folder information under the account on the mobile terminal through some interface methods provided by the protocol, and each folder contains a unique ID identifier that the server can recognize. Through this ID identification, the client uses ActiveSync. Some interfaces provided can obtain the header information of the owned mail under this folder and the unique identifier of the attached file on the server, for example, 14%3a53%3a2, and the general mobile terminal manufacturers pass this standard. I know from the server to download attachments, but there are some servers that have size requests for this method, usually about 10M. Once the size of the attachment exceeds 10M, the server rejects the download request from the client, and the client fails to download.
  • the size of the attachment is pre-determined. If the attachment is larger than a preset threshold (for example, 10M), the complete mail file is downloaded from the server by other means, and local analysis is performed. , extract attachments are provided to the user.
  • a preset threshold for example, 10M
  • FIG. 1 is a schematic flowchart diagram of a method for downloading an email attachment of a mobile terminal according to Embodiment 1 of the present invention.
  • the download method of this embodiment includes:
  • Step 101 Receive an attachment download request, for example, the user triggers an attachment download request by clicking on the attachment.
  • Step 102 judging the size of the attachment
  • Step 103 If the size of the attachment is above a preset threshold, download the complete mail file from the server on the network side.
  • Step 104 Parse the complete mail file, extract the attachment, and then end.
  • the email attachment exceeds the preset threshold, the file of the complete mail file is directly downloaded from the server, and then the attachment is obtained through local parsing. In this way, the limitation of the existing mail protocol is broken, so that Users can view large attachment files on the mobile terminal.
  • the process of downloading the complete mail file from the server on the network side may include: acquiring first identification information of the complete mail file from the locally stored pre-downloaded file information; using the first identification information, The server on the network side downloads a download request for sending a complete mail file; and receives the complete mail file.
  • the client when storing the related information of the mail, the client has stored a unique identification ID (referred to as first identification information in the present embodiment) of the complete mail file on the server, for example, "14% 3a156%" 3a2", when the client receives the mobile terminal user needs to request to download an attachment larger than 10M, the first identification information of the locally stored mail can be obtained, and the complete mail file download request is sent through the method interface provided by ActiveSync, which will be complete.
  • the mail file is downloaded (including the header information, text, attachments, etc.),
  • the format of the complete mail file is MINE format, and then the program content (such as MINE file parser) is used to extract the contents of the attachment.
  • the large attachments to be downloaded are determined in the complete mail file, and then extracted and presented to the user. Specifically, the following two methods may be used:
  • the pre-downloaded file information mentioned here may be the header information or the information included in the mail synchronization folder.
  • the attachment is stored in a certain order.
  • the location of the attachment has been determined. According to the location information, the corresponding attachment can be found in the parsed mail file and presented to the user. .
  • step 105 may be performed: downloading the server from the server on the network side by using the second identifier information corresponding to the accessory. Attached.
  • a preset threshold for example, 10M
  • the focus of the embodiment of the present invention is on the processing of the case where the accessory exceeds the preset threshold, and for the case of less than the preset threshold, any additional downloading method in the prior art may be used.
  • the method of treating large attachments of the present invention is used.
  • a mail M has attachments A, B, and C, and the size is 1M, 20M, and 2M respectively. If the user requests to download A or C, it can be downloaded in the traditional way. If the user requests to download the attachment B, we know at this time. The location of B is the second, and the client sends a request to download the complete mail file M (here, the request is R) to the server, and after the download is completed, the M is stored locally. Then, the client uses the Mime format parser to parse the content of the M, extracts the content of the second attachment, and stores the content as an attachment in the storage space of the mobile terminal, notifying the user that the attachment is downloaded.
  • M the complete mail file
  • the client uses the Mime format parser to parse the content of the M, extracts the content of the second attachment, and stores the content as an attachment in the storage space of the mobile terminal, notifying the user that the attachment is downloaded.
  • FIG. 2 it is a schematic structural diagram of a downloading device for an email attachment of a mobile terminal according to a second embodiment of the present invention.
  • the device includes: an attachment download request receiving module 11 for receiving an attachment download request; and a determining module 12 for The size of the attachment is determined; the first downloading module 13 is configured to: when the determining module determines that the size of the accessory is greater than a preset threshold, download the complete mail file from the server on the network side; the parsing module 14 Used to parse the complete mail file and extract the attachment.
  • the first download module 13 may include:
  • the first identifier information module is configured to obtain the first identifier information of the complete mail file from the locally stored pre-downloaded file information, and the mail download request module is configured to download and send the complete information to the server on the network side by using the identifier information. a download request of the mail file; the mail receiving module receives the complete mail file.
  • parsing module 14 may have the following two configurations according to different attachment extraction modes.
  • the parsing module 14 can include:
  • a second identifier information acquiring module configured to acquire second identifier information corresponding to the attachment from the pre-downloaded file information
  • the first parsing unit is configured to parse the complete mail file, and extract the requested attachment according to the second identifier information.
  • the parsing module 14 can include:
  • a location information obtaining module configured to obtain location information of the accessory from the pre-downloaded file information
  • a second parsing unit configured to parse the complete mail file, and extract the requested attachment according to the location information.
  • the downloading device of the embodiment may further include:
  • the second downloading module 15 is configured to download the accessory from the server on the network side by using the second identifier information corresponding to the accessory, if the determining module determines that the size of the accessory is less than a preset threshold.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

The present invention provides a method and device for downloading an email attachment on a mobile terminal, said method for downloading comprising: receiving an attachment download request; determining the size of an attachment, and if the size of said attachment is larger than a preset threshold value, then downloading the entire email file from a network-side server; analyzing the entire email file and extracting said attachment. In the method and device for downloading an email attachment on a mobile terminal of the present invention, a file of the entire email file is downloaded from the server when the attachment exceeds a preset threshold value; then the attachment is obtained by means of local analysis; thus the restrictions of existing email protocols are overcome, such that a user may view a large attachment file on a mobile terminal.

Description

移动终端的邮件附件的下载方法Download method of mail attachment of mobile terminal

本专利申请要求申请日为2015年10月27日、申请号为2015107085452的中国专利申请的优先权,并将上述专利申请以引用的方式全文引入本文中。The present application claims the priority of the Chinese Patent Application No. PCT Application No.

技术领域Technical field

本发明涉及一种下载方法及装置,尤其涉及一种移动终端的邮件附件的下载方法及装置。The present invention relates to a download method and apparatus, and more particularly to a method and apparatus for downloading an email attachment of a mobile terminal.

背景技术Background technique

目前,随着移动终端的广泛应用,仅在电脑上使用的邮件系统,已经广泛应用于各种移动终端中,但是,鉴于目前使用的移动终端上的邮件协议的限制,对于较大的附件,许多移动终端上根本无法下载大附件,因此,严重影响了用户的对于邮件附件的使用。At present, with the wide application of mobile terminals, the mail system used only on computers has been widely used in various mobile terminals, but in view of the limitation of the mail protocol on the currently used mobile terminal, for larger attachments, Many mobile terminals cannot download large attachments at all, thus seriously affecting the user's use of email attachments.

发明内容Summary of the invention

本发明的目的在于,提供一种移动终端的邮件附件的下载方法及装置,使得能够在移动终端上实现大附件的下载。It is an object of the present invention to provide a method and apparatus for downloading an email attachment of a mobile terminal, so that downloading of a large attachment can be implemented on the mobile terminal.

为了实现上述目的,本发明提供了一种移动终端的邮件附件的下载方法,包括:In order to achieve the above object, the present invention provides a method for downloading an email attachment of a mobile terminal, including:

接收附件下载请求;Receiving an attachment download request;

对附件的大小进行判断,如果所述附件的大小在预设阈值以上,则从网络侧的服务器中下载完整邮件文件;Judging the size of the attachment, if the size of the attachment is above a preset threshold, downloading the complete mail file from the server on the network side;

对所述完整邮件文件进行解析,提取出所述附件。Parsing the complete mail file and extracting the attachment.

本发明还提供了一种移动终端的邮件附件的下载装置,包括:The present invention also provides a downloading device for an email attachment of a mobile terminal, comprising:

附件下载请求接收模块,用于接收附件下载请求;An attachment download request receiving module, configured to receive an attachment download request;

判断模块,用于对附件的大小进行判断;a judging module for judging the size of the attachment;

第一下载模块,用于在所述判断模块判定所述附件的大小在预设阈值以上的情况下,则从网络侧的服务器中下载完整邮件文件;a first downloading module, configured to: when the determining module determines that the size of the accessory is greater than a preset threshold, download a complete mail file from a server on the network side;

解析模块,用于对所述完整邮件文件进行解析,提取出所述附件。The parsing module is configured to parse the complete mail file and extract the attachment.

本发明的移动终端的邮件附件的下载方法及装置,在邮件附件超出预 设阈值的情况下,从服务器中下载完整邮件文件的文件,然后通过本地解析获取附件,通过这种方式,突破了现有邮件协议的限制,使得用户能够在移动终端上能够查看大附件文件。The method and device for downloading an email attachment of the mobile terminal of the present invention, the email attachment exceeds the pre- In the case of threshold, the file of the complete mail file is downloaded from the server, and then the attachment is obtained through local parsing. In this way, the limitation of the existing mail protocol is broken, so that the user can view the large attachment file on the mobile terminal.

附图说明DRAWINGS

图1为本发明实施例一的移动终端的邮件附件的下载方法的流程示意图;1 is a schematic flowchart of a method for downloading an email attachment of a mobile terminal according to Embodiment 1 of the present invention;

图2为发明实施例二的移动终端的邮件附件的下载装置的结构示意图。2 is a schematic structural diagram of a device for downloading an email attachment of a mobile terminal according to Embodiment 2 of the present invention.

具体实施方式detailed description

下面结合附图对本发明实施例进行详细描述。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

本发明实施例的原理在于,通过在玻璃基板的下表面交替镀钛氮氧化物镀膜层和硅氮氧化物镀膜层,来实现具有特定颜色的镜面效果,同时还要保证绝缘性并且要将整体镀层的厚度控制在非常薄的范围内,从而减小对指纹检测的影响。The principle of the embodiment of the present invention is to achieve a mirror effect with a specific color by alternately plating a titanium oxynitride coating layer and a silicon oxynitride coating layer on the lower surface of the glass substrate, while ensuring insulation and overall The thickness of the coating is controlled to a very thin range, thereby reducing the impact on fingerprint detection.

实施例一Embodiment 1

下面结合附图对本发明实施例进行详细说明。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

一封完整邮件文件包含邮件头信息(发件人,收件人,发件时间等)、邮件正文、邮件附件等内容。完整邮件文件的存储格式为Mime(Multipurpose Internet Mail Extensions,多用途互联网邮件扩展)格式。在一般的邮件收发系统中,会通过邮件协议与服务器进行交互,来分别对邮件头信息、邮件正文、邮件附件等内容进行分别请求和传输。邮件的信息可以分开获取,例如如果只想要头信息,Exchange协议是允许的。在微软提供的邮件的Exchange协议下,移动终端都是使用ActiveSync这个子协议作为客户端和服务器交流的通信桥梁。A complete mail file contains the header information (sender, recipient, sending time, etc.), mail body, email attachment, and so on. The full mail file is stored in the Mime (Multipurpose Internet Mail Extensions) format. In the general mail receiving and dispatching system, the mail protocol is used to interact with the server to separately request and transmit the content of the mail header, the mail body, and the mail attachment. The information of the mail can be obtained separately, for example, if only the header information is desired, the Exchange protocol is allowed. Under the Exchange protocol of the mail provided by Microsoft, the mobile terminal uses the sub-protocol of ActiveSync as a communication bridge for communication between the client and the server.

用户在移动终端上通过协议提供的一些接口方法同步下来账户下面的所有文件夹信息之后进行存储,每一个文件夹都含有一个服务器能够识别的唯一的ID标识,通过这个ID标识,客户端使用ActiveSync提供的一些接口能够获取此文件夹下的所拥有邮件的头信息、附件在服务器的唯一标识,例如14%3a53%3a2,一般的移动终端厂商都是通过这个标 识从服务器下载附件,但是有一些服务器对于这种方式有大小请求的限制,一般是10M左右,一旦附件的大小超过了10M,服务器就拒绝客户端的下载请求,客户端就下载失败了。The user synchronizes all the folder information under the account on the mobile terminal through some interface methods provided by the protocol, and each folder contains a unique ID identifier that the server can recognize. Through this ID identification, the client uses ActiveSync. Some interfaces provided can obtain the header information of the owned mail under this folder and the unique identifier of the attached file on the server, for example, 14%3a53%3a2, and the general mobile terminal manufacturers pass this standard. I know from the server to download attachments, but there are some servers that have size requests for this method, usually about 10M. Once the size of the attachment exceeds 10M, the server rejects the download request from the client, and the client fails to download.

这对这一情况,本发明的实施例里针对附件的大小进行预先判断,如果附件大于预设的阈值(例如10M),则通过其他方式从服务器中将完整邮件文件下载下来,并进行本地解析,提取附件提供给用户。In this case, in the embodiment of the present invention, the size of the attachment is pre-determined. If the attachment is larger than a preset threshold (for example, 10M), the complete mail file is downloaded from the server by other means, and local analysis is performed. , extract attachments are provided to the user.

实施例一Embodiment 1

如图1所示,其为本发明实施例一的移动终端的邮件附件的下载方法的流程示意图。本实施例的下载方法包括:FIG. 1 is a schematic flowchart diagram of a method for downloading an email attachment of a mobile terminal according to Embodiment 1 of the present invention. The download method of this embodiment includes:

步骤101:接收附件下载请求,例如,用户通过点击附件来触发附件下载请求。Step 101: Receive an attachment download request, for example, the user triggers an attachment download request by clicking on the attachment.

步骤102:对附件的大小进行判断;Step 102: judging the size of the attachment;

步骤103:如果所述附件的大小在预设阈值以上,则从网络侧的服务器中下载完整邮件文件。Step 103: If the size of the attachment is above a preset threshold, download the complete mail file from the server on the network side.

步骤104:对所述完整邮件文件进行解析,提取出所述附件,然后结束。Step 104: Parse the complete mail file, extract the attachment, and then end.

通过实施例的方法,在邮件附件超出预设阈值的情况下,直接从服务器中下载完整邮件文件的文件,然后通过本地解析获取附件,通过这种方式,突破了现有邮件协议的限制,使得用户能够在移动终端上能够查看大附件文件。By the method of the embodiment, if the email attachment exceeds the preset threshold, the file of the complete mail file is directly downloaded from the server, and then the attachment is obtained through local parsing. In this way, the limitation of the existing mail protocol is broken, so that Users can view large attachment files on the mobile terminal.

进一步地,步骤103中,从网络侧的服务器中下载完整邮件文件的处理可以包括:从本地存储的预下载的文件信息中获取完整邮件文件的第一标识信息;利用第一该标识信息,向所述网络侧的服务器下载发送完整邮件文件的下载请求;接收所述完整邮件文件。Further, in step 103, the process of downloading the complete mail file from the server on the network side may include: acquiring first identification information of the complete mail file from the locally stored pre-downloaded file information; using the first identification information, The server on the network side downloads a download request for sending a complete mail file; and receives the complete mail file.

在移动终端一侧,在存储邮件的相关信息的时候,客户端已经存储了完整邮件文件在服务器上面的唯一的标识ID(本实施例中称作第一标识信息),例如“14%3a156%3a2”,当客户端接到移动终端用户需要请求下载一个大于10M的附件的时候,可以获取本地存储的邮件的第一标识信息,通过ActiveSync提供的方法接口,发送完整邮件文件下载请求,将完整邮件文件下载下来(包含了头信息、正文、附件等全部内容), 完整邮件文件的格式是MINE格式,然后使用程序工具(例如MINE文件解析器)提取出里面的附件内容。On the mobile terminal side, when storing the related information of the mail, the client has stored a unique identification ID (referred to as first identification information in the present embodiment) of the complete mail file on the server, for example, "14% 3a156%" 3a2", when the client receives the mobile terminal user needs to request to download an attachment larger than 10M, the first identification information of the locally stored mail can be obtained, and the complete mail file download request is sent through the method interface provided by ActiveSync, which will be complete. The mail file is downloaded (including the header information, text, attachments, etc.), The format of the complete mail file is MINE format, and then the program content (such as MINE file parser) is used to extract the contents of the attachment.

进一步地,在很多时候,邮件的附件有多个,需要在完整邮件文件确定要下载的大附件,然后进行提取并呈现给用户,具体地,可以采用如下两种方式:Further, in many cases, there are multiple attachments to the mail, and the large attachments to be downloaded are determined in the complete mail file, and then extracted and presented to the user. Specifically, the following two methods may be used:

1)通过附件的唯一表示进行提取,具体如下:1) Extract by the unique representation of the attachment, as follows:

从所述预下载的文件信息中获取所述附件对应的第二标识信息,然后,对所述完整邮件文件进行解析,根据第二标识信息,提取所请求的附件。这里所说的预下载的文件信息可以是邮件头信息也可以是邮件同步文件夹所包含的信息等。Acquiring the second identification information corresponding to the attachment from the pre-downloaded file information, and then parsing the complete mail file, and extracting the requested attachment according to the second identification information. The pre-downloaded file information mentioned here may be the header information or the information included in the mail synchronization folder.

2)通过附件的位置信息进行提取,具体如下:2) Extract by the location information of the attachment, as follows:

从所述预下载的文件信息中获取所述附件的位置信息,对所述完整邮件文件进行解析,并根据所述位置信息,提取所请求的附件。附件的存储是按照一定的顺序,用户在触发某一个附件的下载请求时,已经确定了该附件的位置,根据这个位置信息,就可以在解析后的邮件文件中找到对应的附件并呈现给用户。Obtaining the location information of the attachment from the pre-downloaded file information, parsing the complete mail file, and extracting the requested attachment according to the location information. The attachment is stored in a certain order. When the user triggers the download request of an attachment, the location of the attachment has been determined. According to the location information, the corresponding attachment can be found in the parsed mail file and presented to the user. .

此外,在上述步骤102中,如果判断出附件的大小小于预设阈值(例如为10M),则可以执行步骤105:通过所述附件对应的第二标识信息从所述网络侧的服务器中下载所述附件。In addition, in step 102, if it is determined that the size of the accessory is less than a preset threshold (for example, 10M), step 105 may be performed: downloading the server from the server on the network side by using the second identifier information corresponding to the accessory. Attached.

需要说明的是,本发明实施例的重点在于对附件超过预设阈值的情况的处理,而对于小于预设阈值的情况,可采用现有技术中的任何附加下载方法即可,当然,也可以使用本发明对于大附件的处理方法。It should be noted that the focus of the embodiment of the present invention is on the processing of the case where the accessory exceeds the preset threshold, and for the case of less than the preset threshold, any additional downloading method in the prior art may be used. The method of treating large attachments of the present invention is used.

下面列举一个简单的应用示例:Here's a simple application example:

例如一封邮件M有附件A、B、C,大小分别为1M、20M、2M,用户请求下载A或者C,则采用传统方式进行下载即可,如果用户请求下载附件B,此时我们是知道B的位置是第2个,则客户端发送下载完整邮件文件M的请求(这里设为请求为R)给服务器,下载完成之后,将M存储到本地。然后,客户端使用Mime格式解析器解析M的内容,提取出第二个附件的内容,将内容作为附件的内容存储到移动终端存储空间中,通知用户附件下载完毕。 For example, a mail M has attachments A, B, and C, and the size is 1M, 20M, and 2M respectively. If the user requests to download A or C, it can be downloaded in the traditional way. If the user requests to download the attachment B, we know at this time. The location of B is the second, and the client sends a request to download the complete mail file M (here, the request is R) to the server, and after the download is completed, the M is stored locally. Then, the client uses the Mime format parser to parse the content of the M, extracts the content of the second attachment, and stores the content as an attachment in the storage space of the mobile terminal, notifying the user that the attachment is downloaded.

向服务器请求下载整封邮件文件的代码简单示例(请求R的简单内容):A simple example of requesting the server to download the entire mail file (simply requesting R):

Figure PCTCN2016083940-appb-000001
Figure PCTCN2016083940-appb-000001

Figure PCTCN2016083940-appb-000002
Figure PCTCN2016083940-appb-000002

实施例二Embodiment 2

如图2所示,其为发明实施例二的移动终端的邮件附件的下载装置的结构示意图,该装置包括:附件下载请求接收模块11,用于接收附件下载请求;判断模块12,用于对附件的大小进行判断;第一下载模块13,用于在所述判断模块判定所述附件的大小在预设阈值以上的情况下,则从网络侧的服务器中下载完整邮件文件;解析模块14,用于对所述完整邮件文件进行解析,提取出所述附件。As shown in FIG. 2, it is a schematic structural diagram of a downloading device for an email attachment of a mobile terminal according to a second embodiment of the present invention. The device includes: an attachment download request receiving module 11 for receiving an attachment download request; and a determining module 12 for The size of the attachment is determined; the first downloading module 13 is configured to: when the determining module determines that the size of the accessory is greater than a preset threshold, download the complete mail file from the server on the network side; the parsing module 14 Used to parse the complete mail file and extract the attachment.

其中,第一下载模块13可以包括:The first download module 13 may include:

第一标识信息模块,用于从本地存储的预下载的文件信息中获取完整邮件文件的第一标识信息;邮件下载请求模块,用于利用该标识信息,向所述网络侧的服务器下载发送完整邮件文件的下载请求;邮件接收模块,接收所述完整邮件文件。The first identifier information module is configured to obtain the first identifier information of the complete mail file from the locally stored pre-downloaded file information, and the mail download request module is configured to download and send the complete information to the server on the network side by using the identifier information. a download request of the mail file; the mail receiving module receives the complete mail file.

进一步地,根据附件提取方式的不同,所述解析模块14可以有如下两种构成方式Further, the parsing module 14 may have the following two configurations according to different attachment extraction modes.

方式一:解析模块14可以包括:Manner 1: The parsing module 14 can include:

第二标识信息获取模块,用于从所述预下载的文件信息中获取所述附件对应的第二标识信息;a second identifier information acquiring module, configured to acquire second identifier information corresponding to the attachment from the pre-downloaded file information;

第一解析单元,用于对所述完整邮件文件进行解析,并根据所述第二标识信息,提取所请求的附件。The first parsing unit is configured to parse the complete mail file, and extract the requested attachment according to the second identifier information.

方式二:解析模块14可以包括:Manner 2: The parsing module 14 can include:

位置信息获取模块,用于从所述预下载的文件信息中获取所述附件的位置信息;a location information obtaining module, configured to obtain location information of the accessory from the pre-downloaded file information;

第二解析单元,用于对所述完整邮件文件进行解析,并根据所述位置信息,提取所请求的附件。And a second parsing unit, configured to parse the complete mail file, and extract the requested attachment according to the location information.

此外,针对附件小于预设阈值的情况,本实施例的下载装置,还可以包括: In addition, for the case that the accessory is smaller than the preset threshold, the downloading device of the embodiment may further include:

第二下载模块15,用于在所述判断模块判定所述附件的大小小于预设阈值的情况下,通过所述附件对应的第二标识信息从所述网络侧的服务器中下载所述附件。The second downloading module 15 is configured to download the accessory from the server on the network side by using the second identifier information corresponding to the accessory, if the determining module determines that the size of the accessory is less than a preset threshold.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (11)

一种移动终端的邮件附件的下载方法,其特征在于,包括:A method for downloading an email attachment of a mobile terminal, comprising: 接收附件下载请求;Receiving an attachment download request; 对附件的大小进行判断,如果所述附件的大小在预设阈值以上,则从网络侧的服务器中下载完整邮件文件;Judging the size of the attachment, if the size of the attachment is above a preset threshold, downloading the complete mail file from the server on the network side; 对所述完整邮件文件进行解析,提取出所述附件。Parsing the complete mail file and extracting the attachment. 根据权利要求1所述的下载方法,其特征在于,从网络侧的服务器中下载完整邮件文件的处理包括:The downloading method according to claim 1, wherein the processing of downloading the complete mail file from the server on the network side comprises: 从本地存储的预下载的文件信息中获取完整邮件文件的第一标识信息;Obtaining first identification information of the complete mail file from the locally stored pre-downloaded file information; 利用第一该标识信息,向所述网络侧的服务器下载发送完整邮件文件的下载请求;Using the first identifier information, downloading a download request for sending a complete mail file to the server on the network side; 接收所述完整邮件文件。Receive the complete mail file. 根据权利要求1所述的下载方法,其特征在于,对所述完整邮件文件进行解析,提取出所请求的附件的处理包括:The downloading method according to claim 1, wherein the processing of parsing the complete mail file and extracting the requested attachment comprises: 从所述预下载的文件信息中获取所述附件对应的第二标识信息;Obtaining second identifier information corresponding to the attachment from the pre-downloaded file information; 对所述完整邮件文件进行解析,并根据所述第二标识信息,提取所请求的附件。Parsing the complete mail file, and extracting the requested attachment according to the second identification information. 根据权利要求1所述的下载方法,其特征在于,对所述完整邮件文件进行解析,提取出所请求的附件的处理包括:The downloading method according to claim 1, wherein the processing of parsing the complete mail file and extracting the requested attachment comprises: 获取所述附件的位置信息;Obtaining location information of the attachment; 对所述完整邮件文件进行解析,并根据所述位置信息,提取所请求的附件。Parsing the complete mail file and extracting the requested attachment according to the location information. 根据权利要求1所述的下载方法,其特征在于,如果所述附件的大小小于所述预设阈值,则通过所述附件对应的第二标识信息从所述网络侧的服务器中下载所述附件。The downloading method according to claim 1, wherein if the size of the accessory is smaller than the preset threshold, downloading the accessory from the server on the network side by using the second identification information corresponding to the accessory . 根据权利要求1至5任一所述的下载方法,其特征在于,所述完整邮件文件的格式为MINE格式。The downloading method according to any one of claims 1 to 5, characterized in that the format of the complete mail file is the MINE format. 一种移动终端的邮件附件的下载装置,其特征在于,包括:A device for downloading an email attachment of a mobile terminal, comprising: 附件下载请求接收模块,用于接收附件下载请求; An attachment download request receiving module, configured to receive an attachment download request; 判断模块,用于对附件的大小进行判断;a judging module for judging the size of the attachment; 第一下载模块,用于在所述判断模块判定所述附件的大小在预设阈值以上的情况下,则从网络侧的服务器中下载完整邮件文件;a first downloading module, configured to: when the determining module determines that the size of the accessory is greater than a preset threshold, download a complete mail file from a server on the network side; 解析模块,用于对所述完整邮件文件进行解析,提取出所述附件。The parsing module is configured to parse the complete mail file and extract the attachment. 根据权利要求7所述的下载装置,其特征在于,所述第一下载模块包括:The downloading apparatus according to claim 7, wherein the first downloading module comprises: 第一标识信息模块,用于从本地存储的预下载的文件信息中获取完整邮件文件的第一标识信息;a first identifier information module, configured to obtain first identifier information of the complete mail file from the locally stored pre-downloaded file information; 邮件下载请求模块,用于利用该标识信息,向所述网络侧的服务器下载发送完整邮件文件的下载请求;a mail download requesting module, configured to download, by using the identifier information, a download request for sending a complete mail file to a server on the network side; 邮件接收模块,用于接收所述完整邮件文件。The mail receiving module is configured to receive the complete mail file. 根据权利要求7所述的下载装置,其特征在于,所述解析模块包括:The downloading apparatus according to claim 7, wherein the parsing module comprises: 第二标识信息获取模块,用于从所述预下载的文件信息中获取所述附件对应的第二标识信息;a second identifier information acquiring module, configured to acquire second identifier information corresponding to the attachment from the pre-downloaded file information; 第一解析单元,用于对所述完整邮件文件进行解析,并根据所述第二标识信息,提取所请求的附件。The first parsing unit is configured to parse the complete mail file, and extract the requested attachment according to the second identifier information. 根据权利要求7所述的下载装置,其特征在于,所述解析模块包括:The downloading apparatus according to claim 7, wherein the parsing module comprises: 位置信息获取模块,获取所述附件的位置信息;a location information obtaining module, acquiring location information of the accessory; 第二解析单元,用于对所述完整邮件文件进行解析,并根据所述位置信息,提取所请求的附件。And a second parsing unit, configured to parse the complete mail file, and extract the requested attachment according to the location information. 根据权利要求7所述的下载装置,其特征在于,还包括:The downloading device according to claim 7, further comprising: 第二下载模块,用于在所述判断模块判定所述附件的大小小于预设阈值的情况下,通过所述附件对应的第二标识信息从所述网络侧的服务器中下载所述附件。 And a second downloading module, configured to download the accessory from the server on the network side by using the second identifier information corresponding to the accessory, if the determining module determines that the size of the accessory is less than a preset threshold.
PCT/CN2016/083940 2015-10-27 2016-05-30 Method for downloading email attachment on mobile terminal Ceased WO2017071204A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2017071204A1 true WO2017071204A1 (en) 2017-05-04

Family

ID=57001853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083940 Ceased WO2017071204A1 (en) 2015-10-27 2016-05-30 Method for downloading email attachment on mobile terminal

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116248624B (en) * 2022-12-05 2025-01-28 北京中科网威信息技术有限公司 Mail attachment processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972250A (en) * 2005-11-22 2007-05-30 腾讯科技(深圳)有限公司 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
CN101079846A (en) * 2007-06-08 2007-11-28 腾讯科技(深圳)有限公司 A sending and receiving method and system of Email attachment
CN101800710A (en) * 2008-04-02 2010-08-11 华为技术有限公司 Mail reception control method, system and device
US8260861B1 (en) * 2005-08-31 2012-09-04 AT & T Intellectual Property II, LP System and method for an electronic mail attachment proxy

Family Cites Families (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
CN100461776C (en) * 2006-08-18 2009-02-11 华为技术有限公司 System, method and apparatus for implementing email notification
CN101247563A (en) * 2008-03-20 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Mail pushing system and mail receiving and dispatching method
CN102025647B (en) * 2009-09-17 2013-11-06 中国长城工业总公司 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

Patent Citations (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
CN1972250A (en) * 2005-11-22 2007-05-30 腾讯科技(深圳)有限公司 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
CN101079846A (en) * 2007-06-08 2007-11-28 腾讯科技(深圳)有限公司 A sending and receiving method and system of Email attachment
CN101800710A (en) * 2008-04-02 2010-08-11 华为技术有限公司 Mail reception control method, system and device

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
CN105898717A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN105100223B (en) File sharing method, device and system based on cloud storage
CN106357503B (en) Message treatment method and instant communication server
US9037735B1 (en) Establishing websocket protocol extensions
US20170230320A1 (en) Transmitting Media Content During Instant Messaging
WO2013003493A3 (en) System and method for protocol fingerprinting and reputation correlation
CN102355501B (en) A kind of data processing method, access examination & verification equipment and system
US11966684B2 (en) Methods, systems, and apparatus for email to persistent messaging
CN103825806B (en) Display styles method of adjustment, equipment and system
CN103647701B (en) The control method and device of instantaneous communication system message forwarding
WO2015021873A1 (en) Method, platform server, and system of data pushing
CN102638771B (en) A kind of method and system of sharing web page
CN102025740A (en) Single sign-on method, fat client, server and system
WO2015106728A1 (en) Data processing method and system
CN105577504B (en) Method and device for establishing communication channel
CN105207860A (en) Business acceleration system and method
WO2016086755A1 (en) Packet processing method and transparent proxy server
WO2017071204A1 (en) Method for downloading email attachment on mobile terminal
CN104184723B (en) A kind of method for identifying application program, device and the network equipment
CN103229486A (en) Batch file transmission method and device
US10387663B2 (en) System, a method and a computer readable medium for transmitting an electronic file
CN113395367B (en) HTTPS service identification method and device, storage medium and electronic equipment
CN103326927B (en) A kind of method and apparatus withholding mail
CN106534046B (en) Mimic data transmission server and data transmission method
CN104301285B (en) Login method for web system
WO2017084513A1 (en) Method and server for processing verification information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16858648

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16858648

Country of ref document: EP

Kind code of ref document: A1