CN102523410A - Method for writing video data and video data storage equipment - Google Patents

Method for writing video data and video data storage equipment Download PDF

Info

Publication number
CN102523410A
CN102523410A CN2011104488472A CN201110448847A CN102523410A CN 102523410 A CN102523410 A CN 102523410A CN 2011104488472 A CN2011104488472 A CN 2011104488472A CN 201110448847 A CN201110448847 A CN 201110448847A CN 102523410 A CN102523410 A CN 102523410A
Authority
CN
China
Prior art keywords
video data
raid
professional
business
buffering
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
Application number
CN2011104488472A
Other languages
Chinese (zh)
Other versions
CN102523410B (en
Inventor
夏君扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Innovation Software Technology Co., Ltd.
Shenzhen Innovation Technology Co., Ltd.
Original Assignee
CHUANGXINKE SOFTWARE TECHNOLOGY (SHENZHEN) Co Ltd
UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CHUANGXINKE SOFTWARE TECHNOLOGY (SHENZHEN) Co Ltd, UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd filed Critical CHUANGXINKE SOFTWARE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN201110448847.2A priority Critical patent/CN102523410B/en
Publication of CN102523410A publication Critical patent/CN102523410A/en
Application granted granted Critical
Publication of CN102523410B publication Critical patent/CN102523410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for writing video data and video data storage equipment. The method comprises the following steps of: according to the service classification needing to be monitored by a video monitoring system, establishing service redundant arrays of inexpensive disks (RAID) corresponding to service classification; buffering received video data in an internal memory and outputting the video data to the corresponding service RAIDs according to a service mark in the video data; monitoring I/O (Input/Output) processing time information of each service RAID and determining that the I/O processing time exceeds a pre-set frame drop time threshold value to obtain a service buffering RAID established by idle disks; and dividing the cached video data of the service and writing the divided video data into the service buffering RAID. With the adoption of the method disclosed by the invention, a frame drop rate can be reduced in the process of storing the video data.

Description

A kind of method and video data memory device that writes video data
Technical field
The present invention relates to microcomputer data processing, particularly a kind of method and video data memory device that writes video data.
Background technology
In network video monitor and control system, disposing maximum equipment is the video data memory device, headend equipment (camera) acquisition monitoring dot image; Become the digital supervision code stream through encoding compression processing, promptly video data is sent to the video data memory device through network then; The video data memory device comprises central service platform and video data memory; The video file that central service platform utilizes memory to receive writes the video data memory with the Streaming Media mode with the digital supervision code stream that receives then, and the control point image is kept in the video data memory with the Streaming Media mode in real time; When monitoring; The playback work station comes the video file stored in the reading video data memory with the Streaming Media mode again, carries out playback, to carry out Network Video Surveillance.
Extensive use along with Network Video Surveillance; Increasing large-scale even ultra-large type video monitoring system begins to occur; For example; " global eyes " and big operation class video monitoring systems such as " wide visual fields " that social face public security video monitoring system, China Telecom and China Netcom during " safe city " built pushes forward comprehensively; These video monitoring systems all are faced with the extensive access of headend equipment and the demand that the large-capacity video data centralization is transmitted, stored, and for instance, often have 2000~3000 even more a plurality of monitoring cameras in the large-scale video monitoring system; Be respectively applied for the acquisition monitoring dot image, monitoring camera generally adopts the video data file passback control point image of D1 form.Wherein, The code check of the image of video data of every road D1 form is 2Mb/s, thereby, for large-scale video monitoring system; If all monitoring cameras are in running order simultaneously and the passback video data, the required bandwidth of its transmitting video data amounts to 500~750MB/s.Like this; For central service platform; Need to guarantee the video data that receives to be write the video data memory from internal memory, just can avoid because writing speed less than inbound pacing, makes in the internal memory video data be on the increase with the speed that is not less than 500~750MB/s; Exceed the memory capacity and cause the generation of frame losing phenomenon, it is a major challenge that these data to central service platform write disposal ability.
Demand for the extensive access of satisfying headend equipment and the storage of large-capacity video data centralization; Prior art has proposed Internet video data storage device and the memory technology based on disk array; Wherein, Comparatively typically comprise: direct-connected storage (DAS, Direct-Attached Storage), storage area network (SAN, Storage Area Network), network attached storage (NAS; Network Attached Storage) and internet small computer system interface (iSCSI, Internet Small Computer Systems Interface) memory technology.Through in disk array the configuration one constant volume internal memory as buffer memory, can effectively reduce frame losing; Simultaneously, can also reduce frame loss rate through improving the memory size of central service platform.
By above-mentioned visible; The existing method that writes video data promotes the buffer memory ability through the method that improves the central service platform memory size, and is higher to the performance requirement of central service platform; Make that the central service platform structure is more complicated, cost is higher, and be not suitable for stored video data; Though and disk array disposes the internal memory of a constant volume as buffer memory, transmit at the video data volume in the face of 100,000,000 grades, can not effectively reduce frame loss rate.
Summary of the invention
In view of this, main purpose of the present invention is to propose a kind of method that writes video data, the frame loss rate when reducing the video data storage.
Another object of the present invention is to propose a kind of video data memory device, the frame loss rate when reducing the video data storage.
For achieving the above object, the invention provides a kind of method that writes video data, this method comprises:
According to the business classification that the video monitoring system needs are kept watch on, in disk array, create the professional Redundant Arrays of Inexpensive Disks RAID of corresponding professional classification;
The video data that buffer memory receives in internal memory, and, export video data to corresponding service RAID according to the service identification that comprises in the video data;
Monitor the I/O processing time information of each professional RAID, confirm that the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance, obtain this business buffering RAID that creates by idle disk;
This professional video data of buffer memory is cut apart, will be cut apart the video data that obtains and write among the professional buffering RAID.
Further comprise:
The I/O processing time of confirming professional RAID is less than the underloading time threshold that is provided with in advance, triggers this business RAID reads buffer memory from business buffering RAID video data and stores.
Further comprise:
Confirming that video data writes finishes, and obtains the storaging state information of this business RAID.
Said storaging state information comprises: the storage address information of the video data that writes at last and should the remaining storage space information of business RAID.
The said business classification of keeping watch on according to the video monitoring system needs, the professional RAID that in disk array, creates corresponding professional classification comprises:
Obtain the business classification that video monitoring system need be kept watch in advance, in disk array, create the professional RAID of corresponding professional classification according to classification quantity in advance respectively; Or
After receiving the video data of camera output, according to the service identification that carries in the video data, confirming not create has this service identification corresponding service RAID, creates this service identification corresponding service RAID.
Further comprise:
Storaging state information according to the size of the video data of buffer memory and this video data corresponding service RAID of obtaining; Be this video data memory allocated address information, and be carried at the video data that exports professional RAID to and cut apart in the video data that obtains.
Said this business buffering RAID that is created by idle disk that obtains comprises:
If confirm also to create should business corresponding service buffering RAID or, created professional buffering RAID but should business buffering RAID memory space less than the storage threshold that is provided with in advance, from the disk of free time, creating should business buffering RAID;
If confirm to have created professional buffering RAID and should be not less than the storage threshold that is provided with in advance by business buffering RAID memory space, obtain this business buffering RAID.
Store the video data of one or more business among the said professional buffering RAID.
A kind of video data memory device, this equipment comprises: video data processing module and video data memory module, wherein,
The video data processing module; Business according to the video monitoring system needs are kept watch on is classified; To video data memory module outgoing traffic classification notice; The video data that buffer memory receives in internal memory, and, export video data in video data memory module corresponding service Redundant Arrays of Inexpensive Disks RAID according to the service identification that comprises in the video data;
Monitor the I/O processing time information of each professional RAID; The I/O processing time of confirming professional RAID surpasses the frame losing time threshold that is provided with in advance; Triggering is created notice again to video data memory module outgoing traffic; And this professional video data of buffer memory cut apart, will cut apart the video data that obtains and export the business buffering RAID that creates in the video data memory module to;
The video data memory module according to the business classification notice that receives, is created the professional RAID of corresponding professional classification in disk array, the service identification according to carrying in the video data that receives writes video data among the service identification corresponding service RAID;
Business according to receiving is created notice again, from the disk of free time, creates the buffering RAID of this business, receives the video data of cutting apart, and the video data that this is cut apart is write among the professional buffering RAID.
After said video data memory module finishes, be further used for returning the storaging state information of this business RAID to the video data processing module in video data being write service identification corresponding service RAID.
Said video data processing module comprises: professional classification notification unit, internal storage location, video data output unit, I/O load monitoring unit and video data cutting unit, wherein,
Professional classification notification unit is classified according to the business that the video monitoring system needs are kept watch on, to video data memory module outgoing traffic classification notice;
Internal storage location, the video data that buffer memory receives;
The video data output unit, the service identification that comprises in the video data according to buffer memory exports video data in video data memory module corresponding service RAID;
The I/O processing time information of each professional RAID is monitored in I/O load monitoring unit, confirms that the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance, triggers and creates notice again to video data memory module outgoing traffic;
The video data cutting unit; After definite video data memory module has been created professional buffering RAID; This professional video data of buffer memory is cut apart, will be cut apart the video data that obtains and write among the business buffering RAID that creates in the video data memory module through the video data output unit.
Said video data processing module further comprises:
Video data allocations of storage addresses unit, the storaging state information according to the size of the video data of internal storage location buffer memory and this video data corresponding service RAID of obtaining is this video data memory allocated address information.
After said I/O load monitoring unit surpasses the frame losing time threshold that is provided with in advance in the I/O processing time of confirming professional RAID; Be further used for confirming the video data memory module also create should business corresponding service buffering RAID or; The business of having created cushions RAID but should business cushion the RAID memory space less than the storage threshold that is provided with in advance, triggers and creates notice again to video data memory module outgoing traffic; Created the professional RAID of buffering and should be not less than the storage threshold that is provided with in advance by business buffering RAID memory space if confirm the video data memory module, directly created the message of professional buffering RAID to the definite video data memory module of video data cutting unit output.
Said I/O load monitoring unit was further used in I/O processing time of confirming professional RAID during less than the underloading time threshold that is provided with in advance, triggered this business RAID in the video data memory module and from business buffering RAID, read corresponding video data and store.
Visible by above-mentioned technical scheme; A kind of method and video data memory device that writes video data that the embodiment of the invention provides; According to the business classification that the video monitoring system needs are kept watch on, in disk array, create the professional Redundant Arrays of Inexpensive Disks RAID of corresponding professional classification; The video data that buffer memory receives in internal memory, and, export video data to corresponding service RAID according to the service identification that comprises in the video data; Monitor the I/O processing time information of each professional RAID, confirm that the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance, obtain this business buffering RAID that creates by idle disk; This professional video data of buffer memory is cut apart, will be cut apart the video data that obtains and write among the professional buffering RAID.Like this, through monitoring the I/O processing time information of each professional RAID, behind the frame losing time threshold of the I/O processing time of confirming professional RAID above setting in advance; This professional video data of buffer memory is cut apart; To cut apart the video data that obtains and write among the professional buffering RAID,, promote the fashionable writing rate of video data write with the mode of professional RAID through parallel storage; Thereby ensure the volume space of internal memory, effectively eliminated the frame losing phenomenon.
Description of drawings
Fig. 1 is the structural representation of existing video data memory.
Fig. 2 is the structural representation of the disk array in the embodiment of the invention video data memory device.
Fig. 3 is the structural representation of embodiment of the invention video data memory device.
Fig. 4 writes the method flow sketch map of video data for the embodiment of the invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment that the present invention is done to describe in detail further below.
The existing method that writes video data; The internal memory that disposes a constant volume through disk array is as buffer memory; In the face of the video data volume transmission demand of up to a hundred million grades of large-scale video monitoring systems the time, limited internal memory be used finish after, still can cause the generation of a large amount of frame losing phenomenons.In the embodiment of the invention, consider that the video data stored capacity increases in time in the video monitoring system, in initial stage, mid-term and the middle and later periods of video monitoring system monitoring; The disk array that is used for stored video data has idle disk; Thereby, can utilize disk idle in the disk array to carry out the storage of video data, like this; Can be through the mode of parallel storage; Promote video data and write the writing rate of video data memory, thereby effectively eliminate the frame losing phenomenon, reduce frame loss rate.
Fig. 1 is the structural representation of existing video data memory.Referring to Fig. 1; The video data memory is provided with the mode of disk array, and the business classification that the video data memory is kept watch on according to video monitoring system is at a plurality of professional Redundant Arrays of Inexpensive Disks (RAID of the corresponding professional classification of disk array establishment; Redundant Arrays of Inexpensive Disks); Service identification according to carrying in the video data that receives writes corresponding service RAID respectively with classify traffic, when current business RAID memory capacity uses up; From idle disk, create the professional RAID of this classify traffic once more, and the video data of this classify traffic that will receive writes among the professional RAID that creates once more.
Fig. 2 is the structural representation of the disk array in the embodiment of the invention video data memory device.Referring to Fig. 2, similar with Fig. 1, the video data memory device is provided with the mode of disk array; Business according to video monitoring system is kept watch on is classified, at a plurality of professional RAID of the corresponding professional classification of disk array establishment, the service identification that carries in the video data according to reception; Classify traffic is write corresponding service RAID respectively, and different with Fig. 1 is that the video data memory device is also monitored the input and output (I/O of each professional RAID; Input/Output) processing time information; When the I/O processing time of confirming professional RAID surpasses the frame losing time threshold that is provided with in advance, then trigger the business buffering RAID that from idle disk, creates this classify traffic, be about to idle disk and form interim buffering RAID; And the video data of this classify traffic that will receive is cut apart; Write respectively among professional RAID (the I/O processing time surpasses the professional RAID of frame losing time threshold) and the professional buffering RAID (triggering the business buffering RAID that creates), like this, through the mode that is written in parallel to; Can satisfy the demand of large-capacity video data centralization storage, avoid the generation of frame losing phenomenon; And, utilize idle disk, need not existing video data memory device is carried out structural change, also need not to promote the memory size of video data memory device, lower to the performance requirement of video data memory device, simple in structure, cost is low.
Fig. 3 is the structural representation of embodiment of the invention video data memory device.Referring to Fig. 3, this equipment comprises: video data processing module and video data memory module, wherein,
The video data processing module; Business according to the video monitoring system needs are kept watch on is classified; To video data memory module outgoing traffic classification notice; The video data that buffer memory receives in internal memory, and, export video data in video data memory module corresponding service RAID according to the service identification that comprises in the video data;
Monitor the I/O processing time information of each professional RAID; The I/O processing time of confirming professional RAID surpasses the frame losing time threshold that is provided with in advance; Triggering is created notice again to video data memory module outgoing traffic; And this professional video data of buffer memory cut apart, will cut apart the video data that obtains and export the business buffering RAID that creates in the video data memory module to;
In the embodiment of the invention; The video data processing module also can be behind the video data that receives camera output; According to the service identification that carries in the video data; Confirm that the video data memory module do not created this service identification corresponding service RAID, create the business classification notice of this service identification corresponding service RAID to the output of video data memory module.
The video data processing module is when exporting video data; Can be further according to the storaging state information of the size of this video data and this video data corresponding service RAID of obtaining; Be this video data memory allocated address information; Be the positional information (metadata) that video data is stored in professional RAID, for example, for this video data specifies in the initial storage address information in the video data memory module.
Preferably; The video data processing module is when cutting apart the video data of buffer memory; In cutting apart the video data that obtains; Carry this and cut apart the storage address information of video data in corresponding service RAID that the back produces, so that follow-up, business cushioned video data stored writes this memory address place among the professional RAID among the RAID according to this storage address information.Like this; Set up mapping relations through business being cushioned among the RAID data block in the data blocks stored and different business RAID; The business that makes cushions the video data information that can store a plurality of business among the RAID, and promptly a professional buffering RAID can be shared use by a plurality of professional RAID.
Preferably; The video data processing module was further used in I/O processing time of confirming professional RAID during less than the underloading time threshold that is provided with in advance, triggered this business RAID in the video data memory module and from business buffering RAID, read corresponding video data and store.
The video data memory module according to the business classification notice that receives, is created the professional RAID of corresponding professional classification in disk array, the service identification according to carrying in the video data that receives writes video data among the service identification corresponding service RAID;
Business according to receiving is created notice again, from the disk of free time, creates the buffering RAID of this business, receives the video data of cutting apart, and the video data that this is cut apart is write among the professional buffering RAID.
In the embodiment of the invention; After the video data memory module finishes in video data being write service identification corresponding service RAID; Can also return the storaging state information of this business RAID to the video data processing module; The storage address information of the video data that for example, writes at last, the remaining storage space information of this business RAID etc.
As previously mentioned, distributed storage address information if the video data processing module is a video data, then the video data memory module is stored the video data that writes according to the storage address information of distributing.
Wherein, the video data processing module comprises: professional classification notification unit, internal storage location, video data output unit, I/O load monitoring unit and video data cutting unit (not shown), wherein,
Professional classification notification unit is classified according to the business that the video monitoring system needs are kept watch on, to video data memory module outgoing traffic classification notice;
Internal storage location, the video data that buffer memory receives;
The video data output unit, the service identification that comprises in the video data according to buffer memory exports video data in video data memory module corresponding service RAID;
The I/O processing time information of each professional RAID is monitored in I/O load monitoring unit, confirms that the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance, triggers and creates notice again to video data memory module outgoing traffic;
In the embodiment of the invention; After I/O load monitoring unit surpasses the frame losing time threshold that is provided with in advance in the I/O processing time of confirming professional RAID; Further confirm the video data memory module also create should business corresponding service buffering RAID or; The business of having created cushions RAID but should business cushion the RAID memory space less than the storage threshold that is provided with in advance, triggers and creates notice again to video data memory module outgoing traffic; Created the professional RAID of buffering and should be not less than the storage threshold that is provided with in advance by business buffering RAID memory space if confirm the video data memory module, directly created the message of professional buffering RAID to the definite video data memory module of video data cutting unit output.
The video data cutting unit; After definite video data memory module has been created professional buffering RAID; This professional video data of buffer memory is cut apart, will be cut apart the video data that obtains and write among the business buffering RAID that creates in the video data memory module through the video data output unit.
The video data processing module further comprises:
Video data allocations of storage addresses unit, the storaging state information according to the size of the video data of internal storage location buffer memory and this video data corresponding service RAID of obtaining is this video data memory allocated address information.
In the practical application, in cutting apart the video data that obtains, can further carry this and cut apart the storage address information of video data in corresponding service RAID that obtains.
I/O load monitoring unit further was further used in I/O processing time of confirming professional RAID during less than the underloading time threshold that is provided with in advance, triggered this business RAID in the video data memory module and from business buffering RAID, read corresponding video data and store.
In the embodiment of the invention; If the I/O processing time of professional RAID surpasses the frame losing time threshold; The load that shows this business RAID is heavier; Video data writes the transmission demand that writing rate among this business RAID can not satisfy the video data volume, will cause the frame losing phenomenon, needs to start the technical scheme of parallel storage.
If the I/O processing time of professional RAID is less than the underloading time threshold; The load that shows this business RAID is lighter; For example, be in idle condition or gently write load condition, at this moment; Can the video data that be buffered among the professional buffering RAID be carried out write operation, to recover the idle Disk State of professional buffering RAID.
Fig. 4 writes the method flow sketch map of video data for the embodiment of the invention.Referring to Fig. 4, this flow process comprises:
Step 401 according to the business classification that the video monitoring system needs are kept watch on, is created the professional RAID of corresponding professional classification in disk array;
In this step; Business according to the video monitoring system needs are kept watch on is classified; The professional RAID that in disk array, creates corresponding professional classification can be: obtain the business classification that video monitoring system need be kept watch in advance, in disk array, create the professional RAID of corresponding professional classification according to classification quantity in advance respectively.Promptly during video monitoring system, can plan its business that need keep watch on classification, create professional RAID respectively, be used for the video data that buffer memory should business for the business of each classification in planning.Certainly, in the practical application, also can be a plurality of professional RAID of each service creation, perhaps, be professional RAID of a plurality of service creations.Certainly; Also can be behind the video data that receives camera output; According to the service identification that carries in the video data; Confirm that the video data memory module do not created this service identification corresponding service RAID, create the business classification notice of this service identification corresponding service RAID to the output of video data memory module.
Step 402, the video data that buffer memory receives in internal memory, and, export video data to corresponding service RAID according to the service identification that comprises in the video data;
In this step, the video data that each camera collection is obtained writes internal memory and carries out buffer memory, then, again according to the service identification that comprises in the video data, the video data of buffer memory is write service identification corresponding service RAID store, so that follow-uply carry out playback.
Further, can also be this video data memory allocated address information, and be carried in the video data that exports professional RAID to according to the storaging state information of the size of the video data of buffer memory and this video data corresponding service RAID that obtains.
Step 403 is monitored the I/O processing time information of each professional RAID, confirms that the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance, obtains this business buffering RAID that is created by idle disk;
In this step; If the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance; The load that shows this business RAID is heavier; Video data writes the transmission demand that writing rate among this business RAID can not satisfy the video data volume, will cause the frame losing phenomenon, need take measures to improve video data and write the writing rate among this business RAID.
Preferably, obtaining this business buffering RAID that is created by idle disk comprises:
If confirm the video data memory module also create should business corresponding service buffering RAID or; The business of having created cushions RAID but should business cushion the RAID memory space less than the storage threshold that is provided with in advance, from the disk of free time, creates and should business cushion RAID;
Create professional buffering RAID and should be not less than the storage threshold that is provided with in advance by business buffering RAID memory space if confirm the video data memory module, obtained this business buffering RAID.
In the practical application, professional buffering RAID also can use special-purpose disk to form, and forms permanent buffering RAID.
Step 404 is cut apart this professional video data of buffer memory, will cut apart the video data that obtains and write among the professional buffering RAID.
In this step; To current exporting among the corresponding professional RAID, as yet not output video data cut apart; Form two parts video data, comprise that part of video data that exports among the corresponding professional RAID and write among the professional RAID a part of in addition video data according to existing mode; Promptly cut apart the video data that obtains, it is write among the professional buffering RAID.Like this, because the video data of camera collection transmission is split into two parts, write professional RAID and professional buffering RAID respectively, the mode through parallel transmission has promoted writing rate, thereby has reduced frame loss rate.Certainly, in the practical application, also can this professional video data of buffer memory be divided into more parts, and carry out write operation simultaneously.
In the practical application, in cutting apart the video data that obtains, can also carry by this and cut apart the storage address information of video data in corresponding service RAID that the back produces, promptly in the video data, comprise business datum and metadata.
In this step, can store the video data of a plurality of business among the professional buffering RAID.
Preferably, this method further comprises:
Step 405, the I/O processing time of confirming professional RAID is less than the underloading time threshold that is provided with in advance, triggers this business RAID reads buffer memory from business buffering RAID video data and stores.
In this step, when the load of professional RAID is light, the video data that is buffered among the professional buffering RAID is carried out write operation, to recover the idle Disk State of professional buffering RAID.
This method also further comprises:
Confirming that video data writes finishes, and obtains the storaging state information of this business RAID.
In this step, storaging state information comprises: the storage address information of the video data that writes at last, the remaining storage space information of this business RAID etc.
By above-mentioned visible; The method that writes video data of the embodiment of the invention and video data memory device; Through monitoring the I/O processing time information of each professional RAID; Surpass the frame losing time threshold of setting in advance in the I/O processing time of confirming professional RAID after, obtain this business buffering RAID that creates by idle disk; This professional video data of buffer memory is cut apart, will be cut apart the video data that obtains and write among the professional buffering RAID.Like this, can utilize disk idle in the disk array, carry out the storage of video data as buffering RAID; With the mode of professional RAID through parallel storage; Promote the fashionable writing rate of video data write, thereby ensure the volume space of internal memory, effectively eliminated the frame losing phenomenon; Satisfy the video data volume transmission demand of up to a hundred million grades of large-scale video monitoring systems, the frame loss rate when reducing the video data storage.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a method that writes video data is characterized in that, this method comprises:
According to the business classification that the video monitoring system needs are kept watch on, in disk array, create the professional Redundant Arrays of Inexpensive Disks RAID of corresponding professional classification;
The video data that buffer memory receives in internal memory, and, export video data to corresponding service RAID according to the service identification that comprises in the video data;
Monitor the I/O processing time information of each professional RAID, confirm that the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance, obtain this business buffering RAID that creates by idle disk;
This professional video data of buffer memory is cut apart, will be cut apart the video data that obtains and write among the professional buffering RAID.
2. the method for claim 1 is characterized in that, further comprises:
The I/O processing time of confirming professional RAID is less than the underloading time threshold that is provided with in advance, triggers this business RAID reads buffer memory from business buffering RAID video data and stores.
3. method as claimed in claim 2 is characterized in that, further comprises:
Confirming that video data writes finishes, and obtains the storaging state information of this business RAID.
4. method as claimed in claim 3 is characterized in that, said storaging state information comprises: the storage address information of the video data that writes at last and should the remaining storage space information of business RAID.
5. like each described method of claim 1 to 4, it is characterized in that, the said business classification of keeping watch on according to the video monitoring system needs, the professional RAID that in disk array, creates corresponding professional classification comprises:
Obtain the business classification that video monitoring system need be kept watch in advance, in disk array, create the professional RAID of corresponding professional classification according to classification quantity in advance respectively; Or
After receiving the video data of camera output, according to the service identification that carries in the video data, confirming not create has this service identification corresponding service RAID, creates this service identification corresponding service RAID.
6. method as claimed in claim 5 is characterized in that, further comprises:
Storaging state information according to the size of the video data of buffer memory and this video data corresponding service RAID of obtaining; Be this video data memory allocated address information, and be carried at the video data that exports professional RAID to and cut apart in the video data that obtains.
7. like each described method of claim 1 to 4, it is characterized in that said this business buffering RAID that is created by idle disk that obtains comprises:
If confirm also to create should business corresponding service buffering RAID or, created professional buffering RAID but should business buffering RAID memory space less than the storage threshold that is provided with in advance, from the disk of free time, creating should business buffering RAID;
If confirm to have created professional buffering RAID and should be not less than the storage threshold that is provided with in advance by business buffering RAID memory space, obtain this business buffering RAID.
8. method as claimed in claim 7 is characterized in that, stores the video data of one or more business among the said professional buffering RAID.
9. a video data memory device is characterized in that, this equipment comprises: video data processing module and video data memory module, wherein,
The video data processing module; Business according to the video monitoring system needs are kept watch on is classified; To video data memory module outgoing traffic classification notice; The video data that buffer memory receives in internal memory, and, export video data in video data memory module corresponding service Redundant Arrays of Inexpensive Disks RAID according to the service identification that comprises in the video data;
Monitor the I/O processing time information of each professional RAID; The I/O processing time of confirming professional RAID surpasses the frame losing time threshold that is provided with in advance; Triggering is created notice again to video data memory module outgoing traffic; And this professional video data of buffer memory cut apart, will cut apart the video data that obtains and export the business buffering RAID that creates in the video data memory module to;
The video data memory module according to the business classification notice that receives, is created the professional RAID of corresponding professional classification in disk array, the service identification according to carrying in the video data that receives writes video data among the service identification corresponding service RAID;
Business according to receiving is created notice again, from the disk of free time, creates the buffering RAID of this business, receives the video data of cutting apart, and the video data that this is cut apart is write among the professional buffering RAID.
10. equipment as claimed in claim 9; It is characterized in that; After said video data memory module finishes, be further used for returning the storaging state information of this business RAID to the video data processing module in video data being write service identification corresponding service RAID.
11. equipment as claimed in claim 10 is characterized in that, said video data processing module comprises: professional classification notification unit, internal storage location, video data output unit, I/O load monitoring unit and video data cutting unit, wherein,
Professional classification notification unit is classified according to the business that the video monitoring system needs are kept watch on, to video data memory module outgoing traffic classification notice;
Internal storage location, the video data that buffer memory receives;
The video data output unit, the service identification that comprises in the video data according to buffer memory exports video data in video data memory module corresponding service RAID;
The I/O processing time information of each professional RAID is monitored in I/O load monitoring unit, confirms that the I/O processing time of professional RAID surpasses the frame losing time threshold that is provided with in advance, triggers and creates notice again to video data memory module outgoing traffic;
The video data cutting unit; After definite video data memory module has been created professional buffering RAID; This professional video data of buffer memory is cut apart, will be cut apart the video data that obtains and write among the business buffering RAID that creates in the video data memory module through the video data output unit.
12. equipment as claimed in claim 11 is characterized in that, said video data processing module further comprises:
Video data allocations of storage addresses unit, the storaging state information according to the size of the video data of internal storage location buffer memory and this video data corresponding service RAID of obtaining is this video data memory allocated address information.
13. like claim 11 or 12 described equipment; It is characterized in that; After said I/O load monitoring unit surpasses the frame losing time threshold that is provided with in advance in the I/O processing time of confirming professional RAID; Be further used for confirming the video data memory module also create should business corresponding service buffering RAID or, created professional buffering RAID but should business buffering RAID memory space less than the storage threshold that is provided with in advance, trigger and create notice again to video data memory module outgoing traffic; Created the professional RAID of buffering and should be not less than the storage threshold that is provided with in advance by business buffering RAID memory space if confirm the video data memory module, directly created the message of professional buffering RAID to the definite video data memory module of video data cutting unit output.
14. equipment as claimed in claim 13; It is characterized in that; Said I/O load monitoring unit was further used in I/O processing time of confirming professional RAID during less than the underloading time threshold that is provided with in advance, triggered this business RAID in the video data memory module and from business buffering RAID, read corresponding video data and store.
CN201110448847.2A 2011-12-28 2011-12-28 Method for writing video data and video data storage equipment Active CN102523410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110448847.2A CN102523410B (en) 2011-12-28 2011-12-28 Method for writing video data and video data storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110448847.2A CN102523410B (en) 2011-12-28 2011-12-28 Method for writing video data and video data storage equipment

Publications (2)

Publication Number Publication Date
CN102523410A true CN102523410A (en) 2012-06-27
CN102523410B CN102523410B (en) 2014-12-10

Family

ID=46294192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110448847.2A Active CN102523410B (en) 2011-12-28 2011-12-28 Method for writing video data and video data storage equipment

Country Status (1)

Country Link
CN (1) CN102523410B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945205A (en) * 2012-10-16 2013-02-27 北京迪文科技有限公司 Storage method and device
CN103021438A (en) * 2012-12-25 2013-04-03 创新科软件技术(深圳)有限公司 Method and device for simulating writing of video data into disk arrays
CN105260138A (en) * 2015-09-30 2016-01-20 福州瑞芯微电子股份有限公司 Read/write control system and method
CN105979138A (en) * 2016-05-30 2016-09-28 努比亚技术有限公司 Video shooting apparatus and method, and mobile terminal
CN110248116A (en) * 2019-06-10 2019-09-17 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium
CN111007987A (en) * 2019-11-08 2020-04-14 苏州浪潮智能科技有限公司 Memory management method, system, terminal and storage medium for raid io

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878301A (en) * 2006-07-19 2006-12-13 杭州华为三康技术有限公司 Video monitoring data storage managing method and system
CN101674444A (en) * 2009-10-15 2010-03-17 杭州华三通信技术有限公司 Storage method of video data, system and encoder thereof
CN102096636A (en) * 2009-12-15 2011-06-15 杭州华三通信技术有限公司 Data storage management method and data storage management device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878301A (en) * 2006-07-19 2006-12-13 杭州华为三康技术有限公司 Video monitoring data storage managing method and system
CN101674444A (en) * 2009-10-15 2010-03-17 杭州华三通信技术有限公司 Storage method of video data, system and encoder thereof
CN102096636A (en) * 2009-12-15 2011-06-15 杭州华三通信技术有限公司 Data storage management method and data storage management device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945205A (en) * 2012-10-16 2013-02-27 北京迪文科技有限公司 Storage method and device
CN103021438A (en) * 2012-12-25 2013-04-03 创新科软件技术(深圳)有限公司 Method and device for simulating writing of video data into disk arrays
CN105260138A (en) * 2015-09-30 2016-01-20 福州瑞芯微电子股份有限公司 Read/write control system and method
CN105979138A (en) * 2016-05-30 2016-09-28 努比亚技术有限公司 Video shooting apparatus and method, and mobile terminal
CN110248116A (en) * 2019-06-10 2019-09-17 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium
CN110248116B (en) * 2019-06-10 2021-10-26 腾讯科技(深圳)有限公司 Picture processing method and device, computer equipment and storage medium
CN111007987A (en) * 2019-11-08 2020-04-14 苏州浪潮智能科技有限公司 Memory management method, system, terminal and storage medium for raid io

Also Published As

Publication number Publication date
CN102523410B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN102523410B (en) Method for writing video data and video data storage equipment
CN104462563B (en) A kind of file memory method and system
CN102790686B (en) Log data acquisition method, system and server
CN102024044B (en) Distributed file system
CN101453489B (en) Network additive storage device, data backup and data restoration method thereof
CN104272274A (en) Data processing method and device in distributed file storage system
CN101674444A (en) Storage method of video data, system and encoder thereof
CN104284162A (en) Video retrieval method and system
CN102298547A (en) Data backup method and device
CN104216835A (en) Method and device for implementing memory fusion
CN103051671A (en) Repeating data deletion method for cluster file system
CN102982182A (en) Data storage planning method and device
CN103823807A (en) Data de-duplication method, device and system
CN103023996A (en) Cloud data storage system
CN106161637A (en) A kind of cloud backup method and device
CN103049540A (en) Method and device for burning large files
CN103164528A (en) Index establishing method for audio/video data
CN104408109A (en) Alarm video recording method and device
CN105975401A (en) Sequential writing and quick recovery system and method of vehicle-mounted disk
CN102457695B (en) Digital hard disc video recorder and digital hard disc video recorder take out frame backup method
CN102883143B (en) A kind of method adjusting RAID array buffer memory
CN109686072B (en) Data acquisition system for disaster monitoring points
CN113656364B (en) Sensor data processing method, device and computer readable storage medium
CN104408380A (en) A method for a mass data secure storage technology
CN102164174A (en) Internal memory transferring method for high-capacity data

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518057 Shenzhen Software Park, No. 9, 501, 502, Science and Technology Middle Road, Nanshan District, Shenzhen City, Guangdong Province

Co-patentee after: Shenzhen Innovation Software Technology Co., Ltd.

Patentee after: Shenzhen Innovation Technology Co., Ltd.

Address before: 518057 Shenzhen Software Park, No. 9, 501, 502, Science and Technology Middle Road, Nanshan District, Shenzhen City, Guangdong Province

Co-patentee before: Chuangxinke Software Technology (Shenzhen) Co., Ltd.

Patentee before: UIT Storage Technology (Shenzhen) Co., Ltd.