CN102567274A - Method and system for realizing transfer of mail data between mobile terminal and computer - Google Patents
Method and system for realizing transfer of mail data between mobile terminal and computer Download PDFInfo
- Publication number
- CN102567274A CN102567274A CN2010105816836A CN201010581683A CN102567274A CN 102567274 A CN102567274 A CN 102567274A CN 2010105816836 A CN2010105816836 A CN 2010105816836A CN 201010581683 A CN201010581683 A CN 201010581683A CN 102567274 A CN102567274 A CN 102567274A
- Authority
- CN
- China
- Prior art keywords
- data
- mail data
- transfer
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明提供了一种实现邮件数据在移动终端和计算机之间转移的方法,包括:检测所述移动终端和计算机之间的连接状态;当所述移动终端和计算机处于连接状态时,获取邮件数据转移指令,并根据所述邮件数据转移指令确定所述邮件数据转移方向,所述邮件数据转移方向包括从移动终端转移到计算机和从计算机转移到移动终端;选择邮件数据,并根据所述邮件数据转移方向,将邮件数据从转出终端传输至接收终端并保存。相应地,本发明还提供了一种可供实施所述方法的系统。本发明能有效实现邮件数据在移动终端和计算机的双向转移,满足用户需求的多样性。
The present invention provides a method for transferring mail data between a mobile terminal and a computer, comprising: detecting the connection state between the mobile terminal and the computer; when the mobile terminal and the computer are in the connected state, obtaining mail data Transfer instruction, and determine the transfer direction of the mail data according to the mail data transfer instruction, the mail data transfer direction includes transferring from the mobile terminal to the computer and from the computer to the mobile terminal; select the mail data, and according to the mail data In the direction of transfer, the mail data is transferred from the transfer-out terminal to the receiving terminal and saved. Correspondingly, the present invention also provides a system capable of implementing the method. The invention can effectively realize the two-way transfer of the mail data between the mobile terminal and the computer, and satisfies the diversity of user requirements.
Description
技术领域 technical field
本发明属于通讯领域,尤其涉及一种实现邮件数据在移动终端和计算机之间转移的方法及系统。The invention belongs to the communication field, and in particular relates to a method and a system for realizing transfer of mail data between a mobile terminal and a computer.
背景技术 Background technique
电子邮件在现代日常生活和工作中充当着举足轻重的角色。在计算机的桌面系统上,已经有不计其数的邮件客户端,同时在即将到来的移动互联网时代,移动终端的邮件客户端也将在扮演着与用户息息相关的角色。Email plays a pivotal role in modern day-to-day life and work. On the desktop system of the computer, there are already countless email clients. At the same time, in the coming mobile Internet era, the email client of the mobile terminal will also play a role closely related to the user.
现有的邮件数据导入方法是:检测移动终端与计算机的连接状态;当检测到移动终端与计算机连接时,移动终端向计算机发送邮件数据请求指令并接收计算机发送的邮件访问状态,获取移动终端当前已有邮件数据,发送移动终端已有邮件数据的关键字,所述计算机对当前邮件数据进行筛选并发送筛选得到的邮件数据给移动终端,移动终端接收并存储上述筛选出的邮件数据。The existing mail data import method is: detect the connection status between the mobile terminal and the computer; when it is detected that the mobile terminal is connected to the computer, the mobile terminal sends a mail data request command to the computer and receives the mail access status sent by the computer, and obtains the current status of the mobile terminal. Existing mail data, sending keywords of the existing mail data in the mobile terminal, the computer screens the current mail data and sends the screened mail data to the mobile terminal, and the mobile terminal receives and stores the screened mail data.
本发明人对现有技术的研究和实践过程中发现:上述方法实现将计算机的邮件数据转移到移动终端上,但是只能将邮件数据从计算机一侧转移到移动终端上,当在某种情况或者特定环境下,无法满足用户需求的多样性,给用户的使用造成不便。During the research and practice of the prior art, the inventor found that: the above method realizes transferring the mail data of the computer to the mobile terminal, but it can only transfer the mail data from the computer side to the mobile terminal. Or in a specific environment, the diversity of user needs cannot be met, causing inconvenience to users.
发明内容 Contents of the invention
本发明为解决现有技术中只能将邮件数据从计算机导入到移动终端的技术问题,提供一种实现邮件数据在移动终端和计算机之间转移的方法,该方法可以实现邮件数据在计算机和移动终端之间的双向转移,满足用户需求的多样性,使用方便。In order to solve the technical problem in the prior art that mail data can only be imported from a computer to a mobile terminal, the present invention provides a method for transferring mail data between a mobile terminal and a computer. Two-way transfer between terminals meets the diversity of user needs and is easy to use.
本发明实施例是这样实现的,一种实现邮件数据在移动终端和计算机之间转移的方法。所述方法包括如下步骤:The embodiment of the present invention is implemented in the following way, a method for transferring mail data between a mobile terminal and a computer. The method comprises the steps of:
检测所述移动终端和计算机之间的连接状态;detecting the connection status between the mobile terminal and the computer;
当所述移动终端和计算机处于连接状态时,获取邮件数据转移指令,并根据所述邮件数据转移指令确定所述邮件数据转移方向,所述邮件数据转移方向包括从移动终端转移到计算机和从计算机转移到移动终端;When the mobile terminal and the computer are in a connected state, the mail data transfer instruction is obtained, and the mail data transfer direction is determined according to the mail data transfer instruction, and the mail data transfer direction includes transfer from the mobile terminal to the computer and from the computer transfer to a mobile terminal;
选择邮件数据,并根据所述邮件数据转移方向,将邮件数据从转出终端传输至接收终端并保存。Select the mail data, and according to the transfer direction of the mail data, transfer the mail data from the transferring terminal to the receiving terminal and save it.
本发明实施例的另一目的在于,提供一种实现邮件数据在移动终端和计算机之间转移的系统。所述系统包括:Another object of the embodiments of the present invention is to provide a system for transferring mail data between a mobile terminal and a computer. The system includes:
检测模块,用于检测移动终端与计算机的连接状态;The detection module is used to detect the connection status between the mobile terminal and the computer;
获取模块,用于获取邮件数据转移指令;An acquisition module, configured to acquire an email data transfer instruction;
判断模块,根据获取模块获取的邮件数据转移指令确定邮件数据的转移方向,即确定邮件数据是从移动终端转移到计算机还是从计算机转移到移动终端;The judging module determines the transfer direction of the mail data according to the mail data transfer instruction acquired by the acquisition module, that is, determines whether the mail data is transferred from the mobile terminal to the computer or from the computer to the mobile terminal;
选择模块,用于提供筛选指令输入窗口,或者提供预设筛选规则窗口,并根据用户当前输入的筛选指令或者预设的筛选规则对所述转出终端中的邮件进行筛选;The selection module is used to provide a screening instruction input window, or provide a preset filtering rule window, and filter the mails in the transfer-out terminal according to the filtering instruction currently input by the user or the preset filtering rules;
转移模块,根据所述判断模块确定的方向,将邮件数据从转出终端传输至接收终端;The transfer module transmits the mail data from the transfer-out terminal to the receiving terminal according to the direction determined by the judgment module;
存储模块,用于存储转移后的邮件数据。The storage module is used for storing the transferred mail data.
从本发明邮件转移的方案可以看出,通过接收用户输入的邮件数据转移指令,并根据所述邮件数据转移指令来确定邮件转移方向,所述邮件数据转移方向包括从移动终端转移到计算机和从计算机转移到移动终端,使得邮件转移的灵活性大大增强。并且,在转移邮件数据之前先选择出用户需要的待转移的邮件数据,因此使得本发明的邮件转移方法的更加灵活、满足用户多样性需要、方便用户的使用、同时还节省传输时间和网络流量。From the mail transfer scheme of the present invention, it can be seen that by receiving the mail data transfer instruction input by the user, and determining the mail transfer direction according to the mail data transfer instruction, the mail data transfer direction includes transferring from the mobile terminal to the computer and from the mobile terminal to the computer. The transfer of computers to mobile terminals has greatly enhanced the flexibility of mail transfers. Moreover, before transferring the mail data, the mail data to be transferred required by the user is first selected, so that the mail transfer method of the present invention is more flexible, meets the diverse needs of users, facilitates the use of users, and saves transmission time and network traffic at the same time .
附图说明 Description of drawings
图1是本发明一实施例提供的实现邮件数据在移动终端和计算机之间转移方法的流程示意图;1 is a schematic flow diagram of a method for transferring mail data between a mobile terminal and a computer provided by an embodiment of the present invention;
图2是本发明另一实施例提供的实现邮件数据在移动终端和计算机之间转移方法的流程示意图;2 is a schematic flow diagram of a method for transferring mail data between a mobile terminal and a computer provided by another embodiment of the present invention;
图3是本发明一实施例提供的实现邮件数据在移动终端和计算机之间转移系统的结构示意图。Fig. 3 is a schematic structural diagram of a system for transferring mail data between a mobile terminal and a computer provided by an embodiment of the present invention.
具体实施方式 Detailed ways
为了使本发明所解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects solved by the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
下面参考图1描述根据本发明实施例的实现邮件数据在移动终端和计算机之间转移方法。Referring to FIG. 1, a method for transferring mail data between a mobile terminal and a computer according to an embodiment of the present invention will be described below.
图1是本发明实施例提供的一种实现邮件数据在移动终端和计算机之间转移的方法,所述方法包括如下步骤:Fig. 1 is a kind of method that realizes the transfer of mail data between mobile terminal and computer that the embodiment of the present invention provides, and described method comprises the following steps:
S101:检测移动终端和计算机之间的连接状态。S101: Detect the connection status between the mobile terminal and the computer.
检测方法可以是:移动终端向计算机发送连接查询指令,并请求计算机返回确认指令,如果在规定时间内移动终端收到计算机的确认指令,则说明二者已连接。可以理解的是,上述示例的检测方法并不用以限定本发明。The detection method may be: the mobile terminal sends a connection query command to the computer, and requests the computer to return a confirmation command, and if the mobile terminal receives the confirmation command from the computer within a specified time, it means that the two are connected. It can be understood that the detection methods in the above examples are not intended to limit the present invention.
S102:当移动终端和计算机处于连接状态时,获取邮件数据转移指令,并根据所述邮件数据转移指令确定所述邮件数据转移方向。S102: When the mobile terminal is connected to the computer, acquire an email data transfer instruction, and determine the email data transfer direction according to the email data transfer instruction.
在本发明一实施例中,当移动终端和计算机连接上时,在移动终端的用户界面上输出邮件转移方向的选项,上述选项包括从移动终端转移到计算机的第一选项以及从计算机转移到移动终端的第二选项,用户可以通过操作移动终端的按键或者通过直接触摸移动终端上的相应选项进行选择,根据用户输入的指令确定邮件转移方向。当然,上述操作也可以在计算机执行,或者在移动终端和计算机同时完成,在此并不作限定。由于上述邮件数据转移指令可以在移动终端上输入,也可以在计算机上输入,因此可以大大方便用户操作。In one embodiment of the present invention, when the mobile terminal is connected to the computer, the user interface of the mobile terminal outputs options for the transfer direction of the mail, and the above options include the first option of transferring from the mobile terminal to the computer and transferring from the computer to the mobile terminal. For the second option of the terminal, the user can select by operating the buttons of the mobile terminal or by directly touching the corresponding option on the mobile terminal, and determine the mail transfer direction according to the instruction input by the user. Of course, the above operations can also be performed on a computer, or can be completed simultaneously on the mobile terminal and the computer, which is not limited here. Since the above-mentioned mail data transfer instruction can be input on the mobile terminal or on the computer, it can greatly facilitate the user's operation.
上述确定邮件数据的转移方向,即根据用户输入的邮件数据转移指令判断邮件数据是从移动终端转移到计算机还是从计算机转移到移动终端。在本发明实施例中,转出邮件数据的一方称为转出终端,接收邮件数据的一方称为接收终端。The above determination of the transfer direction of the mail data is to determine whether the mail data is transferred from the mobile terminal to the computer or from the computer to the mobile terminal according to the mail data transfer instruction input by the user. In the embodiment of the present invention, the party that transfers the mail data is called the transfer-out terminal, and the party that receives the mail data is called the receiving terminal.
S103:选择邮件数据,并根据所述邮件数据转移方向,将邮件数据从转出终端传输至接收终端并保存。S103: Select the mail data, and according to the transfer direction of the mail data, transmit the mail data from the transfer-out terminal to the receiving terminal and store them.
在本发明一实施例中,可以是根据用户当前输入的筛选指令或者预先存储在移动终端或者计算中的筛选规则对所述转出终端中的邮件数据进行筛选。In an embodiment of the present invention, the mail data in the transfer-out terminal may be screened according to the screening instruction currently input by the user or the screening rules pre-stored in the mobile terminal or computer.
在本发明一实施例中,上述筛选指令或者筛选规则可以包括第一类和第二类。其中,第一类包括选择转移整封邮件、转移邮件正文、转移邮件附件中的任意一种。第二类包括选择以下的其中一个或几个:In an embodiment of the present invention, the above screening instructions or screening rules may include the first type and the second type. Among them, the first category includes selecting any one of transferring the entire email, transferring the body of the email, and transferring the attachment of the email. The second category includes choosing one or more of the following:
“主题”行包含指定的词;The "Subject" line contains the specified words;
“发件人”行中包含指定的用户;The "From" line contains the specified user;
“收件人”行中包含指定的用户;The "To" line contains the specified user;
“抄送”行中包含指定的用户;The "cc" line contains the specified user;
邮件来自于指定的帐户;The mail is from the specified account;
邮件安全;email security;
接收时间符合指定的时间或时间段;The time of receipt corresponds to the specified time or period of time;
邮件大小符合指定的范围;The mail size meets the specified range;
邮件标记为高优先级。Mail marked as high priority.
在本发明一实施例中,上述第一类的筛选指令或者筛选规则、以及第二类筛选指令或者筛选规则可分开单独使用。In an embodiment of the present invention, the first type of screening instruction or screening rule and the second type of screening instruction or screening rule can be used separately and independently.
在本发明一实施例中,上述第一类的筛选指令或者筛选规则与第二类筛选指令或者筛选规则可组合使用。例如选择第一类的“转移邮件附件”,再选择第二类的“若邮件标记为高优先级”,就等于选择的是邮件标记为高优先级的邮件的附件。本领域技术人员可以在不脱离本发明的原理或宗旨的基础上进行变通。In an embodiment of the present invention, the first type of screening instruction or screening rule and the second type of screening instruction or screening rule may be used in combination. For example, if you select "Transfer email attachments" in the first category, and then select "If the email is marked as high priority" in the second category, it is equivalent to selecting the attachment of the email marked as high priority. Those skilled in the art can make modifications without departing from the principle or purpose of the present invention.
本发明实施例的实现邮件数据在移动终端和计算机中转移方法,通过接收用户输入的邮件数据转移指令,并根据所述邮件数据转移指令来确定邮件转移方向,所述邮件数据转移方向包括从移动终端转移到计算机和从计算机转移到移动终端,使得邮件转移的灵活性大大增强。并且,在转移邮件数据之前先选择出用户需要的待转移的邮件数据,因此使得本发明的邮件转移方法的更加灵活、满足用户多样性需要、方便用户的使用、同时还节省时间和网络流量。In the embodiment of the present invention, the method for transferring mail data between the mobile terminal and the computer is to receive the mail data transfer instruction input by the user, and determine the mail transfer direction according to the mail data transfer instruction, and the mail data transfer direction includes from mobile The transfer from the terminal to the computer and from the computer to the mobile terminal greatly enhances the flexibility of mail transfer. Moreover, before transferring the mail data, the mail data to be transferred required by the user is selected first, so that the mail transfer method of the present invention is more flexible, meets the diverse needs of users, facilitates the use of users, and saves time and network traffic at the same time.
在上述实施例的基础上提供了另一种实现邮件数据在移动终端和计算机之间转移的方法。如图2所示,上述方法包括步骤S201:检测移动终端和计算机之间的连接状态;以及步骤S202:当移动终端和计算机处于连接状态时,获取邮件数据转移指令,并根据所述邮件数据转移指令确定所述邮件数据转移方向。该方法还进一步包括如下步骤:On the basis of the above embodiments, another method for transferring mail data between a mobile terminal and a computer is provided. As shown in Figure 2, the above method includes step S201: detecting the connection state between the mobile terminal and the computer; and step S202: when the mobile terminal and the computer are in the connection state, obtain the mail data transfer instruction, and transfer according to the mail data An instruction to determine the transfer direction of the mail data. The method further includes the steps of:
S203:若选择邮件数据的筛选指令或者筛选规则为转移整封邮件时,执行步骤S204;若否,执行步骤S206;S203: If the filtering instruction or filtering rule of the selected email data is to transfer the entire email, execute step S204; if not, execute step S206;
S204:转移整封邮件,并执行步骤S205;S204: transfer the entire mail, and execute step S205;
S205:将上述邮件数据存储到第一存储区域;S205: Store the above mail data in the first storage area;
S206:判断选择邮件数据的筛选指令或者筛选规则是否为转移邮件正文,或者转移邮件附件,若是,执行步骤S207;S206: Determine whether the filtering instruction or filtering rule for selecting mail data is to transfer the text of the mail, or transfer the attachment of the mail, and if so, execute step S207;
S207:对所述邮件数据进行处理,形成多用途互联网邮件扩展MIME邮件数据,根据所述MIME邮件数据中的域信息得到编码后的邮件正文数据或邮件附件数据,并执行步骤S208;S207: Process the mail data to form Multipurpose Internet Mail Extended MIME mail data, obtain encoded mail text data or mail attachment data according to the domain information in the MIME mail data, and execute step S208;
具体地,MIME邮件的基本信息、格式信息、编码方式等重要内容都记录在邮件代码的各种域中,其中各个域分别用来存储同邮件相关的各种信息,比如发件人的名字和邮件地址信息存储在From域中,收件人的邮件地址信息存储在To域中。通过查询RFC(Request for Comments,请求评议文档)得到完整的邮件域。定义列表域的基本格式:{域名}:{内容},域由域名后面跟“:”再加上域的信息内容构成,一条域在邮件中占一行或者多行,域的首行左侧不能有空白字符,比如空格或者制表符,占用多行的域其后续行则必须以空白字符开头。域的信息内容中还可以包含属性,属性之间以“;”分隔,属性的格式如下:{属性名称}=”{属性值}”。其中可以通过Content-Type域得到邮件中所包含各种内容的类型以及相关属性,由于MIME邮件中各个不同类型的内容是分段存储的,各个段的排列方式、位置信息都可以通过Content-Type域中的信息来定义并通过boundary标识得到邮件分段边界。例如,Content-Type为multipart/mixed则表示一封邮件中含有附件,通过multipart/mixed类型中定义的boundary标识将附件内容与邮件其他内容分成不同的段;又如,在发送htm1格式的邮件内容时将使用图片作为htm1的背景,即MIME邮件对于携带各种附件同时,还将其他内容作为内嵌资源的方式存在的邮件中,则上述Content-Type可设为multipart/related,boundary中定义的字符串作为标识,将邮件内容分成不同的段。Specifically, important contents such as basic information, format information, and encoding methods of MIME mail are recorded in various fields of the mail code, and each field is used to store various information related to the mail, such as the sender's name and The email address information is stored in the From field, and the recipient's email address information is stored in the To field. Get the complete email domain by querying RFC (Request for Comments, request for comment document). The basic format of the definition list domain: {domain name}: {content}, the domain is composed of the domain name followed by ":" plus the information content of the domain, a domain occupies one or more lines in the email, and the left side of the first line of the domain cannot With whitespace characters, such as spaces or tabs, subsequent lines of fields that occupy multiple lines must start with a whitespace character. The information content of the domain can also contain attributes, separated by ";", and the format of the attributes is as follows: {attribute name}="{attribute value}". Among them, the types and related attributes of the various contents contained in the mail can be obtained through the Content-Type field. Since the contents of different types in the MIME mail are stored in segments, the arrangement and location information of each segment can be obtained through the Content-Type The information in the field is used to define and obtain the message segmentation boundary through the boundary flag. For example, if the Content-Type is multipart/mixed, it means that an email contains attachments, and the attachment content and other contents of the email are divided into different segments through the boundary identifier defined in the multipart/mixed type; The picture will be used as the background of htm1, that is, for MIME mails that carry various attachments and other content as embedded resources, the above Content-Type can be set to multipart/related, defined in boundary The string serves as an identifier to divide the message content into different segments.
以下表格1是一封示例MIME邮件的代码片段,From域、以及To域中记录了邮件的收发人的信息,Subject域和Date域中记录了邮件的主题名称和邮件的发送时间信息,该示例邮件的Content-Type为multipart/alternative,即在邮件中同时存在纯文本和超文本内容,通过boundary中定义的字符串“----=_NextPart_000_0021_01CB9529.F910D9E0”来进行邮件内容的分段,Content-Transfer-Encoding字段中记录了具体采用的编码方式,而“Hi Jessica Howare you recently=A3=BF Yours Tom“是经过上述编码方式后的邮件内容信息。The following table 1 is a code snippet of a sample MIME email. The From field and To field record the information of the recipient and recipient of the email. The Subject field and Date field record the subject name of the email and the sending time information of the email. This example The Content-Type of the email is multipart/alternative, that is, there are both plain text and hypertext content in the email, and the content of the email is segmented through the string "----=_NextPart_000_0021_01CB9529.F910D9E0" defined in the boundary. Content- The specific encoding method used is recorded in the Transfer-Encoding field, and "Hi Jessica Howe you recently=A3=BF Yours Tom" is the email content information after the above encoding method.
表1Table 1
如果筛选规则是转移邮件正文,则本步骤转移的就是“Hi Jessica How areyou recently=A3=BF Yours Tom”编码后的邮件正文。If the filtering rule is to transfer the email body, then this step transfers the encoded email text of "Hi Jessica How are you recently=A3=BF Yours Tom".
S208:对接收终端接收到的邮件正文数据或邮件附件数据进行解析,并执行步骤S209;S208: Analyze the email body data or email attachment data received by the receiving terminal, and execute step S209;
在一实施例中,上述对接收到的邮件正文数据或邮件附件数据进行解析是根据Content-Transfer-Encoding中的编码方式,将邮件正文数据或邮件附件数据译码成可直接供用户浏览的形式,如将TXT类型的邮件正文数据解析成TXT文本;将邮件附件为图片的,解析成JPEG格式图片等。In one embodiment, the above-mentioned parsing of the received email body data or email attachment data is to decode the email body data or email attachment data into a form that can be directly browsed by the user according to the encoding method in Content-Transfer-Encoding , such as parsing TXT type email body data into TXT text; parsing email attachments as pictures into JPEG format pictures, etc.
S209,将上述解析出的邮件数据存储在区别于所述第一存储区域的第二存储区域。S209. Store the analyzed email data in a second storage area different from the first storage area.
在本发明的一个实施例中,上述第二存储区域可以和第一存储区域位于同一存储器中,当然上述第二存储区域可以和第一存储区域分别位于不同的存储器中,例如在将邮件数据从计算机转移到移动终端时,第一存储区域为位于移动终端内存中的区域,第二存储区为设置在移动终端安全数码卡(SDMC,SecureDigital Memory Card)上的区域。更进一步,转移的整封邮件所存储的第一存储区域可以是接收终端邮件数据存储区域,当整封邮件转移完成后,用户可以通过查阅接收终端上的邮件客户端很方便地查看到转移的整封邮件。而转移的邮件正文数据和邮件附件数据所存储的第二存储区域可以是接收终端中存放资料的其他区域,这样用户在查看转移的邮件正文数据和邮件附件数据时就无需进入到接收终端的邮件客户端,在大量的邮件数据中查找所需资料,而且在设置的第二存储区域中方便快捷的查找到转移的邮件数据。例如,当转移的邮件附件数据为多媒体文件时,所述第二存储区域为多媒体文件夹。In an embodiment of the present invention, the above-mentioned second storage area can be located in the same memory as the first storage area, of course, the above-mentioned second storage area can be located in different memory areas from the first storage area, for example, when mail data is transferred from When the computer is transferred to the mobile terminal, the first storage area is the area located in the internal memory of the mobile terminal, and the second storage area is the area set on the mobile terminal Secure Digital Memory Card (SDMC, SecureDigital Memory Card). Furthermore, the first storage area where the entire transferred email is stored may be the email data storage area of the receiving terminal. the entire email. The second storage area where the transferred mail body data and mail attachment data are stored can be other areas where data are stored in the receiving terminal, so that the user does not need to enter the mail of the receiving terminal when viewing the transferred mail text data and mail attachment data. The client side searches for the required information in a large amount of mail data, and finds the transferred mail data conveniently and quickly in the set second storage area. For example, when the transferred email attachment data is a multimedia file, the second storage area is a multimedia folder.
更进一步,还可根据转移的邮件附件数据的多媒体类型进一步分类存储,如,邮件附件数据为图片文件时,将其存放至接收终端的图片文件夹中,当邮件附件数据为声音文件时,将其存放至接收终端的音频文件夹中。这样,用户可以很容易在对应的文件夹中查看到转移的邮件数据,大大方便了用户的操作。Furthermore, it can be further classified and stored according to the multimedia type of the transferred mail attachment data. For example, when the mail attachment data is a picture file, it is stored in the picture folder of the receiving terminal; when the mail attachment data is a sound file, the It is stored in the audio folder of the receiving terminal. In this way, the user can easily view the transferred mail data in the corresponding folder, which greatly facilitates the user's operation.
现有的邮件数据导入方法通过获取移动终端当前已有邮件数据,发送移动终端已有邮件数据的关键字,然后计算机对当前邮件数据进行筛选并发送筛选得到的邮件数据给移动终端,虽然在一定程度上可以避免邮件数据重复接收的问题,但是并不能有效导入用户需要的邮件数据,使用并不方便。而本实施例示意出的实现邮件在计算机和移动终端之间的转移方法是:通过将筛选出的邮件数据进行处理形成MIME邮件数据,将MIME邮件中编码的邮件正文或者邮件附件数据传输到接收终端,接收终端再将上述编码后的邮件正文或者邮件附件进行解析,获取到邮件正文数据和邮件附件数据,可以在用户只需要原始整封邮件中的邮件正文信息或者邮件附件时,只将用户所需要的信息转移到接收终端,而不是转移整封邮件数据,大大方便了用户使用,满足用户多样的需求,使得本发明的邮件转移方法的更加灵活。同时,仅将用户所需要的信息转移给接收终端大大减少了数据传输量,进一步节省传输时间和网络流量,同时也方便用户查看,提高用户处理邮件效率。The existing mail data import method obtains the currently existing mail data of the mobile terminal, sends keywords of the existing mail data of the mobile terminal, and then the computer screens the current mail data and sends the filtered mail data to the mobile terminal. To a certain extent, the problem of repeated receipt of email data can be avoided, but the email data required by users cannot be effectively imported, and it is not convenient to use. And the method for realizing the transfer of the mail between the computer and the mobile terminal shown by the present embodiment is: by processing the mail data screened out to form MIME mail data, the mail text or mail attachment data encoded in the MIME mail is transmitted to the receiver terminal, and the receiving terminal parses the above-mentioned coded email body or email attachment to obtain the email body data and email attachment data. When the user only needs the email body information or email attachment in the original entire email, only the user The required information is transferred to the receiving terminal instead of transferring the entire mail data, which greatly facilitates the user's use, meets the various needs of the user, and makes the mail transfer method of the present invention more flexible. At the same time, only the information required by the user is transferred to the receiving terminal, which greatly reduces the amount of data transmission, further saves transmission time and network traffic, and is also convenient for the user to view, improving the efficiency of the user's mail processing.
由于转移的整封邮件存储在第一存储区域,转移的邮件正文数据和邮件附件数据存储在第二存储区域,故可以方便用户根据转移的数据具体类型进行查看,使用便捷。Since the entire transferred email is stored in the first storage area, and the transferred email text data and email attachment data are stored in the second storage area, it is convenient for users to view according to the specific type of transferred data, and it is convenient to use.
更进一步,本发明一个实施例还包括:提示用户是否将存储于第二存储区域的邮件正文或邮件附件进行显示,若用户选择需要进行显示时,则调用接收终端相应的软件对邮件数据进行显示。Furthermore, an embodiment of the present invention also includes: prompting the user whether to display the mail text or mail attachments stored in the second storage area, and if the user chooses to display, then calling the corresponding software of the receiving terminal to display the mail data .
下面参考图3描述本发明实施例的实现邮件在移动终端和计算机之间转移的系统。Referring to FIG. 3 , the system for implementing mail transfer between a mobile terminal and a computer according to an embodiment of the present invention will be described below.
如图3所示,根据本发明实施的系统300包括检测模块301、获取模块302、判断模块303、选择模块304、转移模块305和存储模块306。本实施例仅示出了与本发明相关的部分。As shown in FIG. 3 , the system 300 implemented according to the present invention includes a
检测模块301,用于检测移动终端与计算机的连接状态,并在所述移动终端和计算机处于连接状态时,触发获取模块302;The
获取模块302,用于获取邮件数据转移指令;An
判断模块303和获取模块302相连,用于根据获取模块302获取的邮件数据转移指令确定邮件数据的转移方向,即确定邮件数据是从移动终端转移到计算机还是从计算机转移到移动终端;The
选择模块304,用于提供筛选指令输入窗口,或者提供预设筛选规则窗口,并根据用户当前输入的筛选指令或者预设的筛选规则对所述转出终端中的邮件进行筛选;The
转移模块305,根据所述判断模块303确定的方向,将邮件数据从转出终端传输至接收终端;The transfer module 305, according to the direction determined by the
存储模块306和转移模块306相连,以存储所述转移模块305转移至的邮件数据。The storage module 306 is connected to the transfer module 306 to store the mail data transferred by the transfer module 305 .
在本发明一实施例中,上述选择模块304中的筛选指令或者筛选规则可以包括两类,其中,第一类包括选择转移整封邮件、转移邮件正文、转移邮件附件中的任意一种。第二类包括选择以下的其中一个或几个:In an embodiment of the present invention, the screening instructions or screening rules in the
“主题”行包含指定的词;The "Subject" line contains the specified words;
“发件人”行中包含指定的用户;The "From" line contains the specified user;
“收件人”行中包含指定的用户;The "To" line contains the specified user;
“抄送”行中包含指定的用户;The "cc" line contains the specified user;
邮件来自于指定的帐户;The mail is from the specified account;
邮件安全;email security;
接收时间符合指定的时间或时间段;The time of receipt corresponds to the specified time or period of time;
邮件大小符合指定的范围;The mail size meets the specified range;
邮件标记为高优先级。Mail marked as high priority.
在本发明一实施例中,上述选择模块304中的第一类的筛选指令或者筛选规则和第二类筛选指令或者筛选规则可分开单独使用。In an embodiment of the present invention, the first type of screening instruction or screening rule and the second type of screening instruction or screening rule in the
在本发明一实施例中,上述选择模块304中第一类的筛选指令或者筛选规则和第二类筛选指令或者筛选规则可组合使用。例如选择第一类的“转移邮件附件”,再选择第二类的“若邮件标记为优先级”,就等于选择的是邮件标记为优先级的邮件的附件。本领域技术人员可以在不脱离本发明的原理或宗旨的基础上进行变通。In an embodiment of the present invention, the first type of screening instruction or screening rule and the second type of screening instruction or screening rule in the
本发明实施例的在邮件数据在移动终端和计算机中转移系统,将检测到移动终端和计算机连接时,通过获取模块302接收用户输入的邮件数据转移指令,并根据所述邮件数据转移指令来确定邮件转移方向,所述邮件数据转移方向包括从移动终端转移到计算机和从计算机转移到移动终端,使得邮件转移的灵活性大大增强。并且,在转移邮件数据之前通过选择模块304事前筛选出用户需要的待转移的邮件数据,再经由转移模块305根据所述判断模块303确定的方向,将邮件数据从转出终端传输至接收终端,因此使得本发明的邮件转移系统的更加灵活、满足用户多样性需要、方便用户的使用、同时还节省时间和网络流量。In the mail data transfer system between the mobile terminal and the computer in the embodiment of the present invention, when it is detected that the mobile terminal is connected to the computer, the mail data transfer instruction input by the user is received through the
在上述实施例的基础上,本发明提供了另一种实现邮件数据在移动终端和计算机之间转移的系统。该系统进一步包括:预处理模块以及解析模块。On the basis of the above embodiments, the present invention provides another system for transferring mail data between a mobile terminal and a computer. The system further includes: a preprocessing module and an analysis module.
当选择模块中的筛选指令或者筛选规则为转移邮件正文或者转移邮件附件时,所述预处理模块对邮件数据进行处理,以形成多用途互联网邮件扩展MIME邮件数据,根据所述MIME邮件数据中的域信息得到编码后的邮件正文数据或邮件附件数据;此时,转移模块305与预处理模块相连,以根据判断模块确定的方向,将邮件数据从转出终端传输至接收终端。When the screening instruction or screening rule in the selection module is to transfer the mail body or transfer mail attachments, the preprocessing module processes the mail data to form Multipurpose Internet Mail Extension MIME mail data, according to the MIME mail data The field information is encoded email text data or email attachment data; at this time, the transfer module 305 is connected to the preprocessing module to transmit the email data from the transfer terminal to the receiving terminal according to the direction determined by the judgment module.
具体地,MIME邮件的基本信息、格式信息、编码方式等重要内容都记录在邮件代码的各种域中,其中各个域分别用来存储同邮件相关的各种信息。由于MIME邮件中各个不同类型的内容是分段存储的,各个段的排列方式、位置信息都可以通过Content-Type域中的信息来定义并通过boundary标识得到邮件分段边界。根据Content-Transfer-Encoding字段中记录了具体采用的编码方式,以及boundary定义的邮件内容分段标记获取按照上述编码方式进行编码后的邮件正文数据或者邮件附件数据。Specifically, important contents such as basic information, format information, and encoding methods of MIME emails are all recorded in various fields of the mail code, and each field is used to store various information related to the mail. Since different types of content in a MIME mail are stored in segments, the arrangement and position information of each segment can be defined through the information in the Content-Type field and the segment boundary of the mail can be obtained through the boundary identifier. According to the specific encoding method recorded in the Content-Transfer-Encoding field, and the email content segmentation mark defined by the boundary, obtain the email body data or email attachment data encoded according to the above encoding method.
解析模块与转移模块305相连,当进行预处理模块处理后的邮件正文数据或邮件附件数据进行转移传输至接收终端一侧,解析模块根据之前预处理模块的编码规则,对转移过来的邮件正文数据或邮件附件数据进行解析,将邮件正文数据或者邮件附件数据还原成用户可查阅的格式后再传送给存储模块进行存储。The parsing module is connected to the transfer module 305. When the mail body data or mail attachment data processed by the preprocessing module is transferred to the receiving terminal side, the parsing module will convert the transferred mail text data according to the encoding rules of the previous preprocessing module. or email attachment data is analyzed, and the email body data or email attachment data is restored to a format that can be viewed by the user and then sent to the storage module for storage.
具体地,解析模块对接收到的邮件正文数据或邮件附件数据进行解析是根据Content-Transfer-Encoding中的编码方式,将邮件正文数据或邮件附件数据进行译码形成可供用户之间浏览的数据,如将TXT类型的邮件正文数据解析成TXT文本;将邮件附件为图片的,解析成JPEG格式图片等。Specifically, the parsing module parses the received email body data or email attachment data by decoding the email body data or email attachment data according to the encoding method in Content-Transfer-Encoding to form data that can be browsed by users , such as parsing TXT type email body data into TXT text; parsing email attachments as pictures into JPEG format pictures, etc.
通过将筛选出的邮件数据进行处理形成MIME邮件数据,将MIME邮件中编码的邮件正文或者邮件附件数据传输为接收终端,接收终端再将上述编码后的邮件正文或者邮件附件进行解析,获取到邮件正文数据和邮件附件数据,可以在用户只需要原始整封邮件中的邮件正文信息或者邮件附件时,只将用户所需要的信息转移至接收终端,而不是转移整封邮件数据,大大方便了用户使用,满足用户多样的需求,使得本发明的邮件转移方法的更加灵活。同时,将用户所需要的信息转移给接收终端大大减少了数据传输量,进一步节省传输时间和网络流量,同时也方便用户查看,提高用户处理邮件效率。By processing the filtered email data to form MIME email data, the encoded email body or email attachment data in the MIME email is transmitted to the receiving terminal, and the receiving terminal parses the encoded email text or email attachment to obtain the email Text data and email attachment data, when the user only needs the email body information or email attachments in the original entire email, only the information required by the user can be transferred to the receiving terminal instead of transferring the entire email data, which greatly facilitates the user The use satisfies the diverse needs of users, making the mail transfer method of the present invention more flexible. At the same time, transferring the information required by the user to the receiving terminal greatly reduces the amount of data transmission, further saving transmission time and network traffic, and is also convenient for the user to view, improving the efficiency of the user's mail processing.
在本发明的一实施例中,存储模块还进一步包括第一存储单元和第二存储单元,其中:第一存储单元,用于当所述筛选指令或者筛选规则为转移整封邮件时,存储转移后的邮件数据;第二存储单元,,用于存储解析模块解析后的邮件数据。在本发明的一个实施例中,上述第二存储区域可以和第一存储区域位于同一存储器中,当然上述第二存储区域可以和第一存储区域分别位于不同的存储器中,例如在将邮件数据从计算机转移到移动终端时,第一存储区域为位于移动终端内存中的区域,第二存储区为设置在移动终端安全数码卡(SDMC,Secure Digital Memory Card)上的区域。更进一步,转移的整封邮件所存储的第一存储区域可以是接收终端邮件数据存储区域,当整封邮件转移完成后,用户可以通过查阅接收终端上的邮件客户端很方便地查看到转移的整封邮件。而转移的邮件正文数据和邮件附件数据所存储的第二存储区域可以是接收终端中存放资料的其他区域,这样用户在查看转移的邮件正文数据和邮件附件数据时就无需进入到接收终端的邮件客户端,在大量的邮件数据中查找所需资料,而是在设置的第二存储区域中方便快捷的查找到转移的邮件数据。例如,当转移的邮件附件数据为多媒体文件时,所述第二存储区域为多媒体文件夹。更进一步,还可根据转移的邮件附件数据的多媒体类型进一步分类存储,如,邮件附件数据为图片文件时,将其存放至接收终端的图片文件夹中,当邮件附件数据为声音文件时,将其存放至接收终端的音频文件夹中。这样,用户可以很容易在对应的文件夹中查看到转移的邮件数据,大大方便了用户的操作。由于转移的整封邮件存储在第一存储区域,转移的邮件正文数据和邮件附件数据存储在第二存储区域,可以方便用户根据转移的数据具体类型进行查看,使用便捷。In an embodiment of the present invention, the storage module further includes a first storage unit and a second storage unit, wherein: the first storage unit is used to store the transferred email when the screening instruction or screening rule is to transfer the entire email the post-mail data; the second storage unit is used for storing the post-parse data parsed by the parsing module. In an embodiment of the present invention, the above-mentioned second storage area can be located in the same memory as the first storage area, of course, the above-mentioned second storage area can be located in different memory areas from the first storage area, for example, when mail data is transferred from When the computer is transferred to the mobile terminal, the first storage area is the area located in the internal memory of the mobile terminal, and the second storage area is the area set on the mobile terminal Secure Digital Memory Card (SDMC, Secure Digital Memory Card). Furthermore, the first storage area where the entire transferred email is stored may be the email data storage area of the receiving terminal. the entire email. The second storage area where the transferred mail body data and mail attachment data are stored can be other areas where data are stored in the receiving terminal, so that the user does not need to enter the mail of the receiving terminal when viewing the transferred mail text data and mail attachment data. The client side searches for the required information in a large amount of mail data, but finds the transferred mail data in the second storage area set up conveniently and quickly. For example, when the transferred email attachment data is a multimedia file, the second storage area is a multimedia folder. Furthermore, it can be further classified and stored according to the multimedia type of the transferred mail attachment data. For example, when the mail attachment data is a picture file, it is stored in the picture folder of the receiving terminal; when the mail attachment data is a sound file, the It is stored in the audio folder of the receiving terminal. In this way, the user can easily view the transferred mail data in the corresponding folder, which greatly facilitates the user's operation. Since the entire transferred email is stored in the first storage area, and the transferred email text data and email attachment data are stored in the second storage area, it is convenient for users to view according to the specific type of transferred data, and it is convenient to use.
在本发明的一实施例中,该系统还进一步包括:提示显示模块,用于提示用户是否将存储到所述第二存储单元后的邮件数据进行显示,若用户选择需要显示时,则调用接收终端相应的软件对邮件数据进行显示。In an embodiment of the present invention, the system further includes: a prompt display module, used to prompt the user whether to display the mail data stored in the second storage unit, and if the user chooses to display, call the receiving The corresponding software of the terminal displays the mail data.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105816836A CN102567274A (en) | 2010-12-08 | 2010-12-08 | Method and system for realizing transfer of mail data between mobile terminal and computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105816836A CN102567274A (en) | 2010-12-08 | 2010-12-08 | Method and system for realizing transfer of mail data between mobile terminal and computer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102567274A true CN102567274A (en) | 2012-07-11 |
Family
ID=46412721
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010105816836A Pending CN102567274A (en) | 2010-12-08 | 2010-12-08 | Method and system for realizing transfer of mail data between mobile terminal and computer |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102567274A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017167101A1 (en) * | 2016-03-31 | 2017-10-05 | 中兴通讯股份有限公司 | Multimedia message attachment management method and device, communication system and computer storage medium |
| CN108768835A (en) * | 2018-05-30 | 2018-11-06 | 彩讯科技股份有限公司 | A kind of mail analytic method, device, server and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1300014A (en) * | 1999-12-13 | 2001-06-20 | 夏普公司 | E-mail synchronising apparatus |
| US20020119804A1 (en) * | 2001-02-28 | 2002-08-29 | Gomes John Isaac Chandan | Method and apparatus for supplying email information remotely via a mobile device |
| US20060155810A1 (en) * | 2002-11-14 | 2006-07-13 | Paul Butcher | Method and device for electronic mail |
| CN101425984A (en) * | 2008-12-12 | 2009-05-06 | 四川长虹电器股份有限公司 | Method for establishing data model of mail |
| CN101521697A (en) * | 2009-03-16 | 2009-09-02 | 宇龙计算机通信科技(深圳)有限公司 | Mail data leading-in method, system and movable terminal |
-
2010
- 2010-12-08 CN CN2010105816836A patent/CN102567274A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1300014A (en) * | 1999-12-13 | 2001-06-20 | 夏普公司 | E-mail synchronising apparatus |
| US20020119804A1 (en) * | 2001-02-28 | 2002-08-29 | Gomes John Isaac Chandan | Method and apparatus for supplying email information remotely via a mobile device |
| US20060155810A1 (en) * | 2002-11-14 | 2006-07-13 | Paul Butcher | Method and device for electronic mail |
| CN101425984A (en) * | 2008-12-12 | 2009-05-06 | 四川长虹电器股份有限公司 | Method for establishing data model of mail |
| CN101521697A (en) * | 2009-03-16 | 2009-09-02 | 宇龙计算机通信科技(深圳)有限公司 | Mail data leading-in method, system and movable terminal |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017167101A1 (en) * | 2016-03-31 | 2017-10-05 | 中兴通讯股份有限公司 | Multimedia message attachment management method and device, communication system and computer storage medium |
| CN107295485A (en) * | 2016-03-31 | 2017-10-24 | 中兴通讯股份有限公司 | Multimedia message accessory management method, device and communication system |
| CN107295485B (en) * | 2016-03-31 | 2021-06-08 | 中兴通讯股份有限公司 | MMS attachment management method, device and communication system |
| CN108768835A (en) * | 2018-05-30 | 2018-11-06 | 彩讯科技股份有限公司 | A kind of mail analytic method, device, server and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11115361B2 (en) | Apparatus and method for maintaining a message thread with opt-in permanence for entries | |
| KR102450303B1 (en) | Apparatus and method for maintaining a message thread with opt-in permanence for entries | |
| CN102801574B (en) | The detection method of a kind of web page interlinkage, device and system | |
| CN102111505B (en) | Short message prompting display method for mobile terminal | |
| US20150365488A1 (en) | Aggregating endpoint capabilities for a user | |
| WO2012065381A1 (en) | Method and apparatus for preventing malicious softwares from transmitting data | |
| KR101709791B1 (en) | Consolidating duplicate messages for a single destination on a computer network | |
| FI20002566A0 (en) | Data Transmission | |
| EP2823445A1 (en) | Cross platform messaging | |
| CN103020152B (en) | Social network information stream display method and mobile terminal | |
| CN108768835B (en) | Mail analysis method, device, server and storage medium | |
| EP2985957A1 (en) | Network device and e-mail request processing method | |
| CN109766315B (en) | File display method and terminal, computer storage medium and computer equipment | |
| CN101789105B (en) | Packet-level dynamic mail attachment virus detection method | |
| US8291021B2 (en) | Graphical spam detection and filtering | |
| CN102567274A (en) | Method and system for realizing transfer of mail data between mobile terminal and computer | |
| WO2012152009A1 (en) | Information processing method and device for communication terminal and terminal | |
| CN102223318A (en) | Method and system for processing emails | |
| US8223947B2 (en) | Method and system for remote call forwarding set-up and modification | |
| JP2006180085A (en) | E-mail system, server, transmission method and transmission / reception program | |
| WO2018205073A1 (en) | Method for reminding about email and email server | |
| CN103188366A (en) | Short message service (SMS) processing method and device | |
| KR101305029B1 (en) | Server apparatus for producing hand-writing message service, and recording medium applied to the same | |
| TWI416421B (en) | System and method for sending information | |
| CN101610464A (en) | A kind of method and apparatus of transfer of data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120711 |