Unlock instant, AI-driven research and patent intelligence for your innovation.

File merging method and device and electronic device

An electronic device and file technology, applied in file system, file/folder operation, electronic digital data processing, etc., can solve the problems of consuming memory resources, affecting file processing results, system resource occupation, etc., so as to avoid system resource consumption Occupation, avoiding file processing results, and saving occupancy effects

Inactive Publication Date: 2017-06-16
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, each small file occupies a block (block), and the metadata of each block is stored in the memory, causing the distributed file system to consume more memory resources in the processing of small files; in addition, due to the existence of small files, the distributed When the file system uses Har files to process small files, it needs to use a special har command. Using the har command will change the code of the script, and the user needs to modify the changed script code, resulting in the occupation of additional system resources; when using Sequence Files When processing small files, the file stamps of Sequence Files will be irregularly added at the beginning and end of small files, which will affect the results of file processing

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 merging method and device and electronic device
  • File merging method and device and electronic device
  • File merging method and device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0051] In order to solve the problems in the prior art, the embodiments of the present invention provide a file merging method, device and electronic equipment. A file merging method provided by an embodiment of the present invention will firstly be described in detail below.

[0052] figure 1 The first schematic flowchart of the file merging method provided by the embodiment of the present invention may include:

[0053] S101: Determine that the target system cl...

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 embodiment of the invention discloses a file merging method and device and an electronic device. The file merging method includes the steps that folders which are smaller than first preset files and contained in a target system cluster are determined; files smaller than the first preset files in the folders are determined; the determined files are merged; the determined files are deleted. The file merging method and device and the electronic device in the embodiment are applied, small files are merged and deleted, and under the normal condition, storage space occupied by the merged files are smaller than storage space occupied by files before being merged, and occupying of the storage space is saved; in addition, small files do not exist in a system, file accessing is carried out without a special instruction, then script codes do not need to be modified, occupying of additional system resources is avoided, the file processing result is also not influenced, and occurrence of influencing on the file processing result is avoided.

Description

technical field [0001] The invention relates to the technical field of distributed file system clusters, in particular to a file merging method, device and electronic equipment. Background technique [0002] A distributed file system means that the physical storage resources managed by the file system are not necessarily directly connected to the local node, but are connected to the node through a computer network. The design of the distributed file system is based on the client / server model. A typical network may include multiple servers accessed by multiple users. [0003] Typically, there will be small files in a distributed file system. [0004] However, each small file occupies a block (block), and the metadata of each block is stored in the memory, causing the distributed file system to consume more memory resources in the processing of small files; in addition, due to the existence of small files, the distributed When the file system uses Har files to process small...

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): G06F17/30
CPCG06F16/16G06F16/1727G06F16/1748G06F16/182
Inventor 沈巧志
Owner BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD