CN106453060B - Mail synchronization method and terminal - Google Patents

Mail synchronization method and terminal Download PDF

Info

Publication number
CN106453060B
CN106453060B CN201611043317.9A CN201611043317A CN106453060B CN 106453060 B CN106453060 B CN 106453060B CN 201611043317 A CN201611043317 A CN 201611043317A CN 106453060 B CN106453060 B CN 106453060B
Authority
CN
China
Prior art keywords
mailbox
frequency
synchronization
synchronous
application 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
CN201611043317.9A
Other languages
Chinese (zh)
Other versions
CN106453060A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201611043317.9A priority Critical patent/CN106453060B/en
Publication of CN106453060A publication Critical patent/CN106453060A/en
Application granted granted Critical
Publication of CN106453060B publication Critical patent/CN106453060B/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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a mail synchronization method and a terminal, which solve the technical problems of untimely mail receiving or excessive power consumption of the terminal of the existing fixed frequency synchronization mailbox server. The method comprises the following steps: acquiring mailbox application data of each time period in a cycle; setting the synchronization frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data; and judging the time period of the current time in a plurality of time periods, and updating the synchronization frequency of the current synchronization mailbox server to the synchronization frequency of the synchronization mailbox server of the time period of the current time. According to the acquired mailbox application data, the frequency characteristic of the mailbox used by the terminal user can be analyzed, the synchronous frequency of the high synchronous mailbox server is set and updated to search for the new mail when the utilization rate is high, the technical effect of timely receiving the mail is achieved, the synchronous frequency of the low synchronous mailbox server is set and updated to search for the new mail when the utilization rate is low, and the technical effect of saving the power consumption of the terminal is achieved.

Description

Mail synchronization method and terminal
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a mail synchronization method and a terminal.
Background
After a mailbox client is installed on an intelligent mobile terminal such as a mobile phone, the intelligent mobile terminal has a function of receiving and checking mails, so that a user can receive the mails anytime and anywhere.
Currently, a mailbox client of an intelligent mobile terminal generally adopts a fixed frequency to synchronously check whether a new mail exists with a mailbox server, and the mail is downloaded to the mailbox client when the new mail exists; for example, with 15 minutes synchronized with the mailbox server as a fixed frequency, the mailbox client synchronizes with the mailbox server every 15 minutes to check whether there is a new mail, and downloads the mail when there is a new mail.
In this way, the mailbox server checks the mail at a fixed frequency, and there are the following problems: in the time period that the user frequently uses the mailbox, the fixed frequency is relatively low, and the problem that the mail is not received in time exists, while in the time period that the user does not frequently use the mailbox, the fixed frequency is relatively high, and for the intelligent mobile terminal which uses the battery to maintain power supply, the problem that the electric energy consumption is excessive is caused by synchronizing the mailbox server with the relatively high fixed frequency in the time period that the mailbox is not frequently used.
Disclosure of Invention
The application provides a mail synchronization method and a terminal, which solve the technical problems of untimely mail receiving or excessive power consumption of the terminal of the existing fixed frequency synchronization mailbox server.
In order to solve the technical problems, the application adopts the following technical scheme:
a mail synchronization method is provided, which comprises the following steps: acquiring mailbox application data of each time period in a cycle; wherein the period is divided into a plurality of time periods, and the period is less than or equal to 24 hours; setting the synchronization frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data; judging the time period of the current time in the plurality of time periods; and updating the synchronization frequency of the current synchronization mailbox server to the synchronization frequency of the synchronization mailbox server in the time period to which the current time belongs.
The mail synchronization terminal comprises a mailbox application data acquisition module, a synchronization frequency setting module and a synchronization frequency updating module; the mailbox application data acquisition module is used for acquiring mailbox application data of each time period in a period; wherein the period is divided into a plurality of time periods, and the period is less than or equal to 24 hours; the synchronous frequency setting module is used for setting the synchronous frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data; and the synchronous frequency updating module is used for judging the time periods which the current synchronous mailbox servers belong to in the multiple time periods and updating the synchronous frequency of the current synchronous mailbox server into the synchronous frequency of the synchronous mailbox server of the time period which the current synchronous mailbox server belongs to.
Compared with the prior art, the application has the advantages and positive effects that: in the mail synchronization method and the terminal, different from a mode that an existing mailbox searches for a new mail by a fixed-frequency synchronous mailbox server, mailbox application data of each time period in a period is acquired, and the synchronous frequency of the synchronous mailbox server of each time period is set based on the acquired mailbox application data, so that the synchronous frequencies of the synchronous mailbox servers of the mailboxes in different time periods are different, and are changed according to the application characteristics of the mailboxes in the time periods, and the technical effect of updating the synchronous frequency of the synchronous mailbox server according to the frequency characteristics of the mailboxes used by terminal users per se is achieved; specifically, a period is divided into a plurality of time periods, mailbox application data in each time period is acquired, the mailbox application data embody the frequency characteristics of using a mailbox synchronous mailbox server by an end user in different time periods, such as mailbox opening times, mailbox opening duration, number of received mails and the like, the synchronous frequency of the mailbox server in each time period set based on the mailbox application data is set according to the frequency characteristics of using the mailbox synchronous mailbox server by the user in each time period, the technical effect of timely receiving the mails by synchronizing the mailbox server with a high synchronous frequency in the time period when the end user uses the mailbox with a high frequency can be achieved, the technical effect of saving the electric quantity of the terminal can be achieved by synchronizing the mailbox server with a low synchronous frequency in the time period when the end user uses the mailbox with a low frequency, therefore, the technical problems that the mail is not received timely or the power consumption of the terminal is excessive in the conventional fixed frequency synchronous mailbox server are solved.
Other features and advantages of the present application will become more apparent from the detailed description of the embodiments of the present application when taken in conjunction with the accompanying drawings.
Drawings
FIG. 1 is a flow chart of a mail synchronization method proposed in the present application;
fig. 2 is an architecture diagram of a mail synchronization terminal according to the present application;
fig. 3 is a further architecture diagram of the mail synchronization terminal proposed in the present application.
Detailed Description
The following describes embodiments of the present application in further detail with reference to the accompanying drawings.
The method and the terminal for synchronizing the mails acquire mailbox application data such as mailbox opening times, mailbox opening duration, received mail number and the like in a period, and obtain the synchronous frequency of a synchronous mailbox server in each time period in the period based on the mailbox application data, so that the synchronous frequencies of the synchronous mailbox servers in different time periods are different, the technical effect of changing the synchronous frequency of the synchronous mailbox server according to the use characteristics of a terminal user is realized, and the technical problems of untimely mail receiving or excessive terminal power consumption existing in the conventional fixed-frequency synchronous mailbox server are solved.
Specifically, the mail synchronization method provided by the present application, as shown in fig. 1, includes the following steps:
step S11: and acquiring mailbox application data of each time period in a cycle.
Wherein, one cycle is divided into a plurality of time periods, and one cycle is less than or equal to 24 hours.
The mailbox application data is application data generated in the process that the terminal user uses the mailbox, such as mailbox opening times, mailbox opening duration, number of received mails and the like, and can reflect the frequency characteristic that the terminal user uses the mailbox synchronous mailbox server in different time periods.
Taking a cycle of 24 hours, mailbox application data including mailbox opening times, mailbox opening duration and received mail number as an example, dividing 24 hours into N time periods, and acquiring the mailbox opening times SumTime (i), the mailbox opening duration SumDuration (i) and the received mail number SumMail (i) aiming at each time period i; where 1. ltoreq. i.ltoreq.N, N being a positive integer.
The combination of one or more items of mailbox application data can reflect the personal use characteristics of using the mailbox by the end user from the aspects of mailbox opening frequency, mailbox opening time length, received mail number and the like, can reflect the information of high frequency and more received mails of using the mailbox synchronization mailbox server in which time periods in a period, low frequency and less received mails of using the mailbox synchronization mailbox server in which time periods, and even the like, wherein the mailbox is not used by the end user in which time periods.
Step S12: and setting the synchronization frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data.
As mentioned above, mailbox application data such as mailbox open times SumTime, mailbox open duration SumDuration and received mail number SumMail can reflect information of which time periods use mailboxes and have high frequency and more received mails in a period of the end user, and which time periods use mailboxes and have low frequency and less received mails in the period of the end user, the synchronization frequency applicable to the synchronization mailbox server in the time period can be respectively set for the N time periods according to the mailbox application data, so that the synchronization frequency of the synchronization mailbox server in each time period is set according to the frequency characteristic that the user uses the mailbox synchronization mailbox server in each time period, the synchronization mailbox server with high synchronization frequency in the time period that the end user uses the mailbox can check new mails, and the technical effect of timely receiving mails can be achieved, and the synchronization server with low synchronization frequency in the time period that the end user uses the mailbox checks new mails or does not check new mails And the technical effect of saving the electric quantity of the terminal is achieved.
For example, one mailbox application data in N time periods is sorted, and sorting results such as that the number of times of opening mailboxes is at least from at most, the length of time of opening mailboxes is from long to short or from short to long, the number of received mails is at least from at least to at most, and the like, after sorting, the N time periods are sorted according to the frequency and the length of using mailboxes by users and/or the number of received mails, which embodies the frequency characteristics of using mailboxes by end users: the frequency of using the mailbox is high in which time periods, the frequency of using the mailbox is low in which time periods, and the mailbox is not even suitable in which time periods, etc.
The mailbox use frequency in a certain time period can be reflected according to the ratio relation of the mailbox application data in the certain time period to the mailbox application total data in a period. Specifically, after acquiring the number of times SumTime (1), SumTime (2), … …, SumTime (N) of mailbox opening in N time periods in a cycle, and the mailbox opening durations SumDuration (1), SumDuration (2), … …, SumDuration (N), and the number of received mails SumMail (1), SumMail (2), … …, and SumMail (N), in a cycle, taking 24 hours as an example, the total number of times totalSumTime of mailbox opening totalSumTime = SumTime (1) + … … + SumTime (N), the total length totalduation of mailbox opening = sumduty (1) + … … + SumDuration (N), and the total number of received mails totalSumMail = SumMail (1) + … … + SumMail (N).
Then, for a certain time period i in a period, calculating a ratio sumtime (i) of the mailbox opening times to the total mailbox opening times, totalSumTime, a ratio sumduration (i) of the mailbox opening time to the total mailbox opening time, totalSumDuration, and a ratio summail (i) of the number of received mails to the total number of received mails, wherein a high ratio indicates that the time period i is within 24 hours, a high frequency and a long time of using the mailbox by the terminal user and/or a large number of received mails are/is provided in the time period i, and a low ratio indicates that the time period i is within 24 hours, and a low frequency and a short time of using the mailbox by the terminal user and/or a small number of received mails are/are provided in the time period i. It can be seen that the combination of one or more of the three mailbox application data ratios can intuitively reflect the frequency of mailbox usage by the user in the time period i. After the using frequency of the mailbox in each time period is known, the synchronous frequency of the synchronous mailbox server in each time period can be set according to the characteristics of the using frequency in each time period, the synchronous frequency of the synchronous mailbox server with high using frequency is set in the time period with high using frequency, and the synchronous frequency of the synchronous mailbox server with low using frequency is set in the time period with low using frequency.
The embodiment of the application provides an optimal mode for setting the synchronization frequency of the synchronous mailbox server in each time period, which comprises the following steps: distributing different application weights according to the contribution degree of the mailbox application data to the reaction mailbox use frequency, for example, setting the application weight of the mailbox opening times as a first weight W1, setting the application weight of the mailbox opening duration as a second weight W2, and setting the application weight of the received mail number as a third weight W3; then, for each time slot i, a mailbox application data statistic (result) (i) = W1 sumtime (i) + W2 sumtime (i) + W3 summail (i)) corresponding to each time slot is obtained according to the sum of the product W1 sumtime (i) of the mailbox opening times and the first weight, the product W2 sumtime (i) of the mailbox opening duration and the second weight, and the product W3 summail (i) of the number of received mails and the third weight, wherein the mailbox application data statistic is a comprehensive statistic calculated by allocating different application weights according to the contribution degree of each mailbox application data to the reaction mailbox use frequency. Or, for each time period i, obtaining a statistical value result (i) = W1 (sumtime) (i)/totalSumTime) + W2 (sumdual i)/totalSumTime) + W3 (sumdual)/total mail for each time period i according to a sum of a product W1 (sumtime (i)/totalSumTime) of a ratio of the number of open times of the mailbox to the total number of open times of the mailbox to the first weight, a product W2 (sumdual (i)/totalsumdual) of a ratio of the open time length of the mail application to the total open time length of the mail application to the second weight, and a product W3 (summail (i)/totalsumdual (total mail) of a ratio of the number of received mails to the total number of received mails to the third weight. After the mailbox application data statistics of each time period are obtained, sorting the mailbox application data statistics of all the time periods, wherein the mailbox application data statistics with high sorting are used for explaining that the mailboxes in the corresponding time periods have high use frequency and the mailboxes in the corresponding time periods have low use frequency, and setting the synchronization frequency of the synchronous mailbox servers in each time period according to the sorting of the mailbox application data statistics of all the time periods, so that the synchronization frequency of the synchronous mailbox servers with high use frequency is set in the time periods with high use frequency, and the synchronization frequency of the synchronous mailbox servers with low use frequency is set in the time periods with low use frequency. The setting value of the specific synchronous frequency is distributed according to the actual application requirement or the actual application statistics.
For example, taking 24 hours divided into 12 time periods and 2 hours for each time period as an example, 12 mailbox application data statistics corresponding to the 12 time periods are sorted to form a number sequence as shown in the following table one:
table one:
sorting Mailbox application data statistics Time period i Time period Synchronous frequency
1 0.9 5 8:00-9:59 Once in 3 minutes
2 0.85 6 10:00-11:59 Once in 3 minutes
3 0.8 8 14:00-15:59 Once in 3 minutes
4 0.7 9 16:00-17:59 Once in 3 minutes
5 0.5 7 12:00-13:59 Once in 20 minutes
6 0.45 10 18:00-19:59 Once in 20 minutes
7 0.3 11 20:00-21:59 Once in 20 minutes
8 0.2 4 6:00-7:59 Once in 20 minutes
9 0.1 3 4:00-5:59 0
10 0 12 22:00-23:59 0
11 0 1 2:00-3:59 0
12 0 2 00:00-1:59 0
As can be seen from table one, the time periods when the mailbox is used by the end user are sorted according to the mailbox application data statistics, the time periods with higher use frequency are 5, 6, 8 and 9, the time periods with medium use frequency are 7, 10, 11 and 4, and the time periods with lower use frequency or even zero are 3, 12, 1 and 2.
It is possible to set a different synchronization frequency for each slot to check for new mail depending on the frequency of use, set the synchronization frequency once for a slot with a high frequency of use for 3 minutes, set the synchronization frequency once for a slot with a medium frequency of use for 20 minutes, and set the synchronization frequency 0 for a slot with a low frequency of use or even zero. The synchronous mailbox server is used for searching new mails in different time periods by adopting different synchronous frequencies, the synchronous frequency set in the time period with high use frequency is high, the mails are received timely, the synchronous frequency set in the time period with low use frequency is low, and the power consumption of the terminal is saved.
Step S13: and updating the synchronization frequency of the current synchronization mailbox server to the synchronization frequency of the synchronization mailbox server in the time period to which the current time belongs.
Still taking table one as an example, after the synchronization frequency of the synchronization mailbox server is set for each time segment, when a time segment starts, the synchronization frequency of the current synchronization mailbox server is updated to the synchronization frequency set for the time segment according to the above steps to search for a new mail. For example, the synchronization frequency for updating the synchronization mailbox server is once 3 minutes at the beginning of the time slots 5, 6, 8 and 9, once 20 minutes at the beginning of the time slots 7, 10, 11 and 4, and is zero at the time slots 3, 12, 1 and 2, that is, no new mail is searched.
Specifically, after the synchronization frequency of the synchronization mailbox server is set for each time segment, the synchronization frequency of the synchronization mailbox server in the time segment to which the current time belongs is acquired, whether the synchronization frequency of the synchronization mailbox server in the current time is the same as the synchronization frequency of the synchronization mailbox server in the time segment to which the current time belongs is judged, and if not, the synchronization frequency of the synchronization mailbox server is updated to the synchronization frequency of the synchronization mailbox server in the time segment to which the current time belongs.
Still taking 24 hours of the table I as 12 time periods, taking the current time as 14:00 as an example, obtaining that the synchronization frequency of the set synchronization mailbox server in the time period 8 to which the current time 14:00 belongs is once in 3 minutes, judging that the synchronization frequency of the current synchronization mailbox server is once in 20 minutes, updating the synchronization frequency of the synchronization mailbox server to once in 3 minutes, and realizing the technical effect of timely receiving the mail; taking the current time as 18:00 as an example, the synchronization frequency of the synchronization mailbox server set in the time period 10 to which the current time 18:00 belongs is acquired as 20 minutes once, and if the synchronization frequency of the current synchronization mailbox server is judged as 3 minutes once, the synchronization frequency of the synchronization mailbox server is updated to 20 minutes once, so that the technical effect of saving the power consumption of the terminal in the time period with low mailbox use requirement is realized. If the current time is 16:00, the synchronization frequency of the set synchronization mailbox server in the time period 9 to which the current time 16:00 belongs is acquired once in 3 minutes, and the synchronization frequency of the current synchronization mailbox server is judged to be once in 3 minutes, so that the synchronization frequency of the synchronization mailbox server does not need to be updated.
In the embodiment of the application, the synchronization frequency of the synchronous mailbox server in each time period can be set according to the mailbox application data in the previous period of the period to which the current time belongs, or can be set according to the mailbox application data in a plurality of periods before the period to which the current time belongs, and the mailbox application data in the plurality of periods can reflect the personal characteristics of the user using the mailbox more truly.
Specifically, after mailbox application data of a plurality of cycles are acquired and stored, mailbox application data of a set number of cycles are read from the acquired mailbox application data of the plurality of cycles according to the set number; setting the synchronization frequency of the synchronous mailbox server of each time segment according to the method of the step S12 for each period; setting a period weight for each period; and for each time segment, taking the sum of the product of the synchronization frequency of the time segment synchronization mailbox server in each cycle and the cycle weight of the cycle as the synchronization frequency of the time segment synchronization mailbox server.
Taking a cycle of 24 hours, which is divided into 8 time periods, reading mailbox application data of P1, P2 … … and P7 of the previous 7 cycles of the current cycle as an example, for each cycle Pi, i is more than or equal to 1 and less than or equal to 7, and the synchronization frequency of the synchronization mailbox server of each time period set according to the method of the step S12 is Fi1, Fi2, … … and Fi 8; setting cycle weights Wp1, Wp2, … …, Wp7 for each cycle; and regarding the sum of the synchronization frequency of each period j synchronization mailbox server and the period weight product of the period as per period, namely, Wp 1F 1j + Wp 2F 2j + Wp 3F 3j + Wp 4F 4j + Wp 5F 5j + Wp 6F 6j + Wp 7F 7j as the synchronization frequency of the synchronization mailbox server of the period j.
The period weights Wp1, Wp2, … …, and Wp7 may be set to the same values, or may be set according to the degree of contribution of mailbox application data in the period to the frequency of use of the reaction users, for example, according to the ascending or descending rule of the distance from the current period time.
According to the mail synchronization method provided by the application, different from the mode that the existing mail application checks a new mail by using a fixed-frequency synchronous mailbox server, the mailbox application data of each time period in a period is acquired, the synchronization frequency of the synchronous mailbox server of each time period is set based on the acquired mailbox application data, so that the synchronization frequencies of the synchronous mailbox servers of the mailboxes in different time periods are different, the synchronization frequencies are set according to the frequency characteristic that a user uses the mailbox synchronous mailbox server in each time period, and the technical effect of updating the synchronization frequency of the synchronous mailbox server according to the frequency characteristic that the terminal user uses the mailbox is achieved; the method can realize that the mailbox server is synchronized to check the new mails at a high synchronous frequency in a time period when the mailbox is used by the terminal user at a high frequency to achieve the technical effect of timely receiving the mails, and the mailbox server is synchronized to check the new mails or not to check the new mails at a low synchronous frequency in a time period when the mailbox is used by the terminal user at a low frequency to achieve the technical effect of saving the electric quantity of the terminal, thereby solving the technical problems of untimely mail receiving or excessive power consumption of the terminal existing in the conventional fixed frequency synchronous mailbox server.
Based on the mail synchronization method, the present application further provides a mail synchronization terminal, as shown in fig. 2, including a mailbox application data obtaining module 21, a synchronization frequency setting module 22, and a synchronization frequency updating module 23.
The mailbox application data acquisition module 21 is configured to acquire mailbox application data of each time period in a cycle; the period is divided into a plurality of time periods, and the period is less than or equal to 24 hours; the mailbox application data is application data generated in the process of reflecting the mailbox use by the user, and includes but is not limited to mailbox application data including mailbox opening times, mailbox opening duration and received mail number. The synchronous frequency setting module 22 is configured to set a synchronous frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data; the synchronization frequency updating module 23 is configured to determine a time period to which the current time period belongs, and update the synchronization frequency of the current synchronization mailbox server to the synchronization frequency of the synchronization mailbox server in the time period to which the current time belongs.
Specifically, the synchronization frequency setting module 22 specifically includes a mailbox application data weight setting unit 221, a statistic value calculating unit 222, a sorting unit 223, and a first synchronization frequency setting unit 224; the mailbox application data weight setting unit 221 is configured to set an application weight of each mailbox application data; the statistic calculation unit 222 is configured to obtain, for each time period, a mailbox application data statistic according to a sum of products of each mailbox application data and the application weight; the sorting unit 223 is configured to sort the mailbox application data statistics of all time periods; the first synchronization frequency setting unit 224 is configured to set the synchronization frequency of the synchronous mailbox server for each time segment according to the sorting of the mailbox application data statistics values for all time segments. The embodiment is suitable for setting the synchronization frequency of the synchronous mailbox server in each time period in one cycle, and the specific setting method may refer to step S12 of the mailbox synchronization method mentioned above.
The synchronization frequency of each time period synchronization mailbox server can be set according to mailbox application data in a previous period of a period to which the current time belongs, and in view of the fact that mailbox application data in a plurality of periods can reflect the personal characteristics of a user using a mailbox more truly, the synchronization frequency of each time period synchronization mailbox server can also be set according to mailbox application data in a plurality of periods before the period to which the current time belongs.
Specifically, as shown in fig. 3, the synchronization frequency setting module includes a mailbox application data reading unit 225, a second synchronization frequency setting unit 226, a period weight setting unit 227 and a weighted synchronization frequency calculating unit 228; the mailbox application data reading unit 225 is configured to read mailbox application data of a set number of cycles from the mailbox application data of a plurality of cycles obtained from the mailbox application data obtaining module 21; the second synchronization frequency setting unit 226 is configured to set a synchronization frequency of the synchronous mailbox server for each time period for each cycle; a period weight setting unit 226 for setting a period weight for each period; the weighted synchronization frequency calculation unit 227 is configured to, for each time segment, take the sum of the product of the synchronization frequency of the time segment synchronization mailbox server and the cycle weight of the cycle to which the time segment synchronization mailbox server belongs in each cycle as the synchronization frequency of the time segment synchronization mailbox server. While the embodiment in which the second synchronization frequency setting unit 226 sets the synchronization frequency of the synchronous mailbox server for each period may be implemented in combination with the aforementioned embodiment in which the synchronization frequency setting module 22 includes a mailbox application data weight setting unit 221, a statistic value calculating unit 222, a sorting unit 223, and a first synchronization frequency setting unit 224.
The synchronization frequency updating module 23 specifically includes a synchronization frequency obtaining unit 231, a determining unit 232, and an updating unit 233; the synchronization frequency obtaining unit 231 is configured to obtain, from the synchronization frequency setting module, a synchronization frequency of the synchronization mailbox server in the time segment to which the current time belongs; the determining unit 232 is configured to determine whether the synchronization frequency of the current synchronization mailbox server is the same as the synchronization frequency of the synchronization mailbox server in the time period to which the current time belongs; if not, the updating unit 233 updates the synchronization frequency of the synchronization mailbox server to the synchronization frequency of the synchronization mailbox server in the time period to which the current time belongs.
The specific working method of the mail synchronization terminal has been described in detail in the above mail synchronization method, and is not described herein again.
The mail synchronization method and the terminal provided by the application acquire mailbox application data generated in the mailbox application process, such as mailbox opening times, mailbox opening duration, received mail number and the like, obtain the frequency characteristic of using the mailbox by the terminal user, thereby setting different synchronous frequencies for different time periods in a cycle according to the frequency characteristics used by the user, the synchronous frequency of the terminal and the mailbox server in a certain time period is suitable for the frequency characteristic that the user uses the mailbox in the time period, the technical effect of changing the synchronous frequency of the mailbox synchronous mailbox server according to the self use characteristic of the terminal user is realized, the method adopts high synchronous frequency to search new mails to receive mails in time when the utilization rate is high, adopts low synchronous frequency to search new mails to save power consumption of the terminal when the utilization rate is low, and solves the technical problems of untimely mail receiving or excessive power consumption of the terminal of the existing fixed frequency synchronous mailbox server.
It should be noted that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art should also make changes, modifications, additions or substitutions within the spirit and scope of the present invention.

Claims (8)

1. A method for synchronizing mail, comprising:
acquiring mailbox application data of each time period in a cycle; wherein the period is divided into a plurality of time periods, and the period is less than or equal to 24 hours;
setting the synchronization frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data;
judging the time period of the current time in the plurality of time periods;
updating the synchronization frequency of the current synchronization mailbox server to the synchronization frequency of the synchronization mailbox server in the time period to which the current time belongs;
the setting of the synchronization frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data specifically comprises the following steps:
reading mailbox application data with a plurality of set periods from the acquired mailbox application data with a plurality of periods;
setting the synchronization frequency of the synchronous mailbox server in each time period aiming at each period;
setting a period weight for each period;
and for each time segment, taking the sum of the product of the synchronization frequency of the time segment synchronization mailbox server in each period and the period weight of the period as the synchronization frequency of the time segment synchronization mailbox server.
2. The mail synchronization method according to claim 1, wherein the setting of the synchronization frequency of the synchronous mailbox server for each time period is specifically:
setting the application weight of each mailbox application data;
for each time period, obtaining mailbox application data statistics according to the sum of the product of each mailbox application data and the application weight;
and setting the synchronization frequency of the synchronous mailbox server in each time period according to the sequencing of the mailbox application data statistical values of all the time periods.
3. The mail synchronization method according to claim 1, wherein the updating the synchronization frequency of the current synchronization mailbox server to the synchronization frequency of the synchronization mailbox server in the time slot to which the current time belongs specifically comprises:
acquiring the synchronization frequency of a synchronization mailbox server in the time period to which the current time belongs;
judging whether the synchronous frequency of the current synchronous mailbox server is the same as the synchronous frequency of the synchronous mailbox server in the time period to which the current time belongs; if not, the user can not select the specific application,
and updating the synchronous frequency of the synchronous mailbox server to be the synchronous frequency of the synchronous mailbox server in the time period to which the current time belongs.
4. The mail synchronization method according to claim 1, wherein the mailbox application data includes mailbox opening times, mailbox opening time length, and/or number of received mails.
5. A mail synchronization terminal is characterized by comprising a mailbox application data acquisition module, a synchronization frequency setting module and a synchronization frequency updating module;
the mailbox application data acquisition module is used for acquiring mailbox application data of each time period in a period; wherein the period is divided into a plurality of time periods, and the period is less than or equal to 24 hours;
the synchronous frequency setting module is used for setting the synchronous frequency of the synchronous mailbox server in each time period based on the acquired mailbox application data;
the synchronous frequency updating module is used for judging the time periods which belong to the plurality of time periods at present and updating the synchronous frequency of the current synchronous mailbox server into the synchronous frequency of the synchronous mailbox server of the time period which belongs to the current time;
the synchronous frequency setting module comprises a mailbox application data reading unit, a second synchronous frequency setting unit, a period weight setting unit and a weighted synchronous frequency calculating unit;
the mailbox application data reading unit is used for reading mailbox application data with a plurality of set periods from the mailbox application data with a plurality of periods acquired by the mailbox application data acquisition module;
the second synchronous frequency setting unit is used for setting the synchronous frequency of the synchronous mailbox server in each time period aiming at each period;
the cycle weight setting unit is used for setting cycle weight for each cycle;
and the weighted synchronization frequency calculation unit is used for taking the sum of the products of the synchronization frequency of the time interval synchronization mailbox server and the cycle weight of the cycle of each cycle as the synchronization frequency of the time interval synchronization mailbox server for each time interval.
6. The mail synchronization terminal according to claim 5, wherein the synchronization frequency setting module specifically comprises a mailbox application data weight setting unit, a statistic value calculating unit, a sorting unit and a first synchronization frequency setting unit;
the mailbox application data weight setting unit is used for setting the application weight of each mailbox application data;
the statistic calculation unit is used for obtaining mailbox application data statistics according to the sum of the product of each mailbox application data and the application weight aiming at each time period;
the sorting unit is used for sorting the mailbox application data statistics values in all time periods;
and the first synchronization frequency setting unit is used for setting the synchronization frequency of the synchronization mailbox server in each time period according to the sequencing of the mailbox application data statistical values in all the time periods.
7. The mail synchronization terminal according to claim 5, wherein the synchronization frequency update module specifically comprises a synchronization frequency acquisition unit, a judgment unit and an update unit;
the synchronous frequency acquisition unit is used for acquiring the synchronous frequency of the synchronous mailbox server in the time period to which the current time belongs from the synchronous frequency setting module;
the judging unit is used for judging whether the synchronous frequency of the current synchronous mailbox server is the same as the synchronous frequency of the synchronous mailbox server in the time period to which the current time belongs; if not, the user can not select the specific application,
and the updating unit is used for updating the synchronous frequency of the synchronous mailbox server to the synchronous frequency of the synchronous mailbox server in the time period to which the current time belongs.
8. The mail synchronization terminal according to claim 5, wherein the mailbox application data includes mailbox opening times, mailbox opening duration and/or number of received mails.
CN201611043317.9A 2016-11-24 2016-11-24 Mail synchronization method and terminal Active CN106453060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611043317.9A CN106453060B (en) 2016-11-24 2016-11-24 Mail synchronization method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611043317.9A CN106453060B (en) 2016-11-24 2016-11-24 Mail synchronization method and terminal

Publications (2)

Publication Number Publication Date
CN106453060A CN106453060A (en) 2017-02-22
CN106453060B true CN106453060B (en) 2020-01-03

Family

ID=58218095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611043317.9A Active CN106453060B (en) 2016-11-24 2016-11-24 Mail synchronization method and terminal

Country Status (1)

Country Link
CN (1) CN106453060B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402626A (en) * 2017-07-31 2017-11-28 广东欧珀移动通信有限公司 Using cycle synchronisation management method, device, storage medium and electronic equipment
CN110572311B (en) * 2019-08-09 2022-01-11 青岛海信移动通信技术股份有限公司 Mail downloading method and terminal
CN110942613B (en) * 2019-12-04 2021-03-30 无锡职业技术学院 Control method of electric power data transmission control platform
CN114531413B (en) * 2020-10-30 2023-10-10 华为技术有限公司 Electronic device, mail synchronization method thereof, and readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252499A (en) * 2008-03-28 2008-08-27 程凯征 Mail server dynamic state polling method for checking whether mail server has new mail arrive or not
CN101686535A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Mobile terminal and method for same to acquire new mails
CN105230105A (en) * 2013-03-20 2016-01-06 微软技术许可有限责任公司 For the dynamic interval of synchrodata

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717120B (en) * 2013-12-13 2019-03-01 阿里巴巴集团控股有限公司 The method and apparatus for determining the access time

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252499A (en) * 2008-03-28 2008-08-27 程凯征 Mail server dynamic state polling method for checking whether mail server has new mail arrive or not
CN101686535A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Mobile terminal and method for same to acquire new mails
CN105230105A (en) * 2013-03-20 2016-01-06 微软技术许可有限责任公司 For the dynamic interval of synchrodata

Also Published As

Publication number Publication date
CN106453060A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106453060B (en) Mail synchronization method and terminal
Chlamtac et al. Energy-conserving access protocols for identification networks
CN103235815A (en) Display method and display device for application software
CN102681999A (en) Method and device for collecting and sending user action information
Cui et al. Performance evaluation of a multi-branch tree algorithm in RFID
CN103067297A (en) Dynamic load balancing method and device based on resource consumption prediction
MXPA06000344A (en) Method and system for managing radio resources in a time-slotted communication system.
CN1650646A (en) Method and system for optimizing power resources in wireless devices
CN105636056A (en) Spectrum resource self-optimization energy-saving method, apparatus and system
CN105049298A (en) Method and system for monitoring cloud resource
CN104333501A (en) Display method and device of contact list
CN113536104A (en) Information recommendation method, device, equipment and storage medium
CN109548161A (en) A kind of method, apparatus and terminal device of wireless resource scheduling
CN108848546A (en) Method of reseptance, user equipment and the communication system of cell system message
CN105338208A (en) United call-ticket charging method and system
CN103607731A (en) Method and device for processing measurement reports
CN109688217A (en) A kind of information push method, device and electronic equipment
Chen et al. Online time interval top-k queries in wireless sensor networks
CN109889349A (en) A kind of APP broadcast message method for pushing, device and readable storage medium storing program for executing
CN103188723A (en) Measurement scheduling method and device of multimode one-standby user equipment
CN101976390A (en) Energy managing method, energy managing system and energy dispatching and managing center
CN107920164B (en) Application sequencing method and system and server
Gong et al. Maximizing rewards in wireless networks with energy and timing constraints for periodic data streams
CN104767773B (en) A kind of information intelligent synchronous method and device
CN110781878B (en) Target area determination method and device, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.