CN108153556A - Information automatic correcting method, device, user equipment, system and storage medium - Google Patents
Information automatic correcting method, device, user equipment, system and storage medium Download PDFInfo
- Publication number
- CN108153556A CN108153556A CN201810066139.4A CN201810066139A CN108153556A CN 108153556 A CN108153556 A CN 108153556A CN 201810066139 A CN201810066139 A CN 201810066139A CN 108153556 A CN108153556 A CN 108153556A
- Authority
- CN
- China
- Prior art keywords
- volume
- configuration file
- facility information
- information
- restored
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Abstract
The invention discloses a kind of information automatic correcting method, device, user equipment, system and storage mediums.The present invention is when getting data to be restored, from the extracting data configuration file to be restored, when volume facility information in the configuration file has the target volume facility information for belonging to the first form, the form of target volume facility information in the configuration file is modified to the second form, revised configuration file is replaced into the configuration file in the data to be restored, without by being manually modified to volume facility information, having saved manpower, having improved system reducing efficiency.
Description
Technical field
The present invention relates to operating system migration, reduction technique field more particularly to a kind of information automatic correcting method, dresses
It puts, user equipment, system and storage medium.
Background technology
When operating system migration or reduction is done, the hardware environment of object-computer and source computer there may be
Difference, after this species diversity may lead to operating system reduction, on the volume facility information and source computer on object-computer
It is inconsistent to roll up facility information.System guides device configuration file and mount point configuration file commonly known as roll up device configuration file,
And what is many times preserved in System guides device configuration file and mount point configuration file is all the relevant volume facility information of platform,
Here problems with can be brought:
If a) the volume facility information that System guides device configuration file preserves is changed, that system loader passes to
The parameter of operating system can be problematic, and operating system may work abnormal.
B) if the volume facility information of the preservation in mount point configuration file is changed, then after startup, is wrapping with
Carrying program can not just be downloaded to being wrapping on mount point.
Traditional way be exactly by other these configuration files of tool manual correction, this way inefficiency, and
It is and high to the engineering level comparison of operating personnel.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill
Art.
Invention content
It is a primary object of the present invention to provide a kind of information automatic correcting method, device, user equipment, system and storage
Medium, it is intended to the technical issues of solution needs manual correction configuration file, leads to inefficiency in the prior art.
To achieve the above object, the present invention provides a kind of information automatic correcting method, the described method comprises the following steps:
User equipment is when getting data to be restored, from the extracting data configuration file to be restored;
When volume facility information in the configuration file has the target volume facility information for belonging to the first form, by described in
The form of target volume facility information in configuration file is modified to the second form, and first form is relevant with hardware platform
Form, second form are the form unrelated with hardware platform;
Revised configuration file is replaced into the configuration file in the data to be restored.
Preferably, first form is hardware platform relevant volume implementor name, and second form is unrelated for hardware platform
Roll up implementor name, the hardware platform relevant volume equipment it is entitled in operating system migration, revert to different hardware platforms computer after,
Can changed volume implementor name, the unrelated volume equipment of hardware platform it is entitled in operating system migration, revert to different hardware
It, will not changed volume implementor name after platform computer.
Preferably, the form of the target volume facility information by the configuration file is modified to the second form, specifically
Including:
Corresponding with the target volume facility information unrelated volume implementor name of hardware platform is searched in mapping relations, according to looking into
The unrelated volume implementor name of hardware platform found is modified the target volume facility information in the configuration file, and the mapping is closed
There is the correspondence between the hardware platform relevant volume implementor name of each volume equipment and the unrelated volume implementor name of hardware platform in system.
Preferably, the entitled volume device label LABEL of the unrelated volume equipment of the hardware platform, volume device identification UUID or virtual
Roll up implementor name.
Preferably, the unrelated volume of hardware platform corresponding with the target volume facility information of being searched in mapping relations is set
Standby name, repaiies the target volume facility information in the configuration file according to the unrelated volume implementor name of the hardware platform found
Just, it specifically includes:
Judge whether the file system of the corresponding volume equipment of the target volume facility information supports the volume device identification;
When supporting the volume device identification, target corresponding with the target volume facility information is searched in mapping relations
Device identification is rolled up, the target volume facility information in the configuration file is repaiied according to the target volume device identification found
Just;
When not supporting the volume device identification, mesh corresponding with the target volume facility information is searched in mapping relations
Mark volume device label, repaiies the target volume facility information in the configuration file according to the target volume device label found
Just;
If not finding the target volume device label in the mapping relations, for the target volume facility information institute
Corresponding volume equipment generates a volume device label, and the target volume in the configuration file is set according to the volume device label of generation
Standby information is modified.
Preferably, it is described after the configuration file revised configuration file replaced in the data to be restored
Method further includes:
The data to be restored are sent to object-computer, so that the object-computer is according to the data to be restored
Carry out system reducing.
In addition, to achieve the above object, the present invention also provides a kind of user equipment, the user equipment includes:Memory,
Processor and the automatic revision program of information that is stored on the memory and can run on the processor, described information is certainly
Dynamic revision program is arranged for carrying out the step of information automatic correcting method as described above.
In addition, to achieve the above object, the present invention also provides a kind of information self-correcting system, described information is corrected automatically
System includes:Source computer, object-computer and the user equipment;
The source computer for being backed up to local operating system, obtains data to be restored;
The object-computer, the data to be restored for being sent according to the user equipment carry out system reducing.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
The automatic revision program of information is stored on storage medium, as above institute is realized when the automatic revision program of described information is executed by processor
The step of information automatic correcting method stated.
In addition, to achieve the above object, the present invention also provides a kind of information automatically correcting device, described device includes:
File extraction module, for when getting data to be restored, from the extracting data configuration file to be restored;
Form correcting module has the target volume for belonging to the first form for the volume facility information in the configuration file
During facility information, the form of the target volume facility information in the configuration file is modified to the second form;
File replacement module, for revised configuration file to be replaced to the configuration file in the data to be restored.
The present invention is when getting data to be restored, from the extracting data configuration file to be restored, in the configuration
When volume facility information in file has the target volume facility information for belonging to the first form, by the target volume in the configuration file
The form of facility information is modified to the second form, and revised configuration file is replaced to the configuration text in the data to be restored
Part, without by being manually modified to volume facility information, having saved manpower, having improved system reducing efficiency.
Description of the drawings
Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of information automatic correcting method first embodiment of the present invention;
Fig. 3 is the structure diagram of information self-correcting system first embodiment of the present invention;
Fig. 4 is the structure diagram of information automatically correcting device first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the structural representation of the user equipment of hardware running environment that the embodiment of the present invention is related to
Figure.
As shown in Figure 1, the user equipment can include:Processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to implement the connection communication between these components.
User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard
Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that the structure shown in Fig. 1 does not form the restriction to user equipment, can wrap
It includes and either combines certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer storage media including operating system, network
Believe module, Subscriber Interface Module SIM and the automatic revision program of information.
In user equipment shown in Fig. 1, network interface 1004 is mainly used for external network into row data communication;User
Interface 1003 is mainly used for receiving the input instruction of user;The user equipment is called by processor 1001 in memory 1005
The automatic revision program of information of storage, and perform following operate:
When getting data to be restored, from the extracting data configuration file to be restored;
When volume facility information in the configuration file has the target volume facility information for belonging to the first form, by described in
The form of target volume facility information in configuration file is modified to the second form;
Revised configuration file is replaced into the configuration file in the data to be restored.
Further, first form be hardware platform relevant volume implementor name, second form for hardware platform without
Close volume implementor name, the hardware platform relevant volume equipment it is entitled in operating system migration, revert to different hardware platforms computer
Afterwards, it may occur that the volume implementor name of variation, the unrelated volume equipment of hardware platform it is entitled operating system migration, revert to it is different hard
It, will not changed volume implementor name after part platform computer;Processor 1001 can call the letter stored in memory 1005
Automatic revision program is ceased, also performs following operate:
Corresponding with the target volume facility information unrelated volume implementor name of hardware platform is searched in mapping relations, according to looking into
The unrelated volume implementor name of hardware platform found is modified the target volume facility information in the configuration file, and the mapping is closed
There is the correspondence between the hardware platform relevant volume implementor name of each volume equipment and the unrelated volume implementor name of hardware platform in system.
Further, the entitled volume device label LABEL of the unrelated volume equipment of the hardware platform, volume device identification UUID or void
Intend volume implementor name;Processor 1001 can call the automatic revision program of the information stored in memory 1005, also perform following grasp
Make:
Judge whether the file system of the corresponding volume equipment of the target volume facility information supports the volume device identification;
When supporting the volume device identification, target corresponding with the target volume facility information is searched in mapping relations
Device identification is rolled up, the target volume facility information in the configuration file is repaiied according to the target volume device identification found
Just;
When not supporting the volume device identification, mesh corresponding with the target volume facility information is searched in mapping relations
Mark volume device label, repaiies the target volume facility information in the configuration file according to the target volume device label found
Just;
If not finding the target volume device label in the mapping relations, for the target volume facility information institute
Corresponding volume equipment generates a volume device label, and the target volume in the configuration file is set according to the volume device label of generation
Standby information is modified.
Further, processor 1001 can call the automatic revision program of the information stored in memory 1005, also perform
It operates below:
The data to be restored are sent to object-computer, so that the object-computer is according to the data to be restored
Carry out system reducing.
The present embodiment through the above scheme, when getting data to be restored, is configured from the extracting data to be restored
File when the volume facility information in the configuration file has the target volume facility information for belonging to the first form, is matched by described in
The form for putting the target volume facility information in file is modified to the second form, revised configuration file is replaced described to be restored
Configuration file in data, without by being manually modified to volume facility information, having saved manpower, having improved system reducing
Efficiency.
Based on above-mentioned hardware configuration, information automatic correcting method embodiment of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of information automatic correcting method first embodiment of the present invention.
In the first embodiment, described information automatic correcting method includes the following steps:
S10:User equipment is when getting data to be restored, from the extracting data configuration file to be restored;
It should be noted that the configuration file may include:Mount point configuration file and guiding device configuration file;
It will be appreciated that mount point configuration file has recorded the correspondence of volume facility information and mount point, operating system
This configuration file can be read after startup, volume equipment is mounted in corresponding mount point.Volume in mount point configuration file
Facility information has hardware platform relevant volume implementor name and the unrelated volume implementor name of hardware platform;Volume equipment in mount point configuration file
What information used may be hardware platform relevant volume implementor name, and after operating system migration or reduction, volume facility information has can
It can be changed, at this time it is possible that can fail when the operating system carry volume facility information corresponding volume equipment.
Guiding device configuration file has recorded the volume facility information of system, when Submission control is weighed to operating system, is
System guiding device can pass to operating system using the volume facility information of system as parameter.Same as above, which has firmly
Part platform relevant volume implementor name and the unrelated volume implementor name of hardware platform, if volume facility information is hardware platform relevant volume implementor name,
So when System guides device Submission control is weighed to operating system, the volume facility information for passing to system may not be by system
Identification, this can lead to boot failure.
It will be appreciated that the volume facility information can be divided into hardware platform relevant volume implementor name and the unrelated volume of hardware platform is set
Standby name.
In the concrete realization, the hardware platform relevant volume implementor name generally use is similar to/dev/sda1 ,/dev/
disk/by-path/pci-0000:04:00.0-scsi-0:1:5:The Data Migration of disk is arrived other by the forms such as 0-part1
After hardware platform computer, corresponding volume device name may change as/dev/vda1 or/dev/disk/by-path/
pci-0000:10:00.0-scsi-0:1:5:0-part1。
And the unrelated volume implementor name generally use dev/disk/by-id/dm-name-centos-home of hardware platform ,/
Dev/disk/by-uuid/6e7c6170-bde6-48d8-8d07-8384e9f70719 ,/dev/mapper/centos-
The forms such as root ,/dev/disk/by-label/SWAP-sda2, by the Data Migration of disk to other hardware platform computers
Afterwards, name will not change.
The unrelated volume implementor name of hardware platform may include volume label LABEL, volume identifier UUID, virtual volume implementor name.
In addition to the unrelated volume implementor name of hardware platform, others are all platform relevant volume implementor names.
In the concrete realization, the volume facility information of this forms of volume identifier UUID will see whether volume equipment is supported, if
It does not support, then there will be no the volume facility informations of this form;If support, then have the volume equipment of this form certainly
Information.
And the volume facility information of the such forms of volume label LABEL, volume equipment are generally all supported, but not necessarily have, it can
To give volume equipment plus this volume facility information.
S20:It, will when volume facility information in the configuration file has the target volume facility information for belonging to the first form
The form of target volume facility information in the configuration file is modified to the second form;
System guides device configuration file and mount point configuration file are all many times that hardware platform relevant volume has been used to set
Standby name (because of easily memory) when migration or standby system, has a program and is responsible for collecting all volume equipment letters
Breath, including hardware platform relevant volume implementor name and the unrelated volume implementor name of hardware platform, is saved in database, is formed noted earlier
Mapping relations.When correcting, revision program can check the volume facility information in configuration file, if hardware has been used to put down
Platform relevant volume implementor name is just substituted for the unrelated volume implementor name of hardware platform.For example, with the presence of this 4 volume equipment of volume equipment
Name:/dev/sdc1、/dev/disk/by-path/pci-0000:00:00.0-scsi-0:1:5:0-part1、/dev/disk/
By-uui d/222c6170-bde6-48d8-8d07-8384e9f70111 and/dev/disk/by-label/my-os, before 2
A is hardware platform relevant volume implementor name, and latter 2 are the unrelated volume implementor names of hardware platform.System guides device configuration file or carry
There is a place to use the/relevant volume implementor name of this platform of dev/sdc1 in point configuration file, then in modification, just
/ dev/sdc1 is substituted for/dev/disk/by-uuid/222c6170-bde6-48d8-8d07-8384e9f70111 or/
dev/disk/by-label/my-os。
Have best compatibility, in the present embodiment, can determine whether the target volume facility information institute in view of UUID modes
Whether the file system of corresponding volume equipment supports the volume device identification UUID;
When supporting the volume device identification UUID, searched in mapping relations corresponding with the target volume facility information
Target volume device identification UUID, according to the target volume device identification UUID found to the target volume equipment in the configuration file
Information is modified;
When not supporting the volume device identification UUID, searched in mapping relations corresponding with the target volume facility information
Target volume device label LABEL, according to the target volume device label LABEL found to the target volume in the configuration file
Facility information is modified.
If there is no LABEL in mapping relations for the volume equipment, generating a LABEL for the volume equipment, (LABEL exists
Must be unique in file system), the target volume facility information in the configuration file is carried out further according to the LABEL of generation
It corrects.
S30:Revised configuration file is replaced into the configuration file in the data to be restored.
After being replaced to the configuration file in the data to be restored, the data to be restored can be sent to target
Computer, so that the object-computer carries out system reducing according to the data to be restored.
The present embodiment, from the extracting data configuration file to be restored, is matched when getting data to be restored described
When putting the volume facility information in file has the target volume facility information for belonging to the first form, by the target in the configuration file
The form of volume facility information is modified to the second form, and revised configuration file is replaced to the configuration text in the data to be restored
Part, without by being manually modified to volume facility information, having saved manpower, having improved system reducing efficiency.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with the automatic revision program of information, following operation is realized when the automatic revision program of described information is executed by processor:
When getting data to be restored, from the extracting data configuration file to be restored;
When volume facility information in the configuration file has the target volume facility information for belonging to the first form, by described in
The form of target volume facility information in configuration file is modified to the second form;
Revised configuration file is replaced into the configuration file in the data to be restored.
Further, first form be hardware platform relevant volume implementor name, second form for hardware platform without
Close volume implementor name, the hardware platform relevant volume equipment it is entitled in operating system migration, revert to different hardware platforms computer
Afterwards, it may occur that the volume implementor name of variation, the unrelated volume equipment of hardware platform it is entitled operating system migration, revert to it is different hard
It, will not changed volume implementor name after part platform computer;Reality is gone back when the automatic revision program of described information is executed by processor
Now following operation:
Corresponding with the target volume facility information unrelated volume implementor name of hardware platform is searched in mapping relations, according to looking into
The unrelated volume implementor name of hardware platform found is modified the target volume facility information in the configuration file, and the mapping is closed
There is the correspondence between the hardware platform relevant volume implementor name of each volume equipment and the unrelated volume implementor name of hardware platform in system.
Further, the entitled volume device label LABEL of the unrelated volume equipment of the hardware platform, volume device identification UUID or void
Intend volume implementor name;Described information automatic revision program also realizes following operation when being executed by processor:
Judge whether the file system of the corresponding volume equipment of the target volume facility information supports the volume device identification;
When supporting the volume device identification, target corresponding with the target volume facility information is searched in mapping relations
Device identification is rolled up, the target volume facility information in the configuration file is repaiied according to the target volume device identification found
Just;
When not supporting the volume device identification, mesh corresponding with the target volume facility information is searched in mapping relations
Mark volume device label, repaiies the target volume facility information in the configuration file according to the target volume device label found
Just;
If not finding the target volume device label in the mapping relations, for the target volume facility information institute
Corresponding volume equipment generates a volume device label, and the target volume in the configuration file is set according to the volume device label of generation
Standby information is modified.
Further, following operation is also realized when the automatic revision program of described information is executed by processor:
The data to be restored are sent to object-computer, so that the object-computer is according to the data to be restored
Carry out system reducing.
The present embodiment through the above scheme, when getting data to be restored, is configured from the extracting data to be restored
File when the volume facility information in the configuration file has the target volume facility information for belonging to the first form, is matched by described in
The form for putting the target volume facility information in file is modified to the second form, revised configuration file is replaced described to be restored
Configuration file in data, without by being manually modified to volume facility information, having saved manpower, having improved system reducing
Efficiency.
In addition, the embodiment of the present invention also proposes a kind of information self-correcting system, with reference to Fig. 3, described information is corrected automatically
System includes:Source computer 10, object-computer 20 and the user equipment 30;
The source computer 10 for being backed up to local operating system, obtains data to be restored;
The object-computer 20, the data to be restored for being sent according to the user equipment carry out system reducing.
In addition, the embodiment of the present invention also proposes a kind of information automatically correcting device, with reference to Fig. 4, described device includes:
File extraction module 401, for when getting data to be restored, text to be configured from the extracting data to be restored
Part;
Form correcting module 402 has the mesh for belonging to the first form for the volume facility information in the configuration file
During mark volume facility information, the form of the target volume facility information in the configuration file is modified to the second form, described first
Form be with the relevant form of hardware platform, second form be the form unrelated with hardware platform;
File replacement module 403, for revised configuration file to be replaced to the configuration file in the data to be restored.
The present embodiment, from the extracting data configuration file to be restored, is matched when getting data to be restored described
When putting the volume facility information in file has the target volume facility information for belonging to the first form, by the target in the configuration file
The form of volume facility information is modified to the second form, and revised configuration file is replaced to the configuration text in the data to be restored
Part, without by being manually modified to volume facility information, having saved manpower, having improved system reducing efficiency.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or system institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, user equipment, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of information automatic correcting method, which is characterized in that the described method comprises the following steps:
User equipment is when getting data to be restored, from the extracting data configuration file to be restored;
When volume facility information in the configuration file has the target volume facility information for belonging to the first form, by the configuration
The form of target volume facility information in file is modified to the second form;
Revised configuration file is replaced into the configuration file in the data to be restored.
2. the method as described in claim 1, which is characterized in that first form be hardware platform relevant volume implementor name, institute
The second form is stated as the unrelated volume implementor name of hardware platform, the hardware platform relevant volume equipment it is entitled in operating system migration, also
After original to different hardware platforms computer, it may occur that the volume implementor name of variation, the unrelated volume equipment of hardware platform is entitled to be grasped
It, will not changed volume implementor name after making system migration, reverting to different hardware platforms computer.
3. method as claimed in claim 2, which is characterized in that the target volume facility information by the configuration file
Form is modified to the second form, specifically includes:
Corresponding with the target volume facility information unrelated volume implementor name of hardware platform is searched in mapping relations, according to finding
Hardware platform unrelated volume implementor name the target volume facility information in the configuration file is modified, in the mapping relations
There is the correspondence between the hardware platform relevant volume implementor name of each volume equipment and the unrelated volume implementor name of hardware platform.
4. method as claimed in claim 2, which is characterized in that the entitled volume device label of the unrelated volume equipment of hardware platform
LABEL, volume device identification UUID or virtual volume implementor name.
5. method as claimed in claim 4, which is characterized in that described searched in mapping relations is believed with the target volume equipment
The corresponding unrelated volume implementor name of hardware platform is ceased, according to the unrelated volume implementor name of the hardware platform found in the configuration file
Target volume facility information be modified, specifically include:
Judge whether the file system of the corresponding volume equipment of the target volume facility information supports the volume device identification;
When supporting the volume device identification, lookup target volume corresponding with the target volume facility information is set in mapping relations
Standby mark, is modified the target volume facility information in the configuration file according to the target volume device identification found;
When not supporting the volume device identification, target volume corresponding with the target volume facility information is searched in mapping relations
Device label is modified the target volume facility information in the configuration file according to the target volume device label found;
If not finding the target volume device label in the mapping relations, for corresponding to the target volume facility information
It rolls up equipment and generates a volume device label, and the target volume equipment in the configuration file is believed according to the volume device label of generation
Breath is modified.
6. such as method according to any one of claims 1 to 5, which is characterized in that described to replace revised configuration file
After configuration file in the data to be restored, the method further includes:
The data to be restored are sent to object-computer, so that the object-computer is carried out according to the data to be restored
System reducing.
7. a kind of user equipment, which is characterized in that the user equipment includes:Memory, processor and it is stored in the storage
On device and the automatic revision program of information that can run on the processor, the automatic revision program of described information be arranged for carrying out as
The step of information automatic correcting method according to any one of claims 1 to 6.
8. a kind of information self-correcting system, which is characterized in that described information self-correcting system includes:Source computer, target
User equipment described in computer and claim 7;
The source computer for being backed up to local operating system, obtains data to be restored;
The object-computer, the data to be restored for being sent according to the user equipment carry out system reducing.
9. a kind of computer readable storage medium, which is characterized in that information is stored on the computer readable storage medium certainly
Dynamic revision program, is realized when the automatic revision program of described information is executed by processor as according to any one of claims 1 to 6
The step of information automatic correcting method.
10. a kind of information automatically correcting device, which is characterized in that described device includes:
File extraction module, for when getting data to be restored, from the extracting data configuration file to be restored;
Form correcting module has the target volume equipment for belonging to the first form for the volume facility information in the configuration file
During information, the form of the target volume facility information in the configuration file is modified to the second form;
File replacement module, for revised configuration file to be replaced to the configuration file in the data to be restored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066139.4A CN108153556B (en) | 2018-01-23 | 2018-01-23 | Information automatic correction method, device, user equipment, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066139.4A CN108153556B (en) | 2018-01-23 | 2018-01-23 | Information automatic correction method, device, user equipment, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108153556A true CN108153556A (en) | 2018-06-12 |
CN108153556B CN108153556B (en) | 2021-03-12 |
Family
ID=62456825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810066139.4A Active CN108153556B (en) | 2018-01-23 | 2018-01-23 | Information automatic correction method, device, user equipment, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108153556B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929561A (en) * | 2012-10-09 | 2013-02-13 | 曙光信息产业(北京)有限公司 | Method for solving disorder of magnetic disks set up by hadoop cluster |
CN103019775A (en) * | 2012-11-28 | 2013-04-03 | 北京小米科技有限责任公司 | Method, device and equipment for flashing for terminal equipment |
CN103744708A (en) * | 2014-01-23 | 2014-04-23 | 浪潮电子信息产业股份有限公司 | Method of fixing disk device names in Linux operating system |
CN104731915A (en) * | 2015-03-24 | 2015-06-24 | 上海爱数软件有限公司 | Magnetic disk device mapping method in distributed memory system |
US20150200808A1 (en) * | 2014-01-10 | 2015-07-16 | Arista Networks, Inc. | Method and system for virtual machine aware policy management |
-
2018
- 2018-01-23 CN CN201810066139.4A patent/CN108153556B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929561A (en) * | 2012-10-09 | 2013-02-13 | 曙光信息产业(北京)有限公司 | Method for solving disorder of magnetic disks set up by hadoop cluster |
CN103019775A (en) * | 2012-11-28 | 2013-04-03 | 北京小米科技有限责任公司 | Method, device and equipment for flashing for terminal equipment |
US20150200808A1 (en) * | 2014-01-10 | 2015-07-16 | Arista Networks, Inc. | Method and system for virtual machine aware policy management |
CN103744708A (en) * | 2014-01-23 | 2014-04-23 | 浪潮电子信息产业股份有限公司 | Method of fixing disk device names in Linux operating system |
CN104731915A (en) * | 2015-03-24 | 2015-06-24 | 上海爱数软件有限公司 | Magnetic disk device mapping method in distributed memory system |
Also Published As
Publication number | Publication date |
---|---|
CN108153556B (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103136094B (en) | A kind of page method of testing and device | |
CN106658475A (en) | Over-the-air technology upgrading method an over-the-air technology upgrading device | |
US20110107137A1 (en) | System and method for providing automated support to electronic devices | |
CN1922573A (en) | Data container for user interface content data | |
CN107992381A (en) | System reducing method, device, system, backup and reduction server and storage medium | |
CN104932955A (en) | Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal | |
CN107679058A (en) | Method of data synchronization, device and computer-readable recording medium | |
CN109271255A (en) | Resource regulating method, system and electronic equipment and storage medium | |
CN107644075A (en) | The method and apparatus for collecting page info | |
CN107908480A (en) | Wages computational methods, application server and computer-readable recording medium | |
CN108460822A (en) | Texture Processing Methods and device | |
CN108021503A (en) | The method, apparatus and computer-readable storage medium of automated function test | |
CN107885654A (en) | Data library test method and system | |
CN108243254A (en) | Electronic device, the method and storage medium of the publication of application upgrade version | |
CN108153556A (en) | Information automatic correcting method, device, user equipment, system and storage medium | |
CN104504326A (en) | Method for examining integrity of system flies | |
CN108763393B (en) | Workbook management method and device, computer equipment and storage medium | |
CN106648578A (en) | Desktop layout sharing method, sending terminal and receiving terminal | |
CN108073511A (en) | test code generating method and device | |
CN108228213A (en) | A kind of application automatic update method, system, smart machine and storage medium | |
CN114466387A (en) | Method and device for updating configuration file of base station, storage medium and electronic device | |
CN105511851B (en) | A method of extension Android system resource load | |
CN114840248A (en) | System gray level publishing method based on enterprise level distributed application service | |
CN107179969A (en) | One key sets the device and method of the BIOS option of Benchmark tests | |
CN112862399A (en) | Method, device and equipment for changing material list table and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |