Data file processing method and system
A technology of data files and processing methods, which is applied in the field of communication, can solve problems such as long loading time, memory usage, and low loading efficiency, and achieve the effect of improving loading efficiency and reducing memory usage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0033] In this embodiment, description will be made from the perspective of data file processing, and the data file processing system may specifically be integrated in devices such as servers.
[0034] A method for processing a data file, comprising: obtaining a data file on a disk, wherein the data file is stored in a data structure of a shared memory; using memory mapping to load the data file into the shared memory, and performing a process on the shared memory Initialization; record data update information based on the loading process, the data update information includes the file name of the data file and first time information, the first time information is the time when the loading process is loaded; perform data file processing according to the data update information Read processing.
[0035] see Figure 1b , Figure 1b It is a schematic flowchart of the data file processing method provided by the first embodiment of the present invention. The method includes:
[...
no. 2 example
[0054] According to the method described in the first embodiment, an example will be given below for further detailed description.
[0055] The data file processing system includes: a data management module, a data usage module and an update detection module; first, the data management module has mapped the data files on the disk to the shared memory, and recorded the data update information of the process. Secondly, the data usage module also maps the data file to the shared memory according to the data update information; after the data loading is completed, the update detection module can further update and detect the disk file in real time, so that the data management module and the data reading module can perform data processing based on the data. Update and load.
[0056] The data involved in the update loading of the system includes: data files on the disk, shared memory data and recorded data update information, and a cyclic redundancy check file (CRC, Cyclic Redundanc...
no. 3 example
[0094] In order to better implement the data file processing method provided by the embodiment of the present invention, the embodiment of the present invention further provides a system based on the above data file processing method. The meanings of the nouns are the same as those in the above data file processing method, and for specific implementation details, please refer to the description in the method embodiments.
[0095] see Figure 4 , Figure 4 The schematic structural diagram of the data file processing system provided by the embodiment of the present invention may specifically include a data management module 401 and a data reading module 402 .
[0096] Wherein, the data management module 401 is used to map the data files on the disk into the shared memory, and initialize the shared memory; record data update information based on the loading process, so as to realize the loading process of the data files. It can be as follows:
[0097] The data management modul...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


