Home > Software engineering >  VC how to implement a single file storage of a large number of pictures, please have done to give di
VC how to implement a single file storage of a large number of pictures, please have done to give di

Time:09-16

Recently watched a monitoring software, it first in the division to generate multiple DB files, these files to fill all space partition, the partition display is full can't write any file, so that ensure that the data is not destroyed, that the DB files start is empty, cameras snapping photos a little later write to these files, a file write full written to a file, when all the papers have been written from the first began to cover writing, implementation cycle to save pictures, write complete returns a 32-bit index code, convenient query images,
That ensures the complete images, secrecy, late again through 32 indexes through dedicated software code to read out for display images,

This is mainly to keep the photos from destruction, to ensure image integrity,

Have done so, please show the points is not much thank you very much!

CodePudding user response:

Whether fill disk first, whether in the DB with file is damaged, if encryption is not invariably linked
Personal thought can put the files in the file system (such as encryption can simply open bitblocker), file with the business systems in other parts of the contact (such as the file belongs to which position monitoring image) can put a DB if disk physical damage your DB file how an exception? And because multiple files in a db file may be lost a lost all, the backup and vice from software to hardware level there are also many of the available solutions such as raid 1 raid 6

CodePudding user response:

This is just a memory map to write documents, no
  • Related