CN103207790B - Method for updating OS and terminal - Google Patents

Method for updating OS and terminal Download PDF

Info

Publication number
CN103207790B
CN103207790B CN201210012929.7A CN201210012929A CN103207790B CN 103207790 B CN103207790 B CN 103207790B CN 201210012929 A CN201210012929 A CN 201210012929A CN 103207790 B CN103207790 B CN 103207790B
Authority
CN
China
Prior art keywords
operating system
terminal
data
content
data 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.)
Active
Application number
CN201210012929.7A
Other languages
Chinese (zh)
Other versions
CN103207790A (en
Inventor
李涛
宋祎斐
杨顺勇
彭绍平
孙涛
杨建起
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210012929.7A priority Critical patent/CN103207790B/en
Publication of CN103207790A publication Critical patent/CN103207790A/en
Application granted granted Critical
Publication of CN103207790B publication Critical patent/CN103207790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a kind of method for updating OS and terminal, described method is applied to have in the first terminal of the first operating system, including: set up the communication connection with the second terminal;Obtain the system data information of the second operating system of described second terminal;Judge whether the system data information of described second operating system meets predetermined condition;When the system data information judging described second operating system meets predetermined condition, it is described second operating system by described first operating system update.Decreased the waste of device resource by the embodiment of the present invention, and reduce the complexity updating operation.

Description

Method for updating OS and terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for updating OS and terminal.
Background technology
Operating system is to control other programs to run, and manages system resource and provides the user the set of the systems soft ware operating interface, for instance the operating system of computer, and along with the development of electronic technology, mobile terminal, for instance mobile phone also has the operating system of oneself.
Existing a kind of method for updating OS, for mobile terminal, when user needs the operating system updating mobile terminal, terminal is connected a upgrade server, operating system update is controlled by upgrade server, namely the aerial downloaded software upgrade technique of mobile terminal is adopted to carry out system update, but this mode needs to use special being updated for the equipment upgraded, cause the wasting of resources, and upgrade server is generally by special personnel's maintenance, such as terminal operator, renewal process needs user to participate in attendant so that update operation relatively complicated.
Summary of the invention
In view of this, the present invention provides a kind of method for updating OS and device, makes the wasting of resources in order to solve existing method for updating OS and operates relatively complicated technical problem.
For achieving the above object, the present invention provides following technical scheme:
A kind of method for updating OS, is applied to have in the first terminal of the first operating system, and described method includes:
Set up the communication connection with the second terminal;
Obtain the system data information of the second operating system of described second terminal;
Judge whether the system data information of described second operating system meets predetermined condition;
When the system data information judging described second operating system meets predetermined condition, it is described second operating system by described first operating system update.
Preferably, described system data information includes system type and version information, then the described system data information judging described second operating system whether meet predetermined condition particularly as follows:
Judge whether that the type of described first operating system is identical with the type of described second operating system, and the version of described first operating system is different from the version of described second operating system.
Preferably, the described system data information judging described second operating system whether meet predetermined condition particularly as follows:
Judging whether the system data information of described second operating system obtains successfully, described system data information obtains and successfully shows that described first operating system is identical with the type of the second operating system.
Preferably, described is that described second operating system includes by described first operating system update:
The content-data of described second operating system is obtained by described communication connection;
According to the content-data of described second operating system, update described first operating system.
Preferably, described is that described second operating system includes by described first operating system update:
Determine the version of described second operating system and the renewal address of described second operating system;
Access described renewal address, obtain the content-data of the second operating system corresponding to described second operating system version;
According to the content-data of described second operating system, update described first operating system.
Preferably, described system data information includes system type and system for content data, then the described system data information judging described second operating system whether meet predetermined condition particularly as follows:
Judge whether that the type of described first operating system is identical with the type of described second operating system, and the content-data of the content-data of described first operating system and described second operating system there are differences;
Then described be described second operating system by described first operating system update particularly as follows:
According to the content-data of described second operating system, update described first operating system.
Preferably, the described content-data according to described second operating system, after updating described first operating system, described method also includes:
To described second terminal feedback more fresh information, described more fresh information be used for indicating described second terminal when determine update unsuccessfully time, the system data information of described second operating system is provided again.
Preferably, described first operating system update is described second operating system before also include:
Obtain and preserve the configuration information of described first terminal;
Then described described first operating system update is described second operating system after also include:
According to the configuration information preserved, recover the configuration of described terminal.
A kind of method for updating OS, is applied to have in the second terminal of the second operating system, and described method includes:
Set up the communication connection with first terminal;
The system data information of described second operating system is supplied to described first terminal, so that described first terminal is judged when the system data information of described second operating system meets predetermined condition, it is described second operating system by described first operating system update.
A kind of terminal, has the first operating system, and described terminal includes:
First link block, for setting up and the communication connection of the second terminal;
First acquisition module, for obtaining the system data information of the second operating system of described second terminal;
First judge module, for judging whether the system data information of described second operating system meets predetermined condition;
First more new module, for when described first judge module judged result is for being, being described second operating system by described first operating system update.
Preferably, described system data information includes system type and version information, described first judge module is identical with the type of described second operating system specifically for the type judging whether described first operating system, and the version of described first operation is different from the version of described second operating system.
Preferably, whether described first judge module obtains successfully specifically for the system data information judging described second operating system, and described system data information obtains and successfully shows that described first operating system is identical with the type of the second operating system.
Preferably, described first more new module include:
First data acquisition module, for obtaining the content-data of described second operating system by described communication connection;
First updates submodule, for the content-data according to described second operating system, updates described first operating system.
Preferably, described first more new module include:
Determine module, for determining the version of described second operating system, and the renewal address of described second operating system;
Second data acquisition module, is used for accessing described renewal address, obtains the content-data of the second operating system corresponding to described second operating system version;
First updates submodule, for the content-data according to described second operating system, updates described first operating system.
Preferably, described system data information includes system type and system for content data,
Then whether the type of described first judge module type Yu described second operating system specifically for judging described first operating system is identical, and whether the content-data of the content-data of described first operating system and described second operating system there are differences;
Then described first more new module specifically for the content-data according to described second operating system, update described first operating system.
Preferably, described terminal also includes:
First feedback module, for described second terminal feedback more fresh information, described more fresh information be used for indicating described second terminal when determine update unsuccessfully time, the system data information of described second operating system is provided again.
Preferably, described terminal also includes:
First preserves module, for obtaining and preserve the configuration information of described terminal;
First recovers module, after being used for determining that renewal completes, according to the configuration information preserved, recovers the configuration of described terminal.
A kind of terminal, has the second operating system, and described terminal includes:
Second link block, for setting up the communication connection with first terminal;
Information providing module, for the system data information of described second operating system is supplied to described first terminal, so that described first terminal is judged when the system data information of described second operating system meets predetermined condition, it is described second operating system by described first operating system update.
Known via above-mentioned technical scheme, compared with prior art, the invention provides a kind of method for updating OS and terminal, by setting up communication connection with the second terminal, obtain the system data information of the second operating system of the second terminal, and when determining that described system data information meets predetermined condition, it is described second operating system by the first operating system update, by the communication connection between two terminals, automatically the first operating system can be automatically updated into the second operating system when the system data information that terminal determines the second operating system of the second terminal of acquisition satisfies condition, control special updating apparatus without professional to upgrade, decrease the waste of device resource, and reduce the complexity updating operation.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the flow chart of a kind of method for updating OS embodiment 1 of the present invention;
Fig. 2 is the flow chart of a kind of method for updating OS embodiment 2 of the present invention;
Fig. 3 is the flow chart of a kind of method for updating OS embodiment 3 of the present invention;
Fig. 4 is the flow chart of a kind of method for updating OS embodiment 4 of the present invention;
Fig. 5 is the flow chart of a kind of method for updating OS embodiment 5 of the present invention;
Fig. 6 is the flow chart of a kind of method for updating OS embodiment 6 of the present invention;
Fig. 7 is the structural representation of a kind of terminal embodiment 1 of the present invention;
Fig. 8 is the structural representation of a kind of terminal embodiment 2 of the present invention;
Fig. 9 is the structural representation of a kind of terminal embodiment 3 of the present invention;
Figure 10 is the structural representation of a kind of terminal embodiment 4 of the present invention;
Figure 11 is the structural representation of a kind of terminal embodiment 5 of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of method for updating OS and terminal, by setting up communication connection with the second terminal, obtain the system data information of the second operating system of the second terminal, and when determining that described system data information meets predetermined condition, it is described second operating system by the first operating system update, by the communication connection between two terminals, automatically the first operating system can be automatically updated into the second operating system when the system data information that terminal determines the second operating system of the second terminal of acquisition satisfies condition, control special updating apparatus without professional to upgrade, decrease the waste of device resource, and reduce the complexity updating operation.
Referring to Fig. 1, it is shown that the flow chart of a kind of method for updating OS embodiment 1 of the present invention, described method is applied to have in the first terminal of the first operating system, and described the method may include that
Step 101: set up the communication connection with the second terminal.
Described first terminal and the second terminal are the terminal being respectively provided with operating system, and in actual applications, terminal as herein described can be the electronic equipments such as mobile phone, panel computer, notebook computer.
Namely terminal has operating system is show that operating system can be installed and be run to described terminal, and operating system is in the processor of terminal.
Operating system has different types, for instance windows system, linux system, DOS system, and is commonly used to the android system in handheld terminal, Windowsmobile system, Symbian system etc..Same type of operating system also has different versions, such as windows system, including windows95, windows98, windows2000 etc., such as android system, including Android1.0, Android2.0, Android3.0 etc., operating system update is primarily referred to as the version updating of same type of operating system, for instance is upgraded to Android3.0 from Android2.0, or is upgraded to Android1.0 etc. from Android3.0;May also mean that the renewal of different types of operating system, for instance be linux system etc. by windows system conversion.
Described foundation communicates to connect, the radio communication that may refer to set up between terminal connects, the connection such as set up based on wireless direct-connected agreement by bluetooth, infrared ray etc., can transmit signaling and data, it is not necessary to third-party platform is transferred either directly through described wireless connections between terminal.
Wherein, set up with the communication connection of the second terminal can be receive the connection request of the second terminal after perform, after receiving the connection request of the second terminal, it is possible to show the more fresh information being correlated with at display interface, the title of the second terminal such as connected, if allow to set up the information such as connection.Therefore described foundation can be after receiving the instruction information of user with the communication connection of the second terminal, attempts setting up connection.
Step 102: obtain the system data information of the second operating system of described second terminal.
Foundation can obtain the system data information of the second operating system of the second terminal after completing communication connection, it is possible to is that first terminal active request obtains, it is also possible to is that the second terminal received sends.
Described system data information can include the contents such as system type, system data content, system version information.
Step 103: judge whether the system data information of described second operating system meets predetermined condition, if it is, enter step 104, if it is not, then process ends.
Judging whether described system data information meets predetermined condition and can have multiple judgment mode, when the content difference that the system data information obtained comprises, described predetermined condition is also different.Such as, when including system type and system version information when described system data information, then described predetermined condition is that the type of described system type and the first operating system is identical, and described system version is different from the version of described first operating system;When including system type and system for content data when described system data information, described predetermined condition is that described system type is identical with the type of described first operating system, and the content-data of described system for content data and described first operating system there are differences.
Certainly as alternatively possible implementation, terminal can pre-set qualifications, described qualifications may refer to only have same type of operating system can be successfully established communication connection, or only there is same type of operating system and can successfully obtain system data information, therefore described foundation communicates to connect and obtains system data information, communication connection may not be successfully established or get system data information, therefore judge that described system data information meets predetermined condition and successfully can determine by judging that described system data information obtains, when system data information obtains successfully, namely show that the type of the operating system of described first terminal and the second terminal is identical.
Step 104: be described second operating system by described first operating system update.
When the system data information judging described second operating system meets predetermined condition, the renewal of the first operating system can be carried out, be described second operating system by described first operating system update.
It is that described second operating system can adopt various ways by the first operating system update, it is possible to by directly obtaining the content-data of second terminal the second operating system, update the first operating system according to the content-data of its second operating system.Can also under the premise determining the second operating system version, obtain the content-data of described second operating system by other means, such as set up network to connect, determine the address being operated system update, by accessing this address, obtain the content-data of described second operating system, to carry out the renewal of the first operating system.
When, after the content-data obtaining the second operating system, first terminal according to the first operating system and the second operating system version difference, can make data difference subpackage.Owing to its difference of operating system of same type different editions is not likely to be very big, only the content that there are differences need to be updated, therefore namely the detailed process making data difference subpackage is need first to determine content to be updated in the first operating system, then the content-data according to the second operating system, make the data difference subpackage of corresponding described content to be updated, the content-data that the first operating system is to be updated can be updated according to this difference bag.
Can certainly be by content-data that the content-data update all of the first operating system is described second operating system.Therefore can also realize between different types of operating system updating, namely be that the first operating system is replaced with the second operating system.
Wherein, after operating system update completes, it is also possible to the second terminal feedback more fresh information, when the second terminal determines operating system update failure according to the more fresh information fed back, it is possible to the system data information of described second operating system is provided to first terminal again.
Wherein, in operating system update process, it is possible to show more fresh information at display interface, for instance update progress, power consumption, if need to stop the information such as renewal.
Wherein, before being operated system update, it is necessary to first obtaining and preserve the configuration information of described first terminal, described configuration information may refer to, terminal parameter is set, the startup password of such as background picture, terminal and other carry out the data that system update may be lost.Therefore, after first terminal has updated, it is also possible to according to the configuration information preserved, reply the configuration of terminal.
In the present embodiment, by setting up communication connection with the second terminal, obtain the system data information of the second operating system of the second terminal, and when determining that described system data information meets predetermined condition, it is described second operating system by the first operating system update, by the communication connection between two terminals, automatically the first operating system can be automatically updated into the second operating system when the system data information that terminal determines the second operating system of the second terminal of acquisition satisfies condition, control special updating apparatus without professional to upgrade, decrease the waste of device resource, and reduce the complexity updating operation.
Referring to Fig. 2, it is shown that the flow chart of a kind of method for updating OS embodiment 2 of the present invention, described method is applied to be had in the first terminal of the first operating system, and the method may include that
Step 201: set up the communication connection with the second terminal.
Step 202: obtaining the system data information of the second operating system of described second terminal, described system data information includes system type and version information.
Namely described system type refers to the type of described second operating system, and namely version information refers to the concrete version of described second operating system.
After setting up communication connection, first terminal gets final product the version information of the second operating system of acquisition request the second final draft, or the version information of its second operating system can actively be sent to first terminal by the second terminal.
Step 203: judge whether that the type of described first operating system is identical with the type of described second operating system, and the version of described first operating system is different from the version of described second operating system, if it is, enter step 204, if it is not, then process ends.
According to the system type obtained and version information, namely can determine whether that whether the type of the first operating system is identical with the type of the second operating system, and first the version of operating system whether different from the version of the second operating system, if be it is, then determine that described system data information meets predetermined condition, enter step 204, if at least one of which is no, can terminate to update operating process.
Step 204: obtained the content-data of described second operating system by described communication connection.
When being judged as YES of described step 203, can being obtained the content-data of the second operating system of the second terminal by described communication connection request, namely described content-data refers to the composition data of the second operating system.
Step 205: according to the content-data of described second operating system, updates described first operating system.
Concrete, it can be the differential position first determining the first operating system with described second operating system, determine the content to be updated of the first operating system, then according to the content-data of described second operating system, make should the data difference subpackage of content to be updated, according to this data difference subpackage, the content to be updated of the first operating system can be updated.
It is also possible that the first operating system full content data to be replaced with the content-data of described second operating system.
In the present embodiment, after getting the system data information of the second terminal, when the type of the system type and the second operating system of judging the first operating system is identical, and first operating system version and the version of the second operating system different time, system update can be carried out, it is the content-data by communicating to connect the second operating system obtaining the second terminal, the renewal of the first operating system then carried out according to acquired content-data, can realize updating by the communication connection between two terminals, without special upgrading tool, and updating apparatus, save device resource, and escalation process participates in without user, simple to operate.
Referring to Fig. 3, it is shown that the flow chart of a kind of method for updating OS embodiment 3 of the present invention, described method is applied to have in the first terminal of the first operating system, and described method may include that
Step 301: set up the communication connection with the second terminal.
Step 302: obtaining the system data information of the second operating system of described second terminal, described system data information includes system type and version information.
Step 303: judge whether that the type of described first operating system is identical with the type of described second operating system, and the version of described first operating system is different from the version of described second operating system, if it is, enter step 304, if it is not, then process ends.
Step 304: determine the version of described second operating system and the renewal address of described second operating system.
Version information according to described second operating system may determine that the version of the second operating system, and determine the renewal address of the second operating system, described renewal address may refer to provide network linking address or the local side chained address of the second operating system content-data.
This renewal address can be stored in advance in first terminal, it is also possible to is stored in the second terminal, the source address of its second operating system content-data of preservation.
First terminal can trigger and self access this renewal address download system content-data.
Step 305: access described renewal address, obtains the content-data of the second operating system corresponding to described second operating system version.
After determining renewal address, namely may have access to this renewal address, obtain the system for content data that the second operating system version is corresponding.
Step 306: according to the content-data of described second operating system, updates described first operating system.
The step updating the first operating system according to content-data referring specifically to the operation of said method embodiment 2 step 205, can not repeat them here.
In the present embodiment, after getting the system data information of the second terminal, when the type of the system type and the second operating system of judging the first operating system is identical, and first operating system version and the version of the second operating system different time, system update can be carried out, it is the renewal address of the second operating system of the second terminal being determined by out, obtain the content-data of the second operating system, system update is carried out without special upgrading tool or updating apparatus, save device resource, simple to operate.
Referring to Fig. 4, it is shown that the flow chart of a kind of method for updating OS embodiment 4 of the present invention, described method is applied to have in the first terminal of the first operating system, and described method may include that
Step 401: set up the communication connection with the second terminal.
Step 402: obtain the system data information of the second operating system of described second terminal.
In the present embodiment, this step can be one and attempt setting up the process connected, and first terminal is asked in the triggering receiving user, or receives when asking the message setting up communication connection of the second terminal, can attempt setting up the communication connection with the second terminal.
After communication connection is set up, can attempt obtaining the system data information of the second operating system of two terminals.
Owing to different types of operating system may not set up communication connection, in the present embodiment, described first terminal can pre-set qualifications, described qualifications may refer to only to have same type of operating system can be successfully established communication connection, or only has same type of operating system and can successfully obtain system data information.
Therefore described communication connection is likely to set up unsuccessfully, causes the system data information that can not obtain the second operating system;After being successfully established communication connection, system data information is likely to and obtains unsuccessfully.Namely indicate the OS Type difference of first terminal and the second terminal.
Step 403: judge whether described system data information obtains successfully, if it is, enter step 404, if it is not, then process ends.
In the present embodiment, by judging that described system data information obtains successfully, it is determined that described system data information meets predetermined condition.
Wherein, when described qualifications is for only having same type of operating system can be successfully established communication connection, then described system data information obtains successfully, namely may determine that foundation communicates to connect successfully, namely shows that the type of the operating system of first terminal and the second terminal is identical.
When described qualifications is for only having same type of operating system can successfully obtain system data information, then described system data information obtains successfully, namely shows that the type of the operating system of first terminal and the second terminal is identical.
Step 404: obtained the version information of the second operating system by described communication connection, and judge whether different from the version of described first operating system, if it is, enter step 405, if it is not, then process ends.
Step 405: obtain the content-data of the second operating system, according to the content-data of described second operating system, updates described first operating system.
The content-data of described acquisition the second operating system can by the communication connection with the second terminal, the content-data of the second operating system of the second terminal obtained, it can also be the version and determining described second operating system, and the renewal address of described second operating system, by accessing described renewal address, obtain the content-data of the second operating system corresponding to described second operating system version.
According to the content-data of described second operating system, the process that implements updating described first operating system may refer to described in said method embodiment.
In the present embodiment, first terminal presets restrictive condition, by judging whether system data information obtains successfully, determine that whether the first operating system is identical with the type of the second operating system, if identical, can determine whether, thus obtaining the content-data of the second operating system, carry out the renewal of the first operating system, it is not necessary to special upgrading tool or updating apparatus carry out system update, save device resource, and simple to operate.
Certainly set qualifications can also is that only having same type of operating system can be successfully established communication connection, or only have same type of operating system and can successfully obtain system data information.
Referring to Fig. 5, it is shown that the flow chart of a kind of method for updating OS embodiment 5 of the present invention, the method may include that
Step 501: set up the communication connection with the second terminal.
Step 502: obtaining the system data information of the second operating system of described second terminal, described system data information includes system type and content-data.
In the present embodiment, acquired system data information includes content-data.
Step 503: judge whether that the type of described first operating system is identical with the type of described second operating system, and the described content-data of the first operating system there are differences with the content-data of described second operating system, if it is, enter step 504, if it is not, then process ends.
In the first OS Type and the second OS Type phase simultaneously as obtain the content-data of the second operating system, whether the content-data that therefore can directly compare the first operating system there are differences with acquired content-data.
Step 504: according to the content-data of described second operating system, updates described first operating system.
When described step 504 judged result is for being, then can the content-data of the second operating system described in direct basis, update described first operating system, concrete renewal process may refer to the content-data in said method embodiment according to described second operating system, update the operating procedure of described first operating system, do not repeat them here.
In the present embodiment, after setting up communication connection, can directly obtain system type and the system for content data of the second terminal, when the type of the system type and the second operating system of judging the first operating system is identical, and first operating system content-data and the content-data of the second operating system different time, system update can be carried out according to acquired content-data, therefore can realize updating by the communication connection between two terminals, without special upgrading tool, and updating apparatus, save device resource, and escalation process participates in without user, simple to operate.
Step same or like between the above each embodiment can mutually referring to, that therefore introduces in certain embodiments is fairly simple.
Referring to Fig. 6, it is shown that the flow chart of a kind of method for updating OS embodiment 6 of the present invention, being applied to have in the second terminal of the second operating system, the method may include that
Step 601: set up the communication connection with first terminal.
Set up with the communication connection of first terminal can be receive the connection request of first terminal after perform.Owing to this second terminal can set up communication connection with multiple terminals, such that it is able to realize multiple terminal to carry out the renewal of system simultaneously.Therefore, after receiving the connection request of first terminal, it is possible to show relevant more fresh information at display interface, for instance the title of the terminal of connection, if allow to set up the information such as connection.Therefore described foundation can be after receiving the instruction information of user with the communication connection of first terminal, attempts setting up connection.
Step 602: the system data information of described second operating system is supplied to described first terminal, so that described first terminal is judged when the system data information of described second operating system meets predetermined condition, it is described second operating system by described first operating system update.
Described system data information can include the contents such as system type, system data content, system version information.
Foundation complete communication connection after, it is possible to the system data information of the second operating system is sent to first terminal, it is possible to be receive first terminal obtain request after send.
After first terminal receives this system data information, can judge, it is determined that when whether the system data information of described second operating system meets predetermined condition, when result is for being, be described second operating system by described first operating system update.
First terminal performs whether the system data information of described second operating system meets predetermined condition, and, by the concrete steps that described first operating system update is described second operating system, it is possible to described in above-described embodiment 1~5.
In the present embodiment, it is possible to set up communicate to connect with multiple terminals simultaneously, and system data information is supplied to the terminal being set up communication connection, therefore can realize multiple terminal and be operated the renewal of system simultaneously, it is possible to improve and update efficiency.
In the present embodiment, by setting up communication connection with first terminal, and the system data information of the second operating system of self is supplied to described first terminal, first terminal can when judging that described system data information meets predetermined condition, it is this second operating system by the first operating system update, it is achieved thereby that the renewal of the operating system of first terminal, therefore can realize updating by the communication connection between two terminals, control special updating apparatus without professional to upgrade, decrease the waste of device resource, and reduce the complexity updating operation.
Referring to Fig. 7, it is shown that the structure flow chart of a kind of terminal embodiment 1 of the present invention, described terminal has the first operating system, and this terminal may include that
First link block 701, for setting up and the communication connection of the second terminal;
First acquisition module 702, for obtaining the system data information of the second operating system of described second terminal;
First judge module 703, for judging whether the system data information of described second operating system meets predetermined condition.
Wherein, a kind of possible embodiment, described system data information includes system type and version information, described first judge module is identical with the type of described second operating system specifically for the type judging whether described first operating system, and the version of described first operation is different from the version of described second operating system.
Alternatively possible embodiment, whether described first judge module obtains successfully specifically for the system data information judging described second operating system, and described system data information obtains and successfully shows that described first operating system is identical with the type of the second operating system.
First more new module 704, for when described first judge module 703 judged result is for being, being described second operating system by described first operating system update.
It addition, described terminal can also include:
First feedback module, for described second terminal feedback more fresh information, described more fresh information be used for indicating described second terminal when determine update unsuccessfully time, the system data information of described second operating system is provided again.
First preserves module, for obtaining and preserve the configuration information of described terminal;
First recovers module, after being used for determining that renewal completes, according to the configuration information preserved, recovers the configuration of described terminal.
In the present embodiment, described terminal is by setting up communication connection with the second terminal, obtain the system data information of the second operating system of the second terminal, and when determining that described system data information meets predetermined condition, it is described second operating system by the first operating system update, by the communication connection between two terminals, automatically the first operating system can be automatically updated into the second operating system when the system data information that terminal determines the second operating system of the second terminal of acquisition satisfies condition, control special updating apparatus without professional to upgrade, decrease the waste of device resource, and reduce the complexity updating operation.
Referring to Fig. 2, it is shown that the structural representation of a kind of terminal embodiment 2 of the present invention, described terminal has the first operating system, and this terminal may include that
First link block 801, for setting up and the communication connection of the second terminal;
First acquisition module 802, for obtaining the system data information of the second operating system of described second terminal, described system data information includes system type and version information.
First judge module 803, for judging whether that the type of described first operating system is identical with the type of described second operating system, and the version of described first operation is different from the version of described second operating system.
As another embodiment, whether described first judge module can also obtain successfully by the system data information specifically for judging described second operating system, and described system data information obtains and successfully shows that described first operating system is identical with the type of the second operating system.Whether then described first judge module can be also used for being obtained the version information of the second operating system by described communication connection, and judge different from the version of described first operating system.
First more new module 804, for when described first judge module 803 judged result is for being, being described second operating system by described first operating system update.
Concrete described first more new module may include that
First data acquisition module 8041, for obtaining the content-data of described second operating system by described communication connection;
First updates submodule 8042, for the content-data according to described second operating system, updates described first operating system.
In the present embodiment, after terminal gets the system data information of the second terminal, when the type of the system type and the second operating system of judging the first operating system is identical, and first operating system version and the version of the second operating system different time, system update can be carried out, it is the content-data by communicating to connect the second operating system obtaining the second terminal, the renewal of the first operating system then carried out according to acquired content-data, can realize updating by the communication connection between two terminals, without special upgrading tool, and updating apparatus, save device resource, and escalation process participates in without user, simple to operate.
Referring to Fig. 9, it is shown that the structural representation of a kind of terminal embodiment 3 of the present invention, described terminal has the first operating system, and this terminal may include that
First link block 901, for setting up and the communication connection of the second terminal;
First acquisition module 902, for obtaining the system data information of the second operating system of described second terminal, described system data information includes system type and version information.
First judge module 903, for judging whether that the type of described first operating system is identical with the type of described second operating system, and the version of described first operation is different from the version of described second operating system.
As another embodiment, whether described first judge module can also obtain successfully by the system data information specifically for judging described second operating system, and described system data information obtains and successfully shows that described first operating system is identical with the type of the second operating system.Whether then described first judge module can be also used for being obtained the version information of the second operating system by described communication connection, and judge different from the version of described first operating system.
First more new module 904, for when described first judge module 803 judged result is for being, being described second operating system by described first operating system update.
Wherein, described first more new module 904 may include that
Determine module 9041, for determining the version of described second operating system, and the renewal address of described second operating system;
Second data acquisition module 9042, is used for accessing described renewal address, obtains the content-data of the second operating system corresponding to described second operating system version;
First updates submodule 9043, for the content-data according to described second operating system, updates described first operating system.
In the present embodiment, after terminal gets the system data information of the second terminal, when the type of the system type and the second operating system of judging the first operating system is identical, and first operating system version and the version of the second operating system different time, system update can be carried out, it is the renewal address of the second operating system of the second terminal being determined by out, obtain the content-data of the second operating system, system update is carried out without special upgrading tool or updating apparatus, save device resource, simple to operate.
Referring to Figure 10, it is shown that the structural representation of a kind of terminal embodiment 4 of the present invention, described terminal has the first operating system, and this terminal may include that
First link block 1001, for setting up and the communication connection of the second terminal;
First acquisition module 1002, for obtaining the system data information of the second operating system of described second terminal, described system data information includes system type and system for content data.
First judge module 1003, whether the type of type with described second operating system for judging described first operating system is identical, and whether the content-data of the content-data of described first operating system and described second operating system there are differences.
First more new module 1004, specifically for the content-data according to described second operating system, update described first operating system.
In the present embodiment, after terminal sets up communication connection with the second terminal, can directly obtain system type and the system for content data of the second terminal, when the type of the system type and the second operating system of judging the first operating system is identical, and first operating system content-data and the content-data of the second operating system different time, system update can be carried out according to acquired content-data, therefore can realize updating by the communication connection between two terminals, without special upgrading tool, and updating apparatus, save device resource, and escalation process participates in without user, simple to operate.
Referring to Figure 11, it is shown that the structural representation of a kind of terminal embodiment 5 of the present invention, described terminal has the second operating system, it is possible to including:
Second link block 1101, for setting up the communication connection with first terminal;
Information providing module 1102, for the system data information of described second operating system is supplied to described first terminal, so that described first terminal is judged when the system data information of described second operating system meets predetermined condition, it is described second operating system by described first operating system update.
In the present embodiment, by setting up communication connection with first terminal, and the system data information of the second operating system of self is supplied to described first terminal, first terminal can when judging that described system data information meets predetermined condition, it is this second operating system by the first operating system update, it is achieved thereby that the renewal of the operating system of first terminal, therefore can realize updating by the communication connection between two terminals, control special updating apparatus without professional to upgrade, decrease the waste of device resource, and reduce the complexity updating operation.
In this specification, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates referring to method part.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.The multiple amendment of these embodiments be will be apparent from for those skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (18)

1. a method for updating OS, it is characterised in that being applied to have in the first terminal of the first operating system, described method includes:
Set up the communication connection with the second terminal;
Obtain the system data information of the second operating system of described second terminal;
Described system data information includes system type, system for content data and system version information;
Judge whether the system data information of described second operating system meets predetermined condition;
When the system data information judging described second operating system meets predetermined condition, it is described second operating system by described first operating system update.
2. method according to claim 1, it is characterised in that the described system data information judging described second operating system whether meet predetermined condition particularly as follows:
Judge whether that the type of described first operating system is identical with the type of described second operating system, and the version of described first operating system is different from the version of described second operating system.
3. method according to claim 1, it is characterised in that the described system data information judging described second operating system whether meet predetermined condition particularly as follows:
Judging whether the system data information of described second operating system obtains successfully, described system data information obtains and successfully shows that described first operating system is identical with the type of the second operating system.
4. the method according to any one of claims 1 to 3, it is characterised in that described is that described second operating system includes by described first operating system update:
The content-data of described second operating system is obtained by described communication connection;
According to the content-data of described second operating system, update described first operating system.
5. the method according to any one of claims 1 to 3, it is characterised in that described is that described second operating system includes by described first operating system update:
Determine the version of described second operating system and the renewal address of described second operating system;
Access described renewal address, obtain the content-data of the second operating system corresponding to the version of described second operating system;
According to the content-data of described second operating system, update described first operating system.
6. method according to claim 1, it is characterised in that the described system data information judging described second operating system whether meet predetermined condition particularly as follows:
Judge whether that the type of described first operating system is identical with the type of described second operating system, and the content-data of the content-data of described first operating system and described second operating system there are differences;
Then described be described second operating system by described first operating system update particularly as follows:
According to the content-data of described second operating system, update described first operating system.
7. method according to claim 4, it is characterised in that the described content-data according to described second operating system, after updating described first operating system, described method also includes:
To described second terminal feedback more fresh information, described more fresh information be used for indicating described second terminal when determine update unsuccessfully time, the system data information of described second operating system is provided again.
8. method according to claim 1, it is characterised in that also include before described first operating system update is described second operating system:
Obtain and preserve the configuration information of described first terminal;
Then described described first operating system update is described second operating system after also include:
According to the configuration information preserved, recover the configuration of described first terminal.
9. a method for updating OS, it is characterised in that being applied to have in the second terminal of the second operating system, described method includes:
Set up the communication connection with first terminal;
The system data information of described second operating system is supplied to described first terminal, in order to described first terminal is judged when the system data information of described second operating system meets predetermined condition, is described second operating system by the first operating system update;
Described system data information includes system type, system for content data and system version information.
10. the terminal realizing operating system update, it is characterised in that having the first operating system, described terminal includes:
First link block, for setting up and the communication connection of the second terminal;
First acquisition module, for obtaining the system data information of the second operating system of described second terminal, described system data information includes system type, system for content data, system version information;
First judge module, for judging whether the system data information of described second operating system meets predetermined condition;
First more new module, for when described first judge module judged result is for being, being described second operating system by described first operating system update.
11. terminal according to claim 10, it is characterized in that, described first judge module is identical with the type of described second operating system specifically for the type judging whether described first operating system, and the version of described first operating system is different from the version of described second operating system.
12. terminal according to claim 10, it is characterized in that, whether described first judge module obtains successfully specifically for the system data information judging described second operating system, and described system data information obtains and successfully shows that described first operating system is identical with the type of the second operating system.
13. according to the terminal described in any one of claim 10~12, it is characterised in that described first more new module include:
First data acquisition module, for obtaining the content-data of described second operating system by described communication connection;
First updates submodule, for the content-data according to described second operating system, updates described first operating system.
14. according to the terminal described in any one of claim 10~12, it is characterised in that described first more new module include:
Determine module, for determining the version of described second operating system, and the renewal address of described second operating system;
Second data acquisition module, is used for accessing described renewal address, obtains the content-data of the second operating system corresponding to the version of described second operating system;
First updates submodule, for the content-data according to described second operating system, updates described first operating system.
15. terminal according to claim 10, it is characterized in that, whether the type of described first judge module type Yu described second operating system specifically for judging described first operating system is identical, and whether the content-data of the content-data of described first operating system and described second operating system there are differences;
Then described first more new module specifically for the content-data according to described second operating system, update described first operating system.
16. terminal according to claim 10, it is characterised in that described terminal also includes:
First feedback module, for described second terminal feedback more fresh information, described more fresh information be used for indicating described second terminal when determine update unsuccessfully time, the system data information of described second operating system is provided again.
17. terminal according to claim 10, it is characterised in that described terminal also includes:
First preserves module, for obtaining and preserve the configuration information of described terminal;
First recovers module, after being used for determining that renewal completes, according to the configuration information preserved, recovers the configuration of described terminal.
18. the terminal realizing operating system update, it is characterised in that having the second operating system, described terminal includes:
Second link block, for setting up the communication connection with first terminal;
Information providing module, for the system data information of described second operating system is supplied to described first terminal, so that described first terminal is judged when the system data information of described second operating system meets predetermined condition, it is described second operating system by the first operating system update;
Described system data information includes system type, system for content data and system version information.
CN201210012929.7A 2012-01-16 2012-01-16 Method for updating OS and terminal Active CN103207790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210012929.7A CN103207790B (en) 2012-01-16 2012-01-16 Method for updating OS and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210012929.7A CN103207790B (en) 2012-01-16 2012-01-16 Method for updating OS and terminal

Publications (2)

Publication Number Publication Date
CN103207790A CN103207790A (en) 2013-07-17
CN103207790B true CN103207790B (en) 2016-07-06

Family

ID=48755022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210012929.7A Active CN103207790B (en) 2012-01-16 2012-01-16 Method for updating OS and terminal

Country Status (1)

Country Link
CN (1) CN103207790B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155705B (en) * 2015-03-22 2020-07-24 联想(北京)有限公司 Electronic equipment and OTA (over-the-air technology) repairing method
CN106462424A (en) * 2015-03-24 2017-02-22 华为技术有限公司 Method for updating terminal system, terminal and system
CN105786575B (en) * 2016-03-17 2019-06-04 北京奇虎科技有限公司 Mobile terminal and its data exempt from the method removed when for rewriting system
CN114205227A (en) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 Synchronization method and device of equipment, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140537A (en) * 2007-10-24 2008-03-12 国电南京自动化股份有限公司 Backup and recovery operation method of built-in operating system
CN101662533A (en) * 2008-08-27 2010-03-03 深圳富泰宏精密工业有限公司 Software updating system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005055055A1 (en) * 2003-12-05 2005-06-16 Fujitsu Limited Data management system, data management device, data management method, data supply system, data management program, and computer-readable recording medium containing the program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140537A (en) * 2007-10-24 2008-03-12 国电南京自动化股份有限公司 Backup and recovery operation method of built-in operating system
CN101662533A (en) * 2008-08-27 2010-03-03 深圳富泰宏精密工业有限公司 Software updating system and method

Also Published As

Publication number Publication date
CN103207790A (en) 2013-07-17

Similar Documents

Publication Publication Date Title
US11019536B2 (en) Communication method and apparatus
CN108023778A (en) Firmware upgrade method and its system
WO2016149908A1 (en) Method for updating terminal system, terminal and system
US11218451B2 (en) Device bootstrap method, terminal, and server
CN103207790B (en) Method for updating OS and terminal
CN111356149A (en) Wireless network configuration method and device
US11382019B2 (en) Session management method and apparatus, and communications system
EP2838309A1 (en) Method, device and system for establishing data connection
CN106339236A (en) Software upgrading method, client, interphone and soft upgrading system
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN106411619A (en) Wireless equipment upgrading method based on low-power-consumption wide area network
CN104965716A (en) Icon updating method, client apparatus, and terminal apparatus
CN109725921A (en) A kind of method, apparatus and automobile fault diagnostic apparatus of the update of VCI equipment firmware
CN105812176A (en) Client-initiative and concurrent upgrade-supporting remote upgrade method
CN113934442A (en) Software upgrading method and device
CN103167535A (en) Method for upgrading AP (access point) in WLAN (wireless local area network)
CN103888502A (en) Projection method, projection file providing method and projection terminal
CN108462984A (en) A kind of method and terminal carrying out access network management
CN105335238A (en) Inter-process communication method and apparatus
CN113867758A (en) Unmanned aerial vehicle automatic upgrading method and device, unmanned aerial vehicle, remote control terminal and storage medium
CN103517258A (en) A method of updating software on a mobile terminal, a mobile terminal and a server
CN103491557A (en) Processing method and device for base station upgrading data
US20160100021A1 (en) Information processing device, destination information updating method, and record medium
US11659414B1 (en) Connectivity apparatus for remote cell tower integration
CN113438652A (en) Authorization and policy parameter configuration method, terminal and network function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant