CN103905442B - Awakening method and device in a kind of data syn-chronization - Google Patents

Awakening method and device in a kind of data syn-chronization Download PDF

Info

Publication number
CN103905442B
CN103905442B CN201410124029.0A CN201410124029A CN103905442B CN 103905442 B CN103905442 B CN 103905442B CN 201410124029 A CN201410124029 A CN 201410124029A CN 103905442 B CN103905442 B CN 103905442B
Authority
CN
China
Prior art keywords
application program
chronization
message
log
synchronization
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
CN201410124029.0A
Other languages
Chinese (zh)
Other versions
CN103905442A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410124029.0A priority Critical patent/CN103905442B/en
Publication of CN103905442A publication Critical patent/CN103905442A/en
Application granted granted Critical
Publication of CN103905442B publication Critical patent/CN103905442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure is directed to the awakening method in a kind of data syn-chronization and device.Awakening method in data syn-chronization includes:Obtain the log-on message of application program, the log-on message service type that at least title, application program including application program are included and the version information of service type of application program;According to the log-on message of application program, the log-on message of application program is added in application program management by synchronization list;According at least one application program in application program management by synchronization policy selection application program management by synchronization list;Data synchronization request is sent to corresponding service end according to the log-on message at least one application program selected;Need to carry out the application program of data syn-chronization at least one application program according to service end determines the response message of data synchronization request;Notify to need the application program for carrying out data syn-chronization to carry out data syn-chronization.The embodiment of the present disclosure reduces power consumption and unnecessary network traffics expense.

Description

Awakening method and device in a kind of data syn-chronization
Technical field
This disclosure relates to awakening method and device in communication technical field, more particularly to a kind of data syn-chronization.
Background technology
Mobile phone flow is that the application on sensitive resource, some mobile devices accesses network number of times to reduce for user Or can still use in off-line case, it will usually by some data initializations to mobile phone, it can thus be needed in application When directly access local, without online query, such as number attribution information, when subscriber dialing, even if not Connection network can also show number, similar Yellow Page, the privilege leave information of calendar also having on mobile phone Yellow Page etc..
This partial data is that, in service end operation, when there is renewal at general service end, for example information of home location changes , State Council issues new information of having a holiday etc., can download to cell-phone customer terminal by synchronous method, see user newest again Information.In correlation technique, using in order to keep preset data and server synchronization, clothes are arrived using periodic wakeup oneself is needed Business end, which is checked, to be updated, for example, waken up every half an hour and once go to check the data of service end, updated if any data with regard under Carry, so, when system there are several to apply, the frequency of wake-up is just very high.And user can be caused by frequently waking up Mobile phone can not dormancy, waste electricity.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides the awakening method and device in a kind of data syn-chronization.
According to the first aspect of the embodiment of the present disclosure there is provided the awakening method in a kind of data syn-chronization, including:
The log-on message of application program is obtained, the log-on message of the application program at least includes the name of the application program The version information of title, the service type that the application program is included and the service type;
It is according to the log-on message of the application program, the log-on message of the application program is synchronous added to application program In managing listings;
At least one in the application program management by synchronization list according to application program management by synchronization policy selection applies journey Sequence;
It is same that the log-on message of at least one application program according to selecting sends data to corresponding service end Step request;
In at least one application program according to the service end is determined to the response message of the data synchronization request Need the application program of progress data syn-chronization;
Notify the application program progress data syn-chronization for needing to carry out data syn-chronization.
Optionally, in the application program management by synchronization list according to application program management by synchronization policy selection at least One application program, including:
At least one application program in the application program management by synchronization list is selected according to the scheduled time.
Optionally, in addition to:
Also include the synchronous priority of the application program in the log-on message of the application program;
At least one in the application program management by synchronization list according to application program management by synchronization policy selection should With program, including:
Select at least one in the application program management by synchronization list should according to the synchronous priority of the application program Use program.
Optionally, in the application program management by synchronization list according to application program management by synchronization policy selection at least One application program, including:
The service type included according to the application program determines the synchronous priority of the application program;
Select at least one in the application program management by synchronization list should according to the synchronous priority of the application program Use program.
Optionally, in addition to:
Obtain current network conditions information;
At least one in the application program management by synchronization list according to application program management by synchronization policy selection should With program, including:
The application program is selected according to the synchronous priority of the current network conditions information and the application program At least one application program in management by synchronization list.
Optionally, the latest edition letter of the service type of at least one application program is obtained ahead of time in the service end Breath.
Optionally, the log-on message at least one application program that the basis is selected is to corresponding service end Data synchronization request is sent, including:
The log-on message of at least one application program described in selecting is sent to corresponding service end;
It is described according to the service end is determined to the response message of the data synchronization request at least one apply journey The application program of progress data syn-chronization is needed in sequence, including:
The application program of progress data syn-chronization is needed at least one application program according to being sent the service end Information determine the application program for needing to carry out data syn-chronization at least one described application program, wherein, the service end root According at least one application program log-on message carry out version information contrast after determine it is described need carry out data syn-chronization Application program.
Optionally, the log-on message at least one application program that the basis is selected is to corresponding service end Data synchronization request is sent, including:
By the application name of at least one application program described in described select and its comprising service type hair Deliver to corresponding service end;
It is described according to the service end is determined to the response message of the data synchronization request at least one apply journey The application program of progress data syn-chronization is needed in sequence, including:
Receive the latest edition letter for the service type that at least one described application program that the service end sends is included Breath;
In the log-on message of contrast at least one application program the version information of service type and receive it is described Latest version information, it is determined that needing to carry out the application program of data syn-chronization.
According to the second aspect of the embodiment of the present disclosure there is provided the Rouser in a kind of data syn-chronization, including:
Information acquisition unit, is configured as obtaining the log-on message of application program, the log-on message of the application program is extremely Title, the application program including the application program are included less service type and the version letter of the service type Breath;
Listing control unit, is configured as the log-on message according to the application program, by the registration of the application program Information is added in application program management by synchronization list;
Procedure selection unit, is configured as the application program management by synchronization according to application program management by synchronization policy selection The application program of at least one in list;
Synchronization request unit, be configured as according to the log-on message of at least one application program selected to pair The service end answered sends data synchronization request;
Program determining unit, is configured as determining institute to the response message of the data synchronization request according to the service end State the application program for needing to carry out data syn-chronization at least one application program;
Synchronization notice unit, is configured as notifying the application program progress data syn-chronization for needing to carry out data syn-chronization.
Optionally, described program selecting unit, is configured as selecting the application program management by synchronization according to the scheduled time The application program of at least one in list.
Optionally, in addition to:
Also include the synchronous priority of the application program in the log-on message of the application program;
Described program selecting unit, is configured as selecting the application program according to the synchronous priority of the application program At least one application program in management by synchronization list.
Optionally, described program selecting unit includes:
Grade determination subelement, is configured as determining the application program according to the service type that the application program is included Synchronous priority;
Subelement is selected, is configured as selecting the application program lock-in tube according to the synchronous priority of the application program Manage at least one application program in list.
Optionally, in addition to:
Network state acquiring unit, is configured as obtaining current network conditions information;
Described program selecting unit, is configured as according to the same of the current network conditions information and the application program Walk priority and select at least one application program in the application program management by synchronization list.
Optionally, the synchronization request unit, be configured as selecting described at least one application program registration Information is sent to corresponding service end;
Described program determining unit, is configured as need at least one application program according to being sent the service end The information for carrying out the application program of data syn-chronization determines to need to carry out answering for data syn-chronization at least one described application program With program, wherein, the service end is carried out after version information contrast really according to the log-on message of at least one application program Make the application program for needing to carry out data syn-chronization.
Optionally, the synchronization request unit, is configured as at least one application program described in described select Application name and its comprising service type send to corresponding service end;
Described program determining unit includes:
Receiving subelement, is configured as receiving the clothes that at least one described application program of the service end transmission is included The latest version information of service type;
Determination subelement is contrasted, service type in the log-on message of contrast at least one application program is configured as Version information and the latest version information received, it is determined that needing to carry out the application program of data syn-chronization.
According to the third aspect of the embodiment of the present disclosure there is provided the Rouser in a kind of data syn-chronization, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The log-on message of application program is obtained, the log-on message of the application program at least includes the name of the application program The version information of title, the service type that the application program is included and the service type;
It is according to the log-on message of the application program, the log-on message of the application program is synchronous added to application program In managing listings;
At least one in the application program management by synchronization list according to application program management by synchronization policy selection applies journey Sequence;
It is same that the log-on message of at least one application program according to selecting sends data to corresponding service end Step request;
In at least one application program according to the service end is determined to the response message of the data synchronization request Need the application program of progress data syn-chronization;
Notify the application program progress data syn-chronization for needing to carry out data syn-chronization.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The embodiment of the present disclosure is unified to check each in batches by the way that the unified logic that renewal is checked among data syn-chronization is managed Whom the renewal of application program simultaneously have renewal that whose wakes up to wake up strategy on demand according to, it is to avoid the scattered wake-up of each application program Updated with inspection data, reduce power consumption and unnecessary network traffics expense.It is same that disclosure scheme tackles simple data Step situation is simple and easy to apply, and implementation cost and maintenance cost are all than relatively low.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is the awakening method flow chart in a kind of data syn-chronization according to an exemplary embodiment;
Fig. 2 is according in application program management by synchronization policy selection application program management by synchronization list in the embodiment of the present disclosure The method flow diagram of at least one application program;
Fig. 3 is the awakening method flow chart in another data syn-chronization according to an exemplary embodiment;
Fig. 4 is the awakening method flow chart in another data syn-chronization according to an exemplary embodiment;
Fig. 5 is the structural representation of the Rouser in a kind of data syn-chronization according to an exemplary embodiment;
Fig. 6 is a kind of structural representation of procedure selection unit in the embodiment of the present disclosure;
Fig. 7 is a kind of structural representation of program determining unit in the embodiment of the present disclosure;
Fig. 8 is a kind of schematic diagram of Rouser being used in data syn-chronization according to an exemplary embodiment;
Fig. 9 is the structural representation of server in the embodiment of the present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
Fig. 1 is the flow chart of the awakening method in a kind of data syn-chronization according to an exemplary embodiment, such as Fig. 1 institutes Show, this method is used in terminal, comprises the following steps.
In step s 11, the log-on message of application program is obtained, the log-on message of application program at least includes application program Title, the version information of the service type that application program is included and service type.
The synchronous central logic for checking renewal of each application program is managed collectively by the terminal, and whom has renewal to wake up according to Whose strategy reduces power consumption and unnecessary network traffics expense.First, terminal needs to obtain the registration letter of each application program Breath, service type and the version of service type that the log-on message can be included comprising title, the application program of application program Information, version information is the parameter for characterizing the current data state of a certain service type in the application program, such as version Numbering or version value etc., certainly, can also include other information in the log-on message.
For example, an application program Contact, its service type synchronous the need for including have number attribution information and Preset yellow page information, then terminal needs to obtain two kinds of service types telocation, yellowpage(Typonym is application Customized, system service only keeps a record)Log-on message, it is assumed that the initial version value of two kinds of service types is 0, so when Two log-on messages are just had when application program is registered first, in the terminal:
contact_telocation->0;contact->yellowpage->0。
In step s 12, according to the log-on message of application program, the log-on message of application program is added to application program In management by synchronization list.
In the present embodiment, terminal is set up and maintenance applications management by synchronization list, and terminal passes through same according to the list The data synchronization request of the multiple application programs of Shi Faqi.
In step s 13, according in application program management by synchronization policy selection application program management by synchronization list at least One application program.
The application program management by synchronization strategy can have a variety of, can be set according to the demand of user.
For example, terminal can select at least one application program in application program management by synchronization list according to the scheduled time. When performing the application program management by synchronization strategy, terminal periodically or can be selected regularly in application program management by synchronization list extremely Lack an application program to send data synchronization request.Certainly, terminal can also select application program upon receipt of the instructions At least one application program in management by synchronization list.
For another example the synchronous priority of application program can also be included in the log-on message of application program.This is synchronous preferential Level can be that the synchronous priority between application program set in advance by user etc., different is different.Terminal is according to the application At least one application program in the synchronous priority selection application program management by synchronization list of program.For example, terminal is preferentially selected Select the high multiple application programs of synchronous priority.
The synchronous priority of the application program may not be what is pre-set, not wrapped in the log-on message of application program Synchronous priority containing application program.Then arranged in terminal according to the management by synchronization of application program management by synchronization policy selection application program During the application program of at least one in table, as shown in Fig. 2 the process can include:
In the step s 21, the service type included according to application program determines the synchronous priority of application program.
User can be obtained determined using frequency of the service type under a certain application program etc. the synchronization of application program Priority.Other parameters can certainly be obtained as the foundation for determining the synchronous priority of application program.
In step S22, selected according to the synchronous priority of application program at least one in application program management by synchronization list Individual application program.
In addition, terminal can be combined with synchronous priority and the selection application program management by synchronization list of other conditions In at least one application program, for example, first obtain current network environment information, such as whether network state is WIFI, Then at least one in the synchronous priority selection application program management by synchronization list determined in conjunction with above-mentioned some way should Use program.
In step S14, sent out according to the log-on message at least one application program selected to corresponding service end Send data synchronization request.
, can be to each application program after terminal selects at least one application program in application program management by synchronization list Service end sends data synchronization request.The terminal can periodically or regularly send the data synchronization request of each application program, also may be used To be the data synchronization request for sending each application program upon receipt of the instructions.
Wherein, in the case of a kind of, each application program can correspond to different service ends respectively, and terminal needs to access each application The corresponding reference address of service end of program;In another case, terminal initiates all or multiple application journeys to a service end The synchronization request of sequence, the service end obtains this all or multiple respectively beforehand through the corresponding service end of each application program is accessed The latest version information of the service type of application program, so, terminal can initiate all or multiple applications to a service end The data synchronization request of program, the service end can be once by each service type of all each application programs that have registered Latest version information is pulled down, and the network traffics brought and time overhead are repeatedly accessed so as to save.
Terminal can include the complete of application program when sending data synchronization request to service end in the data synchronization request Whole log-on message or the part log-on message for only including application program, such as only comprising application name and should With the service type of program.
In step S15, according to service end the response message of data synchronization request is determined it is above-mentioned at least one apply journey The application program of progress data syn-chronization is needed in sequence.
The step can carry out the version information in log-on message and the contrast of locally stored version information by service end, so After the application program for determining to need to carry out data syn-chronization again afterwards, corresponding information is informed by the response message of data synchronization request The terminal.It can also be that the respective version information of application program is directly sent to terminal by service end, version is carried out by the terminal The application program for needing to carry out data syn-chronization is determined after the contrast of this information, the description of subsequent embodiment is referred to upper type.
In step s 16, notify to need the application program for carrying out data syn-chronization to carry out data syn-chronization.
After terminal determination needs to carry out the application program of data syn-chronization, needed to carry out data syn-chronization by the terminal notification Application program carries out data syn-chronization.
The embodiment of the present disclosure is unified to check each in batches by the way that the unified logic that renewal is checked among data syn-chronization is managed Whom the renewal of application program simultaneously have renewal that whose wakes up to wake up strategy on demand according to, it is to avoid the scattered wake-up of each application program Updated with inspection data, reduce power consumption and unnecessary network traffics expense.It is same that disclosure scheme tackles simple data Step situation is simple and easy to apply, and implementation cost and maintenance cost are all than relatively low.
It is the awakening method flow chart in another data syn-chronization of the embodiment of the present disclosure referring to Fig. 3.
This method may include steps of:
In step S31, terminal obtains the log-on message of application program, and the log-on message of application program includes application program Title, the service type that application program is included, the version information of service type and synchronous priority.
This step and abovementioned steps S11 difference are, in the present embodiment, and synchronous priority is added in the log-on message Field, the field indicate application program carry out data syn-chronization grade, such as, preferentially to user thirst for updated in time The application program of information is synchronized, such as mail, information class application program.When setting the synchronous priority, application can be set Program can carry out data syn-chronization under what conditions, such as permit during synchronous during synchronous under WIFI, networking, networking and in user Perhaps it is synchronous etc. in the case of.The high application program of priority synchronous for such as mail, information class etc. can be in any network rings Synchronized under border, and network can be then treated for the relatively low application program of the synchronous priority such as photo editing, game class Environment is resynchronized when good.In a word, it is possible to use log-on message, synchronization policy mechanism is set up.
In step s 32, the log-on message of application program is added to application by terminal according to the log-on message of application program In Program Synchronization managing listings.
In step S33, terminal obtains current network conditions information, and according to current network conditions information and applies journey At least one application program in the synchronous priority selection application program management by synchronization list of sequence.
Terminal is after current network conditions information is obtained, you can select current net in application program management by synchronization list is selected The application program of data syn-chronization can be carried out under network ambient condition, step S34 is then performed.
The present embodiment is by setting the synchronous priority of application program, and to respective synchronization under current network conditions The application program of priority carries out data syn-chronization, can save the data traffic of user, meets the demand of user, improves user's body Test.
In step S34, terminal sends the log-on message at least one application program selected to service end.
In the present embodiment, terminal can send the log-on message for all application programs selected to service end to send out Play data synchronization request.
In step s 35, service end according to the log-on message of application program carry out version information contrast, determine need into The application program of row data syn-chronization.
Service end is locally obtaining the service type of corresponding application programs after the log-on message of application program is received Version information in version information, with log-on message is contrasted, if unanimously, it is determined that the application program need not carry out data It is synchronous, if inconsistent, it is determined that the application program needs to carry out data syn-chronization.Service end will need the application of progress data syn-chronization The title and service type of the information of program, such as application program are sent to terminal.
In step S36, terminal receives the information for the application program that data syn-chronization is carried out the need for service end is sent.
Terminal is known to after the application program of progress data syn-chronization, performs step S37.
In step S37, terminal notification needs the application program for carrying out data syn-chronization to carry out data syn-chronization.
The embodiment of the present disclosure is unified to check each in batches by the way that the unified logic that renewal is checked among data syn-chronization is managed Whom the renewal of application program simultaneously have renewal that whose wakes up to wake up strategy on demand according to, it is to avoid the scattered wake-up of each application program Updated with inspection data, reduce power consumption and unnecessary network traffics expense.Furthermore, it is possible to according to default data syn-chronization Condition is synchronized, saving network flow.It is simple and easy to apply that disclosure scheme tackles simple data syn-chronization situation, implementation cost and Maintenance cost is all than relatively low.Moreover, the present embodiment is by setting the synchronous priority of application program, and under current network conditions Data syn-chronization is carried out to the application program with respective synchronization priority, the data traffic of user can be saved, meet user's Demand, improves Consumer's Experience.
It is the awakening method flow chart in another data syn-chronization of the embodiment of the present disclosure referring to Fig. 4.
This method may include steps of:
In step S41, terminal obtains the log-on message of application program, and the log-on message of application program includes application program Title, the service type that application program is included, the version information of service type and synchronous priority.
In step S42, according to the log-on message of application program, the log-on message of application program is added to application program In management by synchronization list.
In step S43, terminal obtains current network conditions information, and according to current network conditions information and applies journey At least one application program in the synchronous priority selection application program management by synchronization list of sequence.
Step S41~S43 is similar with abovementioned steps S31~S33, and here is omitted.
In step S44, terminal by the application name of above-mentioned at least one application program selected and its comprising Service type send to service end.
In the present embodiment, terminal only by the application name selected and its comprising service type send to service End.
Service end receive the title of application program and its comprising service type after, obtain corresponding application program Title and its comprising service type corresponding to service type latest version information, then by the title of application program and its Comprising service type, and the latest version information of service type sends back terminal.
In step S45, the service type that at least one above-mentioned application program that terminal receives service end transmission is included Latest version information.
Terminal performs step S46 after the latest version information for the service type that application program is included is received.
In step S46, terminal-pair is believed than the version of the service type at least one above-mentioned application program log-on message The latest version information for ceasing and receiving, it is determined that needing to carry out the application program of data syn-chronization.
Version information and the corresponding application program that receives of the terminal-pair than the service type in application program log-on message Comprising service type latest version information, if version information is consistent, it is determined that it is same that the application program need not carry out data Step, if inconsistent, it is determined that the application program needs to carry out data syn-chronization.
In step S47, terminal notification needs the application program for carrying out data syn-chronization to carry out data syn-chronization.
The embodiment of the present disclosure is unified to check each in batches by the way that the unified logic that renewal is checked among data syn-chronization is managed Whom the renewal of application program simultaneously have renewal that whose wakes up to wake up strategy on demand according to, it is to avoid the scattered wake-up of each application program Updated with inspection data, reduce power consumption and unnecessary network traffics expense.Furthermore, it is possible to according to default data syn-chronization Condition is synchronized, saving network flow.It is simple and easy to apply that disclosure scheme tackles simple data syn-chronization situation, implementation cost and Maintenance cost is all than relatively low.Moreover, the present embodiment is by setting the synchronous priority of application program, and under current network conditions Data syn-chronization is carried out to the application program with respective synchronization priority, the data traffic of user can be saved, meet user's Demand, improves Consumer's Experience.
Above is the description to method of disclosure embodiment, below to realizing that the device of the above method is introduced.
Fig. 5 is the structural representation of the Rouser in a kind of data syn-chronization according to an exemplary embodiment.Ginseng According to Fig. 5, the device can include:
Information acquisition unit 51, is configured as obtaining the log-on message of application program, the log-on message of application program is at least Service type and the version information of service type that title, application program including application program are included.
Listing control unit 52, is configured as the log-on message according to application program, and the log-on message of application program is added Add in application program management by synchronization list.
Procedure selection unit 53, is configured as being arranged according to the management by synchronization of application program management by synchronization policy selection application program At least one application program in table.
Synchronization request unit 54, is configured as according to the log-on message of at least one application program selected to corresponding Service end send data synchronization request.
Program determining unit 55, is configured as determining at least one to the response message of data synchronization request according to service end The application program of progress data syn-chronization is needed in application program.
Synchronization notice unit 56, is configured as notifying to need the application program for carrying out data syn-chronization to carry out data syn-chronization.
On the device in above-described embodiment, wherein unit performs the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The embodiment of the present disclosure is managed the unified logic that renewal is checked among data syn-chronization by said units, unified batch Check the renewal of each application program and whom has renewal that whose wakes up according to and wake up strategy on demand, it is to avoid each application program point Scattered wake-up and inspection data updates, and reduces power consumption and unnecessary network traffics expense.The reply of disclosure scheme is simple Data syn-chronization situation it is simple and easy to apply, implementation cost and maintenance cost are all than relatively low.
In another embodiment, procedure selection unit 53, is configured as selecting the application program same according to the scheduled time Walk at least one application program in managing listings.
In another embodiment, the synchronous priority of application program is also included in the log-on message of application program.Program is selected Unit 53 is selected, is configured as selecting at least one in application program management by synchronization list according to the synchronous priority of application program Application program.
In another embodiment, as shown in fig. 6, the procedure selection unit 53 can further include:
Grade determination subelement 61, the service type for being configured as being included according to application program determines the synchronization of application program Priority.
Subelement 62 is selected, is configured as selecting application program management by synchronization list according to the synchronous priority of application program In at least one application program.
In another embodiment, the device can also include network state acquiring unit, be configured as obtaining current network Environmental information.Procedure selection unit 53, is configured as the synchronous priority according to current network conditions information and application program Select at least one application program in application program management by synchronization list.
In another embodiment, synchronization request unit 54 is configured as the registration at least one application program that will be selected Information is sent to corresponding service end.
Program determining unit 55 is configured as needing to carry out at least one application program according to being sent service end The information of the application program of data syn-chronization determines the application program for needing to carry out data syn-chronization at least one application program, its In, service end, which according to the log-on message of at least one application program determine after version information contrast, needs progress data same The application program of step.
In another embodiment, synchronization request unit 54 be configured as selecting described at least one application program Application name and its comprising service type send to corresponding service end.As described in Figure 7, the program determining unit 55 It may further include:
Receiving subelement 71, is configured as receiving the service that at least one described application program of service end transmission is included The latest version information of type.
Determination subelement 72 is contrasted, the version of service type in the log-on message of at least one application program of contrast is configured as This information and the latest version information received, it is determined that needing to carry out the application program of data syn-chronization.
Fig. 8 is a kind of block diagram of Rouser 800 being used in data syn-chronization according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, flat board is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 8, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, input/output(I/O)Interface 812, sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in equipment 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM(SRAM), Electrically Erasable Read Only Memory(EEPROM), it is erasable to compile Journey read-only storage(EPROM), programmable read only memory(PROM), read-only storage(ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display(LCD)And touch panel(TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind(MIC), when device 800 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of equipment 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in not any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication(NFC)Module, to promote junction service.Example Such as, radio frequency identification can be based in NFC module(RFID)Technology, Infrared Data Association(IrDA)Technology, ultra wide band(UWB)Technology, Bluetooth(BT)Technology and other technologies are realized.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits(ASIC), numeral letter Number processor(DSP), digital signal processing appts(DSPD), PLD(PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory(RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device is performed so that mobile terminal is able to carry out the awakening method in a kind of data syn-chronization, and methods described includes:
The log-on message of application program is obtained, the log-on message of the application program at least includes the name of the application program The version information of title, the service type that the application program is included and the service type;
It is according to the log-on message of the application program, the log-on message of the application program is synchronous added to application program In managing listings;
At least one in the application program management by synchronization list according to application program management by synchronization policy selection applies journey Sequence;
It is same that the log-on message of at least one application program according to selecting sends data to corresponding service end Step request;
In at least one application program according to the service end is determined to the response message of the data synchronization request Need the application program of progress data syn-chronization;
Notify the application program progress data syn-chronization for needing to carry out data syn-chronization.
Fig. 9 is the structural representation of server in the embodiment of the present invention.The server 1900 can be different because of configuration or performance And produce than larger difference, one or more central processing units can be included(Central processing units, CPU)1922(For example, one or more processors)With memory 1932, one or more storage application programs 1942 or the storage medium 1930 of data 1944(Such as one or more mass memory units).Wherein, memory 1932 Can be of short duration storage or persistently storage with storage medium 1930.Be stored in storage medium 1930 program can include one or More than one module(Diagram is not marked), each module can be including operating to the series of instructions in server.Further Ground, central processing unit 1922 be could be arranged to communicate with storage medium 1930, and storage medium 1930 is performed on server 1900 In series of instructions operation.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. the awakening method in a kind of data syn-chronization, it is characterised in that including:
Obtain the log-on message of application program, the log-on message of the application program at least the title including the application program, Service type and the version information of the service type that the application program is included;
According to the log-on message of the application program, the log-on message of the application program is added to application program management by synchronization In list;
At least one application program in the application program management by synchronization list according to application program management by synchronization policy selection;
The log-on message of at least one application program according to selecting sends data syn-chronization to corresponding service end please Ask;
Needs at least one application program according to the service end is determined to the response message of the data synchronization request Carry out the application program of data syn-chronization;
Notify the application program progress data syn-chronization for needing to carry out data syn-chronization;
Also include the synchronous priority of the application program in the log-on message of the application program;
At least one application in the application program management by synchronization list according to application program management by synchronization policy selection Program, including:
The service type included according to the application program determines the synchronous priority of the application program;
At least one in the application program management by synchronization list is selected to apply journey according to the synchronous priority of the application program Sequence.
2. according to the method described in claim 1, it is characterised in that also include:
Obtain current network conditions information;
At least one application in the application program management by synchronization list according to application program management by synchronization policy selection Program, including:
Select the application program synchronous according to the synchronous priority of the current network conditions information and the application program The application program of at least one in managing listings.
3. according to the method described in claim 1, it is characterised in that the service end be obtained ahead of time it is described at least one apply journey The latest version information of the service type of sequence.
4. according to the method described in claim 1, it is characterised in that at least one described application program that the basis is selected Log-on message send data synchronization request to corresponding service end, including:
The log-on message of at least one application program described in selecting is sent to corresponding service end;
In described at least one application program according to the service end is determined to the response message of the data synchronization request The need for carry out data syn-chronization application program, including:
The letter of the application program of progress data syn-chronization is needed at least one application program according to being sent the service end Breath determines to need to carry out the application program of data syn-chronization at least one described application program, wherein, the service end is according to institute State at least one application program log-on message carry out version information contrast after determine it is described need carry out data syn-chronization should Use program.
5. according to the method described in claim 1, it is characterised in that at least one described application program that the basis is selected Log-on message send data synchronization request to corresponding service end, including:
By the application name of at least one application program described in described select and its comprising service type send to Corresponding service end;
In described at least one application program according to the service end is determined to the response message of the data synchronization request The application program of progress data syn-chronization is needed, including:
Receive the latest version information for the service type that at least one described application program that the service end sends is included;
In the log-on message of contrast at least one application program the version information of service type and receive it is described newest Version information, it is determined that needing to carry out the application program of data syn-chronization.
6. the Rouser in a kind of data syn-chronization, it is characterised in that including:
Information acquisition unit, is configured as obtaining the log-on message of application program, and the log-on message of the application program is at least wrapped Include the version information of the title of the application program, the service type that the application program is included and the service type;
Listing control unit, is configured as the log-on message according to the application program, by the log-on message of the application program Added in application program management by synchronization list;
Procedure selection unit, is configured as the application program management by synchronization list according to application program management by synchronization policy selection In at least one application program;
Synchronization request unit, is configured as according to the log-on message of at least one application program selected to corresponding Service end sends data synchronization request;
Program determining unit, is configured as according to the service end is determined to the response message of the data synchronization request extremely Need to carry out the application program of data syn-chronization in a few application program;
Synchronization notice unit, is configured as notifying the application program progress data syn-chronization for needing to carry out data syn-chronization;
Described program selecting unit, including:
Grade determination subelement, is configured as determining the same of the application program according to the service type that the application program is included Walk priority;
Subelement is selected, is configured as selecting the application program management by synchronization row according to the synchronous priority of the application program The application program of at least one in table.
7. device according to claim 6, it is characterised in that also include:
Network state acquiring unit, is configured as obtaining current network conditions information;
Described program selecting unit, is configured as excellent according to the synchronization of the current network conditions information and the application program First level selects at least one application program in the application program management by synchronization list.
8. device according to claim 6, it is characterised in that
The synchronization request unit, be configured as selecting described in the log-on message of at least one application program send to institute Corresponding service end;
Described program determining unit, be configured as needing at least one application program according to being sent the service end into The information of the application program of row data syn-chronization determines to need to carry out the application journey of data syn-chronization at least one described application program Sequence, wherein, the service end is determined after carrying out version information contrast according to the log-on message of at least one application program The application program for needing to carry out data syn-chronization.
9. device according to claim 6, it is characterised in that
The synchronization request unit, is configured as the application name of at least one application program described in described select And its comprising service type send to corresponding service end;
Described program determining unit includes:
Receiving subelement, is configured as receiving the service class that at least one described application program of the service end transmission is included The latest version information of type;
Determination subelement is contrasted, the version of service type in the log-on message of contrast at least one application program is configured as Information and the latest version information received, it is determined that needing to carry out the application program of data syn-chronization.
10. the Rouser in a kind of data syn-chronization, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the log-on message of application program, the log-on message of the application program at least the title including the application program, Service type and the version information of the service type that the application program is included;
According to the log-on message of the application program, the log-on message of the application program is added to application program management by synchronization In list;
At least one application program in the application program management by synchronization list according to application program management by synchronization policy selection;
The log-on message of at least one application program according to selecting sends data syn-chronization to corresponding service end please Ask;
Needs at least one application program according to the service end is determined to the response message of the data synchronization request Carry out the application program of data syn-chronization;
Notify the application program progress data syn-chronization for needing to carry out data syn-chronization;
At least one application in the application program management by synchronization list according to application program management by synchronization policy selection Program, including:
The service type included according to the application program determines the synchronous priority of the application program;
At least one in the application program management by synchronization list is selected to apply journey according to the synchronous priority of the application program Sequence.
CN201410124029.0A 2014-03-28 2014-03-28 Awakening method and device in a kind of data syn-chronization Active CN103905442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410124029.0A CN103905442B (en) 2014-03-28 2014-03-28 Awakening method and device in a kind of data syn-chronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410124029.0A CN103905442B (en) 2014-03-28 2014-03-28 Awakening method and device in a kind of data syn-chronization

Publications (2)

Publication Number Publication Date
CN103905442A CN103905442A (en) 2014-07-02
CN103905442B true CN103905442B (en) 2017-09-12

Family

ID=50996596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410124029.0A Active CN103905442B (en) 2014-03-28 2014-03-28 Awakening method and device in a kind of data syn-chronization

Country Status (1)

Country Link
CN (1) CN103905442B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104467997B (en) * 2014-11-18 2017-05-31 无锡清华信息科学与技术国家实验室物联网技术中心 A kind of method and apparatus of the terminal energy-conservation based on wireless signal strength prediction
CN105162820B (en) * 2015-06-25 2019-02-05 Oppo广东移动通信有限公司 A kind of method of data synchronization and equipment
CN105306737A (en) * 2015-11-30 2016-02-03 东莞酷派软件技术有限公司 Information management method and user terminal
CN105653354A (en) * 2015-12-28 2016-06-08 北京金山安全软件有限公司 Batch processing method and device
CN106027622A (en) * 2016-05-11 2016-10-12 珠海市魅族科技有限公司 Resource synchronization method and terminal
CN106657278B (en) * 2016-11-21 2020-01-14 Oppo广东移动通信有限公司 Data transmission method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627382A (en) * 2007-01-07 2010-01-13 苹果公司 Data synchronization with host device in accordance with synchronization preferences
CN101771723A (en) * 2010-01-05 2010-07-07 深圳中兴网信科技有限公司 Data synchronization method
CN103457905A (en) * 2012-05-28 2013-12-18 腾讯科技(深圳)有限公司 Data synchronizing method, data synchronizing system and data synchronizing device
CN103677903A (en) * 2013-11-26 2014-03-26 小米科技有限责任公司 Mobile terminal intelligent upgrade method and device, and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627382A (en) * 2007-01-07 2010-01-13 苹果公司 Data synchronization with host device in accordance with synchronization preferences
CN101771723A (en) * 2010-01-05 2010-07-07 深圳中兴网信科技有限公司 Data synchronization method
CN103457905A (en) * 2012-05-28 2013-12-18 腾讯科技(深圳)有限公司 Data synchronizing method, data synchronizing system and data synchronizing device
CN103677903A (en) * 2013-11-26 2014-03-26 小米科技有限责任公司 Mobile terminal intelligent upgrade method and device, and electronic equipment

Also Published As

Publication number Publication date
CN103905442A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103905442B (en) Awakening method and device in a kind of data syn-chronization
CN104394506B (en) Place update based on push
KR101700337B1 (en) Method, device, program and recording medium for presenting list of access points
CN103516893B (en) The method and apparatus that the ability discovery of rich communication suite is performed in portable terminal
CN104917581B (en) Bearing calibration, device, terminal and the router of system time
CN105263120A (en) Method and system for prompting user of available wireless local area network
CN109983458B (en) Recommendation method and terminal
CN106488037A (en) Calendar prompting method and device
CN105512545B (en) Access rights management method and device
CN107666540B (en) Terminal control method, device and storage medium
CN107222391A (en) Group's based reminding method, device and equipment
CN105263182B (en) Apparatus control method, device and terminal
CN109429102A (en) For showing the electronic device and its operating method of application
CN107506019A (en) Management method and device, terminal, the storage medium of application program
EP3232323A1 (en) Method and apparatus for displaying status information of application
CN105657805B (en) A kind of method and device of smart machine access wireless network
CN105892618A (en) Information display method and device and electronic device
CN107452221A (en) Arrival reminding method and device
CN105898032A (en) Adjusting method and apparatus for warning tone
CN110300189A (en) A kind of resource downloading method, device and electronic equipment
CN106781621A (en) Arrival reminding method and device
CN107079349A (en) Acquisition methods, the apparatus and system of system information
CN106604230A (en) Region configuration method and region configuration device
CN106790743A (en) Information transferring method, device and mobile terminal
CN107402777A (en) A kind of resource regeneration method and electronic equipment

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