CN108052342A - Partition table restorative procedure, device and electronic equipment - Google Patents
Partition table restorative procedure, device and electronic equipment Download PDFInfo
- Publication number
- CN108052342A CN108052342A CN201711323560.0A CN201711323560A CN108052342A CN 108052342 A CN108052342 A CN 108052342A CN 201711323560 A CN201711323560 A CN 201711323560A CN 108052342 A CN108052342 A CN 108052342A
- Authority
- CN
- China
- Prior art keywords
- partition
- subregion
- data
- storage medium
- partition data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
Abstract
The embodiment of the invention discloses a kind of partition table restorative procedure, device and electronic equipment, wherein, the described method includes:The partition data of storage medium is read, the partition data includes:The partition table data for the storage medium generate on the specified region of the storage medium after multidomain treat-ment, the partition data is subjected to format conversion processing, obtain file destination, the file destination is encoded to and is repaired in bootstrap, and add partition table reparation instruction in the reparation bootstrap, wherein, the partition table reparation instruction is performed, it can be triggered according to the file destination and partition table repair process is carried out to the storage medium, can quickly and easily realize the reparation of partition table.
Description
Technical field
The present invention relates to a kind of mobile communication technology more particularly to partition table restorative procedure, device and electronic equipments.
Background technology
With the fast development of embedded product, the various storage mediums for storing data also occur therewith, such as a kind of
Flash storage medium (Nor And Flash, NAND Flash), high-performance are from the flash storage medium of tape controller
(Embedded Multi Media Card, eMMC Flash) or general flash storage medium (Universal Flash
Storage, UFS), for the ease of the write-in and reading of data file, storage medium is usually divided into multiple subregion table sections,
Then the establishment file system in each subregion table section again, and data file is write, and then can be read in subregion table section
Take data file.
, it is necessary to be carried out to partition table under the scenes such as the file system update upgrading or partition table failure of storage medium
It repairs, it is necessary to could realize the reparation to partition table using electric power tool progress circuit operation in practical application, for example, it is desired to
It will be taken off using electric iron or heat gun on the pcb board of storage medium slave device, then using CD writers to storage medium
Particle programming again, to realize the reparation to partition table.As it can be seen that the method for above-mentioned partition table reparation is complicated for operation and time-consuming.
The content of the invention
The present invention provides a kind of partition table restorative procedure, device and electronic equipment, can quickly and easily realize partition table
Reparation.
In a first aspect, an embodiment of the present invention provides a kind of partition table restorative procedure, including:Read the subregion of storage medium
Data, the partition data include:To what is generated after storage medium progress multidomain treat-ment on the specified region of the storage medium
The partition data is carried out format conversion processing, obtains file destination, which is encoded to reparation draws by partition table data
In helical pitch sequence, and partition table reparation instruction is added in the reparation bootstrap.
Wherein, partition table reparation instruction carries out partition table repair process, the partition table for triggering to the storage medium
Repair process is carried out according to the file destination.
In the technical solution, partition data can be carried out format conversion processing by electronic equipment, file destination be obtained, by mesh
Document No. is marked into reparation bootstrap, and repairs and partition table reparation instruction is added in bootstrap, to refer in the reparation
Order is performed, and can quickly and easily realize the reparation of partition table.
As an alternative embodiment, the partition data of the storage medium is binary data, based on default two
Binary data is converted to the transformation rule of text file, carries out format conversion processing to the partition data, obtains the partition data
Text file, using the text file of the partition data as the file destination.
In the technical solution, the binary file of the partition data can be carried out format conversion processing by electronic equipment, be obtained
To the text file of the partition data, repair in bootstrap, carry so as to which the text file of the partition data is encoded to
Height compiles the efficiency of the reparation bootstrap.
As an alternative embodiment, this specifies region to include the first subregion table section and the second subregion table section,
The concrete mode of the partition data of above-mentioned reading storage medium includes:The first partition data of the first subregion table section is read,
The storage location information of second subregion table section on the storage medium is determined according to first partition data, according to the storage
Location information finds the second subregion table section, reads the second partition data of the second subregion table section.
In the technical solution, due to the related letter of other subregion table sections of the zoned data-recording of the first subregion table section
Breath, therefore the entrance into other subregion table sections is equivalent in the first subregion table section, electronic equipment can be according to first point
Area's data rapidly read the partition data of other subregion table sections.
As an alternative embodiment, first partition data includes the partition table class of the second subregion table section
Type, the above-mentioned tool that the storage location information of the second subregion table section on the storage medium is determined according to first partition data
Body mode includes:Second number of partitions in the second subregion table section is determined according to the partition table type of the second subregion table section
According to form, which is obtained according to the form of second partition data
Information.
In the technical solution, the subregion for the second subregion table section that electronic equipment can include according to the first partition data
Type determines the form of the second partition data, and then the storage of the second subregion table section is obtained according to the form of the second partition data
Location information, so as to rapidly find the second partition data.
As an alternative embodiment, above-mentioned reparation bootstrap includes the first sector array and the second sector number
Group, above-mentioned be encoded to the file destination are repaired in bootstrap, including:The first object document No. is loaded into the first fan
In area's array, second file destination coding is loaded into the second sector array, to perform partition table reparation instruction
When, partition table repair process is carried out to the storage medium according to the first sector array and the second sector array.
In the technical solution, the first object file, the second file destination can be separately encoded and are loaded by electronic equipment
In first sector array, in the second sector array, so as to perform the partition table reparation instruction when, according to the first sector array
And second sector array can rapidly to the storage medium carry out partition table repair process.
Second aspect, an embodiment of the present invention provides another partition table restorative procedure, including:If detect needs pair
Partition table on storage medium is repaired, and performs the partition table reparation instruction repaired in bootstrap, which is guided journey
File destination in sequence carries out format conversion processing, obtains partition data, and the file destination to the storage medium by carrying out subregion
Processing, the partition data generated on the specified region of the storage medium row format conversion processing of going forward side by side is obtained, by the subregion
Data are stored into the specified region on the storage medium, to complete the repair process to the partition table of the storage medium.
In the technical solution, if necessary to be repaired to the partition table on storage medium, electronic equipment can be performed and repaiied
The file destination repaired in bootstrap is carried out format conversion processing, obtained by the partition table reparation instruction in multiple bootstrap
Partition data by partition data covering storage into the specified region on storage medium, need not be handled hardware circuit,
The reparation of partition table can be realized by repairing bootstrap, can more rapidly and easily realize the reparation of partition table.In addition,
It only needs to handle subregion table section, therefore does not interfere with the data area beyond subregion table section.
As an alternative embodiment, the partition data includes the first partition data and the second partition data, this refers to
Determining region includes the first subregion table section and the second subregion table section, above-mentioned to store the partition data onto the storage medium
The concrete mode in region is specified to include:The first subregion table section and second partition table are determined according to first partition data
According to the storage location information of the first subregion table section, which is arrived for the storage location information in region
First subregion table section, according to the storage location information of the second subregion table section, by second partition data storage to second
Subregion table section.
In the technical solution, electronic equipment can be determined according to first partition data the first subregion table section and this
The storage location information of two subregion table sections, according to the storage location information of the first subregion table section, by first number of partitions
According to covering storage to the first subregion table section, according to the storage location information of the second subregion table section, by second number of partitions
It, can be according to the first partition data rapidly by the first partition data and the second subregion according to covering storage to the second subregion table section
Corresponding subregion table section is recorded in data.
As an alternative embodiment, first partition data includes the partition table class of the second subregion table section
Type, the concrete mode of the above-mentioned storage location information that the second subregion table section is determined according to first partition data include:Root
The form of the second partition data in the second subregion table section is determined according to the partition table type of the second subregion table section, according to
The form of second partition data obtains the storage location information of the second subregion table section on the storage medium.
In the embodiment of the present invention, electronic equipment can be determined according to the partition table type of the second subregion table section this second
The form of the second partition data in subregion table section obtains the second subregion table section according to the form of second partition data
Storage location information on the storage medium, so as to rapidly store the second partition data to the second partition table area
Domain, to complete the reparation to partition table.
The third aspect provides a kind of partition table prosthetic device, which, which has, realizes above-mentioned first party
Face, second aspect, first aspect be possible or the possible realization method of second aspect in behavior function.The function can pass through
Hardware realization can also be performed corresponding software by hardware and be realized.The hardware or software include one or more and above-mentioned work(
It can corresponding module.The module can be software and/or hardware.
Fourth aspect provides a kind of electronic equipment, which includes:Memory, for storing one or more
Program;Processor, for calling the program being stored in the memory, to realize the method for above-mentioned first aspect and second aspect
Scheme in design.
5th aspect, provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey
When sequence is performed by least one processor, it can realize that above-mentioned first aspect, second aspect, first aspect be possible or second party
The possible embodiment in face and advantageous effect.
6th aspect, provides a kind of computer program product, which includes storing computer journey
The non-volatile computer readable storage medium storing program for executing of sequence, the computer program be performed make computer realize above-mentioned first aspect and
The step of method of second aspect, the embodiment and advantageous effect which solves the problems, such as may refer to
State that first aspect, second aspect, first aspect be possible or the embodiment and advantageous effect of the possible method of second aspect,
Overlaps will not be repeated.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to required in the embodiment of the present invention
The attached drawing used illustrates.
Fig. 1 is a kind of flow diagram that back-up processing is carried out to partition data provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram that repair process is carried out to partition table provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of partition table restorative procedure provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of reading instruction for reading partition data provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another partition table restorative procedure provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another partition table restorative procedure provided in an embodiment of the present invention;
Fig. 7 is a kind of structure diagram of partition table prosthetic device provided in an embodiment of the present invention;
Fig. 8 is the structure diagram of another partition table prosthetic device provided in an embodiment of the present invention;
Fig. 9 is the structure diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.
The embodiment of the present invention can be applied to the electronic equipment of any carrying storage medium, such as smart mobile phone (such as Android
Mobile phone, iOS mobile phones, Windows Phone mobile phones etc.), tablet computer, palm PC, laptop, mobile internet device
(Mobile Internet Devices, MID) or Wearable, server etc..
Storage medium in the embodiment of the present invention can be that hard disk, NAND Flash, eMMC Flash or general Flash are deposited
Storage media etc..
In practical application, the method for partition table reparation is complicated for operation, and time-consuming.A kind of partition table is proposed based on this present invention
Partition data on storage medium can be backuped to and repaired in bootstrap, and repaiied by restorative procedure, device and electronic equipment
Partition table reparation instruction is added in multiple bootstrap, when needing to repair the partition table of the storage medium, can be compiled
Bootstrap is repaired, with quick and easily realization partition table reparation.
In one embodiment, which mainly includes two aspects:First aspect is included to the number of partitions
According to the progress back-up processing stage.Second aspect includes carrying out the repair process stage to partition table according to the partition data of backup.
In the back-up processing stage, electronic equipment can read the partition data of storage medium, and partition data is carried out format conversion processing,
File destination is obtained, file destination is encoded to and is repaired in bootstrap, and adds partition table in the reparation bootstrap and repaiies
Multiple instruction.In the repair process stage, the repair process to storage medium is mainly the file system update upgrading in storage medium
Scene under or partition table break down scene under or receive for partition table reparation instruction etc. need repair subregion
Under the scene of table, under these scenes, electronic equipment can compile the reparation bootstrap, to perform in the reparation bootstrap
Partition table reparation instruction, partition table repair process is carried out to the storage medium according to file destination, can quickly and easily
Realize the reparation of partition table.
In one embodiment, it is above-mentioned to partition data carry out back-up processing flow diagram as indicated with 1, such as Fig. 1 institutes
The process that back-up processing is carried out to partition data stated can include:
S101, subregion is carried out to storage medium.
The field to storage medium progress subregion is needed during the embedded product exploitation and generation of storage medium is carried etc.
Under scape, electronic equipment can start baseboard management controller (Baseboard Management Controller, BMC) system,
Partitioning instruction (" fdisk " instruction for being such as used to indicate subregion) is performed in BMC systems, division operation is carried out to storage medium, obtained
To the first subregion table section as shown in Figure 1, the second subregion table section, the 3rd subregion table section.
S102, generation partition data.
Electronic equipment can generate partition data according to the division operation in S101, specified region on a storage medium,
Such as, the first partition data being generated in the first subregion table section shown in Fig. 2, the second subregion table section generates the second partition data,
3rd subregion table section generates the 3rd partition data.
Wherein, the straight line filling region in Fig. 1 in the first subregion table section represents the first partition data stored, second
The grid filling region of subregion table section represents the second partition data of storage, in the oblique line filling region of the 3rd subregion table section
Represent the 3rd partition data of storage.
S103, partition data is read.
Electronic equipment can read on storage medium the partition data of (storage medium under BMC systems), wherein, the number of partitions
According to being all binary file, the first partition data can be named as Sa.bin, the second partition data is named as by electronic equipment
3rd partition data is named as Sc.bin by Sb.bin.
Wherein, the first partition data that the straight line filling region expression in the lower right corner in the BMC systems in Fig. 1 is read,
The second partition data that the expression of grid filling region is read, the 3rd partition data that the expression of oblique line filling region is read.
S104, partition data is encoded to and is repaired in bootstrap, and add partition table reparation instruction.
Electronic equipment may be employed the instruments such as file editor UltraEdit and partition data be converted into text file, will
The text file of partition data is encoded in the sector array repaired in bootstrap (such as bootstrap Bootloader), such as will
The text file of Sa.bin is encoded in the first sector array Sector_0;The text file of Sb.bin is encoded to the second sector
Array Sector_1;The text file of Sc.bin is encoded in the 3rd sector array Sector_2;Electronic equipment can repaiied
The partition table reparation repaired to partition table instruction is added in multiple bootstrap, and (such as bmc_partition_reset is repaiied
Multiple instruction).
Bootstrap is repaired in S105, compiling.
Electronic equipment can compile reparation bootstrap, and the partition table for obtaining carrying partition table repair function repairs firmware,
To complete the backup to partition data (as the storage in Fig. 1 repairs the lower right corner filling region in bootstrap region as backing up
Partition data), electronic equipment can be repaired the partition data backed up in firmware by partition table and realize a key reparation, make partition table
Reparation it is more convenient and intelligent.
In one embodiment, the above-mentioned partition data according to backup carries out partition table the flow diagram of repair process
As shown in Fig. 2, the process that the partition data according to backup as shown in Figure 2 carries out partition table repair process can include:
S201, the reparation instruction of triggering partition table.
Electronic equipment updates the scene that under the scene of upgrading or partition table breaks down in the file system of storage medium
Under or the reparation that receives for partition table instruct etc. and to need under the scene of repairation partition table, partition table reparation can be triggered and referred to
Order.
S202, covering partition holding data.
Electronic equipment can store the partition data covering backed up in reparation bootstrap onto storage medium, i.e. electronics
First partition data can be covered storage into the first subregion table section by equipment;By the second partition data covering storage to second
In subregion table section, to realize quickly and easily the reparation to partition table, the repairation partition table in a manner that covering stores can
To save the memory space of subregion table section.
To sum up, electronic equipment, which can backup to the partition data on storage medium, repairs in bootstrap, and is repairing
Partition table reparation instruction is added in bootstrap, so as to instruct quick and easily realization pair by triggering partition table reparation
Partition table is repaiied, and the reparation for making partition table is more intelligent.
In order to be best understood from a kind of partition table restorative procedure provided in an embodiment of the present invention, device and electronic equipment, below
The partition table restorative procedure of the embodiment of the present invention is first described.
Refer to Fig. 3, Fig. 3 is a kind of flow diagram of partition table restorative procedure provided in an embodiment of the present invention, such as Fig. 3
It is shown the method may include:
S301, the partition data for reading storage medium, the partition data include:After multidomain treat-ment being carried out to the storage medium
The partition data generated on the specified region of the storage medium.
In the embodiment of the present invention, electronic equipment can read the partition data of storage medium, so as to the number of partitions
According to progress back-up processing.
Wherein, electronic equipment can be after the storage medium carries out multidomain treat-ment or to storage medium progress subregion
During processing, the partition data that is generated on the specified region of the storage medium.
Wherein, partition data can include the initial address of subregion table section, end address, subregion table section size,
At least one of the number of sectors of subregion table section, the size of each sector or the type of partition table etc..
Wherein, above-mentioned specified region can refer at least one subregion table section.
As an alternative embodiment, electronic equipment can also carry out following steps before step S301 is performed:
If detecting needs to carry out subregion to storage medium, partitioning instruction is performed, to carry out subregion to storage medium, obtains at least one
A subregion table section, in each partition table Area generation partition data.
For example, if detecting needs to carry out subregion to storage medium, electronic equipment can start BMC systems, by
BMC systems perform partitioning instruction, if fdisk is instructed, to carry out subregion to storage medium, obtain at least one subregion table section,
In each partition table Area generation partition data.
As an alternative embodiment, this specifies region to include the first subregion table section and the second subregion table section,
The concrete mode of the partition data of above-mentioned reading storage medium includes:The first partition data of the first subregion table section is read,
The storage location information of second subregion table section on the storage medium is determined according to first partition data, according to the storage
Location information finds the second subregion table section, reads the second partition data of the second subregion table section.
In the embodiment of the present invention, due to the related letter of other subregion table sections of the zoned data-recording of the first subregion table section
Breath, therefore the entrance into other subregion table sections is equivalent in the first subregion table section.Electronic equipment can read this first
First partition data of subregion table section determines the second subregion table section on the storage medium according to first partition data
Storage location information, according to the storage location information searching to the second subregion table section, read the second subregion table section
The second partition data, the number of partitions of the second subregion table section can be read according to the partition data of the first subregion table section
According to.
Wherein, the partition data of the first subregion table section can include the initial address of the first subregion table section, terminate ground
Location, the size of subregion table section, the number of sectors of subregion table section, in the size of each sector or the type of partition table etc. extremely
Few one kind, can also the initial address including other subregion table sections, end address, the size of subregion table section, partition table area
At least one of the number of sectors in domain, the size of each sector or the type of partition table etc..
As an alternative embodiment, first partition data includes the partition table class of the second subregion table section
Type, the above-mentioned tool that the storage location information of the second subregion table section on the storage medium is determined according to first partition data
Body mode includes:Second number of partitions in the second subregion table section is determined according to the partition table type of the second subregion table section
According to form, which is obtained according to the form of second partition data
Information.
For example, electronic equipment can read the of the first subregion table section under Linux system by reading to instruct
One partition data such as instructs the first partition data for reading the first subregion table section by dd.Electronic equipment can be according to first
Partition data determines the partition table type of the second subregion table section, and e.g., partition table type is disc operating system (Disk
Operating System, DOS) type, can second subregion be determined according to the partition table type of the second subregion table section
The form of the second partition data in table section, can the form of the second partition data of basis obtain the second subregion table section
Storage location information on the storage medium.Since the form of the partition data in the partition table of DOS types is generally first
A character string is used to represent the state of partition table, and second character string is used to represent subregion starting header address, the 3rd character
String is for representing initial sector address, the 4th character string for representing start cylinder address etc., therefore electronic equipment can be with
Second character string read in the partition data in the partition table of DOS types obtains second partition table to the 4th character string
The storage location information in region.
Further, electronic equipment determines the partition table type of the second subregion table section as DOS types, and electronic equipment can
Depositing for second subregion table section is read by instruction as shown in Figure 4 with the partition data form of the partition table according to DOS types
Location information is stored up, reading instruction is corresponding with the form of the partition data of the partition table of DOS types in Fig. 4, wherein, head instruction
" typedef struct dos_partition " expression defines a structure, which is used to read DOS types
The partition data of partition table, first instruction " unsigned char boot_lind " in structure represent to read character type
Partition table state;Article 2 instruction " unsigned char head " represents with reading the subregion starting magnetic head of character type
Location;Article 3 instruction " unsigned char sector " represents to read the initial sector address of character type;Article 4 instructs
" unsigned char cyl " represents to read the start cylinder address of character type.After electronic equipment input above-metioned instruction, Ke Yigen
According to the storage location information for receiving second character string to the 4th character string and determining the second subregion table section.It in addition, should
Structure can also include other instructions, such as read and terminate header address, terminate sevtor address.
In the embodiment of the present invention, due to different subregions table type, the form of partition table data is different, according to partition table number
According to form rapidly get the storage location information of subregion table section.That is, electronic equipment can according to this second
The partition table type of subregion table section determines the form of the second partition data in the second subregion table section, according to this second point
The form of area's data obtains the storage location information of the second subregion table section on the storage medium, so as to according to second
The storage location information of subregion table section rapidly reads the second partition data.
Wherein, the type of above-mentioned partition table can include DOS, multiple access computer (Multi-Access
Computer, MAC), internet operating system (Internet operating system, IOS) or Extensible Firmware Interface
Types such as (Extensible Firmware Interface, EFI).
Wherein, above-mentioned storage location information can refer to the initial address of subregion table section.
As an alternative embodiment, first partition data can also include the second subregion table section start bit
Confidence ceases, which can navigate to the second subregion table section, can be from the second partition table
Read the second partition data in region.
S302, the partition data is subjected to format conversion processing, obtains file destination.
In the embodiment of the present invention, which can be carried out format conversion processing by electronic equipment, obtain file destination,
It is repaired so as to which the file destination is encoded in bootstrap.
It should be noted that electronic equipment can not be formatted the partition data processing, it can be directly by this point
Area's data, which are coded directly onto, repairs in bootstrap.
As an alternative embodiment, above-mentioned file destination includes first object file and the second file destination, electricity
Sub- equipment can perform following steps:First partition data is subjected to format conversion, first object file is obtained, by the second subregion
Data carry out format conversion, the second file destination are obtained, so as to which first object file and the second file destination are encoded to
It repairs in bootstrap.
S303, the file destination is encoded to and is repaired in bootstrap, and partition table is added in the reparation bootstrap
Repair instruction.
In the embodiment of the present invention, which can be encoded to by electronic equipment repairs in bootstrap, and is repaiied at this
Partition table reparation instruction is added in multiple bootstrap, so as to realize a key reparation, i.e. reparation instruction is performed, according to
The file destination triggers the storage medium and carries out partition table repair process, can quickly and easily realize the reparation of partition table.
Wherein, partition table reparation instruction carries out partition table repair process, the partition table for triggering to the storage medium
Repair process is carried out according to the file destination.
Wherein, which can refer to bootstrap Bootloader.
As an alternative embodiment, above-mentioned reparation bootstrap includes the first sector array and the second sector number
Group, above-mentioned be encoded to the file destination are repaired in bootstrap, including:The first object document No. is loaded into the first fan
In area's array, second file destination coding is loaded into the second sector array, to perform partition table reparation instruction
When, partition table repair process is carried out to the storage medium according to the first sector array and the second sector array.
In the embodiment of the present invention, which can be loaded into the first sector array by electronic equipment,
By second file destination coding be loaded into the second sector array, so as to perform the partition table reparation instruction when, according to this
First sector array and the second sector array rapidly can carry out partition table repair process to the storage medium.
For example, electronic equipment the data in first object file can be recorded in the first sector array, can be with
Data in second file destination are recorded in the second sector array, when performing partition table reparation instruction, to incite somebody to action
Data storage is to the first subregion table section in first sector array, by the data storage in the second sector array to the second partition table
Region, so as to rapidly realize the repair process to partition table.
It should be noted that the storage medium can include at least one subregion table section, electronic equipment can be by this extremely
The partition data of certain several or one of subregion table section in a few subregion table section, which is encoded to, to be repaired in bootstrap,
The partition data of all subregion table sections can also be encoded to and repaired in bootstrap.
It should be noted that the private data stored on storage medium can be encoded to reparation bootstrap by electronic equipment
In, it is performed to repair the instruction of the partition table reparation in bootstrap, the recovery to private data can be completed, and then,
It can occur to avoid the event that private data is lost.
In the embodiment of the present invention, partition data can be carried out format conversion processing by electronic equipment, obtain file destination, will
The file destination, which is encoded to, to be repaired in bootstrap, and partition table reparation instruction is added in bootstrap is repaired, so as to this point
Area's table reparation instruction is performed, and partition table repair process is carried out to the storage medium according to file destination triggering, can be fast
Speed and the reparation for easily realizing partition table.
Based on above-mentioned to a kind of description of partition table restorative procedure, the embodiment of the present invention provides another partition table reparation side
Method, refers to Fig. 5, and method as shown in Figure 5 can include:
S501, the partition data for reading storage medium, the partition data include:Multidomain treat-ment is carried out to the storage medium,
The data generated on the specified region of the storage medium, the partition data of the storage medium is binary data.
S502, the transformation rule that text file is converted to based on default binary data carry out lattice to the partition data
Formula conversion processing obtains the text file of the partition data, using the text file of the partition data as the file destination.
It is to use the form of this paper files, electronics due to repairing the instruction in bootstrap in the embodiment of the present invention
The binary file of the partition data can be carried out format conversion processing by equipment, obtain this paper files of the partition data, with
The effect that bootstrap is repaired in compiling can be improved by this paper document No.s of the partition data to repairing in bootstrap
Rate.
It should be noted that the transformation rule that default binary data is converted to text file can refer to electronic equipment
In the rule that carries of document format conversion instrument, rule as entrained by text editor UltraEdit or refer to use
The document format conversion rule of family manual setting, does not limit this.
As an example it is assumed that the storage medium includes three subregion table sections, electronic equipment can read each partition table
The partition data in region, the data of the subregion table section are binary file, are respectively Sa.bin, Sb.bin, Sc.bin e.g.,
The binary file of subregion table section is subjected to format conversion processing using instruments such as text editor UltraEdit, is obtained each
The text file of the partition data of a subregion table section.
S503, the file destination is encoded to and is repaired in bootstrap, and partition table is added in the reparation bootstrap
Repair instruction.
In the embodiment of the present invention, which can be encoded to by electronic equipment repairs in bootstrap, and is repaiied at this
Partition table reparation instruction is added in multiple bootstrap, so as to realize a key reparation, i.e. reparation instruction is performed, according to
The file destination triggers the storage medium and carries out partition table repair process, can quickly and easily realize the reparation of partition table.
For example, electronic equipment can be encoded to reparation guiding with the text file of the partition data of the first subregion table section
In sector_0 arrays in program;The text file of the partition data of second subregion table section is encoded to reparation bootstrap
In sector_1 arrays in;The text file of the partition data of 3rd subregion table section is encoded to and is repaired in bootstrap
In sector_2 arrays.And (such as bmc_partition_reset refers to for addition partition table reparation instruction in bootstrap is repaired
Make), electronic equipment can compile the reparation bootstrap, so as to obtain possessing the firmware of partition table repair function.
In the embodiment of the present invention, the partition data read from storage medium can be carried out format conversion by electronic equipment,
The text file of partition data is obtained, and the text file of partition data is encoded to and is repaired in bootstrap, and is drawn in reparation
Partition table reparation instruction is added in helical pitch sequence, the efficiency that bootstrap is repaired in compiling, partition table reparation instruction quilt can be improved
During execution, it can be triggered according to the file destination and partition table repair process is carried out to the storage medium, it can quickly and easily
Realize the reparation of partition table.
Based on above-mentioned to a kind of description of partition table restorative procedure, the embodiment of the present invention provides another partition table reparation side
Method, refers to Fig. 6, and method as shown in Figure 6 can include:
If S601, detecting and needing to repair the partition table on storage medium, perform and repair in bootstrap
Partition table reparation instructs.
In the embodiment of the present invention, if detecting needs to repair the partition table on storage medium, electronic equipment can
It is instructed with performing the partition table reparation repaired in bootstrap, so as to realize the reparation to partition table.
For example, electronic equipment detects that the file system on storage medium needs to upgrade or detect that partition table occurs
Failure, electronic equipment, which can determine to detect, to be needed to repair the partition table on storage medium, and electronic equipment can compile
Bootstrap is repaired, is instructed with performing the partition table reparation repaired in bootstrap.
It should be noted that electronic equipment receives partition table reparation instruction input by user or detects storage medium
On partition table break down or detect storage medium file system upgrading etc. scenes, electronic equipment can determine to detect
To needing to repair the partition table on storage medium.
S602, the file destination in the reparation bootstrap is subjected to format conversion processing, obtains partition data, the target
For file by carrying out multidomain treat-ment to the storage medium, the partition data generated on the specified region of the storage medium simultaneously carries out lattice
Formula conversion processing is obtained.
In the embodiment of the present invention, electronic equipment can carry out the file destination in the reparation bootstrap at format conversion
Reason, obtains partition data, so as to store the partition data onto storage medium.
For example, the instruments such as text editor UltraEdit may be employed by file destination into row format in electronic equipment
Conversion processing obtains the binary file of partition data.
S603, the partition data is stored into the specified region on the storage medium, to complete to the storage medium
The repair process of partition table.
In the embodiment of the present invention, which can be covered storage to the specified area on the storage medium by electronic equipment
In domain, to complete the repair process to the partition table of the storage medium.
Covering storage in the embodiment of the present invention can refer to data (partition data) to be stored replacing storage medium
On be currently stored in the data of subregion table section.
As an alternative embodiment, the partition data includes the first partition data and the second partition data, this refers to
Determining region includes the first subregion table section and the second subregion table section, above-mentioned to store the partition data onto the storage medium
The concrete mode in region is specified to include:The first subregion table section and second partition table are determined according to first partition data
According to the storage location information of the first subregion table section, which is arrived for the storage location information in region
First subregion table section, according to the storage location information of the second subregion table section, by second partition data storage to second
Subregion table section.
In the embodiment of the present invention, electronic equipment can determine the first subregion table section according to first partition data and should
The storage location information of second subregion table section, according to the storage location information of the first subregion table section, by first subregion
Data are stored to the first subregion table section, according to the storage location information of the second subregion table section, by second partition data
It stores to the second subregion table section, rapidly can be remembered the first partition data and the second partition data according to the first partition data
Record corresponding subregion table section.
As an alternative embodiment, first partition data includes the partition table class of the second subregion table section
Type, the concrete mode of the above-mentioned storage location information that the second subregion table section is determined according to first partition data include:Root
The form of the second partition data in the second subregion table section is determined according to the partition table type of the second subregion table section, according to
The form of second partition data obtains the storage location information of the second subregion table section on the storage medium.
In the embodiment of the present invention, electronic equipment can be determined according to the partition table type of the second subregion table section this second
The form of the second partition data in subregion table section obtains the second subregion table section according to the form of second partition data
Storage location information on the storage medium, so as to rapidly store the second partition data to the second partition table area
The reparation to partition table is completed in domain.
In the embodiment of the present invention, if necessary to be repaired to the partition table on storage medium, electronic equipment can perform
The partition table reparation instruction in bootstrap is repaired, the file destination repaired in bootstrap is subjected to format conversion processing, is obtained
To partition data, by partition data covering storage into the specified region on storage medium, need not be to hardware circuit at
Reason can realize the reparation of partition table by repairing bootstrap, can more rapidly and easily realize the reparation of partition table.Separately
Outside, it is only necessary to subregion table section be handled, therefore do not interfere with the data area beyond subregion table section.
Based on above-mentioned to a kind of description of partition table restorative procedure, the embodiment of the present invention provides a kind of partition table reparation dress
It puts, refers to Fig. 7, device as shown in Figure 7 can include:
Read module 701, for reading the partition data of storage medium, the partition data includes:It is situated between to the storage
Matter carries out the data generated after multidomain treat-ment on the specified region of the storage medium.
Processing module 702 for the partition data to be carried out format conversion processing, obtains file destination.
Coding module 703 is repaired for the file destination to be encoded in bootstrap, and repairs guiding journey described
Partition table reparation instruction is added in sequence;Wherein, partition table reparation instruction repaiies storage medium progress partition table for triggering
Multiple processing, which carried out according to the file destination.
Optionally, the processing module 702, specifically for being converted to turning for text file based on default binary data
Rule is changed, format conversion processing is carried out to the partition data, the text file of the partition data is obtained, by the number of partitions
According to text file as the file destination.
Optionally, the specified region includes the first subregion table section and the second subregion table section;The read module
701, specifically for reading the first partition data of the first subregion table section;According to determining first partition data
The storage location information of second subregion table section on said storage;According to the storage location information searching to described
Two subregion table sections read the second partition data of the second subregion table section.
Optionally, first partition data includes the partition table type of the second subregion table section;The reading mould
Block 701, specifically for determining in the second subregion table section according to the partition table type of the second subregion table section
The form of two partition datas;The second subregion table section is obtained according to the form of second partition data in the storage to be situated between
Storage location information in matter.
Optionally, the reparation bootstrap includes the first sector array and the second sector array;The coding module
703, specifically for the first object document No. is loaded into the first sector array;Second file destination is encoded
It is loaded into the second sector array;So as to when performing partition table reparation instruction, according to first sector array and the
Two sector arrays carry out partition table repair process to the storage medium.
In the embodiment of the present invention, which, which has, realizes that above-mentioned Fig. 1, Fig. 3 and Fig. 5 are corresponded in embodiment
The function for the corresponding steps that electronic equipment performs in partition table restorative procedure.The function can also be led to by hardware realization
It crosses hardware and performs corresponding software realization.The hardware or software include the one or more and corresponding module of above-mentioned function.On
It can be software and/or hardware to state module.
Based on same inventive concept, the principle and advantageous effect solved the problems, such as due to the partition table prosthetic device can join
See the embodiment of partition table restorative procedure described in above-mentioned Fig. 1, Fig. 3 and Fig. 5 and caused advantageous effect, therefore the subregion
The embodiment of table prosthetic device may refer to the embodiment of partition table restorative procedure described in above-mentioned Fig. 1, Fig. 3 and Fig. 5, repeat
Part repeats no more.
Based on above-mentioned to a kind of description of partition table restorative procedure, the embodiment of the present invention provides another partition table reparation dress
It puts, refers to Fig. 8, device as shown in Figure 8 can include:
Execution module 801 if needing to repair the partition table on storage medium for detecting, is performed to repair and drawn
Partition table reparation instruction in helical pitch sequence.
Processing module 802 for the file destination in the reparation bootstrap to be carried out format conversion processing, is divided
Area's data, the file destination are produced by carrying out multidomain treat-ment to the storage medium on the specified region of the storage medium
Raw partition data row format conversion processing of going forward side by side is obtained.
Memory module 803, for storing the partition data into the specified region on the storage medium, to complete
Repair process to the partition table of the storage medium.
Optionally, the partition data includes the first partition data and the second partition data, and the specified region includes the
One subregion table section and the second subregion table section;The memory module 803, specifically for being determined according to first partition data
The storage location information of the first subregion table section and the second subregion table section;According to the first subregion table section
Storage location information, by first partition data storage to the first subregion table section;According to the second subregion table section
Storage location information, by second partition data storage to the second subregion table section.
Optionally, first partition data includes the partition table type of the second subregion table section;The storage mould
Block 803, specifically for determining in the second subregion table section according to the partition table type of the second subregion table section
The form of two partition datas;The second subregion table section is obtained according to the form of second partition data in the storage to be situated between
Storage location information in matter.
In the embodiment of the present invention, which, which has, realizes that above-mentioned Fig. 2 and Fig. 5 corresponds to the subregion in embodiment
The function for the corresponding steps that electronic equipment performs in table restorative procedure.The function can be by hardware realization, can also be by hard
Part performs corresponding software and realizes.The hardware or software include the one or more and corresponding module of above-mentioned function.Above-mentioned mould
Block can be software and/or hardware.
Based on same inventive concept, the principle and advantageous effect solved the problems, such as due to the partition table prosthetic device can join
See the embodiment of partition table restorative procedure described in above-mentioned Fig. 4 and caused advantageous effect, therefore the partition table reparation fills
The embodiment put may refer to the embodiment of partition table restorative procedure described in above-mentioned Fig. 2 and Fig. 5, and it is no longer superfluous to repeat part
It states.
Based on above-mentioned to a kind of description of partition table prosthetic device, the present invention implements to provide a kind of electronic equipment, please join
See Fig. 9, electronic equipment as shown in Figure 9 can include:It is set including processor 901, memory 902, input equipment 903 and output
Standby 904, the processor 901, memory 902, input equipment 903 and output equipment 904 are connected with each other by bus.
Processor 901 can be one or more central processing units (central processing unit, CPU), locate
In the case that reason device 901 is a CPU, which can be monokaryon CPU or multi-core CPU.
It is random access memory (random access memory, RAM) that memory 902, which includes but not limited to, read-only
Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable
Read only memory, EPROM) or portable read-only memory (compact disc read-only memory, CD-
ROM), for storing instruction and data, such as bootstrap is repaired in storage to the memory 902, in addition, memory 902 can be
Refer to storage medium.
Above-mentioned input equipment 903 includes Trackpad, fingerprint and adopts sensor (for gathering the finger print information of user and fingerprint
Directional information), microphone etc., output equipment 904 can include display (LCD etc.) (repairing progress for partition table), raise one's voice
Device etc..
Above-mentioned memory 902 is additionally operable to storage program instruction.Above-mentioned processor 901 can call above-mentioned memory 902 to deposit
The program instruction of storage realizes the partition table restorative procedure as shown in the application the various embodiments described above.
Optionally, the processor 901 in the embodiment of the present invention can realize read module 701 in Fig. 7, processing module
702nd, the function of coding module 703, the embodiment of the present invention do not limit.
Optionally, the processor 901 in the embodiment of the present invention can realize execution module 801, the processing module in Fig. 8
802 function, memory 902 can realize the function of the memory module 803 in Fig. 8, and the embodiment of the present invention does not limit.
Based on same inventive concept, the principle and the method for the present invention that the terminal that is provided in the embodiment of the present invention solves the problems, such as are real
Apply that example is similar, thus the terminal implementation and advantageous effect may refer to above-mentioned each method embodiment, for succinct description, at this
In repeat no more.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, which solves
The embodiment and advantageous effect of problem may refer to the partition table restorative procedure of above-mentioned Fig. 1, Fig. 2, Fig. 3, Fig. 5 and Fig. 6
Embodiment and advantageous effect, overlaps will not be repeated.
The present invention implements to additionally provide a kind of computer program product, which includes storing computer
The non-volatile computer readable storage medium storing program for executing of program, the computer program be performed make computer perform above-mentioned Fig. 1, Fig. 2,
Fig. 3, Fig. 5 and Fig. 6 correspond to the step of partition table restorative procedure in embodiment, the implementation which solves the problems, such as
Mode and advantageous effect may refer to the embodiment of the partition table restorative procedure of above-mentioned Fig. 1, Fig. 2, Fig. 3, Fig. 5 and Fig. 6 with
And advantageous effect, overlaps will not be repeated.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, above-mentioned program can be stored in computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.
Claims (19)
1. a kind of partition table restorative procedure, which is characterized in that including:
The partition data of storage medium is read, the partition data includes:To the storage medium carry out multidomain treat-ment after in institute
State the partition table data generated on the specified region of storage medium;
The partition data is subjected to format conversion processing, obtains file destination;
The file destination is encoded to and is repaired in bootstrap, and addition partition table reparation refers in the reparation bootstrap
Order;Wherein, the partition table reparation instruction carries out partition table repair process, the partition table for triggering to the storage medium
Repair process is carried out according to the file destination.
2. according to the method described in claim 1, it is characterized in that, the partition data of the storage medium be binary data,
It is described that the partition data is subjected to format conversion processing, file destination is obtained, including:
The transformation rule of text file is converted to based on default binary data, the partition data is carried out at format conversion
Reason, obtains the text file of the partition data, using the text file of the partition data as the file destination.
3. method according to claim 1 or 2, which is characterized in that the specified region include the first subregion table section and
Second subregion table section, the partition data for reading storage medium, including:
Read the first partition data of the first subregion table section;
The storage location information of the second subregion table section on said storage is determined according to first partition data;
According to the storage location information searching to the second subregion table section, the second of the second subregion table section is read
Partition data.
4. according to the method described in claim 3, it is characterized in that, first partition data includes the second partition table area
The partition table type in domain, it is described that the second subregion table section is determined on said storage according to first partition data
Storage location information, including:
The second partition data in the second subregion table section is determined according to the partition table type of the second subregion table section
Form;
The storage position of the second subregion table section on said storage is obtained according to the form of second partition data
Confidence ceases.
5. according to the method described in claim 4, it is characterized in that, it is described reparation bootstrap include the first sector array and
Second sector array, described be encoded to the file destination are repaired in bootstrap, including:
The first object document No. is loaded into the first sector array;
Second file destination coding is loaded into the second sector array;To perform the partition table reparation instruction
When, partition table repair process is carried out to the storage medium according to first sector array and the second sector array.
6. a kind of partition table restorative procedure, which is characterized in that including:
If detecting needs to repair the partition table on storage medium, the partition table reparation repaired in bootstrap is performed
Instruction;
File destination in the reparation bootstrap is subjected to format conversion processing, obtains partition data, the file destination
By carrying out multidomain treat-ment to the storage medium, the partition data generated on the specified region of the storage medium simultaneously carries out lattice
Formula conversion processing is obtained;
By partition data storage into the specified region on the storage medium, to complete the subregion to the storage medium
The repair process of table.
7. according to the method described in claim 6, it is characterized in that, the partition data includes the first partition data and second point
Area's data, the specified region include the first subregion table section and the second subregion table section;It is described to store the partition data
In specified region on to the storage medium, including:
The storage location of the first subregion table section and the second subregion table section is determined according to first partition data
Information;
According to the storage location information of the first subregion table section, by first partition data storage to the first partition table area
Domain;
According to the storage location information of the second subregion table section, by second partition data storage to the second partition table area
Domain.
8. the method according to the description of claim 7 is characterized in that first partition data includes the second partition table area
The partition table type in domain, the storage location information that the second subregion table section is determined according to first partition data,
Including:
The second partition data in the second subregion table section is determined according to the partition table type of the second subregion table section
Form;
The storage position of the second subregion table section on said storage is obtained according to the form of second partition data
Confidence ceases.
9. a kind of partition table prosthetic device, which is characterized in that including:
Read module, for reading the partition data of storage medium, the partition data includes:The storage medium is divided
The partition table data generated after area's processing on the specified region of the storage medium;
Processing module for the partition data to be carried out format conversion processing, obtains file destination;
Coding module is repaired for the file destination to be encoded in bootstrap, and is added in the reparation bootstrap
Partition table reparation is added to instruct;Wherein, the partition table reparation instruction carries out partition table reparation for triggering to the storage medium
Processing, the partition table repair process is carried out according to the file destination.
10. device according to claim 9, which is characterized in that
The processing module, specifically for being converted to the transformation rule of text file based on default binary data, to described
Partition data carries out format conversion processing, the text file of the partition data is obtained, by the text file of the partition data
As the file destination.
11. the device according to claim 9 or 10, which is characterized in that
The specified region includes the first subregion table section and the second subregion table section;
The read module, specifically for reading the first partition data of the first subregion table section;According to described first point
Area's data determine the storage location information of the second subregion table section on said storage;Believed according to the storage location
Breath finds the second subregion table section, reads the second partition data of the second subregion table section.
12. according to the devices described in claim 11, which is characterized in that
First partition data includes the partition table type of the second subregion table section;
The read module, specifically for determining second partition table according to the partition table type of the second subregion table section
The form of the second partition data in region;The second subregion table section is obtained according to the form of second partition data to exist
Storage location information on the storage medium.
13. device according to claim 12, which is characterized in that
The reparation bootstrap includes the first sector array and the second sector array;
The coding module, specifically for the first object document No. is loaded into the first sector array;By described
Two file destinations coding is loaded into the second sector array;So as to when performing partition table reparation instruction, according to described the
One sector array and the second sector array carry out partition table repair process to the storage medium.
14. a kind of partition table prosthetic device, which is characterized in that including:
Execution module if needing to repair the partition table on storage medium for detecting, performs and repairs bootstrap
In partition table reparation instruction;
Processing module for the file destination in the reparation bootstrap to be carried out format conversion processing, obtains partition data,
The file destination to the storage medium by carrying out multidomain treat-ment, the subregion generated on the specified region of the storage medium
Data row format conversion processing of going forward side by side is obtained;
Memory module, for storing the partition data into the specified region on the storage medium, to complete to described
The repair process of the partition table of storage medium.
15. device according to claim 14, which is characterized in that
The partition data includes the first partition data and the second partition data, and the specified region includes the first subregion table section
And the second subregion table section;
The memory module, specifically for determining the first subregion table section and described second according to first partition data
The storage location information of subregion table section;According to the storage location information of the first subregion table section, by first subregion
Data are stored to the first subregion table section;According to the storage location information of the second subregion table section, by second subregion
Data are stored to the second subregion table section.
16. device according to claim 15, which is characterized in that
First partition data includes the partition table type of the second subregion table section;
The memory module, specifically for determining second partition table according to the partition table type of the second subregion table section
The form of the second partition data in region;The second subregion table section is obtained according to the form of second partition data to exist
Storage location information on the storage medium.
17. a kind of electronic equipment, the electronic equipment includes at least one processor, memory and is stored on the memory
And the instruction that can be performed by least one processor, which is characterized in that at least one processor performs described instruction,
The step of to realize partition table restorative procedure described in any item of the claim 1 to 8.
18. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor perform such as right when being executed by a processor
It is required that the step of partition table restorative procedure any one of 1 to 8.
19. a kind of computer program product, which is characterized in that the computer program product includes storing computer program
Non-volatile computer readable storage medium storing program for executing, the computer program, which is performed, to be made to appoint in computer realization claim 1 to 8
The step of partition table restorative procedure described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711323560.0A CN108052342A (en) | 2017-12-12 | 2017-12-12 | Partition table restorative procedure, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711323560.0A CN108052342A (en) | 2017-12-12 | 2017-12-12 | Partition table restorative procedure, device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108052342A true CN108052342A (en) | 2018-05-18 |
Family
ID=62132340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711323560.0A Pending CN108052342A (en) | 2017-12-12 | 2017-12-12 | Partition table restorative procedure, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108052342A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209516A (en) * | 2019-04-24 | 2019-09-06 | 深圳点猫科技有限公司 | A kind of method and electronic equipment for being automatically repaired partition table based on teaching platform |
CN113821221A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Method, apparatus, storage medium, and computer program product for installing operating system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103473067A (en) * | 2013-09-23 | 2013-12-25 | 福建三元达软件有限公司 | Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method |
US20140201156A1 (en) * | 2009-04-10 | 2014-07-17 | PHD Virtual Technologies | Virtual machine file-level restoration |
CN105095017A (en) * | 2014-05-23 | 2015-11-25 | 中兴通讯股份有限公司 | Partition table based hard disk repair method and apparatus |
CN105630548A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
CN106201772A (en) * | 2016-06-23 | 2016-12-07 | 浪潮(北京)电子信息产业有限公司 | The backup of a kind of operating system based on data center, restoration methods and device |
-
2017
- 2017-12-12 CN CN201711323560.0A patent/CN108052342A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140201156A1 (en) * | 2009-04-10 | 2014-07-17 | PHD Virtual Technologies | Virtual machine file-level restoration |
CN103473067A (en) * | 2013-09-23 | 2013-12-25 | 福建三元达软件有限公司 | Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method |
CN105095017A (en) * | 2014-05-23 | 2015-11-25 | 中兴通讯股份有限公司 | Partition table based hard disk repair method and apparatus |
CN105630548A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
CN106201772A (en) * | 2016-06-23 | 2016-12-07 | 浪潮(北京)电子信息产业有限公司 | The backup of a kind of operating system based on data center, restoration methods and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209516A (en) * | 2019-04-24 | 2019-09-06 | 深圳点猫科技有限公司 | A kind of method and electronic equipment for being automatically repaired partition table based on teaching platform |
CN113821221A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Method, apparatus, storage medium, and computer program product for installing operating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9292217B2 (en) | Logical volume space sharing | |
CN101271379B (en) | Mixed density memory storage device and control method thereof | |
US8996795B2 (en) | Storage device for mounting to a host | |
TWI479313B (en) | Data writing method, memory controller and memory storage device | |
JP2010525453A (en) | Remove-on-delete technology for solid-state drive optimization | |
CN102880495A (en) | Mobile terminal and software upgrading method for same | |
TWI423026B (en) | Data writing method, memory controller and memory storage apparatus | |
CN101354715A (en) | Systems, methods and computer program products for operating a data processing system | |
JP2011039841A (en) | Data migration method and program | |
CN106528201B (en) | Method and device for loading animation in game | |
TWI423022B (en) | Memory management method, memory controller and memory storage apparatus | |
US7971022B2 (en) | Apparatus and method of processing data of non-volatile memory using transaction block | |
TWI438630B (en) | Data merging method for non-volatile memory and controller and stoarge apparatus using the same | |
CN109460240A (en) | A kind of firmware programming component and firmware programming method, system and storage medium | |
CN107870775A (en) | A kind of update method of processor and BootLoader program | |
CN104699408A (en) | Operation method and device of touch screen and touch device | |
CN108052342A (en) | Partition table restorative procedure, device and electronic equipment | |
CN102331920A (en) | Data processing method and device | |
CN104572492A (en) | Method and apparatus of burning data to FAT (File Allocation Table)32 partition | |
CN102341778B (en) | Method and system for multi-host concurrent writing to magnetic tape | |
US20110167047A1 (en) | Editing apparatus, method, and storage medium | |
WO2015087651A1 (en) | Device, program, recording medium, and method for extending service life of memory, | |
CN110597552B (en) | Configuration method, device, equipment and storage medium of project continuous integrated pipeline | |
CN112463055A (en) | Method, system, equipment and medium for optimizing and using L2P table of solid state disk | |
CN103475521A (en) | Method and device for deploying server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200422 Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd. Address before: 301, A building, room 3, building 301, foreshore Road, No. 310053, Binjiang District, Zhejiang, Hangzhou Applicant before: Huawei Technologies Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |