CN104767773B - A kind of information intelligent synchronous method and device - Google Patents
A kind of information intelligent synchronous method and device Download PDFInfo
- Publication number
- CN104767773B CN104767773B CN201410004098.8A CN201410004098A CN104767773B CN 104767773 B CN104767773 B CN 104767773B CN 201410004098 A CN201410004098 A CN 201410004098A CN 104767773 B CN104767773 B CN 104767773B
- Authority
- CN
- China
- Prior art keywords
- information
- synchronous
- time
- imformosome
- network
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication 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)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses a kind of information intelligent synchronous method, setting information synchronizes the standard parameter value and contribution factor in each stage;Obtain the synchronous actual parameter value of primary information;Synchronizing information time interval next time is determined according to the standard parameter value, actual parameter value and contribution factor;The present invention also discloses a kind of devices for realizing that information intelligent is synchronous.
Description
Technical field
The present invention relates to synchronizing information technology in wireless terminal communications more particularly to a kind of information intelligent synchronous method and dress
It sets.
Background technique
Information communication customer end, E-mail address, browser and File Transfer Protocol (FTP, File Transfer
Protocol the characteristics of) client etc. can be known as information communication customer end, information communication customer end, is: when server-side has letter
When breath, client needs to obtain these information, consumes these information, and so-called these information of consumption include: display information, based on letter
Breath carries out various processing operations etc.;The typical case of information communication customer end has E-mail address, instant communication client (IM), money
Interrogate client (news, weather) etc..
With the development of mobile radio terminal, especially with the development of intelligent handheld device, such as smart phone peace
The development of plate computer, various information communication customer ends are also in rapid proliferation to various mobile terminals, and the routine work of people,
Play important role in life, such as: E-mail address can be convenient people in daily life and office whenever and wherever possible
Receiving and dispatching mail, the various affairs of processing;News client can be convenient user and understand domestic and international major issue minor matter in time, obtain fresh money
News.
Fig. 1 is the information communication service canonical system figure of mobile terminal, wherein various mobile terminals such as mobile phone, plate electricity
Information communication customer end on brain is communicated by Radio Link with multiple information servers at information service end, and label 010 is shown
The information trend of information client and information server terminal collected and send in information process;Label 020 shows information
Information trend between server in information exchanging process, main information transmitting are the either cross-domain information of server cluster
Forwarding, such as the email relaying between mailbox server.
In information communication customer end on mobile terminals, there are two types of the mode of synchronizing information is general: one is server-sides
(Push) mode of push, one is clients to pull (Poll) mode;Support the information of this method of synchronization of server-side push
System is known as PushMail or PushMessage;Such as the PushMail Mail Clients of BlackBerry;The client side of pulling
The process of formula is that at regular intervals, client has asked whether new information to server-side;When Mail Clients is arranged in terminal
Between be spaced generally and have 5 minutes, 10 minutes, 15 minutes, 20 minutes, 30 minutes, 1 hour etc..
But the method for synchronization that above- mentioned information pull has a disadvantage that collection information can be very when Network status is bad
Time-consuming, in addition during network data transmission, mobile terminal can not thorough suspend mode, therefore, frequent synchronizing information will cause greatly
The electric quantity consumption of amount.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of information intelligent synchronous method and device, it can be according to network
Situation intelligently adjusts the synchronizing information time, time and energy consumption when reducing synchronizing information.
The technical scheme of the present invention is realized as follows:
The embodiment of the invention provides a kind of information intelligent synchronous method, setting information synchronizes the standard parameter value in each stage
And contribution factor;The method also includes:
Obtain the synchronous actual parameter value of primary information, and according to the standard parameter value, actual parameter value and contribution because
Son determines synchronizing information time interval next time.
In the above scheme, the setting information synchronizes the standard parameter value and contribution factor in each stage, comprising:
Network link establishment stage, information list synchronous phase and imformosome synchronous phase standard parameter value and each are set
The contribution factor in stage;The standard parameter value includes: that network link establishes standard elapsed time STNetwork is established, information list it is synchronous
Standard elapsed time STList synchronization, imformosome synchronization criterion speed SVImformosome is synchronous, standard synchronisation interval time ST and it is maximum synchronous between
Every time MST;The contribution factor is respectively as follows: network link consumption contribution factor S1, the synchronous contribution factor S of information list2, letter
Cease the synchronous contribution factor S of body3, wherein S1+S2+S3=1。
In the above scheme, the synchronous actual parameter value of the primary information of the acquisition includes: that network link establishes reality
Elapsed time TNetwork is established, the synchronous actual consumption time T of information listList synchronization, need synchronous information number m, every information
Size: size1、size2……sizem, synchronizing information body actual consumption time TImformosome is synchronous。
In the above scheme, described to be determined next time according to the standard parameter value, actual parameter value and contribution factor
Synchronizing information time interval, comprising:
Determine the synchronous actual speed V of imformosomeImformosome is synchronous:
VImformosome is synchronous=(size1+size2+…+sizem)/TImformosome is synchronous;
Determine delay factor DF:
DF=((TNetwork is established-STNetwork is established)/STNetwork is established) × S1+ ((TList synchronization-STList synchronization)/STList synchronization) × S2+ ((SVImformosome is synchronous-
VImformosome is synchronous)/SVImformosome is synchronous) × S3;
Determine synchronizing information time interval T next time2, T2=T1+ ST × DF, wherein T2For synchronization of time intenals next time,
T1For current sync with it is last it is synchronous between time interval.
Wherein, work as T2When < ST, T is taken2Equal to ST;Work as T2When > MST, T is taken2Equal to MST.
In the above scheme, the method also includes:
Expansion factor EF is set;According to the value of the determining EF of the number of the positive and negative situation of DF value and terminal residual electricity;
The value of delay factor DF is adjusted by expansion factor EF are as follows: DF=DF × EF;
The value of delay factor MST is adjusted by expansion factor EF are as follows: MST=MST × EF.
In the above scheme, the method also includes:
It determines the total electricity PT of information downloading consumption, the information downloading sum n of history of history and needs to download when secondary
Information number m;
Power threshold NP is set and the percentage P of electricity can be consumed;
Determine electricity the average value APT, APT=PT/n of the consumption of a synchronizing information;
Determine electricity CPT, CPT=APT × m when time synchronizing information needs to consume;
When CPT is greater than NP × P, stop when time synchronizing information, and terminate subsequent synchronizing information;
When CPT is less than NP × P, synchronizing information is carried out.
The embodiment of the invention provides a kind of information intelligent synchronous method, which comprises
It determines the total electricity PT of information downloading consumption, the information downloading sum n of history of history and needs to download when secondary
Information number m;
Power threshold NP is set and the percentage P of electricity can be consumed;
Determine electricity the average value APT, APT=PT/n of the consumption of a synchronizing information;
Determine electricity CPT, CPT=APT × m when time synchronizing information needs to consume;
When CPT is greater than NP × P, stop when time synchronizing information, and terminate subsequent synchronizing information;
When CPT is less than NP × P, synchronizing information is carried out.
The embodiment of the invention provides a kind of information intelligent synchronizing device, described device includes: the setting of the first standard parameter
Module, the first actual parameter obtain module and time interval determining module;Wherein,
The first standard parameter setup module, for setting information synchronize each stage standard parameter value and contribution because
Son;
First actual parameter obtains module, for obtaining the synchronous actual parameter value of primary information;
The time interval determining module, for true according to the standard parameter value, actual parameter value and contribution factor
Fix a synchronization of time intenals.
In above-mentioned apparatus, the first standard parameter setup module setting information synchronize each stage standard parameter value and
Contribution factor, comprising:
Network link establishment stage, information list synchronous phase and imformosome synchronous phase standard parameter value and each are set
The contribution factor in stage;
The standard parameter value includes: that network link establishes standard elapsed time STNetwork is established, information list synchronization criterion disappears
Time-consuming STList synchronization, imformosome synchronization criterion speed SVImformosome is synchronous, standard synchronisation interval time ST and maximum sync interval time
MST;
The contribution factor is respectively as follows: network link consumption contribution factor S1, the synchronous contribution factor S of information list2, information
Body synchronizes contribution factor S3, wherein S1+S2+S3=1。
In above-mentioned apparatus, first actual parameter obtains the actual parameter value that the primary information that module obtains synchronizes,
Include:
Network link establishes actual consumption time TNetwork is established, the synchronous actual consumption time T of information listList synchronization, need to synchronize
Information number m, every information size: size1、size2……sizem, the synchronizing information body actual consumption time
TImformosome is synchronous。
In above-mentioned apparatus, the time interval determining module is according to the standard parameter value, actual parameter value and tribute
It offers the factor and determines synchronization of time intenals next time, comprising:
Determine the synchronous actual speed V of imformosomeImformosome is synchronousAre as follows:
VImformosome is synchronous=(size1+size2+…+sizem)/TImformosome is synchronous;
Determine delay factor DF:
DF=((TNetwork is established-STNetwork is established)/STNetwork is established) × S1+ ((TList synchronization-STList synchronization)/STList synchronization) × S2+ ((SVImformosome is synchronous-
VImformosome is synchronous)/SVImformosome is synchronous) × S3;
Determine synchronizing information time interval T next time2, T2=T1+ ST × DF, wherein T2For synchronization of time intenals next time,
T1For current sync with it is last it is synchronous between time interval;
Wherein, work as T2When < ST, T is taken2Equal to ST;Work as T2When > MST, T is taken2Equal to MST.
In above-mentioned apparatus, the first standard parameter setup module is also used to according to the positive and negative of delay factor DF value
How much determinations of situation and terminal residual electricity expand the value of EF;
The time interval determining module is also used to adjust the value of delay factor DF by the expansion factor EF of setting
Are as follows: DF=DF × EF, and adjusted the value of delay factor MST by expansion factor EF are as follows: MST=MST × EF.
In above-mentioned apparatus, described device further comprises the synchronous determination module of the first information, wherein
The first standard parameter setup module is also used to be arranged power threshold NP and can consume the percentage P of electricity;
First actual parameter obtains module, is also used to determine total electricity PT, the history of the information downloading consumption of history
Information downloading sum n and when time needing the information number m that downloads;
The synchronous determination module of the first information, for determine electricity the average value APT, APT of the consumption of a synchronizing information=
PT/n;Determine electricity CPT, CPT=APT × m when time synchronizing information needs to consume;When CPT is greater than NP × P, stop when time letter
Breath synchronizes, and terminates subsequent synchronizing information;When CPT is less than NP × P, synchronizing information is carried out.
The present invention provides a kind of information intelligent synchronizing device, described device includes: the second standard parameter setup module,
Two actual parameters obtain module and the second synchronizing information determination module, wherein the second standard parameter setup module, for setting
It sets power threshold NP and the percentage P of electricity can be consumed;Second actual parameter obtains module, for determining the information of history
It downloads the total electricity PT of consumption, the information downloading sum n of history and works as the information number m that time needs are downloaded;Second letter
Synchronous determination module is ceased, for determining electricity the average value APT, APT=PT/n of the consumption of a synchronizing information;It determines when time information
Synchronous electricity CPT, CPT=APT × m for needing to consume;When CPT is greater than NP × P, stop when time synchronizing information, and terminate subsequent
Synchronizing information;When CPT is less than NP × P, synchronizing information is carried out.
Information intelligent synchronous method provided by the embodiment of the present invention, setting information synchronize each stage standard parameter value and
Contribution factor;The synchronous actual parameter value of primary information is obtained, and according to the standard parameter value, actual parameter value and contribution
The factor determines the time interval of synchronizing information next time;So, it is possible according to Network status to the time interval of synchronizing information into
Row adjustment, while guaranteeing that user's normal information is collected, moreover it is possible to when avoiding Network status difference, caused by collection information overlong time
The excessive problem of user terminal power consumption, reduce synchronizing information when time and energy consumption.
Detailed description of the invention
Fig. 1 is the canonical system figure of the information communication service of mobile terminal;
Fig. 2 is the information intelligent synchronous method flow chart that at least one embodiment of the invention provides;
Fig. 3 is a kind of basic block diagram for information intelligent synchronizing device that at least one embodiment of the invention provides;
Fig. 4 is the basic block diagram for another information intelligent synchronizing device that at least one embodiment of the invention provides.
Specific embodiment
In the embodiment of the present invention, setting information synchronizes the standard parameter value and contribution factor in each stage;Obtain primary information
Synchronous actual parameter value, and synchronizing information next time is determined according to the standard parameter value, actual parameter value and contribution factor
Time interval.
Below by drawings and the specific embodiments, the present invention is described in further detail.
Embodiment one
The embodiment of the present invention one provides a kind of information intelligent synchronous method, as shown in Fig. 2, this method includes following step
It is rapid:
Step 201: setting information synchronizes the standard parameter value and contribution factor in each stage;
In general, synchronizing information is broadly divided into three phases, comprising: network link establishment stage, synchronizing information stage, network
The link-down stage;Wherein, the synchronizing information stage can generally be subdivided into multiple sub-stages, be than more typical sub-stage: information
List synchronization stage and imformosome synchronous phase, usually with information list synchronous phase come judge to need to synchronize which information, letter
Number and information size etc. are ceased, and imformosome synchronous phase is exactly the stage for downloading each information;
Therefore, typically, synchronizing information can be divided into four-stage, be respectively: network link establishment stage, information column
Table synchronous phase, imformosome synchronous phase and network link closed stage;
In typical four stage of synchronizing information, more time consuming is preceding three phases, and four-stage does not have substantially
Having time consumption, therefore, the embodiment of the present invention is studied just for preceding three phases.
Specifically, in this step, needing that one group of standard parameter value, the standard parameter value packet is arranged for each stage
Include: network link establishes standard elapsed time STNetwork is established, information list synchronization criterion elapsed time STList synchronization, the synchronous mark of imformosome
Quasi velosity SVImformosome is synchronous;In addition, it is necessary to the standard parameter value of setting further include: standard synchronisation interval time ST and the base in ST
The maximum sync interval time MST being adjustable on plinth;It should be noted that these standard parameter values can be according to practical need
It is selected, and is adjusted according to the actual state of network;
Due to the synchronous three phases of above- mentioned information, that is, network link establishment stage, information list synchronous phase and letter
Cease in body synchronous phase, each stage be for the consumption of time it is different, therefore, it is necessary to different for the setting of each stage
Contribution factor, here be arranged three contribution factors, be respectively as follows: network link consumption contribution factor S1, the synchronous tribute of information list
Offer factor S2, the synchronous contribution factor S of imformosome3, and S1+S2+S3=1;In general, the time of synchronizing information discrete consuming is greater than net
Time consumed by network link establishment phase or information list synchronous phase, therefore, usual S3Greater than S2Or S1, can be according to net
The type of the actual state of network and client application adjusts S1、S2And S3Value, that is to say, that for different nets
Network situation and different client applications, such as Mail Clients, news client etc., can be set different S1、S2And
S3Value;
Step 202: obtaining the synchronous actual parameter value of primary information, and according to the standard parameter value, actual parameter value
And contribution factor determines synchronizing information time interval next time;
Here, the actual parameter for needing to obtain in primary information synchronizing process includes: that network link establishes actual consumption
Time TNetwork is established, the synchronous actual consumption time T of information listList synchronization, need the size of synchronous information number m, every information:
size1、size2……sizem, synchronizing information body actual consumption time TImformosome is synchronous;Wherein, the synchronous reality of the primary information
The acquisition methods of parameter value belong to the prior art, and which is not described herein again.
Specifically, when determining synchronizing information next time according to the standard parameter value, actual parameter value and contribution factor
Between be spaced, comprising:
The synchronous actual speed V of imformosome is determined according to the actual parameter value of above-mentioned acquisitionImformosome is synchronousAre as follows:
VImformosome is synchronous=(size1+size2+…+sizem)/TImformosome is synchronous
Delay factor DF is determined according to the following formula:
DF=((TNetwork is established-STNetwork is established)/STNetwork is established) × S1+ ((TList synchronization-STList synchronization)/STList synchronization) × S2+ ((SVImformosome is synchronous-
VImformosome is synchronous)/SVImformosome is synchronous) × S3;
Assuming that when it is subsynchronous be T with last synchronous actual synchronization time interval1, synchronizing information time interval next time
For T2, it is determined that synchronizing information time interval T next time2, T2=T1+ST×DF;
Particularly, work as T2When < ST, T is taken2Equal to ST;Work as T2When > MST, T is taken2Equal to MST;With this, will can believe next time
Synchronization of time intenals control is ceased within the acceptable time range of user.
It can be seen that from the calculation formula of above-mentioned delay factor DF when Network status is good, delay factor is negative value, this
When, the time interval of synchronizing information next time determined will shorten;When Network status is poor, delay factor is just positive value,
At this point, the synchronizing information time interval determined will increase;It joined current sync interval time further as radix reference
Amount, therefore the sync interval time is smooth increase or smoothly reduces;When Network status is deteriorated always, sync interval is just
It can increase always, until maximum adjustable interval time.
In this way, the information intelligent synchronous method provided through the invention, it can be real according to the synchronizing information obtained each time
Border parameter value carrys out adjustment synchronizing information time interval next time, and when Network status is good, synchronizing information time interval subtracts
It is short;When Network status is poor, synchronizing information time interval increases accordingly, thus reduce on the whole end message it is synchronous when
Between, when avoiding frequently executing synchronizing information in the case where Network status is poor, caused synchronizing information overlong time, so that moving
The larger problem of dynamic terminal power consumption amount.
It is determined next time after synchronizing information time interval through the above scheme, it is subsynchronous and close lattice chain to terminate this
Road;T2Start another synchronizing information after time.
Example one
Below by taking mail synchronization in Mail Clients as an example, to a kind of information intelligent side of synchronization provided in an embodiment of the present invention
The specific implementation process of method is introduced;
For the mail synchronization of Mail Clients, that standard parameter value is respectively set is as follows:
Network link establishes standard elapsed time STNetwork is establishedFor 10 seconds, e-mail messages list synchronization standard elapsed time
STList synchronizationThe network standard speed SV synchronized for 20 seconds, mail bodyImformosome is synchronousFor 10k/ seconds, the sync interval time ST of user setting
For 5 minutes (300 seconds), the largest interval time MST that is adjustable to be 20 minutes (1200 seconds);Three contribution factor S1It is 0.1,
S2It is 0.1, S3It is 0.8;
Network link establishes actual consumption time TNetwork is establishedFor 15 seconds, mailing list synchronization criterion elapsed time TList synchronizationIt is 25
Second;One 1 envelope mail of subsynchronous middle downloading, size 20k, elapsed time TImformosome is synchronousIt is 4 seconds, current sync interval time is standard
5 minutes;
Then, the sync interval time next time calculates as follows:
Download the network actual speed of mail body are as follows: VImformosome is synchronous=20/4=5k/ seconds;
Delay factor are as follows: DF=((TNetwork is established-STNetwork is established)/STNetwork is established) × S1+ ((TList synchronization-STList synchronization)/STList synchronization) × S2+
((SVImformosome is synchronous-VImformosome is synchronous)/SVImformosome is synchronous) × S3=((15-10)/10) × 0.1+((25-20)/20) × 0.1+((10-5)/
10) × 0.8=0.475;
Then next mail interval time T2=T1+ ST × DF=300+300 × 0.475=442.5 second;
It ensure that the time interval of user's synchronizing information within tolerance interval by the maximum adjustable time;With mail
For client, it is proposed that maximum can adjust the time are as follows: when 5 minutes sync interval time was relative to 20 minutes adjustable maximum
Between;10 minutes relative to 25 minutes;15 minutes relative to 30 minutes;20 minutes relative to 40 minutes;30 minutes relative to 50 points
Clock;1 hour was relative to 1 and a half hours.
Embodiment two
Information intelligent synchronous method provided by Embodiment 2 of the present invention, on the basis of one providing method of embodiment, root
The value of delay factor DF is adjusted according to the difference of terminal power, to be added on the basis of considering network actual state
More intelligent adjustment information synchronization of time intenals is come to considering for terminal power.
Specifically, to the method for adjustment of delay factor DF are as follows: an expansion factor EF is arranged first, is adjusted and is postponed by EF
The value of factor D F;Delay factor DF is assigned a value of DF × EF again, that is, DF=DF × EF, wherein EF >=1;The maximum being adjustable to
Interval time MST is also adjusted according to the value of expansion factor, specifically: MST is adjusted to MST × EF;
Here, the value of expansion factor is according to the positive and negative and how much electricity (remaining capacity and total of delay factor DF value
The percentage of electricity) it determines;
In practical application, the correspondence table of an electricity, delay factor DF value and expansion factor EF can be established in advance;?
Electricity it is few when should increase time interval as far as possible, therefore when DF is negative and when being positive, expansion factor is
Different, it is guided as far as possible to the direction for expanding synchronization time.
Next, with DF and MST in above-mentioned DF adjusted and MST difference alternative embodiment one, according to new DF and
MST determines synchronizing information time interval next time using method identical in embodiment one;
The correspondence table of one illustrative electricity and expansion factor EF are as shown in table 1 below:
Electricity | 100%-50% | 50%-40% | 40%-30% | 30%-20% | 20%-0% |
DF is negative | 1 | 1.1 | 1.2 | 1.1 | 1 |
DF is positive | 1 | 1.2 | 1.6 | 2.0 | 3.0 |
Table 1
Example two
Still it by taking the identical parameters of Mail Clients mail synchronization in example one as an example, is added and considering for electricity is calculated
Synchronizing information time interval next time;Assuming that terminal power is positive in 40%~30%, DF in example one, expansion factor is at this time
1.6, then, by next time determined by the method in embodiment two, the sync interval time is are as follows: T2=T1+ST×DF×EF=300+
300 × (0.475 × 1.6)=528 second.
Embodiment three
It is excessive if necessary to synchronous information when terminal carries out synchronizing information in the case where electricity is low, it can consume more
Electricity, in this case, it is likely that cause terminal power too low or exhaust;Therefore, the embodiment of the present invention three provides one kind
Information intelligent synchronous method optimizes embodiment one or two scheme of embodiment, it is ensured that user terminal will not be believed because synchronous
Breath is excessive and low battery or exhausts.
The information intelligent synchronous method that embodiment three provides, details are as follows:
Firstly, the electricity wastage in bulk or weight PT, the information number downloaded in total when the information downloading of statistical history are n, then, calculate
The average value APT of a consumed electricity of information is downloaded out are as follows: APT=PT/n;
It is determined according to the synchronous information number m of the needs being had determined in embodiment one, two when this synchronizing information needs
Electricity CPT, CPT=APT × m of consumption;
The threshold value NP of one electricity is set, and the percentage P(P value 0%-100% that can consume electricity is set), it is practical
Middle user can according to their needs be configured the value of P;
Stop when the estimated electric quantity consumption CPT of secondary synchronizing information is greater than NP × P when time synchronizing information, and terminates subsequent
Synchronizing information;When the estimated electric quantity consumption CPT of secondary synchronizing information is less than NP × P, synchronizing information is normally carried out;
It should be appreciated by those skilled in the art that scheme described in the embodiment of the present invention three can be with embodiment one, two scheme knots
It closes and uses, also can be used alone;In the case where exclusive use, only it is greater than as the estimated electric quantity consumption CPT of time synchronizing information
Termination message is synchronous when NP × P, is executed in the case of remaining by default situations.
Example IV
In order to realize the above method, the embodiment of the present invention four provides a kind of information intelligent synchronizing device, as shown in figure 3,
For the basic composition schematic diagram of the device, which includes: the first standard parameter setup module 31, the first actual parameter acquisition mould
Block 32 and time interval determining module 33;Wherein,
The first standard parameter setup module 31, for setting information synchronize each stage standard parameter value and contribution because
Son;
First actual parameter obtains module 32, for obtaining the synchronous actual parameter value of primary information;
The time interval determining module 33, for according to the standard parameter value, actual parameter value and contribution factor
Determine synchronization of time intenals next time.
Specifically, 31 setting information of the first standard parameter setup module synchronizes triphasic standard parameter value and each rank
The contribution factor of section, comprising: setting network link establishment stage, information list synchronous phase and imformosome synchronous phase standard
Parameter value and the contribution factor in each stage;The standard parameter value includes: that network link establishes standard elapsed time STNetwork is established, letter
Cease list synchronization standard elapsed time STList synchronization, imformosome synchronization criterion speed SVImformosome is synchronous, standard synchronisation interval time ST and
Maximum sync interval time MST;Each stage contribution factor is respectively as follows: network link consumption contribution factor S1, information list
Synchronous contribution factor S2, the synchronous contribution factor S of imformosome3, wherein S1+S2+S3=1。
Specifically, first actual parameter obtain module 32 need the primary information obtained synchronize in actual parameter value
It include: that network link establishes actual consumption time TNetwork is established, the synchronous actual consumption time T of information listList synchronization, need synchronous letter
Cease the size of number m, every information: size1、size2……sizem, synchronizing information body actual consumption time TImformosome is synchronous。
Correspondingly, the time interval determining module 33 according to the standard parameter value, actual parameter value and contribution because
Son determines synchronization of time intenals next time, comprising:
Determine the synchronous actual speed V of imformosomeImformosome is synchronousAre as follows:
VImformosome is synchronous=(size1+size2+…+sizem)/TImformosome is synchronous;
Determine delay factor DF:
DF=((TNetwork is established-STNetwork is established)/STNetwork is established) × S1+((TList synchronization-STList synchronization)/STList synchronization) × S2+ ((SVImformosome is synchronous-
VImformosome is synchronous)/SVImformosome is synchronous) × S3;
Determine synchronizing information time interval T next time2, T2=T1+ ST × DF, wherein T2For synchronization of time intenals next time,
T1For current sync with it is last it is synchronous between time interval;
Particularly, work as T2When < ST, T is taken2Equal to ST;Work as T2When > MST, T is taken2Equal to MST.
In information intelligent synchronizing device described in the embodiment of the present invention four, the first standard parameter setup module 31, also
For expanding the value of EF according to the positive and negative situation of delay factor DF value and how much determinations of terminal residual electricity;
Correspondingly, time interval determining module 33, is also used to adjust the value of delay factor DF by expansion factor EF
Are as follows: DF=DF × EF;And the value of delay factor MST is adjusted by expansion factor EF are as follows: MST=MST × EF.
In information intelligent synchronizing device described in the embodiment of the present invention four, the first standard parameter setup module 31, also
Percentage P for power threshold NP being arranged He can consume electricity;First actual parameter obtains module 32, is also used to determine
The total electricity PT of information downloading consumption of history, the information of history download sum n and work as the information number m that time needs are downloaded;
The device further comprises: the synchronous determination module 34 of the first information, and the synchronous determination module 34 of the first information is used
In the electricity average value APT, APT=PT/n that determine the consumption of a synchronizing information;Determine the electricity when time synchronizing information needs to consume
CPT, CPT=APT × m;When CPT is greater than NP × P, stop when time synchronizing information, and terminate subsequent synchronizing information;When CPT is small
When NP × P, synchronizing information is carried out;
In practical applications, the first standard parameter setup module 31, the first actual parameter described in the embodiment of the present invention four
Acquisition module 32, the determination module 34 synchronous with first of time interval determining module 33 can be by central processing units (CPU), microprocessor
(MPU), digital signal processor (DSP) or field programmable gate array (FPGA) are realized;One described in the embodiment of the present invention four
Kind information intelligent synchronizing device can be located on various mobile middle-ends.
Embodiment five
The embodiment of the present invention five additionally provides a kind of information intelligent synchronizing device, as shown in figure 4, described device includes:
Two standard parameter setup modules, the second actual parameter obtain module and the second synchronizing information determination module, wherein
The second standard parameter setup module 41, the percentage P for power threshold NP being arranged He can consume electricity;
Second actual parameter obtains module 42, for determining that the information of history downloads the total electricity PT of consumption, history
Information downloading sum n and when time needing the information number m that downloads;
The second synchronizing information determination module 43, for determining the electricity average value APT of synchronizing information consumption,
APT=PT/n;Determine electricity CPT, CPT=APT × m when time synchronizing information needs to consume;When CPT is greater than NP × P, stop working as
Secondary synchronizing information, and terminate subsequent synchronizing information;When CPT is less than NP × P, synchronizing information is carried out;
In practical applications, the second standard parameter setup module 41, the second actual parameter described in the embodiment of the present invention five
Obtaining module 42 and the second synchronizing information determination module 43 can be realized by CPU, MPU, DSP or FPGA;The embodiment of the present invention five
A kind of information intelligent synchronizing device can be located on various mobile middle-ends.
Embodiment six
The embodiment of the present invention six provides a kind of mobile terminal, including the synchronous dress of information intelligent described in above-described embodiment four
It sets.
Embodiment seven
The embodiment of the present invention seven provides a kind of mobile terminal, including the synchronous dress of information intelligent described in above-described embodiment five
It sets.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (14)
1. a kind of information intelligent synchronous method, which is characterized in that the described method includes:
Being arranged for synchronizing information includes that network link establishes standard elapsed time STNetwork is established, information list synchronization criterion consumption
Time STList synchronizationWith imformosome synchronization criterion speed SVImformosome is synchronousStandard parameter value and including network link consume contribution factor
S1, the synchronous contribution factor S of information list2Contribution factor S synchronous with imformosome3Contribution factor;
What acquisition current information synchronized includes that network link establishes actual consumption time TNetwork is established, the synchronous actual consumption of information list
Time TList synchronizationWith synchronizing information body actual consumption time TImformosome is synchronousActual parameter value;
According to including STNetwork is established、STList synchronizationAnd SVImformosome is synchronousStandard parameter value including TNetwork is established、TList synchronizationAnd TImformosome is synchronousReality
Parameter value including S1、S2And S3Contribution factor, determine characterization network actual state superiority and inferiority delay factor;
According to the delay factor of the characterization network actual state superiority and inferiority, synchronizing information time interval next time is adjusted, specifically,
When delay factor characterization Network status is good, synchronizing information time interval next time is shortened, when the delay factor table
When sign Network status is poor, increase synchronizing information time interval next time.
2. the method according to claim 1, wherein
The setting includes ST for synchronizing informationNetwork is established、STList synchronizationAnd SVImformosome is synchronousStandard parameter value while, setting use
Standard synchronisation interval time ST and maximum sync interval time MST in synchronizing information;
The contribution factor for synchronizing information meets S1+S2+S3=1.
3. according to the method described in claim 2, it is characterized in that, the actual parameter value that the current information obtained synchronizes also wraps
It includes: needing the size of synchronous information number m, every information: size1、size2……sizem。
4. according to the method described in claim 3, it is characterized in that, the basis includes STNetwork is established、STList synchronizationAnd SVImformosome is synchronous's
Standard parameter value including TNetwork is established、TList synchronizationAnd TImformosome is synchronousActual parameter value and including S1、S2And S3Contribution factor determine
The delay factor for characterizing network actual state superiority and inferiority, according to the delay factor of the characterization network actual state superiority and inferiority, under adjustment
Primary information synchronization of time intenals, comprising:
Determine the synchronous actual speed V of imformosomeImformosome is synchronous:
VImformosome is synchronous=(size1+size2+…+sizem)/TImformosome is synchronous;
Determine delay factor DF:
DF=((TNetwork is established-STNetwork is established)/STNetwork is established)×S1+((TList synchronization-STList synchronization)/STList synchronization)×S2+((SVImformosome is synchronous-
VImformosome is synchronous)/SVImformosome is synchronous)×S3;
Determine synchronizing information time interval T next time2, T2=T1+ ST × DF, wherein T2For synchronization of time intenals next time, T1For
Time interval between current sync is synchronous with the last time;
Wherein, work as T2When < ST, T is taken2Equal to ST;Work as T2When > MST, T is taken2Equal to MST.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Expansion factor EF is set;According to the value of the determining EF of the number of the positive and negative situation of DF value and terminal residual electricity;
The value of delay factor DF is adjusted by expansion factor EF are as follows: DF=DF × EF;
The value of delay factor MST is adjusted by expansion factor EF are as follows: MST=MST × EF.
6. method according to claim 4 or 5, which is characterized in that the method also includes:
It determines the total electricity PT of information downloading consumption, the information downloading sum n of history of history and works as the letter that time needs are downloaded
Cease number m;
Power threshold NP is set and the percentage P of electricity can be consumed;
Determine electricity the average value APT, APT=PT/n of the consumption of a synchronizing information;
Determine the electricity CPT, CPT=APT × m when time synchronizing information needs to consume;
When CPT is greater than NP × P, stop when time synchronizing information, and terminate subsequent synchronizing information;
When CPT is less than NP × P, synchronizing information is carried out.
7. a kind of information intelligent synchronous method, which is characterized in that the described method includes:
It determines the total electricity PT of information downloading consumption, the information downloading sum n of history of history and works as the letter that time needs are downloaded
Cease number m;
Power threshold NP is set and the percentage P of electricity can be consumed;
Determine electricity the average value APT, APT=PT/n of the consumption of a synchronizing information;
Determine the electricity CPT, CPT=APT × m when time synchronizing information needs to consume;
When CPT is greater than NP × P, stop when time synchronizing information, and terminate subsequent synchronizing information;
When CPT is less than NP × P, synchronizing information is carried out according to method as claimed in any one of claims 1 to 6.
8. a kind of information intelligent synchronizing device, which is characterized in that described device includes: the first standard parameter setup module, first
Actual parameter obtains module and time interval determining module;Wherein,
The first standard parameter setup module is used for when establishing standard consumption including network link of synchronizing information for being arranged
Between STNetwork is established, information list synchronization criterion elapsed time STList synchronizationWith imformosome synchronization criterion speed SVImformosome is synchronousStandard parameter
It is worth and consumes contribution factor S including network link1, the synchronous contribution factor S of information list2Contribution factor S synchronous with imformosome3's
Contribution factor;
First actual parameter obtains module, for obtaining when establishing actual consumption including network link of current information synchronization
Between TNetwork is established, the synchronous actual consumption time T of information listList synchronizationWith synchronizing information body actual consumption time TImformosome is synchronousActual parameter
Value;
The time interval determining module, for according to including STNetwork is established、STList synchronizationAnd SVImformosome is synchronousStandard parameter value including
TNetwork is established、TList synchronizationAnd TImformosome is synchronousActual parameter value and including S1、S2And S3Contribution factor, determine characterization the practical shape of network
The delay factor of condition superiority and inferiority, according to the delay factor of the characterization network actual state superiority and inferiority, between adjusting synchronization time next time
Every specifically, synchronizing information time interval next time is shortened, when described when delay factor characterization Network status is good
When delay factor characterization Network status is poor, increase synchronizing information time interval next time.
9. device according to claim 8, which is characterized in that the first standard parameter setup module setting is used for information
That synchronous includes STNetwork is established、STList synchronizationAnd SVImformosome is synchronousStandard parameter value while, setting be used for synchronizing information standard synchronisation
Interval time ST and maximum sync interval time MST;
The contribution factor for synchronizing information meets S1+S2+S3=1.
10. device according to claim 9, which is characterized in that first actual parameter obtains the current of module acquisition
The actual parameter value of synchronizing information further include: need the size of synchronous information number m, every information: size1、
size2……sizem。
11. device according to claim 10, which is characterized in that the time interval determining module is according to including
STNetwork is established、STList synchronizationAnd SVImformosome is synchronousStandard parameter value including TNetwork is established、TList synchronizationAnd TImformosome is synchronousActual parameter value and packet
Include S1、S2And S3Contribution factor determine characterization network actual state superiority and inferiority delay factor, according to the practical shape of the characterization network
The delay factor of condition superiority and inferiority adjusts synchronization of time intenals next time, comprising:
Determine the synchronous actual speed V of imformosomeImformosome is synchronousAre as follows:
VImformosome is synchronous=(size1+size2+…+sizem)/TImformosome is synchronous;
Determine delay factor DF:
DF=((TNetwork is established-STNetwork is established)/STNetwork is established)×S1+((TList synchronization-STList synchronization)/STList synchronization)×S2+((SVImformosome is synchronous-
VImformosome is synchronous)/SVImformosome is synchronous)×S3;
Determine synchronizing information time interval T next time2, T2=T1+ ST × DF, wherein T2For synchronization of time intenals next time, T1For
Time interval between current sync is synchronous with the last time;
Wherein, work as T2When < ST, T is taken2Equal to ST;Work as T2When > MST, T is taken2Equal to MST.
12. device according to claim 11, which is characterized in that the first standard parameter setup module is also used to root
Expand the value of EF according to the positive and negative situation of delay factor DF value and how much determinations of terminal residual electricity;
The time interval determining module is also used to adjust the value of delay factor DF by the expansion factor EF of setting are as follows:
DF=DF × EF, and adjusted the value of delay factor MST by expansion factor EF are as follows: MST=MST × EF.
13. device according to claim 11 or 12, which is characterized in that described device further comprises that the first information is synchronous
Determination module, wherein
The first standard parameter setup module is also used to be arranged power threshold NP and can consume the percentage P of electricity;
First actual parameter obtains module, is also used to determine the total electricity PT of the information downloading consumption of history, the letter of history
Breath downloads sum n and as the secondary information number m for needing to download;
The synchronous determination module of the first information, for determining electricity the average value APT, APT=PT/ of the consumption of a synchronizing information
n;Determine the electricity CPT, CPT=APT × m when time synchronizing information needs to consume;When CPT is greater than NP × P, stop when time information
It is synchronous, and terminate subsequent synchronizing information;When CPT is less than NP × P, synchronizing information is carried out.
14. a kind of information intelligent synchronizing device, which is characterized in that described device includes: the second standard parameter setup module, second
Actual parameter obtains module and the second synchronizing information determination module, wherein
The second standard parameter setup module, the percentage P for power threshold NP being arranged He can consume electricity;
Second actual parameter obtains module, for determining that the information of history downloads the information of the total electricity PT of consumption, history
Download sum n and as the secondary information number m for needing to download;
The second synchronizing information determination module, for determining electricity the average value APT, APT=PT/ of the consumption of a synchronizing information
n;Determine the electricity CPT, CPT=APT × m when time synchronizing information needs to consume;When CPT is greater than NP × P, stop when time information
It is synchronous, and terminate subsequent synchronizing information;When CPT is less than NP × P, according to method as claimed in any one of claims 1 to 6
Carry out synchronizing information.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410004098.8A CN104767773B (en) | 2014-01-02 | 2014-01-02 | A kind of information intelligent synchronous method and device |
PCT/CN2014/074678 WO2015100867A1 (en) | 2014-01-02 | 2014-04-02 | Method and apparatus for intelligently synchronizing information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410004098.8A CN104767773B (en) | 2014-01-02 | 2014-01-02 | A kind of information intelligent synchronous method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104767773A CN104767773A (en) | 2015-07-08 |
CN104767773B true CN104767773B (en) | 2019-07-16 |
Family
ID=53493071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410004098.8A Active CN104767773B (en) | 2014-01-02 | 2014-01-02 | A kind of information intelligent synchronous method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104767773B (en) |
WO (1) | WO2015100867A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803807B (en) * | 2016-12-15 | 2020-05-05 | 华南师范大学 | SDN network independent forwarding method based on multidimensional space superposition model |
CN109196885B (en) * | 2017-05-17 | 2021-02-05 | 华为技术有限公司 | Synchronization method and device for e-mail |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6978298B1 (en) * | 2000-05-25 | 2005-12-20 | International Business Machines Corporation | Method and apparatus for managing session information in a data processing system |
CN1882911A (en) * | 2003-11-14 | 2006-12-20 | 文件波国际控股公司 | A method in a network of the delivery of files |
CN101119340A (en) * | 2007-09-19 | 2008-02-06 | 腾讯科技(深圳)有限公司 | Receiving E-mail method, system and mail automatic receiving server |
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 |
CN101277472A (en) * | 2007-03-30 | 2008-10-01 | 华为技术有限公司 | Method, equipment and system of synchronization of blog contents |
CN101378544A (en) * | 2007-08-31 | 2009-03-04 | 国际商业机器公司 | Method, device and system for polling information |
CN101442561A (en) * | 2008-12-12 | 2009-05-27 | 南京邮电大学 | Method for monitoring grid based on vector machine support |
CN101483579A (en) * | 2008-01-09 | 2009-07-15 | 华为技术有限公司 | Method and apparatus for real-time service bandwidth application |
CN101686535A (en) * | 2008-09-28 | 2010-03-31 | 联想(北京)有限公司 | Mobile terminal and method for same to acquire new mails |
CN102186163A (en) * | 2011-05-11 | 2011-09-14 | 北京友录在线科技发展有限公司 | Data synchronizing method of multi-account address book of smart phone |
CN102413154A (en) * | 2010-09-21 | 2012-04-11 | 北大方正集团有限公司 | Method of data information synchronization between systems and apparatus thereof |
CN102571877A (en) * | 2010-12-31 | 2012-07-11 | 上海博泰悦臻电子设备制造有限公司 | Vehicle-mounted information synchronization service system and method |
CN102868771A (en) * | 2011-07-06 | 2013-01-09 | 中兴通讯股份有限公司 | Converged address book based contact synchronizing method, device and system |
CN103037459A (en) * | 2011-09-29 | 2013-04-10 | 中国移动通信集团江苏有限公司 | Method and apparatus of data synchronization |
CN103442426A (en) * | 2013-08-27 | 2013-12-11 | 京信通信系统(中国)有限公司 | Method and system for air interface synchronization between base stations |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120117099A (en) * | 2011-04-14 | 2012-10-24 | 삼성전자주식회사 | Method and apparatus for performing a synchronization in a portable terminal |
-
2014
- 2014-01-02 CN CN201410004098.8A patent/CN104767773B/en active Active
- 2014-04-02 WO PCT/CN2014/074678 patent/WO2015100867A1/en active Application Filing
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6978298B1 (en) * | 2000-05-25 | 2005-12-20 | International Business Machines Corporation | Method and apparatus for managing session information in a data processing system |
CN1882911A (en) * | 2003-11-14 | 2006-12-20 | 文件波国际控股公司 | A method in a network of the delivery of files |
CN101277472A (en) * | 2007-03-30 | 2008-10-01 | 华为技术有限公司 | Method, equipment and system of synchronization of blog contents |
CN101378544A (en) * | 2007-08-31 | 2009-03-04 | 国际商业机器公司 | Method, device and system for polling information |
CN101119340A (en) * | 2007-09-19 | 2008-02-06 | 腾讯科技(深圳)有限公司 | Receiving E-mail method, system and mail automatic receiving server |
CN101483579A (en) * | 2008-01-09 | 2009-07-15 | 华为技术有限公司 | Method and apparatus for real-time service bandwidth application |
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 |
CN101442561A (en) * | 2008-12-12 | 2009-05-27 | 南京邮电大学 | Method for monitoring grid based on vector machine support |
CN102413154A (en) * | 2010-09-21 | 2012-04-11 | 北大方正集团有限公司 | Method of data information synchronization between systems and apparatus thereof |
CN102571877A (en) * | 2010-12-31 | 2012-07-11 | 上海博泰悦臻电子设备制造有限公司 | Vehicle-mounted information synchronization service system and method |
CN102186163A (en) * | 2011-05-11 | 2011-09-14 | 北京友录在线科技发展有限公司 | Data synchronizing method of multi-account address book of smart phone |
CN102868771A (en) * | 2011-07-06 | 2013-01-09 | 中兴通讯股份有限公司 | Converged address book based contact synchronizing method, device and system |
CN103037459A (en) * | 2011-09-29 | 2013-04-10 | 中国移动通信集团江苏有限公司 | Method and apparatus of data synchronization |
CN103442426A (en) * | 2013-08-27 | 2013-12-11 | 京信通信系统(中国)有限公司 | Method and system for air interface synchronization between base stations |
Also Published As
Publication number | Publication date |
---|---|
WO2015100867A1 (en) | 2015-07-09 |
CN104767773A (en) | 2015-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102630312B (en) | Mobile computing device and the method with intelligently pushing management | |
CN101286945B (en) | Method and apparatus for processing of data fragmentation | |
CN103493554B (en) | For for the method and apparatus of the timing synchronization of the peer device of operation in WWAN frequency spectrum | |
CN103916936B (en) | Realize method, system and mobile terminal, the server of data connection long | |
CN104767773B (en) | A kind of information intelligent synchronous method and device | |
US20200041972A1 (en) | Method and system for creating energy demand model | |
CN106453060B (en) | Mail synchronization method and terminal | |
CN102868989B (en) | List generating method, system and equipment in Long Term Evolution pattern of fusion core net | |
CN109068384A (en) | A kind of method for synchronizing time and system | |
CN110062447A (en) | A method of reducing wireless self-organization network downstream response time delay | |
CN103607731A (en) | Method and device for processing measurement reports | |
CN109548121A (en) | Communication means, device, access point apparatus and the site apparatus of WLAN | |
WO2010149010A1 (en) | Method and apparatus for realizing summer time in cdma system | |
CN103002548B (en) | The method of the connection of mobile terminal and maintenance mobile terminal and application server | |
WO2015188481A1 (en) | Unread message processing method, device and system | |
CN103813437A (en) | Mobile wireless ad hoc network clock synchronization method based on time domain narrow pulse | |
CN101184062B (en) | Method, device and system of regulating information server load | |
CN1984176B (en) | Server and system for managing personal information and information synchronization controlling method thereof | |
CN108307416A (en) | A kind of internet-of-things terminal management method | |
CN103096481B (en) | The distribution method of Packet Data Channel and device | |
CN104218677A (en) | Method for synchronizing clocks of power distribution master stations and power distribution terminals | |
CN102573082B (en) | Method and equipment for inter-adjacent cell interference coordination in wireless communication system | |
CN109429300A (en) | Communication means, device, access point apparatus and the site apparatus of WLAN | |
CN103782563A (en) | Event-based keep alive times in communication networks | |
JP2018508156A (en) | Dynamic adjustment method of packet transmission timing |
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 |