Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Pending Publication Date: 2020-11-10
TAIKANG LIFE INSURANCE CO LTD
View PDF16 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a method and equipment for file reorganization, which are used to solve the problems of the existing file reorganization methods that require a long shutdown execution window and low efficiency of file reorganization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File recombination method and device
  • File recombination method and device
  • File recombination method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a file recombination method and device, which are applied to a business server, and the method comprises the following steps: in response to a file reorganization instruction, obtaining a current source file so as to carry out mirror image backup on the source file to obtain a static source file; obtaining a target file obtained by recombining the service data in the staticsource file, and a mapping file generated according to the position of the service data in the static source file and the target file; in response to a file updating instruction, obtaining an updatinglog for recording the change information of the current source file relative to the static source file; and correspondingly updating the business data in the target file according to the updating logand the mapping file, and replacing the current source file with the updated target file when updating is determined to be completed. According to the file recombination method and device, the problems that an existing file recombination method needs a long shutdown execution window, and file recombination efficiency is low are solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for file reorganization. Background technique [0002] At present, in order to improve the quality of business services, the core servers of some business systems need to provide services to the outside world without interruption, resulting in less and less maintenance time windows for core servers. However, due to some conditions of the server's operating system and application programs, it is necessary to regularly perform maintenance operations on the server's database files. [0003] At present, the application program specifies that the upper limit of some physical file records is 1 billion, and the operating system stipulates that the upper limit of physical file records is 4.2 billion. For database files that are about to reach the upper limit, archiving operations are required, that is, data that meets certain conditions are transferred to other dat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/16G06F16/18G06F16/23G06F11/14
CPCG06F16/16G06F16/162G06F16/1815G06F16/23G06F11/1458
Inventor 付春玉
Owner TAIKANG LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products