CN101626499B - Data storage method and data storage system - Google Patents

Data storage method and data storage system Download PDF

Info

Publication number
CN101626499B
CN101626499B CN2009101629518A CN200910162951A CN101626499B CN 101626499 B CN101626499 B CN 101626499B CN 2009101629518 A CN2009101629518 A CN 2009101629518A CN 200910162951 A CN200910162951 A CN 200910162951A CN 101626499 B CN101626499 B CN 101626499B
Authority
CN
China
Prior art keywords
data
management server
strategy
memory device
core layer
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.)
Active
Application number
CN2009101629518A
Other languages
Chinese (zh)
Other versions
CN101626499A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009101629518A priority Critical patent/CN101626499B/en
Publication of CN101626499A publication Critical patent/CN101626499A/en
Application granted granted Critical
Publication of CN101626499B publication Critical patent/CN101626499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data storage method and a data storage system. The method is applied to the data storage system which comprises an access layer, a distribution layer and a core layer. In the method and the system provided by the invention, an upper-layer server obtains storage data from lower-layer storage equipment in an active obtainment mode according to a preset policy, can firstly scan the storage data according to the preset policy and then stores the storage data so that the acquiring and the processing of the stored data become more flexible.

Description

Date storage method and system
Technical field
The present invention relates to networking technology area, relate in particular to a kind of date storage method and system.
Background technology
In the existing video monitoring system, as shown in Figure 1, mainly form by video source part, transmission and switching part, storage area, display part and control and administrative section.Each several part is formed with the introduction of operation principle following:
(1) video source part:
Be used to accomplish the input function of vision signal, video source also comprises encoder (Encoder) except comprising front end simulation apparatus for making a video recording equipment such as various fixed cameras, dome type camera, spherical camera, high-speed intelligent ball machine.
(2) transmission and switching part:
Be used to accomplish the transmission and the function of exchange of video flowing; Transmission and switching part comprise router, access switch, core switch, EPON (Ethernet Passive Optical Network, Ethernet passive optical network) transmission equipment, safety information product etc.
Because the standardization level of IP technology is high, it is simple to be widely used and to dispose, therefore replacing traditional optical transceiver transmission with IP (InternetProtocol, Internet Protocol) network is inexorable trend.IP network can possess the function of transmission and exchange simultaneously, and simultaneously, the new technology in IP field emerges in an endless stream, and all possibly promote the development of monitoring technique.Like the EPON technology, can on same optical fiber, transmit the multi-channel video image, same optical fiber is shared in a plurality of control points, thereby practices thrift the fiber deployment cost greatly, reliability and fail safe that its passive techniques of while has improved network greatly.
(3) storage area:
Be used to accomplish the memory function of video data, deepen constantly along with what monitoring was used, multitude of video information often need be carried out the storage of regular period.IP SAN (Storage Area Network, storage area network) memory technology is main selection of the prior art.Storage area comprises memory device; Major function be the received code device send over based on TCP (Transmission Control Protocol; Transmission control protocol)/IP iSCSI (internet Small Computer System Interface, Internet small computer system interface) stored video data stream and storing.
(4) display part:
Be used to accomplish the decoding and the output demonstration of vision signal, mainly comprise the monitoring decoding terminal, also comprise simulation video and audio equipments such as video wall, multimedia large-screen, sound console, power amplifier.
The monitoring decoding terminal possesses the audio decoder of looking, output and network access facility simultaneously; Clean culture/multicast IP data the bag that can head end encoder sends is decoded, and is input to simulation video and audio equipments such as video wall, large-screen, sound console, power amplifier after being reduced into the simulation video/audio signal.
(5) control and administrative section:
Be used to accomplish management and control, comprise assemblies such as video management server, data management server all watch-dogs, business.Wherein video management server is monitoring business administrative center and control centre; Authorized user can be accomplished equipment control, scheduling of resource, cradle head control and the hard decoder output control of the whole network on any PC office terminal, all control commands are focused on and sent by VM.Data management server takes out the information relevant with monitoring business as the manager of memory device from the storage device management information of complicacy, realized the centralized management of a large amount of memory devices and the dynamic assignment of storage resources in the system.
In the existing video monitoring system, playing back videos is a very important function.For the video recording of medium-and-large-sized IP supervisory control system, what mainly use is the central store mode.As shown in Figure 2; Concrete, head end encoder is through the iSCSI agreement center IP SAN that writes direct, or head end encoder is exported live code stream RTP (Real-time Transport Protocol; Real time transport protocol)/TS (Transport Stream, transmit stream) etc. writes IP SAN.Mechanism such as video recording can issue through task, incident trigger.
On the whole, for medium-and-large-sized IP supervisory control system, video process is that the mode that front end passes through Push (propelling movement) deposits the center in, video process be head end encoder initiatively, center management server only is responsible to define issuing of storage plan and video recording trigger event.
The problem that implementation of the prior art exists is:
When the quantity of front end encoder more for a long time, if, possibly cause the congested of central site network simultaneously to center P ush video recording.And for the video recording of alarm triggered, alert before video recording also extremely important, in the prior art alert before video recording can only innerly deposit buffering area and preserve, alert before the video recording storage life very short, be generally ten seconds orders of magnitude.
Summary of the invention
The present invention provides a kind of date storage method and system, is used for improving available data storage system Data Acquisition and storage means.
For achieving the above object, the present invention provides a kind of date storage method, is applied to comprise that said method comprises in the data-storage system of Access Layer, convergence-level and core layer:
Data acquisition equipment in the said Access Layer is kept at the data that collect in the memory device of Access Layer, and the memory space in the said memory device recycles;
Data management server in the said convergence-level obtains data to be stored according to first strategy that is handed down to it from the memory device of said Access Layer, and is kept in the memory device of convergence-level;
Data management server in the said core layer obtains data to be stored, and is kept in the memory device of core layer according to second strategy that is handed down to it from the memory device of said convergence-level.
Wherein, also comprise:
Center management server in the said core layer is formulated first strategy and second strategy, and is concrete:
Center management server in the said core layer is according to plan store tasks or manual store tasks; Formulate said first strategy and second strategy, make that data management server and the data management server in the said core layer in the said convergence-level stored said plan store tasks or the manual required data of store tasks respectively; And/or
When the center management server in the said core layer receives the alarm event of the data acquisition equipment transmission in the said Access Layer; Formulate said first strategy and second strategy according to the alarm event type, make that data management server and the data management server in the said core layer in the said convergence-level stored the data that the front and back special time takes place said alarm event respectively; And/or
When the center management server in the said core layer receives the storage notice of third-party analysis equipment in the said core layer; Formulate said first strategy and second strategy according to said storage notice, make that data management server and the data management server in the said core layer in the said convergence-level stored the required data of said third-party analysis equipment respectively.
Wherein, first strategy and second strategy for formulating according to different content has different execution priorities.
Wherein, also comprise:
Center management server in the said core layer receives data and has access to when asking, and in the memory device of said Access Layer, convergence-level and core layer, retrieves respectively, and the data that retrieval is obtained send to the transmit leg that said data are had access to request;
When the data that said retrieval obtains are many parts; The priority orders of the data of storing in the data of storing in the data of storing in the memory device according to Access Layer, the memory device of convergence-level, the memory device of core layer, the data that retrieval is obtained send to the transmit leg that said data are had access to request; Wherein:
The data of storing in the memory device of the data of storing in the memory device of said convergence-level with respect to said Access Layer, the retention phase is longer; The data of storing in the memory device of the data of storing in the memory device of said core layer with respect to said convergence-level, the retention phase is longer.
Wherein, also comprise:
Center management server in the said core layer is according to the quantity of the data acquisition equipment in the said Access Layer, confirms that data acquisition equipment from different Access Layers obtains the time of data and notifies data management server and the data management server in the said core layer in the said convergence-level; And/or
Center management server in the said core layer is according to network condition, confirms that data acquisition equipment from said Access Layer obtains the speed of data and notifies data management server and the data management server in the said core layer in the said convergence-level.
The present invention also provides a kind of data-storage system, it is characterized in that, is divided into Access Layer, convergence-level and core layer, comprising:
Be arranged in the data acquisition equipment and the memory device of said Access Layer, the data acquisition equipment in the said Access Layer is used for image data, and the data that this collection comes will be stored in the memory device of Access Layer, and the memory space in the said memory device recycles;
Be arranged in the data management server and the memory device of said convergence-level; Data management server in the said convergence-level; Be used for from the memory device of said Access Layer, obtaining data to be stored, and be kept in the memory device of convergence-level according to first strategy that is handed down to it;
Be arranged in the data management server and the memory device of said core layer; Data management server in the said core layer; Be used for from the memory device of said convergence-level, obtaining data to be stored, and being kept in the memory device of core layer according to second strategy that is handed down to it.
Wherein, also comprise:
Be arranged in the center management server of said core layer, the center management server in the said core layer comprises:
The policy development unit is used to formulate first strategy and second strategy, and is concrete:
According to plan store tasks or manual store tasks; Formulate said first strategy and second strategy, make that data management server and the data management server in the said core layer in the said convergence-level stored said plan store tasks or the manual required data of store tasks respectively; And/or
When receiving the alarm event of the data acquisition equipment transmission in the said Access Layer; Formulate said first strategy and second strategy according to the alarm event type, make that data management server and the data management server in the said core layer in the said convergence-level stored the data that the front and back special time takes place said alarm event respectively; And/or
When receiving the storage notice of third-party analysis equipment in the said core layer; Formulate said first strategy and second strategy according to said storage notice, make that data management server and the data management server in the said core layer in the said convergence-level stored the required data of said third-party analysis equipment respectively;
The strategy notification unit is used for first strategy that said policy development unit is formulated is sent to the data management server of said convergence-level, and second strategy that said policy development unit is formulated sends to the data management server in the said core layer.
Wherein, first strategy and second strategy that said policy development unit is formulated according to different content has different execution priorities.
Wherein, said center management server also comprises:
Have access to requesting processing, be used to receive data and have access to when asking, in the memory device of said Access Layer, convergence-level and core layer, retrieve respectively, the data that retrieval is obtained send to the transmit leg that said data are had access to request; When the data that said retrieval obtains are many parts; The priority orders of the data of storing in the data of storing in the data of storing in the memory device according to Access Layer, the memory device of convergence-level, the memory device of core layer, the data that retrieval is obtained send to the transmit leg that said data are had access to request; Wherein, the data of storing in the memory device of the data of storing in the memory device of said convergence-level with respect to said Access Layer, the retention phase is longer; The data of storing in the memory device of the data of storing in the memory device of said core layer with respect to said convergence-level, the retention phase is longer.
Wherein, said center management server also comprises:
Time is confirmed the unit; Be used for quantity, confirm that data acquisition equipment from different Access Layers obtains the time of data and notifies data management server and the data management server in the said core layer in the said convergence-level according to the data acquisition equipment of said Access Layer; And/or
Rate determination unit is used for according to network condition, confirms that data acquisition equipment from said Access Layer obtains the speed of data and notifies data management server and the data management server in the said core layer in the said convergence-level.
Compared with prior art, the present invention has the following advantages:
The top service device is according to predetermined strategy; From lower floor's memory device, obtain the storage data through the active obtain manner; The top service device is stored after can screening the storage data according to preset strategy earlier again, makes that the storage Data Acquisition is more flexible with processing.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of video monitoring system in the prior art;
Fig. 2 is that the storage of video monitoring system in the prior art realizes principle schematic;
Fig. 3 is the flow chart of date storage method among the present invention;
Fig. 4 is the sketch map that date storage method is applied to video monitoring system among the present invention;
Fig. 5 is that the storage based on third-party analysis equipment is notified the sketch map that obtains data among the present invention;
Fig. 6 is the structural representation of the center management server that is positioned at core layer that provides among the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The invention provides a kind of date storage method, be applied to comprise that this method is as shown in Figure 3, comprising in the data-storage system of Access Layer, convergence-level and core layer:
Data acquisition equipment in step s301, the Access Layer is kept at the data that collect in the memory device of Access Layer, and the memory space in the memory device is for recycling;
Data management server in step s302, the convergence-level obtains data to be stored according to first strategy that is handed down to it from the memory device of Access Layer, and is kept in the memory device of convergence-level;
Data management server in step s303, the core layer obtains data to be stored, and is kept in the memory device of core layer according to second strategy that is handed down to it from the memory device of convergence-level.
Below be example so that the method that provides among the present invention is applied to video monitoring system, the embodiment of the date storage method that provides among the present invention is described.When being applied to method provided by the invention in the video monitoring system, the whole video supervisory control system is divided into three levels.Be respectively: Access Layer, convergence-level, core layer.Wherein, as shown in Figure 4:
Access Layer comprises head end encoder (being data acquisition equipment), front-end memory and decoding terminal, and head end encoder connects camera;
Convergence-level; According to principles such as region, network condition one group of head end encoder is converged to a data management server that is positioned at convergence-level, this data management server that is positioned at convergence-level can carry out intermediate management to its subordinate's the video recording data that head end encoder produced;
Core layer, core layer comprise the data management server of center management server (being responsible for the business control and the management of whole video supervisory control system) and core layer, are used for the video recording data of whole video supervisory control system are managed.
Below at first the realization of the recording function in the video monitoring system is introduced:
In the video monitoring system of describing in the application scenarios of the present invention, storage is divided into three layers, is respectively Access Layer storage, convergence-level storage and core layer storage.
For Access Layer; Behind the coding video data that head end encoder arrives the front end camera collection; Be kept at local front-end memory such as local hard drive or CF (Compact Flash; Compact flash) card waits in the storage medium, and after the memory space of front-end memory was filled with, covering circulated from the starting position of the memory space of front-end memory.For example the CF card of a 8G can be preserved about 9 hours 2M video code flow, can guarantee to have 9 hours up-to-date video media-data in the local storage all the time.The life cycle of the video data of promptly in head end encoder, preserving is 9 hours.Encoder is open to the data management server of convergence-level and the data management server of core layer through network sharing mode (as: iSCSI, share directory etc.) with local storage.
For convergence-level, data management server is according to the first preset strategy, transfers the video media-data of Access Layer from the memory of the head end encoder that is arranged in Access Layer, and is saved in the memory device that is arranged in convergence-level; This transfers process also can be described as data management server according to the first preset strategy; The video media-data of storing in the memory to the head end encoder of Access Layer is screened, and the video media-data that meets the first preset strategy after the screening is saved in the memory device that is arranged in convergence-level.The data management server of convergence-level will be arranged in the memory space of the memory device of convergence-level and share to the data management server that is positioned at core layer through the network sharing mode.Generally; The memory space that is positioned at the data management server of convergence-level adopts the storage area network technology like IP SAN, FC (Fiber Channel; Optical-fibre channel) SAN etc.; And the retention phase of the data that the memory device that its retention phase is arranged in Access Layer is stored is long, and the retention phase core layer that is arranged in the data that the memory device of core layer stores is short.
For core layer, data management server is transferred corresponding video media-data from the memory device that is arranged in convergence-level, and is saved in the memory device of core layer according to the second preset strategy; This transfers process also can be described as data management server according to the second preset strategy; The video media-data of storing in the memory device to convergence-level is screened, and the video media-data that meets the second preset strategy after the screening is saved in the memory device that is arranged in core layer.Generally, the memory space that is positioned at the data management server of core layer adopts the storage area network technology like IP SAN, FC SAN etc.Also have center management server in the core layer, be used to formulate first strategy and second strategy, first strategy is sent to the data management server in the convergence-level, second strategy is sent to the data management server in the core layer.
Below the data management server of the convergence-level data management server according to first strategy and core layer is described according to the mode that second strategy obtains data.
(1) obtains based on the data of plan store tasks or manual store tasks
The center management server of core layer is according to plan store tasks that is provided with in advance or manual store tasks; Formulate first strategy and second strategy; First strategy is sent to the data management server in the convergence-level, second strategy is sent to the data management server in the core layer.Data management server in the convergence-level obtains plan store tasks or the manual required data of store tasks according to first strategy from the memory device of Access Layer, store in the memory device of convergence-level; Data management server in the core layer obtains plan store tasks or the manual required data of store tasks according to second strategy from the memory device of convergence-level, store in the memory device of core layer.Thereby the store tasks of hitting the target or manual store tasks.This plan store tasks or manually store tasks an instance can for: store the head end encoder of Access Layer into the memory device of convergence-level and/or the memory device of core layer in the video media-data that the special period that is provided with according to plan or administrative staff manually collect in time period of control.So first strategy that the center management server here issues and second strategy are (plan storage) strategy that is provided with according to the preset time period or (the manually storing) strategy that manually is provided with by administrative staff according to the interim time period.Data management server in the convergence-level can according to first strategy, obtain required storage in the memory device of convergence-level from the memory device of Access Layer under the situation that acquisition time arrives; Data management server in the core layer can according to second strategy, obtain required storage in the memory device of core layer from the memory device of convergence-level under the situation that acquisition time arrives.Under the situation of plan storage, the time period length under the time period length under first strategy and second strategy can equate also can not wait.Equally, under manual case, the time period length under the time period length under first strategy and second strategy also can equate or not wait.We can say that according to the time period store tasks being set is very flexibly, can be provided with according to different scene as required.
If the data management server of the data management server of convergence-level or core layer breaks down; Then after fault recovery, the data that the data management server of convergence-level and the data management server of core layer have been accomplished storage before the fault begin to continue to obtain data and store.
(2) obtain based on the data of alarm event
When the head end encoder in the Access Layer (being data acquisition equipment) detects the alarm event generation, send notice about alarm event to the center management server of core layer.When the center management server of core layer receives the alarm event of head end encoder (the being data acquisition equipment) transmission in the Access Layer; Formulate first strategy and second strategy according to the alarm event type; First strategy is sent to the data management server in the convergence-level, second strategy is sent to the data management server in the core layer.Make data management server in the convergence-level according to first strategy, before from the memory device of Access Layer, obtaining alarm event and taking place and/or the data of the special time of alarm event after taking place and being stored in the memory device of convergence-level; Make the data management server in the core layer measure, before from the memory device of convergence-level, obtaining alarm event and taking place and/or the data of the special time of alarm event after taking place and being stored in the memory device of core layer according to second.According to the alarm event type formulate first strategy and second strategy an instance can for: the video media-data that the front and back special period in the moment collected is taken place at alarm event in the head end encoder of Access Layer stores the memory device of convergence-level and/or the memory device of core layer into.First strategy and second strategy that center management server issues are according to alarm event the strategy that front and back special period constantly is provided with to take place, and the time period length under the time period length under first strategy and second strategy can equate also can be unequal.. the data management server in the convergence-level can obtain required storage in the memory device of convergence-level immediately according to first strategy from the memory device of Access Layer; Data management server in the core layer can obtain required storage in the memory device of core layer immediately according to second strategy from the memory device of convergence-level.
(3) data of notifying based on the storage of third-party analysis equipment are obtained
As shown in Figure 5; In core layer, be deployed with third-party analysis equipment (like Intelligent Recognition function, manual monitoring function); Third-party analysis equipment can directly be visited the video recording of storing in the memory device of Access Layer or directly called the real-time video recording that the head end encoder (being data acquisition equipment) in the Access Layer is being stored, and video recording is carried out intellectual analysis.Judge have important information to need to preserve if analyze the back, then notify the center management server that is arranged in core layer to carry out storage.When the center management server in the core layer receives the storage notice of third-party analysis equipment; Formulate first strategy and second strategy according to the storage notice; First strategy is sent to the data management server in the convergence-level, second strategy is sent to the data management server in the core layer.Make data management server in the convergence-level according to first strategy, from the memory device of Access Layer, obtain the required data of third-party analysis equipment and be stored in the memory device of convergence-level; Make data management server in the core layer according to second strategy, from the memory device of convergence-level, obtain the required data of third-party analysis equipment and be stored in the memory device of core layer.According to the storage of third-party analysis equipment notice formulate first strategy and second strategy an instance can for: be in staff's offhand decision of monitoring the decoding terminal place and store the head end encoder of Access Layer into the memory device of convergence-level and/or the memory device of core layer in the video media-data that certain period collected.First strategy that center management server issues is the strategy that the front and back special period according to the third-party analysis choice of equipment is provided with second strategy, and the time period length of the time period length under first strategy and second under tactful can equate also can be unequal.Data management server in the convergence-level can obtain required storage in the memory device of convergence-level immediately according to first strategy or when preset acquisition time arrives from the memory device of Access Layer; In like manner, the data management server in the core layer can obtain required storage in the memory device of core layer immediately according to second strategy or when preset acquisition time arrives from the memory device of convergence-level.
For above-mentioned first strategy and second strategy of formulating according to different situations, can formulate different execution priorities.For the higher strategy of execution priority (like the strategy of formulating according to alarm event), can carry out immediately; For the lower strategy of execution priority (like the strategy of formulating according to the plan store tasks), can, carry out pre-configured data acquisition time when arriving; For the medium strategy of execution priority, can carry out immediately as required or when pre-configured data acquisition time arrives, carry out.The execution priority of Different Strategies can realize through carrying modes such as priority indication when distributing policy.The present invention does not limit the dividing mode of tactful execution priority and the implementation of strategies mode of different execution priorities.
Below the realization of the playing back videos function in the video monitoring system is introduced:
The center management server of user in core net send to before the record a video data of content have access to request, data are had access to and are indicated head end encoder (being data acquisition equipment) and the time period that needs playback in the request.Center management server in the core net receives these data and has access to when asking, and in the memory device of Access Layer, convergence-level and core layer, retrieves respectively, and the user that data are had access to is carried out in the data request of sending to that retrieval obtains.When the data that obtain when retrieval are many parts; The priority orders of the data of storing in the data of storing in the data of storing in the memory device of center management server according to Access Layer, the memory device of convergence-level, the memory device of core layer, the data that retrieval is obtained send to the transmit leg that said data are had access to request.
Among the present invention; Center management server in the core net except be used to formulate first strategy with second when tactful; Can also be according to networking structure, network condition etc., time and the speed of the data management server in the convergence-level and the data management server in the core layer being obtained data are configured.Concrete:
(1) for the configuration of data acquisition time
When the quantity of the head end encoder in the Access Layer (being data acquisition equipment) when being a plurality of; Upload the network congestion that data cause simultaneously for fear of a plurality of head end encoder; Center management server can rationally be arranged the time of obtaining data; Realization is staggered the time and is obtained (for example: each head end encoder can keep video recording in 9 hours approximately, then can obtain the data that each head end encoder is stored in turn for the cycle in the memory device of Access Layer in 9 hours).Concrete; Center management server in the core net is according to the quantity of the data acquisition equipment in the Access Layer; Confirm that data acquisition equipment from different Access Layers obtains the time of data and notifies data management server and the data management server in the core layer in the convergence-level, the data management server of promptly controlling in the convergence-level obtains the data from different head end encoder (being data acquisition equipment) in the different time section.What the time configuration was here considered is the situation that a plurality of encoders are arranged, and the strategy of front is that example is explained with an encoder all when describing.So need consider configuration time time here as a plurality of encoders, should be noted that and aforementioned strategy between influence.Such as for alarm event, even if free configuration also can not restricted by it.So having under the situation of a plurality of encoders, will take all factors into consideration the strategy of working out to each encoder itself when center management server disposes to a plurality of encoder data acquisition times.An admissible realizing method also is provided with priority relationship between data acquisition time and strategy.
(2) obtain the configuration of speed about data
Center management server in the core net can be according to network condition, data management server disposal ability situation etc., confirms that data acquisition equipment from Access Layer obtains the speed of data and notifies data management server and the data management server in the core layer in the convergence-level.Obtain speed through suitable data is set, can avoid network and data management server disposal ability to worsen.
More than to comprise that three layers video monitoring system is an example, the embodiment of date storage method among the present invention has been described.It is understandable that; More than the division of three levels be a kind of embodiment among the present invention, according to similar mode, can the whole video supervisory control system be divided into other sandwich constructions; Its embodiment is similar with the execution mode in the three-decker, is not repeated in this description at this.In addition, the method that provides among the present invention can be applied in other scenes that relate to storage except that being applied to video monitoring system equally.
In the said method provided by the invention; The top service device is according to predetermined strategy; From lower floor's memory device, obtain the storage data through the active obtain manner; The top service device is stored after can screening the storage data according to preset strategy earlier again, makes that the storage Data Acquisition is more flexible with processing.Because the employing layering is stored and can carry out the difference setting to the retention phase of each layer storage data, therefore can guarantee to recall alarm event for alarm event the video recording of long period before takes place; If while core layer or convergence-level device fails, front end can keep the relatively long fault tolerant duration.In addition, can call the storage data that are stored in the different layers memory device as required, check the not video recording of the history in the finite time that the upper strata memory device is preserved at any time.At last,, avoided from the time that each lower floor's memory device obtains the storage data through reasonable distribution because a plurality of memory devices are uploaded network congestion and the network condition deterioration that the storage data cause simultaneously.
The present invention also provides a kind of data-storage system, is divided into Access Layer, convergence-level and core layer, and this data-storage system comprises:
Be arranged in the data acquisition equipment and the memory device of Access Layer, the data acquisition equipment in the Access Layer is used for the data that collect are kept at the memory device of Access Layer, and the memory space in the memory device is for recycling;
Be arranged in the data management server and the memory device of convergence-level, the data management server in the convergence-level is used for from the memory device of Access Layer, obtaining data to be stored according to first strategy that is handed down to it, and is kept in the memory device of convergence-level;
Be arranged in the data management server and the memory device of core layer, the data management server in the core layer is used for from the memory device of convergence-level, obtaining data to be stored, and being kept in the memory device of core layer according to second strategy that is handed down to it.
And the center management server that is arranged in core net; Center management server in the core net; Be used to formulate first strategy and second strategy, first strategy is sent to the data management server in the convergence-level, second strategy is sent to the data management server in the core layer.
As shown in Figure 6, center management server 1 comprises:
Policy development unit 10 is used to formulate first strategy and second strategy, and is concrete:
According to plan store tasks or manual store tasks, formulate first strategy and second strategy, make data management server and difference storage plan store tasks of the data management server in the core layer or the manual required data of store tasks in the convergence-level; And/or
When receiving the alarm event of the data acquisition equipment transmission in the Access Layer; Formulate first strategy and second strategy according to the alarm event type, make that data management server and the data management server in the core layer in the convergence-level stored the data that the front and back special time takes place alarm event respectively; And/or
When receiving the storage notice of third-party analysis equipment in the core net; Formulate first strategy and second strategy according to the storage notice, make that data management server and the data management server in the core layer in the convergence-level stored the required data of third-party analysis equipment respectively.
First strategy and second strategy that this policy development unit 10 is formulated according to different content has different execution priorities.
Strategy notification unit 20 is used for first strategy that policy development unit 10 is formulated is sent to the data management server of convergence-level, and second strategy that policy development unit 10 is formulated sends to the data management server in the core layer.
Have access to requesting processing 30, be used to receive data and have access to when asking, in the memory device of Access Layer, convergence-level and core layer, retrieve respectively, the data that retrieval is obtained send to the transmit leg that data are had access to request; When the data that retrieval obtains are many parts; The priority orders of the data of storing in the data of storing in the data of storing in the memory device according to Access Layer, the memory device of convergence-level, the memory device of core layer, the data that retrieval is obtained send to the transmit leg that data are had access to request.Wherein, the data of storing in the memory device of the data of storing in the memory device of convergence-level with respect to Access Layer, the retention phase is longer; The data of storing in the memory device of the data of storing in the memory device of core layer with respect to convergence-level, the retention phase is longer.
Time is confirmed unit 40, is used for the quantity according to the data acquisition equipment of Access Layer, confirms that data acquisition equipment from different Access Layers obtains the time of data and notifies data management server and the data management server in the core layer in the convergence-level; And/or
Rate determination unit 50 is used for according to network condition, confirms that data acquisition equipment from Access Layer obtains the speed of data and notifies data management server and the data management server in the core layer in the convergence-level.
In said system provided by the invention and the equipment; The top service device is according to predetermined strategy; From lower floor's memory device, obtain the storage data through the active obtain manner; The top service device is stored after can screening the storage data according to preset strategy earlier again, makes that the storage Data Acquisition is more flexible with processing.For alarm time, can guarantee to recall incident or alarm the video recording of long period before takes place; If core layer or convergence-level device fails, front end can keep relatively long appearance fault time.In addition, can call the storage data that are stored in the different layers memory device as required, check the not video recording of the history in the finite time that the upper strata memory device is preserved at any time.At last,, avoided from the time that each lower floor's memory device obtains the storage data through reasonable distribution because a plurality of memory devices are uploaded network congestion and the network condition deterioration that the storage data cause simultaneously.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, unit in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the unit in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.A unit can be merged in the unit of the foregoing description, also can further split into a plurality of subelements.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.

Claims (10)

1. a date storage method is characterized in that, is applied to comprise that said method comprises in the data-storage system of Access Layer, convergence-level and core layer:
Data acquisition equipment in the said Access Layer is kept at the data that collect in the memory device of Access Layer, and the memory space in the said memory device recycles;
Data management server in the said convergence-level obtains data to be stored according to first strategy that is handed down to it from the memory device of said Access Layer, and is kept in the memory device of convergence-level;
Data management server in the said core layer obtains data to be stored according to second strategy that is handed down to it from the memory device of said convergence-level, and is kept in the memory device of core layer;
Wherein, Said first strategy and the foundation of said second policy development comprise one of following or combination in any: plan store tasks or manual store tasks; Special time period before and after alarm event takes place is notified selected special time period according to the storage that third-party analysis equipment is sent.
2. the method for claim 1 is characterized in that, the center management server in the said core layer is formulated first strategy and second strategy, and is concrete:
Center management server in the said core layer is according to plan store tasks or manual store tasks; Formulate said first strategy and second strategy, make that data management server and the data management server in the said core layer in the said convergence-level stored said plan store tasks or the manual required data of store tasks respectively; And/or
When the center management server in the said core layer receives the alarm event of the data acquisition equipment transmission in the said Access Layer; Formulate said first strategy and second strategy according to the alarm event type, make that data management server and the data management server in the said core layer in the said convergence-level stored the data that the front and back special time takes place said alarm event respectively; And/or
When the center management server in the said core layer receives the storage notice of third-party analysis equipment in the said core layer; Formulate said first strategy and second strategy according to said storage notice, make that data management server and the data management server in the said core layer in the said convergence-level stored the required data of said third-party analysis equipment respectively.
3. method as claimed in claim 2 is characterized in that,
First strategy and second strategy for formulating according to different content has different execution priorities.
4. want each described method in the water 1 to 3 like right, it is characterized in that, also comprise:
Center management server in the said core layer receives data and has access to when asking, and in the memory device of said Access Layer, convergence-level and core layer, retrieves respectively, and the data that retrieval is obtained send to the transmit leg that said data are had access to request;
When the data that said retrieval obtains are many parts; The priority orders of the data of storing in the data of storing in the data of storing in the memory device according to Access Layer, the memory device of convergence-level, the memory device of core layer, the data that retrieval is obtained send to the transmit leg that said data are had access to request; Wherein:
The data of storing in the memory device of the data of storing in the memory device of said convergence-level with respect to said Access Layer, the retention phase is longer; The data of storing in the memory device of the data of storing in the memory device of said core layer with respect to said convergence-level, the retention phase is longer.
5. like each described method in the claim 1 to 3, it is characterized in that, also comprise:
Center management server in the said core layer is according to the quantity of the data acquisition equipment in the said Access Layer, confirms that data acquisition equipment from different Access Layers obtains the time of data and notifies data management server and the data management server in the said core layer in the said convergence-level; And/or
Center management server in the said core layer is according to network condition, confirms that data acquisition equipment from said Access Layer obtains the speed of data and notifies data management server and the data management server in the said core layer in the said convergence-level.
6. a data-storage system is characterized in that, is divided into Access Layer, convergence-level and core layer, comprising:
Be arranged in the data acquisition equipment and the memory device of said Access Layer, the data acquisition equipment in the said Access Layer is used for image data, and the data that this collection comes will be stored in the memory device of Access Layer, and the memory space in the said memory device recycles;
Be arranged in the data management server and the memory device of said convergence-level; Data management server in the said convergence-level; Be used for from the memory device of said Access Layer, obtaining data to be stored, and be kept in the memory device of convergence-level according to first strategy that is handed down to it;
Be arranged in the data management server and the memory device of said core layer; Data management server in the said core layer; Be used for from the memory device of said convergence-level, obtaining data to be stored, and be kept in the memory device of core layer according to second strategy that is handed down to it;
Wherein, Said first strategy and the foundation of said second policy development comprise one of following or combination in any: plan store tasks or manual store tasks; Special time period before and after alarm event takes place is notified selected special time period according to the storage that third-party analysis equipment is sent.
7. system as claimed in claim 6 is characterized in that, also comprises:
Be arranged in the center management server of said core layer, the center management server in the said core layer comprises:
The policy development unit is used to formulate first strategy and second strategy, and is concrete:
According to plan store tasks or manual store tasks; Formulate said first strategy and second strategy, make that data management server and the data management server in the said core layer in the said convergence-level stored said plan store tasks or the manual required data of store tasks respectively; And/or
When receiving the alarm event of the data acquisition equipment transmission in the said Access Layer; Formulate said first strategy and second strategy according to the alarm event type, make that data management server and the data management server in the said core layer in the said convergence-level stored the data that the front and back special time takes place said alarm event respectively; And/or
When receiving the storage notice of third-party analysis equipment in the said core layer; Formulate said first strategy and second strategy according to said storage notice, make that data management server and the data management server in the said core layer in the said convergence-level stored the required data of said third-party analysis equipment respectively;
The strategy notification unit is used for first strategy that said policy development unit is formulated is sent to the data management server of said convergence-level, and second strategy that said policy development unit is formulated sends to the data management server in the said core layer.
8. system as claimed in claim 7 is characterized in that, first strategy and second strategy that said policy development unit is formulated according to different content has different execution priorities.
9. like each described system in the claim 7 to 8, it is characterized in that said center management server also comprises:
Have access to requesting processing, be used to receive data and have access to when asking, in the memory device of said Access Layer, convergence-level and core layer, retrieve respectively, the data that retrieval is obtained send to the transmit leg that said data are had access to request; When the data that said retrieval obtains are many parts; The priority orders of the data of storing in the data of storing in the data of storing in the memory device according to Access Layer, the memory device of convergence-level, the memory device of core layer, the data that retrieval is obtained send to the transmit leg that said data are had access to request; Wherein, the data of storing in the memory device of the data of storing in the memory device of said convergence-level with respect to said Access Layer, the retention phase is longer; The data of storing in the memory device of the data of storing in the memory device of said core layer with respect to said convergence-level, the retention phase is longer.
10. like each described system in the claim 7 to 8, it is characterized in that said center management server also comprises:
Time is confirmed the unit; Be used for quantity, confirm that data acquisition equipment from different Access Layers obtains the time of data and notifies data management server and the data management server in the said core layer in the said convergence-level according to the data acquisition equipment of said Access Layer; And/or
Rate determination unit is used for according to network condition, confirms that data acquisition equipment from said Access Layer obtains the speed of data and notifies data management server and the data management server in the said core layer in the said convergence-level.
CN2009101629518A 2009-08-21 2009-08-21 Data storage method and data storage system Active CN101626499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101629518A CN101626499B (en) 2009-08-21 2009-08-21 Data storage method and data storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101629518A CN101626499B (en) 2009-08-21 2009-08-21 Data storage method and data storage system

Publications (2)

Publication Number Publication Date
CN101626499A CN101626499A (en) 2010-01-13
CN101626499B true CN101626499B (en) 2012-07-11

Family

ID=41522141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101629518A Active CN101626499B (en) 2009-08-21 2009-08-21 Data storage method and data storage system

Country Status (1)

Country Link
CN (1) CN101626499B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300082A (en) * 2011-09-20 2011-12-28 中广核工程有限公司 Digital video monitoring system and method for nuclear power plant
CN109962944B (en) * 2017-12-22 2020-09-25 杭州海康威视系统技术有限公司 Media data storage method, storage device and electronic equipment
CN111479095B (en) * 2020-06-24 2020-10-02 腾讯科技(深圳)有限公司 Service processing control system, method and device

Also Published As

Publication number Publication date
CN101626499A (en) 2010-01-13

Similar Documents

Publication Publication Date Title
CN101068155B (en) Coordinate connection stream media direct broadcasting system and collection server thereof
US8832757B2 (en) Late assignment of recorded digital media content at time of playback
CN102740159B (en) Media file storage format and self-adaptation transfer system
US7859571B1 (en) System and method for digital video management
US20150215583A1 (en) Cloud Video Surveillance
US10038872B2 (en) Systems and methods for managing video data
US9986300B2 (en) Social delivery of IPTV streams
US11523088B2 (en) Computer implemented systems frameworks and methods configured for enabling review of incident data
CN102439578A (en) Dynamic variable rate media delivery system
US10887363B1 (en) Streaming decision in the cloud
CN104159086A (en) A platform for monitoring a digital video of a provincial road network
CN102547478A (en) Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network)
CN105025391A (en) Video playing method and apparatus
CN102572215A (en) City-class visual video analysis method and server
CN102186061A (en) Cloud computing mode based method for implementing remote network monitoring system
CN101237571A (en) A video coding storage method and device in monitoring system
CN101626499B (en) Data storage method and data storage system
CN114125377A (en) Distributed surveillance system with distributed video analysis
US20140375818A1 (en) Distributing network camera system and method for operating same
CN112601052B (en) Video resource integration system applied to internal sharing platform
CN113473165A (en) Live broadcast control system, live broadcast control method, device, medium and equipment
CN201550138U (en) System for providing mobile stream medium service
CN110557391B (en) Multi-scene integration-oriented emergency mobile video interaction system
CN101511007A (en) Method, equipment and system for implementing picture record in network video monitoring system
CN107181929A (en) Method and apparatus for video monitoring

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.