File recombination method and device
A file and device technology, applied in the computer field, can solve the problems of long shutdown execution window, low file reorganization efficiency, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0102] An embodiment of the present invention provides a file reorganization method, which is applied to a service server. Such as figure 1 As shown, the method includes:
[0103] Step S101, in response to the file reorganization instruction, obtain the current source file to perform mirror backup of the source file to obtain a static source file;
[0104] The method provided by the embodiment of the present invention is applied to the scene where a business server that provides business services for users reorganizes physical files, wherein the physical files are files that actually store business data, that is, specific corresponding files on storage media such as disks . In the process of business servers providing business services, the generation, deletion and modification of various business data are all carried out in physical files. Therefore, there may be empty business data records in the physical file, and the original stored business data in the storage space co...
Embodiment 2
[0155] refer to Figure 5 , which is a schematic flow diagram of a method for reorganizing files through a business server and a backup server provided by an embodiment of the present invention. As shown in the figure, the method flow includes:
[0156] Step S501, the service server responds to the file reorganization instruction, obtains the current source file to perform mirror backup on the source file to obtain the static source file;
[0157] Step S502, the business server sends the static source file to the backup server through a data migration method;
[0158] Step S503, the backup server receives the static source file sent by the business server, and reorganizes the business data in the static source file to obtain the target file, and generates a mapping file according to the positions of the business data in the static source file and the target file ;
[0159] Step S504, the backup server sends the target file and the mapping file to the service server;
[0160...
Embodiment 3
[0165] A file reorganization method in the present invention has been described above, and the device for executing the above file reorganization method will be described below.
[0166] see Figure 6 , an embodiment of the present invention provides a device for file reorganization, including:
[0167] The file obtaining module 601 is used to obtain the current source file in response to the file reorganization instruction, so as to perform mirror backup on the source file to obtain the static source file;
[0168] A file reorganization module 602, configured to obtain the target file obtained after reorganizing the business data in the static source file, and a mapping file generated according to the positions of the business data in the static source file and the target file;
[0169] The log obtaining module 603 is configured to obtain an update log that records the change information of the current source file relative to the static source file in response to the file up...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com