[go: up one dir, main page]

CN106572164A - Mail backup method and terminal - Google Patents

Mail backup method and terminal Download PDF

Info

Publication number
CN106572164A
CN106572164A CN201610949442.XA CN201610949442A CN106572164A CN 106572164 A CN106572164 A CN 106572164A CN 201610949442 A CN201610949442 A CN 201610949442A CN 106572164 A CN106572164 A CN 106572164A
Authority
CN
China
Prior art keywords
mail
user
account
terminal
unit
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
CN201610949442.XA
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610949442.XA priority Critical patent/CN106572164A/en
Publication of CN106572164A publication Critical patent/CN106572164A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a mail backup method and a terminal. The method comprises the following steps: if the fact that the user refers to the mail is detected, reading the content of the mail currently read by the user; judging whether the content of the mail contains a preset keyword or not; and if the content of the mail contains a preset keyword or a synonym of the preset keyword, synchronizing the mail to a cloud server for backup. Therefore, by implementing the technical scheme provided by the embodiment of the invention, the mails related to the preset keywords can be automatically transmitted to the cloud server for backup, so that the safety of important data is improved.

Description

一种邮件备份的方法及终端Method and terminal for email backup

技术领域technical field

本发明涉及终端领域,具体涉及了一种邮件备份的方法及终端。The invention relates to the field of terminals, in particular to a mail backup method and a terminal.

背景技术Background technique

随着终端(例如智能手机、穿戴式设备、平板电脑等电子设备)的普及,终端逐渐成为人们生活中不可或缺的一部分,以至于人们无论走到哪里都会携带终端。With the popularity of terminals (such as electronic devices such as smart phones, wearable devices, and tablet computers), terminals have gradually become an indispensable part of people's lives, so that people carry terminals wherever they go.

现阶段,无论工作还是生活,用户通常喜欢使用邮件进行交流。但是终端的容量是有限的,当终端的存储空间不足时,就会提醒用户对不重要的信息进行删除。由于邮箱中有大量的邮件,用户很容易将重要的邮件进行误删除,导致邮件数据的安全性不高。At this stage, users usually like to use emails to communicate, no matter in work or in life. However, the capacity of the terminal is limited. When the storage space of the terminal is insufficient, the user will be reminded to delete unimportant information. Because there are a large number of emails in the mailbox, it is easy for users to delete important emails by mistake, resulting in low email data security.

发明内容Contents of the invention

本发明实施例提供了一种邮件备份的方法及终端,能够将涉及预设关键词的邮件自动传输至云服务器中以进行备份,从而提升了重要数据的安全性。Embodiments of the present invention provide a mail backup method and terminal, which can automatically transfer mails involving preset keywords to a cloud server for backup, thereby improving the security of important data.

本发明实施例第一方面公开了一种邮件备份的方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a method for email backup, the method comprising:

若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;If it is detected that the user is checking the email, then read the content of the email currently read by the user;

判断所述邮件的内容中是否包含预设关键词或所述预设关键词的同义词;judging whether the content of the email contains a preset keyword or a synonym of the preset keyword;

若所述邮件的内容中包含预设关键词,则将所述邮件同步至云服务器以进行备份。If the content of the email contains preset keywords, the email is synchronized to a cloud server for backup.

本发明第二方面公开了一种终端,所述终端包括:The second aspect of the present invention discloses a terminal, and the terminal includes:

读取单元,用于若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;A reading unit, configured to read the content of the mail currently read by the user if it is detected that the user is checking the mail;

判断单元,用于判断所述邮件的内容中是否包含预设关键词;a judging unit, configured to judge whether the content of the email contains preset keywords;

同步单元,用于若所述邮件的内容中包含预设关键词,则将所述邮件同步至云服务器以进行备份。A synchronizing unit, configured to synchronize the email to a cloud server for backup if the content of the email contains preset keywords.

本发明第三方面公开了一种终端,所述终端包括:A third aspect of the present invention discloses a terminal, and the terminal includes:

存储有可执行程序代码的存储器;a memory storing executable program code;

与所述存储器耦合的处理器;a processor coupled to the memory;

所述处理器调用所述存储器中存储的所述可执行程序代码,执行如第一方面所述的方法。The processor invokes the executable program code stored in the memory to execute the method described in the first aspect.

本发明实施例的方案中,若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;判断所述邮件的内容中是否包含预设关键词;若所述邮件的内容中包含预设关键词,则将所述邮件同步至云服务器以进行备份。从而可知,通过实施本发明提供的技术方案,能够将涉及预设关键词的邮件自动传输至云服务器中以进行备份,从而提升了重要数据的安全性。In the solution of the embodiment of the present invention, if it is detected that the user is checking the mail, then read the content of the mail currently read by the user; judge whether the content of the mail contains preset keywords; if the content of the mail contains If the email contains preset keywords, the email will be synchronized to the cloud server for backup. It can be seen that, by implementing the technical solution provided by the present invention, emails involving preset keywords can be automatically transmitted to the cloud server for backup, thereby improving the security of important data.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1-a为本发明实施例提供的一种邮件备份的方法的流程示意图;Fig. 1-a is a schematic flow chart of a method for email backup provided by an embodiment of the present invention;

图1-b为本发明实施例提供的一种邮件备份系统的网络架构图;Figure 1-b is a network architecture diagram of an email backup system provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种邮件备份的方法的流程示意图;FIG. 2 is a schematic flowchart of another method for email backup provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种邮件备份的方法的流程示意图;FIG. 3 is a schematic flowchart of another email backup method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;

图5为本发明实施例提供的另一种终端的结构示意图;FIG. 5 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;

图6为本发明实施例提供的另一种终端的结构示意图;FIG. 6 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;

图7为本发明实施例提供的一种终端的实体装置结构示意图;FIG. 7 is a schematic structural diagram of a physical device of a terminal provided by an embodiment of the present invention;

图8为本发明实施例提供的一种手机的实体装置结构示意图。FIG. 8 is a schematic structural diagram of a physical device of a mobile phone provided by an embodiment of the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the embodiment of the present invention. Some examples, but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

本发明说明书、权利要求书和附图中出现的术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" appearing in the specification, claims and drawings of the present invention are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

在本发明的一个实施例中公开了一种邮件备份的方法,所述方法包括:若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;判断所述邮件的内容中是否包含预设关键词;若所述邮件的内容中包含预设关键词或所述预设关键词的同义词,则将所述邮件同步至云服务器以进行备份。An embodiment of the present invention discloses a method for mail backup, the method includes: if it is detected that the user is checking the mail, then reading the content of the mail currently read by the user; judging whether the content of the mail is Whether to contain preset keywords; if the content of the email contains preset keywords or synonyms of the preset keywords, then the email is synchronized to a cloud server for backup.

请参阅图1-a,图1-a是本发明一个实施例提供的一种邮件备份的方法。其中,如图1-a所示,本发明的一个实施例提供的一种邮件备份的方法包括以下内容:Please refer to Fig. 1-a, Fig. 1-a is an email backup method provided by an embodiment of the present invention. Wherein, as shown in FIG. 1-a, a method for email backup provided by an embodiment of the present invention includes the following contents:

S101、若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容。S101. If it is detected that the user is checking emails, read content of the emails currently read by the user.

其中,所述终端可以为智能手机、平板电脑、智能穿戴式设备、计算机等电子设备。Wherein, the terminal may be an electronic device such as a smart phone, a tablet computer, a smart wearable device, or a computer.

其中,可以理解的是,当用户需要查阅邮件时,需要登录邮箱。在此不对邮箱的类型做限制。Among them, it is understandable that when the user needs to check the email, he needs to log in to the mailbox. There is no limitation on the type of mailbox here.

S102、判断所述邮件的内容中是否包含预设关键词。S102. Determine whether the content of the email contains preset keywords.

其中,可以理解的是,常见的预设关键词例如可以包括账号、密码、工资、股票、联系人列表中联系人的标识(例如名称、编号)等。其中,预设关键词也可以是终端统计的邮件内容中出现频率大于预设阈值的词汇。Wherein, it can be understood that common preset keywords may include, for example, account numbers, passwords, salaries, stocks, identifications (such as names, numbers) of contacts in the contact list, and the like. Wherein, the preset keyword may also be a word whose frequency of occurrence in the email content collected by the terminal is greater than a preset threshold.

需要指出的是,用户在初始化邮箱的时候,终端会提示所述用户设置预设关键词以使得终端根据所述预设关键词确定待备份的邮件;用户在指定位置输入预设关键词;终端接收所述用户输入的预设关键词,并分析所述用户输入的预设关键词以确定所述预设关键词的同义词;将所述预设关键词以及同义词进行存储。具体的,所述判断所述邮件的内容中是否包含预设关键词,包括:判断所述邮件的内容中是否包含所述预设关键词或所述预设关键词的同义词。It should be pointed out that when the user initializes the mailbox, the terminal will prompt the user to set a preset keyword so that the terminal determines the email to be backed up according to the preset keyword; the user enters the preset keyword at a designated location; the terminal receiving preset keywords input by the user, and analyzing the preset keywords input by the user to determine synonyms of the preset keywords; storing the preset keywords and synonyms. Specifically, the determining whether the content of the email contains a preset keyword includes: determining whether the content of the email contains the preset keyword or a synonym of the preset keyword.

举例来说,当用户第一次登陆邮箱时,终端弹出一个对话框,用于提示用户是否将包含敏感词的邮件备份至云服务器,当用户同意将包含敏感词的邮件备份至云服务器时,终端会提示用户在指示区域输入关键敏感词。比如用户输入了账号。那么终端会扩展账号的同义词,比如账户、密码、联系人列表中的名称、用户所在地的地名、邮件中使用频率大于预设阈值的词汇等。终端会将关键敏感词以及该关键敏感词的同义词进行存储。可以理解的是,也可以加密后进行存储。For example, when the user logs in to the mailbox for the first time, a dialog box pops up on the terminal to prompt the user whether to back up emails containing sensitive words to the cloud server. When the user agrees to back up emails containing sensitive words to the cloud server, The terminal will prompt the user to enter key sensitive words in the indicated area. For example, the user enters an account number. Then the terminal will expand the synonyms of the account, such as accounts, passwords, names in the contact list, place names of the user's location, words used in emails with a frequency greater than a preset threshold, and the like. The terminal stores key sensitive words and synonyms of the key sensitive words. It can be understood that it can also be stored after being encrypted.

可以理解的是,如果关键敏感词是账号。那么终端会判断所述邮件内容中是否包含“账号”或者预设长度的连续数字(比如15位或者18为的连续数字)等信息。It is understandable that if the key sensitive word is account number. Then the terminal will judge whether the content of the email contains information such as "account number" or continuous numbers of preset length (such as 15 or 18 consecutive numbers).

S103、若所述邮件的内容中包含预设关键词或所述预设关键词的同义词,则将所述邮件同步至云服务器以进行备份。S103. If the content of the email contains a preset keyword or a synonym of the preset keyword, synchronize the email to a cloud server for backup.

其中,需要指出的,所述根据所述邮件对应的邮箱的账号确定云账号之前,所述方法还包括建立邮箱账号和云账号的映射关系。Wherein, it should be pointed out that before the cloud account is determined according to the mailbox account corresponding to the email, the method further includes establishing a mapping relationship between the mailbox account and the cloud account.

具体的,终端可以提示用户输入邮箱账号与云账号;然后接收用户输入的邮箱账号和云账号,并建立所述邮箱账号与云账号之间的映射关系;最后将所述映射关系进行存储,其中,可以将映射关系以列表形式进行存储。Specifically, the terminal may prompt the user to input the email account and cloud account; then receive the email account and cloud account input by the user, and establish a mapping relationship between the email account and the cloud account; finally store the mapping relationship, wherein , the mapping relationship can be stored in the form of a list.

进一步,当接收到将所述邮件同步至云服务器以进行备份的指令时,终端可以根据所述邮件对应的邮箱的账号确定云账号;根据所述云账号以及预设密码登录云服务器;向所述云服务器发送所述邮件。Further, when receiving an instruction to synchronize the email to the cloud server for backup, the terminal can determine the cloud account according to the email account corresponding to the email; log in to the cloud server according to the cloud account and the preset password; The cloud server sends the email.

其中,用户也可以使用邮箱账号注册云账号,将邮箱密码作为云账号的密码(即预设密码)。Wherein, the user can also use the email account to register the cloud account, and use the email password as the password of the cloud account (ie, the preset password).

进一步,需要指出的是,每个云账号在初始化时,会被分配一定的存储空间,因此,当存储空间不足时,需要提醒用户进行扩容。Furthermore, it should be pointed out that each cloud account will be allocated a certain storage space when it is initialized. Therefore, when the storage space is insufficient, the user needs to be reminded to expand the capacity.

具体的,终端获取与所述邮箱账号对应的云账号;确定所述云账号中的存储空间;当所述云账号中的存储空间小于预设阈值时,向所述用户发送告警提示。其中,预设阈值可以是个比例,比如当所述云账号中的存储空间小于80%时,向所述用户发送告警提示以提醒用户进行扩容。Specifically, the terminal acquires the cloud account corresponding to the email account; determines the storage space in the cloud account; and sends an alarm to the user when the storage space in the cloud account is less than a preset threshold. Wherein, the preset threshold may be a ratio, for example, when the storage space in the cloud account is less than 80%, an alarm prompt is sent to the user to remind the user to expand the capacity.

其中,如图1-b所示,其中以终端为手机为例,终端和云服务器可以通过局域网进行信息交互,也可以是通过广域网进行信息交互。Wherein, as shown in FIG. 1-b, where the terminal is a mobile phone as an example, the terminal and the cloud server may perform information exchange through a local area network, or may perform information exchange through a wide area network.

其中,需要指出的是,云服务器通常是指运行在相同的物理硬件上的“虚拟”服务器,云服务器作为物理服务器来使用。虚拟服务器平台上,管理员可以用具体的CPU、内存和磁盘特性提供服务器,这些云服务器系统都通过在线方式提供。云服务提供商提供的系统由于功能和价格的不同也有不同的“规格”。云服务器这种产品通常有两个关键维度:CPU和内存。比如,云服务器小型规格为1vCPU和2GB RAM;云服务器中型规格为2vCPU和4GB RAM;云服务器大型规格为4vCPU和8GB RAM。选定云服务器厂商后,用户可以对具体的云服务器产品技术规格进行对比,看是否满足现有以及未来发展的业务需求。Among them, it should be pointed out that a cloud server generally refers to a "virtual" server running on the same physical hardware, and a cloud server is used as a physical server. On the virtual server platform, administrators can provide servers with specific CPU, memory and disk characteristics, and these cloud server systems are provided online. The systems provided by cloud service providers also have different "specifications" due to different functions and prices. Products such as cloud servers usually have two key dimensions: CPU and memory. For example, the small specification of the cloud server is 1vCPU and 2GB RAM; the medium specification of the cloud server is 2vCPU and 4GB RAM; the large specification of the cloud server is 4vCPU and 8GB RAM. After selecting a cloud server vendor, users can compare the technical specifications of specific cloud server products to see whether they meet existing and future business needs.

可以看出,本发明实施例的方案中,若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;判断所述邮件的内容中是否包含预设关键词;若所述邮件的内容中包含预设关键词,则将所述邮件同步至云服务器以进行备份。从而可知,通过实施本发明提供的技术方案,能够将涉及预设关键词的邮件自动传输至云服务器中以进行备份,从而提升了重要数据的安全性,进而提升了用户的体验。It can be seen that in the solution of the embodiment of the present invention, if it is detected that the user is checking the mail, then read the content of the mail currently read by the user; judge whether the content of the mail contains preset keywords; if the If the content of the email contains preset keywords, the email will be synchronized to the cloud server for backup. It can be seen that, by implementing the technical solution provided by the present invention, emails involving preset keywords can be automatically transmitted to the cloud server for backup, thereby improving the security of important data and further improving user experience.

请参阅图2,图2是本发明一个实施例提供的一种邮件备份的方法。其中,如图2所示,本发明的一个实施例提供的一种邮件备份的方法包括以下内容:Please refer to FIG. 2 . FIG. 2 is an email backup method provided by an embodiment of the present invention. Wherein, as shown in Figure 2, a method for email backup provided by an embodiment of the present invention includes the following content:

S201、当用户登录邮箱时,检测用户是否查阅邮件。S201. When the user logs into the mailbox, detect whether the user checks the email.

其中,所述终端可以为智能手机、平板电脑、智能穿戴式设备、计算机等电子设备。Wherein, the terminal may be an electronic device such as a smart phone, a tablet computer, a smart wearable device, or a computer.

其中,所述邮箱可以为个人邮箱,例如QQ邮箱、网易邮箱等,也可以为企业邮箱,这里不对邮箱的类型做限制。Wherein, the mailbox may be a personal mailbox, such as QQ mailbox, NetEase mailbox, etc., or an enterprise mailbox, and there is no limitation on the type of mailbox.

S202、若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容。S202. If it is detected that the user is checking emails, read the content of the emails currently read by the user.

S203、判断所述邮件的内容中是否包含预设关键词或所述预设关键词的同义词。S203. Determine whether the content of the email contains a preset keyword or a synonym of the preset keyword.

其中,可以理解的是,常见的预设关键词例如可以包括账号、密码、工资、股票等。Wherein, it can be understood that common preset keywords may include, for example, account number, password, salary, stock and so on.

需要指出的是,用户在初始化邮箱的时候,终端会提示所述用户设置预设关键词以使得终端根据所述预设关键词确定待备份的邮件;用户在指定位置输入预设关键词;终端接收所述用户输入的预设关键词,并分析所述用户输入的预设关键词以确定所述预设关键词的同义词;将所述预设关键词以及同义词进行存储。具体的,所述判断所述邮件的内容中是否包含预设关键词,包括:判断所述邮件的内容中是否包含所述预设关键词或所述预设关键词的同义词。It should be pointed out that when the user initializes the mailbox, the terminal will prompt the user to set a preset keyword so that the terminal determines the email to be backed up according to the preset keyword; the user enters the preset keyword at a designated location; the terminal receiving preset keywords input by the user, and analyzing the preset keywords input by the user to determine synonyms of the preset keywords; storing the preset keywords and synonyms. Specifically, the determining whether the content of the email contains a preset keyword includes: determining whether the content of the email contains the preset keyword or a synonym of the preset keyword.

举例来说,当用户第一次登陆邮箱时,终端弹出一个对话框,用于提示用户是否将包含敏感词的邮件备份至云服务器,当用户同意将包含敏感词的邮件备份至云服务器时,终端会提示用户在指示区域输入关键敏感词。比如用户输入了账号。那么终端会扩展账号的同义词,比如账户、密码等。终端会将关键敏感词以及该关键敏感词的同义词进行存储。可以理解的是,也可以加密后进行存储。For example, when the user logs in to the mailbox for the first time, a dialog box pops up on the terminal to prompt the user whether to back up emails containing sensitive words to the cloud server. When the user agrees to back up emails containing sensitive words to the cloud server, The terminal will prompt the user to enter key sensitive words in the indicated area. For example, the user enters an account number. Then the terminal will expand the synonyms of the account, such as account, password and so on. The terminal stores key sensitive words and synonyms of the key sensitive words. It can be understood that it can also be stored after being encrypted.

S204、若所述邮件的内容中包含所述预设关键词或所述预设关键词的同义词,根据所述邮件对应的邮箱的账号确定云账号。S204. If the content of the email contains the preset keyword or a synonym of the preset keyword, determine the cloud account according to the email account corresponding to the email.

其中,所述根据所述邮件对应的邮箱的账号确定云账号之前,所述方法还包括:提示用户输入邮箱账号与云账号;接收用户输入的邮箱账号和云账号,并建立所述邮箱账号与云账号之间的映射关系;将所述映射关系进行存储。Wherein, before the cloud account is determined according to the email account corresponding to the email, the method further includes: prompting the user to input the email account and cloud account; receiving the email account and cloud account input by the user, and establishing the email account and cloud account; A mapping relationship between cloud accounts; storing the mapping relationship.

其中,可选的,所述将所述映射关系进行存储,还可以包括:终端向云服务器发送所述邮箱账号关联的云账号及密码。所述云服务器将所述云账号及密码发送到相应的邮件服务器中进行验证,若验证通过,则将所述云账号及密码进行关联保存,并向终端反馈验证通过消息,否则,向终端反馈备份邮箱设置失败消息,流程结束。Wherein, optionally, the storing the mapping relationship may further include: the terminal sending the cloud account and password associated with the email account to the cloud server. The cloud server sends the cloud account number and password to the corresponding mail server for verification. If the verification is passed, the cloud account number and password are associated and stored, and the verification is passed back to the terminal. Backup mailbox setting failure message, the process ends.

S205、根据所述云账号以及预设密码登录云服务器。S205. Log in to the cloud server according to the cloud account number and preset password.

S206、向所述云服务器发送所述邮件。S206. Send the email to the cloud server.

S207、云服务器接收终端发送的所述邮件,并进行备份。S207. The cloud server receives and backs up the email sent by the terminal.

可以看出,本发明实施例的方案中扩充了将邮件同步至云服务器的具体步骤,以使得终端快速的将重要邮件传输至云服务器进行备份,从而保证用户的重要数据的安全。It can be seen that the specific steps of synchronizing emails to the cloud server are expanded in the solution of the embodiment of the present invention, so that the terminal can quickly transfer important emails to the cloud server for backup, thereby ensuring the security of important data of users.

请参阅图3,图3是本发明一个实施例提供的一种邮件备份的方法。其中,如图3所示,本发明的一个实施例提供的一种邮件备份的方法包括以下内容:Please refer to FIG. 3 . FIG. 3 is a mail backup method provided by an embodiment of the present invention. Wherein, as shown in Figure 3, a method for email backup provided by an embodiment of the present invention includes the following content:

S301、提示用户输入邮箱账号与云账号;S301. Prompting the user to input an email account and a cloud account;

其中,所述终端可以为智能手机、平板电脑、智能穿戴式设备、计算机等电子设备。Wherein, the terminal may be an electronic device such as a smart phone, a tablet computer, a smart wearable device, or a computer.

其中,可以在初始化的时候,提示用户输入邮箱账号与云账号。Wherein, during initialization, the user may be prompted to input an email account and a cloud account.

S302、接收用户输入的邮箱账号和云账号,并建立所述邮箱账号与云账号之间的映射关系;S302. Receive the email account and cloud account input by the user, and establish a mapping relationship between the email account and the cloud account;

S303、将所述映射关系进行存储;S303. Store the mapping relationship;

其中,可以以列表的形式保存映射关系;Among them, the mapping relationship can be saved in the form of a list;

其中,还可以将映射关系存储到数据库中。Wherein, the mapping relationship may also be stored in a database.

S304、提示所述用户设置预设关键词以使得终端根据所述预设关键词确定待备份的邮件;S304. Prompting the user to set preset keywords so that the terminal determines emails to be backed up according to the preset keywords;

其中,常见的预设关键词包括账号、密码、工资、股票等。Among them, common preset keywords include account number, password, salary, stock and so on.

其中,可以在邮箱初始化的时候,提示所述用户设置预设关键词以使得终端根据所述预设关键词确定待备份的邮件。Wherein, when the mailbox is initialized, the user may be prompted to set a preset keyword so that the terminal determines the email to be backed up according to the preset keyword.

S305、接收所述用户输入的预设关键词,并分析所述用户输入的预设关键词以确定所述预设关键词的同义词;S305. Receive a preset keyword input by the user, and analyze the preset keyword input by the user to determine a synonym for the preset keyword;

S306、将所述预设关键词以及同义词进行存储;S306. Store the preset keywords and synonyms;

举例来说,当用户第一次登陆邮箱时,终端弹出一个对话框,用于提示用户是否将包含敏感词的邮件备份至云服务器,当用户同意将包含敏感词的邮件备份至云服务器时,终端会提示用户在指示区域输入关键敏感词。比如用户输入了账号。那么终端会扩展账号的同义词,比如账户、密码等。终端会将关键敏感词以及该关键敏感词的同义词进行存储。可以理解的是,可以加密后进行存储。For example, when the user logs in to the mailbox for the first time, a dialog box pops up on the terminal to prompt the user whether to back up emails containing sensitive words to the cloud server. When the user agrees to back up emails containing sensitive words to the cloud server, The terminal will prompt the user to enter key sensitive words in the indicated area. For example, the user enters an account number. Then the terminal will expand the synonyms of the account, such as account, password and so on. The terminal stores key sensitive words and synonyms of the key sensitive words. It can be understood that it can be encrypted for storage.

S307、若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;S307. If it is detected that the user is checking the mail, read the content of the mail currently read by the user;

S308、判断所述邮件的内容中是否包含所述预设关键词或所述预设关键词的同义词;S308. Determine whether the content of the email contains the preset keyword or a synonym of the preset keyword;

可以理解的是,如果关键敏感词是账号。那么终端会判断所述邮件内容中是否包含“账号”、“账户”以及预设长度的连续数字(比如15位或者18为的连续数字)等信息。It is understandable that if the key sensitive word is account number. Then the terminal will judge whether the content of the email contains information such as "account number", "account number" and a preset length of continuous numbers (such as 15 or 18 consecutive numbers).

S309、若所述邮件的内容中包含预设关键词或所述预设关键词的同义词,则根据所述邮件对应的邮箱的账号确定云账号,并根据所述云账号以及预设密码登录云服务器;S309. If the content of the email contains a preset keyword or a synonym of the preset keyword, determine the cloud account according to the email account corresponding to the email, and log in to the cloud according to the cloud account and the preset password server;

S310、确定所述云账号中的存储空间;S310. Determine the storage space in the cloud account;

S311、当所述云账号中的存储空间小于预设阈值时,向所述用户发送告警提示;S311. When the storage space in the cloud account is less than a preset threshold, send an alarm to the user;

需要指出的是,每个云账号在初始化时,会被分配一定的存储空间,因此,当存储空间不足时,需要提醒用户进行扩容。It should be pointed out that each cloud account will be allocated a certain amount of storage space when it is initialized. Therefore, when the storage space is insufficient, the user needs to be reminded to expand the capacity.

S312、当所述云账号中的存储空间不小于预设阈值时,向所述云服务器发送所述邮件;S312. When the storage space in the cloud account is not less than a preset threshold, send the email to the cloud server;

S313、云服务器接收终端发送的所述邮件,并进行备份。S313. The cloud server receives and backs up the email sent by the terminal.

可以看出,本发明实施例的方案中扩充了绑定邮箱账号和云账号的步骤以及判断邮件内容是否包含关键敏感词或其同义词的步骤,以使得终端更加准确的识别重要邮件,以及快速的将重要邮件传输至云服务器进行备份,从而保证用户的重要数据的安全。It can be seen that the steps of binding the email account and the cloud account and the step of judging whether the email content contains key sensitive words or their synonyms are expanded in the solution of the embodiment of the present invention, so that the terminal can more accurately identify important emails, and quickly Important emails are transferred to the cloud server for backup, thereby ensuring the safety of important data of users.

请参阅图4,图4是本发明的一个实施例提供的一种终端的结构示意图。其中,如图4所示,本发明的一个实施例提供的一种终端400,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端400包括读取单元401、判断单元402以及同步单元403。Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 4 , an embodiment of the present invention provides a terminal 400 , where the terminal may be an electronic device such as a smart phone, a tablet computer, or a smart wearable device. The terminal 400 includes a reading unit 401 , a judging unit 402 and a synchronizing unit 403 .

读取单元401,用于若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;The reading unit 401 is configured to read the content of the mail currently read by the user if it is detected that the user is checking the mail;

判断单元402,用于判断所述邮件的内容中是否包含预设关键词或所述预设关键词的同义词;A judging unit 402, configured to judge whether the content of the email contains a preset keyword or a synonym of the preset keyword;

同步单元403,用于若所述邮件的内容中包含预设关键词或所述预设关键词的同义词,则将所述邮件同步至云服务器以进行备份。The synchronization unit 403 is configured to synchronize the email to a cloud server for backup if the content of the email contains a preset keyword or a synonym of the preset keyword.

其中,读取单元401、判断单元402以及同步单元403可以用于执行实施例1中步骤S101至S103所述的方法,具体描述详见实施例1对所述方法的描述,在此不再赘述。Among them, the reading unit 401, the judging unit 402, and the synchronizing unit 403 can be used to execute the method described in steps S101 to S103 in the first embodiment. For a detailed description, see the description of the method in the first embodiment, and no further details are given here. .

请参阅图5,图5是本发明的一个实施例提供的一种终端的结构示意图。其中,如图5所示,本发明的一个实施例提供的一种终端500,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端500包括读取单元501、判断单元502以及同步单元503。Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 5 , an embodiment of the present invention provides a terminal 500 , wherein the terminal may be an electronic device such as a smart phone, a tablet computer, or a smart wearable device. The terminal 500 includes a reading unit 501 , a judging unit 502 and a synchronizing unit 503 .

读取单元501,用于若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;The reading unit 501 is configured to read the content of the mail currently read by the user if it is detected that the user is checking the mail;

判断单元502,用于判断所述邮件的内容中是否包含预设关键词或所述预设关键词的同义词;A judging unit 502, configured to judge whether the content of the email contains a preset keyword or a synonym of the preset keyword;

同步单元503,用于若所述邮件的内容中包含预设关键词或所述预设关键词的同义词,则将所述邮件同步至云服务器以进行备份。The synchronization unit 503 is configured to synchronize the email to a cloud server for backup if the content of the email contains a preset keyword or a synonym of the preset keyword.

其中,同步单元503还包括确定子单元5031、登录子单元5032以及发送子单元5033;Wherein, the synchronization unit 503 also includes a determination subunit 5031, a login subunit 5032, and a sending subunit 5033;

所述确定子单元5031,用于根据所述邮件对应的邮箱的账号确定云账号;The determination subunit 5031 is configured to determine the cloud account according to the account number of the mailbox corresponding to the email;

所述登录子单元5032,用于根据所述云账号以及预设密码登录云服务器;The login subunit 5032 is configured to log in to the cloud server according to the cloud account number and preset password;

所述发送子单元5033,用于向所述云服务器发送所述邮件。The sending subunit 5033 is configured to send the email to the cloud server.

其中,读取单元501、判断单元502以及同步单元503可以用于执行实施例2中步骤S201至S207所述的方法,具体描述详见实施例2对所述方法的描述,在此不再赘述。Wherein, the reading unit 501, the judging unit 502, and the synchronizing unit 503 can be used to execute the method described in steps S201 to S207 in Embodiment 2. For a detailed description, please refer to the description of the method in Embodiment 2, which will not be repeated here. .

请参阅图6,图6是本发明的一个实施例提供的一种终端的结构示意图。其中,如图6所示,本发明的一个实施例提供的另一种终端600,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端600包括读取单元601、判断单元602、同步单元603、提示单元604、接收单元605、映射单元606、存储单元607、分析单元608、获取单元609和确定单元610;Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 6 , an embodiment of the present invention provides another terminal 600 , where the terminal may be an electronic device such as a smart phone, a tablet computer, or a smart wearable device. The terminal 600 includes a reading unit 601, a judging unit 602, a synchronizing unit 603, a prompting unit 604, a receiving unit 605, a mapping unit 606, a storage unit 607, an analyzing unit 608, an acquiring unit 609 and a determining unit 610;

提示单元604,用于提示用户输入邮箱账号与云账号;A prompting unit 604, configured to prompt the user to input an email account and a cloud account;

接收单元605,用于接收用户输入的邮箱账号和云账号;A receiving unit 605, configured to receive the email account and cloud account input by the user;

映射单元606,用于建立所述邮箱账号与云账号之间的映射关系;A mapping unit 606, configured to establish a mapping relationship between the email account and the cloud account;

存储单元607,用于将所述映射关系进行存储。The storage unit 607 is configured to store the mapping relationship.

提示单元604,还用于提示所述用户设置预设关键词以使得终端根据所述预设关键词确定待备份的邮件;The prompting unit 604 is further configured to prompt the user to set a preset keyword so that the terminal determines the email to be backed up according to the preset keyword;

接收单元605,用于接收所述用户输入的预设关键词;a receiving unit 605, configured to receive the preset keyword input by the user;

分析单元608,用于分析所述用户输入的预设关键词以确定所述预设关键词的同义词;An analyzing unit 608, configured to analyze the preset keywords input by the user to determine synonyms of the preset keywords;

存储单元607,用于将所述预设关键词以及同义词进行存储;a storage unit 607, configured to store the preset keywords and synonyms;

读取单元601,用于若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;The reading unit 601 is configured to read the content of the mail currently read by the user if it is detected that the user is checking the mail;

判断单元602,具体用于判断所述邮件的内容中是否包含所述预设关键词或所述预设关键词的同义词;A judging unit 602, specifically for judging whether the content of the email contains the preset keyword or a synonym of the preset keyword;

同步单元603,用于若所述邮件的内容中包含预设关键词,则将所述邮件同步至云服务器以进行备份。The synchronization unit 603 is configured to synchronize the email to a cloud server for backup if the content of the email contains preset keywords.

具体的,同步单元603包括确定子单元、登录子单元以及发送子单元;Specifically, the synchronization unit 603 includes a determination subunit, a login subunit, and a sending subunit;

所述确定子单元,用于根据所述邮件对应的邮箱的账号确定云账号;The determination subunit is configured to determine the cloud account according to the account number of the mailbox corresponding to the email;

所述登录子单元,用于根据所述云账号以及预设密码登录云服务器;The login subunit is configured to log in to the cloud server according to the cloud account number and a preset password;

所述发送子单元,用于向所述云服务器发送所述邮件。The sending subunit is configured to send the email to the cloud server.

进一步,获取单元609,用于获取与所述邮箱账号对应的云账号;确定单元610,用于确定所述云账号中的存储空间;提示单元604,用于当所述云账号中的存储空间小于预设阈值时,向所述用户发送告警提示。Further, the obtaining unit 609 is used to obtain the cloud account corresponding to the email account; the determining unit 610 is used to determine the storage space in the cloud account; the prompting unit 604 is used to when the storage space in the cloud account When the value is less than the preset threshold, an alarm prompt is sent to the user.

其中,读取单元601、判断单元602、同步单元603、提示单元604、接收单元605、映射单元606、存储单元607、分析单元608、获取单元609和确定单元610可以用于执行实施例3中步骤S301至S313所述的方法,具体描述详见实施例2对所述方法的描述,在此不再赘述。Among them, the reading unit 601, the judging unit 602, the synchronizing unit 603, the prompting unit 604, the receiving unit 605, the mapping unit 606, the storage unit 607, the analyzing unit 608, the obtaining unit 609 and the determining unit 610 can be used to implement the For the method described in steps S301 to S313, refer to the description of the method in Embodiment 2 for details, and details are not repeated here.

请参阅图7,在本发明的另一个实施例中,提供一种终端。所述终端700包括CPU701、存储器702、总线703。其中,该终端700可以是智能手机、平板电脑、智能穿戴设备等具有通话功能的电子设备。Referring to FIG. 7 , in another embodiment of the present invention, a terminal is provided. The terminal 700 includes a CPU 701 , a memory 702 and a bus 703 . Wherein, the terminal 700 may be an electronic device with a call function such as a smart phone, a tablet computer, and a smart wearable device.

其中,CPU701执行预先存储在存储器702中的程序,该执行过程具体包括:Wherein, the CPU 701 executes the program pre-stored in the memory 702, and the execution process specifically includes:

若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;If it is detected that the user is checking the email, then read the content of the email currently read by the user;

判断所述邮件的内容中是否包含预设关键词或所述预设关键词的同义词;judging whether the content of the email contains a preset keyword or a synonym of the preset keyword;

若所述邮件的内容中包含预设关键词或所述预设关键词的同义词,则将所述邮件同步至云服务器以进行备份。If the content of the email contains a preset keyword or a synonym of the preset keyword, the email is synchronized to a cloud server for backup.

可选的,所述将所述邮件同步至云服务器以进行备份,包括:Optionally, the synchronizing the mail to the cloud server for backup includes:

根据所述邮件对应的邮箱的账号确定云账号;Determining the cloud account according to the account number of the mailbox corresponding to the email;

根据所述云账号以及预设密码登录云服务器;Log in to the cloud server according to the cloud account number and preset password;

向所述云服务器发送所述邮件。Send the mail to the cloud server.

可选的,所述根据所述邮件对应的邮箱的账号确定云账号之前,所述执行过程还包括:Optionally, before the cloud account is determined according to the mailbox account corresponding to the email, the execution process further includes:

提示用户输入邮箱账号与云账号;Prompt the user to enter the email account and cloud account;

接收用户输入的邮箱账号和云账号,并建立所述邮箱账号与云账号之间的映射关系;receiving the email account and cloud account input by the user, and establishing a mapping relationship between the email account and the cloud account;

将所述映射关系进行存储。The mapping relationship is stored.

可选的,所述判断所述邮件的内容中是否包含预设关键词或所述预设关键词的同义词之前,所述执行过程还包括:Optionally, before the judging whether the content of the email contains a preset keyword or a synonym of the preset keyword, the execution process further includes:

提示所述用户设置预设关键词以使得终端根据所述预设关键词确定待备份的邮件;Prompting the user to set preset keywords so that the terminal determines emails to be backed up according to the preset keywords;

接收所述用户输入的预设关键词;receiving preset keywords input by the user;

分析所述用户输入的预设关键词以确定所述预设关键词的同义词;analyzing preset keywords input by the user to determine synonyms of the preset keywords;

将所述预设关键词以及同义词进行存储;storing the preset keywords and synonyms;

所述判断所述邮件的内容中是否包含预设关键词,包括:Said judging whether the content of said email contains preset keywords includes:

判断所述邮件的内容中是否包含所述预设关键词或所述预设关键词的同义词。It is judged whether the content of the email contains the preset keyword or a synonym of the preset keyword.

可选的,将所述邮件同步至云服务器以进行备份之后,所述执行过程还包括:Optionally, after synchronizing the mail to the cloud server for backup, the execution process further includes:

获取与所述邮箱账号对应的云账号;Obtain a cloud account corresponding to the email account;

确定所述云账号中的存储空间;Determine the storage space in the cloud account;

当所述云账号中的存储空间小于预设阈值时,向所述用户发送告警提示。When the storage space in the cloud account is less than a preset threshold, an alarm prompt is sent to the user.

可以看出,本发明实施例的方案中,若检测到用户在查阅邮件,则读取所述用户当前阅读的邮件的内容;判断所述邮件的内容中是否包含预设关键词或所述预设关键词的同义词;若所述邮件的内容中包含预设关键词或所述预设关键词的同义词,则将所述邮件同步至云服务器以进行备份。从而可知,通过实施本发明提供的技术方案,能够将涉及预设关键词的邮件自动传输至云服务器中以进行备份,从而提升了重要数据的安全性,进而提升了用户的体验。It can be seen that in the solution of the embodiment of the present invention, if it is detected that the user is checking the mail, the content of the mail currently read by the user is read; it is judged whether the content of the mail contains preset keywords or the preset keyword Synonyms of keywords are set; if the content of the email contains preset keywords or synonyms of the preset keywords, then the email is synchronized to the cloud server for backup. It can be seen that, by implementing the technical solution provided by the present invention, emails involving preset keywords can be automatically transmitted to the cloud server for backup, thereby improving the security of important data and further improving user experience.

请参阅图8,图8是本发明的一个实施例提供的终端相关的手机的部分结构的框图。参考图8,手机包括:射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、传感器850、音频电路860、无线保真(Wireless Fidelity,WiFi)模块870、处理器880、以及电源890等部件。本领域技术人员可以理解,图8中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 8 . FIG. 8 is a block diagram of a partial structure of a terminal-related mobile phone provided by an embodiment of the present invention. Referring to FIG. 8 , the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a sensor 850, an audio circuit 860, a wireless fidelity (Wireless Fidelity, WiFi) module 870, and a processor 880 , and power supply 890 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 8 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

下面结合图8对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 8:

RF电路810可用于信息的接收和发送。通常,RF电路810包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路810还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF circuitry 810 may be used for the reception and transmission of information. Generally, the RF circuit 810 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 810 may also communicate with networks and other devices via wireless communications. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobilecommunication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.

存储器820可用于存储软件程序以及模块,处理器880通过运行存储在存储器820的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器820可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如邮件备份功能、触控操作检测功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如存储路径表数据等)等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 820 can be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820 . The memory 820 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as an email backup function, a touch operation detection function, etc.) and the like; the data storage area may store Store data created according to the use of the mobile phone (such as storing route table data, etc.) and the like. In addition, the memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

输入单元830可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元830可包括指纹模组831以及其他输入设备832。指纹模组831,可采集用户在其上的指纹数据。可选的,指纹模组831可包括光学式指纹模块、电容式指纹模块以及射频式指纹模块。以指纹模组831为电容式指纹模组为例,具体包括感应电极(n1个异常感应电极和n2个正常感应电极)和与所述感应电极连接的信号处理电路(如放大电路、噪声抑制电路、模数转化电路,等等)。除了指纹模组831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 830 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 830 may include a fingerprint module 831 and other input devices 832 . The fingerprint module 831 can collect the fingerprint data of the user on it. Optionally, the fingerprint module 831 may include an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module. Taking the fingerprint module 831 as an example of a capacitive fingerprint module, it specifically includes sensing electrodes (n1 abnormal sensing electrodes and n2 normal sensing electrodes) and signal processing circuits (such as amplification circuits, noise suppression circuits) connected to the sensing electrodes. , analog-to-digital conversion circuit, etc.). In addition to the fingerprint module 831 , the input unit 830 may also include other input devices 832 . Specifically, other input devices 832 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元840可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元840可包括显示屏841,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏841。虽然在图8中,指纹模组831与显示屏841是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹模组831与显示屏841集成而实现手机的输入和输出功能。The display unit 840 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 840 may include a display screen 841. Optionally, the display screen 841 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Although in FIG. 8 , the fingerprint module 831 and the display screen 841 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the fingerprint module 831 and the display screen 841 can be integrated and Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器850,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏841的亮度,接近传感器可在手机移动到耳边时,关闭显示屏841和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 850, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display screen 841 according to the brightness of the ambient light, and the proximity sensor can turn off the display screen 841 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.

音频电路860、扬声器861,传声器862可提供用户与手机之间的音频接口。音频电路860可将接收到的音频数据转换后的电信号,传输到扬声器861,由扬声器861转换为声音信号输出;另一方面,传声器862将收集的声音信号转换为电信号,由音频电路860接收后转换为音频数据,再将音频数据输出处理器880处理后,经RF电路810以发送给比如另一手机,或者将音频数据输出至存储器820以便进一步处理。The audio circuit 860, the speaker 861, and the microphone 862 can provide an audio interface between the user and the mobile phone. The audio circuit 860 can transmit the electrical signal converted from the received audio data to the speaker 861, and the speaker 861 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 880, and then sent to another mobile phone through the RF circuit 810, or the audio data is output to the memory 820 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块870可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块870,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 870. It provides users with wireless broadband Internet access. Although FIG. 8 shows a WiFi module 870, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.

处理器880是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器880可包括一个或多个处理单元;优选的,处理器880可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器880中。The processor 880 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 820, and calling data stored in the memory 820, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 880 .

手机还包括给各个部件供电的电源890(比如电池),优选的,电源可以通过电源管理系统与处理器880逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 890 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 880 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.

前述图1、图2以及图3所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 1 , FIG. 2 and FIG. 3 , the method flow of each step can be realized based on the structure of the mobile phone.

前述图4、图5以及图6所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 4 , FIG. 5 and FIG. 6 , the functions of each unit can be realized based on the structure of the mobile phone.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes. .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. a kind of method of mail data backup, it is characterised in that methods described includes:
If detecting user is consulting mail, the content of the mail that the user currently reads is read;
Whether the synonym of predetermined keyword or the predetermined keyword is included in judging the content of the mail;
If the synonym of the predetermined keyword or the predetermined keyword is included in the content of the mail, by the mail It is synchronized to Cloud Server to be backed up.
2. method according to claim 1, it is characterised in that described that the mail synchronization to Cloud Server is standby to carry out Part, including:
Cloud account is determined according to the account of the corresponding mailbox of the mail;
Cloud Server is logged according to the cloud account and preset password;
The mail is sent to the Cloud Server.
3. method according to claim 2, it is characterised in that described to be determined according to the account of the corresponding mailbox of the mail Before cloud account, methods described also includes:
Prompting user input Email Accounts and cloud account;
The Email Accounts and cloud account of receiving user's input, and the mapping relations set up between the Email Accounts and cloud account;
The mapping relations are stored.
4. method according to claim 3, it is characterised in that whether comprising default in the content for judging the mail Before the synonym of key word or the predetermined keyword, methods described also includes:
Point out the user that predetermined keyword is set so that terminal determines mail to be backed up according to the predetermined keyword;
Receive the predetermined keyword of the user input;
The predetermined keyword of the user input is analyzed to determine the synonym of the predetermined keyword;
The predetermined keyword and synonym are stored.
5. the method according to claim 3 or 4, it is characterised in that the mail synchronization to Cloud Server is standby to carry out After part, methods described also includes:
Obtain cloud account corresponding with the Email Accounts;
Determine the memory space in the cloud account;
When the memory space in the cloud account is less than predetermined threshold value, alarm prompt is sent to the user.
6. a kind of terminal, it is characterised in that the terminal includes:
Reading unit, if consulting mail for detecting user, reads the content of the mail that the user currently reads;
Judging unit, for judging in the content of the mail the whether synonym comprising predetermined keyword or predetermined keyword;
Lock unit, if for predetermined keyword is included in the content of the mail, by the mail synchronization to Cloud Server To be backed up.
7. terminal according to claim 6, it is characterised in that the lock unit includes determination subelement, to log in son single Unit and transmission subelement;
The determination subelement, for determining cloud account according to the account of the corresponding mailbox of the mail;
The login subelement, for logging in Cloud Server according to the cloud account and preset password;
The transmission subelement, for sending the mail to the Cloud Server.
8. terminal according to claim 7, it is characterised in that the terminal also includes Tip element, receiving unit, mapping Unit and memory element;
The Tip element, for pointing out user input Email Accounts and cloud account;
The receiving unit, the Email Accounts and cloud account for receiving user's input;
The map unit, for setting up the mapping relations between the Email Accounts and cloud account;
The memory element, for the mapping relations are stored.
9. terminal according to claim 8, it is characterised in that the terminal also includes analytic unit;The Tip element, It is additionally operable to point out the user to arrange predetermined keyword so that terminal determines mail to be backed up according to the predetermined keyword;
The receiving unit, for receiving the predetermined keyword of the user input;
The analytic unit, for analyzing the predetermined keyword of the user input to determine the synonymous of the predetermined keyword Word;
The memory element, for the predetermined keyword and synonym are stored;
The judging unit, specifically for whether judging in the content of the mail comprising the predetermined keyword or described default The synonym of key word.
10. terminal according to claim 8 or claim 9, it is characterised in that the terminal also includes acquiring unit and determines single Unit;
The acquiring unit, for obtaining cloud account corresponding with the Email Accounts;
The determining unit, for determining the memory space in the cloud account;
The Tip element, for when the memory space in the cloud account is less than predetermined threshold value, sending to the user and accusing Alert prompting.
CN201610949442.XA 2016-11-02 2016-11-02 Mail backup method and terminal Pending CN106572164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610949442.XA CN106572164A (en) 2016-11-02 2016-11-02 Mail backup method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610949442.XA CN106572164A (en) 2016-11-02 2016-11-02 Mail backup method and terminal

Publications (1)

Publication Number Publication Date
CN106572164A true CN106572164A (en) 2017-04-19

Family

ID=58535014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610949442.XA Pending CN106572164A (en) 2016-11-02 2016-11-02 Mail backup method and terminal

Country Status (1)

Country Link
CN (1) CN106572164A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336738A (en) * 2019-06-14 2019-10-15 平安科技(深圳)有限公司 Mail data backup method, apparatus, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082641A1 (en) * 2006-09-28 2008-04-03 Microsoft Corporation State reflection
CN103312596A (en) * 2013-06-25 2013-09-18 南京奇多信息科技有限公司 Management method and device for attachments in electrommunication information
CN104049849A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Information processing method and corresponding electronic equipment
CN105915440A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Mail recognition method and device
CN106027603A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Email attachment management method and device and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082641A1 (en) * 2006-09-28 2008-04-03 Microsoft Corporation State reflection
CN104049849A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Information processing method and corresponding electronic equipment
CN103312596A (en) * 2013-06-25 2013-09-18 南京奇多信息科技有限公司 Management method and device for attachments in electrommunication information
CN105915440A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Mail recognition method and device
CN106027603A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Email attachment management method and device and intelligent terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336738A (en) * 2019-06-14 2019-10-15 平安科技(深圳)有限公司 Mail data backup method, apparatus, electronic equipment and computer readable storage medium
CN110336738B (en) * 2019-06-14 2022-10-04 平安科技(深圳)有限公司 Mail backup method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106446111B (en) Data migration method and terminal
CN106681860B (en) A kind of data back up method and data backup device
CN106528638B (en) Method for deleting backup data and mobile terminal
CN106453402B (en) A kind of data processing method and equipment
CN106534288B (en) A data transmission method and mobile terminal
WO2018049935A1 (en) Data migration method and terminals
CN106790981A (en) A terminal device setting method and terminal device
CN106656978A (en) Account login method and server
CN106469028A (en) A data migration method and mobile terminal
CN106569916A (en) Data backup method and mobile terminal
CN107272985B (en) Notification message processing method and related product
CN106572163B (en) Data migration method and terminal
CN106792583B (en) Multimedia message sending method, terminal and computer readable storage medium
CN106484563A (en) A kind of data migration method and terminal unit
CN106657214A (en) Data migration method and terminal
CN106330684B (en) Method and terminal for information synchronization
CN106954211B (en) Key writing method and mobile terminal
CN106686704B (en) Terminal monitoring method and mobile terminal
CN106487878B (en) Method and terminal for data migration
CN107317917A (en) Application control method and related product
CN106527980A (en) Data migration method and terminal
CN106095558A (en) A kind of method of audio effect processing and terminal
CN106506623B (en) Data transmission method and equipment
CN106572164A (en) Mail backup method and terminal
CN106254559A (en) Method and server for information storage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170419