CN103207790A - Operating system updating method and terminal - Google Patents

Operating system updating method and terminal Download PDF

Info

Publication number
CN103207790A
CN103207790A CN2012100129297A CN201210012929A CN103207790A CN 103207790 A CN103207790 A CN 103207790A CN 2012100129297 A CN2012100129297 A CN 2012100129297A CN 201210012929 A CN201210012929 A CN 201210012929A CN 103207790 A CN103207790 A CN 103207790A
Authority
CN
China
Prior art keywords
operating system
terminal
data
data information
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100129297A
Other languages
Chinese (zh)
Other versions
CN103207790B (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

Images

Abstract

The invention provides an operating system updating method and a terminal. The method is applied to a first terminal with a first operating system. The method comprises the following steps of establishing a communication connection between the first terminal and a second terminal; acquiring the system data information of a second operating system of the second terminal; judging whether the system data information of the second operating system meets preset conditions or not; and updating the first operating system into the second operating system when the system data information of the second operating system is judged to meet the preset condition. Through the operating system updating method and the terminal provided by the embodiment of the invention, the waste of equipment resources is reduced, and the complexity of an updating operation is lowered.

Description

Method for updating OS and terminal
Technical field
The present invention relates to communication technical field, relate to a kind of method for updating OS and terminal in particular.
Background technology
Operating system is the operations of other programs of control, management of system resource and for the user provides the set of the system software of operation interface, and operation system of computer for example, and along with development of electronic technology, portable terminal for example also has the operating system of oneself in the mobile phone.
Existing a kind of method for updating OS, be example with the portable terminal, when the user need upgrade the operating system of portable terminal, terminal is connected a upgrade server, by upgrade server control operation system update, namely adopt portable terminal to download the software upgrading technology in the air and carry out system update, but this mode need use the special equipment that is used for upgrading to upgrade, cause the wasting of resources, and upgrade server is safeguarded by special personnel usually, terminal operator for example, renewal process needs user and maintainer to participate in, and makes that to upgrade operation comparatively loaded down with trivial details.
Summary of the invention
In view of this, the invention provides a kind of method for updating OS and device, in order to solve the existing operating system update method make the wasting of resources and the operation comparatively loaded down with trivial details technical matters.
For achieving the above object, the invention provides following technical scheme:
A kind of method for updating OS is applied to have in first terminal of first operating system, and described method comprises:
Foundation communicates to connect with second terminal;
Obtain the system data information of second operating system of described second terminal;
Whether the system data information of judging described second operating system satisfies predetermined condition;
When the system data information of judging described second operating system satisfies predetermined condition, be described second operating system with described first operating system update.
Preferably, described system data information comprises system type and version information, and then whether the described system data information of judging described second operating system satisfies predetermined condition and be specially:
The type that judges whether described first operating system is identical with the type of described second operating system, and the version of described first operating system is different with the version of described second operating system.
Preferably, whether the described system data information of judging described second operating system satisfies predetermined condition and is specially:
Judge whether the system data information of described second operating system obtains success, described system data information is obtained success and is shown that described first operating system is identical with the type of second operating system.
Preferably, described is that described second operating system comprises with described first operating system update:
By the described content-data that obtains described second operating system that communicates to connect;
Content-data according to described second operating system upgrades described first operating system.
Preferably, described is that described second operating system comprises with described first operating system update:
Determine the version of described second operating system, and the scheduler of described second operating system;
Visit described scheduler, obtain the content-data of second operating system of the described second operating system version correspondence;
Content-data according to described second operating system upgrades described first operating system.
Preferably, described system data information comprises system type and system for content data, and then whether the described system data information of judging described second operating system satisfies predetermined condition and be specially:
The type that judges whether 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 is that described second operating system is specially with described first operating system update:
Content-data according to described second operating system upgrades described first operating system.
Preferably, the content-data of described second operating system of described foundation, upgrade described first operating system after, described method also comprises:
To described second terminal feedback lastest imformation, described lastest imformation is used to indicate described second terminal when determining the renewal failure, and the system data information of described second operating system is provided again.
Preferably, be that described second operating system also comprises before with described first operating system update:
Obtain and preserve the configuration information of described first terminal;
Then described is that described second operating system also comprises afterwards with described first operating system update:
According to the configuration information of preserving, the configuration that recovers described terminal.
A kind of method for updating OS is applied to have in second terminal of second operating system, and described method comprises:
Foundation communicates to connect with first terminal;
The system data information of described second operating system is offered described first terminal, so that described first terminal judges goes out the system data information of described second operating system when satisfying predetermined condition, be described second operating system with described first operating system update.
A kind of terminal has first operating system, and described terminal comprises:
First link block is used for communicating to connect of foundation and second terminal;
First acquisition module is for the system data information of second operating system of obtaining described second terminal;
First judge module is used for judging whether the system data information of described second operating system satisfies predetermined condition;
First update module, be used for when the described first judge module judged result when being, be described second operating system with described first operating system update.
Preferably, described system data information comprises system type and version information, described first judge module specifically is used 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 with the version of described second operating system.
Preferably, described first judge module specifically is used for judging whether the system data information of described second operating system obtains success, and described system data information is obtained success and shown that described first operating system is identical with the type of second operating system.
Preferably, described first update module comprises:
First data acquisition module is used for by the described content-data that obtains described second operating system that communicates to connect;
First updating submodule is used for the content-data according to described second operating system, upgrades described first operating system.
Preferably, described first update module comprises:
Determination module, for the version of determining described second operating system, and the scheduler of described second operating system;
Second data acquisition module is used for the described scheduler of visit, obtains the content-data of second operating system of the described second operating system version correspondence;
First updating submodule is used for the content-data according to described second operating system, upgrades described first operating system.
Preferably, described system data information comprises system type and system for content data,
Then described first judge module specifically is used for judging whether the type of described first operating system is identical with the type of described second operating system, 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 update module specifically is used for the content-data according to described second operating system, upgrades described first operating system.
Preferably, described terminal also comprises:
First feedback module is used for to described second terminal feedback lastest imformation, and described lastest imformation is used to indicate described second terminal when determining the renewal failure, and the system data information of described second operating system is provided again.
Preferably, described terminal also comprises:
First preserves module, is used for obtaining and preserving the configuration information of described terminal;
First recovers module, after determining that renewal is finished, according to the configuration information of preserving, the configuration that recovers described terminal.
A kind of terminal has second operating system, and described terminal comprises:
Second link block is used for communicating to connect of foundation and first terminal;
Information provides module, be used for the system data information of described second operating system is offered described first terminal, so that described first terminal judges goes out the system data information of described second operating system when satisfying predetermined condition, be described second operating system with described first operating system update.
Via above-mentioned technical scheme as can be known, compared with prior art, the invention provides a kind of method for updating OS and terminal, by establishing a communications link with second terminal, obtain the system data information of second operating system of second terminal, and when determining described system data information and satisfy predetermined condition, being about to first operating system update is described second operating system, connect by two communication between terminals, the system data information of determining second operating system of second terminal of obtaining when terminal can be automatically updated into second operating system with first operating system when satisfying condition automatically, need not the professional controls special updating apparatus and upgrades, reduce the waste of device resource, and reduced the complicacy of upgrading operation.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is embodiments of the invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to the accompanying drawing that provides.
Fig. 1 is the process flow diagram of a kind of method for updating OS embodiment 1 of the present invention;
Fig. 2 is the process flow diagram of a kind of method for updating OS embodiment 2 of the present invention;
Fig. 3 is the process flow diagram of a kind of method for updating OS embodiment 3 of the present invention;
Fig. 4 is the process flow diagram of a kind of method for updating OS embodiment 4 of the present invention;
Fig. 5 is the process flow diagram of a kind of method for updating OS embodiment 5 of the present invention;
Fig. 6 is the process flow diagram 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.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention discloses a kind of method for updating OS and terminal, by establishing a communications link with second terminal, obtain the system data information of second operating system of second terminal, and when determining described system data information and satisfy predetermined condition, being about to first operating system update is described second operating system, connect by two communication between terminals, the system data information of determining second operating system of second terminal of obtaining when terminal can be automatically updated into second operating system with first operating system when satisfying condition automatically, need not the professional controls special updating apparatus and upgrades, reduce the waste of device resource, and reduced the complicacy of upgrading operation.
Referring to Fig. 1, show the process flow diagram of a kind of method for updating OS embodiment 1 of the present invention, described method is applied to have in first terminal of first operating system, and described this method can comprise:
Step 101: foundation communicates to connect with second terminal.
Described first terminal and second terminal are for having the terminal of operating system respectively, and in actual applications, terminal as herein described can be electronic equipments such as mobile phone, panel computer, notebook computer.
It namely is to show that described terminal can be installed and the operation system that terminal has operating system, and operating system is in the processor of terminal.
Operating system has different types, for example windows system, linux system, and the DOS system, and be applied to Android system in the handheld terminal usually, Windows mobile system, Symbian system etc.The operating system of same type also has different versions, windows system for example, comprise windows95, windows98, windows2000 etc., Android system for example, comprise Android1.0, Android2.0, Android3.0 etc., operating system update mainly refers to the version updating of the operating system of same type, for example is upgraded to Android3.0 from Android2.0, perhaps is upgraded to Android1.0 etc. from Android3.0; Also can refer to the renewal of dissimilar operating system, be linux system etc. with windows system conversion for example.
Described establishing a communications link, can refer to that the radio communication of setting up between the terminal connects, the for example connection of setting up based on wireless direct-connected agreement by bluetooth, infrared ray etc. can need not the switching of third party's platform directly by described wireless connections command transmitting and data between the terminal.
Wherein, setting up with communicating to connect of second terminal can be to carry out after receiving the connection request of second terminal, receive the connection request of second terminal after, can show relevant lastest imformation at display interface, the title of second terminal of Lian Jieing for example, whether information such as allow to connect.Therefore described foundation and communicating to connect of second terminal can be after receiving user's indication information, attempt connecting.
Step 102: the system data information of obtaining second operating system of described second terminal.
After foundation is finished and communicated to connect, can obtain the system data information of second operating system of second terminal, can be that the first terminal active request is obtained, and also can be that second terminal that receives sends.
Described system data information can comprise contents such as system type, system data content, system version information.
Step 103: whether the system data information of judging described second operating system satisfies predetermined condition, if, enter step 104, if not, process ends then.
Judge whether described system data information satisfies predetermined condition multiple judgment mode can be arranged, the content that comprises when the system data information of obtaining not simultaneously, described predetermined condition is also different.For example, when described system data information comprised system type and system version information, then described predetermined condition was that described system type is identical with the type of first operating system, and described system version is different with the version of described first operating system; When described system data information comprised system type and system for content data, described predetermined condition was 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 another kind of possible implementation, terminal can set in advance qualifications, described qualifications can refer to that the operating system that only has same type can successfully establish a communications link, the operating system that perhaps only has same type can successfully be obtained system data information, therefore describedly establish a communications link and obtain system data information, may not successfully establish a communications link or get access to system data information, therefore judge that described system data information satisfies predetermined condition and can determine by judging that described system data information is obtained successfully to come, obtain success when system data information, show that namely described first terminal is identical with the type of the operating system of second terminal.
Step 104: be described second operating system with described first operating system update.
When the system data information of judging described second operating system satisfies predetermined condition, can carry out the renewal of first operating system, be described second operating system with described first operating system update.
Be that described second operating system can adopt multiple mode with first operating system update, can be by directly obtaining the content-data of second terminal, second operating system, upgrade first operating system according to the content-data of its second operating system.Also can be under the prerequisite of determining second operating system version, obtain the content-data of described second operating system by other means, for example set up network connection, determine to carry out the address of operating system update, by visiting this address, obtain the content-data of described second operating system, to carry out the renewal of first operating system.
Behind the content-data that obtains second operating system, first terminal can be made the data difference subpackage according to first operating system and the second operating system version difference.Because its difference of operating system of same type different editions may not be very big, only need upgrade the content that there are differences and get final product, the detailed process of therefore making the data difference subpackage namely is at first to determine content to be updated in first operating system, then according to the content-data of second operating system, make the data difference subpackage of corresponding described content to be updated, can upgrade first operating system content-data to be updated according to this difference bag.
Can certainly be that content-data update all with first operating system is the content-data of described second operating system.So also can realize between the dissimilar operating system upgrading, namely be that first operating system is replaced with second operating system.
Wherein, after operating system update is finished, can also when second terminal is determined the operating system update failure according to the lastest imformation of feeding back, can provide the system data information of described second operating system again to first terminal to second terminal feedback lastest imformation.
Wherein, in the operating system update process, can for example upgrade progress in display interface display update information, whether power consumption needs to end information such as renewal.
Wherein, before carrying out operating system update, need at first obtain and preserve the configuration information of described first terminal, described configuration information can refer to, terminal parameter is set, such as the data that system update may be lost of carrying out of the startup password of background picture, terminal and other.Therefore, after the renewal of first terminal is finished, can also reply the configuration of terminal according to the configuration information of preserving.
In the present embodiment, by establishing a communications link with second terminal, obtain the system data information of second operating system of second terminal, and when determining described system data information and satisfy predetermined condition, being about to first operating system update is described second operating system, connect by two communication between terminals, the system data information of determining second operating system of second terminal of obtaining when terminal can be automatically updated into second operating system with first operating system when satisfying condition automatically, need not the professional controls special updating apparatus and upgrades, reduce the waste of device resource, and reduced the complicacy of upgrading operation.
Referring to Fig. 2, show the process flow diagram of a kind of method for updating OS embodiment 2 of the present invention, described method is applied to have in first terminal of first operating system, and this method can comprise:
Step 201: foundation communicates to connect with second terminal.
Step 202: obtain the system data information of second operating system of described second terminal, described system data information comprises system type and version information.
Described system type namely refers to the type of described second operating system, and version information namely refers to the concrete version of described second operating system.
After establishing a communications link, the version information of second operating system that first terminal can acquisition request second final draft, perhaps second terminal can be initiatively be sent to first terminal with the version information of its second operating system.
Step 203: the type that judges whether described first operating system is identical with the type of described second operating system, and the version of described first operating system is different with the version of described second operating system, if, enter step 204, if not, process ends then.
According to the system type and the version information that obtain, whether the type that can judge first operating system is identical with the type of second operating system, and whether the version of first operating system is different with the version of second operating system, if be, determine that then described system data information satisfies predetermined condition, one of them enters step 204, if can finish to upgrade operating process for not.
Step 204: by the described content-data that obtains described second operating system that communicates to connect.
When being judged as of described step 203 is, can be by the described content-data that communicates to connect second operating system of acquisition request second terminal, described content-data namely refers to the composition data of second operating system.
Step 205: the content-data according to described second operating system, upgrade described first operating system.
Concrete, it can be the difference position of at first determining first operating system and described second operating system, determine the content to be updated of first operating system, then according to the content-data of described second operating system, making is to data difference subpackage that should content to be updated, can the content to be updated of first operating system be upgraded according to this data difference subpackage.
Can also be 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 access to the system data information of second terminal, when the system type of judging first operating system identical with the type of second operating system, and the version of the version of first operating system and second operating system is not simultaneously, can carry out system update, it is by communicating to connect the content-data of second operating system of obtaining second terminal, the renewal of first operating system of carrying out according to the content-data that obtains then, can realize upgrading by two communication between terminals connections, need not special upgrading tool, and updating apparatus, device resource saved, and escalation process need not the user and participates in, and is simple to operate.
Referring to Fig. 3, show the process flow diagram of a kind of method for updating OS embodiment 3 of the present invention, described method is applied to have in first terminal of first operating system, and described method can comprise:
Step 301: foundation communicates to connect with second terminal.
Step 302: obtain the system data information of second operating system of described second terminal, described system data information comprises system type and version information.
Step 303: the type that judges whether described first operating system is identical with the type of described second operating system, and the version of described first operating system is different with the version of described second operating system, if, enter step 304, if not, process ends then.
Step 304: determine the version of described second operating system, and the scheduler of described second operating system.
Can determine the version of second operating system according to the version information of described second operating system, and determine the scheduler of second operating system, described scheduler can refer to provide network linking address or the local side chained address of the second operating system content-data.
This scheduler can be to be stored in advance in first terminal, also can be to be stored in second terminal, the address, source of its of preservation second operating system content-data.
First terminal can trigger self visits this scheduler and download system content-data.
Step 305: visit described scheduler, obtain the content-data of second operating system of the described second operating system version correspondence.
After determining scheduler, i.e. addressable this scheduler is obtained the system for content data of the second operating system version correspondence.
Step 306: the content-data according to described second operating system, upgrade described first operating system.
The step of upgrading first operating system according to content-data can not repeat them here specifically referring to the operation of said method embodiment 2 steps 205.
In the present embodiment, after getting access to the system data information of second terminal, when the system type of judging first operating system identical with the type of second operating system, and the version of the version of first operating system and second operating system is not simultaneously, can carry out system update, it is the scheduler by second operating system of second terminal of determining, obtain the content-data of second operating system, need not special upgrading tool or updating apparatus and carry out system update, saved device resource, simple to operate.
Referring to Fig. 4, show the process flow diagram of a kind of method for updating OS embodiment 4 of the present invention, described method is applied to have in first terminal of first operating system, and described method can comprise:
Step 401: foundation communicates to connect with second terminal.
Step 402: the system data information of obtaining second operating system of described second terminal.
In the present embodiment, this step can be a process that trial connects, and first terminal is receiving user's trigger request, when perhaps receiving the message that the request of second terminal establishes a communications link, can attempt setting up and the communicating to connect of second terminal.
After communicating to connect foundation, can attempt obtaining the system data information of second operating system of two terminals.
Because dissimilar operating system may not establish a communications link, in the present embodiment, described first terminal can set in advance qualifications, described qualifications can refer to that the operating system that only has same type can successfully establish a communications link, and the operating system that perhaps only has same type can successfully be obtained system data information.
Therefore described communicating to connect may be set up failure, causes obtaining the system data information of second operating system; After successfully establishing a communications link, system data information also may be obtained failure.Shown namely that also first terminal is different with the OS Type of second terminal.
Step 403: judge whether described system data information obtains success, if, then enter step 404, if not, process ends then.
In the present embodiment, obtain success by judging described system data information, determine that described system data information satisfies predetermined condition.
Wherein, when described qualifications can successfully establish a communications link for the operating system that only has same type, then described system data information is obtained success, namely can determine to establish a communications link successfully, shows namely that also first terminal is identical with the type of the operating system of second terminal.
When described qualifications can successfully obtain system data information for the operating system that only has same type, then described system data information is obtained success, shows namely that also first terminal is identical with the type of the operating system of second terminal.
Step 404: communicate to connect the version information that obtains second operating system by described, and whether judgement is different with the version of described first operating system, if, then enter step 405, if not, process ends then.
Step 405: obtain the content-data of second operating system, the content-data according to described second operating system upgrades described first operating system.
The described content-data that obtains second operating system can by with the communicating to connect of second terminal, the content-data of second operating system of second terminal of obtaining, it also can be the version that to determine described second operating system, and the scheduler of described second operating system, by visiting described scheduler, obtain the content-data of second operating system of the described second operating system version correspondence.
According to the content-data of described second operating system, the specific implementation process of upgrading described first operating system can be described referring to said method embodiment.
In the present embodiment, first terminal preestablishes restrictive condition, by judging whether system data information obtains success, determine whether first operating system is identical with the type of second operating system, if identical, can further judge, thereby obtain the content-data of second operating system, carry out the renewal of first operating system, need not special upgrading tool or updating apparatus and carry out system update, saved device resource, and simple to operate.
Certainly set qualifications can also be that the operating system that only has same type can successfully establish a communications link, and the operating system that perhaps only has same type can successfully be obtained system data information.
Referring to Fig. 5, show the process flow diagram of a kind of method for updating OS embodiment 5 of the present invention, this method can comprise:
Step 501: foundation communicates to connect with second terminal.
Step 502: obtain the system data information of second operating system of described second terminal, described system data information comprises system type and content-data.
In the present embodiment, the system data information of obtaining comprises content-data.
Step 503: the type that judges whether 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, if enter step 504, if not, process ends then.
When first OS Type was identical with second OS Type, owing to obtained the content-data of second operating system, whether the content-data that therefore can directly compare first operating system there are differences with the content-data that obtains.
Step 504: the content-data according to described second operating system, upgrade described first operating system.
When described step 504 judged result when being, then can be directly according to the content-data of described second operating system, upgrade described first operating system, concrete renewal process can be referring to the content-data of described second operating system of foundation among the said method embodiment, upgrade the operation steps of described first operating system, do not repeat them here.
In the present embodiment, after establishing a communications link, can directly obtain system type and the system for content data of second terminal, when the system type of judging first operating system identical with the type of second operating system, and the content-data of the content-data of first operating system and second operating system is not simultaneously, can carry out system update according to the content-data that obtains, therefore connect by two communication between terminals and can realize upgrading, need not special upgrading tool, and updating apparatus, saved device resource, and escalation process need not the user and participates in, simple to operate.
Between the above each embodiment identical or similar step can be mutually referring to, that therefore introduces in certain embodiments is fairly simple.
Referring to Fig. 6, show the process flow diagram of a kind of method for updating OS embodiment 6 of the present invention, be applied to have in second terminal of second operating system, this method can comprise:
Step 601: foundation communicates to connect with first terminal.
Setting up with communicating to connect of first terminal can be to carry out after receiving the connection request of first terminal.Because this second terminal can establish a communications link with a plurality of terminals, thereby can realize that a plurality of terminals carry out the renewal of system simultaneously.Therefore, receive the connection request of first terminal after, can show relevant lastest imformation at display interface, the title of the terminal of Lian Jieing for example, whether information such as allow to connect.Therefore described foundation and communicating to connect of first terminal can be after receiving user's indication information, attempt connecting.
Step 602: the system data information of described second operating system is offered described first terminal, so that described first terminal judges goes out the system data information of described second operating system when satisfying predetermined condition, be described second operating system with described first operating system update.
Described system data information can comprise contents such as system type, system data content, system version information.
After foundation is finished and communicated to connect, the system data information of second operating system can be sent to first terminal, can be that the request of the obtaining back that receives first terminal sends.
First terminal can judge after receiving this system data information, when whether the system data information of determining described second operating system satisfies predetermined condition, when the result when being, be described second operating system with described first operating system update.
Whether the system data information that first terminal is carried out described second operating system satisfies predetermined condition, and, with the concrete steps that described first operating system update is described second operating system, can be described referring to above-described embodiment 1~5.
In the present embodiment, can be simultaneously and a plurality of terminal establish a communications link, and system data information is offered the terminal that establishes a communications link, so can realize that a plurality of terminals carry out the renewal of operating system simultaneously, can improve update efficiency.
In the present embodiment, by establishing a communications link with first terminal, and self the system data information of second operating system offered described first terminal, first terminal can be when judging described system data information and satisfy predetermined condition, be this second operating system with first operating system update, thereby realized the renewal of the operating system of first terminal, therefore connect by two communication between terminals and can realize upgrading, need not the professional controls special updating apparatus and upgrades, reduce the waste of device resource, and reduced the complicacy of upgrading operation.
Referring to Fig. 7, show the structure flow chart of a kind of terminal embodiment 1 of the present invention, described terminal has first operating system, and this terminal can comprise:
First link block 701 is used for communicating to connect of foundation and second terminal;
First acquisition module 702 is for the system data information of second operating system of obtaining described second terminal;
First judge module 703 is used for judging whether the system data information of described second operating system satisfies predetermined condition.
Wherein, a kind of possible embodiment, described system data information comprises system type and version information, described first judge module specifically is used 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 with the version of described second operating system.
Another kind of possible embodiment, described first judge module specifically is used for judging whether the system data information of described second operating system obtains success, and described system data information is obtained success and shown that described first operating system is identical with the type of second operating system.
First update module 704, be used for when described first judge module, 703 judged results when being, be described second operating system with described first operating system update.
In addition, described terminal can also comprise:
First feedback module is used for to described second terminal feedback lastest imformation, and described lastest imformation is used to indicate described second terminal when determining the renewal failure, and the system data information of described second operating system is provided again.
First preserves module, is used for obtaining and preserving the configuration information of described terminal;
First recovers module, after determining that renewal is finished, according to the configuration information of preserving, the configuration that recovers described terminal.
In the present embodiment, described terminal is by establishing a communications link with second terminal, obtain the system data information of second operating system of second terminal, and when determining described system data information and satisfy predetermined condition, being about to first operating system update is described second operating system, connect by two communication between terminals, the system data information of determining second operating system of second terminal of obtaining when terminal can be automatically updated into second operating system with first operating system when satisfying condition automatically, need not the professional controls special updating apparatus and upgrades, reduce the waste of device resource, and reduced the complicacy of upgrading operation.
Referring to Fig. 2, show the structural representation of a kind of terminal embodiment 2 of the present invention, described terminal has first operating system, and this terminal can comprise:
First link block 801 is used for communicating to connect of foundation and second terminal;
First acquisition module 802, for the system data information of second operating system of obtaining described second terminal, described system data information comprises system type and version information.
First judge module 803 be used 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 with the version of described second operating system.
As another embodiment, described first judge module can also specifically be used for judging whether the system data information of described second operating system obtains success, and described system data information is obtained success and shown that described first operating system is identical with the type of second operating system.Then described first judge module can also be used for communicating to connect the version information that obtains second operating system by described, and whether judgement is different with the version of described first operating system.
First update module 804, be used for when described first judge module, 803 judged results when being, be described second operating system with described first operating system update.
Concrete described first update module can comprise:
First data acquisition module 8041 is used for by the described content-data that obtains described second operating system that communicates to connect;
First updating submodule 8042 is used for the content-data according to described second operating system, upgrades described first operating system.
In the present embodiment, after terminal gets access to the system data information of second terminal, when the system type of judging first operating system identical with the type of second operating system, and the version of the version of first operating system and second operating system is not simultaneously, can carry out system update, it is by communicating to connect the content-data of second operating system of obtaining second terminal, the renewal of first operating system of carrying out according to the content-data that obtains then, can realize upgrading by two communication between terminals connections, need not special upgrading tool, and updating apparatus, device resource saved, and escalation process need not the user and participates in, and is simple to operate.
Referring to Fig. 9, show the structural representation of a kind of terminal embodiment 3 of the present invention, described terminal has first operating system, and this terminal can comprise:
First link block 901 is used for communicating to connect of foundation and second terminal;
First acquisition module 902, for the system data information of second operating system of obtaining described second terminal, described system data information comprises system type and version information.
First judge module 903 be used 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 with the version of described second operating system.
As another embodiment, described first judge module can also specifically be used for judging whether the system data information of described second operating system obtains success, and described system data information is obtained success and shown that described first operating system is identical with the type of second operating system.Then described first judge module can also be used for communicating to connect the version information that obtains second operating system by described, and whether judgement is different with the version of described first operating system.
First update module 904, be used for when described first judge module, 803 judged results when being, be described second operating system with described first operating system update.
Wherein, described first update module 904 can comprise:
Determination module 9041, for the version of determining described second operating system, and the scheduler of described second operating system;
Second data acquisition module 9042 is used for the described scheduler of visit, obtains the content-data of second operating system of the described second operating system version correspondence;
First updating submodule 9043 is used for the content-data according to described second operating system, upgrades described first operating system.
In the present embodiment, after terminal gets access to the system data information of second terminal, when the system type of judging first operating system identical with the type of second operating system, and the version of the version of first operating system and second operating system is not simultaneously, can carry out system update, it is the scheduler by second operating system of second terminal of determining, obtain the content-data of second operating system, need not special upgrading tool or updating apparatus and carry out system update, saved device resource, simple to operate.
Referring to Figure 10, show the structural representation of a kind of terminal embodiment 4 of the present invention, described terminal has first operating system, and this terminal can comprise:
First link block 1001 is used for communicating to connect of foundation and second terminal;
First acquisition module 1002, for the system data information of second operating system of obtaining described second terminal, described system data information comprises system type and system for content data.
First judge module 1003 be used for judging whether the type of described first operating system is identical with the type of described second operating system, and whether the content-data of the content-data of described first operating system and described second operating system there are differences.
First update module 1004, the concrete content-data that is used for according to described second operating system upgrades described first operating system.
In the present embodiment, after terminal and second terminal establish a communications link, can directly obtain system type and the system for content data of second terminal, when the system type of judging first operating system identical with the type of second operating system, and the content-data of the content-data of first operating system and second operating system is not simultaneously, can carry out system update according to the content-data that obtains, therefore connect by two communication between terminals and can realize upgrading, need not special upgrading tool, and updating apparatus, saved device resource, and escalation process need not the user and participates in, simple to operate.
Referring to Figure 11, show the structural representation of a kind of terminal embodiment 5 of the present invention, described terminal has second operating system, can comprise:
Second link block 1101 is used for communicating to connect of foundation and first terminal;
Information provides module 1102, be used for the system data information of described second operating system is offered described first terminal, so that described first terminal judges goes out the system data information of described second operating system when satisfying predetermined condition, be described second operating system with described first operating system update.
In the present embodiment, by establishing a communications link with first terminal, and self the system data information of second operating system offered described first terminal, first terminal can be when judging described system data information and satisfy predetermined condition, be this second operating system with first operating system update, thereby realized the renewal of the operating system of first terminal, therefore connect by two communication between terminals and can realize upgrading, need not the professional controls special updating apparatus and upgrades, reduce the waste of device resource, and reduced the complicacy of upgrading operation.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part partly illustrates referring to method and gets final product.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments herein.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the wideest scope consistent with principle disclosed herein and features of novelty.

Claims (18)

1. a method for updating OS is characterized in that, is applied to have in first terminal of first operating system, and described method comprises:
Foundation communicates to connect with second terminal;
Obtain the system data information of second operating system of described second terminal;
Whether the system data information of judging described second operating system satisfies predetermined condition;
When the system data information of judging described second operating system satisfies predetermined condition, be described second operating system with described first operating system update.
2. method according to claim 1 is characterized in that, described system data information comprises system type and version information, and then whether the described system data information of judging described second operating system satisfies predetermined condition and be specially:
The type that judges whether described first operating system is identical with the type of described second operating system, and the version of described first operating system is different with the version of described second operating system.
3. method according to claim 1 is characterized in that, whether the described system data information of judging described second operating system satisfies predetermined condition is specially:
Judge whether the system data information of described second operating system obtains success, described system data information is obtained success and is shown that described first operating system is identical with the type of second operating system.
4. according to each described method of claim 1~3, it is characterized in that described is that described second operating system comprises with described first operating system update:
By the described content-data that obtains described second operating system that communicates to connect;
Content-data according to described second operating system upgrades described first operating system.
5. according to each described method of claim 1~3, it is characterized in that described is that described second operating system comprises with described first operating system update:
Determine the version of described second operating system, and the scheduler of described second operating system;
Visit described scheduler, obtain the content-data of second operating system of the described second operating system version correspondence;
Content-data according to described second operating system upgrades described first operating system.
6. method according to claim 1 is characterized in that, described system data information comprises system type and system for content data, and then whether the described system data information of judging described second operating system satisfies predetermined condition and be specially:
The type that judges whether 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 is that described second operating system is specially with described first operating system update:
Content-data according to described second operating system upgrades described first operating system.
7. method according to claim 1 is characterized in that, the content-data of described second operating system of described foundation, upgrade described first operating system after, described method also comprises:
To described second terminal feedback lastest imformation, described lastest imformation is used to indicate described second terminal when determining the renewal failure, and the system data information of described second operating system is provided again.
8. method according to claim 1 is characterized in that, is that described second operating system also comprises before with described first operating system update:
Obtain and preserve the configuration information of described first terminal;
Then described is that described second operating system also comprises afterwards with described first operating system update:
According to the configuration information of preserving, the configuration that recovers described terminal.
9. a method for updating OS is characterized in that, is applied to have in second terminal of second operating system, and described method comprises:
Foundation communicates to connect with first terminal;
The system data information of described second operating system is offered described first terminal, so that described first terminal judges goes out the system data information of described second operating system when satisfying predetermined condition, is described second operating system with first operating system update.
10. a terminal is characterized in that, has first operating system, and described terminal comprises:
First link block is used for communicating to connect of foundation and second terminal;
First acquisition module is for the system data information of second operating system of obtaining described second terminal;
First judge module is used for judging whether the system data information of described second operating system satisfies predetermined condition;
First update module, be used for when the described first judge module judged result when being, be described second operating system with described first operating system update.
11. terminal according to claim 10, it is characterized in that, described system data information comprises system type and version information, described first judge module specifically is used 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 with the version of described second operating system.
12. terminal according to claim 10, it is characterized in that, described first judge module specifically is used for judging whether the system data information of described second operating system obtains success, and described system data information is obtained success and shown that described first operating system is identical with the type of second operating system.
13., it is characterized in that described first update module comprises according to each described terminal of claim 10~12:
First data acquisition module is used for by the described content-data that obtains described second operating system that communicates to connect;
First updating submodule is used for the content-data according to described second operating system, upgrades described first operating system.
14., it is characterized in that described first update module comprises according to each described terminal of claim 10~12:
Determination module, for the version of determining described second operating system, and the scheduler of described second operating system;
Second data acquisition module is used for the described scheduler of visit, obtains the content-data of second operating system of the described second operating system version correspondence;
First updating submodule is used for the content-data according to described second operating system, upgrades described first operating system.
15. terminal according to claim 10 is characterized in that, described system data information comprises system type and system for content data,
Then described first judge module specifically is used for judging whether the type of described first operating system is identical with the type of described second operating system, 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 update module specifically is used for the content-data according to described second operating system, upgrades described first operating system.
16. terminal according to claim 10 is characterized in that, described terminal also comprises:
First feedback module is used for to described second terminal feedback lastest imformation, and described lastest imformation is used to indicate described second terminal when determining the renewal failure, and the system data information of described second operating system is provided again.
17. terminal according to claim 10 is characterized in that, described terminal also comprises:
First preserves module, is used for obtaining and preserving the configuration information of described terminal;
First recovers module, after determining that renewal is finished, according to the configuration information of preserving, the configuration that recovers described terminal.
18. a terminal is characterized in that, has second operating system, described terminal comprises:
Second link block is used for communicating to connect of foundation and first terminal;
Information provides module, be used for the system data information of described second operating system is offered described first terminal, so that described first terminal judges goes out the system data information of described second operating system when satisfying predetermined condition, be described second operating system with described first operating system update.
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 true CN103207790A (en) 2013-07-17
CN103207790B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786575A (en) * 2016-03-17 2016-07-20 北京奇虎科技有限公司 Mobile terminal and data elimination avoiding method thereof during system rewriting
WO2016149908A1 (en) * 2015-03-24 2016-09-29 华为技术有限公司 Method for updating terminal system, terminal and system
CN106155705A (en) * 2015-03-22 2016-11-23 联想(北京)有限公司 Electronic equipment and OTA restorative procedure
CN114205227A (en) * 2021-12-10 2022-03-18 珠海格力电器股份有限公司 Synchronization method and device of equipment, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060161605A1 (en) * 2003-12-05 2006-07-20 Fujitsu Limited Data management system, a data management apparatus, a data management method, a data supplying system, and a computer-readable recording medium with a program recorded therein
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060161605A1 (en) * 2003-12-05 2006-07-20 Fujitsu Limited Data management system, a data management apparatus, a data management method, a data supplying system, and a computer-readable recording medium with a program recorded therein
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155705A (en) * 2015-03-22 2016-11-23 联想(北京)有限公司 Electronic equipment and OTA restorative procedure
CN106155705B (en) * 2015-03-22 2020-07-24 联想(北京)有限公司 Electronic equipment and OTA (over-the-air technology) repairing method
WO2016149908A1 (en) * 2015-03-24 2016-09-29 华为技术有限公司 Method for updating terminal system, terminal and system
CN106462424A (en) * 2015-03-24 2017-02-22 华为技术有限公司 Method for updating terminal system, terminal and system
US20170249137A1 (en) * 2015-03-24 2017-08-31 Huawei Technologies Co., Ltd. Method for Upgrading Terminal System, Terminal, and System
US10268471B2 (en) * 2015-03-24 2019-04-23 Huawei Technologies Co., Ltd. Method for upgrading terminal system, terminal, and system
CN105786575A (en) * 2016-03-17 2016-07-20 北京奇虎科技有限公司 Mobile terminal and data elimination avoiding method thereof during system rewriting
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

Also Published As

Publication number Publication date
CN103207790B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN103077058B (en) Method and device for installing application program
CN110032512B (en) Debugging method of small program, related equipment and terminal
CN110248355B (en) Internet of things equipment eUICC card-based code number management method, equipment, platform and system
CN108023778A (en) Firmware upgrade method and its system
CN104090800A (en) Installation method of vehicle-mounted terminal software
US20170289334A1 (en) Mobile terminal, power adapter, and upgrade method thereof
CN104159321A (en) Wi-Fi configuration method and system
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN103902339A (en) Application installation method, terminal and server
CN105451154A (en) Vehicle-mounted information system and control method thereof
CN104243429B (en) A kind of method, apparatus and system for realizing that browser bookmark is synchronous
CN103207790A (en) Operating system updating method and terminal
CN102567061A (en) Method and system for bidirectionally updating television and remote controller
CN104580506A (en) Offline map data obtaining method, cloud server and client-side
CN103687052A (en) Data transmission method and electronic equipment
CN103888502A (en) Projection method, projection file providing method and projection terminal
EP2874465B1 (en) Method and system for remote equipment data installation
CN105511275A (en) Method and device for controlling intelligent electric appliance
CN104426960A (en) Paid application trying method and device thereof
CN107733974A (en) A kind of upgrade method of mobile terminal
CN108228457B (en) Test agent method and device of mobile terminal and computer readable storage medium
CN104301419A (en) Non-local-machine remote download control system and method
CN104570967A (en) Android system based remote control method and system
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
CN115484158B (en) Communication configuration method and device of vehicle-mounted equipment based on eSIM card

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