CN102880431A - Local storage method and device capable of implementing high capacity and high reliability - Google Patents
Local storage method and device capable of implementing high capacity and high reliability Download PDFInfo
- Publication number
- CN102880431A CN102880431A CN2012103566394A CN201210356639A CN102880431A CN 102880431 A CN102880431 A CN 102880431A CN 2012103566394 A CN2012103566394 A CN 2012103566394A CN 201210356639 A CN201210356639 A CN 201210356639A CN 102880431 A CN102880431 A CN 102880431A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- power
- processing unit
- central processing
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention discloses a local storage method and a local storage device capable of implementing high capacity and high reliability. A power supply supplies power to a central processing unit and FLASH storage equipment and supplies power to a hard disk through a power supply control circuit; the central processing unit is connected with the FLASH storage equipment and the hard disk through data buses; the central processing unit detects a network state and sends a control signal to the power supply control circuit; and the power supply control circuit controls a power supply state of the hard disk. A storage medium comprises the FLASH storage equipment for caching and at least two hard disks. The FLASH storage equipment is used as a cache and can be used for caching data in a hard disk alternative power-on response process; when the hard disks work normally, the cached data are stored in the hard disks, so that the data cannot be lost; furthermore, a plurality of hard disks alternatively execute power-on work, so that a storage scheme can be selected according to a network state and a hard disk state; and the data storage reliability is guaranteed.
Description
Technical field
The present invention relates to a kind of technical field of data storage, specifically, relate to a kind of local storage means and device that large capacity is highly reliable of realizing that can be applied to the systems such as traffic, monitoring.
Background technology
In traffic surveillance and control system and other video monitoring systems, often need to use the memory storage of larger capacity.
Take electronic police system as example, electronic police system generally is installed on traffic intersection, monitors by the traffic of camera head to traffic intersection, is back to centring system by will break rules and regulations video or picture of network in the usual situation; In the situation that unstable networks can not directly be transmitted the data of camera head collection by network, need to carry out this locality storage to data, behind network stabilization, again the data communication device of this locality storage is crossed network and send to centring system.The common requirement of electronic police system can realize 30 days memory space at least, jpeg image for 1,200 ten thousand pixels, size is about 1.5M, by 5 track 50,000 image calculation every day, need to store the 75G data volume every day, if store 30 days, needs the 2T space, consider cost, capacity limit, 3.5 cun hard disks of mechanical type of normal operation are stored.Response speed is slower but hard disk replaces in the power up read-write, is generally 15-30 second, and then the data in this section period do not have enough time to store and cause the problem of loss of data.
Simultaneously, electronic police system generally is installed on outdoor, owing to voltage instability, vibration, high ambient temperature, frequently reading and writing, working long hours and the extraneous factor such as accident power-off, the in addition not high factor of the reliability of standard machinery formula hard disk own, in outdoor bad border, the problems such as hard disk corruptions, loss of data often occur, can not realize complete monitoring to traffic conditions.
Summary of the invention
The invention provides a kind of local storage means that realizes that large capacity is highly reliable, solved the unstable incomplete technical matters of monitor data that causes of existing supervisory system data storage.
In order to solve the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of local storage means that realizes that large capacity is highly reliable,
Whether the central processing unit Sampling network is stable;
If network stabilization then is stored in data communication device on the hard disk and crosses network and be uploaded to centring system during central processing unit control real time data and the Network Abnormal, the data upload in the hard disk is complete, and the power down of central processing unit control hard disk is closed;
If Network Abnormal, the state of detection hard disk; If hard disk is in closed condition, then at first store data in the FLASH memory device, start simultaneously hard disk, select the hard disk of optimum condition, close other hard disks, to the hard disk that powers on, real-time data memory is to the hard disk that powers on the data conversion storage of FLASH memory device; If hard disk is in starting state, select the hard disk of optimum condition, close other hard disks, real-time data memory is to the hard disk that powers on.
Preferably, if hard disk is in closed condition, start hard disk simultaneously after, selecting the hard disk of optimum condition is the more hard disk of remaining space.
Preferably, if a hard disk is in starting state, then whether this hard disk is in the determination methods of optimum condition and is: the hard disk remaining space can satisfy storage in 8 hours, and power-on time less than 8 hours.
Preferably, if at least two hard disks are in starting state, selecting the hard disk of optimum condition is the more hard disk of remaining space.
For the highly reliable local storage means of the large capacity of above-mentioned realization, the present invention also provides a kind of local storage of realizing that large capacity is highly reliable, and described device comprises central processing unit, power supply, power-supplying circuit, FLASH memory device and at least two hard disks; Power supply is powered to central processing unit and FLASH memory device, and powers to hard disk by power-supplying circuit; Central processing unit joins by data bus and FLASH memory device, hard disk; Central processing unit Sampling network state also sends and controls signal to power-supplying circuit, the power supply state of power-supplying circuit control hard disk.
Preferably, described power supply is linear power supply or stabilized voltage supply.
Preferably, described power-supplying circuit is the on/off control circuit that comprises on-off element.
Preferably, described on-off element is MOSFET pipe, relay or controllable silicon.
Preferably, described FLASH memory device comprises SD card, CF card, solid state hard disc, USB flash disk or memory stick.
Compared with prior art, advantage of the present invention and good effect are: storage medium of the present invention comprises for the FLASH memory device of buffer memory and two hard disks at least, adopt the FLASH memory device as buffer memory, can be to the advanced row cache of data in hard disk alternately powers on response process, after the hard disk normal operation, be stored in the hard disk data cached again, guaranteed that data do not lose.Simultaneously, the present invention has adopted the polylith hard disk alternately to work on power, and can according to network state and disk state Selective storage scheme, guarantee the reliability of data storages.
After reading by reference to the accompanying drawings the detailed description of embodiment of the present invention, other characteristics of the present invention and advantage will become clearer.
Description of drawings
Fig. 1 is the theory diagram of the specific embodiment of the invention;
Fig. 2-Fig. 5 is the schematic diagram of specific embodiment of the invention power-supplying circuit;
Fig. 6 is the process flow diagram of the specific embodiment of the invention.
Embodiment
Exist hard disk to replace in the power up read-write response speed for local storage in existing traffic surveillance and control system and other video monitoring systems slower, data in response time are not able to do in time storage and cause loss of data, and the hard disk corruptions loss of data causes the incomplete problem of monitor data.The present invention proposes a kind of highly reliable local storage and method.
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in more detail:
Referring to shown in Figure 1, at first the highly reliable local storage of large capacity is introduced: this device comprises central processing unit, power supply, power-supplying circuit, FLASH memory device and at least two hard disks.
Power supply is to central processing unit, FLASH memory device and hard disk power supply, and wherein, hard disk is that power supply is powered to hard disk by power-supplying circuit, and central processing unit sends and controls signal to power-supplying circuit, conducting and the disconnection of control power-supplying circuit.Power supply can design according to the actual requirements, generally adopts linear power supply or stabilized voltage supply to realize.
Central processing unit mainly is responsible for data management and the power management of whole system, according to the network state that detects, when network stabilization, real time data is sent to centring system, selects corresponding storage policy to carry out this locality storage when Network Abnormal.
Central processing unit joins by data bus and FLASH memory device, hard disk; Central processing unit Sampling network state also sends and controls signal to power-supplying circuit, the power supply state of power-supplying circuit control hard disk.
The FLASH memory device mainly is for buffer memory, can be in the situation that the not response of Network Abnormal and hard disk, first with data buffer storage to the FLASH memory device, after the hard disk response, central processing unit reads the data cached and unloading of FLASH memory device to hard disk.The FLASH memory device can adopt the mobile class memory devices such as SD card, CF card, solid state hard disc, USB flash disk, memory stick.
Power-supplying circuit receives the control signal that central processing unit sends, the powering on or cut off the power supply of control hard disk; The main employing take on-off element as main on/off control circuit, wherein, on-off element can adopt MOSFET pipe, relay or controllable silicon etc.
The below introduces the storage means of the highly reliable local storage of large capacity take two hard disks as example:
Such as Fig. 2-shown in Figure 5, central processing unit can be controlled respectively powering on of two hard disks and power down by power-supplying circuit, POWERHDD1 and POWERHDD2 are respectively two control signals that central processing unit sends, and can control 12V and the 5V power supply of two hard disks by MOSFET pipe Q11, Q14, Q18, Q21.
As shown in Figure 6, whether Sampling network is stable always for central processing unit:
In the situation that network stabilization, the data upload of the hard-disc storage that central processing unit produces during with the data of current Real-time Collection and Network Abnormal is to centring system, if it is complete that the data in the hard disk have been uploaded, then the power down of central processing unit control local hard drive storage system is closed.
In the situation that the network appearance is unusual, central processing unit at first with data backup in the FLASH memory device, detect simultaneously the duty of hard disk, if working without hard disk this moment, then central processing unit sends and controls signal to power-supplying circuit, on-off element conducting in the power-supplying circuit, power supply is powered to hard disk.Central processing unit detects the store status of hard disk, selects the hard disk of optimum condition preferentially to use, and closes another road hard disk, and then the data with the FLASH memory device forward in this hard disk that powers on, afterwards with real-time data memory to this hard disk that powers on.
The system of selection of judging the hard disk optimum condition is: if the more hard disk of remaining space is preferentially selected in the first simultaneously power supply of two hard disk; If current existing hard disk is in work, if this hard disk remaining space can satisfy storage in 8 hours, and power-on time thinks then that less than 8 hours current hard disk is in optimum condition.
In sum, the present invention adopts the alternation of many hard disks, and can be according to network state and hard disk duty, the flexible choice storage scheme, simultaneously, can with the data buffer storage in the hard disk response process to FLASH equipment, after the hard disk response, be stored in the hard disk data cached again, guaranteed the integrality of storage data.Solved the unsettled problem of single hard disk in the local storage of at present large capacity, a kind of local storage scheme of high reliability is provided for electronic police system, supervisory system.
Certainly; above-mentioned explanation is not to be limitation of the present invention; the present invention also is not limited in above-mentioned giving an example, and the variation that those skilled in the art make in essential scope of the present invention, remodeling, interpolation or replacement also should belong to protection scope of the present invention.
Claims (9)
1. realize the highly reliable local storage means of large capacity for one kind, it is characterized in that:
Whether the central processing unit Sampling network is stable;
If network stabilization then is stored in data communication device on the hard disk and crosses network and be uploaded to centring system during central processing unit control real time data and the Network Abnormal, the data upload in the hard disk is complete, and the power down of central processing unit control hard disk is closed;
If Network Abnormal, the state of detection hard disk; If hard disk is in closed condition, then at first store data in the FLASH memory device, start simultaneously hard disk, select the hard disk of optimum condition, close other hard disks, to the hard disk that powers on, real-time data memory is to the hard disk that powers on the data conversion storage of FLASH memory device; If hard disk is in starting state, select the hard disk of optimum condition, close other hard disks, real-time data memory is to the hard disk that powers on.
2. the highly reliable local storage means of the large capacity of realization according to claim 1 is characterized in that: if hard disk is in closed condition, start hard disk simultaneously after, selecting the hard disk of optimum condition is the more hard disk of remaining space.
3. the highly reliable local storage means of the large capacity of realization according to claim 1, it is characterized in that: if a hard disk is in starting state, then whether this hard disk is in the determination methods of optimum condition and is: the hard disk remaining space can satisfy storage in 8 hours, and power-on time less than 8 hours.
4. the highly reliable local storage means of the large capacity of realization according to claim 1 is characterized in that: if at least two hard disks are in starting state, selecting the hard disk of optimum condition is the more hard disk of remaining space.
5. realize the highly reliable local storage of large capacity for one kind, it is characterized in that: described device comprises central processing unit, power supply, power-supplying circuit, FLASH memory device and at least two hard disks; Power supply is powered to central processing unit and FLASH memory device, and powers to hard disk by power-supplying circuit; Central processing unit joins by data bus and FLASH memory device, hard disk; Central processing unit Sampling network state also sends and controls signal to power-supplying circuit, the power supply state of power-supplying circuit control hard disk.
6. the highly reliable local storage of the large capacity of realization according to claim 5, it is characterized in that: described power supply is linear power supply or stabilized voltage supply.
7. the highly reliable local storage of the large capacity of realization according to claim 5, it is characterized in that: described power-supplying circuit is the on/off control circuit that comprises on-off element.
8. the highly reliable local storage of the large capacity of realization according to claim 7, it is characterized in that: described on-off element is MOSFET pipe, relay or controllable silicon.
9. the highly reliable local storage of the large capacity of realization according to claim 5, it is characterized in that: described FLASH memory device comprises SD card, CF card, solid state hard disc, USB flash disk or memory stick.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210356639.4A CN102880431B (en) | 2012-09-24 | 2012-09-24 | Local storage method and device capable of implementing high capacity and high reliability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210356639.4A CN102880431B (en) | 2012-09-24 | 2012-09-24 | Local storage method and device capable of implementing high capacity and high reliability |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102880431A true CN102880431A (en) | 2013-01-16 |
CN102880431B CN102880431B (en) | 2015-06-03 |
Family
ID=47481779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210356639.4A Active CN102880431B (en) | 2012-09-24 | 2012-09-24 | Local storage method and device capable of implementing high capacity and high reliability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102880431B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298470A (en) * | 2014-09-10 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Data writing method and device |
CN104965679A (en) * | 2015-07-06 | 2015-10-07 | 北京唯得科技有限公司 | Large-capacity long-term data storage and archiving system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5229850A (en) * | 1990-07-30 | 1993-07-20 | Kabushiki Kaisha Toshiba | Video monitoring system including a memory for storing and transmitting a video signal immediately following the occurrence of an event |
CN101415107A (en) * | 2007-10-19 | 2009-04-22 | 深圳中兴力维技术有限公司 | A kind of reliable multilevel medium storage method |
CN101437134A (en) * | 2008-11-29 | 2009-05-20 | 成都市华为赛门铁克科技有限公司 | Data storage method and system |
CN102375518A (en) * | 2010-08-06 | 2012-03-14 | 董建飞 | Device and method for controlling power supplies of hard disks |
-
2012
- 2012-09-24 CN CN201210356639.4A patent/CN102880431B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5229850A (en) * | 1990-07-30 | 1993-07-20 | Kabushiki Kaisha Toshiba | Video monitoring system including a memory for storing and transmitting a video signal immediately following the occurrence of an event |
CN101415107A (en) * | 2007-10-19 | 2009-04-22 | 深圳中兴力维技术有限公司 | A kind of reliable multilevel medium storage method |
CN101437134A (en) * | 2008-11-29 | 2009-05-20 | 成都市华为赛门铁克科技有限公司 | Data storage method and system |
CN102375518A (en) * | 2010-08-06 | 2012-03-14 | 董建飞 | Device and method for controlling power supplies of hard disks |
Non-Patent Citations (1)
Title |
---|
李春生: "定时关闭IDE硬盘驱动器", 《微电脑世界》, no. 7, 15 July 1996 (1996-07-15), pages 91 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298470A (en) * | 2014-09-10 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Data writing method and device |
CN104298470B (en) * | 2014-09-10 | 2016-04-27 | 腾讯科技(深圳)有限公司 | A kind of method for writing data and device |
CN104965679A (en) * | 2015-07-06 | 2015-10-07 | 北京唯得科技有限公司 | Large-capacity long-term data storage and archiving system |
CN104965679B (en) * | 2015-07-06 | 2018-09-11 | 北京唯得科技有限公司 | The long-acting storage filing system of Large Volume Data |
Also Published As
Publication number | Publication date |
---|---|
CN102880431B (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104215878B (en) | A kind of distribution line fault wave recording device and its failure wave-recording method | |
CN105138276A (en) | Data storage method and data storage system | |
CN102968360B (en) | There is storage system and the method for N+1 redundancy feature | |
CN102227131A (en) | Hot backup system of NVR and method thereof | |
CN109857239B (en) | Storage control method and device | |
CN104408109A (en) | Alarm video recording method and device | |
CN103605620B (en) | Cluster storage data protective method and device | |
US9258476B2 (en) | Automatic image-capturing system | |
US9891686B2 (en) | Throttling device power | |
KR20200003743A (en) | Cost-effective solid state disk data protection method for hot removal event | |
CN102880431B (en) | Local storage method and device capable of implementing high capacity and high reliability | |
CN101635815A (en) | Wireless vehicle-mounted USB flash drive video recording control device with hard disk backup function | |
CN109327526A (en) | Portable memory apparatus based on cloud storage | |
CN103546724A (en) | Network camera collecting-distributing redundancy storage system and storage method thereof | |
KR101200997B1 (en) | Raid controller having multi pci bus switching | |
CN103544975B (en) | A kind of guard method of vehicle-mounted hard disks | |
US8830802B2 (en) | Information recording apparatus, and control method therefor | |
CN202838299U (en) | Local-storage device with high-capacity and high-reliability | |
JP2008262393A (en) | Information processing system and its control method | |
CN203554599U (en) | Network camera collecting-distributing redundancy storage system | |
CN202841369U (en) | Video monitoring system with intelligent safe memory cell | |
CN215417536U (en) | Wide-temperature-range vehicle-mounted video data storage system | |
CN203520874U (en) | Vibration damping effect-improved vehicle-mounted hard disk video recorder apparatus | |
CN203930802U (en) | The electronic equipment of a kind of memory storage and built-in this memory storage | |
JP2014175954A (en) | Data recording device, control method thereof, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |