CN103713971B - The management devices of recovery file path structure and method after a kind of calamity - Google Patents

The management devices of recovery file path structure and method after a kind of calamity Download PDF

Info

Publication number
CN103713971B
CN103713971B CN201410001138.3A CN201410001138A CN103713971B CN 103713971 B CN103713971 B CN 103713971B CN 201410001138 A CN201410001138 A CN 201410001138A CN 103713971 B CN103713971 B CN 103713971B
Authority
CN
China
Prior art keywords
path
data
recovery
progression
file
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.)
Active
Application number
CN201410001138.3A
Other languages
Chinese (zh)
Other versions
CN103713971A (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

Abstract

The management devices and the method that the present invention discloses recovery file path structure after a kind of calamity, wherein device comprises: path structure processing module intercepts to process by path unnecessary path is blocked, and removes and produces path of conflicting of the same name with other file; Data destination path molded tissue block combines path after treatment path structure processing module and the path of " saving as " operation, generates final recovery destination path; Data recovery module returns to data in the described recovery destination path of data destination path molded tissue block generation. Adopt apparatus and method of the present invention to carry out recovery operation to data 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.

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 pipe of recovery file path structure after calamityReason method.
Background technology
Along with the arrival of information age, data become the core of social normal operation more and more highlightedly. RightIn an enterprise, data affect the key of its survival and development especially, the user of every profession and trade and enterpriseDay by day strong to the dependence of network application and data message, make outburst disaster (as fire, flood,Earthquake or terrorist incident etc.) generation all can be to needing the production of enterprise or the entering of business of data supportingRow causes significant impact. Therefore, how to ensure in the time that disaster occurs, business data not to be lost, ensureSystem 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 affects business event normally move,Become affect data recover key factor, generally include two kinds of time requirements: 1) recovery time target(RTO, RecoveryTimeObjective), taking the time as unit, after disaster occurs, informationSystem or business function are from stopping to the time requirement that must recover; 2) recovery point objectives (RPO,RecoveryPointObjective),, taking the time as unit, in the time that disaster occurs, system and data mustThe time point requirement that must return to. User need to use the data of these recoveries at once after data are recovered.But because cannot ensureing the structure of data, traditional restoration methods can meet user's instructions for use. ThisIt is more outstanding that situation shows aspect the backup recovery based on file system, the datapath architecture of recoveryConventionally cannot be applied to user's use, carry out manual sorting and often need to spend a lot of time with manpower.After calamity, the fast quick-recovery of data has just lost its original meaning like this.
In order to overcome the above problems, need to provide recovery file path structure after a kind of calamity management devices andMethod, effectively manages for the file path structure of save data, to meet user's data after calamityIn recovery process, change the former demand with path structure, make user recover as early as possible to use, thereby improve dataThe efficiency of fast quick-recovery.
Summary of the invention
Technical problem to be solved by this invention is to provide the management dress of recovery file path structure after a kind of calamityPut and method, 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 pipe of recovery file path structure after a kind of calamityReason device, comprises the path structure processing module, data destination path molded tissue block and the number that connect successivelyAccording to recovering module, wherein:
Path structure processing module, for intercept by path process unnecessary path is blocked, remove withOther file produces the path of conflict of the same name;
Data destination path molded tissue block, for by path after treatment path structure processing module with " anotherSave as " operation path combine, generate final recovery destination path;
Data recovery module, for returning to data described extensive that data destination path molded tissue block generatesIn multiple destination path.
Further, this device also comprises the data source judgement processing mould being connected with path structure processing modulePiece, judges for the platform to data source, if judge, data source, from LINUX platform, shouldPath structure under LINUX platform is processed into the path structure under WINDOWS platform.
Further, path structure processing module is ' ' record position and path according to current character in pathProgression, after route pointer is moved backward, if judge, path progression equals to intercept rank, and present bitPutting is catalogue, the path after surviving path progression.
Further, if the judgement of path structure processing module arrives road through tail end, and current location is catalogueAnd road is 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 pipe of recovery file path structure after a kind of calamityReason method, 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 other fileProduce the path of conflict of the same name; Path is intercepted to path after treatment to be entered with the path of " saving as " operationRow combination, generates final recovery destination path.
Further, the method also comprises: data are returned in the recovery destination path of generation.
Further, intercept by path process unnecessary path is blocked before, also comprise:
Platform to data source judges, if judge, data source, from LINUX platform, shouldPath structure under LINUX platform is processed into the path structure under WINDOWS platform.
Further, intercept to process by path unnecessary path is blocked, remove with other file and produceThe path of conflict of the same name; Specifically comprise:
Be ‘ ' record position and path progression according to current character in path, route pointer is being moved backwardAfter, if judge, path progression equals to intercept rank, and current location is catalogue, after surviving path progressionPath.
Further, intercept to process by path unnecessary path is blocked, remove with other file and produceThe path of conflict of the same name; 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 multiple file paths or a path after calamityLower multiple files. Adopt the method to carry out recovery operation to data more neatly, saving need to be wholeThe cost that the manpower of line of reasoning gauge structure and time are spent, greatly improve after calamity after fast quick-recovery data canBy property and efficiency.
Brief description of the drawings
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 flow chart of the management method embodiment of recovery file path structure after calamity of the present invention;
Fig. 3 is the flow chart that intercepts routing algorithm shown in Fig. 2 in embodiment of the method.
Detailed description of the invention
Below in conjunction with accompanying drawing and preferred embodiment, technical scheme of the present invention is at length set forth. ShouldUnderstand, the embodiment below enumerating is only for description and interpretation the present invention, and do not form the technology of the present inventionThe restriction of scheme.
As shown in Figure 1, represented the management devices embodiment of recovery file path structure after calamity of the present inventionStructure. This device comprises the path structure processing module, the data destination path molded tissue block that connect successivelyAnd data recovery module, wherein:
Path structure processing module, processes and will unnecessary path be blocked for intercepting by path, removesProduce path of conflicting of the same name with other file;
Data destination path molded tissue block, for by path after treatment path structure processing module with " anotherSave as " operation path combine, generate final recovery destination path;
Data recovery module, the recovery order generating for data being returned to data destination path molded tissue blockPath in.
Said apparatus embodiment also comprises the data source judgement processing mould being connected with path structure processing modulePiece, judges for the platform to data source, if judge, data source, from LINUX platform, shouldPath structure under LINUX platform is processed into the path structure under WINDOWS platform.
In said apparatus embodiment, path structure processing module is ' ' record according to current character in pathPosition and path progression, after route pointer is moved backward, if judge, path progression equals to intercept rank,And current location is catalogue, the path after surviving path progression.
In said apparatus embodiment, if the judgement of path structure processing module arrives road through tail end, and currentPosition 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, recovery file path structure after calamity is correspondingly also providedManagement method, 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, is to carry out path conversion process, noCarry out next step;
150~170: carry out path and intercept processing, carry out combination of paths processing, user data is recovered everywhereDestination path after reason; Going back to step 110 carries out.
In said method embodiment, carry out path and intercept and process 150 intercepting routing algorithms that adoptFlow process as shown in Figure 3, comprises the steps:
1510: judging whether to arrive path tail end, is to perform step 1560, otherwise carry out next step;
1520: judge in path that whether current character is ' ', is to carry out next step, otherwise carries out stepRapid 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 returnStep 1510 is carried out;
Count to and reach intercepting rank when path-level, can complete the location that path is blocked. A for example road warpFor c: H I J K, intercepting rank if set is 3, and after pointer arrival I when, path progression is 3,With intercept rank 3 equate, now by above c: H I remove obtain intercepting after path J K.
1560: judge whether current location is catalogue, is to carry out next step, otherwise execution step 1580;
1570: judging whether path progression is less than intercepting rank, is to carry out next step, otherwise finishFlow process;
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 manyPlant the recovery demand of path structure, carry out flexibly the data restore operation in different machine, different path, andHold 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 and needs to arrangeThe human cost of path structure and time cost, improve the availability of recovering after data greatly.

Claims (6)

1. a management devices for recovery file path structure after calamity, is characterized in that, comprises successively and connectingThe data source judging treatmenting module that connects, path structure processing module, data destination path molded tissue block andData recovery module, wherein:
Data source judging treatmenting module, judges for the platform to data source, if judge, data source is nextFrom LINUX platform, the path structure under this LINUX platform is processed into WINDOWS platformUnder path structure;
Path structure processing module, for intercept by path process unnecessary path is blocked, remove withOther file produces the path of conflict of the same name;
Data destination path molded tissue block, for by path after treatment path structure processing module with " anotherSave as " operation path combine, generate final recovery destination path;
Data recovery module, for returning to data described extensive that data destination path molded tissue block generatesIn multiple destination path.
2. according to device claimed in claim 1, it is characterized in that described path structure processing moduleBe ‘ ' record position and path progression according to current character in path, after route pointer is moved backward,If judge, path progression equals to intercept rank, and current location is catalogue, surviving path progression Hou roadFootpath.
3. according to device claimed in claim 1, it is characterized in that described path structure processing moduleIf judgement arrives road through tail end, and current location is that catalogue and road are less than intercepting rank through progression, protectsStay the path after the progression of path.
4. a management method for recovery file path structure after calamity, comprising:
The data that selection will recover and recovery object machine;
Platform to data source judges, if judge, data source, from LINUX platform, shouldPath structure under LINUX platform is processed into the path structure under WINDOWS platform;
Traversal restoration path, intercepts to process by path unnecessary path is blocked, and removes and other fileProduce the path of conflict of the same name; Path is intercepted to path after treatment to be entered with the path of " saving as " operationRow combination, generates final recovery destination path;
Data are returned in the described recovery destination path of generation.
5. in accordance with the method for claim 4, it is characterized in that, describedly intercept processing by pathUnnecessary path is blocked, removed and produce path of conflicting of the same name with other file; Specifically comprise:
Be ‘ ' record position and path progression according to current character in path, route pointer is being moved backwardAfter, if judge, path progression equals to intercept rank, and current location is catalogue, after surviving path progressionPath.
6. in accordance with the method for claim 4, it is characterized in that, describedly intercept processing by pathUnnecessary path is blocked, removed 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 CN103713971A (en) 2014-04-09
CN103713971B true 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
CN103713971A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
JP6865219B2 (en) Event batch processing, output sequencing, and log-based state storage in continuous query processing
EP2834755B1 (en) Platform for continuous graph update and computation
Zaharia et al. Discretized streams: An efficient and {Fault-Tolerant} model for stream processing on large clusters
WO2019006654A1 (en) Financial self-service equipment maintenance dispatch generation method, hand-held terminal and electronic device
CN110168580A (en) Fault-tolerant recovery system and method when using distributed system training sorter model
CN106339274A (en) Method and system for obtaining data snapshot
CN110516971A (en) Method, apparatus, medium and the calculating equipment of abnormality detection
US10824647B2 (en) Real-time prediction and explanation of sequences of abnormal events
WO2008016462A3 (en) System and method and computer readable code for visualizing and managing digital cash
CN103914776A (en) Order withdrawing processing system and method
WO2017092582A1 (en) Data processing method and apparatus
EP2535994A2 (en) Fault processing system
CN103678051B (en) A kind of online failure tolerant method in company-data processing system
CN109669931A (en) Historical data exception analysis method, system, equipment and storage medium
CN109544344B (en) Block chain transaction processing method and equipment based on DAG
CN106354566A (en) Command processing method and server
CN103780687A (en) Position-based multiple data center type cloud desktop management method
US10645155B2 (en) Scalable parallel messaging process
CN103713971B (en) The management devices of recovery file path structure and method after a kind of calamity
CN102591714B (en) Process calling method, system and application server
CN104123135A (en) Method and device for unifying background interfaces
CN101241484B (en) Double CPU protection information shared processing method based on double port RAM
CN201163399Y (en) Double-CPU protection information shared system based on double-port RAM
US10296306B2 (en) Embedded location awareness in UML modeling for mobile and IoT development
CN109960602A (en) Approaches to IM, device, equipment and medium

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.