US11159616B2 - Email synchronization method and apparatus, and computer readable storage medium - Google Patents

Email synchronization method and apparatus, and computer readable storage medium Download PDF

Info

Publication number
US11159616B2
US11159616B2 US16/969,557 US201916969557A US11159616B2 US 11159616 B2 US11159616 B2 US 11159616B2 US 201916969557 A US201916969557 A US 201916969557A US 11159616 B2 US11159616 B2 US 11159616B2
Authority
US
United States
Prior art keywords
email
node system
list
year
host node
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
US16/969,557
Other languages
English (en)
Other versions
US20210006619A1 (en
Inventor
Yingtang Chen
Zhendong Tan
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.)
Lunkr Technology Guangzhou Co Ltd
Original Assignee
Lunkr Technology Guangzhou 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 Lunkr Technology Guangzhou Co Ltd filed Critical Lunkr Technology Guangzhou Co Ltd
Assigned to LUNKR TECHNOLOGY (GUANGZHOU) CO., LTD. reassignment LUNKR TECHNOLOGY (GUANGZHOU) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHEN, Yingtang, TAN, Zhendong
Publication of US20210006619A1 publication Critical patent/US20210006619A1/en
Application granted granted Critical
Publication of US11159616B2 publication Critical patent/US11159616B2/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
    • 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
    • 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
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • H04L51/22
    • 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/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • H04L51/30
    • 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/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Definitions

  • the present invention relates to the field of email service technologies, and in particular, to an email synchronization method and apparatus, and a computer readable storage medium.
  • Email is an important part of communication in people's daily life. Email is not merely a simple message, but has become an indispensable communication tool like mobile phones. With low costs, simplicity, ease of use, and global compatibility, email is used as a standard for message transmission.
  • some email system servers adopt a hot backup solution, where two email systems are deployed: a host email system and a mirror system.
  • the mirror system synchronizes a site structure, users, emails and other data of the host email system in real time or regularly.
  • the host email system and the mirror system maintain the same topological structure, site structure and enterprise organization.
  • the current email synchronization method is as follows: the mirror system evenly segments a file into a plurality of blocks (for example, 512-byte blocks); the host email system calculates two types of checksums for each segmented data block: a 32-bit rolling weak checksum, and a 128-bit Message Digest 5 (MD5) strong checksum; the mirror system transmits a checksum list of fileDst to a synchronous source; the synchronous source searches all 512-byte data blocks of a file fileSrc to find a data block that has the same weak checksum and strong checksum as a certain block of the file; the synchronous source finds out data in two adjacent matches of fileSrc, and transmits the data to the mirror system for synchronization.
  • blocks for example, 512-byte blocks
  • MD5 Message Digest 5
  • Such an email synchronization method has the following disadvantages: It takes a relatively long time when the synchronous source synchronizes a large number of files.
  • the synchronous source generally uses a file or a directory as a unit during data comparison and synchronization. If data of an email system needs to be synchronized, full comparison and incremental synchronization may be performed by using the data of the entire email system.
  • the email system has a large data volume and a large number of files, which further increases the time spent on comparison and synchronization.
  • the synchronous source cannot perform separate synchronization within a small range based on a user and a time range, and cannot synchronize email data of a specified user quickly.
  • the synchronous source can only implement one-way synchronization to the mirror system.
  • An objective of the present invention is to provide an email synchronization method and apparatus, and a computer readable storage medium, which can effectively reduce an email comparison time, implement email data synchronization within a small range, improve synchronization efficiency of email data, and also achieve two-way synchronization between a host node system and a mirror node system.
  • an email synchronization method including:
  • index data includes email identifiers, flag bits, folders, and receiving times
  • the synchronizing email data of the host node system and the mirror node system within the specified time range when the generated check values of the host node system are inconsistent with the generated check values of the mirror node system specifically includes:
  • the synchronizing the email data of the host node system within the specified time range to the mirror node system according to the list of the property changes of the partial indexes, the list of the new email identifiers of the host node system, and the list of the deleted email identifiers of the host node system specifically includes:
  • the synchronizing the email data of the mirror node system within the specified time range to the host node system according to the list of the new email identifiers of the mirror node system specifically includes:
  • the generating check values of the emails of the host node system within the specified time range according to the first email index list specifically includes:
  • CRC Cyclic Redundancy Check
  • the generating an initial check value corresponding to the any email according to the receiving time corresponding to the any email in the first email index list specifically includes:
  • the calculating current check values corresponding to the emails within the specified time range according to a current date, and updating the current check values corresponding to the emails within the specified time range into the preset first mapping table specifically includes:
  • the embodiments of the present invention further provide an email synchronization apparatus, including:
  • an index data obtaining module configured to separately obtain index data of emails of a host node system and a mirror node system within a specified time range, where the index data includes email identifiers, flag bits, folders, and receiving times;
  • a first index list generating module configured to generate a first email index list according to the index data of the emails of the host node system within the specified time range
  • a second index list generating module configured to generate a second email index list according to the index data of the emails of the mirror node system within the specified time range
  • a first check value generating module configured to generate check values of the emails of the host node system within the specified time range according to the first email index list
  • a second check value generating module configured to generate check values of the emails of the mirror node system within the specified time range according to the second email index list
  • a check value comparison module configured to compare the generated check values of the host node system with the generated check values of the mirror node system
  • an email synchronization module configured to synchronize email data of the host node system and the mirror node system within the specified time range when the generated check values of the host node system are inconsistent with the generated check values of the mirror node system.
  • the embodiments of the present invention further provide an email synchronization apparatus, including a processor, a memory, and a computer program that is stored in the memory and configured to be executed by the processor, where when executing the computer program, the processor implements the above email synchronization method.
  • the embodiments of the present invention further provide a computer readable storage medium, where the computer readable storage medium includes a stored computer program, and when being run, the computer program controls a device where the computer readable storage medium is located to perform the above email synchronization method.
  • the email synchronization method includes: separately obtaining index data of emails of a host node system and a mirror node system within a specified time range, where the index data includes email identifiers, flag bits, folders, and receiving times; generating a first email index list according to the index data of the emails of the host node system within the specified time range; generating a second email index list according to the index data of the emails of the mirror node system within the specified time range; generating check values of the emails of the host node system within the specified time range according to the first email index list; generating check values of the emails of the mirror node system within the specified time range according to the second email index list; comparing the generated check values of the host node system with the generated check values of the mirror node system; and synchronizing email data of the host node system and the mirror node system within the specified time range when the generated check values of the host node system are inconsistent with
  • This method can effectively reduce an email comparison time, implement email data synchronization within a small range, improve synchronization efficiency of email data, and also achieve two-way synchronization between the host node system and the mirror node system.
  • the embodiments of the present invention further provide an email synchronization apparatus and a computer readable storage medium.
  • FIG. 1 is a flowchart of an email synchronization method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an email synchronization apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an email synchronization method according to an embodiment of the present invention.
  • the email synchronization method includes the following steps:
  • S 100 separately obtain index data of emails of a host node system and a mirror node system within a specified time range, where the index data includes email identifiers, flag bits, folders, and receiving times.
  • S 200 generate a first email index list according to the index data of the emails of the host node system within the specified time range.
  • S 300 generate a second email index list according to the index data of the emails of the mirror node system within the specified time range.
  • S 400 generate check values of the emails of the host node system within the specified time range according to the first email index list.
  • S 500 generate check values of the emails of the mirror node system within the specified time range according to the second email index list.
  • S 700 synchronize email data of the host node system and the mirror node system within the specified time range when the generated check values of the host node system are inconsistent with the generated check values of the mirror node system.
  • the check values are directly generated according to the index data.
  • the check values are only related to the quantity of emails, but have nothing to do with the email size, so that the check values can be generated and compared quickly.
  • it is unnecessary to check email content during comparison, which reduces the comparison time, thereby effectively reducing the time spent on email comparison, improving the synchronization efficiency of email data, and achieving two-way synchronization between the host node system and the mirror node system.
  • the index data further includes index modification times, senders, recipients, subjects, header Message-IDs, and the like.
  • index data of all emails of the host node system and the mirror node system is obtained separately, and the index data is sorted according to the index modification times.
  • the first email index list is generated according to the email identifiers, flag bits, folders and receiving times in the index data of the emails of the host node system within the specified time range; and the second email index list is generated according to the email identifiers, flag bits, folders and receiving times in the index data of the emails of the mirror node system within the specified time range.
  • a method for calculating the check values of the host node system within the specified time range is the same as a method for calculating the check values of the mirror node system within the specified time range. Therefore, calculation of the check values of the host node system within the specified time range is taken as an example for description.
  • S 700 of synchronizing email data of the host node system and the mirror node system within the specified time range when the generated check values of the host node system are inconsistent with the generated check values of the mirror node system specifically includes:
  • the synchronizing the email data of the host node system within the specified time range to the mirror node system according to the list of the property changes of the partial indexes, the list of the new email identifiers of the host node system, and the list of the deleted email identifiers of the host node system specifically includes:
  • the email deleted by the user is marked as being in a deferred deletion state in the host node system. In this case, it seems to the user that the email has been deleted, while the email is actually deleted later in the background, thus providing a data basis for two-way synchronization between the host node system and the mirror node system.
  • the synchronizing the email data of the mirror node system within the specified time range to the host node system according to the list of the new email identifiers of the mirror node system specifically includes:
  • the generating check values of the emails of the host node system within the specified time range according to the first email index list specifically includes:
  • CRC Cyclic Redundancy Check
  • the check values of the mirror node system within the specified time range are calculated by using the same method as calculating the check values of the host node system within the specified time range, and the check values of the mirror node system within the specified time range are updated into a preset second mapping table.
  • the preset first mapping table records the check values within the specified time range.
  • the check values in the preset first mapping table obtained according to the first email index list may be compared with the corresponding check values in the preset second mapping table obtained according to the second email index list. Because the check value is generated according to the index data of each email, it is unnecessary to check email content, so that content to be checked during comparison can be greatly reduced, thus reducing the time for generating the check value.
  • the check values are only related to the quantity of emails, but have nothing to do with the email size, so that the check values can be generated and compared quickly.
  • the generating an initial check value corresponding to the any email according to the receiving time corresponding to the any email in the first email index list specifically includes:
  • the calculating current check values corresponding to the emails within the specified time range according to a current date, and updating the current check values corresponding to the emails within the specified time range into the preset first mapping table specifically includes:
  • the index value a i corresponding to the i th month is automatically generated according to the principle of sequence number incrementing, and an initial value of a i is the difference between the year corresponding to the current date and the preset year.
  • the index value b i corresponding to the i th day is automatically generated according to the principle of sequence number incrementing, and an initial value of b i is a maximum value of a i plus 1.
  • the preset year is the year 2000
  • the current date is Sep. 30, 2017.
  • the check values of the emails within the specified time range are compared, so that the email data within the specified time range is synchronized when the check values are inconsistent. For example, if the specified time range is the latest month, email data within the latest month can be synchronized, thereby reducing the total amount of data to be synchronized, implementing synchronization of email data within a small range and ensuring the efficiency and speed of synchronization. Moreover, different time ranges may be set, to set different synchronization policies for user groups of different grades, thus improving user experience.
  • a back-end server may further synchronize historical email data based on time periods
  • FIG. 2 is a schematic of an email synchronization apparatus according to an embodiment of the present invention.
  • the email synchronization apparatus includes:
  • an index data obtaining module 1 configured to separately obtain index data of emails of a host node system and a mirror node system within a specified time range, where the index data includes email identifiers, flag bits, folders, and receiving times;
  • a first index list generating module 2 configured to generate a first email index list according to the index data of the emails of the host node system within the specified time range;
  • a second index list generating module 3 configured to generate a second email index list according to the index data of the emails of the mirror node system within the specified time range;
  • a first check value generating module 4 configured to generate check values of the emails of the host node system within the specified time range according to the first email index list;
  • a second check value generating module 5 configured to generate check values of the emails of the mirror node system within the specified time range according to the second email index list;
  • a check value comparison module 6 configured to compare the generated check values of the host node system with the generated check values of the mirror node system
  • an email synchronization module 7 configured to synchronize email data of the host node system and the mirror node system within the specified time range when the generated check values of the host node system are inconsistent with the generated check values of the mirror node system.
  • the apparatus directly generates the check values according to the index data.
  • the check values are only related to the quantity of emails, but have nothing to do with the email size, so that the check values can be generated and compared quickly.
  • it is unnecessary to check email content during comparison, which reduces the comparison time, thereby effectively reducing the time spent on email comparison, improving the synchronization efficiency of email data, and achieving two-way synchronization between the host node system and the mirror node system.
  • the index data further includes index modification times, senders, recipients, subjects, header Message-IDs, and the like.
  • index data of all emails of the host node system and the mirror node system is obtained separately, and the index data is sorted according to the index modification times.
  • the first email index list is generated according to the email identifiers, flag bits, folders and receiving times in the index data of the emails of the host node system within the specified time range; and the second email index list is generated according to the email identifiers, flag bits, folders and receiving times in the index data of the emails of the mirror node system within the specified time range.
  • the first check value generating module and the second check value generating module have exactly the same functional modules and units, and implement exactly the same functions. That is, the functional modules or units of the second check value generating module correspond to those of the first check value generating module in a one-to-one manner. Therefore, the first check value generating module is taken as an example for description.
  • the email synchronization module includes:
  • an email data comparison unit configured to compare email identifiers and flag bits in the first email index list with corresponding email identifiers and flag bits in the second email index list when the generated check values of the host node system are inconsistent with the generated check values of the mirror node system, to obtain a list of property changes of partial indexes, a list of new email identifiers of the host node system, a list of deleted email identifiers of the host node system, and a list of new email identifiers of the mirror node system;
  • a mirror node system synchronization unit configured to synchronize the email data of the host node system within the specified time range to the mirror node system according to the list of the property changes of the partial indexes, the list of the new email identifiers of the host node system, and the list of the deleted email identifiers of the host node system;
  • a host node system synchronization unit configured to synchronize the email data of the mirror node system within the specified time range to the host node system according to the list of the new email identifiers of the mirror node system.
  • the mirror node system synchronization unit includes:
  • a property synchronization unit configured to synchronize change content of the host node system within the specified time range to the mirror node system according to the list of the property changes of the partial indexes
  • a new email synchronization unit configured to obtain, according to the list of the new email identifiers of the host node system, a list of new emails marked as being in a non-deferred deletion state of the host node system within the specified time range, and synchronize email data in the host node system corresponding to the list of the new emails to the mirror node system;
  • a deleted email synchronization unit configured to obtain, according to the list of the deleted email identifiers of the host node system, a list of deleted emails marked as being in a deferred deletion state of the host node system within the specified time range, and delete email data in the mirror node system corresponding to the list of the deleted emails.
  • the email deleted by the user is marked as being in a deferred deletion state in the host node system. In this case, it seems to the user that the email has been deleted, while the email is actually deleted later in the background, thus providing a data basis for two-way synchronization between the host node system and the mirror node system.
  • the host node system synchronization unit includes:
  • a system email synchronization unit configured to obtain, according to the list of the new email identifiers of the mirror node system, a list of system emails generated by the mirror node system, and synchronize email data in the mirror node system corresponding to the list of system emails to the host node system.
  • the check values of the mirror node system within the specified time range are calculated by using the same method as calculating the check values of the host node system within the specified time range, and the check values of the mirror node system within the specified time range are updated into a preset second mapping table.
  • the preset first mapping table records the check values within the specified time range.
  • the check values in the preset first mapping table obtained according to the first email index list may be compared with the corresponding check values in the preset second mapping table obtained according to the second email index list. Because the check value is generated according to the index data of each email, it is unnecessary to check email content, so that content to be checked during comparison can be greatly reduced, thus reducing the time for generating the check value.
  • the check values are only related to the quantity of emails, but have nothing to do with the email size, so that the check values can be generated and compared quickly.
  • a host-node initial check value generating unit is configured to: when the receiving time corresponding to the any email is earlier than a preset year, generate the initial check value corresponding to the any email according to a particular year of the receiving time corresponding to the any email;
  • the host-node initial check value generating unit is configured to: when the receiving time corresponding to the any email is a current day, generate the initial check value corresponding to the any email according to the year, month and day of the receiving time corresponding to the any email;
  • a host-node second check value generating unit is configured to calculate, according to a particular year corresponding to the current date and the preset year, a current check value corresponding to each year from the preset year to the year corresponding to the current date;
  • the host-node second check value generating unit is configured to calculate, according to the year and month corresponding to the current date and the preset year, a current check value corresponding to each month from the first month of the year corresponding to the current date to the month corresponding to the current date;
  • the host-node second check value generating unit is configured to calculate, according to the year, month and day corresponding to the current date and the preset year, a current check value corresponding to each day from the first day of the month corresponding to the current date to the day corresponding to the current date;
  • the host-node second check value generating unit is configured to update the current check value corresponding to each year, the current check value corresponding to each month, and the current check value corresponding to each day into the preset first mapping table.
  • the index value a i corresponding to the i th month is automatically generated according to the principle of sequence number incrementing, and an initial value of a i is the difference between the year corresponding to the current date and the preset year.
  • the index value b i corresponding to the i th day is automatically generated according to the principle of sequence number incrementing, and an initial value of b i is a maximum value of a i plus 1.
  • the preset year is the year 2000
  • the current date is Sep. 30, 2017.
  • the check values of the emails within the specified time range are compared, so that the email data within the specified time range is synchronized when the check values are inconsistent. For example, if the specified time range is the latest month, email data within the latest month can be synchronized, thereby reducing the total amount of data to be synchronized, implementing synchronization of email data within a small range and ensuring the efficiency and speed of synchronization. Moreover, different time ranges may be set, to set different synchronization policies for user groups of different grades, thus improving user experience.
  • a back-end server may further synchronize historical email data based on time periods
  • An embodiment of the present invention further provides an email synchronization apparatus, including a processor, a memory, and a computer program that is stored in the memory and configured to be executed by the processor.
  • the processor When executing the computer program, the processor implements the foregoing email synchronization method.
  • the computer program may be divided into one or more modules/units.
  • the one or more modules/units are stored in the memory and executed by the processor to complete the present invention.
  • the one or more modules/units may be one or more computer program instruction segments capable of completing specific functions, and the one or more instruction segments are used for describing an execution process of the computer program in the email synchronization apparatus.
  • the computer program may be divided into an index data obtaining module, configured to separately obtain index data of emails of a host node system and a mirror node system within a specified time range, where the index data includes email identifiers, flag bits, folders, and receiving times; a first index list generating module, configured to generate a first email index list according to the index data of the emails of the host node system within the specified time range; a second index list generating module, configured to generate a second email index list according to the index data of the emails of the mirror node system within the specified time range; a first check value generating module, configured to generate check values of the emails of the host node system within the specified time range according to the first email index list; a second check value generating module, configured to generate check values of the emails of the mirror node system within the specified time range according to the second email index list; a check value comparison module, configured to compare the generated check values of the host node system with the generated check values of the mirror node system; and an email synchronization module,
  • the email synchronization apparatus may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the email synchronization apparatus may include, but is not limited to, a processor and a memory.
  • a person skilled in the art may understand that the figure merely shows an example of the email synchronization apparatus, and does not limit the email synchronization apparatus.
  • the apparatus may include more or fewer components than those shown in the figure, or some components may be combined, or different components may be used.
  • the email synchronization apparatus may further include an input/output device, a network access device, a bus, or the like.
  • the processor may be a Central Processing Unit (CPU), and may also be another general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or another programmable logic device, a discrete gate, a transistor logic device, a discrete hardware component, and the like.
  • the general-purpose processor may be a microprocessor, or any conventional processor.
  • the processor is a control center of the email synchronization apparatus, and various parts of the whole email synchronization apparatus are connected by using various interfaces and lines.
  • the memory may be configured to store the computer program and/or modules.
  • the processor implements various functions of the email synchronization apparatus by running or executing the computer program and/or modules stored in the memory and invoking data stored in the memory.
  • the memory may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function and an image playing function), and the like.
  • the data storage area may store data (such as audio data and an address book) created according to use of a mobile phone, and the like.
  • the memory may include a high-speed random access memory, and may further include a non-volatile memory, such as a hard disk, an internal storage, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • a non-volatile memory such as a hard disk, an internal storage, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the module/unit integrated in the email synchronization apparatus if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such an understanding, all or some of processes for implementing the method in the foregoing embodiments can be completed by instructing relevant hardware through a computer program.
  • the computer program may be stored in a computer readable storage medium. When the computer program is executed by a processor, steps of the foregoing method embodiments may be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, the form of object code, an executable file or some intermediate forms, and the like.
  • the computer readable medium may include: any physical entity or apparatus capable of carrying the computer program code, a recording medium, a USB disk, a mobile hard disk drive, a magnetic disk, an optical disc, a computer memory, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and the like.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the content contained in the computer readable medium may be added or deleted properly according to the legislation and the patent practice in the jurisdiction.
  • the computer-readable storage medium may not include the electrical carrier signal or the telecommunications signal.
  • An embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium induces a stored computer program, and when being run, the computer program controls a device where the computer readable storage medium is located to perform the foregoing email synchronization method.
  • the email synchronization method includes: separately obtaining index data of emails of a host node system and a mirror node system within a specified time range, where the index data includes email identifiers, flag bits, folders, and receiving times; generating a first email index list according to the index data of the emails of the host node system within the specified time range; generating a second email index list according to the index data of the emails of the mirror node system within the specified time range; generating check values of the emails of the host node system within the specified time range according to the first email index list; generating check values of the emails of the mirror node system within the specified time range according to the second email index list; comparing the generated check values of the host node system with the generated check values of the mirror node system; and synchronizing email data of the host node system and the mirror node system within the specified time range when the generated check values of the host node system are inconsistent with
  • Embodiments of the present invention further provide an email synchronization apparatus and a computer readable storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
US16/969,557 2018-02-13 2019-01-03 Email synchronization method and apparatus, and computer readable storage medium Active US11159616B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201810147966.6 2018-02-13
CN201810147966.6A CN108418746B (zh) 2018-02-13 2018-02-13 一种邮件同步方法、装置与计算机可读存储介质
PCT/CN2019/070305 WO2019157881A1 (zh) 2018-02-13 2019-01-03 一种邮件同步方法、装置与计算机可读存储介质

Publications (2)

Publication Number Publication Date
US20210006619A1 US20210006619A1 (en) 2021-01-07
US11159616B2 true US11159616B2 (en) 2021-10-26

Family

ID=63128652

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/969,557 Active US11159616B2 (en) 2018-02-13 2019-01-03 Email synchronization method and apparatus, and computer readable storage medium

Country Status (3)

Country Link
US (1) US11159616B2 (zh)
CN (1) CN108418746B (zh)
WO (1) WO2019157881A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418746B (zh) * 2018-02-13 2020-06-12 论客科技(广州)有限公司 一种邮件同步方法、装置与计算机可读存储介质
CN114124925B (zh) * 2020-08-25 2023-05-12 华为技术有限公司 一种电子邮件的同步方法及电子设备
CN114531413B (zh) * 2020-10-30 2023-10-10 华为技术有限公司 电子设备及其邮件同步方法和可读介质
CN117651033B (zh) * 2024-01-30 2024-04-05 太平金融科技服务(上海)有限公司 一种邮件同步方法、装置、电子设备和存储介质

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050203905A1 (en) * 2004-03-12 2005-09-15 Samsung Electronics Co., Ltd. Method of synchronizing data between server and user terminal using messenger service system and system using the same
US20070016632A1 (en) * 2005-07-14 2007-01-18 Yahoo! Inc. System and method for synchronizing between a user device and a server in a communication network
US20070014243A1 (en) * 2005-07-14 2007-01-18 Yahoo! Inc. System and method for provisioning a user device
CN101106537A (zh) 2006-07-14 2008-01-16 华为技术有限公司 一种选择性下载电子邮件的方法
US20080270629A1 (en) * 2007-04-27 2008-10-30 Yahoo! Inc. Data snychronization and device handling using sequence numbers
US7788352B2 (en) * 2005-07-14 2010-08-31 Yahoo! Inc. System and method for servicing a user device
US20110167041A1 (en) * 2008-09-09 2011-07-07 Zte Corporation Method and device for maintaining a changelog in data synchronization
US8024290B2 (en) * 2005-11-14 2011-09-20 Yahoo! Inc. Data synchronization and device handling
CN102291453A (zh) 2011-08-09 2011-12-21 中兴通讯股份有限公司 一种数据同步的方法及装置
US8112549B2 (en) * 2005-07-14 2012-02-07 Yahoo! Inc. Alert mechanism for notifying multiple user devices sharing a connected-data-set
US8635266B2 (en) * 2006-01-26 2014-01-21 Huawei Technologies Co., Ltd. Method and system for data synchronization, and apparatus thereof
US8825815B2 (en) * 2008-01-08 2014-09-02 Amdocs Software Systems Limited System and method for client synchronization for a communication device
US20210067570A1 (en) * 2018-01-09 2021-03-04 Lunkr Technology (Guangzhou) Co., Ltd. Method, apparatus and system for creating discussion group based on instant messaging
US20210067475A1 (en) * 2018-01-09 2021-03-04 Lunkr Technology (Guangzhou) Co., Ltd. Instant messaging method, apparatus and system based on email system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040031926A (ko) * 2002-10-07 2004-04-14 엘지전자 주식회사 이동 통신 단말기의 전화 번호 검색 방법
US7925754B2 (en) * 2003-11-21 2011-04-12 Microsoft Corporation Method and computer program product to provide synch notifications to client devices
CN100459522C (zh) * 2006-03-08 2009-02-04 华为技术有限公司 利用同步标记语言进行终端管理的方法
US20080235335A1 (en) * 2007-03-20 2008-09-25 International Business Machines Corporation Method, system, and computer program product for changing the status of an existing email in a recipient email client inbox
US20110125856A1 (en) * 2009-11-25 2011-05-26 Lg Electronics Inc. Mobile terminal and method of providing email services in the mobile terminal
CN102890682B (zh) * 2011-07-21 2017-08-01 腾讯科技(深圳)有限公司 构建索引的方法、检索方法、装置及系统
CN104243508A (zh) * 2013-06-07 2014-12-24 富鸿康科技(深圳)有限公司 服务器、客户端及文件同步方法
CN106161193B (zh) * 2015-04-10 2020-05-08 腾讯科技(成都)有限公司 一种邮件处理方法、装置和系统
CN106209974B (zh) * 2016-06-21 2019-03-12 浪潮电子信息产业股份有限公司 一种数据同步方法、设备及系统
CN108418746B (zh) * 2018-02-13 2020-06-12 论客科技(广州)有限公司 一种邮件同步方法、装置与计算机可读存储介质

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050203905A1 (en) * 2004-03-12 2005-09-15 Samsung Electronics Co., Ltd. Method of synchronizing data between server and user terminal using messenger service system and system using the same
US8112549B2 (en) * 2005-07-14 2012-02-07 Yahoo! Inc. Alert mechanism for notifying multiple user devices sharing a connected-data-set
US20070016632A1 (en) * 2005-07-14 2007-01-18 Yahoo! Inc. System and method for synchronizing between a user device and a server in a communication network
US20070014243A1 (en) * 2005-07-14 2007-01-18 Yahoo! Inc. System and method for provisioning a user device
US7788352B2 (en) * 2005-07-14 2010-08-31 Yahoo! Inc. System and method for servicing a user device
US8024290B2 (en) * 2005-11-14 2011-09-20 Yahoo! Inc. Data synchronization and device handling
US9524327B2 (en) * 2006-01-26 2016-12-20 Huawei Technologies Co., Ltd. Method and system for data synchronization, and apparatus thereof
US8635266B2 (en) * 2006-01-26 2014-01-21 Huawei Technologies Co., Ltd. Method and system for data synchronization, and apparatus thereof
CN101106537A (zh) 2006-07-14 2008-01-16 华为技术有限公司 一种选择性下载电子邮件的方法
US20080270629A1 (en) * 2007-04-27 2008-10-30 Yahoo! Inc. Data snychronization and device handling using sequence numbers
US8825815B2 (en) * 2008-01-08 2014-09-02 Amdocs Software Systems Limited System and method for client synchronization for a communication device
US20110167041A1 (en) * 2008-09-09 2011-07-07 Zte Corporation Method and device for maintaining a changelog in data synchronization
CN102291453A (zh) 2011-08-09 2011-12-21 中兴通讯股份有限公司 一种数据同步的方法及装置
US20210067570A1 (en) * 2018-01-09 2021-03-04 Lunkr Technology (Guangzhou) Co., Ltd. Method, apparatus and system for creating discussion group based on instant messaging
US20210067475A1 (en) * 2018-01-09 2021-03-04 Lunkr Technology (Guangzhou) Co., Ltd. Instant messaging method, apparatus and system based on email system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
International Search Report of PCT Patent Application No. PCT/CN2019/070305 dated Mar. 27, 2019.

Also Published As

Publication number Publication date
WO2019157881A1 (zh) 2019-08-22
US20210006619A1 (en) 2021-01-07
CN108418746B (zh) 2020-06-12
CN108418746A (zh) 2018-08-17

Similar Documents

Publication Publication Date Title
US11159616B2 (en) Email synchronization method and apparatus, and computer readable storage medium
EP3304310B1 (en) System and method for automatic cloud-based full-data backup and restore on mobile devices
CN107077483B (zh) 共享文件夹和文件的同步
US11354065B2 (en) Cloud edition and retrieve
US20170031948A1 (en) File synchronization method, server, and terminal
WO2020143317A1 (zh) 分片文件验证方法及终端设备
CN110599169B (zh) 数据处理方法、装置、终端及介质
CN112286939B (zh) 块链式账本中全局状态的哈希的生成方法、装置及设备
EP2688000A1 (en) Data deduplication method and device
CN109522314B (zh) 基于区块链的数据归档方法及终端设备
US11126751B2 (en) Index creation for data records
CN107391761B (zh) 一种基于重复数据删除技术的数据管理方法及装置
US10545988B2 (en) System and method for data synchronization using revision control
CN102291453B (zh) 一种数据同步的方法及装置
CN103841180A (zh) 一种基于操作指令的网络数据同步方法、装置、终端设备和服务器
CN105812469A (zh) 一种通讯录同步方法及装置
CN112732702B (zh) 数据库引擎文件处理方法及装置
CN115033578A (zh) 一种业务数据更新的方法、相关装置及存储介质
CN113806803B (zh) 一种数据存储方法、系统、终端设备及存储介质
CN111444194B (zh) 一种块链式账本中索引的清除方法、装置及设备
US20210117096A1 (en) Method, device and computer program product for backuping data
CN109299146B (zh) 一种数据同步系统及方法
CN113468190B (zh) 一种对MongoDB数据库实例的配置更新方法及装置
CN115438012A (zh) 文件的存储方法及装置
US9189488B2 (en) Determination of landmarks

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: SMALL ENTITY

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO SMALL (ORIGINAL EVENT CODE: SMAL); ENTITY STATUS OF PATENT OWNER: SMALL ENTITY

AS Assignment

Owner name: LUNKR TECHNOLOGY (GUANGZHOU) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHEN, YINGTANG;TAN, ZHENDONG;REEL/FRAME:053507/0106

Effective date: 20200701

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE