CN104038922B - File synchronisation method and relevant apparatus - Google Patents

File synchronisation method and relevant apparatus Download PDF

Info

Publication number
CN104038922B
CN104038922B CN201410191770.9A CN201410191770A CN104038922B CN 104038922 B CN104038922 B CN 104038922B CN 201410191770 A CN201410191770 A CN 201410191770A CN 104038922 B CN104038922 B CN 104038922B
Authority
CN
China
Prior art keywords
functional module
terminal
function
information
identity
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
CN201410191770.9A
Other languages
Chinese (zh)
Other versions
CN104038922A (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 CN201410191770.9A priority Critical patent/CN104038922B/en
Publication of CN104038922A publication Critical patent/CN104038922A/en
Application granted granted Critical
Publication of CN104038922B publication Critical patent/CN104038922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure is directed to a kind of file synchronisation method and relevant apparatus, applied in terminal, this method includes:Obtain the device parameter of the terminal and the version identifier of operating system;Request server synchronization and the device parameter and the file of version identification matches;The reception server send with the device parameter and the file of version identification matches.It the method reduce the quantity that terminal obtains object for appreciation machine handbook content, so that the Internet resources for updating the time consumed during object for appreciation machine handbook content and occupancy are reduced, and the inner capacities of the object for appreciation machine handbook of terminal memory storage is greatly reduced, the utilization rate of terminal storage space is improved.

Description

File synchronisation method and relevant apparatus
Technical field
This disclosure relates to technical field of mobile terminals, more particularly to a kind of file synchronisation method and relevant apparatus.
Background technology
User understands the use operation of terminal for convenience, and the texts such as operating guidance or help would generally be set in terminal Part, for example:Millet mobile phone is carried in MIUI systems and plays machine handbook, there is the introduction using millet mobile phone the inside, may help to use Person quickly understands MIUI systems, more preferably uses millet mobile phone.
There is comprehensive operation instruction inside object for appreciation machine handbook, it is abundant in content, so as to play machine handbook occupation ratio larger Storage.For each mobile phone, before mobile phone dispatches from the factory, all be there is into mobile phone locally in the object for appreciation machine handbook of all system versions of mobile phone, it is right The mobile phone of different system version shows different contents.And for the mobile phone of identical systems version, of display object for appreciation machine handbook Have to should type content, other contents never show.According to statistics, the content shown in machine handbook is played to account in all 12.5% held, or even less, the content without display can take substantial amounts of memory space on the contrary, cause the storage of object for appreciation machine handbook Space is increasing, but efficiency is very low.And with the increase of cell phone system version, it is big to play the change of machine handbook also all the more, people is allowed It is difficult to stand.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of file synchronisation method and relevant apparatus.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of file synchronisation method, applied in terminal, methods described Including:
Obtain the device parameter of the terminal and the version identifier of operating system;
Request server synchronization and the device parameter and the file of version identification matches;
The reception server send with the device parameter and the file of version identification matches.
With reference in a first aspect, in first aspect in the first possible implementation, the file includes at least one Functional module, each functional module includes at least one function introduction;
The request server synchronization and the device parameter and the file of version identification matches, including:
The synchronous functional module list with the device parameter and version identification matches of request server;
According to the functional module list, synchronous functional module need to currently be done by filtering out;
Current synchronous functional module, the information of the synchronous functional module of request server need to be done for each;
According to the information of the functional module, synchronous function introduction need to currently be done by filtering out;
Current synchronous function introduction, the information of the synchronous function introduction of request server need to be done for each.
The first possible implementation with reference to first aspect, in second of possible implementation of first aspect, institute Stating functional module list includes first identity and first version mark of at least one functional module;
It is described that according to the functional module list, synchronous functional module need to currently be done by filtering out, including:
For each functional module in the functional module list:
The first identity pair for having with current functional module is searched whether in the local data base of the terminal The second edition mark answered;
If there is second edition mark, judge that the second edition is identified whether earlier than the first version mark Know;When second edition mark is identified earlier than the first version, it is determined that current functional module Xiang Weixu does synchronous work( Can module;
If there is no second edition mark, it is determined that current functional module Xiang Weixu does synchronous functional module.
With reference to second of possible implementation of first aspect, in first aspect in the third possible implementation, pin To each it is confirmed as that synchronous functional module need to be done in the case where identifying in the absence of the second edition, obtains function mould Second identity of all function introductions of device parameter described in block Xiang Zhongyu and version identification matches, and request server The synchronous information that item is introduced with the second identity corresponding function;
For each being confirmed as that synchronous functional module need to be done in the case where there is the second edition mark, holding Row is described need to currently to do synchronous functional module, the step of the information of the synchronous functional module of request server for each Suddenly.
The first possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect, institute Stating the information of functional module includes:The institute of device parameter described in functional module Xiang Zhongyu and version identification matches is functional to be situated between Continue item the second identity and the third edition this mark;
The information according to the functional module, synchronous function introduction need to currently be done by filtering out, including:
For each function introduction in each functional module:
The second identity pair for having with current function introduction is searched whether in the local data base of the terminal The fourth edition mark answered;
If there is fourth edition mark, judge that the fourth edition is identified whether earlier than this mark of the third edition Know;When fourth edition mark is earlier than this mark of the third edition, it is determined that current function introduction Xiang Weixu does synchronous work( Item can be introduced;
If there is no fourth edition mark, it is determined that current function introduction Xiang Weixu does synchronous function introduction.
With reference to first aspect the first or the third possible implementation, in the 5th kind of possible realization side of first aspect In formula, the device parameter of the terminal includes:System language and screen resolution;
It is described currently to do synchronous function introduction, the letter of the synchronous function introduction of request server for each Breath, including:
The introduction money of the synchronous function introduction corresponding with the system language and screen resolution, current of request server Material, the data of introducing includes:Document or picture;
History having stored in the local data base of the terminal, corresponding with current function introduction is introduced into data to delete Remove;
The reception server sends introducing data and storing for the current function introduction.
The first possible implementation with reference to first aspect, in the 6th kind of possible implementation of first aspect, institute Stating method also includes:
When obtaining the request server synchronization and the subsynchronous sheet of the device parameter and the file of version identification matches Between,
It regard this described lock in time as the same of the information of the information and the function introduction of the functional module The step time simultaneously stores.
With reference to the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation of first aspect, institute Stating method also includes:
By the local data memory storage of the terminal, lock in time earlier than this lock in time functional module Information and function introduction information deletion.
The first possible implementation with reference to first aspect, in the 8th kind of possible implementation of first aspect, institute Stating method also includes:
Obtain the operation requests that user introduces objective function item;
Judge the institute corresponding with the system language that the terminal is current that whether is stored with the local data base of the terminal State the information that objective function introduces item;
, please if the objective function corresponding with the system language that the terminal is current that is not stored with introduces the information of item The server sync objective function corresponding with the system language that the terminal is current is asked to introduce the information of item.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of file synchronisation method, applied in server, the side Method includes:
At least include in the synchronization request that receiving terminal is sent, the synchronization request:The device parameter of the terminal And the version identifier of operating system;
File with the device parameter and version identification matches is sent to the terminal according to the synchronization request.
With reference to second aspect, in second aspect in the first possible implementation, the file includes at least one Functional module, each functional module includes at least one function introduction;
It is described to be sent and the device parameter and version identification matches to the terminal according to the synchronization request File, including:
Function with the device parameter and version identification matches is sent to the terminal according to the synchronization request Module list, the functional module list includes first identity and first version mark of at least one functional module Know;
Receive and at least wrapped in the functional module synchronization request that the terminal is sent, the functional module synchronization request Include:The terminal is filtered out according to the list of the functional module need to currently do the first identity mark of synchronous functional module Know;
According to the functional module synchronization request, sent and the first identity corresponding function mould to the terminal The information of block;The information of the functional module includes:Device parameter and version identifier described in functional module Xiang Zhongyu Second identity of all function introductions for matching somebody with somebody and the third edition this mark;
Receive and at least wrapped in the function introduction synchronization request that the terminal is sent, the function introduction synchronization request Include:The terminal goes out according to the information sifting of the functional module need to currently do the second identity mark of synchronous function introduction Know;
According to the function introduction synchronization request, send and be situated between with the second identity corresponding function to the terminal Continue the information of item.
The first possible implementation with reference to second aspect, in second of possible implementation of second aspect, institute State according to the synchronization request to terminal transmission and the device parameter and the file of version identification matches, also wrap Include:
According to the functional module synchronization request, judge to whether there is and first identity pair in the terminal The functional module answered;
It is same according to the functional module if functional module corresponding with first identity is not present in terminal Step request, to the terminal send with the first identity corresponding function module, with the device parameter and version The information of all function introductions of mark matching;
If there is functional module corresponding with first identity in terminal, perform described according to the function mould Block synchronization request, the step of sending the information with the first identity corresponding function module to the terminal.
With reference to second aspect the first or second of possible implementation, the third possible realization side in second aspect The device parameter of terminal described in formula includes:System language and screen resolution;
The information of item is introduced to the terminal sending function, including:
System language described in Xiang Zhongyu is introduced to the terminal sending function and screen resolution is corresponding introduces data, institute Giving an account of the data of continuing includes:Document or picture.
The first possible implementation with reference to second aspect, described in the 4th kind of possible implementation of second aspect The device parameter of terminal includes:System language;
Methods described also includes:
Receive the terminal and send the synchronizing information request for introducing target function items;
According to described information synchronization request, send corresponding with the system language that the terminal is current described to the terminal Objective function introduces the information of item.
With reference to second aspect, method also includes described in the 5th kind of possible implementation of second aspect:
Include in receiving module operation requests, the functional module operation requests:The first of functional module Identity;
The type of the functional module operation requests is determined, the type of the functional module operation requests includes:Add Plus functional module type, modification functional module type or deletion functional module type;
If addition functional module type, obtain with the first identity corresponding function module, and will be with The first version mark of the first identity corresponding function module is set to initial value;
If modification functional module type, according to the functional module operation requests pair and the first identity mark Know corresponding function module to modify, and change the first version mark with the first identity corresponding function module Know;
, will functional module corresponding with first identity and corresponding if deleting functional module type All function introductions are deleted.
With reference to second aspect, in the 6th kind of possible implementation of second aspect, methods described also includes:
Receive capabilities are introduced to be included in item operation requests, the function introduction operation requests:The second of function introduction Identity;
The type of the function introduction operation requests is determined, the type of the function introduction operation requests includes:Add Plus function introduction type, modification function introduction type or deletion function introduction type;
If addition function introduction type, obtain and introduce item with the second identity corresponding function, and will be with This mark of the third edition of the second identity corresponding function introduction is set to initial value;
If modification function introduction type, according to the function introduction operation requests pair and the second identity mark Know corresponding function introduction to modify, and change the second edition mark that item is introduced with the second identity corresponding function Know;
, will function introduction entry deletion corresponding with second identity if function introduction type is deleted.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of file synchronizer, applied in terminal, described device Including:
First acquisition unit, for obtaining the device parameter of the terminal and the version identifier of operating system;
File request unit, for request server synchronization and the device parameter and the file of version identification matches;
File reception unit, for the reception server transmission and the device parameter and the file of version identification matches.
With reference to the third aspect, in the third aspect in the first possible implementation, the file includes at least one Functional module, each functional module includes at least one function introduction;
The file request unit, including:
Functional module list request unit, for request server synchronization and the device parameter and version identification matches Functional module list;
First screening unit, for according to the functional module list, synchronous functional module need to currently to be done by filtering out ;
Functional module information request unit, for for each need to currently do synchronous functional module, request service The information of the synchronous functional module of device;
Second screening unit, for the information according to the functional module, synchronous function Jie need to be currently by filtering out Continue item;
First function introduction information request unit, for for each need to currently do synchronous function introduction, request The information of server sync function introduction.
The first possible implementation with reference to the third aspect, in second of possible implementation of the third aspect, institute Stating functional module list includes first identity and first version mark of at least one functional module;
First screening unit, including:
First searching unit, for searching whether exist and current functional module in the local data base of the terminal The first identity corresponding second edition mark;
First judging unit, for when there is the second edition mark, judging that the second edition identifies whether morning In first version mark;
First functional module determining unit, for when second edition mark is identified earlier than the first version, It is determined that current functional module Xiang Weixu does synchronous functional module;
Second functional module determining unit, for when being identified in the absence of the second edition, it is determined that current function mould Block Xiang Weixu does synchronous functional module.
With reference to second of possible implementation of the third aspect, in the third aspect in the third possible implementation, institute Stating file request unit includes:
Second identity acquiring unit, for for each in the absence of the second edition identify in the case of it is true Synchronous functional module need to be done by being set to, and the institute for obtaining device parameter described in functional module Xiang Zhongyu and version identification matches is active The second identity of item can be introduced;
Second function introduction information request unit, for according to request server synchronization and second identity pair Answer the information of function introduction;
The functional module information request unit is used for for each in the case where there is the second edition mark It is confirmed as doing synchronous functional module and performs operation.
The third possible implementation with reference to the third aspect, in the 4th kind of possible implementation of the third aspect, institute Stating the information of functional module includes:The institute of device parameter described in functional module Xiang Zhongyu and version identification matches is functional to be situated between Continue item the second identity and the third edition this mark;
Second screening unit, including:
Second searching unit, for searching whether exist and current function introduction in the local data base of the terminal The second identity corresponding fourth edition mark;
Second judging unit, for when there is the fourth edition mark, judging that the fourth edition identifies whether morning In this mark of the third edition;
First function introduction determining unit, for when fourth edition mark is earlier than this mark of the third edition, It is determined that current function introduction Xiang Weixu does synchronous function introduction;
Second function introduction determining unit, for when being identified in the absence of the fourth edition, it is determined that current function is situated between The Xiang Weixu that continues does synchronous function introduction.
With reference to the third aspect the first or the third possible implementation, in the 5th kind of possible realization side of the third aspect In formula, the device parameter of the terminal includes:System language and screen resolution;
The first function introduction information request unit and/or the second function introduction information request unit include:
First introduces data request unit, synchronous corresponding with the system language and screen resolution for request server , current function introduction introduce data, the data of introducing includes:Document or picture;
Introduce data delete unit, for by it is having been stored in the local data base of the terminal, with current function introduction The corresponding history of item introduces data deletion;
Data memory unit is introduced, introducing data and depositing for the current function introduction is sent for the reception server Storage.
With reference to the 5th kind of possible implementation of the third aspect, in the 6th kind of possible implementation of the third aspect, institute Stating device also includes:
Lock in time acquiring unit, for obtaining the request server synchronization and the device parameter and version identifier This lock in time for the file matched somebody with somebody,
Lock in time processing unit, for regarding this described lock in time as the information of the functional module and described The lock in time of the information of function introduction and storage.
With reference to the 6th kind of possible implementation of the third aspect, in the 7th kind of possible implementation of the third aspect, institute Stating device also includes:
Unit is deleted, for after the information of the synchronous function introduction of request server is successful, by the sheet of the terminal Ground datarams storage, lock in time are earlier than the information of the functional module of this lock in time and the letter of function introduction Breath is deleted.
The first possible implementation with reference to the third aspect, in the 8th kind of possible implementation of the third aspect, institute Stating device also includes:
Operation requests acquiring unit, the operation requests of item are introduced objective function for obtaining user;
Whether it is stored with information judging unit, the local data base for judging the terminal current with the terminal The corresponding objective function of system language introduces the information of item;
Second introduces data request unit, for when the objective function corresponding with the system language that the terminal is current When introducing the information of item, the synchronous objective function corresponding with the system language that the terminal is current of request server introduces item Information.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of file synchronizer, applied in server, including:
In synchronization request receiving unit, the synchronization request sent for receiving terminal, the synchronization request extremely Include less:The device parameter of the terminal and the version identifier of operating system;
File transmitting element, for being sent and the device parameter and version to the terminal according to the synchronization request The file of this mark matching.
With reference to fourth aspect, in fourth aspect in the first possible implementation, the file includes at least one Functional module, each functional module includes at least one function introduction;
The file transmitting element, including:
Functional module list transmitting element, sets for being sent according to the synchronization request to the terminal with described The functional module list of standby parameter and version identification matches, the functional module list includes at least one functional module The first identity and first version mark;
Functional module synchronization request receiving unit, for receiving the functional module synchronization request that the terminal is sent, At least include in the functional module synchronization request:The terminal filters out current need according to the list of the functional module Do the first identity of synchronous functional module;
Functional module information transmitting unit, for according to the functional module synchronization request, being sent to the terminal With the information of the first identity corresponding function module;The information of the functional module includes:The functional module In with the second identity of all function introductions of the device parameter and version identification matches and the third edition this mark;
Function introduction synchronization request receiving unit, for receiving the function introduction synchronization request that the terminal is sent, At least include in the function introduction synchronization request:The terminal goes out current need according to the information sifting of the functional module Do the second identity of synchronous function introduction;
First function introduction information transmitting unit, for according to the function introduction synchronization request, to the terminal Send the information that item is introduced with the second identity corresponding function.
The first possible implementation with reference to fourth aspect, in second of possible implementation of fourth aspect, institute Stating file transmitting element also includes:
Judging unit, for according to the functional module synchronization request, judge in the terminal with the presence or absence of with it is described The corresponding functional module of first identity;
First function introduction information transmitting unit, for corresponding with first identity when being not present in terminal During functional module, according to the functional module synchronization request, work(corresponding with first identity is sent to the terminal Information in energy module, with the device parameter and all function introductions of version identification matches;
The functional module information transmitting unit is used for there is work(corresponding with first identity when terminal is interior Operation can be performed during module.
With reference to second of fourth aspect or the third possible implementation, the third possible realization side in fourth aspect In formula, the device parameter of the terminal includes:System language and screen resolution;
The first function introduction information transmitting unit and/or the second function introduction information transmitting unit, including:
Data transmitting element is introduced, for introducing system language described in Xiang Zhongyu and screen point to the terminal sending function Resolution is corresponding to introduce data, and the data of introducing includes:Document or picture.
With reference to second of possible implementation of fourth aspect, in the 4th kind of possible implementation of fourth aspect, institute Stating the device parameter of terminal includes:System language;
Described device also includes:
Synchronizing information request reception unit, the synchronizing information that function items are introduced target for receiving the terminal transmission please Ask;
Information transmitting unit, for according to described information synchronization request, sends current with the terminal to the terminal The corresponding objective function of system language introduces the information of item.
With reference to fourth aspect, in the 5th kind of possible implementation of fourth aspect, functional module operation requests are received Unit, for receiving module operation requests, includes in the functional module operation requests:The first of functional module Identity;
Functional module operation requests type determining units, the type for determining the functional module operation requests, The type of the functional module operation requests includes:Add functional module type, modification functional module type or deletion Functional module type;
Functional module adding device, for if addition functional module type, obtaining and the first identity mark Know corresponding function module, and will be set to the first version of the first identity corresponding function module mark initial Value;
Functional module modification unit, for if modification functional module type, being grasped according to the functional module Make request pair to modify with the first identity corresponding function module, and change corresponding with first identity The first version mark of functional module;
Functional module entry deletion unit, will be with first identity for if functional module type is deleted Corresponding functional module and corresponding all function introductions are deleted.
With reference to fourth aspect, in the 6th kind of possible implementation of fourth aspect, described device also includes:
Function introduction operation requests receiving unit, item operation requests, the function introduction are introduced for receive capabilities Include in operation requests:Second identity of function introduction;
Function introduction operation requests type determining units, the type for determining the function introduction operation requests, The type of the function introduction operation requests includes:Add function introduction type, modification function introduction type or deletion Function introduction type;
Function introduction adding device, for if addition function introduction type, obtaining and the second identity mark Know corresponding function and introduce item, and this mark with the third edition of the second identity corresponding function introduction is set to initially Value;
Function introduction modification unit, for if modification function introduction type, being grasped according to the function introduction Make request pair to modify with the second identity corresponding function introduction, and change corresponding with second identity The second edition mark of function introduction;
Function introduction entry deletion unit, will be with second identity for if function introduction type is deleted Corresponding function introduction entry deletion.
According to the 5th of the embodiment of the present disclosure the aspect there is provided a kind of terminal, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the device parameter of the terminal and the version identifier of operating system;
Request server synchronization and the device parameter and the file of version identification matches;
The reception server send with the device parameter and the file of version identification matches.
According to the 6th of the embodiment of the present disclosure the aspect there is provided a kind of server, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
At least include in the synchronization request that receiving terminal is sent, the synchronization request:The device parameter of the terminal And the version identifier of operating system;
File with the device parameter and version identification matches is sent to the terminal according to the synchronization request.
The technical scheme provided by this disclosed embodiment can include the following benefits:
This document synchronous method, when needing to synchronize the file in terminal, the equipment that terminal can be obtained first The version identifier of parameter and operating system, then only asks relative with the version identifier of device parameter and operating system to server The file answered, and then in each update, only update corresponding with the device parameter of terminal and the version identifier of operating system File, the file without updating all system versions reduces the quantity that terminal obtains file so that consumed during more new file Time and the Internet resources of occupancy reduce, and the inner capacities of file of terminal memory storage is greatly reduced, improved eventually Hold the utilization rate of memory space.
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 a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 6 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 7 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 8 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Fig. 9 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Figure 10 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Figure 11 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Figure 12 is a kind of flow chart of file synchronisation method according to an exemplary embodiment.
Figure 13 is a kind of schematic diagram of a scenario according to an exemplary embodiment.
Figure 14 is a kind of signaling diagram of file synchronisation method according to an exemplary embodiment.
Figure 15 is a kind of block diagram of file synchronizer according to an exemplary embodiment.
Figure 16 is a kind of block diagram of file synchronization according to an exemplary embodiment.
Figure 17 is a kind of block diagram of mobile terminal for file synchronisation method according to an exemplary embodiment.
Figure 18 is a kind of block diagram of server for file synchronisation method according to an exemplary embodiment.
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 a kind of flow chart of file synchronisation method according to an exemplary embodiment, as shown in figure 1, this article Part synchronous method is used in terminal, comprises the following steps.
In step S101, the device parameter of the terminal and the version identifier of operating system are obtained.
In the disclosed embodiments, the device parameter of terminal can be the parameters such as type, screen resolution, system language, The version identifier of operating system refers to the version number for the operating system that present terminal is used.
In step s 102, request server synchronization and the device parameter and the file of version identification matches.
Terminal can generate synchronization request, and this document synchronization request is sent to server.Please in file synchronization The device parameter of terminal and the version identifier of operating system are carried in asking.
In step s 103, the reception server send with the device parameter and the file of version identification matches.
After server receives synchronization request, it can be searched and device parameter and version according to synchronization request The file matched is identified, and the file of lookup is sent to terminal.
If to play the synchronous for application scenarios of machine handbook, this document synchronous method, when needing to playing machine handbook in terminal In content when synchronizing, the device parameter of terminal and the version identifier of operating system can be obtained first, then only to clothes Device of being engaged in asks the file corresponding with the version identifier of device parameter and operating system, and then in each update, only update and The device parameter of the terminal object for appreciation machine handbook content corresponding with the version identifier of operating system, without updating all system versions Object for appreciation machine handbook content, reduce the quantity that terminal obtains object for appreciation machine handbook content so that consumed when updating object for appreciation machine handbook content The Internet resources of time and occupancy are reduced, and the inner capacities of the object for appreciation machine handbook of terminal memory storage is greatly reduced, and are improved The utilization rate of terminal storage space.
Fig. 2 is a kind of flow chart of file synchronisation method according to an exemplary embodiment, as shown in Fig. 2 this article Part synchronous method is used in terminal, comprises the following steps.
In step s 201, the device parameter of the terminal and the version identifier of operating system are obtained.
In step S202, the synchronous functional module with the device parameter and version identification matches of request server is arranged Table.
The terminal normally used, is generally provided with one or more APP in the system of terminal.In the embodiment of the present disclosure In, can be using each APP in terminal as One function module, and by each APP for playing machine handbook Need the function of introducing all to introduce item as One function, so when needing to synchronize to playing machine handbook, be actually Synchronized to functional module or function introduction in object for appreciation machine handbook or simultaneously to functional module and function introduction item.
Ginseng is shown in Table 1, and is the signal of functional module in mobile phone in table.
Table 1:
Ginseng is shown in Table 2, and is the signal of function introduction in Common software in table.
Table 2:
By the renewal of system operator or software operation business, the version of the various APP stored up in server memory introduction All it is generally newest, so, when needing to be updated the functional module item played in machine handbook, in this step first Being obtained from server has newest functional module inventory in functional module list, the functional module list.
In the disclosed embodiments, the functional module list includes first identity of at least one functional module With first version mark, each functional module includes at least one function introduction.
In step S203, according to the functional module list, synchronous functional module need to currently be done by filtering out.
In the disclosed embodiments, for each functional module in the functional module list, as shown in figure 3, Step S203 may comprise steps of:
In step S2031, search whether exist and current functional module in the local data base of the terminal The corresponding second edition mark of first identity;
If there is second edition mark, in step S2032, judge that the second edition is identified whether earlier than institute State first version mark.
In the step, judge that the second edition identifies whether to identify earlier than first version, in order to determine in terminal Whether the version of functional module is old version.In the disclosure, version identifier can be version number, and version number can be with Represented according to one or more specific fields, the character sortord in each specific fields is fixed, for example:Android system Version number is according to by early as shown in table 3 respectively to evening, it is seen then that version number " Android3.0 " will be earlier than version number “Android4.0”。
Table 3:
Sequence Version number
1 Android1.1
2 Android1.5
3 Android1.6
4 Android2.0
5 Android2.2
6 Android2.3
7 Android3.0
8 Android4.0
In disclosure other embodiments, other manner can also be used, for example:Local function module release number is corresponding Issuing time issuing time corresponding with objective function module release number, to judge local function module release number whether earlier than mesh Functional module version number is marked, be will not enumerate in the disclosure, it will be recognized by those skilled in the art that these belong to this public affairs The protection domain opened.
When second edition mark is identified earlier than the first version, in step S2033, it is determined that current function mould Block Xiang Weixu does synchronous functional module.
Second edition mark is earlier than first version mark, and it is history version to illustrate the version of functional module in i.e. terminal This, the version of the functional module item is redaction in server, so this functional module needs to do synchronous function mould Block.On the contrary, when functional module in server version identifier earlier than or equal in terminal functional module version identifier, It is redaction so to illustrate the functional module in terminal, without synchronization, terminates flow, next functional module is sentenced It is disconnected.
If there is no second edition mark, in step S2034, it is determined that current functional module Xiang Weixu does synchronization Functional module.
For some functional module, identified if the corresponding second edition is not present in terminal, illustrate this Functional module is a brand-new functional module for terminal, so being also required to synchronize, such as:It is peace in mobile phone The software of dress, in the embodiment of the present disclosure, server can be the cloud storage space of user, and brand-new functional module can be user The APP downloaded in cloud storage space, and be not installed in terminal, and all uninstalled APP of non-pointer opponent's machine.
Because all functional modules in the functional module list of acquisition are all to be with terminal device parameter and operation The version identifier of system, and then by the step, when the content to playing machine handbook is synchronized, can selectively it is synchronous those Meet terminal, and version is more early or non-existent functional module in terminal, rather than own every time to playing machine handbook Functional module is all synchronized, and the synchronous degree of accuracy is high, is reduced unrelated or without the same of synchronous functional module item with terminal Step amount, therefore, it can to shorten to playing the machine handbook synchronous time, the Internet resources of occupancy are reduced, and improve synchronous efficiency.
In step S204, current synchronous functional module, the synchronous function mould of request server need to be done for each The information of block.
The information of functional module includes:Device parameter described in functional module Xiang Zhongyu and version identification matches it is all Second identity of function introduction and the third edition this mark.
Similarly, since the renewal of system operator or software operation business, the various APP stored up in server memory introduction Version is generally all newest, so, when function introduction item is updated in needing to object for appreciation machine handbook, in this step first The content for having newest function introduction in the information of function introduction, the information of the function introduction is obtained from server.
In step S205, according to the information of the functional module, synchronous function introduction need to currently be done by filtering out.
In the disclosed embodiments, for each function introduction in each functional module, as shown in figure 4, Step S205 may comprise steps of:
In step S2051, search whether exist and current function introduction in the local data base of the terminal The corresponding fourth edition mark of second identity;
If there is fourth edition mark, in step S2052, judge that the fourth edition is identified whether earlier than institute State the third edition this mark.
When fourth edition mark is earlier than this mark of the third edition, in step S2053, it is determined that current function is situated between The Xiang Weixu that continues does synchronous function introduction.
Referring to the description in above-mentioned steps S2033, it is known that, in step S2052, when judge fourth edition mark earlier than This mark of the third edition, the version for illustrating the function introduction in server is redaction, so needing to corresponding work(in terminal Item can be introduced to synchronize.
If there is no fourth edition mark, in step S2054, it is determined that current function introduction Xiang Weixu does synchronization Function introduction.
Referring to above-mentioned steps S2034 description, it is known that, in step S2051, when judge in terminal be not present fourth edition This mark, it is a brand-new function introduction for terminal to illustrate the function introduction, for example:Certain a software upgrading The One function increased newly afterwards.
By the step, when the content to playing machine handbook is synchronized, can selectively it is synchronous those meet terminal , and version is more early or non-existent function introduction in terminal, rather than every time to playing each functional module of machine handbook All function introductions in are all synchronized, for example:When adding One function after some software upgrading, and the software is removed Other functions outside New function are all to change, so just without being updated to other functions beyond the New function.Thus So that the synchronous degree of accuracy is high, reduce and terminal is unrelated or synchronization amount without synchronous functional module, therefore, it can so that pair The object for appreciation machine handbook synchronous time shortens, and the Internet resources of occupancy are reduced, and improve synchronous efficiency.
In step S206, for it is each it is current need to do synchronous function introduction, the synchronous function of request server is situated between Continue the information of item.
In the disclosed embodiments, as shown in figure 5, step S206 may comprise steps of:
In step S2061, the synchronous function corresponding with the system language and screen resolution, current of request server That introduces item introduces data.
In the disclosed embodiments, the data of introducing includes:Document or picture.
, will be having been stored in the local data base of the terminal, corresponding with current function introduction in step S2062 History introduces data deletion.
After data is introduced in the synchronous current function introduction of step S2061 middle terms server request, then current with this The corresponding history of function introduction, which introduces data, can just delete, to improve the utilization rate of terminal storage space.
In step S2063, the reception server sends introducing data and storing for the current function introduction.
For the terminal of limited storage space, first carry out step S2062, can receive it is new introduce data before Memory space is cleaned out, new data is introduced to store.But in disclosure other embodiments, when terminal memory space compared with When rich, above-mentioned steps S2062 can also be carried out after step S2063, can also so be avoided history from introducing data and be deleted After removing, once new introduces data synchronization failure, and cause there is no any available awkward problem for introducing data in terminal.
In another embodiment of the disclosure, when above-mentioned steps S2031 judged result is:In the local data of the terminal The second edition corresponding with the first identity of current functional module is not present in storehouse to identify, as shown in fig. 6, this method is also It may comprise steps of:
In step S207, functional Jie of the institute of device parameter described in functional module Xiang Zhongyu and version identification matches is obtained Continue the second identity of item;
In step S208, according to second identity, request server synchronization and second identity pair Answer the information of function introduction.
And when above-mentioned steps S2031 judged result is:Exist and current function in the local data base of the terminal The corresponding second edition mark of the first identity of module, and after step S2033, then carry out step S204.
It is different from the information that function introduction is obtained above by step S205~S206, sentence when in step S2031 During the disconnected mark in the absence of the second edition, it is a brand-new functional module for terminal to illustrate current functional module, So just without being screened by step S205, but all function introductions that directly can include current functional module item In, then all function introductions with the device parameter and version identification matches, directly synchronize.
In another embodiment of the disclosure, on the basis of any one above-mentioned method example, as shown in fig. 7, this method It can also comprise the following steps:
In step S301, the request server synchronization and the device parameter and the file of version identification matches are obtained This lock in time.
, can be by the step in order to record the time synchronous to playing machine handbook every time, the minute book subsynchronous time.Request Server sync and this lock in time of the device parameter and the file of version identification matches, can be to be sent to server System time during synchronization request.In addition, being this using the time for sending synchronization request as this lock in time A disclosed concrete application embodiment, in disclosure other embodiments, it is contemplated that generally when object for appreciation machine handbook is synchronized, All be that object for appreciation machine handbook is opened by user or is triggered during system upgrade process, thus user can also be opened object for appreciation machine handbook or System time during system upgrade is used as this lock in time.
In step s 302, using this described lock in time as the functional module information and the function introduction The lock in time of the information of item and storage.
In the disclosed embodiments, can be using this lock in time as an attribute information, the letter with functional module The information of breath and function introduction is collectively stored in this database of terminal.
In addition, the utilization rate in order to further improve terminal storage space, on the basis of embodiment described in Fig. 7, such as Fig. 8 Shown, this method can also comprise the following steps.
In step S303, by the local data memory storage of the terminal, lock in time it is subsynchronous earlier than described when Between functional module information and the information deletion of function introduction.
In disclosure other embodiments, the deletion of the information of information and function introduction item to functional module may be used also Carried out with separated, for example:It is synchronous in each function introduction for the difference in functionality in each functional module introduces item After the completion of, it is possible to by the local data memory storage of terminal, lock in time earlier than this lock in time function introduction The information deletion of item, and for each functional module, can be in the interior all function introduction Xiang Doutong of the functional module After the completion of step, then the local data memory storage of terminal, lock in time are earlier than the functional module of this lock in time Information deletion.
In an application scenarios, terminal in use, it is possible that system language change situation, then such as Fruit system language change after, play machine handbook memory storage, content corresponding with original system language will become useless, be This, in disclosure one embodiment, on the basis of any one above-mentioned method example, as shown in figure 9, this method can be with Comprise the following steps.
In step S401, the operation requests that user introduces objective function item are obtained.
After the operation requests can change for the system language of terminal, user first switches on object for appreciation machine handbook, or, opens object for appreciation Some in machine handbook introduces content, further, it is also possible to which after changing for the system language of terminal, machine handbook is played in customer upgrade.
In step S402, the system current with the terminal that whether be stored with the local data base of the terminal is judged The corresponding objective function of language introduces the information of item.
If the objective function corresponding with the system language that the terminal is current that is not stored with introduces the information of item, In step S403, the synchronous objective function corresponding with the system language that the terminal is current of request server introduces the letter of item Breath.Otherwise, terminate flow, and carry out carrying out follow-up other operations using the information of the objective function of storage.
This method, can be individually for some function introduction or all function introductions after system language change , server separately is requested and updates that function introduction that the system language current with terminal match is corresponding to introduce money again Material, to facilitate user after system language change, the content in object for appreciation machine handbook can also be read in time.
Figure 10 is a kind of flow chart of file synchronisation method according to an exemplary embodiment, as shown in Figure 10, should File synchronisation method is used in server, comprises the following steps.
In step S501, the synchronization request that receiving terminal is sent.
At least include in the synchronization request:The device parameter of the terminal and the version identifier of operating system.
In step S502, sent and the device parameter and version mark to the terminal according to the synchronization request Know the file of matching.
This document synchronous method, when the content to being played in terminal in machine handbook is synchronized, only can send to terminal The object for appreciation machine handbook content corresponding with the device parameter of terminal and the version identifier of operating system, without updating all system versions This object for appreciation machine handbook content, reduces the quantity that terminal obtains object for appreciation machine handbook content so that consumed when updating object for appreciation machine handbook content Time and the Internet resources of occupancy reduce, and the inner capacities of object for appreciation machine handbook of terminal memory storage is greatly reduced, carried The utilization rate of high terminal storage space.
Figure 11 is a kind of flow chart of file synchronisation method according to an exemplary embodiment, as shown in figure 11, should File synchronisation method is used in server, comprises the following steps.
In step s 601, the synchronization request that receiving terminal is sent.
In step S602, sent and the device parameter and version mark to the terminal according to the synchronization request Know the functional module list of matching.
The functional module list includes first identity and first version mark of at least one functional module.
The terminal normally used, is generally provided with one or more APP in the system of terminal.In the embodiment of the present disclosure In, can be using each APP in terminal as One function module, and by each APP for playing machine handbook Need the function of introducing all to introduce item as One function, so when needing to synchronize to playing machine handbook, be actually Synchronized to functional module or function introduction in object for appreciation machine handbook or simultaneously to functional module and function introduction item.
By the renewal of system operator or software operation business, the version of the various APP stored up in server memory introduction All it is generally newest.In addition, in the disclosed embodiments, the functional module list includes at least one functional module First identity and first version mark, each functional module include at least one function introduction.
In step S603, the functional module synchronization request that the terminal is sent is received.
At least include in functional module synchronization request:The terminal is filtered out according to the list of the functional module to be worked as It is preceding to do the first identity of synchronous functional module.
In step s 604, according to the functional module synchronization request, sent and first identity to the terminal Identify the information of corresponding function module.
The information of functional module includes:Device parameter described in functional module Xiang Zhongyu and version identification matches it is all Second identity of function introduction and the third edition this mark.
In step S6O5, the function introduction synchronization request that the terminal is sent is received.
At least include in function introduction synchronization request:The terminal goes out to work as according to the information sifting of the functional module It is preceding to do the second identity of synchronous function introduction.
In step S606, according to the function introduction synchronization request, sent and second identity to the terminal Mark corresponding function introduces the information of item.
This method can selectively it is synchronous those meet terminal, and version is more early or non-existent function in terminal Module item, rather than all functional modules to object for appreciation machine handbook are all synchronized every time, the synchronous degree of accuracy is high, reduces and whole Hold unrelated or measured without the synchronous of synchronous functional module, therefore, it can to shorten to playing the machine handbook synchronous time, account for Internet resources are reduced, and improve synchronous efficiency.
In the disclosure another embodiment, as shown in figure 12, this method can also comprise the following steps:
In step S607, according to the functional module synchronization request, judge in the terminal with the presence or absence of with it is described The corresponding functional module of first identity.
If functional module corresponding with first identity is not present in terminal, in step S608, according to institute State functional module synchronization request, to the terminal send with the first identity corresponding function module item, with it is described The information of device parameter and all function introductions of version identification matches.
And if when there is functional module corresponding with first identity in terminal, performing above-mentioned steps S604.
In disclosure one embodiment, when the device parameter of the terminal includes:When system language and screen resolution, Above-mentioned steps S606 or step S608 may comprise steps of:
System language described in Xiang Zhongyu is introduced to the terminal sending function and screen resolution is corresponding introduces data, institute Giving an account of the data of continuing includes:Document or picture.
In addition, in another embodiment of the disclosure, when the device parameter of the terminal includes:During system language, this method It can also comprise the following steps:
11), receive the terminal and send the synchronizing information request for introducing target function items.
12), according to described information synchronization request, send corresponding with the system language that the terminal is current to the terminal The objective function introduces the information of item.
In addition, functional module and function introduction that product manager can also store up for server memory, are adjusted, For example:Addition new functional module and function introduction, or, functional module and function introduction are deleted, or, modification The content of functional module and function introduction.Therefore, in the embodiment of the present disclosure, for functional module, this method can be with Comprise the following steps:
21), receiving module operation requests.
Include in the functional module operation requests:First identity of functional module.
22) type of the functional module operation requests, is determined.
The type of the functional module operation requests includes:Add functional module type, modification functional module class Type deletes functional module type.
23), if addition functional module type, obtain and the first identity corresponding function module, and Initial value will be set to the first version of the first identity corresponding function module mark
24), if modification functional module type, according to the functional module operation requests pair and first body Part mark corresponding function module is modified, and changes the first version with the first identity corresponding function module item Mark.
25), will functional module corresponding with first identity and right, if deleting functional module type All function introductions answered are deleted
In another embodiment of the disclosure, for function introduction, this method can also comprise the following steps:
31), receive capabilities introduce item operation requests.
Include in the function introduction operation requests:Second identity of function introduction.
32) type of the function introduction operation requests, is determined.
The type of the function introduction operation requests includes:Add function introduction type, modification function introduction class Type deletes function introduction type.
33), if addition function introduction type, obtain and introduce item with the second identity corresponding function, and This mark with the third edition of the second identity corresponding function introduction is set to initial value.
34), if modification function introduction type, according to the function introduction operation requests pair and second body Part mark corresponding function introduction is modified, and changes the second edition that item is introduced with the second identity corresponding function Mark.
35), if function introduction type is deleted, function introduction corresponding with second identity is deleted Remove.
Schematic diagram of a scenario shown in Figure 13, being provided for the embodiment of the present disclosure, figure includes:Terminal 1, the kimonos of base station 3 It is engaged between device 2, and terminal 1 and server 2 that wireless signal connection can be carried out by base station 3.And terminal 1 and server 2 Between signaling process figure it is shown in Figure 14.
Same steps in embodiment of the method shown in above-mentioned Fig. 1-Figure 12, distinct methods embodiment can be referred to mutually, The scheme that different step in distinct methods embodiment can be obtained with independent assortment, and after combining, falls within the guarantor of the disclosure Protect scope.
Figure 15 is a kind of block diagram of file synchronizer according to an exemplary embodiment.The device is applied to terminal In, reference picture 15, the device includes first acquisition unit 11, file request unit 12 and file reception unit 13.
The first acquisition unit 11 is configured as obtaining the device parameter of the terminal and the version identifier of operating system;
It is synchronous with the device parameter and version identification matches that this document request unit 12 is configured as request server File;
This document receiving unit 13 be configured as the reception server transmission with the device parameter and version identification matches File.
This document sychronisation, when needing to synchronize the content played in terminal in machine handbook, can be obtained first The device parameter of terminal and the version identifier of operating system, then only to server request and device parameter and the version of operating system The corresponding file of this mark, and then in each update, only update the device parameter and the version mark of operating system with terminal Sensible corresponding object for appreciation machine handbook content, the object for appreciation machine handbook content without updating all system versions reduces terminal and obtains object for appreciation The quantity of machine handbook content so that the Internet resources for updating the time consumed during object for appreciation machine handbook content and occupancy are reduced, and So that the inner capacities of the object for appreciation machine handbook of terminal memory storage greatly reduces, the utilization rate of terminal storage space is improved.
In disclosure one embodiment, file includes at least one functional module, each functional module Including at least one function introduction, this document request unit 12 includes:
Functional module list request unit is configured as request server synchronization and the device parameter and version identifier The functional module list of matching;
First screening unit is configured as according to the functional module list, and synchronous function mould need to currently be done by filtering out Block;
Functional module information request unit is configured as currently doing synchronous functional module, request clothes for each The information of synchronous functional module of device of being engaged in;
Second screening unit is configured as the information according to the functional module, and synchronous function need to currently be done by filtering out Introduce item;
First function introduction information request unit is configured as currently doing synchronous function introduction for each, please Seek the information of server sync function introduction.
In disclosure one embodiment, functional module list includes the first identity mark of at least one functional module Know and first version mark, the first screening unit includes:
First searching unit is configured as searching whether exist and current function mould in the local data base of the terminal The corresponding second edition mark of the first identity of block;
When first judging unit is configured as existing the second edition mark, judge that the second edition is identified whether Earlier than first version mark;
First functional module determining unit is configured as the second edition mark earlier than first version mark When, it is determined that current functional module Xiang Weixu does synchronous functional module;
When second functional module determining unit is configured as being not present second edition mark, it is determined that current function Module Xiang Weixu does synchronous functional module.
In disclosure one embodiment, this document request unit 12 also includes:
Second identity acquiring unit is configured as each in the case where being identified in the absence of the second edition It is confirmed as that synchronous functional module need to be done, obtains the institute of device parameter and version identification matches described in functional module Xiang Zhongyu Functional the second identity for introducing item;
Second function introduction information request unit is configured as request server synchronization and second identity pair Answer the information of function introduction.
The functional module information request unit is additionally configured to there is the second edition mark for each In the case of be confirmed as doing synchronous functional module, the information of the synchronous functional module of request server.
In another embodiment of the disclosure, the information of functional module includes:Equipment described in functional module Xiang Zhongyu is joined Second identity of all function introductions of number and version identification matches and the third edition this mark, second screening unit can With including:
Second searching unit is configured as searching whether to exist in the local data base of the terminal being situated between with current function Continue the second identity corresponding fourth edition mark of item;
When second judging unit is configured as existing the fourth edition mark, judge that the fourth edition is identified whether Earlier than this mark of the third edition;
First function introduction determining unit is configured as the fourth edition mark earlier than this mark of the third edition When, it is determined that current function introduction Xiang Weixu does synchronous function introduction.
When second function introduction determining unit is configured as being not present fourth edition mark, it is determined that current function Introduce Xiang Weixu and do synchronous function introduction.
In disclosure one embodiment, the device parameter of the terminal includes:System language and screen resolution;
First function introduction information request unit and/or the second function introduction information request unit can include:
First, which introduces data request unit, is configured as request server synchronization and the system language and screen resolution Corresponding, current function introduction introduces data, and the data of introducing includes:Document or picture;
Data deletion unit is introduced to be configured as stored in the local data base of the terminal and current function being situated between The corresponding history of the item that continues introduces data deletion;
That introduces that data memory unit is configured as that the reception server sends the current function introduction introduces data simultaneously Storage.
In disclosure one embodiment, the device can also include:
Lock in time acquiring unit is configured as obtaining the request server synchronization and the device parameter and version mark Know this lock in time of the file of matching,
Lock in time processing unit be configured as this described lock in time as the information of the functional module and The lock in time of the information of the function introduction and storage.
Gone after lock in time on the basis of unit and lock in time processing unit, the device can also include:
Delete unit to be configured as after the information success of the synchronous function introduction of request server, by the terminal Local data memory storage, lock in time are earlier than the information and function introduction of the functional module of this lock in time Information deletion.
In addition, in another embodiment of the disclosure, the device can also include:
Operation requests acquiring unit is configured as obtaining the operation requests that user introduces objective function item;
Whether information judging unit is configured as judging being stored with the local data base of the terminal is worked as with the terminal The corresponding objective function of preceding system language introduces the information of item;
Second introduce data request unit be configured as not being stored with it is corresponding with the system language that the terminal is current When the objective function introduces the information of item, the synchronous mesh corresponding with the system language that the terminal is current of request server Mark the information of function introduction.
Figure 16 is a kind of block diagram of file synchronizer according to an exemplary embodiment.The device is applied to service In device, reference picture 16, the device includes synchronization request receiving unit 21 and file transmitting element 22.
This document synchronization request receiving unit 21 is configured as the synchronization request of receiving terminal transmission, and the synchronization please At least include in asking:The device parameter of the terminal and the version identifier of operating system;
This document transmitting element 22 is configured as being sent and the equipment to the terminal according to the synchronization request The file of parameter and version identification matches.
This document sychronisation, when the content to being played in terminal in machine handbook is synchronized, only can send to terminal The object for appreciation machine handbook content corresponding with the device parameter of terminal and the version identifier of operating system, without updating all system versions This object for appreciation machine handbook content, reduces the quantity that terminal obtains object for appreciation machine handbook content so that consumed when updating object for appreciation machine handbook content Time and the Internet resources of occupancy reduce, and the inner capacities of object for appreciation machine handbook of terminal memory storage is greatly reduced, carried The utilization rate of high terminal storage space.
In disclosure one embodiment, file includes at least one functional module, each functional module Including at least one function introduction, this document transmitting element 22 can include:
Functional module list transmitting element is configured as being sent to the terminal according to the synchronization request and institute The functional module list of device parameter and version identification matches is stated, the functional module list includes at least one function mould First identity of block and first version mark;
The functional module that functional module synchronization request receiving unit is configured as receiving the terminal transmission synchronously please Ask, at least include in the functional module synchronization request:The terminal is filtered out according to the list of the functional module to be worked as It is preceding to do the first identity of synchronous functional module;
Functional module information transmitting unit is configured as, according to the functional module synchronization request, sending out to the terminal Send the information with the first identity corresponding function module;The information of the functional module includes:The functional module Second identity of all function introductions of device parameter described in Xiang Zhongyu and version identification matches and the third edition this mark;
The function introduction that function introduction synchronization request receiving unit is configured as receiving the terminal transmission synchronously please Ask, at least include in the function introduction synchronization request:The terminal goes out to work as according to the information sifting of the functional module It is preceding to do the second identity of synchronous function introduction;
First function introduction information transmitting unit is configured as according to the function introduction synchronization request, to the end End sends the information that item is introduced with the second identity corresponding function.
In disclosure one embodiment, file transmitting element 22 can also include:
Judging unit, is configured according to the functional module synchronization request, judges to whether there is and institute in the terminal State the corresponding functional module of the first identity.
First function introduction information transmitting unit is configured as in terminal in the absence of corresponding with first identity Functional module when, according to the functional module synchronization request, send corresponding with first identity to the terminal Information in functional module, with the device parameter and all function introductions of version identification matches.
The functional module information transmitting unit is additionally configured to exist and first identity pair when terminal is interior During the functional module answered, according to the functional module synchronization request, sent and first identity pair to the terminal Answer the information of functional module.
In disclosure one embodiment, the device parameter of terminal includes:System language and screen resolution;
The first function introduction information transmitting unit and/or the second function introduction information transmitting unit, can be wrapped Include:
The data transmitting element of introduction is configured as introducing system language described in Xiang Zhongyu and screen to the terminal sending function Resolution ratio is corresponding introduces data for curtain, and the data of introducing includes:Document or picture.
In disclosure one embodiment, the device parameter of the terminal includes:System language;
Described device can also include:
Synchronizing information request reception unit be configured as receiving the terminal send target is introduced function items information it is same Step request;
Information transmitting unit is configured as according to described information synchronization request, sends current with the terminal to the terminal The corresponding objective function of system language introduce the information of item.
In disclosure one embodiment, the device can also include:
Functional module operation requests receiving unit is configured as receiving module operation requests, the functional module Include in item operation requests:First identity of functional module;
Functional module operation requests type determining units are configured to determine that the class of the functional module operation requests Type, the type of the functional module operation requests includes:Addition functional module type, modification functional module type are deleted Except functional module type;
Functional module adding device is configured as, if addition functional module type, obtaining and first identity Corresponding function module is identified, and will be set to just with the first version of the first identity corresponding function module mark Initial value;
Functional module modification unit is configured as if modification functional module type, according to the functional module Operation requests pair are modified with the first identity corresponding function module, and are changed and first identity pair Answer the first version mark of functional module;
Functional module entry deletion unit is configured as if functional module type is deleted, will be with the first identity mark Know corresponding functional module and corresponding all function introductions are deleted.
In disclosure one embodiment, the device can also include:
Function introduction operation requests receiving unit is configured as receive capabilities and introduces item operation requests, the function introduction Include in item operation requests:Second identity of function introduction;
Function introduction operation requests type determining units are configured to determine that the class of the function introduction operation requests Type, the type of the function introduction operation requests includes:Addition function introduction type, modification function introduction type are deleted Except function introduction type;
Function introduction adding device is configured as, if addition function introduction type, obtaining and second identity Mark corresponding function introduces item, and this mark with the third edition of the second identity corresponding function introduction is set to just Initial value;
Function introduction modification unit is configured as if modification function introduction type, according to the function introduction Operation requests pair are modified with the second identity corresponding function introduction, and are changed and second identity pair Answer the second edition mark of function introduction;
Function introduction entry deletion unit is configured as if function introduction type is deleted, will be with the second identity mark Know corresponding function introduction entry deletion.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 17 is a kind of frame of terminal 800 for terminal document processing method according to an exemplary embodiment Figure.For example, terminal 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console is put down Board device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 17, terminal 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control terminal 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 the above-mentioned method performed in end side.In addition, processing assembly 802 can include one Or multiple modules, it is easy to the interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multimedia Module, to facilitate the interaction between multimedia groupware 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 in terminal 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) 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 terminal 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 terminal 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the terminal 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 terminal 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 terminal 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 terminal 800, and sensor cluster 814 can also detect 800 1 components of terminal 800 or terminal Position change, the existence or non-existence that user contacts with terminal 800, the orientation of terminal 800 or acceleration/deceleration and terminal 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 terminal 800 and other equipment.Terminal 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, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, 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 above-mentioned to hold in end side by the processor 820 of terminal 800 Capable method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
Figure 18 is a kind of frame of server 1900 marked for multimedia messages according to an exemplary embodiment Figure.For example, server 1900 may be provided in a server.Reference picture 18, server 1900 includes processing assembly 1922, its Further comprise one or more processors, and as the memory resource representated by memory 1932, can be by for storing Manage the instruction of the execution of component 1922, such as application program.The application program stored in memory 1932 can include one or It is more than one each correspond to the module of one group of instruction.In addition, processing assembly 1922 is configured as execute instruction, to perform The above-mentioned method performed in server side.
Server 1900 can also include the power management that a power supply module 1926 is configured as execute server 1900, One wired or wireless network interface 1950 is configured as server 1900 being connected to network, and an input and output (I/O) Interface 1958.Server 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
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 (30)

1. a kind of file synchronisation method, applied in terminal, it is characterised in that methods described includes:
Obtain the device parameter of the terminal and the version identifier of operating system;
Request server synchronization includes at least one work(with the device parameter and the file of version identification matches, the file Energy module, each functional module includes at least one function introduction, and the request server synchronization is set with described The file of standby parameter and version identification matches, including:
The synchronous functional module list with the device parameter and version identification matches of request server;
According to the functional module list, synchronous functional module need to currently be done by filtering out;
Current synchronous functional module, the information of the synchronous functional module of request server need to be done for each;
According to the information of the functional module, synchronous function introduction need to currently be done by filtering out;
Current synchronous function introduction, the information of the synchronous function introduction of request server need to be done for each;
The reception server send with the device parameter and the file of version identification matches.
2. according to the method described in claim 1, it is characterised in that the functional module list includes at least one function mould First identity of block and first version mark;
It is described that according to the functional module list, synchronous functional module need to currently be done by filtering out, including:
For each functional module in the functional module list:
Search whether to exist in the local data base of the terminal corresponding with the first identity of current functional module The second edition is identified;
If there is second edition mark, judge that the second edition identifies whether to identify earlier than the first version;When When the second edition mark is identified earlier than the first version, it is determined that current functional module Xiang Weixu does synchronous functional module ;
If there is no second edition mark, it is determined that current functional module Xiang Weixu does synchronous functional module.
3. method according to claim 2, it is characterised in that for each in the feelings identified in the absence of the second edition It is confirmed as that synchronous functional module need to be done under condition, obtains device parameter and version identification matches described in functional module Xiang Zhongyu All function introductions the second identity, and request server is synchronous is introduced with the second identity corresponding function The information of item;
For each being confirmed as that synchronous functional module need to be done in the case where there is the second edition mark, performing institute The step of stating for each need to currently do synchronous functional module, the information of request server synchronous functional module.
4. according to the method described in claim 1, it is characterised in that the information of the functional module includes:The functional module Second identity of all function introductions of device parameter described in Xiang Zhongyu and version identification matches and the third edition this mark;
The information according to the functional module, synchronous function introduction need to currently be done by filtering out, including:
For each function introduction in each functional module:
Search whether to exist in the local data base of the terminal corresponding with the second identity of current function introduction Fourth edition is identified;
If there is fourth edition mark, judge that the fourth edition is identified whether earlier than this mark of the third edition;When When the fourth edition mark is earlier than this mark of the third edition, it is determined that current function introduction Xiang Weixu does synchronous function introduction ;
If there is no fourth edition mark, it is determined that current function introduction Xiang Weixu does synchronous function introduction.
5. the method according to claim 1 or 3, it is characterised in that the device parameter of the terminal includes:System language and Screen resolution;
It is described currently to do synchronous function introduction, the information of the synchronous function introduction of request server, bag for each Include:
Request server it is synchronous it is corresponding with the system language and screen resolution, current function introduction item introduce data, The data of introducing includes:Document or picture;
History having stored in the local data base of the terminal, corresponding with current function introduction is introduced into data to delete;
The reception server sends introducing data and storing for the current function introduction.
6. according to the method described in claim 1, it is characterised in that methods described also includes:
The request server synchronous this lock in time with the device parameter and the file of version identification matches is obtained,
Using this described lock in time as during the synchronization of the information of the functional module and the information of function introduction item Between and store.
7. method according to claim 6, it is characterised in that methods described also includes:
By the local data memory storage of the terminal, lock in time earlier than the functional module of this lock in time letter The information deletion of breath and function introduction.
8. according to the method described in claim 1, it is characterised in that methods described also includes:
Obtain the operation requests that user introduces objective function item;
Judge the mesh corresponding with the system language that the terminal is current that whether is stored with the local data base of the terminal Mark the information of function introduction;
If the objective function corresponding with the system language that the terminal is current that is not stored with introduces the information of item, request clothes The synchronous objective function corresponding with the system language that the terminal is current of business device introduces the information of item.
9. a kind of file synchronisation method, applied in server, it is characterised in that methods described includes:
At least include in the synchronization request that receiving terminal is sent, the synchronization request:The device parameter of the terminal and behaviour Make the version identifier of system;
It is described according to the synchronization request to terminal transmission and the device parameter and the file of version identification matches File includes at least one functional module, and each functional module includes at least one function introduction, described According to the synchronization request to terminal transmission and the device parameter and the file of version identification matches, including:
Functional module with the device parameter and version identification matches is sent to the terminal according to the synchronization request Item list, the functional module list includes first identity and first version mark of at least one functional module;
Receive at least includes in the functional module synchronization request that the terminal is sent, the functional module synchronization request:Institute The first identity of synchronous functional module need to currently be done by stating terminal and being filtered out according to the list of the functional module;
According to the functional module synchronization request, sent and the first identity corresponding function module to the terminal Information;The information of the functional module includes:Device parameter described in functional module Xiang Zhongyu and version identification matches Second identity of all function introductions and the third edition this mark;
Receive at least includes in the function introduction synchronization request that the terminal is sent, the function introduction synchronization request:Institute State terminal and gone out currently do the second identity of synchronous function introduction according to the information sifting of the functional module;
According to the function introduction synchronization request, sent to the terminal and introduce item with the second identity corresponding function Information.
10. method according to claim 9, it is characterised in that it is described according to the synchronization request to the terminal The file with the device parameter and version identification matches is sent, in addition to:
According to the functional module synchronization request, judge in the terminal with the presence or absence of corresponding with first identity Functional module;
If functional module corresponding with first identity is not present in terminal, asked according to the functional module is synchronous Ask, to the terminal send with the first identity corresponding function module, with the device parameter and version identifier Match the information of all function introductions;
If there is functional module corresponding with first identity in terminal, perform described according to the functional module Synchronization request, the step of sending the information with the first identity corresponding function module to the terminal.
11. the method according to claim 9 or 10, it is characterised in that the device parameter of the terminal includes:System language And screen resolution;
The information of item is introduced to the terminal sending function, including:
System language described in Xiang Zhongyu is introduced to the terminal sending function and screen resolution is corresponding introduces data, is given an account of The data of continuing includes:Document or picture.
12. method according to claim 9, it is characterised in that the device parameter of the terminal includes:System language;
Methods described also includes:
Receive the terminal and send the synchronizing information request for introducing target function items;
According to described information synchronization request, the target corresponding with the system language that the terminal is current is sent to the terminal The information of function introduction.
13. method according to claim 9, it is characterised in that methods described also includes:
Include in receiving module operation requests, the functional module operation requests:First identity of functional module Mark;
The type of the functional module operation requests is determined, the type of the functional module operation requests includes:Add work( Can module type, modification functional module type or deletion functional module type;
If addition functional module type, obtain with the first identity corresponding function module, and will with it is described The first version mark of first identity corresponding function module is set to initial value;
If modification functional module type, according to the functional module operation requests pair and first identity pair Answer functional module to modify, and change the first version mark with the first identity corresponding function module;
, will functional module corresponding with first identity and corresponding all if deleting functional module type Function introduction is deleted.
14. method according to claim 9, it is characterised in that methods described also includes:
Receive capabilities are introduced to be included in item operation requests, the function introduction operation requests:Second identity of function introduction Mark;
The type of the function introduction operation requests is determined, the type of the function introduction operation requests includes:Add work( Item type, modification function introduction type can be introduced or function introduction type is deleted;
If addition function introduction type, obtain and introduce item with the second identity corresponding function, and will with it is described This mark of the third edition of second identity corresponding function introduction is set to initial value;
If modification function introduction type, according to the function introduction operation requests pair and second identity pair Answer function introduction to modify, and change the second edition for introducing item with the second identity corresponding function and identify;
, will function introduction entry deletion corresponding with second identity if function introduction type is deleted.
15. a kind of file synchronizer, applied in terminal, it is characterised in that described device includes:
First acquisition unit, for obtaining the device parameter of the terminal and the version identifier of operating system;
File request unit, for request server synchronization and the device parameter and the file of version identification matches, the text Part includes at least one functional module, and each functional module includes at least one function introduction, the file Request unit, including:
Functional module list request unit, for request server synchronization and the device parameter and the work(of version identification matches Can module list;
First screening unit, for according to the functional module list, synchronous functional module need to currently to be done by filtering out;
Functional module information request unit, for for each need to currently do synchronous functional module, request server to be same Walk the information of the functional module;
Second screening unit, for the information according to the functional module, synchronous function introduction need to currently be done by filtering out;
First function introduction information request unit, for for each need to currently do synchronous function introduction, request service The information of the synchronous function introduction of device;
File reception unit, for the reception server transmission and the device parameter and the file of version identification matches.
16. device according to claim 15, it is characterised in that the functional module list includes at least one function First identity of module and first version mark;
First screening unit, including:
First searching unit, for searching whether to exist the with current functional module in the local data base of the terminal The corresponding second edition mark of one identity;
First judging unit, for when there is the second edition mark, judging that the second edition is identified whether earlier than institute State first version mark;
First functional module determining unit, for when second edition mark is identified earlier than the first version, it is determined that Current functional module Xiang Weixu does synchronous functional module;
Second functional module determining unit, for when being identified in the absence of the second edition, it is determined that current functional module For synchronous functional module need to be done.
17. device according to claim 16, it is characterised in that the file request unit also includes:
Second identity acquiring unit, for for being each confirmed as in the case where being identified in the absence of the second edition Synchronous functional module need to be done, functional Jie of the institute of device parameter described in functional module Xiang Zhongyu and version identification matches is obtained Continue the second identity of item;
Second function introduction information request unit, is synchronously situated between for request server with the second identity corresponding function Continue the information of item;
The functional module information request unit is used to be directed to each true in the case where there is the second edition mark Synchronous functional module need to be done and perform operation by being set to.
18. device according to claim 17, it is characterised in that the information of the functional module includes:The function mould Second identity of all function introductions of device parameter described in block Xiang Zhongyu and version identification matches and the third edition this mark Know;
Second screening unit, including:
Second searching unit, for searching whether to exist the with current function introduction in the local data base of the terminal The corresponding fourth edition mark of two identity;
Second judging unit, for when there is the fourth edition mark, judging that the fourth edition is identified whether earlier than institute State the third edition this mark;
First function introduction determining unit, for when fourth edition mark is earlier than this mark of the third edition, it is determined that Current function introduction Xiang Weixu does synchronous function introduction;
Second function introduction determining unit, for when being identified in the absence of the fourth edition, it is determined that current function introduction For synchronous function introduction need to be done.
19. the device according to claim 15 or 17, it is characterised in that the device parameter of the terminal includes:System language Make peace screen resolution;
The first function introduction information request unit and/or the second function introduction information request unit include:
First introduces data request unit, for request server it is synchronous it is corresponding with the system language and screen resolution, Current function introduction introduces data, and the data of introducing includes:Document or picture;
Introduce data delete unit, for will it is having been stored in the local data base of the terminal, with current function introduction item it is right The history answered introduces data deletion;
Data memory unit is introduced, introducing data and storing for the current function introduction is sent for the reception server.
20. according to claim 15 described device, it is characterised in that described device also includes:
Lock in time acquiring unit, it is synchronous with the device parameter and version identification matches for obtaining the request server This lock in time of file,
Lock in time processing unit, for using this described lock in time as the functional module information and the function Introduce lock in time and the storage of the information of item.
21. device according to claim 20, it is characterised in that described device also includes:
Unit is deleted, for after the information of the synchronous function introduction of request server is successful, by the local number of the terminal According to memory storage, lock in time deletes earlier than the information of the information and function introduction of the functional module of this lock in time Remove.
22. device according to claim 15, it is characterised in that described device also includes:
Operation requests acquiring unit, the operation requests of item are introduced objective function for obtaining user;
Whether be stored with the system current with the terminal in information judging unit, the local data base for judging the terminal The corresponding objective function of language introduces the information of item;
Second introduces data request unit, for the target corresponding with the system language that the terminal is current that ought not be stored with During the information of function introduction, the synchronous objective function corresponding with the system language that the terminal is current of request server is situated between Continue the information of item.
23. a kind of file synchronizer, applied in server, it is characterised in that including:
At least wrapped in synchronization request receiving unit, the synchronization request sent for receiving terminal, the synchronization request Include:The device parameter of the terminal and the version identifier of operating system;
File transmitting element, for being sent and the device parameter and version mark to the terminal according to the synchronization request Know the file of matching, the file includes at least one functional module, and each functional module includes at least one Function introduction, the file transmitting element, including:
Functional module list transmitting element, joins for being sent according to the synchronization request to the terminal with the equipment The functional module list of number and version identification matches, the functional module list includes the of at least one functional module One identity and first version mark;
Functional module synchronization request receiving unit, it is described for receiving the functional module synchronization request that the terminal is sent At least include in functional module synchronization request:The terminal is filtered out according to the list of the functional module need to currently do same First identity of the functional module of step;
Functional module information transmitting unit, for according to the functional module synchronization request, being sent to the terminal and institute State the information of the first identity corresponding function module;The information of the functional module includes:Functional module Xiang Zhongyu Second identity of all function introductions of the device parameter and version identification matches and the third edition this mark;
Function introduction synchronization request receiving unit, it is described for receiving the function introduction synchronization request that the terminal is sent At least include in function introduction synchronization request:The terminal goes out according to the information sifting of the functional module need to currently do same Second identity of the function introduction of step;
First function introduction information transmitting unit, for according to the function introduction synchronization request, being sent to the terminal The information of item is introduced with the second identity corresponding function.
24. device according to claim 23, it is characterised in that the file transmitting element also includes:
Judging unit, for according to the functional module synchronization request, judging to whether there is and described first in the terminal The corresponding functional module of identity;
First function introduction information transmitting unit, for when function corresponding with first identity is not present in terminal During module, according to the functional module synchronization request, sent and the first identity corresponding function mould to the terminal Information in block, with the device parameter and all function introductions of version identification matches;
The functional module information transmitting unit is used for there is function mould corresponding with first identity when terminal is interior Operation is performed during block.
25. the device according to claim 23 or 24, it is characterised in that the device parameter of the terminal includes:System language Make peace screen resolution;
The first function introduction information transmitting unit and/or the second function introduction information transmitting unit, including:
Data transmitting element is introduced, for introducing system language described in Xiang Zhongyu and screen resolution to the terminal sending function Corresponding to introduce data, the data of introducing includes:Document or picture.
26. device according to claim 23, it is characterised in that the device parameter of the terminal includes:System language;
Described device also includes:
Synchronizing information request reception unit, the synchronizing information request of function items is introduced target for receiving the terminal transmission;
Information transmitting unit, for according to described information synchronization request, being sent and the current system of the terminal to the terminal The corresponding objective function of language introduces the information of item.
27. device according to claim 23, it is characterised in that described device also includes:
Functional module operation requests receiving unit, for receiving module operation requests, the functional module operation Include in request:First identity of functional module;
Functional module operation requests type determining units, the type for determining the functional module operation requests is described The type of functional module operation requests includes:Add functional module type, modification functional module type or delete function Module type;
Functional module adding device, for if addition functional module type, obtaining and first identity pair Functional module is answered, and initial value will be set to the first version of the first identity corresponding function module mark;
Functional module changes unit, for if modification functional module type, being asked according to the functional module operation Ask pair and to be modified with the first identity corresponding function module, and change and the first identity corresponding function The first version mark of module;
Functional module entry deletion unit, will be corresponding with first identity for if functional module type is deleted Functional module and corresponding all function introductions delete.
28. device according to claim 23, it is characterised in that described device also includes:
Function introduction operation requests receiving unit, item operation requests, the function introduction operation are introduced for receive capabilities Include in request:Second identity of function introduction;
Function introduction operation requests type determining units, the type for determining the function introduction operation requests is described The type of function introduction operation requests includes:Add function introduction type, modification function introduction type or delete function Introduce item type;
Function introduction adding device, for if addition function introduction type, obtaining and second identity pair Function introduction is answered, and this mark with the third edition of the second identity corresponding function introduction is set to initial value;
Function introduction changes unit, for if modification function introduction type, being asked according to the function introduction operation Ask pair and to be modified with the second identity corresponding function introduction, and change and the second identity corresponding function Introduce the second edition mark of item;
Function introduction entry deletion unit, will be corresponding with second identity for if function introduction type is deleted Function introduction entry deletion.
29. a kind of terminal, it is characterised in that including:Processor;Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the device parameter of the terminal and the version identifier of operating system;
Request server synchronization includes at least one work(with the device parameter and the file of version identification matches, the file Energy module, each functional module includes at least one function introduction, and the request server synchronization is set with described The file of standby parameter and version identification matches, including:
The synchronous functional module list with the device parameter and version identification matches of request server;
According to the functional module list, synchronous functional module need to currently be done by filtering out;
Current synchronous functional module, the information of the synchronous functional module of request server need to be done for each;
According to the information of the functional module, synchronous function introduction need to currently be done by filtering out;
Current synchronous function introduction, the information of the synchronous function introduction of request server need to be done for each;
The reception server send with the device parameter and the file of version identification matches.
30. a kind of server, it is characterised in that including:Processor;Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
At least include in the synchronization request that receiving terminal is sent, the synchronization request:The device parameter of the terminal and behaviour Make the version identifier of system;
It is described according to the synchronization request to terminal transmission and the device parameter and the file of version identification matches File includes at least one functional module, and each functional module includes at least one function introduction, described According to the synchronization request to terminal transmission and the device parameter and the file of version identification matches, including:
Functional module with the device parameter and version identification matches is sent to the terminal according to the synchronization request Item list, the functional module list includes first identity and first version mark of at least one functional module;
Receive at least includes in the functional module synchronization request that the terminal is sent, the functional module synchronization request:Institute The first identity of synchronous functional module need to currently be done by stating terminal and being filtered out according to the list of the functional module;
According to the functional module synchronization request, sent and the first identity corresponding function module to the terminal Information;The information of the functional module includes:Device parameter described in functional module Xiang Zhongyu and version identification matches Second identity of all function introductions and the third edition this mark;
Receive at least includes in the function introduction synchronization request that the terminal is sent, the function introduction synchronization request:Institute State terminal and gone out currently do the second identity of synchronous function introduction according to the information sifting of the functional module;
According to the function introduction synchronization request, sent to the terminal and introduce item with the second identity corresponding function Information.
CN201410191770.9A 2014-05-07 2014-05-07 File synchronisation method and relevant apparatus Active CN104038922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410191770.9A CN104038922B (en) 2014-05-07 2014-05-07 File synchronisation method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410191770.9A CN104038922B (en) 2014-05-07 2014-05-07 File synchronisation method and relevant apparatus

Publications (2)

Publication Number Publication Date
CN104038922A CN104038922A (en) 2014-09-10
CN104038922B true CN104038922B (en) 2017-09-01

Family

ID=51469483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410191770.9A Active CN104038922B (en) 2014-05-07 2014-05-07 File synchronisation method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN104038922B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639612A (en) * 2014-12-31 2015-05-20 广东欧珀移动通信有限公司 Information synchronization method and mobile terminal for same
CN105553703B (en) * 2015-12-10 2019-09-24 联想(北京)有限公司 A kind of information processing method, electronic equipment and system
CN109063124B (en) * 2018-08-01 2020-09-25 广州视源电子科技股份有限公司 Method, electronic device, system and computer-readable storage medium for recommending television electronic specification
CN109299067B (en) * 2018-08-22 2021-04-20 北京百度网讯科技有限公司 Page access method, device and storage medium
CN112711446A (en) * 2020-12-29 2021-04-27 医渡云(北京)技术有限公司 Method, device and system for realizing novice guiding service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN102035892A (en) * 2010-12-23 2011-04-27 中科方德软件有限公司 System and method for automatically releasing operating system version and automatically updating software package
CN103530150A (en) * 2013-10-10 2014-01-22 上海爱数软件有限公司 Remote updating method for Linux operating system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194737B2 (en) * 2002-10-02 2007-03-20 Infinity Systems Software, Inc. System and method for expediting and automating mainframe computer setup

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN102035892A (en) * 2010-12-23 2011-04-27 中科方德软件有限公司 System and method for automatically releasing operating system version and automatically updating software package
CN103530150A (en) * 2013-10-10 2014-01-22 上海爱数软件有限公司 Remote updating method for Linux operating system

Also Published As

Publication number Publication date
CN104038922A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
CN104038922B (en) File synchronisation method and relevant apparatus
CN104580637B (en) Telephone number labeling method, terminal and Cloud Server
CN104951336A (en) Application program installation method and device
CN104378441A (en) Schedule creating method and device
CN105069073A (en) Contact information recommendation method and device
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN104809158B (en) Web content filter method and device
CN105117207A (en) Album creating method and apparatus
CN106341481A (en) Processing method and device of information push and equipment
CN107730847A (en) Sharing articles finding method and device
CN110209385A (en) Establishment of item method and device
CN104636453A (en) Illegal user data identification method and device
CN105208177B (en) Address book updating method and device
CN105306752A (en) Method and device for generating event prompt
CN107526591A (en) Switch the method and apparatus of direct broadcasting room type
CN105739834A (en) Menu displaying method and device
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN104219378A (en) Information processing method and device
CN105354284A (en) Template processing method and apparatus and short message identification method and apparatus
CN105657690A (en) Method and device for processing mobile terminal setting information
CN104135512B (en) Service registry update method, device, server and client
CN106060138A (en) Method and apparatus for updating data
CN106126488A (en) Information storage means and device
CN104780256A (en) Address book management method and device and intelligent terminal
CN104765646B (en) Component call method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant