Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Fig. 1, Fig. 1 is the flow diagram of the client data update method first embodiment of the present invention.
The client data update method of present embodiment comprises the following steps:
Step S101, obtains the identification information of the first client data, and corresponding with first client data
The identification information of second client data.
Step S102, the identification information of first client data and the mark of second client data are believed
Breath, judges whether the condition for meeting the first client data of default renewal.
Step S103, if satisfied, then according to the identification information of second client data from the second client downloads pair
That answers updates the data, and first client data is updated according to described update the data.
Client data update method described in present embodiment, according to the identification information of the first client data with it is described
When the identification information of second client data judges to need to update first client data, according to second number clients
According to identification information updated the data from the second client downloads are corresponding, and updated the data according to described to first client
Data are updated.Updated the data without being downloaded from server, transmit updating the data between different clients, and then updated different
The software version of client or other data contents, can reduce the complicated degree of operation, improve and download success rate, and then improve client
The operational efficiency at end.
Wherein, for step S101, it is preferable that first client data is preset with the second client data position
Same type data, such as:Similar software, similar played data etc..First client is preferably similar with the second client
The terminal device of type.Such as:Support the smart mobile phone, tablet computer, learning machine, voice toy, speaker, video of the same communications protocols
Player etc..
Preferably, the first client data and the second client data are respectively fortune in the first client and the second client
Capable software, the word for playing or showing, audio, video or view data and other data of client storage.
Such as:Voice in learning Content, voice toy in learning machine etc..
Further, the identification information may include the version information of software, word, audio, video or view data
Unique identifier or attribute information.
Further, the first client data and the second client data are respectively the first client and the second client
The data of middle preset kind.
In one embodiment, obtain the first client data identification information, and with first client data
The step of identification information of corresponding second client data, comprises the following steps:
Establish the connection with the second client.
Transfer the identification information of the first client data to prestore.
Data inquiry request is sent to the second client, the data inquiry request includes and first client data
Corresponding data query mark.
Receive the identification information for the second client data that data inquiry request described in the second client end response is sent.
The present embodiment, by establish with the connection of the second client, can the second client data of quick obtaining mark letter
Breath.
Preferably, the wireless connection with the second client can be established, such as passes through wifi module, bluetooth module or Zigbee moulds
The wireless modules such as block establish wireless connection.Also wired connection can be established by data cable in other embodiments.
Further, wifi module, bluetooth module, Zigbee module or self-defined wireless communication protocol module etc. can be passed through
Wireless module establishes the wireless connection of the first client and the second client, and speeding up data transmission, improves client data more
New speed.
Further, the data query is identified as the querying condition that data are inquired about in the second client, for looking into
Ask the identification information of data corresponding with first client data.
For step S102, when the first client data and the second client data are respectively the first client and the second visitor
During the software of family end operation, the condition of the first client data of the default renewal may preferably be:First client software
Version be less than the second client software version.
Further, when the first client data and the second client data are respectively the first client and the second client
It is described pre- during other data of interior word, audio, video or view data and client storage for playing or showing
If the condition of the first client data of renewal be preferably:Second client data includes what the first client data did not had
Data.
In one embodiment, when the first client data and the second client data are respectively the first client and second
During the similar software of client operation, the identification information is version information, the mark of first client data
Know information and the identification information of second client data, judge whether the bar for meeting the first client data of default renewal
The step of part, comprises the following steps:
According to the version information of the first client software and the version information of the second client software, first visitor is judged
Whether the version of family end software is less than the version of second client software.
If so, then judge the condition for meeting the first client data of default renewal.
The present embodiment, by comparing the software version of different clients software, can quickly determine a need for renewal client
The software at end.
For step S103, it is preferable that can be directly by passing through wifi module, indigo plant between the first client and the second client
The wireless connection that the wireless modules such as tooth module, Zigbee module or self-defined wireless communication protocol module are established, is updated number
According to transmission.It can further improve the renewal speed of client data.
Further, update the data accordingly, can be for carrying out the software of upgrading renewal to the first client software more
New bag can also be the first client data included by the second client data without data.
In one embodiment, it is corresponding from the second client downloads according to the identification information of second client data
Update the data, and update the data the step of being updated to first client data according to described and comprise the following steps:
From second client downloads software upgrading bag corresponding with the version information of second client software.
According to the software upgrading bag, first client software is updated.
The present embodiment, by comparing the software version of different clients, can quickly obtain high from the client of highest version
The software upgrading bag of version software, software upgrading is carried out to the client of lowest version.
In another embodiment, corresponded to according to the identification information of second client data from the second client downloads
Update the data, and update the data the step of being updated to first client data according to described and comprise the following steps:
Detect the data update instruction of the first client.
If detecting the data update instruction in preset period of time, believed according to the mark of second client data
Breath is updated the data from the second client downloads are corresponding, and first client data is carried out more according to described update the data
Newly.
If being not detected by the data update instruction in preset period of time, terminate to first client data more
Newly.
The present embodiment, can choose whether carry out client data renewal according to client demand.
In the present embodiment, when judge to meet it is default first client data is updated condition when, can be to the
One client sends renewal prompting (such as renewal prompting frame).
Referring to Fig. 2, Fig. 2 is the flow diagram of the client data update method second embodiment of the present invention.
The client data update method and first embodiment of present embodiment difference lies in:It is described to compare institute
State the identification information of the first client data and the identification information of second client data, judge whether to meet it is default more
The step of condition of new first client data, comprises the following steps:
Whether step S201, judging the identification information of first client data includes second client data
Identification information.
Step S202, if it is not, then judging the condition for meeting the first client data of default renewal.
Present embodiment, the second client data include the first client data without data when, judge meet
The condition of the first client data of default renewal.Preferably, first client data is the broadcasting number of the first client
According to when second client data is the played data of the second client, the identification information is the indications of played data.
Such as the learning materials in learning machine, the voice data in voice toy.
In one embodiment, it is corresponding from the second client downloads according to the identification information of second client data
Update the data, and update the data the step of being updated to first client data according to described and comprise the following steps:
Step S203, chooses from the identification information of the second client data and is not included in first client data
Identification information in identification information, generates distinctive mark information.
Step S204, according to the distinctive mark information, from distinctive mark information institute described in second client downloads
Second client data of mark.
Step S205, the second client data of download is added in first client data.
The present embodiment, the second client data include the first client data without data when, only from second visitor
Family end download the first client data for including of the second client data without data, it is fast to can further improve data update
Degree.
Referring to Fig. 3, Fig. 3 is the flow diagram of the 3rd embodiment of client data update method of the present invention.
The client data update method and first embodiment of present embodiment difference lies in:Perform client
End data renewal operation for the first client and the second client, it may include following steps:
Step S301, the first client are connected with the foundation of the second client.
Step S302, the first client send data inquiry request to the second client.
Step S303, the first client receive the second client that data inquiry request described in the second client end response is sent
The identification information of data, and transfer the identification information of the first client data to prestore.
Step S304, identification information and second number clients of the first client first client data
According to identification information, judge whether to meet the condition of the first client data of default renewal, if satisfied, then according to described second
The identification information of client data sends the download request downloaded and accordingly updated the data to the second client.
Step S305, the first client receives the second client, and accordingly the corresponding of download request transmission updates the data,
And first client data is updated according to described update the data.
Present embodiment, can mutually carry out data transmission updating between different clients, can reduce to download from server and update
The complicated operation of data, improves the flexibility ratio and renewal efficiency of client data renewal.
Wherein for step S301, the first client and the second client can by wifi module, bluetooth module or
The wireless module such as Zigbee module or self-defined wireless communication protocol module establishes wireless connection.
, in other embodiments, can be straight after the first client and the foundation connection of the second client for step S302
Connected the identification information that the connection established mutually sends our client data to other side.Data query need not be transmitted please
Ask.
For step S304, in other embodiments, it is less than the second client in the version for judging the first client software
After the version for holding software, the data for being used to run by the second client software that the second client prestores can be also determined whether
In, if the data (difference not having in the data for being used to run by the first client software to prestore there are the first client
Data), if so, then sending the corresponding software upgrading bag of software version for downloading the second client and download institute to the second client
The download request of distinguishes data is stated, is used for what is prestored at the same time to the software version of the first client and the first client by the
The data of one client software operation are updated.
Further, judge meet it is default first client data is updated condition when, if in preset period of time
The more new command of the first client user input is inside received, then sends download request, if not receiving the in preset period of time
The more new command of one client user input, then do not send download request, terminates the renewal of the first client data.
Referring to Fig. 4, Fig. 4 is the structure diagram of the client data more new system first embodiment of the present invention.
The client data more new system of present embodiment includes acquisition module 100, judgment module 200 and renewal mould
Block 300, wherein:
Acquisition module 100, for obtain the first client data identification information, and with first client data
The identification information of corresponding second client data;
Judgment module 200, identification information and second client data for first client data
Identification information, judge whether to meet the condition of the first client data of default renewal;
Update module 300, for when meeting according to the identification information of second client data from the second client
Download it is corresponding update the data, and first client data is updated according to described update the data.
Client data more new system described in present embodiment, according to the identification information of the first client data with it is described
When the identification information of second client data judges to need to update first client data, according to second number clients
According to identification information updated the data from the second client downloads are corresponding, and updated the data according to described to first client
Data are updated.Updated the data without being downloaded from server, transmit updating the data between different clients, and then updated different
The software version of client or other data contents, can reduce the complicated degree of operation, improve and download success rate, and then improve client
The user experience at end.
Wherein, for acquisition module 100, the first client and the terminal device that the second client is preferably same type.
Such as:Support the smart mobile phone of the same communications protocols, tablet computer, learning machine, voice toy, speaker, video player etc..
Preferably, the first client data and the second client data are respectively fortune in the first client and the second client
Capable software, the word for playing or showing, audio, video or view data and other data of client storage.
Such as:Voice in learning Content, voice toy in learning machine etc..
Further, the identification information may include the version information of software, word, audio, video or view data
Unique identifier or attribute information.
Further, the first client data and the second client data are respectively the first client and the second client
The data of middle preset kind.
In one embodiment, acquisition module 100 can be used for:
Establish the connection with the second client.
Transfer the identification information of the first client data to prestore.
Data inquiry request is sent to the second client, the data inquiry request includes and first client data
Corresponding data query mark.
Receive the identification information for the second client data that data inquiry request described in the second client end response is sent.
The present embodiment, by establish with the connection of the second client, can the second client data of quick obtaining mark letter
Breath.
Preferably, the wireless connection with the second client can be established, such as passes through wifi module, bluetooth module, Zigbee moulds
The wireless module such as block or self-defined wireless communication protocol module establishes wireless connection.Data cable can also be passed through in other embodiments
Establish wired connection.
Further, wifi module, bluetooth module, Zigbee module or self-defined wireless communication protocol module etc. can be passed through
Wireless module establishes the wireless connection of the first client and the second client, and speeding up data transmission, improves client data more
New speed.
Further, the data query is identified as the querying condition that data are inquired about in the second client, for looking into
Ask the identification information of data corresponding with first client data.
For judgment module 200, when the first client data and the second client data are respectively the first client and
During the software of two clients operation, the condition of the first client data of the default renewal may preferably be:First client
The version of software is less than the version of the second client software.
Further, when the first client data and the second client data are respectively the first client and the second client
It is described pre- during other data of interior word, audio, video or view data and client storage for playing or showing
If the condition of the first client data of renewal be preferably:Second client data includes what the first client data did not had
Data.
In one embodiment, when the first client data and the second client data are respectively the first client and second
During the similar software of client operation, the identification information is version information, and judgment module 200 can be used for:
According to the version information of the first client software and the version information of the second client software, first visitor is judged
Whether the version of family end software is less than the version of second client software.
If so, then judge the condition for meeting the first client data of default renewal.
The present embodiment, by comparing the software version of different clients software, can quickly determine a need for renewal client
The software at end.
For update module 300, it is preferable that can be directly by passing through wifi moulds between the first client and the second client
Block, bluetooth module, the wireless connection that the wireless module such as Zigbee module or self-defined wireless communication protocol module is established, carries out more
The transmission of new data.It can further improve the renewal speed of client data.
Further, update the data accordingly, can be for carrying out the software of upgrading renewal to the first client software more
New bag can also be the first client data included by the second client data without data.
In one embodiment, update module 300 can be used for:
From second client downloads software upgrading bag corresponding with the version of second client software.
According to the software upgrading bag, first client software is updated.
The present embodiment, by comparing the software version of different clients, can quickly obtain high from the client of highest version
The software upgrading bag of version software, software upgrading is carried out to the client of lowest version.
In another embodiment, update module 300 can be additionally used in:
Detect the data update instruction of the first client.
If detecting the data update instruction in preset period of time, believed according to the mark of second client data
Breath is updated the data from the second client downloads are corresponding, and first client data is carried out more according to described update the data
Newly.
If being not detected by the data update instruction in preset period of time, terminate to first client data more
Newly.
The present embodiment, can choose whether carry out client data renewal according to client demand.
In the present embodiment, when judge to meet it is default first client data is updated condition when, can be to the
One client sends renewal prompting (such as renewal prompting frame).
As described below is the client data more new system second embodiment of the present invention.
The client data more new system and first embodiment of present embodiment difference lies in:Judgment module
200 can be further used for:
Whether judge the identification information of first client data includes the identification information of second client data.
If it is not, then judge the condition for meeting the first client data of default renewal.
Present embodiment, the second client data include the first client data without data when, judge meet
The condition of the first client data of default renewal.Preferably, first client data is the broadcasting number of the first client
According to when second client data is the played data of the second client, the identification information is the indications of played data.
Such as the learning materials in learning machine, the voice data in voice toy.
In one embodiment, update module 300 can be further used for:
The identification information for being not included in first client data is chosen from the identification information of the second client data
In identification information, generate distinctive mark information.
According to the distinctive mark information, second identified from distinctive mark information described in second client downloads
Client data.
Second client data of download is added in first client data.
The present embodiment, the second client data include the first client data without data when, only from second visitor
Family end download the first client data for including of the second client data without data, it is fast to can further improve data update
Degree.
Embodiment described above only expresses the several embodiments of the present invention, its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.