Processing

Please wait...

Settings

Settings

Goto Application

1. CN109857548 - Storage space optimization method and device, computer device and storage medium

Office
China
Application Number 201910008236.2
Application Date 04.01.2019
Publication Number 109857548
Publication Date 07.06.2019
Publication Kind A
IPC
G06F 9/50
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
46Multiprogramming arrangements
50Allocation of resources, e.g. of the central processing unit
G06F 16/16
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
16Information retrieval; Database structures therefor; File system structures therefor
10File systems; File servers
16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
G06F 9/445
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
44Arrangements for executing specific programs
445Program loading or initiating
CPC
G06F 9/445
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
44Arrangements for executing specific programs
445Program loading or initiating
G06F 9/50
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
46Multiprogramming arrangements
50Allocation of resources, e.g. of the central processing unit [CPU]
G06F 16/16
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
16Information retrieval; Database structures therefor; File system structures therefor
10File systems; File servers
16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Applicants PING AN TECHNOLOGY (SHENZHEN) CO., LTD.
平安科技(深圳)有限公司
Inventors HAO ZHENPENG
镐振鹏
Agents 北京英特普罗知识产权代理有限公司 11015
Title
(EN) Storage space optimization method and device, computer device and storage medium
(ZH) 存储空间优化方法、装置、计算机设备及存储介质
Abstract
(EN)
The invention provides a storage space optimization method and device, a computer device and a storage medium. The method comprises: S11, generating a file storage table; S12, whether a storage instruction is received or not is judged, and if yes, the step S13 is executed; S13, obtaining unique identification information of the to-be-stored file, searching whether the unique identification information of the to-be-stored file exists in the file storage table or not, if yes, executing the step S14, and if not, executing the step S15; S14, searching whether a local storage address correspondingto the to-be-stored file exists in the file storage table or not, if yes, adding 1 to the storage frequency corresponding to the to-be-stored file in the file storage table, otherwise, storing the to-be-stored file, and setting the storage frequency corresponding to the to-be-stored file as 1 in the file storage table; and S15, storing the to-be-stored file, adding corresponding storage information of the to-be-stored file into the file storage table, and setting the storage frequency corresponding to the to-be-stored file as 1. The method and the device can solve the problem that the application program repeatedly stores the file locally.

(ZH)
本发明提供一种存储空间优化方法、装置、计算机设备及存储介质,该方法包括:S11、生成文件存储表;S12、判断是否接收到存储指令,若是,执行步骤S13;S13、获取待存储文件的唯一标识信息,并查找文件存储表中是否存在待存储文件的唯一标识信息,若是,执行步骤S14,否则执行步骤S15;S14、查找文件存储表中是否存在待存储文件对应的本地存储地址,若是,在文件存储表中,将待存储文件对应的存储次数加1,否则,存储待存储文件,并在文件存储表中,将待存储文件对应的存储次数设为1;S15、存储待存储文件,并在文件存储表中增加待存储文件的相应存储信息,其中,待存储文件对应的存储次数设为1。本发明能够解决应用程序重复存储文件于本地的问题。

Related patent documents