CN107248949B - Mail data recovery method and device and mobile terminal - Google Patents

Mail data recovery method and device and mobile terminal Download PDF

Info

Publication number
CN107248949B
CN107248949B CN201710614363.8A CN201710614363A CN107248949B CN 107248949 B CN107248949 B CN 107248949B CN 201710614363 A CN201710614363 A CN 201710614363A CN 107248949 B CN107248949 B CN 107248949B
Authority
CN
China
Prior art keywords
mail
backup
mailbox account
user setting
setting data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710614363.8A
Other languages
Chinese (zh)
Other versions
CN107248949A (en
Inventor
蓝锦涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710614363.8A priority Critical patent/CN107248949B/en
Publication of CN107248949A publication Critical patent/CN107248949A/en
Application granted granted Critical
Publication of CN107248949B publication Critical patent/CN107248949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Abstract

The invention provides a method, a device and a mobile terminal for restoring mail data, which are characterized in that whether a backup mail of a mailbox account is included in a mail list of a currently logged mailbox account is judged; if the backup mail contains the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail; then judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data; and if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data. The restoration of the user setting data is completed by utilizing the functions of mail sending, storage, receiving and the like of the self account of the mail client, so that the restoration step of the user setting data is simpler and more convenient.

Description

Mail data recovery method and device and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a device for recovering mail data and a mobile terminal.
Background
Email is one of the most basic and important services of the internet. The mobile mail service is an extension of the traditional Internet e-mail, supports the editing and sending of the e-mail by using the mobile terminal equipment, and can be seamlessly integrated with the e-mail service of the Internet.
Therefore, currently, a single mail account is usually registered in mail clients corresponding to multiple terminals, and therefore, when a single mail account is registered in multiple terminals, the backup/recovery method of the user setting data (setting parameters for setting parameters of the registered client) of the mail account is usually: and when the user logs in the third-party mail client of other terminals by using the same mail account, downloading the user setting data from the server and recovering the setting.
However, in the current scheme, when a user logs in a third-party mail client of another terminal with the same mail account, the user needs to log in a backup file before downloading from a cloud server to perform data recovery, and the step of recovering the set data is complicated.
Disclosure of Invention
The invention provides a mail data recovery method, a device and a mobile terminal, which aim to solve the problem that the recovery steps of the set data of a user are complicated in the prior art.
According to a first aspect of the present invention, there is provided a mail data recovery method, the method including:
judging whether a mail list of a currently logged mailbox account contains a backup mail of the mailbox account;
if the backup mail comprises the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail;
judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data or not;
and if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data.
According to a second aspect of the present invention, there is provided a mail data restoring apparatus, comprising:
the first judgment module is used for judging whether a mail list of a currently logged mailbox account contains a backup mail of the mailbox account;
the acquisition module is used for acquiring user setting data corresponding to the mailbox account in the backup mail if the backup mail comprises the mailbox account;
the second judgment module is used for judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data;
and the restoring module is used for setting the setting parameters according to the user setting data if the setting parameters are inconsistent with the user setting data.
According to a third aspect of the present invention, there is provided a mobile terminal comprising: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps in the mail data recovery method when executing the computer program.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a mail data recovery program which, when executed by a processor, implements the steps of the mail data recovery method.
The method, the device and the mobile terminal for restoring the mail data provided by the embodiment of the invention judge whether a backup mail of a mailbox account is included in a mail list of a currently logged mailbox account; if the backup mail contains the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail; then judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data; and if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data. The method and the system have the advantages that the functions of sending, storing, receiving and the like of the mail of the account number of the mail client are utilized to complete the restoration of the user setting data, the problem that the restoration step of the user setting data in the prior art is complex is solved, the use cost is reduced, and the restoration step of the user setting data is simpler and more convenient.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart illustrating steps of a method for recovering mail data according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating specific steps of a mail data recovery method according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a structure of a mail data recovery apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a detailed structure of a mail data recovery apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The mail data recovery method provided by the embodiment of the invention is applied to a mobile terminal, and the mobile terminal can be a smart phone, a computer, a multimedia player, an electronic reader, a wearable device and the like.
The following describes a mail data recovery method, apparatus and mobile terminal provided by the present invention in detail by listing several specific embodiments.
Example one
Referring to fig. 1, a flowchart illustrating steps of a mail data recovery method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, judging whether a mail list of a currently logged mailbox account includes a backup mail of the mailbox account.
At present, internet e-mail manufacturers are numerous, so that a mailbox account can usually log in a plurality of mailbox clients for sending and receiving mails, so that numerous third-party mail clients exist, and the requirement that a user needs to log in the mailbox accounts at a plurality of mobile terminals also exists, the user can set parameters according to the use habit of the user every time the user logs in the mail client, so that user setting data is generated on the mobile terminal where the mailbox account is currently logged in, when the user logs in the mailbox account logged out of the mobile terminal to another mobile terminal again, the user setting data generated on the previous mobile terminal is lost, the user needs to set the parameters again on the mail client of the newly logged-in mobile terminal, and the user experience is insufficient.
Therefore, in the embodiment of the invention, the backup and the restoration of the user setting data can be completed by utilizing the functions of mail sending, storage, receiving and the like of the self account of the mail client.
The third party mailbox client has some local settings (such as receiving frequency, prompting ring tone, incoming message classification rule, etc.) aiming at the mailbox account, and some functions or attributes in the settings do not belong to the mailbox service provider. For example, the frequency of incoming mail reminding, whether the data is aggregated according to subject, mail signature, incoming mail classification rules, etc., or some parameters and values required by the function point expanded and realized by the third-party client.
In practical application, if a user replaces a mobile terminal (or a mailbox client) to log in a mailbox account, or if the stored user setting data is deleted carelessly due to data cleaning performed by the current mobile terminal, the user setting data needs to be recovered, and the setting of the setting parameters is restored according to the recovered user setting data.
Therefore, in the embodiment of the present invention, it is determined whether a mail list of a currently logged-in mailbox account includes a backup mail of the mailbox account according to the currently logged-in mailbox account, it should be noted that when user setting data of the mailbox account is changed, a backup mail is sent to the mailbox account of the user, a plurality of backup mails may be stored on the mailbox account, but only the latest one is the latest user setting data (the previous backup mail may be deleted, the latest backup mail is retained, and a specific software implementation decision is made), and the latest backup mail is used for restoring when the data is restored. The backup mail is stored only by the parameters of the data set by the user, and the data volume is not large, so that the size of the backup mail is not large, and the sending efficiency is high.
And 102, if the backup mail comprises the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail.
In the embodiment of the invention, the text content or the text content file of the user setting data is extracted according to the backup mail received by the current login mailbox account, and the text content or the text content file of the user setting data can be reversely restored to the user setting data through the preset rule of converting the user setting data into the text content.
And 103, judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data.
In this step, the user setting data corresponding to the setting parameters of the currently logged-in mailbox account is valid only on the currently logged-in mobile terminal, and once the mobile terminal is changed (or the account is logged out), the account is logged in again, the personal data set on the mobile terminal before is lost, the mobile terminal can extract the setting parameters of the mailbox client for logging in the mailbox account by calling the user setting data storage interface, and determine whether the setting parameters of the mailbox client are changed compared with the setting parameters corresponding to the setting habits before the user by judging whether the setting parameters are consistent with the user setting data extracted from the backup mail.
And 104, if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data.
In the embodiment of the present invention, the user setting data may correspond to a: b format, a may be the setting of a specific setting parameter, B may be the specific content of the setting parameter, for example: a can be a nickname of the mailbox account, B can be the concrete content of the nickname, through the user setting data, can finish the reduction of setting up the setting of the parameter.
For example, if the user avatar of the mailbox account needs to be restored, the user avatar in the user setting data can be found: and downloading the user head portrait from the database through the head portrait address link according to the head portrait address link data, and storing the head portrait picture file to a specified position to complete restoration.
In summary, in the method for recovering mail data provided in the embodiment of the present invention, it is determined whether a backup mail of a mailbox account is included in a mail list of a currently logged mailbox account; if the backup mail contains the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail; then judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data; and if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data. The method and the system have the advantages that the functions of sending, storing, receiving and the like of the mail of the account number of the mail client are utilized to complete the restoration of the user setting data, the problem that the restoration step of the user setting data in the prior art is complex is solved, the use cost is reduced, and the restoration step of the user setting data is simpler and more convenient.
Example two
Referring to fig. 2, a flowchart illustrating specific steps of a mail data recovery method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 201, judging whether a mail list of a currently logged mailbox account includes a backup mail of the mailbox account.
This step may specifically refer to step 101, which is not described herein again.
Optionally, step 201 may further include a sub-step 2011.
In the sub-step 2011, the mail list of the currently logged-in mailbox account is traversed, and whether the mail list includes a backup mail with a backup identification mark is determined.
In the embodiment of the invention, a header file of a mail is stored with data which can not be seen and seen by many users, for example, Received, Sender, Message-ID and the like indicate where the mail is sent from and to whom the mail is sent, and the ID of the mail.
Therefore, the third-party email client can add a Backup identifier in the header file when generating and sending the Backup email, and the Backup identifier can be a custom field (for example, Backup: 1, just by way of example, as long as the identification mark can be made in the header file). The mail is marked as a backup mail. When the third-party client analyzes the mail, the Backup field is encountered, namely, the mail is a Backup mail.
The generated mail can add a backup identification mark in the mail content of the backup mail besides adding a relevant mark in the header file, thereby identifying that the mail is a well-agreed backup mail.
Therefore, in the embodiment of the present invention, when the user needs to restore the setting of the setting parameter, the third party client may traverse all mails in the inbox of the currently logged-in mail account to find a backup mail with a backup identification identifier, the third party client downloads the attachment or text content (specifically, according to the manner of importing the personalized data into the backup mail) in the backup mail, and performs parsing according to the preset rule (if the user setting data is generated into the user setting data file according to the first preset rule, the user setting data file is the first preset rule, and if the user setting data is generated into the user setting data text according to the second preset rule, the user setting data file is the second preset rule), so as to extract the user setting data stored in the backup mail.
Step 202, if the mail list of the currently logged-in mailbox account does not include the backup mail of the mailbox account, a new mail is created.
In the embodiment of the invention, if the mail list of the currently logged-in mailbox account does not include the backup mail of the mailbox account, a new mail can be established as the backup mail, the establishment of the backup mail firstly needs to establish the new mail, the process of establishing the new mail can be actively carried out by a user or automatically carried out by a third-party mailbox client background, namely, if the mail list of the currently logged-in mailbox account includes the backup mail of the mailbox account, the user can change the setting parameters of the mailbox client according to the own requirements, and the new backup mail is established on the basis of the original backup mail.
Step 203, importing the setting parameters of the mailbox client of the mailbox account into the new mail according to a preset rule, and generating the backup mail.
In the step, the user setting data converted into the text content or the text content file can be imported into the created backup mail, the import mode can be mail attachment or mail text content, then the receiver of the backup mail is selected as the user's own mailbox account (current login mailbox account), so that the user setting data of the current login mailbox account for setting parameters is stored under the current mailbox account in the form of a mail, and when the user setting data is required to be restored, the user setting data can be restored from the backup mail, the user setting data is not required to be uploaded to a server of a third-party mailbox client for backup, and the safety of the user's own data is further improved on the basis of reducing the use cost.
Optionally, step 203 may further include sub-step 2031 and sub-step 2032.
Substep 2031, the backup email is obtained by generating a user setting data file according to a first preset rule from the user setting data, and importing the user setting data file into an email as an email attachment.
In this step, the user setting data may be converted into a user setting data file related to text content through a first preset rule, the file may be in a format such as txt, xml, word, vcf, and the like, the format and the form of the file are not limited, the first preset rule is generated according to a preset algorithm, and the rule can complete backup and restoration of the data, and can also perform encryption processing.
And then, the generated user setting data file is imported into the backup mail in a mail attachment mode, so that the backup mail with the user setting data stored therein can be obtained, the user setting data is packaged into the user setting data file, the setting types of the setting parameters supporting the backup recovery are more, and the expansibility is increased.
And a substep 2032, wherein the backup email is obtained by generating a user setting data text according to a second preset rule by using the user setting data, and importing the user setting data text as an email body into an email.
In this step, in addition to the backup email generation method described in substeps 2031 and 2032, an embodiment of the present invention provides another implementation method, specifically, user setting data may be converted into a user setting data text by a second preset rule, and an algorithm logic of the second preset rule is the same as that of the first preset rule, but a step of packaging files is omitted with respect to the first preset rule.
In the step, the generated user setting data text is led into the backup mail as the mail text content form, so that the backup mail storing the user setting data can be obtained, and the backup process of the user setting data is further simplified.
And step 204, sending the backup mail to the mailbox account.
Step 205, if the backup mail includes the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail.
This step may specifically refer to step 102, which is not described herein again.
Step 206, determining whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data.
This step may specifically refer to step 103, which is not described herein again.
And step 207, if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data.
This step may specifically refer to step 104, which is not described herein again.
In summary, in the method for recovering mail data provided in the embodiment of the present invention, it is determined whether a backup mail of a mailbox account is included in a mail list of a currently logged mailbox account; if the backup mail contains the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail; then judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data; and if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data. The method and the system have the advantages that the functions of sending, storing, receiving and the like of the mail of the account number of the mail client are utilized to complete the restoration of the user setting data, the problem that the restoration step of the user setting data in the prior art is complex is solved, the use cost is reduced, and the restoration step of the user setting data is simpler and more convenient.
EXAMPLE III
Referring to fig. 3, a block diagram of a structure of a mail data recovery apparatus according to an embodiment of the present invention is shown, which may specifically include:
the first determining module 301 is configured to determine whether a mail list of a currently logged mailbox account includes a backup mail of the mailbox account.
An obtaining module 302, configured to obtain, if the backup mail includes the mailbox account, user setting data corresponding to the mailbox account in the backup mail.
The second determining module 303 is configured to determine whether a setting parameter of the mailbox client for logging in the mailbox account is consistent with the user setting data.
A restoring module 304, configured to set the setting parameter according to the user setting data if the setting parameter is inconsistent with the user setting data.
In summary, the device for restoring mail data provided in the embodiment of the present invention determines whether a backup mail of a mailbox account is included in a mail list of a currently logged mailbox account; if the backup mail contains the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail; then judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data; and if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data. The method and the system have the advantages that the functions of sending, storing, receiving and the like of the mail of the account number of the mail client are utilized to complete the restoration of the user setting data, the problem that the restoration step of the user setting data in the prior art is complex is solved, the use cost is reduced, and the restoration step of the user setting data is simpler and more convenient.
Example four
Referring to fig. 4, a block diagram showing a specific structure of a mail data recovery apparatus according to an embodiment of the present invention may specifically include:
the first determining module 401 is configured to determine whether a mail list of a currently logged mailbox account includes a backup mail of the mailbox account.
Optionally, the first determining module 401 may further include:
and the traversing submodule is used for traversing a mail list of the currently logged mailbox account and judging whether the mail list comprises a backup mail with a backup identification mark.
An obtaining module 402, configured to obtain, if the backup mail includes the mailbox account, user setting data corresponding to the mailbox account in the backup mail.
A creating module 403 for creating a new mail;
an importing module 404, configured to import the setting parameter of the mailbox client of the mailbox account into the new mail according to a preset rule, and generate the backup mail;
a sending module 405, configured to send the backup email to the mailbox account.
A second determining module 406, configured to determine whether a setting parameter of the mailbox client for logging in the mailbox account is consistent with the user setting data.
A restoring module 407, configured to set the setting parameter according to the user setting data if the setting parameter is inconsistent with the user setting data.
In summary, the device for restoring mail data provided in the embodiment of the present invention determines whether a backup mail of a mailbox account is included in a mail list of a currently logged mailbox account; if the backup mail contains the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail; then judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data; and if the setting parameters are inconsistent with the user setting data, setting the setting parameters according to the user setting data. The method and the system have the advantages that the functions of sending, storing, receiving and the like of the mail of the account number of the mail client are utilized to complete the restoration of the user setting data, the problem that the restoration step of the user setting data in the prior art is complex is solved, the use cost is reduced, and the restoration step of the user setting data is simpler and more convenient.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal includes: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps in the mail data recovery method when executing the computer program.
The mobile terminal further includes: a computer-readable storage medium having stored thereon a mail data recovery program which, when executed by a processor, implements the steps of a mail data recovery method.
Specifically, the mobile terminal 500 in fig. 5 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 500 in fig. 5 includes a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a wifi (wireless fidelity) module 580, and a power supply 590.
The input unit 530 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the mobile terminal 500, among other things. Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531. The touch panel 531, also called a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 531 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, sends it to the processor 560, and can receive and execute commands from the processor 560. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 531, the input unit 530 may further include other input devices 532, and the other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 540 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 500. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an organic light-emitting diode (OLED), or the like.
It should be noted that the touch panel 531 may cover the display panel 541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 560 to determine the type of the touch event, and then the processor 560 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 560 is a control center of the mobile terminal 500, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the mobile terminal 500 and processes data by operating or executing software programs and/or modules stored in the first memory 521 and calling data stored in the second memory 522, thereby integrally monitoring the mobile terminal 500. Optionally, processor 560 may include one or more processing units.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a fingerprint recognition device according to an embodiment of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for mail data recovery, the method comprising:
judging whether a mail list of a currently logged mailbox account contains a backup mail of the mailbox account;
if the backup mail comprises the mailbox account, acquiring user setting data corresponding to the mailbox account in the backup mail;
judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data or not;
if the setting parameter is inconsistent with the user setting data, setting the setting parameter according to the user setting data;
the user setting data is data generated in the process of setting the setting parameters of the mail client by the user.
2. The method according to claim 1, wherein if the currently registered mailing list of the mailbox account does not include the backup mail of the mailbox account, the method further comprises:
creating a new mail;
importing the setting parameters of the mailbox client of the mailbox account into the new mail according to a preset rule to generate the backup mail;
and sending the backup mail to the mailbox account.
3. The method according to claim 1, wherein the step of determining whether the mail list of the currently registered mailbox account includes the backup mail of the mailbox account includes:
and traversing a mail list of the currently logged mailbox account, and judging whether the mail list comprises a backup mail with a backup identification mark.
4. The method of claim 1, wherein the backup email is obtained by generating a user setting data file according to a first preset rule from the user setting data, and importing the user setting data file as an email attachment into the email.
5. The method of claim 1, wherein the backup email is obtained by generating a user setting data text according to a second preset rule by using the user setting data, and importing the user setting data text as an email body into an email.
6. An apparatus for restoring mail data, the apparatus comprising:
the first judgment module is used for judging whether a mail list of a currently logged mailbox account contains a backup mail of the mailbox account;
the acquisition module is used for acquiring user setting data corresponding to the mailbox account in the backup mail if the backup mail comprises the mailbox account;
the second judgment module is used for judging whether the setting parameters of the mailbox client for logging in the mailbox account are consistent with the user setting data;
the restoring module is used for setting the setting parameters according to the user setting data if the setting parameters are inconsistent with the user setting data;
the user setting data is data generated in the process of setting the setting parameters of the mail client by the user.
7. The apparatus according to claim 6, wherein if the currently registered mailing list of the mailbox account does not include the backup mail of the mailbox account, further comprising:
the creation module is used for creating a new mail;
the import module is used for importing the setting parameters of the mailbox client of the mailbox account into the new mail according to a preset rule to generate the backup mail;
and the sending module is used for sending the backup mail to the mailbox account.
8. The apparatus of claim 6, wherein the first determining module comprises:
and the traversing submodule is used for traversing a mail list of the currently logged mailbox account and judging whether the mail list comprises a backup mail with a backup identification mark.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the mail data recovery method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that a mail data recovery program is stored thereon, which when executed by a processor implements the steps of the mail data recovery method according to any one of claims 1 to 5.
CN201710614363.8A 2017-07-25 2017-07-25 Mail data recovery method and device and mobile terminal Active CN107248949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710614363.8A CN107248949B (en) 2017-07-25 2017-07-25 Mail data recovery method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710614363.8A CN107248949B (en) 2017-07-25 2017-07-25 Mail data recovery method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107248949A CN107248949A (en) 2017-10-13
CN107248949B true CN107248949B (en) 2020-03-10

Family

ID=60013291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710614363.8A Active CN107248949B (en) 2017-07-25 2017-07-25 Mail data recovery method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107248949B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110060150A (en) * 2019-04-28 2019-07-26 宜人恒业科技发展(北京)有限公司 Credit cards Electronic bill method of discrimination and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257388B2 (en) * 2003-11-10 2007-08-14 Bayne Anthony J Pre-paid mobile phone with temporary voice mail
CN101674541A (en) * 2009-08-25 2010-03-17 联信摩贝软件(北京)有限公司 Method for backing up mobile phone information to personal email and system thereof
CN101662847A (en) * 2009-09-22 2010-03-03 中兴通讯股份有限公司 Automatic backup and recovery method, system and mobile terminal for mobile terminal address list
CN106209765A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method and device of integrated mailbox configurations information

Also Published As

Publication number Publication date
CN107248949A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
JP5467157B2 (en) Method and mobile terminal for processing contacts
US20200042148A1 (en) Screen capturing method and terminal, and screenshot reading method and terminal
US10257339B2 (en) Method and apparatus for processing contact information using a wireless terminal
CN107743086B (en) Message processing method and system, and message sending and receiving device
CN103597860B (en) Selectivity link to message account
CN106909855B (en) File hiding method and device
KR20160041899A (en) Conversation merging method and mobile terminal
CN108551519B (en) Information processing method, device, storage medium and system
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
CN106790009B (en) Information processing method and device and mobile terminal
US20150177974A1 (en) Information display method and user terminal for instant messaging tool
CN114827914A (en) Short message processing method and device and electronic equipment
CN105068726A (en) Information processing method and terminal
CN112306590B (en) Screenshot generating method and related device
WO2015032284A1 (en) Method, terminal device, and system for instant messaging
CN102710553A (en) Method and client for reminding instant communication message
CN106789556B (en) Expression generation method and device
CN110555171A (en) Information processing method, device, storage medium and system
CN109801136B (en) Food ordering method, system, terminal, server and medium for preventing malicious ordering
CN107248949B (en) Mail data recovery method and device and mobile terminal
CN108039998B (en) Mail processing method, receiving side terminal, sending side terminal and mail system
CN102664822A (en) Instant communication message sending method and client side based on input method
CN105745988A (en) Short message processing method for mobile terminal, and mobile terminal
CN102957749B (en) A kind of for providing the method for information, device and equipment
CN108140173B (en) Classifying attachments parsed from a communication

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
GR01 Patent grant
GR01 Patent grant