Method for reducing disk fragments
A disk fragmentation and disk technology, which is applied in the field of reducing disk fragmentation by using disk pre-allocation technology, can solve problems such as affecting the service life of the disk, cannot be subdivided, and cannot fully utilize the space information of the disk. Affect and solve the effect of the sharp drop in the writing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0015] A method for reducing disk fragmentation by disk pre-allocation technology in an NVR, comprising the steps of:
[0016] Step 1. Divide the hard disk into file blocks of a fixed size according to user configuration, initialize the file and write the file name and corresponding information into the database;
[0017] Step 2. Keep the linked list of the file usage status in the memory, and read it from the database every time the initialization is started;
[0018] Step 3. When a video needs to be recorded, find a suitable file from the file link list and start recording video data; when a certain video needs to be recorded, the recording thread queries the currently unused file from the file link list and marks it The file is in the state of writing and starts to record (it is locked by means of critical sections during access to the file linked list to ensure that only one thread can access it at the same time). If there is no unused file in the linked list, select the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com