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

File operation method and apparatus

A file operation and file name technology, applied in file/folder operation, file system, file access structure, etc., can solve the problems of discontinuous data page storage space, large memory space, and high overhead, so as to reduce system overhead, The effect of saving memory resources

Active Publication Date: 2016-05-04
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the above-mentioned method is used to operate the file, on the one hand, because the index occupies a large memory space, the overhead in the process of operating the file is relatively large, thereby increasing the system overhead of the entire embedded system
On the other hand, due to the discontinuity in the storage space between the data pages of the file, it is impossible to dynamically load the executable file of the third-party application

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 operation method and apparatus
  • File operation method and apparatus
  • File operation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0022] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0023] figure 1 An exemplary system architecture 100 to which embodiments of the file operating method or file operating apparatus of the present application can be applied is shown.

[0024] Such as figure 1 As shown, the system architecture 100 may include terminal devic...

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 discloses a file operation method and apparatus. An embodiment of the method comprises the steps of receiving an operation request for a target file; based on a file name and a data page identifier, obtaining index information associated with an address of a storage space of a data page, wherein the index information is stored in an in-chip memory of a processor used for executing a machine instruction corresponding to operation; and based on the index information, finding out the data page and executing the operation of the data page. The file is operated by the index stored in the in-chip memory, so that the memory overhead of access to the index is equivalent to zero, the memory resources are saved, and the system overhead is reduced.

Description

technical field [0001] The present application relates to the field of computers, in particular to the field of file systems, and in particular to a file operation method and device. Background technique [0002] In an embedded device, operations on files are performed through an embedded file system. In the existing embedded file system, the file is usually stored in a log structure, that is, the index and file data are stored in the file at the same time, and the data pages of the file are not continuous in storage space. When operating on the file, the method adopted is: find out the data page through the index, and perform the operation in units of the data page. [0003] However, when the above method is used to operate the file, on the one hand, because the index occupies a large memory space, the overhead in the process of operating the file is relatively large, thereby increasing the system overhead of the entire embedded system. On the other hand, since the data p...

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/1847G06F16/13G06F16/137G06F16/182G06F16/51G06F16/2255G06F16/9014G06F11/1435
Inventor 段炼周华王庆兴张国华苏皓潘海军
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD