Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Storage method for improving reliability of real-time image recording system

A recording system and real-time image technology, which is applied to the components of the TV system, image communication, input/output to the record carrier, etc., can solve problems such as data error-prone, hard disk access conflicts, cache access conflicts, etc., to improve storage reliability performance, and the effect of improving reliability

Active Publication Date: 2020-07-10
INST OF OPTICS & ELECTRONICS - CHINESE ACAD OF SCI
View PDF17 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Using multiple threads to switch and access multiple cache areas leads to complex thread operations, cache access conflicts, and data error-prone, etc. Using multiple threads to write to the disk leads to hard disk access conflicts, data is easy to lose packets, and out of order, etc.
At present, in order to solve the above problems, the real-time image recording system designs a storage bandwidth much larger than the actual data storage bandwidth, which is usually more than twice. For example, when 2GB / s data needs to be stored, it is necessary to design a 4GB / s hard disk bandwidth. Brings a big cost increase

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
  • Storage method for improving reliability of real-time image recording system
  • Storage method for improving reliability of real-time image recording system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0020] Such as figure 1 As shown, the present invention provides a method for synchronously improving the reliability of a real-time image recording system by using a circular buffer. Thread synchronization flag, write cache thread synchronization flag; read cache thread and write cache thread run at the same time; write cache thread receives the data to be recorded, and judges the location where the data needs to be written into the cache; write c...

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 provides a storage method for improving the reliability of a real-time image recording system. The storage method comprises the following steps: establishing a memory cache region, a read cache region thread, a write cache region thread, a read cache thread synchronization identifier and a write cache thread synchronization identifier when the real-time image recording system is started; receiving data required to be recorded by the cache region writing thread; writing the data into the cache region by the cache region writing thread, and updating the cache region writing threadsynchronization identifier; after recording is started, enabling the cache region reading thread to query the thread synchronization identifier to judge whether the thread synchronization identifier can be read or not; judging the position of the read data in the cache region; enabling the cache region reading thread to read out the data in the cache region and write the data into a disk; and simultaneously running the cache region reading thread and the cache region writing thread in the recording process until the recording is finished. According to the method, the problem of unreliability caused by switching of a plurality of threads in a plurality of cache intervals is avoided by adopting a method of establishing a circular cache region and synchronizing read-write caches; and the problem of unreliability caused when multiple threads are written into the disk at the same time is avoided.

Description

technical field [0001] The invention belongs to the field of image storage, especially real-time image storage. In particular, it relates to a storage method for improving the reliability of a real-time image recording system. Background technique [0002] At present, in order to ensure the real-time performance of the recording, the real-time image recording system basically adopts the establishment of multiple ping-pong buffer areas, uses multiple threads to switch and access these buffers, and simultaneously uses multiple threads to simultaneously write to the storage method of the hard disk. Using multiple threads to switch and access multiple cache areas leads to problems such as complex thread operations, cache access conflicts, and data errors. Using multiple threads to write to disks leads to hard disk access conflicts, data is prone to packet loss, and out-of-order problems. At present, in order to solve the above problems, the real-time image recording system desi...

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): G06F3/06H04N5/781
CPCG06F3/0614G06F3/0656G06F3/0676H04N5/781
Inventor 左颢睿刘佳刘云峰陆文
Owner INST OF OPTICS & ELECTRONICS - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products