CN1292350C - Backup method and system for inner embedded program in memory server - Google Patents

Backup method and system for inner embedded program in memory server Download PDF

Info

Publication number
CN1292350C
CN1292350C CN 03138575 CN03138575A CN1292350C CN 1292350 C CN1292350 C CN 1292350C CN 03138575 CN03138575 CN 03138575 CN 03138575 A CN03138575 A CN 03138575A CN 1292350 C CN1292350 C CN 1292350C
Authority
CN
China
Prior art keywords
storage server
redundant
storer
embedded program
embedded
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.)
Expired - Fee Related
Application number
CN 03138575
Other languages
Chinese (zh)
Other versions
CN1553343A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 03138575 priority Critical patent/CN1292350C/en
Publication of CN1553343A publication Critical patent/CN1553343A/en
Application granted granted Critical
Publication of CN1292350C publication Critical patent/CN1292350C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a backup method for embedded programs of a storage server and a system, which can be applied to a storage server. Program codes embedded in the storage server comprise an operation system and applications; when a damage situation arises, a program backup function is provided for the damaged embedded program codes so that the storage server can still normally operate. The present invention is characterized in that a part of storage space of a data storage device which is used as a standard device in the storage server is directly used as a dedicated backup block; therefore, an expensive erasable non-volatile memory does not need to be added. Therefore, the present invention provides a program backup solution with low cost.

Description

The embedded program redundant of storage server method and system
Technical field
The invention relates to a kind of computer information technology, particularly about the embedded program redundant of a kind of storage server method and system, can be applicable to lift-launch to a storage server (storageserver), in order to the embedded program code in this storage server, comprise operating system and application program, during the generation problem, provide a program redundant function, but make the still normal operation of this storage server embedded program code.
Background technology
Storage server (storage server) is the network system a kind of server commonly used in the enterprise, wherein dispose the great data storage device of capacity, RAID (Redundant Arrayof Independent Disks) disc array devices for example, but the user is by the huge business material of the various quantity of network system access.
Operating system on the storage server and application program are generally embedded, but just the computer program code of operating system and application program are all write in the erasing type non-volatility memorizer (for example flash memory), increase the execution usefulness of server whereby.Generally speaking, total data quantity of the computer program code of operating system on the storage server of using always at present and application program is about 8MB to 16MB (megabyte) usually.Because data is rather huge, therefore, need in storage server, install the storage space of 8MB to 16MB again additional if will provide a program redundant function to existing storage server.Yet because but the price of erasing type non-volatility memorizer is very expensive usually, therefore adding device, memory is not a kind of cost-benefit program redundant solution that has.Therefore enterprise normally only writes a operating system and application program at storage server at present in order to save cost, not other setting program redundant facility.Yet the shortcoming of this practice is when the embedded program code generation problem in the storage server, storage server is decommissioned and normal service function can't be provided, and makes the whole enterprise operation may therefore and suffer bigger loss.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention provides the embedded program redundant of a kind of storage server method and system, can install the storer of cost costliness additional, a program redundant function can be provided the embedded program code in the storage server.
Another object of the present invention is to provide the embedded program redundant of a kind of storage server method and system, a kind of program redundant solution with lower cost can be provided.
The embedded program standby system of storage server of the present invention, be applied in lift-launch to a storage server, and this storage server has a storer and a data storage device at least, one group of embedded system operating system of this memory storage and application program, the embedded program standby system of this storage server in this storer embedded system operating system and during application program generation damage situation, embedded system operating system and application program to damage provide a program redundant function, but make the still normal operation of this storage server, the embedded program standby system of this storage server comprises at least: a redundant block planning module allows the redundant block of cooking up a special use in the storage area of the data storage device of user from this storage server; One redundant is checked module, can check the embedded system operating system that whether stored in this redundant block in this storer and a redundant file of application program; One redundant file is set up module, embedded system operating system in this storer and application copy can be gone out a redundant file, and this redundant file is stored to this redundant block; One program detection module can be when this storage server be started shooting and is carried out service function, and whether the embedded system operating system and the application program that detect in this storer the damage situation takes place; If then send a restore information; And a recovery module, can respond the restore information that this program detection module sends, the redundant file sign indicating number that stores in this redundant block is reverted back this storer, but make still normal operation of storage server.
The embedded program redundant of storage server of the present invention method, be applied in a storage server, storage server possesses at least a storer and a data storage device is arranged, this storer is in order to store one group of embedded program code, during embedded program code generation damage situation in this storer, embedded program code to damage provides a program redundant function, but make the still normal operation of this storage server, the embedded program redundant of this storage server method comprises at least: the redundant block that marks off a special use in the storage area of the data storage device from this storage server; Embedded program code in this storer is duplicated a redundant file, and this redundant file is stored this redundant block; And if the embedded program code generation damage situation in this storer then reverts back this storer with the redundant file in this redundant block.The embedded program code that wherein stores in the storer comprises operating system and application program.
The present invention adopts a part of storage area in the high capacity data storage device in the storage server as the redundant block of special use, but therefore can install the erasing type non-volatility memorizer of cost costliness additional, a kind of program redundant solution with lower cost can be provided.
Description of drawings
Fig. 1 is a system architecture synoptic diagram, shows the basic framework of the Object Oriented OO component model of the embedded program standby system of storage server of the present invention;
Fig. 2 is a process flow diagram, shows the operating process of the embedded program redundant of storage server of the present invention method and system.
Embodiment
Embodiment
Below be conjunction with figs., describe the embodiment of the embedded program redundant of storage server of the present invention method and system in detail.
Fig. 1 promptly shows the basic framework of the OO component model (object-orientedcomponent model) of the embedded program standby system of storage server of the present invention (as the included part of frame of broken lines of label 100 indications).As shown in the figure, the embedded program standby system 100 of storage server of the present invention is to carry to a storage server 10 in practical application, but and this storage server 10 have an erasing type non-volatility memorizer 20 and a data storage device 30 at least; Wherein this storer 20 is in order to storing one group of embedded program code, for example is required operating system and related application of storage server 10; 30 of this data storage devices for example are a RAID (Redundant Array of Independent Disks) disc array devices, can allow the user pass through network system (not marking among the figure) the huge business material of the various quantity of access
The embedded program standby system 100 of storage server of the present invention can be stored embedded program code in above-mentioned storer 20, just storage server operating system reaches relevant application program, when the damage situation takes place, embedded program code to damage provides a program redundant function, but makes this still normal operation of storage server 10.
The OO component model of the embedded program standby system 100 of storage server of the present invention comprises at least: (a) redundant block planning module 110; (b) redundant is checked module 120; (c) a redundant file is set up module 130; (d) a program detection module 140; (e) recovery module 150.
Redundant block planning module 110 can allow the user in advance in the storage area of the data storage device from storage server 10 30, cook up the redundant block 31 of a special use, a redundant file of the embedded program code in this storer 20 is stored to this redundant block 31.This special-purpose redundant block 31 is only to be defined as in order to store the redundant file of the embedded program code in this storer 20, should not be used to store other data.
Redundant checks that module 120 can detect a redundant file that whether has stored the embedded program code in this storer 20 in this redundant block 31 after these storage server 10 starts; If do not have, then send a redundant information to this redundant file and set up module 130.
The redundant file is set up module 130 can respond the redundant information that above-mentioned redundant checks that module 120 is sent, with all embedded program codes that store in this storer 20, comprise operating system and application program, copy a redundant file, and this redundant file is stored to the redundant block 31 that marks off in the data storage device 30.
Program detection module 140 can detect the embedded program code in this storer 20 when this storage server 10 carries out boot program, comprise operating system and application program, and whether the damage situation takes place; If then send a restore information to recovery module 150.
Recovery module 150 can respond the restore information that above-mentioned program detection module 140 sends and carry out a reducing program, and this storer 20 is returned in the backup computer program copy of storing in this redundant block 31.
Fig. 2 promptly shows the operating process of the embedded program standby system 100 of storage server of the present invention.The embedded program standby system 100 of storage server of the present invention is when being mounted to storage server 10 for the first time, need cook up the redundant block 31 of a special use in advance in the storage area of the data storage device from storage server 10 30 by the user by redundant block planning module 110; From then on after, when data storage server system program redundant method and system of the present invention can and be carried out service function in storage server 10 starts, automatically perform operating process shown in Figure 2.
Please consult Fig. 2 and Fig. 1 simultaneously, at first the program trace routine of execution in step S1 wherein is the embedded program code that active program detection module 140 detects in this storer 20, comprises operating system and application program, and whether the damage situation takes place; If not, then program is skipped to step S2; If otherwise, then program is skipped to step S4.
In step S2, carry out a redundant scrutiny program, be to activate redundant to check in module 120 these redundant blocks 31 of inspection whether stored a redundant file of the embedded program code in this storer 20; If, the embedded program code in then termination routine, and the beginning execute store 20; Otherwise if not, then program is skipped to step S3.
In step S3, carry out a redundant file creation facilities program (CFP), wherein be to activate the redundant file to set up module 130, with the embedded program code in the storer 20, comprise operating system and application program, copy a redundant file, and this redundant file is stored to redundant block 31 in the data storage device 30.Then be termination routine, and the embedded program code in the beginning execute store 20.
In step S4, carry out a reducing program, wherein be to activate recovery module 150, the backup and reduction that stores in the redundant block 31 in the data storage device 30 is returned this storer 20.Then be termination routine, and the embedded program code in the beginning execute store 20.
Generally speaking, the invention provides a kind of embedded program redundant of storage server method and system of novelty, can be applicable to lift-launch to a storage server, provide a program redundant function the embedded program code in this storage server; And its technical characterstic is directly to adopt a part of storage area in the jumbo data storage device that the standard in this storage server is equipped with as the redundant block of special use, but therefore can install the erasing type non-volatility memorizer of cost costliness additional, a kind of program redundant solution with lower cost can be provided.Therefore the present invention has better progressive and practicality than prior art.

Claims (6)

1. the embedded program redundant of storage server method, can be applicable to a storage server, it is characterized in that, storage server possesses at least a storer and a data storage device is arranged, this storer is in order to storing one group of embedded program code, during embedded program code generation damage situation in this storer, provides a program redundant function to the embedded program code of damage, but make the still normal operation of this storage server, the embedded program redundant of this storage server method comprises at least:
Mark off the redundant block of a special use in the storage area of the data storage device from this storage server;
Embedded program code in this storer is duplicated a redundant file, and this redundant file is stored this redundant block; And
If the embedded program code generation damage situation in this storer then reverts back this storer with the redundant file in this redundant block.
2. the embedded program redundant of storage server as claimed in claim 1 method is characterized in that the data storage device in this storage server is a RAID disc array devices.
3. the embedded program redundant of storage server as claimed in claim 1 method is characterized in that the embedded program code that stores in the storer in this storage server comprises operating system and application program.
4. embedded program standby system of storage server, can be applicable to lift-launch to a storage server, it is characterized in that, this storage server possesses at least a storer and a data storage device is arranged, this storer is in order to store one group of embedded program code, the embedded program standby system of this storage server can be in this storer embedded program code generation damage situation the time, embedded program code to damage provides a program redundant function, but make the still normal operation of this storage server, the embedded program standby system of this storage server comprises at least:
One redundant block planning module can allow the redundant block of cooking up a special use in the storage area of the data storage device of user from this storage server;
One redundant is checked module, can check a redundant file that whether has stored the embedded program code in this storer in this redundant block;
One redundant file is set up module, if do not store a redundant file of the embedded program code in this storer in this redundant block, then the embedded program code in this storer can be copied a redundant file, and this redundant file is stored to this redundant block;
One program detection module can be when this storage server be started shooting and is carried out service function, and whether the embedded program code that detects in this storer the damage situation takes place; If then send a restore information: and
One recovery module can respond the restore information that this program detection module sends, and the redundant file that stores in this redundant block is reverted back this storer.
5. the embedded program standby system of storage server as claimed in claim 4 is characterized in that, the data storage device in this storage server is a RAID disc array devices.
6. the embedded program standby system of storage server as claimed in claim 4 is characterized in that the embedded program code that stores in the storer in this storage server comprises embedded system operating system and application program.
CN 03138575 2003-05-30 2003-05-30 Backup method and system for inner embedded program in memory server Expired - Fee Related CN1292350C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03138575 CN1292350C (en) 2003-05-30 2003-05-30 Backup method and system for inner embedded program in memory server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03138575 CN1292350C (en) 2003-05-30 2003-05-30 Backup method and system for inner embedded program in memory server

Publications (2)

Publication Number Publication Date
CN1553343A CN1553343A (en) 2004-12-08
CN1292350C true CN1292350C (en) 2006-12-27

Family

ID=34323745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03138575 Expired - Fee Related CN1292350C (en) 2003-05-30 2003-05-30 Backup method and system for inner embedded program in memory server

Country Status (1)

Country Link
CN (1) CN1292350C (en)

Also Published As

Publication number Publication date
CN1553343A (en) 2004-12-08

Similar Documents

Publication Publication Date Title
CN103019888B (en) Backup method and device
CN102667703B (en) For the system and method for the optimization recycling in Virtual Tape Library System
CN1300696C (en) Memory controller and data storage method
CN102063348B (en) Partition table information backup method and device and storage system
CN103186461A (en) Storage method and recover method for field data, and related devices
CN1760875A (en) Transparent migration of files among various types of storage volumes based on file access properties
CN104461391A (en) Method and system for managing and processing metadata of storage equipment
CN101566931A (en) Virtual disk drive system and method
CN103064760B (en) Backup method and backup device
CN103221925A (en) Data processing method and storage equipment
CN113626256B (en) Virtual machine disk data backup method, device, terminal and storage medium
CN1826590A (en) Cache integrity apparatus, systems, and methods
CN110399247A (en) A kind of data reconstruction method, device, equipment and computer readable storage medium
CN1924821A (en) Firmware renewing system and method
CN115145777B (en) Test method, system, device and storage medium
CN101566928B (en) Virtual disk drive system and method
CN1975682A (en) Method and apparatus for implementing directory organization to selectively optimize performance or reliability
CN1292350C (en) Backup method and system for inner embedded program in memory server
CN2563637Y (en) Starting up operation system device of computer host
CN111966644A (en) Supercomputer data storage method, device, system and storage medium
CN1317650C (en) Method for automatically recovering BIOS based on hard disk protective space
JPH08249218A (en) File controller and data write method
CN111475334A (en) TiDB database maintenance method and device, computer equipment and storage medium
KR20090094594A (en) Information storage medium recording data according to journaling file system, method and apparatus of writing/recovering data using journaling file system
US10416929B1 (en) Relocation target selection

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061227

Termination date: 20110530