CN103383656A - Method and device for recovering storage system - Google Patents

Method and device for recovering storage system Download PDF

Info

Publication number
CN103383656A
CN103383656A CN2012101334316A CN201210133431A CN103383656A CN 103383656 A CN103383656 A CN 103383656A CN 2012101334316 A CN2012101334316 A CN 2012101334316A CN 201210133431 A CN201210133431 A CN 201210133431A CN 103383656 A CN103383656 A CN 103383656A
Authority
CN
China
Prior art keywords
storage system
data
designated terminal
partition
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101334316A
Other languages
Chinese (zh)
Other versions
CN103383656B (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.)
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 CN201210133431.6A priority Critical patent/CN103383656B/en
Priority claimed from CN201210133431.6A external-priority patent/CN103383656B/en
Publication of CN103383656A publication Critical patent/CN103383656A/en
Application granted granted Critical
Publication of CN103383656B publication Critical patent/CN103383656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for recovering a storage system, and belongs to the technical field of communications. The method comprises the following steps: acquiring a partitioned list and partitioned data of a storage system of a designated terminal; storing the partitioned list and the partitioned data of the storage system of the designated terminal; when the current storage system of the designated terminal fails, diagnosing the storage system of the designated terminal, and obtaining the failure data of the current storage system of the designated terminal; recovering the failure data of the current storage system of the designated terminal according to the failure data and the partitioned list and the partitioned data stored locally. The terminal is recovered, without a special programming tool, and a common user can recover the storage system of the terminal through simple operation, so that the problem of recovering the system of the mobile terminal is solved.

Description

Recover the method and apparatus of storage system
Technical field
The present invention relates to communication technical field, particularly a kind of method and apparatus that recovers storage system.
Background technology
Mobile terminal device becomes the requisite daily necessities of people gradually now, and mobile terminal device is also developing towards more intelligent, complicated direction.In order to satisfy the mobile terminal device software systems to the demand of amount of physical memory, add mass storage (Mass storage) on mobile terminal device, the memory space of Mass storage is large, can satisfy the mobile terminal device software systems to the demand of amount of physical memory.But be damaged as this Mass storage, in the time of can't the starting up, need this storage system is repaired, how the storage system of complexity like this is repaired be to need the problem that solves in prior art.
Also can repair the system that is damaged by the burn writing equipment of specialty in prior art.The burn writing equipment of specialty is downloaded corresponding AKU by the website from the device fabrication business, get the image file of mobile terminal device, by the Jtag port, utilize the JtagICE emulator to load software, directly the storage medium of mobile terminal device carried out programming, with the storage system of Recover from damaging.
But professional flashburn tools cost is high, and high to operator's software and hardware requested knowledge, operates for the user of common mobile terminal very difficult.
Summary of the invention
For the problem that the system that solves mobile terminal in prior art is recovered, the embodiment of the present invention provides a kind of method and apparatus that recovers storage system.Described technical scheme is as follows:
On the one hand, provide a kind of method of recovering storage system, described method comprises:
Obtain partition table and the partition data of the storage system of designated terminal;
Store partition table and the partition data of the storage system of described designated terminal;
When the current storage system of described designated terminal breaks down, the current storage system of described designated terminal is diagnosed the fault data in the current storage system of the described designated terminal of acquisition;
According to the fault data in the partition table of the storage system of the described designated terminal of described fault data and local storage and current storage system that partition data is repaired described designated terminal.
On the other hand, provide a kind of device that recovers storage system, described device comprises:
Data acquisition module is for partition table and the partition data of the storage system of obtaining designated terminal;
Data memory module is used for storing partition table and the partition data of the storage system of the described designated terminal that described data acquisition module obtains;
Fault diagnosis module is used for when the current storage system of described designated terminal breaks down, the current storage system of described designated terminal being diagnosed the fault data in the current storage system of the described designated terminal of acquisition;
The fault recovery module is used for repairing the fault data of the current storage system of described designated terminal according to partition table and the partition data of the storage system of the described designated terminal of the diagnostic result of described fault diagnosis module and the storage of described data memory module.
The technical scheme that provides by the present embodiment, partition table and the partition data of the storage system of storage designated terminal, when the current storage system of described designated terminal breaks down, the partition table of storage system of the designated terminal by storage and the current storage system that partition data recovers described designated terminal, thereby can not need use professional flashburn tools just can repair terminal, common mobile terminal user just can realize reparation to the terminal storage system by simple operations, thereby problem is recovered by the system that has solved mobile terminal.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, during the below will describe embodiment, the accompanying drawing of required use is done to introduce simply, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of process flow diagram that recovers the method for storage system that provides in the embodiment of the present invention;
Fig. 2 is a kind of process flow diagram that recovers the method for storage system that provides in the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram that recovers the device of storage system that provides in the embodiment of the present invention;
Fig. 4 is the schematic diagram that the another kind that provides in the embodiment of the present invention recovers the device of storage system;
Fig. 5 is the schematic diagram of a kind of terminal of providing in the embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Referring to Fig. 1, a kind of method of recovering storage system is provided in the present embodiment, comprising:
101, obtain partition table and the partition data of the storage system of designated terminal;
The terminal at the executive agent place in the present embodiment has identical systematic parameter with described designated terminal, and preferably, terminal and the described designated terminal at the executive agent place in the present embodiment belong to type of the same race.In the present embodiment, the terminal at the executive agent place in the present embodiment can be referred to as to recover terminal or back-up terminals or main control terminal.When the terminal at executive agent place can be referred to as main control terminal, described designated terminal can be referred to as from terminal.Certainly, the terminal in the present embodiment can be mobile terminal.
Preferably, described partition table and the partition data that obtains the storage system of designated terminal comprises:
Read the partition table of the storage system of designated terminal by general-purpose serial bus USB;
Read the partition data of the storage system of described designated terminal according to the partition table of the storage system of described designated terminal.
102, partition table and the partition data of the storage system of the described designated terminal of storage;
Preferably, partition table and the partition data of the storage system of the described designated terminal of described storage comprise:
The partition table and the partition data that upgrade local storage system with partition table and the partition data of the storage system of described designated terminal.
Alternatively, after the partition table and partition data of the storage system of the described designated terminal of described storage, also comprise:
Send partition table and the partition data of the storage system of this locality to described designated terminal, make described designated terminal upgrade partition table and the partition data of the storage system of self this locality with the described partition table that receives and partition data.
103, when the current storage system of described designated terminal breaks down, the current storage system of described designated terminal is diagnosed the fault data in the current storage system of the described designated terminal of acquisition;
Preferably, described storage system to described designated terminal is diagnosed, and the fault data in the current storage system of the described designated terminal of acquisition comprises:
Read partition table and the partition data of the current storage system of described designated terminal by USB;
Partition table and partition data according to the storage system of the described designated terminal of this locality storage, partition table and partition data to the current storage system of this described designated terminal that reads are diagnosed, and obtain the fault data in the current storage system of this described designated terminal that reads.
Preferably, partition table and the partition data of the storage system of described described designated terminal according to self storing, partition table and partition data to the current storage system of this described designated terminal that reads are diagnosed, obtain the fault data in the current storage system of this described designated terminal that reads, comprising:
Partition table and partition data according to the storage system of the described designated terminal of this locality storage, subregion without file system on the current storage system of this described designated terminal that reads is carried out the scale-of-two diagnosis, there is the subregion of file system to carry out the file system level diagnosis on current storage system to this described designated terminal that reads, obtains the fault data in the current storage system of this described designated terminal that reads.
104, according to the fault data in the partition table of the storage system of the described designated terminal of described fault data and local storage and current storage system that partition data is repaired described designated terminal.
Preferably, the fault data in the partition table of the storage system of described described designated terminal according to described fault data and local storage and the current storage system that partition data is repaired described designated terminal comprises:
According to the fault data in the storage system of described this described designated terminal that reads of diagnosing out, search corresponding repair data in this locality;
The repair data of the described this locality storage that finds is sent to described designated terminal, make described designated terminal upgrade partition table and the partition data of the storage system of self with described repair data, to recover the current storage system of described designated terminal.
the technical scheme that provides by the present embodiment, partition table and the partition data of the storage system of storage designated terminal, when the storage system of described designated terminal breaks down, the partition table of storage system of the designated terminal by storage and the storage system that partition data recovers described designated terminal, due to the terminal room the transmission of data by two same model of use, back up the data of the other side's storage system, and when the storage system of one of them terminal breaks down, another terminal of storage system that can be by storing this terminal is recovered storage system, thereby can not need use professional flashburn tools just can repair terminal, common mobile terminal user just can realize reparation to the terminal storage system by simple operations, thereby problem is recovered by the system that has solved mobile terminal.
A kind of method of recovering storage system is provided in the present embodiment, pass through with USB, that 2 mobile terminal devices are interconnected in the present embodiment, form a pair of master-slave equipment, in the present embodiment, the master control mobile terminal is first terminal, be the second terminal from mobile terminal, the second terminal and the designated terminal in above-described embodiment related in the present embodiment are similar.The master control mobile terminal device connects carrying out mirror back-up, recovery, diagnosis and reparation from mobile terminal device by USB.Wherein mobile terminal can be the electronic products such as panel computer, mobile phone, and this present embodiment is not specifically limited.
Concrete referring to Fig. 2, the method for a kind of recovery system that provides in the present embodiment comprises:
201, first terminal is connected by USB with the second terminal, and first terminal obtains partition table and the partition data of the storage system of the second terminal, and stores partition table and the partition data of the storage system of the second terminal.
In the present embodiment, first terminal and the second terminal belong to type of the same race, and the systematic parameter that they are supported is the same, when first terminal is connected by USB with the second terminal, can carry out reading of data between two equipment.Wherein, data transmission procedure and the prior art of two terminals of specific implementation are similar, and the present embodiment does not repeat them here.
In the present embodiment, when the system failure appears in the second terminal, in order to realize that the system of the second terminal of breaking down is recovered, the system data in the time of at first will obtaining not the breaking down of this second terminal.In this step, after being connected by USB with the second terminal when first terminal, the second terminal starts by button, to self switch to from equipment mode, because the second terminal is connected with first terminal by USB, when the second terminal switched to from equipment mode, first terminal automatically switched to the main equipment pattern.In this step, function key is set on mobile terminal, this function key can realize the switching of the master-slave equipment pattern of first terminal and the second terminal, wherein this button can be a function key that newly increases on mobile terminal, also can carry out function to the existing button of terminal and expand, to realize the switching of first terminal and the second terminal master-slave equipment pattern, the button of concrete extended function can be the numerical key on mobile terminal, volume keys etc. are not specifically limited this present embodiment.
In the present embodiment, concrete first terminal obtains partition table and the partition data of the second terminal, comprising:
At first first terminal obtains the first address at the partition table place of self storage system;
Read the partition table of the storage system of the second terminal by USB, according to the partition table of the storage system of the second terminal, read the partition data of storage system of the second terminal to local.
Get the partition table and partition data of the second terminal at first terminal after, partition table and the partition data of storage the second terminal specifically comprise:
First terminal is with partition table and the partition data of the storage system of the second terminal, begins to upgrade self partition table and partition data from self the partition table first address of storage system, thereby completes first terminal to the mirror image operation of the second terminal.
202, the partition table of the storage system of the second terminal storage first terminal and partition data.
In the present embodiment, not only support the master mobile terminal image copying from the system data of mobile terminal, also support partition table and partition data from the mobile terminal stores master mobile terminal simultaneously.
Concrete, at first first terminal reads partition table and the partition data of the storage system of self, by USB, partition table and the partition data of the storage system of self are passed to the second terminal, after the second terminal receives the partition table and partition data of storage system of first terminal, partition table and partition data with the storage system of first terminal upgrade partition table and the partition data of the storage system of oneself, thereby complete the second terminal to the mirror image operation of first terminal.
The attention of value be, in the present embodiment, first terminal is that master control mobile terminal, the second terminal are for being comparatively speaking from mobile terminal, after two mobile terminals are connected by USB, after the second starting terminal button, the second terminal enters from equipment mode, first terminal enters the main equipment pattern automatically, and is corresponding, when first terminal starts button, at this moment, first terminal is from equipment, and corresponding the second terminal is main equipment, and this present embodiment is not specifically limited.
The explanation of value be, if need to realize that the second terminal is to system's restore funcitons of first terminal, need to carry out this step, the system data of the second terminal image copying first terminal, if but do not need to realize that the second terminal is to system's restore funcitons of first terminal, do not need to carry out this step, it is optional whether carrying out this step in practical operation, and this present embodiment is not specifically limited.
203, when the current storage system of the second terminal breaks down, first terminal is diagnosed the current storage system of the second terminal, obtain the fault data in the current storage system of the second terminal, according to the fault data in the partition table of the storage system of the second terminal of described fault data and local storage and current storage system that partition data is repaired the second terminal.
in the present embodiment, when breaking down, the storage system of the second terminal can affect the normal operation of the second terminal, blue screen appears as the second terminal, or the fault that can't start, start the button on the second terminal this moment, the second terminal is not started from the storage system of Mass storage, start but switch to ROM, the second terminal is connected on the first terminal of normal operation by USB, at this moment, first terminal USB moves with holotype, the second terminal USB is with from mode operation, first terminal is read the Mass storage of the second terminal by USB, and realize mirror back-up with reference to partitioned organization and the partition data of Mass storage of self, diagnosis, further by the second terminal Mass storage being write to realize the reparation of image recovery and storage system.
In the present embodiment, concrete first terminal is diagnosed the storage system of the second terminal, and the fault data in the storage system of acquisition the second terminal comprises:
First terminal reads partition table and the partition data of the storage system of described the second terminal by USB;
First terminal is according to partition table and the partition data of the storage system of described second terminal of this locality storage, partition table and partition data to the current storage system of this described the second terminal of obtaining are diagnosed, and obtain the fault data in the current storage system of described the second terminal.
In this step preferably, first terminal is according to partition table and the partition data of the storage system of described second terminal of this locality storage, storage system to this described the second terminal of obtaining is diagnosed, and obtains the fault data in the current storage system of described the second terminal, comprising:
First terminal is according to partition table and the partition data of the storage system of described second terminal of this locality storage, subregion without file system on the current storage system of this described the second terminal of obtaining is carried out the scale-of-two diagnosis, there is the subregion of file system to carry out the file system level diagnosis on current storage system to this described the second terminal of obtaining, obtains the fault data in the current storage system of this described the second terminal of obtaining.
In this step, after fault data in the storage system that obtains the second terminal, storage system to the second terminal is repaired, wherein concrete first terminal is according to partition table and the partition data of the storage system of the second terminal of fault data and local storage, repair the fault data in the storage system of the second terminal
Comprise: according to the fault data in the current storage system of described the second terminal of diagnosing out, search corresponding repair data in this locality;
The repair data of the described this locality storage that finds is sent to described the second terminal, make described the second terminal upgrade partition table and the partition data of the storage system of self with described repair data, to recover the current storage system of described the second terminal.
in the present embodiment, when the terminal that breaks down is first terminal, start the button on first terminal, first terminal is not started from Mass storage, start but switch to ROM, first terminal is connected on the second terminal of normal operation by USB, at this moment, the second terminal USB moves with holotype, first terminal USB is with from mode operation, the second terminal is read the Mass storage of first terminal by USB, and realize mirror back-up with reference to self partitioned organization and partition data, diagnosis, further by first terminal Mass storage is write to realize image recovery and system's reparation.Concrete, the second terminal is recovered method and the first terminal of storage system of described first terminal according to the partition table of the storage system of first terminal and partition data similar according to the method for the storage system of the partition table of the storage system of described the second terminal and described the second terminal of partition data recovery, just carry out subject and mutually change, this present embodiment is repeated no more.
In order to make those skilled in the art more clearly understand the technical scheme that the present embodiment provides, now be exemplified below, as shown in Figure 5:
2 station terminal device A and B are arranged, start by button, B is switched to from equipment mode, and be connected with A by USB, at this moment, A automatically switches to main equipment, main equipment A is by USB, will be from partition table and the partition information on equipment B, backup in the storer of main equipment A with the form of file.when going wrong from the equipment B system, in the time of can't normally starting, start by button, B is switched to from equipment mode, and be connected with A by USB, at this moment, A automatically switches to main equipment, main equipment A reads partition table information and partition data from equipment B by USB, partition table information and partition data that comparison is retained on main equipment A are diagnosed, subregion without file system is carried out the scale-of-two diagnosis, carry out the file system level diagnosis for the subregion that file system is arranged, the data of required modification after main equipment A will diagnose, send to from equipment B by USB, after receiving diagnostic data from equipment B, diagnose modification, diagnosis is completed.
In the present embodiment, first terminal be connected terminal and connect by USB, carry out the mirror back-up of data, but be not limited to USB connected mode in the present embodiment, also can connect by bluetooth, can be also that other data transfer mode connects, and this present embodiment is not specifically limited.
the technical scheme that provides by the present embodiment, partition table and the partition data of the storage system of storage designated terminal, when the storage system of described designated terminal breaks down, the partition table of storage system of the designated terminal by storage and the storage system that partition data recovers described designated terminal, due to the terminal room the transmission of data by two same model of use, back up the data of the other side's storage system, and when the storage system of one of them terminal breaks down, another terminal of storage system that can be by storing this terminal is recovered storage system, thereby can not need use professional flashburn tools just can repair terminal, common mobile terminal user just can realize reparation to the terminal storage system by simple operations, thereby problem is recovered by the system that has solved mobile terminal.
Referring to Fig. 3, a kind of device that recovers storage system is provided in the present embodiment, comprising: data acquisition module 301, data memory module 302, fault diagnosis module 303 and fault recovery module 304.
Data acquisition module 301 is for partition table and the partition data of the storage system of obtaining designated terminal;
Data memory module 302 is used for storing partition table and the partition data of the storage system of the described designated terminal that described data acquisition module 301 obtains;
Fault diagnosis module 303 is used for when the current storage system of described designated terminal breaks down, the current storage system of described designated terminal being diagnosed the fault data in the current storage system of the described designated terminal of acquisition;
Fault recovery module 304, be used for storing partition table and the partition data of the storage system of the 302 described designated terminals of storing according to fault data and described data memory module that described fault diagnosis module 303 obtains, the fault data in the current storage system of the described designated terminal of reparation.
Referring to Fig. 4, preferably, described data acquisition module 301 comprises:
The first reading unit 301a is for read the partition table of the storage system of designated terminal by general-purpose serial bus USB;
The second reading unit 301b, the partition table that is used for the storage system of the described designated terminal that reads according to described the first reading unit 301a reads the partition data of the storage system of described designated terminal.
Referring to Fig. 4, alternatively, described device also comprises:
Data transmission blocks 305, after partition table and partition data for the storage system of storing designated terminals at described data memory module 302, send partition table and the partition data of the storage system of this locality to described designated terminal, make described designated terminal upgrade partition table and the partition data of the storage system of self with the partition table that receives and partition data.
Referring to Fig. 4, preferably, described fault diagnosis module 303 comprises:
Third reading is got unit 303a, is used for reading by USB partition table and the partition data of the current storage system of described designated terminal;
Failure diagnosis unit 303b, be used for partition table and partition data according to the storage system of the described designated terminal of described data memory module 302 storages, described third reading is got partition table and the partition data of the current storage system of the designated terminal that unit 303a reads and diagnose, obtain the fault data in the current storage system of described designated terminal.
Preferably, described failure diagnosis unit specifically is used for:
Partition table and partition data according to the storage system of described second terminal of described data memory module 302 storages, subregion without file system on the current storage system of described the second terminal that reads is carried out the scale-of-two diagnosis, there is the subregion of file system to carry out the file system level diagnosis, the partition table of the current storage system of the described designated terminal of acquisition and the fault data in partition data on current storage system to the described described designated terminal that reads.
Preferably, fault recovery module 304 comprises:
Repair data acquiring unit 304a is used for the fault data according to the described designated terminal of described fault diagnosis module 303 acquisitions, searches corresponding repair data in described data memory module 302;
Repair data transmitting element 304b, the repair data that the described data memory module 302 that is used for that described repair data acquiring unit is found is stored sends to described designated terminal, partition table and the partition data of the current storage system of renewal self after making described designated terminal with described repair data are to recover the current storage system of described designated terminal.
On the other hand, also provide a kind of terminal in the present embodiment, described terminal comprises the device of recovery storage system as above.
In order to make those skilled in the art more clearly understand the technical scheme that the present embodiment provides, now be exemplified below, referring to Fig. 5:
2 station terminal device A and B are arranged, and the critical piece of two equipment comprises respectively CPU(Central Processing Unit, central processing unit), ROM((Read-Only Memory, ROM (read-only memory)), Mass storage and USB interface hardware.Start by button, B is switched to from equipment mode, and be connected with A by USB, at this moment, A automatically switches to main equipment, and main equipment A is by USB, will be from partition table and the partition information on equipment B, backup in the storer of main equipment with the form of file.when going wrong from the equipment B system, in the time of can't normally starting, start by button, B is switched to from equipment mode, and be connected with A by USB, at this moment, A automatically switches to main equipment, main equipment A reads partition table information and partition data from equipment B by USB, partition table information and partition data that comparison is retained on main equipment A are diagnosed, subregion without file system is carried out the scale-of-two diagnosis, carry out the file system level diagnosis for the subregion that file system is arranged, the data of required modification after main equipment A will diagnose, send to from equipment B by USB, after receiving diagnostic data from equipment B, diagnose modification, diagnosis is completed.
the technical scheme that provides by the present embodiment, partition table and the partition data of the storage system of storage designated terminal, when the storage system of described designated terminal breaks down, the partition table of storage system of the designated terminal by storage and the storage system that partition data recovers described designated terminal, due to the terminal room the transmission of data by two same model of use, back up the data of the other side's storage system, and when the storage system of one of them terminal breaks down, another terminal of storage system that can be by storing this terminal is recovered storage system, thereby can not need use professional flashburn tools just can repair terminal, common mobile terminal user just can realize reparation to the terminal storage system by simple operations, thereby problem is recovered by the system that has solved mobile terminal.
The device that the present embodiment provides specifically can belong to same design with embodiment of the method, and its specific implementation process sees embodiment of the method for details, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the relevant hardware of instruction to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (14)

1. a method of recovering storage system, is characterized in that, described method comprises:
Obtain partition table and the partition data of the storage system of designated terminal;
Store partition table and the partition data of the storage system of described designated terminal;
When the current storage system of described designated terminal breaks down, the current storage system of described designated terminal is diagnosed the fault data in the current storage system of the described designated terminal of acquisition;
According to partition table and the partition data of the storage system of the described designated terminal of described fault data and described storage, repair the fault data in the current storage system of described designated terminal.
2. method according to claim 1, is characterized in that, described partition table and the partition data that obtains the storage system of designated terminal comprises:
Read the partition table of the storage system of designated terminal by general-purpose serial bus USB;
Read the partition data of the storage system of described designated terminal according to the partition table of the storage system of described designated terminal.
3. method according to claim 1 and 2, is characterized in that, partition table and the partition data of the storage system of the described designated terminal of described storage comprise:
Upgrade partition table and the partition data of the storage system of self this locality with the partition table of the storage system of described designated terminal and partition data.
4. according to claim 1-3 described methods of any one, is characterized in that, after the partition table and partition data of the storage system of the described designated terminal of described storage, also comprises:
Send partition table and the partition data of the storage system of this locality to described designated terminal, make described designated terminal upgrade partition table and the partition data of the storage system of self with the described partition table that receives and partition data.
5. according to claim 1-4 described methods of any one, is characterized in that, described current storage system to described designated terminal is diagnosed, and the fault data in the current storage system of the described designated terminal of acquisition comprises:
Read partition table and the partition data of the current storage system of described designated terminal by USB;
According to partition table and the partition data of the storage system of the described designated terminal of described storage, partition table and the partition data of the current storage system of described designated terminal are diagnosed, obtain the fault data in the current storage system of described designated terminal.
6. method according to claim 5, it is characterized in that, partition table and the partition data of the storage system of described described designated terminal according to described storage, partition table and partition data to the current storage system of described designated terminal are diagnosed, obtain the fault data in the current storage system of described designated terminal, comprising:
Partition table and partition data according to the storage system of the described designated terminal of this locality storage, subregion without file system on the current storage system of described designated terminal is carried out the scale-of-two diagnosis, there is the subregion of file system to carry out the file system level diagnosis, the fault data in the current storage system of the described designated terminal of acquisition on current storage system to described designated terminal.
7. according to claim 1-6 described methods of any one, it is characterized in that, described according to partition table and the partition data of described fault data with the storage system of the described designated terminal of local storage, the fault data in the current storage system of the described designated terminal of reparation comprises:
According to the fault data in the current storage system of the described described designated terminal of diagnosing out, search corresponding repair data in this locality;
The repair data of the described this locality storage that finds is sent to described designated terminal, make described designated terminal upgrade partition table and the partition data of the current storage system of self with described repair data, to recover the current storage system of described designated terminal.
8. a device that recovers storage system, is characterized in that, described device comprises:
Data acquisition module is for partition table and the partition data of the storage system of obtaining designated terminal;
Data memory module is used for storing partition table and the partition data of the storage system of the described designated terminal that described data acquisition module obtains;
Fault diagnosis module is used for when the current storage system of described designated terminal breaks down, the current storage system of described designated terminal being diagnosed the fault data in the current storage system of the described designated terminal of acquisition;
The fault recovery module, partition table and the partition data of storage system that is used for the described designated terminal of the fault data that obtains according to described fault diagnosis module and the storage of described data memory module repaired the fault data in the current storage system of described designated terminal.
9. device according to claim 8, is characterized in that, described data acquisition module comprises:
The first reading unit is for read the partition table of the storage system of designated terminal by general-purpose serial bus USB;
The second reading unit, the partition table that is used for the storage system of the described designated terminal that reads according to described the first reading unit reads the partition data of the storage system of described designated terminal.
10. according to claim 8 or 9 described devices, is characterized in that, described data memory module specifically is used for:
The partition table of the storage system of the described designated terminal that obtains with described data acquisition module and partition data upgrade partition table and the partition data of the storage system of self this locality.
11. according to claim 8-10 described devices of any one is characterized in that, described device also comprises:
Data transmission blocks, after partition table and partition data for the storage system of storing described designated terminal at described data memory module, send partition table and the partition data of the storage system of this locality to described designated terminal, make described designated terminal upgrade partition table and the partition data of the storage system of self with the partition table that receives and partition data.
12. according to claim 8-11 described devices of any one is characterized in that, described fault diagnosis module comprises:
Third reading is got the unit, is used for reading by USB partition table and the partition data of the current storage system of described designated terminal;
Failure diagnosis unit, be used for partition table and partition data according to the storage system of the described designated terminal of described data memory module storage, described third reading is got partition table and the partition data of the current storage system of the described designated terminal that reads the unit and diagnose, the fault data in the current storage system of the described designated terminal of acquisition.
13. device according to claim 12 is characterized in that, described failure diagnosis unit specifically is used for:
Partition table and partition data according to the storage system of the described designated terminal of described data memory module storage, subregion without file system on the current storage system of the described described designated terminal that reads is carried out the scale-of-two diagnosis, there is the subregion of file system to carry out the file system level diagnosis, the fault data in the current storage system of the described designated terminal of acquisition on current storage system to the described described designated terminal that reads.
14. according to claim 8-13 described devices of any one is characterized in that, described fault recovery module comprises:
The repair data acquiring unit is used for the current fault data of described designated terminal according to described fault diagnosis module acquisition, searches corresponding repair data in described data memory module;
The repair data transmitting element, be used for the repair data that the described data memory module that described repair data acquiring unit finds is stored is sent to described designated terminal, partition table and the partition data of the current storage system of renewal self after making described designated terminal with described repair data are to recover the current storage system of described designated terminal.
CN201210133431.6A 2012-05-02 The method and apparatus recovering storage system Active CN103383656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210133431.6A CN103383656B (en) 2012-05-02 The method and apparatus recovering storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210133431.6A CN103383656B (en) 2012-05-02 The method and apparatus recovering storage system

Publications (2)

Publication Number Publication Date
CN103383656A true CN103383656A (en) 2013-11-06
CN103383656B CN103383656B (en) 2016-11-30

Family

ID=

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016172883A1 (en) * 2015-04-29 2016-11-03 华为技术有限公司 Data recovery method, device and terminal
CN110502386A (en) * 2019-08-30 2019-11-26 西安易朴通讯技术有限公司 The on-line fault diagnosis method and apparatus of hard disk

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112134A1 (en) * 2000-12-21 2002-08-15 Ohran Richard S. Incrementally restoring a mass storage device to a prior state
CN1506813A (en) * 2002-10-21 2004-06-23 Reliably and safelf refreshing and recovering firmware from large scale memory equipment
CN101534958A (en) * 2006-09-27 2009-09-16 瓦卢瓦有限合伙公司 Fluid product dispensing device
CN201534958U (en) * 2009-07-10 2010-07-28 邯郸中铁桥梁机械有限公司 Rotating mechanism for segment girder bridge erection machine
CN101980484A (en) * 2010-10-14 2011-02-23 中兴通讯股份有限公司 Method and system for realizing full protection of routers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112134A1 (en) * 2000-12-21 2002-08-15 Ohran Richard S. Incrementally restoring a mass storage device to a prior state
CN1506813A (en) * 2002-10-21 2004-06-23 Reliably and safelf refreshing and recovering firmware from large scale memory equipment
CN101534958A (en) * 2006-09-27 2009-09-16 瓦卢瓦有限合伙公司 Fluid product dispensing device
CN201534958U (en) * 2009-07-10 2010-07-28 邯郸中铁桥梁机械有限公司 Rotating mechanism for segment girder bridge erection machine
CN101980484A (en) * 2010-10-14 2011-02-23 中兴通讯股份有限公司 Method and system for realizing full protection of routers

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016172883A1 (en) * 2015-04-29 2016-11-03 华为技术有限公司 Data recovery method, device and terminal
CN110502386A (en) * 2019-08-30 2019-11-26 西安易朴通讯技术有限公司 The on-line fault diagnosis method and apparatus of hard disk
CN110502386B (en) * 2019-08-30 2023-08-22 西安易朴通讯技术有限公司 Method and device for diagnosing faults of hard disk on line

Similar Documents

Publication Publication Date Title
CN103164295B (en) Enterprise information technology (IT) business virtualization disaster recovery method based on zettabyte file system (ZFS) and kernel-based virtual machine (KVM) kernel virtual underlying system
CN104216796B (en) A kind of data backup, restoration methods and electronic equipment
CN102567135B (en) Refreshing/recovering method and electronic equipment
CN104268033A (en) Storage method of terminal data, and method and device for restoring default settings of terminal
CN102945192A (en) Data backup and recovery method and intelligent mobile terminal
CN103139033B (en) Single main communications control bus main equipment redundancy switching method
CN104220958A (en) Computer device and method for converting working mode of universal serial bus connector of the computer device
CN104516796A (en) Command set based network element backup and recovery method and device
CN102880530B (en) Terminal and terminal backup and restoration methods
CN105573872B (en) The HD management method and apparatus of data-storage system
CN102457400B (en) Method for preventing split brain phenomenon from occurring on distributed replicated block device (DRBD) resource
CN109408282B (en) Application program backup recovery method and device and computer readable storage medium
CN101136773B (en) Backup and recovery method of network element configuring data
CN2884752Y (en) Cell phone fittings having functions of data backup, restoring and charing
CN104252366B (en) System recovery method, device, processor and memory
CN103383656A (en) Method and device for recovering storage system
CN103383656B (en) The method and apparatus recovering storage system
CN111130856A (en) Server configuration method, system, equipment and computer readable storage medium
CN110968456A (en) Method and device for processing fault disk in distributed storage system
CN101738980A (en) Machine tool embedded parameter backup device
WO2016086579A1 (en) Method and device for intelligently backing up and recovering network element data in network management system
CN108319679B (en) Method and device for generating primary key
WO2017023639A1 (en) A sd card based rtu
CN106168784B (en) A kind of protective relaying device operation change processing method and control device
CN109697110B (en) Transaction coordination processing system, method and device and electronic equipment

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
TR01 Transfer of patent right

Effective date of registration: 20171101

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder