CN1786908A - Active software renewing apparatus and method thereof - Google Patents

Active software renewing apparatus and method thereof Download PDF

Info

Publication number
CN1786908A
CN1786908A CN 200410077457 CN200410077457A CN1786908A CN 1786908 A CN1786908 A CN 1786908A CN 200410077457 CN200410077457 CN 200410077457 CN 200410077457 A CN200410077457 A CN 200410077457A CN 1786908 A CN1786908 A CN 1786908A
Authority
CN
China
Prior art keywords
software
new software
new
data
volatile 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.)
Pending
Application number
CN 200410077457
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 200410077457 priority Critical patent/CN1786908A/en
Publication of CN1786908A publication Critical patent/CN1786908A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention is an active software updating method, comprising the following steps of: reading a first-format descriptive file and a second-format descriptive file and judging if new software is compatible with the data stored in a nonvolatile memory; providing a format reference file and converting the data imcompatible with the new software into the data compatible with the new software according to the format reference file; reading a first system setting descriptive file and a second system setting descriptive file, and judging if the new software is compatible with the system settings described by the second system setting descriptive file; providing a system setting reference file, and changing the system settings imcompatible with the new software into the system settings compatible with the new software; updating the new software to a region to update the software in the nonvolatile memory, according to the updating addresses described by the preset file; and the method can solve the imcompatible problem of software updating, thus strengthening the software updating safety and validity.

Description

Active software renewing apparatus and method
[technical field]
The present invention relates to a kind of software renewing apparatus and method, particularly a kind of software renewing apparatus and method that occurs incompatibility problem when solving software upgrading.
[background technology]
Because the development of electronic product is maked rapid progress and life cycle is shorter and shorter especially, a kind of product must constantly increase or improve its function, could allow the user use more easily, and prolongs the life cycle of product.On the one hand, we can expand product function by expanding hardware unit, yet, expand hardware unit and cause cost higher.On the other hand, the various functions of electronic product all need to control by system software in the memory storage and application software, so except expanding hardware unit, most important no more than update software, and be a kind of comparatively economic mode.
Therefore, the method that the software upgrading that constantly has the Software Designer exploitation to make new advances is upgraded, as disclosed No. 1271888 patent application case in China national Department of Intellectual Property on November 1st, 2000, this application case name is called " method and the device thereof that utilize the double-direction radio transmission to carry out software upgrading ", this application case has disclosed a kind of method of software upgrading: the white space that new software is stored to non-volatile memory, and then write in the non-volatile memory and to desire the zone that executive software upgrades, begin to duplicate, finish until renewal.But new software the territory may occur and be updated the incompatible situation of system, thus before update software, must judge whether new software exists compatibling problem with system, and the method that solves incompatibility problem is provided.Yet the compatibling problem when this application case does not disclose software upgrading directly carries out software upgrading if do not consider compatibling problem, when incompatibility problem takes place, may cause its data not read even the consequence of systemic breakdown.
[summary of the invention]
Fundamental purpose of the present invention is to provide a kind of active software renewing apparatus, the incompatibility problem between software that it occurs in the time of can solving software upgrading and data and software and system are provided with, thus improved the security and the validity of software upgrading.
Another object of the present invention is to provide a kind of active software renewing method, the incompatibility problem between software that it occurs in the time of can solving software upgrading and data and software and system are provided with, thus improved the security and the validity of software upgrading.
For reaching above purpose, the invention provides a kind of active software renewing apparatus, carry out its all operations to realize software upgrade function by a processor, this processor is connected with a non-volatile memory by a bus, this non-volatile memory stores one second format description file, one second system is provided with description document, this device comprises: a form judge module, the second format description file that is used to read the first format description file of new software and is stored in non-volatile memory, relatively this first, whether compatible the second format description file to judge the new software data that are stored in non-volatile memory; One format converting module is used to provide a form reference paper, carries out data type or Data Format Transform according to the data that this form reference paper is incompatible with new software, and the data after the conversion can be by new softwarecompatible; One system is provided with judge module, second system that first system that is used to read new software is provided with description document and is stored in non-volatile memory is provided with description document, and relatively this first, second system is provided with description document to judge the whether compatible system setting of new software; One change module is used to provide a system that reference paper is set, and according to this system reference paper system's setting that new software is incompatible is set and is modified to the setting of new software compatible system; And a update module, be used for latest software update being desired the zone that executive software upgrades to non-volatile memory according to preestablishing the described scheduler of file, replace old software with new software.
The present invention also provides a kind of active software renewing method, it comprises the steps: the second format description file that (a) reads the first format description file of new software and be stored in non-volatile memory, and relatively whether compatible this first, second format description file to judge the new software data that are stored in non-volatile memory; (b) provide a form reference paper, carry out data type or Data Format Transform according to the data that this form reference paper is incompatible with new software, the data after the conversion can be by new softwarecompatible; (c) second system that description document is set and is stored in non-volatile memory of first system that reads new software is provided with description document, and relatively this first, second system is provided with description document to judge whether compatible second system is provided with the setting of the described system of description document to new software; (d) provide a system that reference paper is set, according to this system reference paper system's setting that new software is incompatible is set and is modified to the setting of new software compatible system; (e) according to preestablishing the described scheduler of file latest software update is desired the zone that executive software upgrades in non-volatile memory, replace old software with new software.The incompatibility problem that occurs in the time of can solving software upgrading by said method.
The incompatibility problem that occurs in the time of can solving software upgrading by said apparatus and method, thus the security and the validity of software upgrading improved.
[description of drawings]
Fig. 1 is the hardware structure figure that active software renewing apparatus of the present invention is used.
Fig. 2 is the functional block diagram of active software renewing apparatus of the present invention.
Fig. 3 is the process flow diagram of active software renewing method of the present invention.
[embodiment]
As shown in Figure 1, be the hardware structure figure that active software renewing apparatus of the present invention is used.This active software renewing apparatus can be applicable to a network servicer or similar devices, and the present invention enumerates a network servicer and describes.This network servicer comprises one first memory storage 10, a receiving trap 11, a processor 12, one second memory storage 13, a display device 14 and a bus 15.
This first memory storage 10 is a kind of memory storages with non-volatile mode storage data, as a hard disk or flash memory or (Flash Memory), it can still can keep interior data under non-powered state, can read or write data again when power supply is arranged, the data that this first memory storage 10 stores comprise that system software, application software, generic-document, system's setting, format description file, system are provided with description document etc.This receiving trap 11 is used for receiving new software by network or alternate manner.This processor 12 can be carried out an active software renewing apparatus 120, this active software renewing apparatus 120 can be used for receiving new software, (American StandardCode for Information Interchange ASCII) carries out and computing to the ASCII of new software content correspondence, judge the whether compatible data that are stored in this network servicer first memory storage 10 of new software, the data that new software is incompatible are carried out data type or Data Format Transform, judge the whether system's setting of compatible this network servicer of new software, incompatible system's setting is changed and upgraded new software.This second memory storage 13 is used for the data that temporary processor 12 will be handled, can be a Dynamic Random Access Memory (DynamicRandom Access Memory, DRAM).This display device 14 is used for video data, this display device 14 can be a LCD (Liquid Crystal Display, LCD).This bus 15 is used for the data transmission between first memory storage 10, receiving trap 11, second memory storage 13, display device 14 and the processor 12 at least.
As shown in Figure 2, be the functional block diagram of active software renewing apparatus of the present invention.This device comprises that mainly a receiver module 20, a computing module 21, an inspection module 22, a form judge module 23, a format converting module 24, a system are provided with judge module 25, a change module 26 and a update module 27.Wherein this receiver module 20 is used for receiving a new software from receiving trap 11, and will this new software be stored to the white space of first memory storage 10.This computing module 21 is used for the ASCII character of this new software memory contents correspondence is carried out and computing, obtains an operation values.This inspection module 22 is used for reading from this first memory storage 10 operation values of correct software (with a update software) ASCII character of presetting, and relatively the ASCII character operation values and new software ASCII character operation values of this correct software, whether be to judge new software with update software.This form judge module 23 is used to read one first format description file and one second format description file, compare first, whether compatible the second format description file to judge the new software data that are stored in first memory storage 10, wherein this first format description file description this new software compatible data type (as the byte data type, the double byte data type) and data layout (as coded system or scale or kind of currencies etc.), this second format description file is stored in first memory storage 10, and it has described type and the form that is stored in the data in first memory storage 10.This format converting module 24 is used to provide a form reference paper, carries out data type or Data Format Transform according to the data that this form reference paper is incompatible with new software, and the data after the conversion can be by new softwarecompatible.Wherein this form reference paper provides data type and Data Format Transform rule between new software and this data.This system is provided with judge module 25 and is used to read that one first system is provided with description document and one second system is provided with description document, relatively first, second system is provided with description document to judge the whether system's setting of compatible this network servicer of new software, wherein this first system is provided with system's setting that description document has been described new softwarecompatible, this second system is provided with description document and is stored in first memory storage 10, and it has described system's setting of this network servicer.This change module 26 is used to provide a system that reference paper is set, according to this system reference paper system's setting that new software is incompatible is set and is modified to the setting of new software compatible system, wherein this system is provided with reference paper the transformation rule that system is provided with between new software and this network servicer is provided.This update module 27 is used for according to preestablishing the described scheduler of file latest software update being desired the zone that executive software upgrades to first memory storage 10, replaces old software with new software.
As shown in Figure 3, be process flow diagram for active software renewing method of the present invention.At first, receiver module 20 receives a new software from receiving trap 11, and will this new software be stored to the white space (step S300) of first memory storage 10.Computing module 21 will this new software memory contents correspondence ASCII character carry out and computing, obtain an operation values (step S301).Check that module 22 reads the operation values of correct software (with a update software) ASCII character of presetting from this first memory storage 10, whether and ASCII character operation values that will this correct software compares with new software ASCII character operation values, be the software (step S302) that will upgrade to determine new software.If new software is not the software (incorrect reason may be received or mistake for leaking) that will upgrade, then goes to step S301 and receive new software again and show miscue information (step S303).If the software (the ASCII character operation values that be correct software equal new software ASCII character operation values) of new software for upgrading, then form judge module 23 reads one first format description file and one second format description file, and relatively whether compatible this first, second format description file to judge the new software data (step S304) that are stored in first memory storage 10.If the new incompatible described data of software, format converting module 24 provides a form reference paper, carry out data type or Data Format Transform according to the data that this form reference paper is incompatible with new software, the data after the conversion can be by new softwarecompatible (step S305).If the new described data of softwarecompatible, then system is provided with judge module 25 and reads that one first system is provided with description document and one second system is provided with description document, and relatively this first, second system is provided with description document to judge the whether system's setting (step S306) of compatible described network servicer of new software.If system's setting of the new incompatible described network servicer of software, then changing module 26 provides a system that reference paper is set, and according to this system reference paper system's setting that new software is incompatible is set and is modified to the setting of new software compatible system.On behalf of conducting, 1 representative, system's setting of network servicer disconnect with 0 as described, and system's setting of new softwarecompatible disconnects, 1 represent conducting with 0 representative, then changes module and system's setting of described network servicer is changed to 0 representative disconnection, 1 represents conducting (step S307).If system's setting of the new described network servicer of softwarecompatible, then update module 27 is desired the zone that executive software upgrades with latest software update according to preestablishing the described scheduler of file in first memory storage 10, replaces old software (step S308) with new software.After renewal is finished, judge whether to restart network servicer (step S309).If need not restart network servicer, then show work and the state of finishing (step S310).Restart network servicer if desired, then restart this network servicer, and move new software (step S311).

Claims (11)

1. active software renewing apparatus, carry out its operation to realize software upgrade function by a processor, this processor is connected with a non-volatile memory by a bus, this non-volatile memory stores one second format description file, one second system is provided with description document, it is characterized in that this device includes:
One form judge module, read the first format description file of new software and be stored in the second format description file of non-volatile memory, relatively this first, second format description file is to judge the whether compatible data that are stored in non-volatile memory of new software;
One format converting module provides a form reference paper, carries out data type or Data Format Transform according to the data that this form reference paper is incompatible with new software, and the data after the conversion can be by new softwarecompatible;
One system is provided with judge module, second system that first system that reads new software is provided with description document and is stored in non-volatile memory is provided with description document, and relatively this first, second system is provided with description document to judge the whether compatible system setting of new software;
One change module provides a system that reference paper is set, and according to this system reference paper system's setting that new software is incompatible is set and is modified to the setting of new software compatible system; And
One update module is desired the zone that executive software upgrades with latest software update according to preestablishing the described scheduler of file in non-volatile memory, replace old software with new software.
2. active software renewing apparatus as claimed in claim 1 is characterized in that, also comprises a receiver module, and this receiver module is used to receive a new software, and will this new software be stored to the white space of non-volatile memory.
3. active software renewing apparatus as claimed in claim 1 is characterized in that, also comprises a computing module, and this computing module is used for the ASCII character of this new software memory contents correspondence is carried out and computing.
4. active software renewing apparatus as claimed in claim 1, it is characterized in that, also comprise one check module, this inspections module be used for by newer software the ASCII character operation values and with the ASCII character operation values of update software with judge new software whether be will renewal software.
5. active software renewing apparatus as claimed in claim 1, it is characterized in that, the format description file description of this new software this new software compatible data type and data layout, this be stored in non-volatile memory the format description file description data type and the data layout of storage data in the non-volatile memory.
6. active software renewing apparatus as claimed in claim 1 is characterized in that, this form reference paper provides the transformation rule of data type and data layout between new software and the non-volatile memory.
7. an active software renewing method is characterized in that, this method may further comprise the steps:
Read the first format description file of new software and be stored in the second format description file of non-volatile memory, relatively this first, second format description file is to judge the whether compatible data that are stored in non-volatile memory of new software;
One form reference paper is provided, carries out data type or Data Format Transform according to the data that this form reference paper is incompatible with new software, the data after the conversion can be by new softwarecompatible;
Second system that first system that reads new software is provided with description document and is stored in non-volatile memory is provided with description document, and relatively this first, second system is provided with description document to judge whether compatible second system is provided with system's setting that description document is described to new software;
Provide a system that reference paper is set, according to this system reference paper system's setting that new software is incompatible is set and is modified to the setting of new software compatible system; And
According to preestablishing the described scheduler of file latest software update is desired the zone that executive software upgrades in non-volatile memory, replace old software with new software.
8. active software renewing method as claimed in claim 7 is characterized in that, also comprises receiving a new software, and will this new software be stored to the step of the white space of non-volatile memory.
9. active software renewing method as claimed in claim 7 is characterized in that, also comprises the ASCII character of new software memory contents correspondence is carried out and computing, obtains the step of an operation values.
10. active software renewing method as claimed in claim 7 is characterized in that, also comprise by newer software the ASCII character operation values with the ASCII character operation values of update software to judge that whether new software be the step of the software that will upgrade.
11. active software renewing method as claimed in claim 7, it is characterized in that, the format description file description of this new software this new software compatible data type and data layout, this be stored in non-volatile memory the format description file description data type and the data layout of storage data in the non-volatile memory.
CN 200410077457 2004-12-11 2004-12-11 Active software renewing apparatus and method thereof Pending CN1786908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410077457 CN1786908A (en) 2004-12-11 2004-12-11 Active software renewing apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410077457 CN1786908A (en) 2004-12-11 2004-12-11 Active software renewing apparatus and method thereof

Publications (1)

Publication Number Publication Date
CN1786908A true CN1786908A (en) 2006-06-14

Family

ID=36784387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410077457 Pending CN1786908A (en) 2004-12-11 2004-12-11 Active software renewing apparatus and method thereof

Country Status (1)

Country Link
CN (1) CN1786908A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082730A (en) * 2011-02-09 2011-06-01 中兴通讯股份有限公司 Router upgrading method and router
CN102147804A (en) * 2011-01-26 2011-08-10 华为数字技术有限公司 Method and device for managing file of network equipment
WO2015192298A1 (en) * 2014-06-16 2015-12-23 Huawei Technologies Co., Ltd. Telecommunication device and method for updating software in a telecommunication device
CN105740009A (en) * 2016-01-26 2016-07-06 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147804A (en) * 2011-01-26 2011-08-10 华为数字技术有限公司 Method and device for managing file of network equipment
CN102147804B (en) * 2011-01-26 2014-10-08 北京华为数字技术有限公司 Method and device for managing file of network equipment
CN102082730A (en) * 2011-02-09 2011-06-01 中兴通讯股份有限公司 Router upgrading method and router
CN102082730B (en) * 2011-02-09 2014-12-31 中兴通讯股份有限公司 Router upgrading method and router
WO2015192298A1 (en) * 2014-06-16 2015-12-23 Huawei Technologies Co., Ltd. Telecommunication device and method for updating software in a telecommunication device
CN106462421A (en) * 2014-06-16 2017-02-22 华为技术有限公司 Telecommunication device and method for updating software in a telecommunication device
CN106462421B (en) * 2014-06-16 2020-03-20 华为技术有限公司 Telecommunication device and method for updating software in a telecommunication device
CN105740009A (en) * 2016-01-26 2016-07-06 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal equipment
CN105740009B (en) * 2016-01-26 2019-09-17 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal device

Similar Documents

Publication Publication Date Title
CN102693145B (en) Differential upgrading method for embedded system
US6175919B1 (en) Method and apparatus for upgrading BIOS using a serial communication
KR101555210B1 (en) Apparatus and method for downloadin contents using movinand in portable terminal
CN103246610B (en) Dynamic storage management method based on the embedded system of single type memory
CN1648863A (en) Portable software application method
CN101110039A (en) Terminal unit self-installing and self-starting system and method thereof
CN101166229A (en) A TV software update method
CN104517588A (en) Display electronic device and backlight adjusting method thereof
CN101872306B (en) Embedded system for realizing software updating and software backup and implementation method thereof
US20040103172A1 (en) Method of updating an operation system
CN112732318A (en) Singlechip firmware upgrading method
CN101159957A (en) Data terminal equipment updating, renovating method and device
CN101751338B (en) Data access control device and data access method
CN1786908A (en) Active software renewing apparatus and method thereof
CN104866397A (en) Computer System And Control Method
US20080065814A1 (en) Storing a Driver for Controlling a Memory
CN102073571B (en) Method for measuring service life of storage device and data storage system
CN201204030Y (en) Apparatus for updating LCD EDID
CN100533418C (en) Method and apparatus for modifying the contents of a revision identification register
CN101944072A (en) Method and equipment for configuring starting mode of terminal equipment
CN101162430A (en) Memory card and method of updating memory card program
CN101398760B (en) Firmware updating system and updating method thereof
CN102947817A (en) Communication apparatus, communication method, and communication program
CN102760063A (en) File loading method and device
CN104699410A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication