CN104598281B - The method of system for upgrading electronic equipment - Google Patents
The method of system for upgrading electronic equipment Download PDFInfo
- Publication number
- CN104598281B CN104598281B CN201510061059.6A CN201510061059A CN104598281B CN 104598281 B CN104598281 B CN 104598281B CN 201510061059 A CN201510061059 A CN 201510061059A CN 104598281 B CN104598281 B CN 104598281B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- new system
- filename
- new
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of method of the system for upgrading electronic equipment, including:(A) digital signature of the new system upgraded for the current system to the electronic equipment is obtained, wherein the digital signature of the new system includes the filename of the new system and the hardware description information for the hardware supported about the new system;(B) filename of the current system of the electronic equipment and the hardware information of the electronic equipment are obtained;(C) filename of the new system is compared with the filename of the current system, and the hardware description information is compared with the hardware information of the electronic equipment;(D) current system is upgraded to by the new system according to comparison result.According to the method, applicability of the new system for electronic equipment can be judged by the digital signature of new system, safety when system so as to ensure upgrading electronic equipment.
Description
Technical field
The present invention relates to system upgrades, more particularly, are related to a kind of method of the system for upgrading electronic equipment.
Background technology
In order to meet new demand of the user to electronic equipment (for example, smart mobile phone, tablet computer, PC etc.), or
In order to make up some defects of the current system of electronic equipment, generally requiring exploitation can realize more multi-functional or can make up person
The new system of current system defect.Therefore, in order to debug new system or in order to realize new function, it is necessary to by electronic equipment
Current system upgrades to new system.
Currently, in the system of upgrading electronic equipment, obtains upgrade for the current system to electronic equipment first
New system, current system is directly then upgraded into new system.However, when the new system obtained does not support the one of electronic equipment
When a little hardware, if the current system of electronic equipment is upgraded to new system, it may result in the electronics after upgrade-system and set
It is standby normally to start or can not normally show, cause serious inconvenience to user.
Therefore, there are security risks for the method for the system of the equipment of existing upgrading electronic.
Invention content
Exemplary embodiment of the present invention is to provide a kind of method of the system for upgrading electronic equipment.The method
There are the defects of security risk when can overcome the system of upgrading electronic equipment in the prior art.
According to an exemplary embodiment of the present, a kind of method of the system for upgrading electronic equipment is provided, including:(A)
Obtain the digital signature of the new system upgraded for the current system to the electronic equipment, wherein the new system
Digital signature includes the filename of the new system and the hardware description information for the hardware supported about the new system;(B)
Obtain the filename of the current system of the electronic equipment and the hardware information of the electronic equipment;(C) by the new system
Filename be compared with the filename of the current system, and by the hard of the hardware description information and the electronic equipment
Part information is compared;(D) current system is upgraded to by the new system according to comparison result.
Optionally, the hardware description information includes the memory model list and the new system that the new system is supported
The screen model list of support;The hardware information of the electronic equipment includes the memory model of the electronic equipment and the electricity
The screen model of sub- equipment.
Optionally, in step (D), when comparison result indicates following situations, the current system is upgraded to described
New system:The filename of the new system is consistent with the filename of the current system, the memory type that the new system is supported
Number list includes the memory model of the electronic equipment, and the screen model list that the new system is supported includes the electricity
The screen model of sub- equipment.
Optionally, in step (D), when comparison result indicates at least one of following situations, forbid working as described
Preceding system upgrade is the new system:The filename of the new system and the filename of the current system are inconsistent;It is described new
The memory model list that system is supported does not include the memory model of the electronic equipment;The screen type that the new system is supported
Number list does not include the screen model of the electronic equipment.
Optionally, in step (B), the filename of the current system is obtained from the digital signature of the current system.
Optionally, in step (B), the hardware information of the electronic equipment is pre-stored in electronic equipment.
Optionally, step (A) includes:(A1) the new system upgraded for the current system to the electronic equipment is downloaded
System;(A2) new system of download is stored in the memory of the electronic equipment;(A3) from the memory of the electronic equipment
Read the digital signature of the new system, wherein the digital signature of the new system include the new system filename and
Hardware description information about the hardware that the new system is supported.
In the method for the system according to an exemplary embodiment of the present invention for upgrading electronic equipment, new system can be passed through
Digital signature judge applicability of the new system for electronic equipment, when system so as to ensureing upgrading electronic equipment
Safety.
Description of the drawings
By with reference to be exemplarily illustrated embodiment attached drawing carry out description, exemplary embodiment of the present it is upper
It states and will become apparent with other purposes and feature, wherein:
Fig. 1 shows the flow chart of the method for the system according to an exemplary embodiment of the present invention for upgrading electronic equipment;
Fig. 2 shows number is obtained in the method for the system according to an exemplary embodiment of the present invention for upgrading electronic equipment
The flow chart of signature step;
Fig. 3 shows the flow of the method for the system for upgrading electronic equipment according to another exemplary embodiment of the present invention
Figure.
Specific implementation mode
Hereinafter, the exemplary embodiment that the present invention is more fully described with reference to the accompanying drawings, exemplary embodiment is in the accompanying drawings
It shows.However, it is possible to be embodied in many different forms exemplary embodiment, and should not be construed as being limited to illustrate herein
Exemplary embodiment.On the contrary, these embodiments are provided so that the disclosure will be thorough and complete, and will fully will be exemplary
The range of embodiment is communicated to those skilled in the art.
Fig. 1 shows the flow chart of the method for the system according to an exemplary embodiment of the present invention for upgrading electronic equipment.
The method can be implemented by corresponding electronic equipment, can also be implemented by computer program.For example, the method can lead to
Special equipment or dedicated program for executing system upgrade are crossed to execute.
Particularly, in step S100, the new system upgraded for the current system to the electronic equipment is obtained
Digital signature, wherein the digital signature of the new system includes the filename of the new system and about the new system
The hardware description information of the hardware of support.
The digital signature can be written into new system when writing the new system.For example, can the new system write
When, digital signature is written in new system for writing the application program of digital signature by calling, here, for writing number
Digital signature is written into new system using the parameter for writing new system for the application program of word signature.It here, can basis
The filename is arranged in actual conditions, for example, usually set the filename to the model of electronic product.
As an example, the hardware description information may include the memory model list that the new system is supported and described new
The screen model list that system is supported.Specifically, in order to improve the applicability of new system or in order to save development cost, usually
It needs that new system is made to be suitable for multiple hardwares (for example, screen etc. of the memory of different model, different model).Therefore, hardware
Description information may include the screen model list that the memory model list that the new system is supported and the new system are supported.This
In, when the electronic equipment is the handheld devices such as smart mobile phone, the memory can be flash memory (FLASH) chip, when described
When electronic equipment is the non-handheld electronic devices such as PC, the memory can be hard disk.In addition, the screen of electronic equipment can
For liquid crystal (LCD) screen, Organic Light Emitting Diode (OLED) screen etc..
Fig. 2 shows number is obtained in the method for the system according to an exemplary embodiment of the present invention for upgrading electronic equipment
The flow chart of signature step.
Particularly, in step S110, the new system upgraded for the current system to the electronic equipment is downloaded.
For example, the new system usually downloaded is the new system of compressed file form, the new system of the compressed file form of download can be protected
There are in storage card (TF card).In this way, if necessary to which the current system of electronic equipment is upgraded to new system, then can directly pass through
New system in TF card is upgraded, and is upgraded again without first electronic equipment is connected to after computer, is improved upgrading
Convenience.
In step S120, the new system of download is stored in the memory of the electronic equipment.Here, in front
In example, in the memory that the new system of the compressed file form of download can be unziped to electronic equipment.For example, being downloaded to reduce
Disruption risk in the process can be downloaded to the new system in TF card by the form of divided data packet to keep download more stable
In memory.
In step S130, the digital signature of the new system is read from the memory of the electronic equipment, wherein the new system
The digital signature of system includes the filename of the new system and the hardware description information for the hardware supported about the new system.
For example, can be by the bootstrap in the current system of electronic equipment (for example, the bootstrap in embedded system
Bootloader the digital signature of the new system) is read from memory.
Referring again to Fig. 1 the filename of the current system of the electronic equipment and the electronics are obtained in step S200
The hardware information of equipment.
As an example, the filename of the current system can be obtained from the digital signature of the current system.For example, can
The current system in the digital signature of current system is read by the bootstrap in the current system of electronic equipment
Filename.Here, the digital signature in current system can be written into when writing current system, for example, can be by showing with above-mentioned
Current system is written in the digital signature of current system by the identical mode of mode that digital signature is written in example into new system
In.
As an example, the hardware information of the electronic equipment may include the memory model of the electronic equipment and the electricity
The screen model of sub- equipment.Here, the hardware information of the electronic equipment can be pre-stored in electronic equipment, for example, institute
Stating the hardware information of equipment can be pre-stored in the memory of the system for storing electronic equipment, pass through electronic equipment
Bootstrap in current system reads the hardware information of electronic equipment from memory.
In step S300, the filename of the new system is compared with the filename of the current system, and by institute
Hardware description information is stated to be compared with the hardware information of the electronic equipment.Here, by the filename of the new system and institute
State current system filename be compared be in order to judge the new system and the current system whether have be have it is consistent
Property system, for example, the new system and the current system whether be electronic product suitable for same model system.Separately
Outside, it is to whether judge the new system hardware description information to be compared with the hardware information of the electronic equipment
Hardware platform suitable for the electronic equipment.For example, whether the new system can be in the memory of the electronic equipment
Whether the electronic equipment can normally show in the process of running for normal operation or the new system.
In step S400, the current system is upgraded to by the new system according to comparison result.
Here, can whether consistent according to the filename of the new system and the filename of the current system, the new system
Whether the memory model list that system is supported includes the memory model of the electronic equipment, and the screen that the new system is supported
Whether the screen model including the electronic equipment judges whether the new system sets suitable for the electronics to curtain model list
Standby hardware platform, that is, the new system for the electronic equipment whether it is legal (i.e., if safety).
As an example, when comparison result indicates following situations, the current system can be upgraded to the new system:Institute
The filename for stating new system is consistent with the filename of the current system, and the memory model list that the new system is supported includes
The memory model of the electronic equipment, and the screen model list of new system support includes the screen of the electronic equipment
Curtain model.
As another example, when comparison result indicates at least one of following situations, forbid the current system
Upgrade to the new system:The filename of the new system and the filename of the current system are inconsistent;The new system branch
The memory model list held does not include the memory model of the electronic equipment;The screen model list that the new system is supported
The screen model of the electronic equipment is not included.
Fig. 3 shows the flow of the method for the system for upgrading electronic equipment according to another exemplary embodiment of the present invention
Figure.
Particularly, in step S100, the new system upgraded for the current system to the electronic equipment is obtained
Digital signature, wherein the digital signature of the new system includes the filename of the new system and about the new system
The hardware description information of the hardware of support.As an example, the hardware description information may include the storage that the new system is supported
The screen model list that device model list and the new system are supported.
In step S200, the filename of the current system of the electronic equipment and the hardware letter of the electronic equipment are obtained
Breath.As an example, the hardware information of the electronic equipment may include that the memory model of the electronic equipment and the electronics are set
Standby screen model.
In step S310, whether the filename of the new system is consistent with the filename of the current system.Here,
If the filename of the new system and the filename of the current system are inconsistent, illustrate the new system with it is described current
System is not consistent system, for example, the new system and the current system are not the electricity suitable for same model
The system of sub- product.At this point, executing step S420, forbid the current system upgrading to the new system.
If the filename of the new system is consistent with the filename of the current system, S320 is thened follow the steps, is compared
Whether the memory model list that the new system is supported includes the memory model of the electronic equipment.Here, if it is described
The memory model list that new system is supported does not include the memory model of the electronic equipment, then illustrates that the new system is uncomfortable
For the hardware platform of the electronic equipment, for example, the new system cannot normally transport in the memory of the electronic equipment
Row.At this point, executing step S420.
If the memory model list that the new system is supported includes the memory model of the electronic equipment, execute
Whether step S330, the screen model list that the new system is supported include the screen model of the electronic equipment.Here,
If the screen model list that the new system is supported does not include the screen model of the electronic equipment, illustrate the new system
The hardware platform of the electronic equipment is not suitable for, for example, the electronic equipment can not in the process of running for the new system
Normal display.At this point, executing step S420.
If the screen model list that the new system is supported includes the screen model of the electronic equipment, illustrate described in
New system be suitable for the electronic equipment hardware platform, that is, the new system be for the electronic equipment it is safe,
At this point, executable step S410, upgrades to the new system by the current system.It at this moment, can be by the storage in above-mentioned example
New system in the memory of electronic equipment downloads in the memory of electronic equipment.For example, in order to reduce in downloading process
Disruption risk can be downloaded to the new system in memory in memory by the form of divided data packet to keep download more stable.
In the method for the system according to an exemplary embodiment of the present invention for upgrading electronic equipment, new system can be passed through
Digital signature judge applicability of the new system for electronic equipment, when system so as to ensureing upgrading electronic equipment
Safety.
It should be noted that above each embodiment of the present invention is only exemplary, and the present invention is not limited to this.Ability
Field technique personnel should be appreciated that:Without departing from the principles and spirit of the present invention, it can change these embodiments,
Wherein, the scope of the present invention limits in claim and its equivalent.
Claims (5)
1. a kind of method of system for upgrading electronic equipment, including:
(A1) new system upgraded for the current system to the electronic equipment is downloaded, the new system is stored in and is deposited
In card storage;
(A2) new system in the storage card is downloaded in the memory of the electronic equipment;
(A3) digital signature of the new system is read from the memory of the electronic equipment, wherein the number label of the new system
Name includes the filename of the new system and the hardware description information for the hardware supported about the new system;
(B) filename of the current system of the electronic equipment and the hardware information of the electronic equipment are obtained, is worked as from described
The filename of the current system is obtained in the digital signature of preceding system;
(C) filename of the new system is compared with the filename of the current system, and the hardware description is believed
Breath is compared with the hardware information of the electronic equipment;
(D) current system is upgraded to by the new system according to comparison result;Wherein, the file entitled electronic product
Model.
2. the method for claim 1, wherein the hardware description information includes the memory type that the new system is supported
The screen model list that number list and the new system are supported;The hardware information of the electronic equipment includes the electronic equipment
The screen model of memory model and the electronic equipment.
3. method as claimed in claim 2, wherein, will be described when comparison result indicates following situations in step (D)
Current system upgrades to the new system:The filename of the new system is consistent with the filename of the current system, described new
System support memory model list include the electronic equipment memory model, and the new system support screen
Model list includes the screen model of the electronic equipment.
4. method as claimed in claim 2, wherein in step (D), at least one in comparison result indicates following situations
When a, forbid the current system upgrading to the new system:The text of the filename of the new system and the current system
Part name is inconsistent;The memory model list that the new system is supported does not include the memory model of the electronic equipment;It is described
The screen model list that new system is supported does not include the screen model of the electronic equipment.
5. the method for claim 1, wherein in step (B), the hardware information of the electronic equipment is stored in advance
In the electronic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510061059.6A CN104598281B (en) | 2015-02-05 | 2015-02-05 | The method of system for upgrading electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510061059.6A CN104598281B (en) | 2015-02-05 | 2015-02-05 | The method of system for upgrading electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104598281A CN104598281A (en) | 2015-05-06 |
CN104598281B true CN104598281B (en) | 2018-09-21 |
Family
ID=53124099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510061059.6A Active CN104598281B (en) | 2015-02-05 | 2015-02-05 | The method of system for upgrading electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104598281B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109492421A (en) * | 2017-09-11 | 2019-03-19 | 厦门雅迅网络股份有限公司 | Data processing method, electronic equipment and the storage medium of security middleware based on android system |
CN108830086A (en) * | 2018-06-19 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of BIOS file upgrade method and relevant apparatus |
CN110365842B (en) * | 2019-07-12 | 2021-04-02 | 维沃移动通信有限公司 | Terminal control method and terminal equipment |
CN112230950B (en) * | 2020-09-17 | 2023-12-12 | 成都卓影科技股份有限公司 | Method for switching Android device system signature and reserving user data |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1584822B (en) * | 2003-08-19 | 2010-04-21 | 联想(北京)有限公司 | Method for updating computer fixing ware program |
US7590835B1 (en) * | 2006-06-30 | 2009-09-15 | American Megatrends, Inc. | Dynamically updating a computer system firmware image |
CN101198009B (en) * | 2008-01-03 | 2013-11-20 | 中兴通讯股份有限公司 | Method for upgrading conference television terminal |
CN101339035A (en) * | 2008-08-14 | 2009-01-07 | 凯立德欣技术(深圳)有限公司 | Navigation software automatic installation method and system |
CN101436141B (en) * | 2008-11-21 | 2012-07-18 | 深圳创维数字技术股份有限公司 | Firmware upgrading and encapsulating method and device based on digital signing |
CN101984691A (en) * | 2010-10-25 | 2011-03-09 | 东莞宇龙通信科技有限公司 | Upgrading method of system built-in software and mobile terminal |
CN103377052B (en) * | 2012-04-12 | 2016-11-23 | 金蝶软件(中国)有限公司 | The method and system automatically downloading adaptation application program based on file synchronization services |
CN102799454B (en) * | 2012-07-13 | 2018-05-01 | 中广传播集团有限公司 | A kind of terminal software aerial upgrade and the method for loading |
CN103777971A (en) * | 2012-10-23 | 2014-05-07 | 新加坡商华科国际股份有限公司 | Electronic device, method for updating firmware, and recording medium capable of being read by computer |
CN103699416A (en) * | 2013-12-27 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | Detection method and detection device of intelligent device offline upgrade packs |
-
2015
- 2015-02-05 CN CN201510061059.6A patent/CN104598281B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104598281A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866341B (en) | Component upgrading method and device and terminal | |
KR102497195B1 (en) | A mehtod for processing contents, an electronic device and a storage medium therefor | |
EP3109762B1 (en) | Electronic device having external memory and method for operating the same | |
US20170010794A1 (en) | Electronic device, and method for changing icon in the electronic device | |
US20170123783A1 (en) | Method for displaying plug-in view elements in host application page and electronic device | |
CN107209653A (en) | Electronic equipment and control method for controlling multiple displays | |
CN104598281B (en) | The method of system for upgrading electronic equipment | |
CN105849697B (en) | The method and apparatus of the operating system of upgrading electronic device | |
CN109726067B (en) | Process monitoring method and client device | |
CN106020861B (en) | A kind of the FOTA upgrade method and system of smartwatch | |
CN110096700A (en) | The method and apparatus for keeping atom link entity using the mechanism that is automatically performed | |
JP2019525275A (en) | Abnormal stack information acquisition method, apparatus, and computer-readable storage medium | |
CN104166717A (en) | Unread message displaying method and device based on terminal operation system | |
CN106164857A (en) | Scalable user interface shows | |
Schwarz et al. | The Android developer's cookbook: building applications with the Android SDK | |
CN105094762A (en) | Communication device and multi-window display method | |
CN103761114A (en) | Method and device for loading extensions and/or plugins on browser side | |
US20200026371A1 (en) | Electronic device and method for controlling biosensor linked with display by using same | |
CN105005735A (en) | Downloading management method and downloading management device | |
CN105550007A (en) | Control method and device for mobile terminal and mobile terminal | |
KR20170067094A (en) | Method and electronic device improving install speed of theme package | |
CN108431767A (en) | A kind of method, user terminal and the storage medium of load software program | |
CN112148337A (en) | Firmware upgrading method and device | |
CN108762983A (en) | Multi-medium data restoration methods and device | |
CN110134416A (en) | Oftware updating method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 518000 Floor 9, plant 2, Daqian industrial plant, Longchang Road, district 67, Bao'an District, Shenzhen, Guangdong Province Patentee after: Shenzhen Chengcheng Information Co.,Ltd. Address before: 518000 Floor 9, plant 2, Daqian industrial plant, Longchang Road, district 67, Bao'an District, Shenzhen, Guangdong Province Patentee before: CHAINWAY INFORMATION TECHNOLOGY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |