CN103713971A - Management device and method for recovering file path structure after disaster - Google Patents

Management device and method for recovering file path structure after disaster Download PDF

Info

Publication number
CN103713971A
CN103713971A CN201410001138.3A CN201410001138A CN103713971A CN 103713971 A CN103713971 A CN 103713971A CN 201410001138 A CN201410001138 A CN 201410001138A CN 103713971 A CN103713971 A CN 103713971A
Authority
CN
China
Prior art keywords
path
data
recovery
progression
path structure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410001138.3A
Other languages
Chinese (zh)
Other versions
CN103713971B (en
Inventor
穆裕
张道伟
王旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Tianjin Data Information Technology Co ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201410001138.3A priority Critical patent/CN103713971B/en
Publication of CN103713971A publication Critical patent/CN103713971A/en
Application granted granted Critical
Publication of CN103713971B publication Critical patent/CN103713971B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a management device and method for recovering a file path structure after a disaster. The device comprises a path structure processing module, a data destination path organization module and a data recovery module, wherein the path structure processing module truncates redundant paths through path truncation processing and removes the paths generating conflict of identical names with other files, the data destination path organization module combines the paths processed by the path structure processing module and the paths operated by 'save as' to generate ultimate recovery destination paths, and the data recovery module recovers data to the ultimate recovery destination paths generated by the data destination path organization module. Through the adoption of the management device and method for recovering the file path structure after the disaster, recovery operation can be carried out more flexibly on data, the labor and time cost for clearing up a path structure is omitted, and the availability and efficiency of recovering the data after the disaster are improved greatly.

Description

The management devices of recovery file path structure and method after a kind of calamity
Technical field
The present invention relates to computer file system, relate in particular to the file management method of recovery file path structure after calamity.
Background technology
Along with the arrival of information age, data become the core of social normal operation more and more highlightedly.For Yi Ge enterprise, data affect the key of its survival and development especially, the user of every profession and trade and enterprise are day by day strong to the dependence of network application and data message, and the generation that makes outburst disaster (as fire, flood, earthquake or terrorist incident etc.) all can be to needing the significant impact that causes of the production of enterprise of data supporting or business.Therefore, how to guarantee when disaster occurs, business data not to be lost, assurance system service is resumed operation as early as possible, becomes the topic that people pay close attention to.
After outburst disaster occurs, can the speed that data are recovered directly affect business event and normally move, become and affect the key factor that data are recovered, generally include two kinds of time requirements: 1) release time target (RTO, Recovery Time Objective), take the time as unit, after disaster occurs, infosystem or business function are from stopping to the time requirement that must recover; 2) recovery point objectives (RPO, Recovery Point Objective), take the time as unit, when disaster occurs, and the time point requirement that system and data must return to.User need to use the data of these recoveries at once after data are recovered.But because cannot guaranteeing the structure of data, traditional restoration methods can meet user's request for utilization.It is more outstanding that this situation shows aspect the backup recovery based on file system, and the datapath architecture of recovery cannot be applied to user's use conventionally, and often need to spend a lot of time with manpower, carries out manual sorting.After calamity, the fast quick-recovery of data has just lost its original meaning like this.
In order to overcome the above problems, management devices and the method for recovery file path structure after a kind of calamity need to be provided, file path structure for save data is effectively managed, to meet user, after calamity, in data recovery procedure, change the former demand with path structure, make user recover as early as possible to use, thereby improve the efficiency of the fast quick-recovery of data.
Summary of the invention
Technical matters to be solved by this invention is to provide management devices and the method for recovery file path structure after a kind of calamity, can meet user and after calamity, in data recovery procedure, change the former demand with path structure.
In order to solve the problems of the technologies described above, the invention provides the management devices of recovery file path structure after a kind of calamity, comprise the path structure processing module, data destination path molded tissue block and the data recovery module that connect successively, wherein:
Path structure processing module, blocks unnecessary path for intercepting by path to process, and removes and produces path of conflicting of the same name with other file;
Data destination path molded tissue block, combines for the path after path structure processing module is processed and the path of " saving as " operation, generates final recovery destination path;
Data recovery module, the described recovery destination path generating for data being returned to data destination path molded tissue block.
Further, this device also comprises the data source judging treatmenting module being connected with path structure processing module, for the platform of data source is judged, if judgement data source is from LINUX platform, the path structure under this LINUX platform is processed into the path structure under WINDOWS platform.
Further, path structure processing module is ‘ ' record position and path progression according to current character in path, after route pointer is moved backward, if judgement path progression equals to intercept rank, and current location is catalogue, the path after surviving path progression.
Further, if path structure processing module judgement arrives road through tail end, and current location is that catalogue and road are less than intercepting rank through progression, the path after surviving path progression.
In order to solve the problems of the technologies described above, the invention provides the management method of recovery file path structure after a kind of calamity, comprising:
The data that selection will recover and recovery object machine;
Traversal restoration path, intercepts to process by path unnecessary path is blocked, and removes and produces path of conflicting of the same name with other file; Combine with the path of " saving as " operation in path after path intercepting is processed, generates final recovery destination path.
Further, the method also comprises: data are returned in the recovery destination path of generation.
Further, before intercepting by path and processing unnecessary path is blocked, also comprise:
Platform to data source judges, if judgement data source is from LINUX platform, the path structure under this LINUX platform is processed into the path structure under WINDOWS platform.
Further, by path, intercept to process unnecessary path is blocked, remove and produce path of conflicting of the same name with other file; Specifically comprise:
According to current character in path, be ‘ ' record position and path progression, after route pointer is mobile backward, if judgement path progression equals to intercept rank, and current location is catalogue, the path after surviving path progression.
Further, by path, intercept to process unnecessary path is blocked, remove and produce path of conflicting of the same name with other file; Specifically comprise:
If judgement arrives road through tail end, and current location is that catalogue and road are less than intercepting rank through progression, the path after surviving path progression.
Method of the present invention is applicable in data recovery procedure, recover a plurality of files under a plurality of file paths or a path after calamity.Adopt the method to data, to carry out recovery operation more neatly, save manpower and the spent cost of time that need to arrange path structure, greatly improve availability and efficiency after fast quick-recovery data after calamity.
Accompanying drawing explanation
Fig. 1 is the structural representation of the management devices embodiment of recovery file path structure after calamity of the present invention;
Fig. 2 is the process flow diagram of the management method embodiment of recovery file path structure after calamity of the present invention;
Fig. 3 intercepts the process flow diagram of routing algorithm in embodiment of the method shown in Fig. 2.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, technical scheme of the present invention is at length set forth.Should be appreciated that, the embodiment below enumerating is only for description and interpretation the present invention, and do not form the restriction to technical solution of the present invention.
As shown in Figure 1, the structure that has represented the management devices embodiment of recovery file path structure after calamity of the present invention.This device comprises path structure processing module, data destination path molded tissue block and the data recovery module connecting successively, wherein:
Path structure processing module, processes and will unnecessary path be blocked for intercepting by path, removes and produces path of conflicting of the same name with other file;
Data destination path molded tissue block, combines for the path after path structure processing module is processed and the path of " saving as " operation, generates final recovery destination path;
Data recovery module, the recovery destination path generating for data being returned to data destination path molded tissue block.
Said apparatus embodiment also comprises the data source judging treatmenting module being connected with path structure processing module, for the platform of data source is judged, if judgement data source, from LINUX platform, is processed into the path structure under WINDOWS platform by the path structure under this LINUX platform.
In said apparatus embodiment, path structure processing module is ‘ ' record position and path progression according to current character in path, after route pointer is moved backward, if judgement path progression equals to intercept rank, and current location is catalogue, the path after surviving path progression.
In said apparatus embodiment, if path structure processing module judgement arrives road through tail end, and current location is that catalogue and road are less than intercepting rank through progression, the path after surviving path progression.
The present invention is directed to said apparatus embodiment, the management method of recovery file path structure after calamity is correspondingly also provided, its flow process as shown in Figure 2, comprises the steps:
100: the data that selection will recover and recovery object machine;
110,120: get a restoration path and select and block rank, judge whether it is the last item path, be process ends, otherwise continue next step;
130,140: judge whether this path is LINUX path, be to carry out path conversion process, otherwise carry out next step;
150~170: carry out path intercepting and process, carry out combination of paths processing, user data is returned to the destination path after processing; Going back to step 110 carries out.
In said method embodiment, carry out the flow process of the path intercepting processing 150 intercepting routing algorithms that adopt as shown in Figure 3, comprise the steps:
1510: judging whether to arrive path tail end, is to perform step 1560, otherwise carry out next step;
1520: judging in path that whether current character is ' ', is to carry out next step, otherwise execution step 1540;
1530: record position and path progression;
1540: route pointer is moved backward;
1550: judge whether path progression equals to intercept rank, is to perform step 1560, otherwise return to step 1510, carry out;
When path-level, count to and reach other words of intercepting level, can complete the location that path is blocked.For example a road through be c: H I J K, is 3 if set intercepting rank, and, when after pointer arrives I during, path progression is 3, and intercepts rank 3 and equates, the path J K after now c: H I removal above being intercepted.
1560: judge whether current location is catalogue, is to carry out next step, otherwise execution step 1580;
1570: judge whether path progression is less than intercepting rank, is to carry out next step, otherwise process ends;
1580: the path after surviving path progression, process ends.
The present invention adopts above-mentioned path pruning algorithm, and the path structure of managing to resume data can be realized the recovery demand of multiple path structure, carries out flexibly the data restore operation in different machine, different path, and supports the recovery that intersects of LINUX and WINDOWS platform.
Said method of the present invention can carry out recovery operation to data more flexibly, saves human cost and the time cost that need to arrange path structure, greatly improves the availability of recovering after data.

Claims (9)

1. a management devices for recovery file path structure after calamity, is characterized in that, comprises the path structure processing module, data destination path molded tissue block and the data recovery module that connect successively, wherein:
Path structure processing module, blocks unnecessary path for intercepting by path to process, and removes and produces path of conflicting of the same name with other file;
Data destination path molded tissue block, combines for the path after path structure processing module is processed and the path of " saving as " operation, generates final recovery destination path;
Data recovery module, the described recovery destination path generating for data being returned to data destination path molded tissue block.
2. according to device claimed in claim 1, it is characterized in that, also comprise the data source judging treatmenting module being connected with described path structure processing module, for the platform of data source is judged, if judgement data source, from LINUX platform, is processed into the path structure under WINDOWS platform by the path structure under this LINUX platform.
3. according to the device described in claim 1 or 2, it is characterized in that, described path structure processing module is ‘ ' record position and path progression according to current character in path, after route pointer is moved backward, if judgement path progression equals to intercept rank, and current location is catalogue, the path after surviving path progression.
4. according to the device described in claim 1 or 2, it is characterized in that, if described path structure processing module judgement arrives road through tail end, and current location is that catalogue and road are less than intercepting rank through progression, the path after surviving path progression.
5. a management method for recovery file path structure after calamity, comprising:
The data that selection will recover and recovery object machine;
Traversal restoration path, intercepts to process by path unnecessary path is blocked, and removes and produces path of conflicting of the same name with other file; Combine with the path of " saving as " operation in path after path intercepting is processed, generates final recovery destination path.
6. in accordance with the method for claim 5, it is characterized in that, also comprise:
Data are returned in the described recovery destination path of generation.
7. according to the method described in claim 5 or 6, it is characterized in that, before intercepting by path and processing unnecessary path is blocked, also comprise:
Platform to data source judges, if judgement data source is from LINUX platform, the path structure under this LINUX platform is processed into the path structure under WINDOWS platform.
8. according to the method described in claim 5 or 6, it is characterized in that, described by path, intercept to process unnecessary path is blocked, remove and produce path of conflicting of the same name with other file; Specifically comprise:
According to current character in path, be ‘ ' record position and path progression, after route pointer is mobile backward, if judgement path progression equals to intercept rank, and current location is catalogue, the path after surviving path progression.
9. according to the method described in claim 5 or 6, it is characterized in that, described by path, intercept to process unnecessary path is blocked, remove and produce path of conflicting of the same name with other file; Specifically comprise:
If judgement arrives road through tail end, and current location is that catalogue and road are less than intercepting rank through progression, the path after surviving path progression.
CN201410001138.3A 2014-01-02 2014-01-02 The management devices of recovery file path structure and method after a kind of calamity Active CN103713971B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410001138.3A CN103713971B (en) 2014-01-02 2014-01-02 The management devices of recovery file path structure and method after a kind of calamity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410001138.3A CN103713971B (en) 2014-01-02 2014-01-02 The management devices of recovery file path structure and method after a kind of calamity

Publications (2)

Publication Number Publication Date
CN103713971A true CN103713971A (en) 2014-04-09
CN103713971B CN103713971B (en) 2016-05-25

Family

ID=50406972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410001138.3A Active CN103713971B (en) 2014-01-02 2014-01-02 The management devices of recovery file path structure and method after a kind of calamity

Country Status (1)

Country Link
CN (1) CN103713971B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832526A (en) * 1996-01-24 1998-11-03 Symantec Corporation Method and apparatus using slack area of file storage structures for file reconstruction
CN1945571A (en) * 2006-08-16 2007-04-11 珠海金山软件股份有限公司 Method for re-setting up catalogue structure and restoring data in FAI volume
CN1959649A (en) * 2006-09-19 2007-05-09 珠海金山软件股份有限公司 Method for rebuilding directory structure and recovering data in NTFS volume
CN102289524A (en) * 2011-09-26 2011-12-21 深圳市万兴软件有限公司 Data recovery method and system
CN102799503A (en) * 2012-08-08 2012-11-28 浪潮(北京)电子信息产业有限公司 Recover method applied to large quantity of small files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832526A (en) * 1996-01-24 1998-11-03 Symantec Corporation Method and apparatus using slack area of file storage structures for file reconstruction
CN1945571A (en) * 2006-08-16 2007-04-11 珠海金山软件股份有限公司 Method for re-setting up catalogue structure and restoring data in FAI volume
CN1959649A (en) * 2006-09-19 2007-05-09 珠海金山软件股份有限公司 Method for rebuilding directory structure and recovering data in NTFS volume
CN102289524A (en) * 2011-09-26 2011-12-21 深圳市万兴软件有限公司 Data recovery method and system
CN102799503A (en) * 2012-08-08 2012-11-28 浪潮(北京)电子信息产业有限公司 Recover method applied to large quantity of small files

Also Published As

Publication number Publication date
CN103713971B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
US20120323848A1 (en) Continuous and asynchronous replication of a consistent dataset
US10565071B2 (en) Smart data replication recoverer
CN104216793B (en) Application Backup, the method and apparatus recovered
WO2019006654A1 (en) Financial self-service equipment maintenance dispatch generation method, hand-held terminal and electronic device
US10061665B2 (en) Preserving management services with self-contained metadata through the disaster recovery life cycle
US20090187668A1 (en) Protocol Independent Server Replacement and Replication in a Storage Area Network
CN105335251A (en) Fault recovery method and system
CN105630589A (en) Distributed process scheduling system and process scheduling and execution method
US9910745B1 (en) Unified data layer backup system
US10169131B2 (en) Determining a trace of a system dump
CN103678051B (en) A kind of online failure tolerant method in company-data processing system
CN102799485A (en) Historical data migration method and device
CN106469152A (en) A kind of document handling method based on ETL and system
US20230023053A1 (en) Data loss recovery in a secondary storage controller from a primary storage controller
WO2019061999A1 (en) Breakpoint call method, electronic device and computer-readable storage medium
US10645155B2 (en) Scalable parallel messaging process
CN104123135B (en) A kind of method and device of unified back office interface
CN104780068B (en) A kind of method for switching network, the apparatus and system of computer room migration
CN109960602A (en) Approaches to IM, device, equipment and medium
CN102591714B (en) Process calling method, system and application server
CN102684928B (en) The method and apparatus of a kind of service backup and recovery
CN117041120A (en) Distributed full-link service monitoring system
CN105677207A (en) Intelligent mobile phone input information editing method and device
CN103713971B (en) The management devices of recovery file path structure and method after a kind of calamity
CN108154343B (en) Emergency processing method and system for enterprise-level information system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180827

Address after: 200436 Room 411, No. three, JIANGCHANG Road, Jingan District, Shanghai, 411

Patentee after: SHANGHAI INSPUR CLOUD CALCULATING SERVICE CO.,LTD.

Address before: 100085 floor 1, C 2-1, No. 2, Shang Di Road, Haidian District, Beijing.

Patentee before: INSPUR (BEIJING) ELECTRONIC INFORMATION INDUSTRY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221020

Address after: 300300 Room 706, Floor 7, Investment Promotion Center Building, Wanxin Xiangyi Plaza, intersection of Chenglin Road and Dengzhou Road, Wanxin Street, Dongli District, Tianjin

Patentee after: Inspur (Tianjin) Data Information Technology Co.,Ltd.

Address before: 200436 Room 411, No. three, JIANGCHANG Road, Jingan District, Shanghai, 411

Patentee before: SHANGHAI INSPUR CLOUD CALCULATING SERVICE CO.,LTD.