CN104038922A - File synchronization method and related device - Google Patents
File synchronization method and related device Download PDFInfo
- Publication number
- CN104038922A CN104038922A CN201410191770.9A CN201410191770A CN104038922A CN 104038922 A CN104038922 A CN 104038922A CN 201410191770 A CN201410191770 A CN 201410191770A CN 104038922 A CN104038922 A CN 104038922A
- Authority
- CN
- China
- Prior art keywords
- item
- functional module
- function
- terminal
- information
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a file synchronization method and a related device, which can be applied to a terminal. The method comprises steps of acquiring equipment parameters of the terminal and a version identifier of the operating system, requesting the server to synchronize files matched with the equipment parameters and the version identifier, and receiving files sent by the server and matched with the equipment parameters and the version identifier. According to the method, the number of user guide manual contents acquired by the terminal is reduced, the consumed time for updating the ser guide manual contents and the occupied network resources are reduced, the contents of the user guide manual stored in the terminal are greatly reduced, and the utilization rate of the terminal storage space is improved.
Description
Technical field
The disclosure relates to technical field of mobile terminals, relates in particular to a kind of file synchronisation method and relevant apparatus.
Background technology
In order to facilitate user to understand the use operation of terminal; in terminal, conventionally understand the files such as setting operation guide or help; for example: in MIUI system, carry millet mobile phone and play tractor driver's volume; there is the introduction of using millet mobile phone the inside; can help user to understand fast MIUI system, better use millet mobile phone.
Playing tractor driver's volume the inside has comprehensive operation instruction, abundant in content, makes like this to play the larger storage of tractor driver's volume occupation ratio.For each mobile phone, before mobile phone dispatches from the factory, all exist mobile phone local the object for appreciation tractor driver volume of all system versions of mobile phone, the mobile phone of different system version is represented to different contents.And for the mobile phone of same systems version, that show to play tractor driver's volume only has content that should type, and other content shows never.According to statistics, play the content showing in tractor driver's volume and account for 12.5% of all the elements, even still less, and the content not showing can take a large amount of memory spaces on the contrary, and the memory space that causes playing tractor driver's volume is increasing, but efficiency is very low.And along with the increase of cell phone system version, also change is all the more large to play tractor driver's volume, allow people's endurable.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of file synchronisation method and relevant apparatus.
According to the first aspect of disclosure embodiment, a kind of file synchronisation method is provided, be applied in terminal, described method comprises:
Obtain the device parameter of described terminal and the version identifier of operating system;
The file that request server synchronously mates with described device parameter and version identifier;
The file mating with described device parameter and version identifier that reception server sends.
In conjunction with first aspect, in the possible implementation of first aspect the first, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
Described request server sync and the file that described device parameter and version identifier mate, comprising:
The functional module item list that request server synchronously mates with described device parameter and version identifier;
According to the list of described functional module item, filter out current need and do synchronous functional module item;
For each current need, do synchronous functional module item, the information of synchronous this functional module item of request server;
According to the information of described functional module item, filter out current need and do synchronous function introduction item;
For each current need, do synchronous function introduction item, the information of synchronous this function introduction item of request server.
In conjunction with the possible implementation of first aspect the first, in the possible implementation of first aspect the second, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Described according to the list of described functional module item, filter out current need and do synchronous functional module item, comprising:
For each the functional module item in the list of described functional module item:
In the local data base of described terminal, search and whether have second version identifier corresponding with the first identify label of current functional module item;
If there is described the second version identifier, judge that whether described the second version identifier is early than described first version sign; When described the second version identifier identifies early than described first version, determine that current functional module Xiang Weixu does synchronous functional module item;
If there is no described the second version identifier, determines that current functional module Xiang Weixu does synchronous functional module item.
In conjunction with the possible implementation of first aspect the second, in the third possible implementation of first aspect, for each, in the situation that not there is not described the second version identifier, be confirmed as doing synchronous functional module item, obtain second identify label that all functions of device parameter and version identifier coupling described in functional module Xiang Zhongyu are introduced, and the information introduced of synchronous and described the second identify label corresponding function of request server;
For each, in the situation that there is described the second version identifier, be confirmed as doing synchronous functional module item, described in carrying out, for each current need, do synchronous functional module item, the step of the information of synchronous this functional module item of request server.
In conjunction with the possible implementation of first aspect the first, in the 4th kind of possible implementation of first aspect, the information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Described according to the information of described functional module item, filter out current need and do synchronous function introduction item, comprising:
For each the function introduction item in functional module item described in each:
In the local data base of described terminal, search and whether have four version identifier corresponding with the second identify label of current function introduction item;
If there is described the 4th version identifier, judge that whether described the 4th version identifier is early than described this sign of the third edition; When described the 4th version identifier is during early than described this sign of the third edition, determine that current function introduction Xiang Weixu does synchronous function introduction item;
If there is no described the 4th version identifier, determines that current function introduction Xiang Weixu does synchronous function introduction item.
In conjunction with first aspect the first or the third possible implementation, in the 5th kind of possible implementation of first aspect, the device parameter of described terminal comprises: system language and screen resolution;
Describedly for each current need, do synchronous function introduction item, the information of synchronous this function introduction item of request server, comprising:
Request server synchronously with described system language and the screen resolution data of introducing corresponding, current function introduction item, the described data of introducing comprises: document or picture;
That stored in the local data base of described terminal, corresponding with current function introduction item history is introduced to data deletes;
Reception server sends the data of introducing the storage of described current function introduction item.
In conjunction with the possible implementation of first aspect the first, in the 6th kind of possible implementation of first aspect, described method also comprises:
Obtain this lock in time of the file that described request server sync mates with described device parameter and version identifier,
The lock in time of the information using described this lock in time as described functional module item and the information of described function introduction item storage.
In conjunction with the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation of first aspect, described method also comprises:
By in the local data of described terminal, store, lock in time is early than the information of the functional module item of described this lock in time and the information deletion of function introduction item.
In conjunction with the possible implementation of first aspect the first, in the 8th kind of possible implementation of first aspect, described method also comprises:
Obtain user and objective function is introduced to the operation requests of item;
Judge and in the local data base of described terminal, whether store the information that described objective function that the system language current with described terminal is corresponding is introduced;
If do not store the information of the described objective function introduction item that the system language current with described terminal is corresponding, synchronous current with described terminal described objective function corresponding to system language of request server introduced the information of item.
According to the second aspect of disclosure embodiment, a kind of file synchronisation method is provided, be applied in server, described method comprises:
The file synchronization request that receiving terminal sends, at least comprises in described synchronization request: the device parameter of described terminal and the version identifier of operating system;
According to described file synchronization request, to described terminal, send the file mating with described device parameter and version identifier.
In conjunction with second aspect, in the possible implementation of second aspect the first, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
The described file mating with described device parameter and version identifier that sends to described terminal according to described file synchronization request, comprising:
According to described file synchronization request, to described terminal, send the functional module item list of mating with described device parameter and version identifier, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Receive the functional module item synchronization request that described terminal sends, in described functional module item synchronization request, at least comprise: described terminal filters out according to the list of described functional module item the first identify label that current need are done synchronous functional module item;
According to described functional module item synchronization request, the information to described terminal transmission with described the first identify label corresponding function module item; The information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Receive the function introduction item synchronization request that described terminal sends, in described function introduction item synchronization request, at least comprise: described terminal goes out according to the information sifting of described functional module item the second identify label that current need are done synchronous function introduction item;
According to described function introduction item synchronization request, to described terminal, send the information of introducing item with described the second identify label corresponding function.
In conjunction with the possible implementation of second aspect the first, in the possible implementation of second aspect the second, the described file mating with described device parameter and version identifier that sends to described terminal according to described file synchronization request, also comprises:
According to described functional module item synchronization request, judge in described terminal, whether there be the functional module item corresponding with described the first identify label;
If there is not the functional module corresponding with described the first identify label in terminal, according to described functional module item synchronization request, to described terminal send with in described the first identify label corresponding function module item, the information of mating all functions introduction item with described device parameter and version identifier;
If there is the functional module corresponding with described the first identify label in terminal, carry out describedly according to described functional module item synchronization request, to described terminal, send and the step of the information of described the first identify label corresponding function module item.
In conjunction with second aspect the first or the possible implementation of the second, at the device parameter of terminal described in the third possible implementation of second aspect, comprise: system language and screen resolution;
Information from item to described terminal sending function that introduce, comprising:
To described terminal sending function, introduce system language and the data of introducing corresponding to screen resolution described in Xiang Zhongyu, the described data of introducing comprises: document or picture.
In conjunction with the possible implementation of second aspect the first, at the device parameter of terminal described in the 4th kind of possible implementation of second aspect, comprise: system language;
Described method also comprises:
Receive described terminal and send the information synchronization request of target being introduced to function items;
According to described information synchronization request, to described terminal, send the information of the described objective function introduction item that the system language current with described terminal is corresponding.
In conjunction with second aspect, in method described in the 5th kind of possible implementation of second aspect, also comprise:
Receiving module item operation requests, comprises in described functional module item operation requests: the first identify label of functional module item;
Determine the type of described functional module item operation requests, the type of described functional module item operation requests comprises: add functional module item type, modify feature module item type or delete function module item type;
Add if functional module item type, obtain and described the first identify label corresponding function module item, and be set to initial value with the first version sign of described the first identify label corresponding function module item;
Modify feature module item type, modifies with described the first identify label corresponding function module item according to described functional module item operation requests pair if, and the first version of modification and described the first identify label corresponding function module item sign;
Delete function module item type, deletes the functional module item corresponding with described the first identify label and corresponding all functions introduction if.
In conjunction with second aspect, in the 6th kind of possible implementation of second aspect, described method also comprises:
Receiving function is introduced an operation requests, comprises: the second identify label of function introduction item in described function introduction item operation requests;
Determine the type of described function introduction item operation requests, the type of described function introduction item operation requests comprises: add function introduction item type, a modify feature introduction type or delete function and introduce a type;
Add if function introduction item type, obtain with described the second identify label corresponding function and introduce item, and will be set to initial value with this sign of the third edition of described the second identify label corresponding function introduction item;
Modify feature is introduced a type if, according to described function introduction item operation requests pair, modify with described the second identify label corresponding function introduction item, and the second version identifier of modification and described the second identify label corresponding function introduction item;
Delete function is introduced a type if, by the function introduction entry deletion corresponding with described the second identify label.
According to the third aspect of disclosure embodiment, a kind of file synchronization device is provided, be applied in terminal, described device comprises:
The first acquiring unit, for obtaining the device parameter of described terminal and the version identifier of operating system;
File request unit, the file synchronously mating with described device parameter and version identifier for request server;
File receiving element, the file mating with described device parameter and version identifier sending for reception server.
In conjunction with the third aspect, in the possible implementation of third aspect the first, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
Described file request unit, comprising:
Functional module item list request unit, the functional module item list of synchronously mating with described device parameter and version identifier for request server;
The first screening unit, for according to the list of described functional module item, filters out current need and does synchronous functional module item;
Functional module item information request unit, for doing synchronous functional module item for each current need, the information of synchronous this functional module item of request server;
The second screening unit, for according to the information of described functional module item, filters out current need and does synchronous function introduction item;
The first function introduction item information request unit, for doing synchronous function introduction item for each current need, the information of synchronous this function introduction item of request server.
In conjunction with the possible implementation of third aspect the first, in the possible implementation of third aspect the second, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Described the first screening unit, comprising:
First searches unit, for searching in the local data base of described terminal, whether has second version identifier corresponding with the first identify label of current functional module item;
The first judging unit, for when there is described the second version identifier, judges that whether described the second version identifier is early than described first version sign;
The first functional module item determining unit, for when described the second version identifier identifies early than described first version, determines that current functional module Xiang Weixu does synchronous functional module item;
The second functional module item determining unit, for when not there is not described the second version identifier, determines that current functional module Xiang Weixu does synchronous functional module item.
In conjunction with the possible implementation of third aspect the second, in the third possible implementation of the third aspect, described file request unit comprises:
The second identify label acquiring unit, for being confirmed as in the situation that not there is not described the second version identifier for each doing synchronous functional module item, obtain second identify label that all functions of device parameter and version identifier coupling described in functional module Xiang Zhongyu are introduced;
The second function introduction item information request unit, for introducing the information of item according to synchronous and described the second identify label corresponding function of request server;
Described functional module item information request unit is for being confirmed as in the situation that there is described the second version identifier for each doing synchronous functional module item executable operations.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect, the information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Described the second screening unit, comprising:
Second searches unit, for searching in the local data base of described terminal, whether has four version identifier corresponding with the second identify label of current function introduction item;
The second judging unit, for when there is described the 4th version identifier, judges that whether described the 4th version identifier is early than described this sign of the third edition;
The first function introduction item determining unit, for when described the 4th version identifier is during early than described this sign of the third edition, determines that current function introduction Xiang Weixu does synchronous function introduction item;
The second function introduction item determining unit, for when not there is not described the 4th version identifier, determines that current function introduction Xiang Weixu does synchronous function introduction item.
In conjunction with third aspect the first or the third possible implementation, in the 5th kind of possible implementation of the third aspect, the device parameter of described terminal comprises: system language and screen resolution;
Described the first function introduction item information request unit and/or the second function introduction information request unit comprise:
First introduces data request unit, for request server synchronously with described system language and the screen resolution data of introducing corresponding, current function introduction item, the described data of introducing comprises: document or picture;
Introduce data delete cells, for that the local data base of described terminal has been stored, corresponding with current function introduction item history, introduce data and delete;
Introduce data memory unit, for reception server, send the data of introducing the storage of described current function introduction item.
In conjunction with the 5th kind of possible implementation of the third aspect, in the 6th kind of possible implementation of the third aspect, described device also comprises:
Lock in time acquiring unit, for obtaining this lock in time of the file that described request server sync mates with described device parameter and version identifier,
Lock in time processing unit, for lock in time the storage of the information of the information using described this lock in time as described functional module item and described function introduction item.
In conjunction with the 6th kind of possible implementation of the third aspect, in the 7th kind of possible implementation of the third aspect, described device also comprises:
Delete cells, after the information success when synchronous this function introduction item of request server, by the local data of described terminal, store, lock in time is early than the information of the functional module item of described this lock in time and the information deletion of function introduction item.
In conjunction with the possible implementation of third aspect the first, in the 8th kind of possible implementation of the third aspect, described device also comprises:
Operation requests acquiring unit, introduces the operation requests of item for obtaining user to objective function;
Information judging unit, for judging whether the local data base of described terminal stores the information of the described objective function introduction item that the system language current with described terminal is corresponding;
Second introduces data request unit, and while introducing the information of item for described objective function corresponding to the system language when current with described terminal, synchronous current with described terminal described objective function corresponding to system language of request server introduced the information of item.
According to the fourth aspect of disclosure embodiment, a kind of file synchronization device is provided, be applied to, in server, comprising:
File synchronization request reception unit, the file synchronization request sending for receiving terminal, at least comprises in described synchronization request: the device parameter of described terminal and the version identifier of operating system;
File transmitting element, for sending the file mating with described device parameter and version identifier to described terminal according to described file synchronization request.
In conjunction with fourth aspect, in the possible implementation of fourth aspect the first, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
Described file transmitting element, comprising:
Functional module item list transmitting element, for send the functional module item list of mating with described device parameter and version identifier to described terminal according to described file synchronization request, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Functional module item synchronization request receiving element, the functional module item synchronization request sending for receiving described terminal, at least comprises in described functional module item synchronization request: described terminal filters out according to the list of described functional module item the first identify label that current need are done synchronous functional module item;
Functional module item information transmitting unit, for according to described functional module item synchronization request, sends the information with described the first identify label corresponding function module item to described terminal; The information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Function introduction item synchronization request receiving element, the function introduction item synchronization request sending for receiving described terminal, at least comprises in described function introduction item synchronization request: described terminal goes out according to the information sifting of described functional module item the second identify label that current need are done synchronous function introduction item;
The first function introduction item information transmitting unit, for according to described function introduction item synchronization request, sends the information of introducing item with described the second identify label corresponding function to described terminal.
In conjunction with the possible implementation of fourth aspect the first, in the possible implementation of fourth aspect the second, described file transmitting element also comprises:
Judging unit, for according to described functional module item synchronization request, judges in described terminal, whether there be the functional module item corresponding with described the first identify label;
The first function introduction item information transmitting unit, while being used for not having the functional module corresponding with described the first identify label in terminal, according to described functional module item synchronization request, to described terminal send with in described the first identify label corresponding function module item, the information of mating all functions introduction item with described device parameter and version identifier;
Executable operations when described functional module item information transmitting unit is used for having the functional module corresponding with described the first identify label in terminal.
In conjunction with fourth aspect the second or the third possible implementation, in the third possible implementation of fourth aspect, the device parameter of described terminal comprises: system language and screen resolution;
Described the first function introduction item information transmitting unit and/or the second function introduction item information transmitting unit, comprising:
Introduce data transmitting element, for introduce system language and the data of introducing corresponding to screen resolution described in Xiang Zhongyu to described terminal sending function, the described data of introducing comprises: document or picture.
In conjunction with the possible implementation of fourth aspect the second, in the 4th kind of possible implementation of fourth aspect, the device parameter of described terminal comprises: system language;
Described device also comprises:
Information synchronization request receiving element, sends for receiving described terminal the information synchronization request of target being introduced to function items;
Information transmitting unit, for according to described information synchronization request, sends the information of the described objective function introduction item that the system language current with described terminal is corresponding to described terminal.
In conjunction with fourth aspect, in the 5th kind of possible implementation of fourth aspect, functional module item operation requests receiving element, for receiving module item operation requests, comprises in described functional module item operation requests: the first identify label of functional module item;
Functional module item operation requests type determining unit, for determining the type of described functional module item operation requests, the type of described functional module item operation requests comprises: add functional module item type, modify feature module item type or delete function module item type;
Functional module item adding device, for adding if functional module item type, obtains and described the first identify label corresponding function module item, and is set to initial value with the first version sign of described the first identify label corresponding function module item;
Functional module item is revised unit, be used for modify feature module item type if, according to described functional module item operation requests pair, modify with described the first identify label corresponding function module item, and the first version of modification and described the first identify label corresponding function module item sign;
Functional module entry deletion unit, for delete function module item type if, deletes the functional module item corresponding with described the first identify label and corresponding all functions introduction.
In conjunction with fourth aspect, in the 6th kind of possible implementation of fourth aspect, described device also comprises:
Function introduction item operation requests receiving element, introduces an operation requests for receiving function, comprises: the second identify label of function introduction item in described function introduction item operation requests;
Function introduction item operation requests type determining unit, for determining the type of described function introduction item operation requests, the type of described function introduction item operation requests comprises: add function introduction item type, a modify feature introduction type or delete function and introduce a type;
Function introduction item adding device, for adding if function introduction item type, obtains with described the second identify label corresponding function and introduces item, and will be set to initial value with this sign of the third edition of described the second identify label corresponding function introduction item;
Function introduction item is revised unit, be used for modify feature and if introduce a type, according to described function introduction item operation requests pair, modify with described the second identify label corresponding function introduction item, and the second version identifier of modification and described the second identify label corresponding function introduction item;
Function introduction entry deletion unit, introduces a type for delete function if, by the function introduction entry deletion corresponding with described the second identify label.
The 5th aspect according to disclosure embodiment, provides a kind of terminal, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the device parameter of described terminal and the version identifier of operating system;
The file that request server synchronously mates with described device parameter and version identifier;
The file mating with described device parameter and version identifier that reception server sends.
The 6th aspect according to disclosure embodiment, provides a kind of server, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
The file synchronization request that receiving terminal sends, at least comprises in described synchronization request: the device parameter of described terminal and the version identifier of operating system;
According to described file synchronization request, to described terminal, send the file mating with described device parameter and version identifier.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
This document synchronous method, when carrying out when synchronous the file in terminal, can first obtain the device parameter of terminal and the version identifier of operating system, then only to the server request file corresponding with the version identifier of device parameter and operating system, and then when each renewal, only upgrade the file corresponding with the device parameter of terminal and the version identifier of operating system, and can not upgrade the file of all system versions, reduce terminal and obtained the quantity of file, the time consuming while making transaction file and the Internet resources that take reduce, and the inner capacities of the file of storage in terminal is greatly reduced, improve the utilance of terminal storage space.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is herein merged in specification and forms the part of this specification, shows embodiment according to the invention, and is used from and explains principle of the present invention with specification one.
Fig. 1 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 2 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 3 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 4 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 5 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 6 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 7 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 8 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Fig. 9 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Figure 10 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Figure 11 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Figure 12 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment.
Figure 13 is according to a kind of scene schematic diagram shown in an exemplary embodiment.
Figure 14 is according to the signaling diagram of a kind of file synchronisation method shown in an exemplary embodiment.
Figure 15 is according to the block diagram of a kind of file synchronization device shown in an exemplary embodiment.
Figure 16 is according to the block diagram of a kind of file synchronization shown in an exemplary embodiment.
Figure 17 is according to the block diagram of a kind of mobile terminal for file synchronisation method shown in an exemplary embodiment.
Figure 18 is according to the block diagram of a kind of server for file synchronisation method shown in an exemplary embodiment.
Embodiment
Here will at length to exemplary embodiment, describe, its example shown in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they are only the examples with apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Fig. 1 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment, and as shown in Figure 1, this document synchronous method, for terminal, comprises the following steps.
In step S101, obtain the device parameter of described terminal and the version identifier of operating system.
In disclosure embodiment, the device parameter of terminal can be the parameters such as type, screen resolution, system language, and the version identifier of operating system refers to the version number of the operating system that current terminal adopts.
In step S102, the file that request server synchronously mates with described device parameter and version identifier.
Terminal can spanned file synchronization request, and this document synchronization request is sent to server.In file synchronization request, carry the device parameter of terminal and the version identifier of operating system.
In step S103, the file mating with described device parameter and version identifier that reception server sends.
When server receives after file synchronization request, can search the file matching with device parameter and version identifier according to file synchronization request, and the file of searching is sent to terminal.
If what take object for appreciation tractor driver volume is synchronously application scenarios, this document synchronous method, playing content in tractor driver's volume in need to be to terminal carries out when synchronous, can first obtain the device parameter of terminal and the version identifier of operating system, then only to the server request file corresponding with the version identifier of device parameter and operating system, and then when each renewal, only upgrade the object for appreciation tractor driver volume content corresponding with the device parameter of terminal and the version identifier of operating system, and can not upgrade the object for appreciation tractor driver volume content of all system versions, reduce terminal and obtained the quantity of playing tractor driver's volume content, the Internet resources minimizing that makes to upgrade the time consuming while playing tractor driver's volume content and take, and the inner capacities of the object for appreciation tractor driver volume of storage in terminal is greatly reduced, improve the utilance of terminal storage space.
Fig. 2 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment, and as shown in Figure 2, this document synchronous method, for terminal, comprises the following steps.
In step S201, obtain the device parameter of described terminal and the version identifier of operating system.
In step S202, the functional module item list that request server synchronously mates with described device parameter and version identifier.
The normal terminal of using is provided with one or more APP conventionally in the system of terminal.In disclosure embodiment, for playing tractor driver's volume, can be using each APP in terminal as a functional module item, and will in each APP, need the function of introducing as a function introduction item, like this when needs carry out when synchronous playing tractor driver's volume, be exactly in fact to play in tractor driver's volume functional module item or function introduction or functional module item and function introduction item carried out synchronously simultaneously.
Ginseng is shown in Table 1, and is the signal of functional module item in mobile phone in table.
Table 1:
Ginseng is shown in Table 2, and is the signal of function introduction item in common software in table.
Table 2:
By system operator or software operation business's renewal, the version of the introduction of the various APP that store up in server memory is all up-to-date conventionally, so, in the time need to upgrading the functional module item in object for appreciation tractor driver volume, in this step, first from server, obtain the list of functional module item, in this functional module item list, have up-to-date functional module item inventory.
In disclosure embodiment, this functional module item list comprises the first identify label and the first version sign of at least one functional module item, and each functional module item comprises at least one function introduction item.
In step S203, according to the list of described functional module item, filter out current need and do synchronous functional module item.
In disclosure embodiment, for each the functional module item in the list of described functional module item, as shown in Figure 3, this step S203 can comprise the following steps:
In step S2031, in the local data base of described terminal, search and whether have second version identifier corresponding with the first identify label of current functional module item;
If there is described the second version identifier, in step S2032, judge that whether described the second version identifier is early than described first version sign.
In this step, judge that whether the second version identifier is early than first version sign, object is in order to determine whether the version of the functional module item in terminal is old version.In the disclosure, version identifier can be version number, and version number can represent according to one or more specific fields, character sortord in each specific fields is fixed, for example: the version number of Android system is according to as shown in table 3 respectively by morning to evening, visible, version number " Android3.0 " will be early 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 other embodiment of the disclosure; can also adopt alternate manner; for example: number corresponding issuing time of local function module release and objective function module release number corresponding issuing time; judge that whether local function module release is number early than objective function module release number; in the disclosure, will not enumerate; it will be recognized by those skilled in the art that these all belong to protection range of the present disclosure.
When described the second version identifier identifies early than described first version, in step S2033, determine that current functional module Xiang Weixu does synchronous functional module item.
The second version identifier identifies early than first version, and explanation is that in terminal, the version of this functional module item is old version, and in server, the version of this functional module item item is redaction, so this functional module item need to be done synchronous functional module item.On the contrary, in server the version identifier of functional module item early than or equal the version identifier of functional module item in terminal, illustrate that so the functional module item in terminal is redaction, without synchronously, process ends, judges next functional module.
If there is no described the second version identifier, in step S2034, determines that current functional module Xiang Weixu does synchronous functional module item.
For some functional module items, if there is not the second corresponding with it version identifier in terminal, illustrate that this functional module item is a brand-new functional module for terminal, so also need to carry out synchronous, for example: the software for installing in mobile phone, at disclosure embodiment, server can be user's cloud memory space, brand-new functional module can be the APP that user has downloaded in cloud memory space, and not being arranged in terminal, but not all uninstalled APP of pointer to mobile phone.
Because all functions module item in the functional module item list of obtaining is all the version identifier with terminal equipment parameter and operating system, and then by this step, to playing the content of tractor driver's volume, carrying out when synchronous, can be selectively synchronous those meet terminal, and version early or non-existent functional module item in terminal, but not all to playing all functions module item of tractor driver's volume, all carry out synchronously at every turn, synchronous accuracy is high, reduce irrelevant with terminal or without the synchronous amount of the functional module item of synchronizeing, therefore, can be to playing the synchronous time shorten of tractor driver's volume, the Internet resources that take reduce, improve synchronous efficiency.
In step S204, for each current need, do synchronous functional module item, the information of synchronous this functional module item of request server.
The information of functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item.
Equally, renewal due to system operator or software operation business, the version of the introduction of the various APP that store up in server memory is all up-to-date conventionally, so, when needs are when playing in tractor driver's volume that function introduction item upgrades, in this step, first from server, obtain the information of function introduction item, in the information of this function introduction item, have the content of up-to-date function introduction item.
In step S205, according to the information of described functional module item, filter out current need and do synchronous function introduction item.
In disclosure embodiment, for each the function introduction item in functional module item described in each, as shown in Figure 4, this step S205 can comprise the following steps:
In step S2051, in the local data base of described terminal, search and whether have four version identifier corresponding with the second identify label of current function introduction item;
If there is described the 4th version identifier, in step S2052, judge that whether described the 4th version identifier is early than described this sign of the third edition.
When described the 4th version identifier is during early than described this sign of the third edition, in step S2053, determine that current function introduction Xiang Weixu does synchronous function introduction item.
Referring to the description in above-mentioned steps S2033, known, in step S2052, when judging the 4th version identifier early than this sign of the third edition, the version that function introduction item in server is described is redaction, so need to function introduction item corresponding in terminal be carried out synchronously.
If there is no described the 4th version identifier, in step S2054, determines that current function introduction Xiang Weixu does synchronous function introduction item.
Description referring to above-mentioned steps S2034, known, in step S2051, in judging terminal, there is not the 4th version identifier, illustrate that this function introduction item is a brand-new function introduction item for terminal, for example: the function increasing newly after certain a software upgrading.
By this step, to playing the content of tractor driver's volume, carrying out when synchronous, can be selectively synchronous those meet terminal, and version early or non-existent function introduction item in terminal, but not all functions introduction in each functional module item of object for appreciation tractor driver volume is carried out synchronously at every turn, for example: after some software upgradings, increased a function, and this software other function except new function all for a change, so just without other function beyond this new function is upgraded.So just make synchronous accuracy high, reduce irrelevant with terminal or without the synchronous amount of the functional module of synchronizeing, therefore, can be to playing the synchronous time shorten of tractor driver's volume, the Internet resources that take reduce, and improve synchronous efficiency.
In step S206, for each current need, do synchronous function introduction item, the information of synchronous this function introduction item of request server.
In disclosure embodiment, as shown in Figure 5, this step S206 can comprise the following steps:
In step S2061, request server synchronously with described system language and the screen resolution data of introducing corresponding, current function introduction item.
In disclosure embodiment, the described data of introducing comprises: document or picture.
In step S2062, that stored, corresponding with current function introduction item history is introduced to data delete in the local data base of described terminal.
When introducing after data at the synchronous current function introduction item of step S2061 middle term server request, corresponding with this current function introduction item so history is introduced data and just can be deleted, to improve the utilance of terminal storage space.
In step S2063, reception server sends the data of introducing the storage of described current function introduction item.
For the terminal of limited storage space, first carry out step S2062, can before receiving the new data of introducing, clean out memory space, to store the new data of introducing.But in other embodiment of the disclosure, when the memory space of terminal is more rich, above-mentioned steps S2062 can also carry out after step S2063, can also avoid like this history introduce data deleted after, once the new data of introducing synchronization failure, and cause in terminal without any the available awkward problem of introducing data.
In another embodiment of the disclosure, when judgment result is that of above-mentioned steps S2031: there be not second version identifier corresponding with the first identify label of current functional module item in the local data base in described terminal, as shown in Figure 6, the method can also comprise the following steps:
In step S207, obtain second identify label that all functions of device parameter and version identifier coupling described in functional module Xiang Zhongyu are introduced;
In step S208, according to described the second identify label, synchronous and described the second identify label corresponding function of request server is introduced the information of item.
And judgment result is that as above-mentioned steps S2031: in the local data base of described terminal, there is second version identifier corresponding with the first identify label of current functional module item, and after step S2033, then carry out step S204.
From above-mentioned to obtain the information of function introduction item by step S205~S206 different, when there is not the second version identifier in judgement in step S2031, illustrate that current functional module item is a brand-new functional module item for terminal, so just without screening by step S205, but all functions that can directly current functional module item be comprised are introduced in item, the all functions of mating with described device parameter and version identifier are so introduced item, directly carry out synchronous.
In another embodiment of the disclosure,, on the basis of above-mentioned any one method example, as shown in Figure 7, the method can also comprise the following steps:
In step S301, obtain this lock in time of the file that described request server sync mates with described device parameter and version identifier.
Each to playing tractor driver's synchronous time of volume in order to record, can pass through this step, subsynchronous time of minute book.This lock in time of the file that request server synchronously mates with described device parameter and version identifier, system time that can be when to server Transmit message synchronization request.In addition, using the time of Transmit message synchronization request as this lock in time, it is a concrete Application Example of the present disclosure, in other embodiment of the disclosure, consider conventionally and to carry out when synchronous playing tractor driver's volume, all to be triggered while opening object for appreciation tractor driver's volume or system upgrade process by user, so the system time in the time of user can also being opened to object for appreciation tractor driver's volume or system upgrade is as this lock in time.
In step S302, the lock in time of the information using described this lock in time as described functional module item and the information of described function introduction item storage.
In disclosure embodiment, can, using this lock in time as an attribute information, be stored in this database of terminal together with the information of functional module item and the information of function introduction item.
In addition,, in order further to improve the utilance of terminal storage space, on the basis of embodiment described in Fig. 7, as shown in Figure 8, the method can also comprise the following steps.
In step S303, by the local data of described terminal, store, lock in time is early than the information of the functional module item of described this lock in time and the information deletion of function introduction item.
In other embodiment of the disclosure, deletion to the information of the information of functional module item and function introduction item, can also separately carry out, for example: for the difference in functionality in each functional module item, introduce Xiang Eryan, after each function introduction item synchronously completes, just can will in the local data of terminal, store, lock in time is early than the information deletion of the function introduction item of described this lock in time, and for each functional module Xiang Eryan, after can in this functional module item, all functions introduction item all synchronously completes, in the local data of terminal, store again, lock in time is early than the information deletion of the functional module item of described this lock in time.
In an application scenarios, terminal in use, may there is the situation that system language changes, if so after system language changes, play storage in tractor driver's volume, the content corresponding with original system language will become useless, for this reason, in embodiment of the disclosure, on the basis of above-mentioned any one method example, as shown in Figure 9, the method can also comprise the following steps.
In step S401, obtain user and objective function is introduced to the operation requests of item.
After this operation requests can change for the system language of terminal, user opens for the first time and plays tractor driver's volume, or, open some contents of introducing of playing in tractor driver's volume, in addition, after can also changing for the system language of terminal, tractor driver's volume is played in customer upgrade.
In step S402, judge in the local data base of described terminal, whether to store the information that described objective function that the system language current with described terminal is corresponding is introduced.
If do not store the information of the described objective function introduction item that the system language current with described terminal is corresponding, in step S403, synchronous current with described terminal described objective function corresponding to system language of request server introduced the information of item.Otherwise, process ends, and utilize the information of the objective function item of storage to carry out follow-up other operation.
The method is after system language change, can be separately for some function introduction items or all function introduction items, request server upgrades the data of introducing corresponding to function introduction item that the system language current with terminal matches again separately, to facilitate user after system language change, also can read in time the content of playing in tractor driver's volume.
Figure 10 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment, and as shown in figure 10, this document synchronous method, for server, comprises the following steps.
In step S501, the file synchronization request that receiving terminal sends.
In this synchronization request, at least comprise: the device parameter of described terminal and the version identifier of operating system.
In step S502, according to described file synchronization request, to described terminal, send the file mating with described device parameter and version identifier.
This document synchronous method, playing content in tractor driver's volume in to terminal carries out when synchronous, can only to terminal, send the object for appreciation tractor driver volume content corresponding with the device parameter of terminal and the version identifier of operating system, and can not upgrade the object for appreciation tractor driver volume content of all system versions, reduce terminal and obtained the quantity of playing tractor driver's volume content, the Internet resources minimizing that makes to upgrade the time consuming while playing tractor driver's volume content and take, and the inner capacities of the object for appreciation tractor driver volume of storage in terminal is greatly reduced, improve the utilance of terminal storage space.
Figure 11 is according to the flow chart of a kind of file synchronisation method shown in an exemplary embodiment, and as shown in figure 11, this document synchronous method, for server, comprises the following steps.
In step S601, the file synchronization request that receiving terminal sends.
In step S602, according to described file synchronization request, to described terminal, send the functional module item list of mating with described device parameter and version identifier.
The list of described functional module item comprises the first identify label and the first version sign of at least one functional module item.
The normal terminal of using is provided with one or more APP conventionally in the system of terminal.In disclosure embodiment, for playing tractor driver's volume, can be using each APP in terminal as a functional module item, and will in each APP, need the function of introducing as a function introduction item, like this when needs carry out when synchronous playing tractor driver's volume, be exactly in fact to play in tractor driver's volume functional module item or function introduction or functional module item and function introduction item carried out synchronously simultaneously.
By system operator or software operation business's renewal, the version of the introduction of the various APP that store up in server memory is all up-to-date conventionally.In addition, in disclosure embodiment, this functional module item list comprises the first identify label and the first version sign of at least one functional module item, and each functional module item comprises at least one function introduction item.
In step S603, receive the functional module item synchronization request that described terminal sends.
In functional module item synchronization request, at least comprise: described terminal filters out according to the list of described functional module item the first identify label that current need are done synchronous functional module item.
In step S604, according to described functional module item synchronization request, the information to described terminal transmission with described the first identify label corresponding function module item.
The information of functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item.
In step S6O5, receive the function introduction item synchronization request that described terminal sends.
In function introduction item synchronization request, at least comprise: described terminal goes out according to the information sifting of described functional module item the second identify label that current need are done synchronous function introduction item.
In step S606, according to described function introduction item synchronization request, to described terminal, send the information of introducing item with described the second identify label corresponding function.
Can be selectively synchronous those of the method meet terminal, and version early or non-existent functional module item in terminal, but not all to playing all functions module item of tractor driver's volume, all carry out synchronously at every turn, synchronous accuracy is high, reduce irrelevant with terminal or without the synchronous amount of the functional module item of synchronizeing, therefore, can be to playing the synchronous time shorten of tractor driver's volume, the Internet resources that take reduce, and improve synchronous efficiency.
In another embodiment of the disclosure, as shown in figure 12, the method can also comprise the following steps:
In step S607, according to described functional module item synchronization request, judge in described terminal, whether there be the functional module item corresponding with described the first identify label.
If there is not the functional module corresponding with described the first identify label in terminal, in step S608, according to described functional module item synchronization request, to described terminal send with in described the first identify label corresponding function module item, the information of mating all functions introduction item with described device parameter and version identifier.
And if there is the functional module corresponding with described the first identify label, execution above-mentioned steps S604 when terminal is interior.
In embodiment of the disclosure, when the device parameter of described terminal comprises: when system language and screen resolution, above-mentioned steps S606 or step S608 can comprise the following steps:
To described terminal sending function, introduce system language and the data of introducing corresponding to screen resolution described in Xiang Zhongyu, the described data of introducing comprises: document or picture.
In addition, in another embodiment of the disclosure, when the device parameter of described terminal comprises: during system language, the method can also comprise the following steps:
11), receive described terminal and send the information synchronization request of target being introduced to function items.
12), according to described information synchronization request, to the information of described objective function introduction item corresponding to the described terminal transmission system language current with described terminal.
In addition, product manager can also, for functional module item and the function introduction item of server memory storage, adjust, for example: add new functional module item and function introduction item, or, delete function module item and function introduction item, or, the content of modify feature module item and function introduction item.For this reason, in disclosure embodiment, for functional module item, the method can also comprise the following steps:
21), receiving module item operation requests.
In described functional module item operation requests, comprise: the first identify label of functional module item.
22), determine the type of described functional module item operation requests.
The type of described functional module item operation requests comprises: add functional module item type, modify feature module item type or delete function module item type.
23) add, if functional module item type, obtain and described the first identify label corresponding function module item, and be set to initial value with the first version sign of described the first identify label corresponding function module item
24), modify feature module item type if, according to described functional module item operation requests pair, modify with described the first identify label corresponding function module item, and the first version of modification and described the first identify label corresponding function module item identifies.
25), delete function module item type if, the functional module item corresponding with described the first identify label and corresponding all functions introduction are deleted
In another embodiment of the disclosure, for function introduction item, the method can also comprise the following steps:
31), receiving function is introduced an operation requests.
In described function introduction item operation requests, comprise: the second identify label of function introduction item.
32), determine the type of described function introduction item operation requests.
The type of described function introduction item operation requests comprises: add function introduction item type, a modify feature introduction type or delete function and introduce a type.
33) add, if function introduction item type, obtain with described the second identify label corresponding function and introduce item, and will be set to initial value with this sign of the third edition of described the second identify label corresponding function introduction item.
34), modify feature is introduced a type if, according to described function introduction item operation requests pair, modify with described the second identify label corresponding function introduction item, and modification and described the second identify label corresponding function are introduced the second version identifier of item.
35), delete function is introduced a type if, by the function introduction entry deletion corresponding with described the second identify label.
Shown in Figure 13, be the scene schematic diagram that disclosure embodiment provides, figure comprises: terminal 1, base station 3 and server 2, and between terminal 1 and server 2, can carry out wireless signal by base station 3 and be connected.And the signaling process figure between terminal 1 and server 2 is shown in Figure 14.
Embodiment of the method shown in above-mentioned Fig. 1-Figure 12, the reference mutually of the same steps in distinct methods embodiment, the different step in distinct methods embodiment can independent assortment, and the scheme obtaining after combination, also belongs to protection range of the present disclosure.
Figure 15 is according to the block diagram of a kind of file synchronization device shown in an exemplary embodiment.This application of installation is in terminal, and with reference to Figure 15, this device comprises the first acquiring unit 11, file request unit 12 and file receiving element 13.
This first acquiring unit 11 is configured to obtain the device parameter of described terminal and the version identifier of operating system;
This document request unit 12 is configured to the file that request server synchronously mates with described device parameter and version identifier;
This document receiving element 13 is configured to the file mating with described device parameter and version identifier that reception server sends.
This document synchronizer, playing content in tractor driver's volume in need to be to terminal carries out when synchronous, can first obtain the device parameter of terminal and the version identifier of operating system, then only to the server request file corresponding with the version identifier of device parameter and operating system, and then when each renewal, only upgrade the object for appreciation tractor driver volume content corresponding with the device parameter of terminal and the version identifier of operating system, and can not upgrade the object for appreciation tractor driver volume content of all system versions, reduce terminal and obtained the quantity of playing tractor driver's volume content, the Internet resources minimizing that makes to upgrade the time consuming while playing tractor driver's volume content and take, and the inner capacities of the object for appreciation tractor driver volume of storage in terminal is greatly reduced, improve the utilance of terminal storage space.
In embodiment of the disclosure, file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item, and this document request unit 12 comprises:
Functional module item list request unit is configured to the functional module item list that request server synchronously mates with described device parameter and version identifier;
The first screening unit is configured to according to the list of described functional module item, filters out current need and does synchronous functional module item;
Functional module item information request unit is configured to do synchronous functional module item for each current need, the information of synchronous this functional module item of request server;
The second screening unit is configured to according to the information of described functional module item, filters out current need and does synchronous function introduction item;
The first function introduction item information request unit is configured to do synchronous function introduction item for each current need, the information of synchronous this function introduction item of request server.
In embodiment of the disclosure, the list of functional module item comprises the first identify label and the first version sign of at least one functional module item, and the first screening unit comprises:
First searches unit is configured to search in the local data base of described terminal whether have second version identifier corresponding with the first identify label of current functional module item;
The first judging unit is configured to when there is described the second version identifier, judges that whether described the second version identifier is early than described first version sign;
The first functional module item determining unit is configured to, when described the second version identifier identifies early than described first version, determine that current functional module Xiang Weixu does synchronous functional module item;
The second functional module item determining unit is configured to when not there is not described the second version identifier, determines that current functional module Xiang Weixu does synchronous functional module item.
In embodiment of the disclosure, this document request unit 12 also comprises:
The second identify label acquiring unit is configured to for each, in the situation that not there is not described the second version identifier, be confirmed as doing synchronous functional module item, obtains second identify label that all functions of device parameter and version identifier coupling described in functional module Xiang Zhongyu are introduced;
The second function introduction item information request unit is configured to the information that synchronous and described the second identify label corresponding function of request server is introduced item.
Described functional module item information request unit is also configured to for each, in the situation that there is described the second version identifier, be confirmed as doing synchronous functional module item, the information of synchronous this functional module item of request server.
In another embodiment of the disclosure, the information of functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item, and this second screening unit can comprise:
Second searches unit is configured to search in the local data base of described terminal whether have four version identifier corresponding with the second identify label of current function introduction item;
The second judging unit is configured to when there is described the 4th version identifier, judges that whether described the 4th version identifier is early than described this sign of the third edition;
The first function introduction item determining unit is configured to, when described the 4th version identifier is during early than described this sign of the third edition, determine that current function introduction Xiang Weixu does synchronous function introduction item.
The second function introduction item determining unit is configured to when not there is not described the 4th version identifier, determines that current function introduction Xiang Weixu does synchronous function introduction item.
In embodiment of the disclosure, the device parameter of described terminal comprises: system language and screen resolution;
This first function introduction item information request unit and/or the second function introduction information request unit can comprise:
First introduce data request unit be configured to request server synchronously with described system language and the screen resolution data of introducing corresponding, current function introduction item, the described data of introducing comprises: document or picture;
The data delete cells of introduction is configured to that stored in the local data base of described terminal, corresponding with current function introduction item history is introduced to data and deletes;
Introduce data memory unit and be configured to the data of introducing the storage that reception server sends described current function introduction item.
In embodiment of the disclosure, this device can also comprise:
Lock in time, acquiring unit was configured to obtain this lock in time of the file that described request server sync mates with described device parameter and version identifier,
Lock in time, processing unit was configured to lock in time the storage of the information of information using described this lock in time as described functional module item and described function introduction item.
After lock in time, go unit and lock in time processing unit basis on, this device can also comprise:
Delete cells is configured to after the information success of synchronous this function introduction item of request server, by the local data of described terminal, store, lock in time is early than the information of the functional module item of described this lock in time and the information deletion of function introduction item.
In addition,, in another embodiment of the disclosure, this device can also comprise:
Operation requests acquiring unit is configured to obtain user and objective function is introduced to the operation requests of item;
Information judging unit is configured to judge in the local data base of described terminal, whether to store the information that described objective function that the system language current with described terminal is corresponding is introduced;
Second introduces data request unit is configured to when not storing the information of the described objective function introduction item that the system language current with described terminal is corresponding, and synchronous current with described terminal described objective function corresponding to system language of request server introduced the information of item.
Figure 16 is according to the block diagram of a kind of file synchronization device shown in an exemplary embodiment.This application of installation is in server, and with reference to Figure 16, this device comprises file synchronization request reception unit 21 and file transmitting element 22.
This document synchronization request receiving element 21 is configured to the file synchronization request that receiving terminal sends, and at least comprises: the device parameter of described terminal and the version identifier of operating system in described synchronization request;
This document transmitting element 22 is configured to send to described terminal according to described file synchronization request the file mating with described device parameter and version identifier.
This document synchronizer, playing content in tractor driver's volume in to terminal carries out when synchronous, can only to terminal, send the object for appreciation tractor driver volume content corresponding with the device parameter of terminal and the version identifier of operating system, and can not upgrade the object for appreciation tractor driver volume content of all system versions, reduce terminal and obtained the quantity of playing tractor driver's volume content, the Internet resources minimizing that makes to upgrade the time consuming while playing tractor driver's volume content and take, and the inner capacities of the object for appreciation tractor driver volume of storage in terminal is greatly reduced, improve the utilance of terminal storage space.
In embodiment of the disclosure, file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item, and this document transmitting element 22 can comprise:
Functional module item list transmitting element is configured to send to described terminal according to described file synchronization request the functional module item list of mating with described device parameter and version identifier, and the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Functional module item synchronization request receiving element is configured to receive the functional module item synchronization request that described terminal sends, and at least comprises: described terminal filters out according to the list of described functional module item the first identify label that current need are done synchronous functional module item in described functional module item synchronization request;
Functional module item information transmitting unit is configured to according to described functional module item synchronization request, the information to described terminal transmission with described the first identify label corresponding function module item; The information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Function introduction item synchronization request receiving element is configured to receive the function introduction item synchronization request that described terminal sends, and at least comprises: described terminal goes out according to the information sifting of described functional module item the second identify label that current need are done synchronous function introduction item in described function introduction item synchronization request;
The first function introduction item information transmitting unit is configured to according to described function introduction item synchronization request, sends the information of introducing item with described the second identify label corresponding function to described terminal.
In embodiment of the disclosure, file transmitting element 22 can also comprise:
Judging unit, is configured according to described functional module item synchronization request, judges in described terminal, whether there be the functional module item corresponding with described the first identify label.
When the first function introduction item information transmitting unit is configured to there be not the functional module corresponding with described the first identify label in terminal, according to described functional module item synchronization request, to described terminal send with in described the first identify label corresponding function module item, the information of mating all functions introduction item with described device parameter and version identifier.
When described functional module item information transmitting unit is also configured to have the functional module corresponding with described the first identify label in terminal, according to described functional module item synchronization request, the information to described terminal transmission with described the first identify label corresponding function module item.
In embodiment of the disclosure, the device parameter of terminal comprises: system language and screen resolution;
Described the first function introduction item information transmitting unit and/or the second function introduction item information transmitting unit, can comprise:
The data transmitting element of introduction is configured to introduce system language and the data of introducing corresponding to screen resolution described in Xiang Zhongyu to described terminal sending function, and the described data of introducing comprises: document or picture.
In embodiment of the disclosure, the device parameter of described terminal comprises: system language;
Described device can also comprise:
Information synchronization request receiving element is configured to receive described terminal and sends the information synchronization request of target being introduced to function items;
Information transmitting unit is configured to according to described information synchronization request, sends the information of the described objective function introduction item that the system language current with described terminal is corresponding to described terminal.
In embodiment of the disclosure, this device can also comprise:
Functional module item operation requests receiving element is configured to receiving module item operation requests, comprises: the first identify label of functional module item in described functional module item operation requests;
Functional module item operation requests type determining unit is configured to determine the type of described functional module item operation requests, and the type of described functional module item operation requests comprises: add functional module item type, modify feature module item type or delete function module item type;
Functional module item adding device is configured to add if functional module item type, obtains and described the first identify label corresponding function module item, and is set to initial value with the first version sign of described the first identify label corresponding function module item;
Functional module item is revised unit and is configured to modify feature module item type if, according to described functional module item operation requests pair, modify with described the first identify label corresponding function module item, and the first version of modification and described the first identify label corresponding function module item sign;
Functional module entry deletion unit is configured to delete function module item type if, and the functional module item corresponding with described the first identify label and corresponding all functions introduction are deleted.
In embodiment of the disclosure, this device can also comprise:
Function introduction item operation requests receiving element is configured to receiving function and introduces an operation requests, comprises: the second identify label of function introduction item in described function introduction item operation requests;
Function introduction item operation requests type determining unit is configured to determine the type of described function introduction item operation requests, and the type of described function introduction item operation requests comprises: add function introduction item type, a modify feature introduction type or delete function and introduce a type;
Function introduction item adding device is configured to add if function introduction item type, obtains with described the second identify label corresponding function and introduces item, and will be set to initial value with this sign of the third edition of described the second identify label corresponding function introduction item;
Function introduction item is revised unit and is configured to a modify feature introduction type if, according to described function introduction item operation requests pair, modify with described the second identify label corresponding function introduction item, and the second version identifier of modification and described the second identify label corresponding function introduction item;
Function introduction entry deletion unit is configured to delete function and if introduces a type, by the function introduction entry deletion corresponding with described the second identify label.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment of relevant the method, will not elaborate explanation herein.
Figure 17 is according to the block diagram of a kind of terminal 800 for terminal document processing method shown in an exemplary embodiment.For example, terminal 800 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 17, terminal 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of processing components 802 common control terminals 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of the above-mentioned method of carrying out in end side.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing components 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation in terminal 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is terminal 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for terminal 800.
Multimedia groupware 808 is included in the screen that an output interface is provided between described terminal 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when terminal 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal receiving can be further stored in memory 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducers, is used to terminal 800 that the state estimation of various aspects is provided.For example, sensor cluster 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, for example described assembly is display and the keypad of terminal 800, the position of all right sense terminals 800 of sensor cluster 814 or 800 1 assemblies of terminal changes, the existence that user contacts with terminal 800 or do not have the variations in temperature of terminal 800 orientation or acceleration/deceleration and terminal 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, as WiFi, and 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 800 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the memory 804 of instruction, above-mentioned instruction can have been carried out the above-mentioned method of carrying out in end side by the processor 820 of terminal 800.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
Figure 18 is according to the block diagram of a kind of server 1900 for multimedia messages mark shown in an exemplary embodiment.For example, server 1900 may be provided in a server.With reference to Figure 18, server 1900 comprises processing components 1922, and it further comprises one or more processors, and by the memory resource of memory 1932 representatives, can for example, by the instruction of the execution of processing components 1922, application program for storing.In memory 1932, the application program of storage can comprise one or more each module corresponding to one group of instruction.In addition, processing components 1922 is configured to carry out instruction, to carry out the above-mentioned method of carrying out at server side.
Server 1900 can also comprise that a power supply module 1926 is configured to carry out the power management of server 1900, a wired or wireless network interface 1950 is configured to server 1900 to be connected to network, and input and output (I/O) interface 1958.Server 1900 can operate the operating system based on being stored in memory 1932, Windows ServerTM for example, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, considering specification and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various modifications and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (34)
1. a file synchronisation method, is applied to, in terminal, it is characterized in that, described method comprises:
Obtain the device parameter of described terminal and the version identifier of operating system;
The file that request server synchronously mates with described device parameter and version identifier;
The file mating with described device parameter and version identifier that reception server sends.
2. method according to claim 1, is characterized in that, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
Described request server sync and the file that described device parameter and version identifier mate, comprising:
The functional module item list that request server synchronously mates with described device parameter and version identifier;
According to the list of described functional module item, filter out current need and do synchronous functional module item;
For each current need, do synchronous functional module item, the information of synchronous this functional module item of request server;
According to the information of described functional module item, filter out current need and do synchronous function introduction item;
For each current need, do synchronous function introduction item, the information of synchronous this function introduction item of request server.
3. method according to claim 2, is characterized in that, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Described according to the list of described functional module item, filter out current need and do synchronous functional module item, comprising:
For each the functional module item in the list of described functional module item:
In the local data base of described terminal, search and whether have second version identifier corresponding with the first identify label of current functional module item;
If there is described the second version identifier, judge that whether described the second version identifier is early than described first version sign; When described the second version identifier identifies early than described first version, determine that current functional module Xiang Weixu does synchronous functional module item;
If there is no described the second version identifier, determines that current functional module Xiang Weixu does synchronous functional module item.
4. method according to claim 3, it is characterized in that, for each, in the situation that not there is not described the second version identifier, be confirmed as doing synchronous functional module item, obtain second identify label that all functions of device parameter and version identifier coupling described in functional module Xiang Zhongyu are introduced, and the information introduced of synchronous and described the second identify label corresponding function of request server;
For each, in the situation that there is described the second version identifier, be confirmed as doing synchronous functional module item, described in carrying out, for each current need, do synchronous functional module item, the step of the information of synchronous this functional module item of request server.
5. method according to claim 2, is characterized in that, the information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Described according to the information of described functional module item, filter out current need and do synchronous function introduction item, comprising:
For each the function introduction item in functional module item described in each:
In the local data base of described terminal, search and whether have four version identifier corresponding with the second identify label of current function introduction item;
If there is described the 4th version identifier, judge that whether described the 4th version identifier is early than described this sign of the third edition; When described the 4th version identifier is during early than described this sign of the third edition, determine that current function introduction Xiang Weixu does synchronous function introduction item;
If there is no described the 4th version identifier, determines that current function introduction Xiang Weixu does synchronous function introduction item.
6. according to the method described in claim 2 or 4, it is characterized in that, the device parameter of described terminal comprises: system language and screen resolution;
Describedly for each current need, do synchronous function introduction item, the information of synchronous this function introduction item of request server, comprising:
Request server synchronously with described system language and the screen resolution data of introducing corresponding, current function introduction item, the described data of introducing comprises: document or picture;
That stored in the local data base of described terminal, corresponding with current function introduction item history is introduced to data deletes;
Reception server sends the data of introducing the storage of described current function introduction item.
7. method according to claim 2, is characterized in that, described method also comprises:
Obtain this lock in time of the file that described request server sync mates with described device parameter and version identifier,
The lock in time of the information using described this lock in time as described functional module item and the information of described function introduction item storage.
8. method according to claim 7, is characterized in that, described method also comprises:
By in the local data of described terminal, store, lock in time is early than the information of the functional module item of described this lock in time and the information deletion of function introduction item.
9. method according to claim 2, is characterized in that, described method also comprises:
Obtain user and objective function is introduced to the operation requests of item;
Judge and in the local data base of described terminal, whether store the information that described objective function that the system language current with described terminal is corresponding is introduced;
If do not store the information of the described objective function introduction item that the system language current with described terminal is corresponding, synchronous current with described terminal described objective function corresponding to system language of request server introduced the information of item.
10. a file synchronisation method, is applied to, in server, it is characterized in that, described method comprises:
The file synchronization request that receiving terminal sends, at least comprises in described synchronization request: the device parameter of described terminal and the version identifier of operating system;
According to described file synchronization request, to described terminal, send the file mating with described device parameter and version identifier.
11. methods according to claim 10, is characterized in that, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
The described file mating with described device parameter and version identifier that sends to described terminal according to described file synchronization request, comprising:
According to described file synchronization request, to described terminal, send the functional module item list of mating with described device parameter and version identifier, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Receive the functional module item synchronization request that described terminal sends, in described functional module item synchronization request, at least comprise: described terminal filters out according to the list of described functional module item the first identify label that current need are done synchronous functional module item;
According to described functional module item synchronization request, the information to described terminal transmission with described the first identify label corresponding function module item; The information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Receive the function introduction item synchronization request that described terminal sends, in described function introduction item synchronization request, at least comprise: described terminal goes out according to the information sifting of described functional module item the second identify label that current need are done synchronous function introduction item;
According to described function introduction item synchronization request, to described terminal, send the information of introducing item with described the second identify label corresponding function.
12. methods according to claim 11, is characterized in that, the described file mating with described device parameter and version identifier that sends to described terminal according to described file synchronization request, also comprises:
According to described functional module item synchronization request, judge in described terminal, whether there be the functional module item corresponding with described the first identify label;
If there is not the functional module corresponding with described the first identify label in terminal, according to described functional module item synchronization request, to described terminal send with in described the first identify label corresponding function module item, the information of mating all functions introduction item with described device parameter and version identifier;
If there is the functional module corresponding with described the first identify label in terminal, carry out describedly according to described functional module item synchronization request, to described terminal, send and the step of the information of described the first identify label corresponding function module item.
13. according to the method described in claim 11 or 12, it is characterized in that, the device parameter of described terminal comprises: system language and screen resolution;
Information from item to described terminal sending function that introduce, comprising:
To described terminal sending function, introduce system language and the data of introducing corresponding to screen resolution described in Xiang Zhongyu, the described data of introducing comprises: document or picture.
14. methods according to claim 11, is characterized in that, the device parameter of described terminal comprises: system language;
Described method also comprises:
Receive described terminal and send the information synchronization request of target being introduced to function items;
According to described information synchronization request, to described terminal, send the information of the described objective function introduction item that the system language current with described terminal is corresponding.
15. methods according to claim 10, is characterized in that, described method also comprises:
Receiving module item operation requests, comprises in described functional module item operation requests: the first identify label of functional module item;
Determine the type of described functional module item operation requests, the type of described functional module item operation requests comprises: add functional module item type, modify feature module item type or delete function module item type;
Add if functional module item type, obtain and described the first identify label corresponding function module item, and be set to initial value with the first version sign of described the first identify label corresponding function module item;
Modify feature module item type, modifies with described the first identify label corresponding function module item according to described functional module item operation requests pair if, and the first version of modification and described the first identify label corresponding function module item sign;
Delete function module item type, deletes the functional module item corresponding with described the first identify label and corresponding all functions introduction if.
16. methods according to claim 10, is characterized in that, described method also comprises:
Receiving function is introduced an operation requests, comprises: the second identify label of function introduction item in described function introduction item operation requests;
Determine the type of described function introduction item operation requests, the type of described function introduction item operation requests comprises: add function introduction item type, a modify feature introduction type or delete function and introduce a type;
Add if function introduction item type, obtain with described the second identify label corresponding function and introduce item, and will be set to initial value with this sign of the third edition of described the second identify label corresponding function introduction item;
Modify feature is introduced a type if, according to described function introduction item operation requests pair, modify with described the second identify label corresponding function introduction item, and the second version identifier of modification and described the second identify label corresponding function introduction item;
Delete function is introduced a type if, by the function introduction entry deletion corresponding with described the second identify label.
17. 1 kinds of file synchronization devices, are applied to, in terminal, it is characterized in that, described device comprises:
The first acquiring unit, for obtaining the device parameter of described terminal and the version identifier of operating system;
File request unit, the file synchronously mating with described device parameter and version identifier for request server;
File receiving element, the file mating with described device parameter and version identifier sending for reception server.
18. devices according to claim 17, is characterized in that, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
Described file request unit, comprising:
Functional module item list request unit, the functional module item list of synchronously mating with described device parameter and version identifier for request server;
The first screening unit, for according to the list of described functional module item, filters out current need and does synchronous functional module item;
Functional module item information request unit, for doing synchronous functional module item for each current need, the information of synchronous this functional module item of request server;
The second screening unit, for according to the information of described functional module item, filters out current need and does synchronous function introduction item;
The first function introduction item information request unit, for doing synchronous function introduction item for each current need, the information of synchronous this function introduction item of request server.
19. devices according to claim 18, is characterized in that, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Described the first screening unit, comprising:
First searches unit, for searching in the local data base of described terminal, whether has second version identifier corresponding with the first identify label of current functional module item;
The first judging unit, for when there is described the second version identifier, judges that whether described the second version identifier is early than described first version sign;
The first functional module item determining unit, for when described the second version identifier identifies early than described first version, determines that current functional module Xiang Weixu does synchronous functional module item;
The second functional module item determining unit, for when not there is not described the second version identifier, determines that current functional module Xiang Weixu does synchronous functional module item.
20. devices according to claim 19, is characterized in that, described file request unit also comprises:
The second identify label acquiring unit, for being confirmed as in the situation that not there is not described the second version identifier for each doing synchronous functional module item, obtain second identify label that all functions of device parameter and version identifier coupling described in functional module Xiang Zhongyu are introduced;
The second function introduction item information request unit, for the information of synchronous and described the second identify label corresponding function introduction item of request server;
Described functional module item information request unit is for being confirmed as in the situation that there is described the second version identifier for each doing synchronous functional module item executable operations.
21. devices according to claim 20, is characterized in that, the information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Described the second screening unit, comprising:
Second searches unit, for searching in the local data base of described terminal, whether has four version identifier corresponding with the second identify label of current function introduction item;
The second judging unit, for when there is described the 4th version identifier, judges that whether described the 4th version identifier is early than described this sign of the third edition;
The first function introduction item determining unit, for when described the 4th version identifier is during early than described this sign of the third edition, determines that current function introduction Xiang Weixu does synchronous function introduction item;
The second function introduction item determining unit, for when not there is not described the 4th version identifier, determines that current function introduction Xiang Weixu does synchronous function introduction item.
22. according to the device described in claim 18 or 20, it is characterized in that, the device parameter of described terminal comprises: system language and screen resolution;
Described the first function introduction item information request unit and/or the second function introduction information request unit comprise:
First introduces data request unit, for request server synchronously with described system language and the screen resolution data of introducing corresponding, current function introduction item, the described data of introducing comprises: document or picture;
Introduce data delete cells, for that the local data base of described terminal has been stored, corresponding with current function introduction item history, introduce data and delete;
Introduce data memory unit, for reception server, send the data of introducing the storage of described current function introduction item.
23. according to device described in claim 18, it is characterized in that, described device also comprises:
Lock in time acquiring unit, for obtaining this lock in time of the file that described request server sync mates with described device parameter and version identifier,
Lock in time processing unit, for lock in time the storage of the information of the information using described this lock in time as described functional module item and described function introduction item.
24. devices according to claim 23, is characterized in that, described device also comprises:
Delete cells, after the information success when synchronous this function introduction item of request server, by the local data of described terminal, store, lock in time is early than the information of the functional module item of described this lock in time and the information deletion of function introduction item.
25. devices according to claim 18, is characterized in that, described device also comprises:
Operation requests acquiring unit, introduces the operation requests of item for obtaining user to objective function;
Information judging unit, for judging whether the local data base of described terminal stores the information of the described objective function introduction item that the system language current with described terminal is corresponding;
Second introduces data request unit, be used for when not storing the information of the described objective function introduction item that the system language current with described terminal is corresponding, synchronous current with described terminal described objective function corresponding to system language of request server introduced the information of item.
26. 1 kinds of file synchronization devices, are applied to, in server, it is characterized in that, comprising:
File synchronization request reception unit, the file synchronization request sending for receiving terminal, at least comprises in described synchronization request: the device parameter of described terminal and the version identifier of operating system;
File transmitting element, for sending the file mating with described device parameter and version identifier to described terminal according to described file synchronization request.
27. devices according to claim 26, is characterized in that, described file comprises at least one functional module item, and described each functional module item comprises at least one function introduction item;
Described file transmitting element, comprising:
Functional module item list transmitting element, for send the functional module item list of mating with described device parameter and version identifier to described terminal according to described file synchronization request, the list of described functional module item comprises the first identify label and the first version sign of at least one functional module item;
Functional module item synchronization request receiving element, the functional module item synchronization request sending for receiving described terminal, at least comprises in described functional module item synchronization request: described terminal filters out according to the list of described functional module item the first identify label that current need are done synchronous functional module item;
Functional module item information transmitting unit, for according to described functional module item synchronization request, sends the information with described the first identify label corresponding function module item to described terminal; The information of described functional module item comprises: described in this functional module Xiang Zhongyu, all functions of device parameter and version identifier coupling are introduced the second identify label and this sign of the third edition of item;
Function introduction item synchronization request receiving element, the function introduction item synchronization request sending for receiving described terminal, at least comprises in described function introduction item synchronization request: described terminal goes out according to the information sifting of described functional module item the second identify label that current need are done synchronous function introduction item;
The first function introduction item information transmitting unit, for according to described function introduction item synchronization request, sends the information of introducing item with described the second identify label corresponding function to described terminal.
28. devices according to claim 27, is characterized in that, described file transmitting element also comprises:
Judging unit, for according to described functional module item synchronization request, judges in described terminal, whether there be the functional module item corresponding with described the first identify label;
The first function introduction item information transmitting unit, while being used for not having the functional module corresponding with described the first identify label in terminal, according to described functional module item synchronization request, to described terminal send with in described the first identify label corresponding function module item, the information of mating all functions introduction item with described device parameter and version identifier;
Executable operations when described functional module item information transmitting unit is used for having the functional module corresponding with described the first identify label in terminal.
29. according to the device described in claim 27 or 28, it is characterized in that, the device parameter of described terminal comprises: system language and screen resolution;
Described the first function introduction item information transmitting unit and/or the second function introduction item information transmitting unit, comprising:
Introduce data transmitting element, for introduce system language and the data of introducing corresponding to screen resolution described in Xiang Zhongyu to described terminal sending function, the described data of introducing comprises: document or picture.
30. devices according to claim 27, is characterized in that, the device parameter of described terminal comprises: system language;
Described device also comprises:
Information synchronization request receiving element, sends for receiving described terminal the information synchronization request of target being introduced to function items;
Information transmitting unit, for according to described information synchronization request, sends the information of the described objective function introduction item that the system language current with described terminal is corresponding to described terminal.
31. devices according to claim 26, is characterized in that, described device also comprises:
Functional module item operation requests receiving element, for receiving module item operation requests, comprises in described functional module item operation requests: the first identify label of functional module item;
Functional module item operation requests type determining unit, for determining the type of described functional module item operation requests, the type of described functional module item operation requests comprises: add functional module item type, modify feature module item type or delete function module item type;
Functional module item adding device, for adding if functional module item type, obtains and described the first identify label corresponding function module item, and is set to initial value with the first version sign of described the first identify label corresponding function module item;
Functional module item is revised unit, be used for modify feature module item type if, according to described functional module item operation requests pair, modify with described the first identify label corresponding function module item, and the first version of modification and described the first identify label corresponding function module item sign;
Functional module entry deletion unit, for delete function module item type if, deletes the functional module item corresponding with described the first identify label and corresponding all functions introduction.
32. devices according to claim 26, is characterized in that, described device also comprises:
Function introduction item operation requests receiving element, introduces an operation requests for receiving function, comprises: the second identify label of function introduction item in described function introduction item operation requests;
Function introduction item operation requests type determining unit, for determining the type of described function introduction item operation requests, the type of described function introduction item operation requests comprises: add function introduction item type, a modify feature introduction type or delete function and introduce a type;
Function introduction item adding device, for adding if function introduction item type, obtains with described the second identify label corresponding function and introduces item, and will be set to initial value with this sign of the third edition of described the second identify label corresponding function introduction item;
Function introduction item is revised unit, be used for modify feature and if introduce a type, according to described function introduction item operation requests pair, modify with described the second identify label corresponding function introduction item, and the second version identifier of modification and described the second identify label corresponding function introduction item;
Function introduction entry deletion unit, introduces a type for delete function if, by the function introduction entry deletion corresponding with described the second identify label.
33. 1 kinds of terminals, is characterized in that, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the device parameter of described terminal and the version identifier of operating system;
The file that request server synchronously mates with described device parameter and version identifier;
The file mating with described device parameter and version identifier that reception server sends.
34. 1 kinds of servers, is characterized in that, comprising:
Processor;
Memory for storage of processor executable instruction;
Wherein, described processor is configured to:
The file synchronization request that receiving terminal sends, at least comprises in described synchronization request: the device parameter of described terminal and the version identifier of operating system;
According to described file synchronization request, to described terminal, send the file mating with described device parameter and version identifier.
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 true CN104038922A (en) | 2014-09-10 |
CN104038922B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104639612A (en) * | 2014-12-31 | 2015-05-20 | 广东欧珀移动通信有限公司 | Information synchronization method and mobile terminal for same |
CN105553703A (en) * | 2015-12-10 | 2016-05-04 | 联想(北京)有限公司 | Information processing method, electronic device and system |
CN109063124A (en) * | 2018-08-01 | 2018-12-21 | 广州视源电子科技股份有限公司 | Method, electronic device, system and computer-readable storage medium for recommending television electronic specification |
CN109299067A (en) * | 2018-08-22 | 2019-02-01 | 北京百度网讯科技有限公司 | Page access method, apparatus and storage medium |
CN112711446A (en) * | 2020-12-29 | 2021-04-27 | 医渡云(北京)技术有限公司 | Method, device and system for realizing novice guiding service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040068722A1 (en) * | 2002-10-02 | 2004-04-08 | Thomas Amodio | System and method for expediting and automating mainframe computer setup |
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 |
-
2014
- 2014-05-07 CN CN201410191770.9A patent/CN104038922B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040068722A1 (en) * | 2002-10-02 | 2004-04-08 | Thomas Amodio | System and method for expediting and automating mainframe computer setup |
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 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104639612A (en) * | 2014-12-31 | 2015-05-20 | 广东欧珀移动通信有限公司 | Information synchronization method and mobile terminal for same |
CN105553703A (en) * | 2015-12-10 | 2016-05-04 | 联想(北京)有限公司 | Information processing method, electronic device and system |
CN105553703B (en) * | 2015-12-10 | 2019-09-24 | 联想(北京)有限公司 | A kind of information processing method, electronic equipment and system |
CN109063124A (en) * | 2018-08-01 | 2018-12-21 | 广州视源电子科技股份有限公司 | Method, electronic device, system and computer-readable storage medium for recommending television electronic specification |
CN109063124B (en) * | 2018-08-01 | 2020-09-25 | 广州视源电子科技股份有限公司 | Method, electronic device, system and computer-readable storage medium for recommending television electronic specification |
CN109299067A (en) * | 2018-08-22 | 2019-02-01 | 北京百度网讯科技有限公司 | Page access method, apparatus and storage medium |
CN112711446A (en) * | 2020-12-29 | 2021-04-27 | 医渡云(北京)技术有限公司 | Method, device and system for realizing novice guiding service |
CN112711446B (en) * | 2020-12-29 | 2024-07-23 | 南京医基云医疗数据研究院有限公司 | Implementation method, device and system of novice guiding service |
Also Published As
Publication number | Publication date |
---|---|
CN104038922B (en) | 2017-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105160854A (en) | Equipment control method, device and terminal equipment | |
CN103916468B (en) | Method for upgrading system, terminal, server and upgrade-system | |
CN104038922A (en) | File synchronization method and related device | |
CN105550357A (en) | Web page refreshing method and device | |
CN104105169A (en) | Method and device for automatically connecting with wireless local area network | |
CN104580637A (en) | Telephone number marking method, terminal and cloud server | |
CN104811776A (en) | Multimedia playing method and device | |
CN110209385A (en) | Establishment of item method and device | |
CN104216672A (en) | Display control method and display control device | |
CN104767857A (en) | Telephone calling method and device based on cloud name cards | |
CN104038537A (en) | Contact list information management method and device and mobile terminal | |
CN104079964A (en) | Method and device for transmitting video information | |
CN103905442A (en) | Wakeup method and device in data synchronization | |
CN105635795A (en) | Collection method and apparatus of television user behavior information | |
CN103944709A (en) | Data synchronization method and device | |
CN107632835A (en) | Using installation method and device | |
CN104853334A (en) | Method and device for analyzing short message | |
CN104853223A (en) | Video stream intercutting method and terminal equipment | |
CN105589575A (en) | Input method invoking method and device | |
CN103902688A (en) | File operation synchronizing method and device | |
CN104135512B (en) | Service registry update method, device, server and client | |
CN105912202A (en) | Application sharing method and device | |
CN105260201A (en) | Application installation methods and devices, and smart devices | |
CN105323318A (en) | Parameter modifying method, parameter modifying device and parameter modifying equipment | |
CN105163141A (en) | Video recommending 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 |