A kind of high in the clouds data reconstruction method and system
Technical field
The present invention relates to the Computer Applied Technology field, more particularly, relate to a kind of high in the clouds data reconstruction method and system.
Background technology
When the file data in local computer is destroyed, generally be the client software that recovers through at local installation data, accomplish data in this locality and recover.Adopt this method need download and install corresponding data and recover software, data recovery function receives the restriction of certain system platform, can recover to cause certain difficulty to data like this.And accomplish data in this locality and recover to increase local calculated amount, consume ample resources, and to have data to write fashionable when this locality, may cause former data to be capped, thereby can't recover former data file.In addition, after the data recovery is accomplished in this locality, data recovered is not had long-term backup, when being destroyed once more, then possibly cause loss of data.
Summary of the invention
The technical matters that the present invention will solve is, to the above-mentioned defective of prior art, provides a kind of and need not recover software, reduce local calculated amount at local installation data, and convenient easy-to-use high in the clouds data reconstruction method and system.
The technical solution adopted for the present invention to solve the technical problems is:
Construct a kind of high in the clouds data reconstruction method, may further comprise the steps:
The webpage that is used to recover the different-format file data of A, local device access preset, and show the data of said webpage at local device;
B, high in the clouds equipment obtain the scanning restore instruction through said webpage, the scanning of home disk;
C, the file data that said high in the clouds equipment receives and analysis scan arrives are pressed the listed files that different file layout generations need recovery, and said listed files is sent to said local device;
D, said high in the clouds equipment obtain the data restore instruction from local device through said webpage, and recover according to the file data of said data restore instruction to corresponding format in the said listed files;
File data after E, said high in the clouds equipment will recover is sent to said local device.
High in the clouds of the present invention data reconstruction method, wherein, said step B comprises step:
B1, obtain scanning restore instruction from local device through said webpage;
B2, according to said scanning restore instruction, trigger preset medium local disk scanned, said medium is arranged on said local device and is used for the instrument to local disk scanning;
B3, said local device send to said high in the clouds equipment with the file data that scans.
High in the clouds of the present invention data reconstruction method, wherein, said step C comprises step:
C1, the condition code and the binary data of different-format file in the file data that scans mated;
C2, write out the successful binary file of coupling stream, the different-format file that is matched with demonstration through function;
C3, need the listed files of recovery by different file layout generation;
C4, said listed files is sent to said local device.
High in the clouds of the present invention data reconstruction method, wherein, said step C also comprises step:
The different-format file that C5, preservation are matched.
High in the clouds of the present invention data reconstruction method, wherein, said step D comprises step:
D1, obtain data restore instruction, comprise the file layout information of required recovery in the said data restore instruction from said local device through said webpage;
D2, call the data recovery module that is used to recover corresponding format and carry out the file data of corresponding format and recover.
The present invention also provides a kind of high in the clouds data recovery system, comprises local device and high in the clouds equipment, and wherein, said local device comprises:
The web page access module is used for the webpage that recover the different-format file data of access preset, and in local device, shows the data of said webpage;
Said high in the clouds equipment comprises:
Scan module is used for obtaining the scanning restore instruction through said webpage the scanning of home disk;
Analysis module is used to receive and the file data that arrives of analysis scan, needs the listed files of recovery by different file layout generation, and said listed files is sent to said local device;
Data recovery module is used for obtaining the data restore instruction from local device through said webpage, and recovers according to the file data of said data restore instruction to corresponding format in the said listed files;
Data transmission blocks is used for the file data after recovering is sent to said local device.
High in the clouds of the present invention data recovery system, wherein, said scan module comprises:
The scan instruction acquiring unit is used for obtaining the scanning restore instruction from local device through said webpage;
Trigger element is used for according to said scanning restore instruction, triggers preset medium local disk is scanned, and said medium is arranged on said local device and is used for the instrument to local disk scanning;
Said local device sends to said high in the clouds equipment with the file data that scans.
High in the clouds of the present invention data recovery system, wherein, said analysis module comprises:
The format match unit is used for the condition code and the binary data of the file data different-format file that scans are mated;
The file display unit is used for writing out the successful binary file stream of coupling through function, to show the different-format file that is matched;
The listed files generation unit is used for producing the listed files that needs recover by different file layouts;
The listed files transmitting element is used for said listed files is sent to said local device.
High in the clouds of the present invention data recovery system, wherein, said analysis module also comprises:
File is preserved the unit, is used to preserve the different-format file that is matched.
High in the clouds of the present invention data recovery system, wherein, said data recovery module comprises:
The restore instruction acquiring unit is used for obtaining the data restore instruction from said local device through said webpage, comprises the file layout information of required recovery in the said data restore instruction;
The restore funcitons call unit is used to call the data recovery module that is used to recover corresponding format and carries out the file data of corresponding format and recover.
Beneficial effect of the present invention is: through adopting high in the clouds data reset mode; Utilize the data recovery function of webpage to carry out the data recovery; Make that client data need be installed in this locality recovers software, directly can realize that through accessed web page file data recovers, the process of analyzing data and restore data can adopt the service end (for example server) that is installed with this high in the clouds data reconstruction method or system to carry out; Can reduce local calculated amount, reduce local computational burden.And high in the clouds of the present invention data reconstruction method and system be not limited to system platform, offers help to the user with service manner, and be convenient easy-to-use.
Description of drawings
To combine accompanying drawing and embodiment that the present invention is described further below, in the accompanying drawing:
Fig. 1 is the high in the clouds data reconstruction method process flow diagram of preferred embodiment of the present invention;
Fig. 2 is the high in the clouds data recovery system theory diagram of preferred embodiment of the present invention;
Fig. 3 is a scan module theory diagram in the high in the clouds data recovery system of preferred embodiment of the present invention;
Fig. 4 is an analysis module theory diagram in the high in the clouds data recovery system of preferred embodiment of the present invention;
Fig. 5 is a data recovery module theory diagram in the high in the clouds data recovery system of preferred embodiment of the present invention.
Embodiment
The high in the clouds data reconstruction method flow process of preferred embodiment of the present invention is as shown in Figure 1, and this method S100 can be fixedly arranged in the server, also can be arranged at other open data platforms.This method S100 starts from step S101.
In step S102, local device (being local computer etc.) accessed web page, and in the data of local device display web page.Wherein, the webpage of being visited is the preset webpage that is used to recover the different-format file data, and the user is through the preset webpage of the above-mentioned appointment of domain name access, and local computer gets access to the data of named web page through browse request, and shows.The webpage that is used to recover the different-format file data can comprise following function: be used to recover text, be used to recover picture file, be used to recover video file or be used to recover document files or the like.Carry out data through the data recovery function that utilizes webpage and recover, make and need client software be installed, directly can realize that through accessed web page file data recovers, and has made full use of Internet resources in this locality.
In step S103, high in the clouds equipment obtains the scanning restore instruction through webpage, the scanning of home disk.Particularly, the function button that the user provides through the operation web page interface, for example deleted data scanning; Depth data scanning, formatted data scanning, data are recovered; Data backup etc.; When the user clicked the depth data scan button, high in the clouds equipment (being high in the clouds server etc.) just can get access to the scanning restore instruction from local device, triggers preset medium then local disk is scanned.Scan mode can be to be that unit subregion or disk cluster are that unit scans with the disk sector, until last sector of disk or last cluster.Should preset medium be a kind of instrument that can be implemented in high in the clouds equipment end visit local disk wherein; When the user uses for the first time; It possibly installed through browser; Also can be loaded into this locality through other modes, can directly insert the USB flash disk that has this function such as the user, also might be to call certain system service or the like.For client data recovery software was installed, preset medium was more simple and convenient in local device, and is not limited to system platform.
In step S104, the file data that high in the clouds equipment receives and analysis scan arrives is pressed the listed files that different file layout generations need recovery, and listed files is sent to local device.Wherein analytic process and traditional client software are similar; The accessed data of high in the clouds equipment are binary data normally; The process of analyzing is exactly according to the distinctive condition code of some files; In binary data, mate then, mate the binary file stream that successfully just has been equivalent to find a specific format, afterwards as long as just write out and to have shown through function.Specifically comprise: a, the condition code and the binary data of different-format file in the file data that scans mated; The condition code of promptly utilizing the different-format file compares with the binary data that is scanned, if comparing result is identical, then think this condition code the file of corresponding form, promptly mate successfully, realize format classification successively to the file data that scans; B, write out the successful binary file of coupling stream through function, with the different-format file that demonstration is matched, the concrete function that adopts can repeat no more at this with reference to prior art; C, need the listed files of recovery by different file layout generation; D, the listed files that is produced is sent to local device.
Through above analytic process; High in the clouds equipment just can be found out corresponding file one by one from the scan-data that gets access to; Return the corresponding file tabulation, and the user can choose corresponding recovery option as required at the listed files after viewing analysis on the page; As recover picture file, document files, audio-video document, full recovery etc., carry out data then and recover.The process that to analyze data like this adopts high in the clouds equipment to carry out, and can reduce local calculated amount, reduces local computational burden.Can also as required the corresponding file that is matched be kept on the equipment of high in the clouds simultaneously,, remedy the defective that client data recovers software to carry out long-term data backup.
In step S105, high in the clouds equipment obtains the data restore instruction from local device through webpage, and recovers according to the file data of data restore instruction to corresponding format in the listed files.Can multiple selection be provided to the user like this; Recover the file of different-format; Specifically comprise: e, obtain data restore instruction from this locality; Wherein comprise the file layout information of required recovery in the data restore instruction, for example need recover picture file, document files or audio-video document etc.; F, call the data recovery module that is used to recover corresponding format in the webpage of being visited; The data recovery module that g, utilization are called is recovered the file data of corresponding format.That is, go corresponding data recovery module on the invoking web page again according to user's different demands, the process of specifically calling can repeat no more at this according to module invokes mode in the prior art.Utilized the webpage end to carry out data like this and recovered, multiple different client side data need be installed in this locality again recover software.Process with restore data adopts high in the clouds equipment to carry out simultaneously, can reduce local calculated amount, reduces local computational burden.
In step S106, the file data after high in the clouds equipment will recover is sent to local device.Can accomplish the recovery that this locality is damaged file data like this.Because most work all is that equipment is accomplished beyond the clouds; Significantly reduced the work of local user's end; Also saved the resource of local user's end, realized fully recovering the sophisticated functions that software will be accomplished to common client data, only accomplished alternately through webpage.The user only need pass through the domain name access webpage, and a certain function that selected then web interface provides realizes that data recover, and occurs with the mode of service-user, and high in the clouds equipment also can keep user's data.This a kind of mode can be fine as the remedying of desktop client end data software, also met the trend of high in the clouds services development.
Above-mentioned high in the clouds data reconstruction method S100 ends at step S107.
In a further embodiment; As shown in Figure 2; The present invention also provides a kind of high in the clouds data recovery system 000; This high in the clouds data recovery system 000 comprises local device 100 and high in the clouds equipment 200, and this high in the clouds equipment 200 can be fixedly arranged in the server, also can be arranged at other open data platforms.Particularly, local device 100 comprises web page access module 110, is used for the webpage that recover the different-format file data of access preset, and in local device the data of display web page; Concrete access mode can be that the domain name through user's input conducts interviews to corresponding web page through browser, and the webpage that is used to recover the different-format file data can comprise following function: be used to recover text, be used to recover picture file, be used to recover video file etc.; High in the clouds equipment 200 comprises: scan module 220; Be used for obtaining the scanning restore instruction through webpage; Scanning of home equipment 100 (local computer) disk, scan mode can be to be that unit subregion or disk cluster are that unit scans with the disk sector, until last sector of disk or last cluster; Analysis module 230 is used to receive and the file data that arrives of analysis scan, needs the listed files of recovery by different file layout generation, and listed files is sent to local device 100; Data recovery module 240 is used for obtaining the data restore instruction from local device 100 through webpage, and recovers according to the file data of data restore instruction to corresponding format in the listed files; Data transmission blocks 250 is used for the file data after recovering is sent to local device 100.Carry out data through the data recovery function that utilizes webpage like this and recover, make and need client software be installed, directly can realize that through accessed web page file data recovers at local device 100.And because the process of data and restore data of analyzing adopts high in the clouds equipment to carry out, can reduce local device 100 calculated amount, reduce local device 100 computational burden.
In embodiment further, as shown in Figure 3, the scan module 220 in the above-mentioned high in the clouds data recovery system 000 comprises: scan instruction acquiring unit 221 is used for obtaining the scanning restore instruction from local device 100 through webpage; Trigger element 222; Being used for triggering preset medium local device 100 disks being scanned according to the scanning restore instruction, should preset medium be that a kind of high in the clouds data recovery system 000 end that can be implemented in is (when this high in the clouds data recovery system 000 is fixedly arranged on server wherein; The finger server end) instrument of visit local disk; When the user used for the first time, it possibly installed through browser, also can be loaded into local device 100 through other modes; Can directly insert the USB flash disk that has this function such as the user, also might be to call certain system service or the like.Particularly, the function button that the user provides through the operation web page interface, for example deleted data scanning; Depth data scanning, formatted data scanning, data are recovered; Data backup etc.; When the user clicked the depth data scan button, the scan module 220 of high in the clouds data recovery system 000 just can get access to a scanning restore instruction from local device 100, triggers preset medium then local device 100 disks are scanned.For client data recovery software is installed, more simple and convenient at local device 100 preset media, and be not limited to system platform.
High in the clouds equipment 200 in the above-mentioned high in the clouds data recovery system 000; Analytic process and traditional client data recover software class seemingly; The accessed data of high in the clouds equipment 200 are binary data normally, and the process of analysis is exactly according to the distinctive condition code of some files, in binary data, matees then; Mate the binary file stream that successfully just has been equivalent to find a specific format, afterwards as long as just write out and to have shown through function.
In embodiment further; As shown in Figure 4; Analysis module 230 in the above-mentioned high in the clouds equipment 200 comprises: format match unit 231, be used for the condition code and the binary data of the file data different-format file that scans are mated, and promptly utilize the condition code of different-format file and the binary data that is scanned to compare; If comparing result is identical; Then think this condition code the file of corresponding form, promptly mate successfully, realize format classification successively to the file data that scans; File display unit 232 is used for writing out the successful binary file stream of coupling through function, and to show the different-format file that is matched, the concrete function that adopts can repeat no more at this with reference to prior art; Listed files generation unit 233 is used for producing the listed files that needs recover by different file layouts; Listed files transmitting element 234 is used for the listed files that is produced is sent to local device 100.
Through above analytic process; High in the clouds equipment 200 just can be found out corresponding file one by one from the scan-data that gets access to; Return corresponding file and tabulate, and the user can choose the recovery option of corresponding different-format file as required at the listed files after viewing analysis on the display interface to local device 100; As recovering picture file, document files, audio-video document, full recovery etc., equipment 200 pairs of corresponding file datas in high in the clouds carry out the data recovery then.The process that to analyze data like this adopts high in the clouds equipment 200 to carry out, and can reduce local device 100 calculated amount, reduces local computational burden.
Preferably, as shown in Figure 4, above-mentioned analysis module 230 also comprises file preservation unit 235, is used to preserve the different-format file that is matched.Can as required the corresponding file that is matched be kept on the high in the clouds equipment 200 like this; When this high in the clouds equipment 200 is fixedly arranged on server; The document data saving that is soon matched to carry out long-term data backup, remedies the defective that client data recovers software on server.
In embodiment further; As shown in Figure 5, the data recovery module 240 in the above-mentioned high in the clouds equipment 200 comprises: restore instruction acquiring unit 241 is used for obtaining the data restore instruction from local device 100 through webpage; The file layout information that comprises required recovery in the data restore instruction; Comprise picture file, document files or audio-video document etc., can multiple selection be provided to the user like this, recover the file of different-format; Restore funcitons call unit 242; Being used for data recovery module that invoking web page is used to recover corresponding format carries out the file data of corresponding format and recovers; Promptly; Go corresponding data recovery module on the invoking web page again according to user's different demands, the process of specifically calling can repeat no more at this according to module invokes mode in the prior art; Utilized the client data of webpage to recover module like this; Multiple different data need be installed in this locality again recover software; The process of simultaneously data being recovered adopts high in the clouds equipment 200 to carry out, and can reduce local device 100 calculated amount, reduces local device 100 computational burden.
To the situation of existing market, above-mentioned high in the clouds data reconstruction method and high in the clouds data recovery system can occur with two kinds of application modes.The first, with the data, services form appearance of enterprises end, specialty provides business such as data recovery, forms the solution of a cover enterprise-level; The second, present high in the clouds open platform is more and more, like Baidu's open platform, the Q+ of Tengxun platform, and Sina's microblogging platform, therefore Facebook open platforms etc. can occur with the application software of these platforms.
In sum; High in the clouds of the present invention data reconstruction method and system utilize the data recovery function of existing webpage to carry out the data recovery through adopting high in the clouds data reset mode, make and need client software be installed in this locality; Directly can realize that through accessed web page file data recovers; And the process of analyzing data and restore data can adopt the service end (like server) that is installed with this high in the clouds data reconstruction method or system to carry out, and therefore can reduce local calculated amount, reduces local computational burden.And high in the clouds of the present invention data reconstruction method and system be not limited to system platform, offers help to the user with service manner, and be convenient easy-to-use, can also can carry out long-term backup to local data when needed.
Should be understood that, concerning those of ordinary skills, can improve or conversion, and all these improvement and conversion all should belong to the protection domain of accompanying claims of the present invention according to above-mentioned explanation.