CN102141921A - Method for upgrading system of terminal equipment and terminal equipment - Google Patents

Method for upgrading system of terminal equipment and terminal equipment Download PDF

Info

Publication number
CN102141921A
CN102141921A CN2010101058730A CN201010105873A CN102141921A CN 102141921 A CN102141921 A CN 102141921A CN 2010101058730 A CN2010101058730 A CN 2010101058730A CN 201010105873 A CN201010105873 A CN 201010105873A CN 102141921 A CN102141921 A CN 102141921A
Authority
CN
China
Prior art keywords
upgrading
upgraded
terminal device
upgrade file
file
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.)
Pending
Application number
CN2010101058730A
Other languages
Chinese (zh)
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN2010101058730A priority Critical patent/CN102141921A/en
Priority to PCT/CN2011/070408 priority patent/WO2011095074A1/en
Publication of CN102141921A publication Critical patent/CN102141921A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The embodiment of the invention relates to the field of communication, in particular to a method for upgrading a system of terminal equipment. The method comprises the following steps of: determining a system to be upgraded of the terminal equipment comprising two systems; acquiring an upgrading file and obtaining an upgrading start address of the upgrading file in the system to be upgraded from the upgrading file; and writing the upgrading file from the upgrading start address of the upgrading file in the system to be upgraded. The embodiment of the invention also provides terminal equipment. By the embodiment of the invention, the problem that a new upgraded system cannot be launched successfully due to different flash subregions of a dual system upgrading file can be solved effectively, and the upgrading of the system with two totally different flash subregions can be supported; moreover, after every successful upgrading, the new upgraded system can be launched successfully.

Description

A kind of terminal device system upgrade method and terminal device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of terminal device system upgrade method and terminal device.
Background technology
In the terminal device field,, adopted the dual system mechanism of master and slave system at present, only when main system upgrading failure or main system can't successfully start, be used as standby system and start from system for protection system is not destroyed.
In the dual system mechanism that adopt in current terminal device field, there is following shortcoming at least:
Two systems in the dual system are reciprocity, and it is consistent that image file subregion wherein necessarily requires, if the flash subregion of image file is inconsistent in two systems, and the then system start-up that can't successfully finish from firm upgrading.That is to say, if the flash subregion in the system of current operation and the system image file to be upgraded is inconsistent, after equipment self can't guarantee upgrading last time, this upgrade file write address right.Therefore address that may this upgrading writes and the file address after upgrading last time do not match, and when causing system start-up that just upgrading is successful, can't can cause system successfully to start from the address read-outing data after the correct upgrading.
Summary of the invention
The embodiment of the invention provides a kind of terminal device system upgrade method and terminal device.
The embodiment of the invention is achieved through the following technical solutions:
The embodiment of the invention provides a kind of terminal device system upgrade method, comprising:
Determine to comprise the system to be upgraded in the described terminal device of two systems;
Obtain upgrade file, and from described upgrade file, obtain the upgrading start address of described upgrade file in system to be upgraded;
Described upgrade file is write from the upgrading start address of described upgrade file system to be upgraded.
The embodiment of the invention provides a kind of terminal device, comprising:
First module is used for determining comprising the system to be upgraded of the described terminal device of two systems;
Unit second is used to obtain upgrade file, and obtains the upgrading start address of described upgrade file in system to be upgraded from described upgrade file;
Unit the 3rd is used for described upgrade file is write from the upgrading start address of described upgrade file in system to be upgraded.
The technical scheme that is provided by the invention described above embodiment as can be seen, the embodiment of the invention can effectively solve the problem that the system of the new upgrading that the flash subregion difference of upgrade file in the dual system brings can't successfully start, can support the system upgrade of two kinds of diverse flash subregions, after guaranteeing to upgrade successfully, can both successfully start from the system of up-to-date upgrading at every turn.
Description of drawings
Fig. 1 is a kind of terminal device system upgrade of one embodiment of the invention method flow diagram;
Fig. 2 is a kind of terminal device system upgrade of another embodiment of the present invention method flow diagram;
Fig. 3 is a kind of terminal device structural representation of one embodiment of the invention;
Fig. 4 is a kind of terminal device structural representation of another embodiment 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, be understandable that 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 is obtained under the creative work prerequisite.
One embodiment of the invention provides a kind of terminal device system upgrade method, and to be example shown in Fig. 1, this method comprises the steps:
Step 11: determine to comprise the system to be upgraded in the described terminal device of two systems;
Step 12: obtain upgrade file, and from described upgrade file, obtain the upgrading start address of described upgrade file in described system to be upgraded;
Step 13: described upgrade file is write from the upgrading start address of described upgrade file system to be upgraded.
In step 11, the method that one embodiment of the invention is described determines to comprise the system to be upgraded in the described terminal device of two systems comprises: according to the upgrading identification field of the described terminal device that comprises two systems, determine to comprise the system to be upgraded in the described terminal device of two systems.Just, the upgrading identification field can be set, be used to indicate current system to be upgraded for dual system termi-nal equipment.For example, terminal device comprises first system and second system, if upgrading identification field indication needs upgrading is first system, and this first system that upgrades then.
Alternatively, after upgrading is finished, after the system restart to be upgraded of described terminal device, described upgrading identification field is revised as another system that points to except that described system to be upgraded, this first system that upgraded for example, after then upgrading was finished, after first system start-up, the identification field of will upgrading was pointed to second system.
In step 12, the method that one embodiment of the invention is obtained upgrade file includes but not limited to: read described upgrade file from external web page, for example, operator notifies the user that the redaction that can upgrade is arranged, the user can obtain upgrade file by approach such as websites, for example the user clicks the action of corresponding upgrade software, can trigger the process of obtaining upgrade file and upgrading.
The described method of obtaining the upgrading start address of upgrade file in described system to be upgraded of one embodiment of the invention comprises: the upgrading initial address message (IAM) of the described upgrade file that identifies in according to upgrade file in each system, determine the upgrading start address of this upgrade file; The upgrade file that the embodiment of the invention relates to, when packing, in this upgrade file, be added with the upgrading initial address message (IAM) of this upgrade file of sign in each system, if this upgrade file is the upgrade file at dual system termi-nal equipment, this upgrading initial address message (IAM) is included in upgrading start address in first system in this dual system and the upgrading start address in second system, can determine the upgrading start address of upgrade file in the system to be upgraded that determines according to this upgrading initial address message (IAM).Just the described upgrade file of the embodiment of the invention is the upgrade file at the terminal device of same type or identical product model, can provide this upgrade file to the user on network by the equipment supplier via operator.Because the equipment supplier carries out the issue of upgraded version, understand the history upgrading situation of such terminal device, can distribute according to the address of history upgrading back terminal device, determine the upgrading initial address message (IAM) of upgrade file in each system of this upgrading, which address upgrading the unlikely terminal device oneself that makes itself determines to be somebody's turn to do from, and cause address that this upgrading writes and the file address after upgrading last time not to match, thereby just the system of upgrading can't start.
In the step 13, begin to write described upgrade file from described definite upgrading start address.Flash subregion at this upgrade file in the described dual system of the embodiment of the invention can be inconsistent, and the shared storage space of just described two systems is inconsistent.
Be understandable that the embodiment of the invention is equally applicable in the described dual system at the identical situation of the flash subregion of this file to be upgraded, and the upgrading that is applicable to the single system terminal device.
The embodiment of the invention can effectively solve the problem that the system of the new upgrading that the flash subregion difference of dual system upgrade file brings can't successfully start, can support the system upgrade of two kinds of diverse flash subregions, after guaranteeing to upgrade successfully, can both successfully start from the system of up-to-date upgrading at every turn.
Another embodiment of the present invention provides a kind of terminal device system upgrade method, as shown in Figure 2, the embodiment of the invention is that image file is an example with the upgrade file, the described image file of present embodiment, it is the image file, packing exactly is upgraded to the bin file that goes in the flash subregion, and this method comprises the steps:
Step 20: receive the upgrading order;
Step 21: determine system to be upgraded according to the upgrading identification field.
Because the embodiment of the invention is applicable to the updating terminal device of dual system and single system, so this step is omissible in the updating terminal device process to single system.
For dual system termi-nal equipment, the upgrading identification field can be set, be used to indicate current system to be upgraded.For example, terminal device comprises first system and second system, if upgrading identification field indication needs upgrading is first system, and this first system that upgrades then.
The embodiment of the invention is added the upgrading initial address message (IAM) of this image file of sign in each system in image file when image file is packed, for example, be included in upgrading start address in first system and the upgrading start address in second system.
Step 22:, determine the upgrading start address of image file according to the upgrading initial address message (IAM) in each system that identifies in the image file;
For example, after definite system to be upgraded is first system, search the upgrading initial address message (IAM) in this image file, determine the upgrading start address of the upgrading start address of this image file in first system for this this image file of upgrading.
Step 23: begin to write described image file from described definite upgrading start address;
For example, in first system to be upgraded, begin to write this image file from described definite upgrading start address.
Step 24: revise described upgrading identification field, make it point to the system that this is not upgraded.
After upgrading is finished, after the system restart of this upgrading, revise the upgrading identification field, make it point to the system that this is not upgraded, for example, this upgrade-system is first system, finish at first system upgrade, and after restarting, the identification field of will upgrading is pointed to second system.
Can be inconsistent in described first system of the embodiment of the invention and described second system at the flash subregion of this image file to be upgraded.
Be understandable that the embodiment of the invention is equally applicable in described first system and second system at the identical situation of the flash subregion of this image file to be upgraded, and the upgrading that is applicable to the single system terminal device.
The embodiment of the invention can effectively solve the problem that the system of the new upgrading that the flash subregion difference of dual system image file brings can't successfully start, can support the system upgrade of two kinds of diverse flash subregions, after guaranteeing to upgrade successfully, can both successfully start from the system of up-to-date upgrading at every turn.
Simultaneously, the embodiment of the invention can be switched upgrading owing to introduced the upgrading identification field between dual system, make the dual system of terminal device obtain balanced use, has avoided the long-term situation about using separately of some systems, has prolonged service life of equipment.
The embodiment of the invention also provides a kind of terminal device, and to be example shown in Fig. 3, this terminal device comprises:
First module 30 is used for determining comprising the system to be upgraded of the described terminal device of two systems; This first module 30 specifically is used for the upgrading identification field according to described terminal device, determines described system to be upgraded.
Second unit 31 is used to obtain upgrade file, and obtains the upgrading start address of described upgrade file in system to be upgraded from described upgrade file; The method of obtaining upgrade file and from described upgrade file, obtaining the upgrading start address of described upgrade file in system to be upgraded with reference to above described in the embodiment step 12, repeat no more herein.
The 3rd unit 32 is used for described upgrade file is write from the upgrading start address of described upgrade file in system to be upgraded.
As shown in Figure 4, this terminal device can further include:
The 4th unit 33, be used for finishing in that described upgrade file is write in the upgrading start address of system to be upgraded from described upgrade file, after the system restart described to be upgraded of described terminal device, the upgrading identification field of described terminal device is revised as another system that points to except that described system to be upgraded.
The described terminal device of the embodiment of the invention can solve the problem that the system of the new upgrading that the flash subregion difference of upgrade file in the dual system brings can't successfully start, can support the system upgrade of two kinds of diverse flash subregions, after guaranteeing to upgrade successfully, can both successfully start from the system of up-to-date upgrading at every turn.
Simultaneously, the embodiment of the invention can be switched upgrading owing to introduced the upgrading identification field between dual system, make the dual system of terminal device obtain balanced use, has avoided the long-term situation about using separately of some systems, has prolonged service life of equipment.
In sum, the embodiment of the invention can effectively solve the problem that the system of the new upgrading that the flash subregion difference of upgrade file in the dual system brings can't successfully start, can support the system upgrade of two kinds of diverse flash subregions, after guaranteeing to upgrade successfully, can both successfully start from the system of up-to-date upgrading at every turn.
Simultaneously, the embodiment of the invention can be switched upgrading owing to introduced the upgrading identification field between dual system, make the dual system of terminal device obtain balanced use, has avoided the long-term situation about using separately of some systems, has prolonged service life of equipment.
One of ordinary skill in the art will appreciate that, realize that all or part of step in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, for example ROM (read-only memory) (being called for short ROM), random access memory (being called for short RAM), disk, CD etc.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (9)

1. a terminal device system upgrade method is characterized in that, comprising:
Determine to comprise the system to be upgraded in the described terminal device of two systems;
Obtain upgrade file, and from described upgrade file, obtain the upgrading start address of described upgrade file in system to be upgraded;
Described upgrade file is write from the upgrading start address of described upgrade file system to be upgraded.
2. the method for claim 1 is characterized in that, the system to be upgraded in the described described terminal device of determining to comprise two systems comprises:
According to the upgrading identification field of the described terminal device that comprises two systems, determine to comprise the system to be upgraded in the described terminal device of two systems.
3. method as claimed in claim 2 is characterized in that, described with described upgrade file after the upgrading start address of described upgrade file system to be upgraded writes, comprising:
After the system restart to be upgraded of described terminal device, described upgrading identification field is revised as another system that points to except that described system to be upgraded.
4. the method for claim 1 is characterized in that, the described upgrade file that obtains comprises:
Read described upgrade file from external web page.
5. the method for claim 1 is characterized in that, the shared storage space of described two systems is inconsistent.
6. a terminal device is characterized in that, comprising:
First module is used for determining comprising the system to be upgraded of the described terminal device of two systems;
Unit second is used to obtain upgrade file, and obtains the upgrading start address of described upgrade file in system to be upgraded from described upgrade file;
Unit the 3rd is used for described upgrade file is write from the upgrading start address of described upgrade file in system to be upgraded.
7. terminal device as claimed in claim 6 is characterized in that described first module specifically is used for, and according to the upgrading identification field of described terminal device, determines described system to be upgraded.
8. terminal device as claimed in claim 7 is characterized in that, also comprises:
Unit the 4th, be used for finishing in that described upgrade file is write in the upgrading start address of system to be upgraded from described upgrade file, after the system restart described to be upgraded of described terminal device, the upgrading identification field of described terminal device is revised as another system that points to except that described system to be upgraded.
9. terminal device as claimed in claim 6 is characterized in that, described two systems shared storage space in described terminal device is inconsistent.
CN2010101058730A 2010-02-03 2010-02-03 Method for upgrading system of terminal equipment and terminal equipment Pending CN102141921A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010101058730A CN102141921A (en) 2010-02-03 2010-02-03 Method for upgrading system of terminal equipment and terminal equipment
PCT/CN2011/070408 WO2011095074A1 (en) 2010-02-03 2011-01-20 Method for upgrading terminal device system and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101058730A CN102141921A (en) 2010-02-03 2010-02-03 Method for upgrading system of terminal equipment and terminal equipment

Publications (1)

Publication Number Publication Date
CN102141921A true CN102141921A (en) 2011-08-03

Family

ID=44354953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101058730A Pending CN102141921A (en) 2010-02-03 2010-02-03 Method for upgrading system of terminal equipment and terminal equipment

Country Status (2)

Country Link
CN (1) CN102141921A (en)
WO (1) WO2011095074A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530143A (en) * 2013-09-02 2014-01-22 福建二菱电子有限公司 Network player upgrading method and system partitioning structure
CN104754043A (en) * 2015-03-16 2015-07-01 西安酷派软件科技有限公司 Terminal upgrading method and device
CN104750509A (en) * 2013-12-30 2015-07-01 青岛海信宽带多媒体技术有限公司 System upgrading method and device
CN105049533A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Terminal system upgrading method and system
CN105786549A (en) * 2014-12-26 2016-07-20 乐视致新电子科技(天津)有限公司 Smart device and upgrading method thereof
CN105915361A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Group upgrading method and device
WO2016192195A1 (en) * 2015-06-05 2016-12-08 宇龙计算机通信科技(深圳)有限公司 File download method for dual system and device thereof
CN106445616A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Method and device for upgrading terminal equipment from multiple systems to single system
CN112073813A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Display device and method for detecting and processing abnormal starting between two systems
CN113626059A (en) * 2021-10-13 2021-11-09 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium
CN113656081A (en) * 2021-08-05 2021-11-16 深圳市同泰怡信息技术有限公司 Method and device for synchronizing configuration information of baseboard management controller and computer equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813431B (en) * 2020-08-04 2024-01-26 康佳集团股份有限公司 Software upgrading method, intelligent television and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020069213A1 (en) * 2000-12-06 2002-06-06 Moslander Joseph P. Upgrading a device over a network
CN1570878A (en) * 2003-07-11 2005-01-26 上海广电(集团)有限公司中央研究院 Method for upgrading software of information household electrical appliance and method for encoding and decoding upgrading data
CN1889042A (en) * 2006-07-17 2007-01-03 华为技术有限公司 Terminal staging method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020069213A1 (en) * 2000-12-06 2002-06-06 Moslander Joseph P. Upgrading a device over a network
CN1570878A (en) * 2003-07-11 2005-01-26 上海广电(集团)有限公司中央研究院 Method for upgrading software of information household electrical appliance and method for encoding and decoding upgrading data
CN1889042A (en) * 2006-07-17 2007-01-03 华为技术有限公司 Terminal staging method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨崇江等: "一种IPTV机顶盒的软件在线升级方案设计与实现", 《成都信息工程学院学报》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530143A (en) * 2013-09-02 2014-01-22 福建二菱电子有限公司 Network player upgrading method and system partitioning structure
CN104750509A (en) * 2013-12-30 2015-07-01 青岛海信宽带多媒体技术有限公司 System upgrading method and device
CN105786549B (en) * 2014-12-26 2019-09-24 乐融致新电子科技(天津)有限公司 Smart machine and its upgrade method
CN105786549A (en) * 2014-12-26 2016-07-20 乐视致新电子科技(天津)有限公司 Smart device and upgrading method thereof
CN104754043A (en) * 2015-03-16 2015-07-01 西安酷派软件科技有限公司 Terminal upgrading method and device
WO2016145679A1 (en) * 2015-03-16 2016-09-22 宇龙计算机通信科技(深圳)有限公司 Terminal upgrade method and device
CN104754043B (en) * 2015-03-16 2018-07-27 西安酷派软件科技有限公司 A kind of terminal staging method and device
WO2016192195A1 (en) * 2015-06-05 2016-12-08 宇龙计算机通信科技(深圳)有限公司 File download method for dual system and device thereof
CN105049533A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Terminal system upgrading method and system
CN105915361A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Group upgrading method and device
CN106445616A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Method and device for upgrading terminal equipment from multiple systems to single system
CN112073813A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Display device and method for detecting and processing abnormal starting between two systems
CN112073813B (en) * 2019-06-10 2022-03-11 海信视像科技股份有限公司 Display device and method for detecting and processing abnormal starting between two systems
CN113656081A (en) * 2021-08-05 2021-11-16 深圳市同泰怡信息技术有限公司 Method and device for synchronizing configuration information of baseboard management controller and computer equipment
CN113656081B (en) * 2021-08-05 2023-08-22 深圳市同泰怡信息技术有限公司 Method, device and computer equipment for synchronizing configuration information of baseboard management controller
CN113626059A (en) * 2021-10-13 2021-11-09 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium
CN113626059B (en) * 2021-10-13 2022-02-08 北京创米智汇物联科技有限公司 System upgrade method, camera and computer readable storage medium

Also Published As

Publication number Publication date
WO2011095074A1 (en) 2011-08-11

Similar Documents

Publication Publication Date Title
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
CN106095620B (en) A kind of development approach of built-in Linux partition holding
CN103227812B (en) Smart machine is supported method for down loading and the device of breakpoint transmission
WO2013103023A1 (en) Information processing device, information processing method, and computer program
WO2010035596A1 (en) Firmware update device and method
CN104572229A (en) Firmware upgrade method and firmware upgrade device for embedded system
JP2016126443A (en) Electronic device and firmware recovery program
CN107589955B (en) Method and system for upgrading double-CMC (carboxy methyl cellulose) firmware version
CN101539866A (en) Information processing device, and method of starting information processing device
CN104216749A (en) Updating method and updating device for applications
CN107463467B (en) Method and system capable of quickly restoring virtualization platform
CN102147754A (en) Automatic backup method and device for driver
CN104063256A (en) Partition and firmware upgrading method based on minimum operating system
CN111045712A (en) Single system upgrading method and system with backup function
CN104216802A (en) Memory database recovery method and device
CN102999349A (en) Software upgrading method
CN104951348A (en) Interruptible recovery upgrading method and device
CN106201570A (en) A kind of application program exempts from installation and operation method and device
EP3425494A1 (en) Printer apparatus and program
CN112527446A (en) Time zone synchronization method, equipment and terminal equipment
CN106484442B (en) Server system and method for updating startup mapping file
JP2019020798A (en) Information processing device and program
CN107562440B (en) Eeprom version updating method and device
CN105511904A (en) Method and apparatus for automatically updating shortcut window
CN111124459B (en) Method and device for updating service logic of FPGA cloud server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110803