Background technology
Flourish along with network service, the service that network provides is also more convenient and polynary, user can be made to carry out network service by specific communication interface, as commercial articles ordering, information transmission, data storing, data query etc.Along with the fast development of computer technology and the Internet, the neomorph cloud service that the Internet provides also increases day by day; Wherein, high in the clouds store-service can realize user through the Internet to the space store data that remote servo host provides, and then the restriction of local hardware storage area can be broken through, and increase the portability of archives, therefore closer with the life of people, cloud service is widely used in the store-service of the data such as various network file, network video recording, voice-over-net, and user can use various portable set to be checked the data being stored in high in the clouds at any time by the Internet.
Existing high in the clouds video recording platform (Cloud Video Recorder, CVR) be mostly connected to by multiple stage web camera (IPCam) the station server main frame and an extremely jumbo hardware storage equipment that are arranged on machine room by the Internet, wherein have a management system (Manager) in server host, the relevant information being used for recording and manage each video recording archives is (as archives size, settling time etc.), and each video recording archives are specified the appropriate location be stored in hardware storage equipment, and hardware storage equipment separately need prepare the standby system (Storage) of a set of same size.
In order to provide more, service and function faster, the supply of electric power in the video recording platform construction of high in the clouds distributes, and the data transmission problems between each server host and each hardware storage equipment also highlights thereupon; Therefore, the similar cloud service system become by multiple servers main frame and hardware storage equipment construction, the mode of Servers-all main frame and the centralized management of hardware storage equipment is built by many employings, and at the system Construction initial stage, required electric power, data are transmitted electric line and configured, to meet actual operation demand.
Because Video data comprises image data, general monitor constantly performs video recording work in one day 24 hours, the file data amount produced is very big, for current high in the clouds video recording platform, 1000 web cameras about produce the data of 1T every day, need great bandwidth could keep the fluency of transmitting data file, add the requirement of high stability, usual management system need adopt high availability computing environment (High-Availability, HA), invisible significantly improve high in the clouds video recording platform construction cost, the risk of data is (as power-off simultaneously, equipment catches fire, artificial destruction or fault etc.) also significantly improve.Meanwhile, because namely the platform construction initial stage needs required server host, hardware storage equipment to fix, and need consider overall bandwidth and electricity needs etc., the ability causing platform to expand is restricted.
Summary of the invention
Main purpose of the present invention is to provide a kind of distributing high in the clouds video recording platform, effectively can disperse flow, reduce costs and risk, and have good extendibility, can effectively increase economic efficiency.
Video recording platform in distributing high in the clouds provided by the invention comprises:
One station server main frame, for being connected to the Internet, the built-in hypervisor had for carrying out task matching of server host, and in server host, comprise the database manipulated by this hypervisor;
More than at least two web cameras being connected to the Internet;
More than at least two the hardware storage equipment being connected to the Internet, and each hardware storage equipment performs the record task of each web camera respectively according to the instruction of server host, makes each record task produce video recording archives.
Further, each hardware storage equipment is all alternate devices of other arbitrary hardware storage equipment.
The present invention is executed the task by the instruction of server host, the record task of web camera is distributed to different hardware storage equipment, produce corresponding video recording archives, each video recording archives can specify dispersion to be stored in each hardware storage equipment by serviced device main frame, during construction, hardware storage equipment can be installed according to actual use amount, significantly can improve the expansion capacity of platform, and reduce overall construction and expand cost, and can mutually back up between hardware storage equipment, when there being hardware storage equipment to go wrong, other hardware storage equipment can not be had influence on, effectively reduce risk, add the surcharge of product, and improve economic benefit.
Accompanying drawing explanation
Fig. 1 is the concise and to the point configuration diagram of distributing high in the clouds of the present invention video recording platform;
Fig. 2 is the schematic flow sheet that in the present invention, record task is distributed to each hardware storage equipment by server host;
Fig. 3 is the schematic flow sheet that in the present invention, record task is distributed to each hardware storage equipment by server host;
Fig. 4 is the schematic flow sheet that in the present invention, record task is distributed to each hardware storage equipment by server host;
Fig. 5 is the schematic flow sheet that in the present invention, record task is distributed to each hardware storage equipment by server host;
Fig. 6 is that archives dispersion of recording a video in the present invention is stored in the schematic flow sheet of different hardware storage facilities and management;
Fig. 7 is that archives dispersion of recording a video in the present invention is stored in the schematic flow sheet of different hardware storage facilities and management;
Fig. 8 is the schematic flow sheet that in the present invention, user inquires about video recording archives.
Description of reference numerals: 10-server host; 15-database; 20-hardware storage equipment; 30-web camera; 40-user.
Embodiment
One provided by the invention distributed high in the clouds video recording platform, in the specific embodiments of the invention of accompanying drawing example and component thereof, with rear, left and right, top and bottom, top and bottom and level and vertical reference before all about, only for being conveniently described, and unrestricted the present invention, also non-its component is limited to any position or direction in space.Graphic with specification in specified size, can not leaving in the present patent application the scope of the claims, design according to a particular embodiment of the invention and demand change.
Be illustrated in figure 1 the concise and to the point configuration diagram of distributing high in the clouds of the present invention video recording platform, comprise a station server main frame (CVR Manager) 10 and several hardware storage equipment (CVRUnit) 20, wherein each hardware storage equipment 20 is connected with server host 10 by the Internet, server host 10 is connected with several web cameras 30 by internet, for server host 10, the record task of each web camera 30 is distributed to different hardware storage equipment 20, each hardware storage equipment 20 is made to produce corresponding video recording archives, and assign through server host 10 and the dispersion of each video recording archives is stored in respectively in this hardware storage equipment 20, allow different user (User) 40 that the various network equipment can be utilized to enter server host 10 by the Internet, each video recording archives in each hardware storage equipment 20 are stored in for searching and watch each web camera 30,
A hypervisor is had in server host 10, hypervisor can be used for performing instruction, demand, carrying out task matching and file backup etc., and comprise a database manipulated by this hypervisor 15 in server host 10, for being stored in database 15 by the details (which hardware storage equipment archives of such as recording a video are stored in from which platform web camera, IP position, time, distribution) of each video recording archives;
Each hardware storage equipment 20 is connected with server host 10 by the Internet, executes the task according to the instruction of server host 10, and each hardware storage equipment 20 can be used as the alternate device of other arbitrary hardware storage equipment 20;
By above each equipment can form cost low and record a video in the distributing high in the clouds that extendibility is good platform.
The Data Integration process of distributing high in the clouds video recording platform provided by the invention when reality uses comprises:
One, record task is distributed to each hardware storage equipment 20 by server host 10;
Two, archives dispersion of recording a video is stored in different hardware storage facilities 20 line pipe reason of going forward side by side;
Three, user inquires about video recording archives.
Record task is distributed to the process of each hardware storage equipment 20 as Figure 2-Figure 5 by server host 10:
Step 1.1: as shown in Figure 2, each hardware storage equipment 20 must regularly be reported for work to server host 10 after reaching the standard grade, and inform its ID(or distribute its ID by server host 10), server host 10 can know the ID of every platform hardware storage equipment 20 and it is from where, and is recorded in the database 15 of server host 10 manipulation;
Step 1.2: as shown in Figure 3, when there being record task request, server host 10 chooses a hardware storage equipment 20 from database 15, and inform the details of its this record task, comprise position and ID, the password etc. of corresponding web camera 30, to make hardware storage equipment 20 provide recording service, and the video recording archives that generation one is corresponding.Server host 10, when distributing record task, also synchronously informs that video file backup must be stored in which platform hardware storage equipment 20 (can not limit one) by it;
Step 1.3: as shown in Figure 4, each hardware storage equipment 20 is carrying out regularly to return state to server host 10 in recording service process, judge to make server host 10 whether recording service is performed normally, and server host 10 also can reply this service of hardware storage equipment 20 the need of termination; Step 1.4, as shown in Figure 5, recording service terminates the return that front server host 10 constantly supervises hardware storage equipment 20, if having abnormal, gets back to step 1.2, this service is distributed to the hardware storage equipment 20 of other ID.
Video recording archives dispersion be stored in different hardware storage facilities 20 go forward side by side line pipe reason process as shown in Figure 6, server host 10, when distributing record task, also synchronously informs its video recording archival storage backed up (can not limit one) in which hardware storage equipment 20;
Step 2.1: as shown in Figure 7, to server host 10, each hardware storage equipment 20 has informed that video recording archives produce;
Step 2.2: the related data of server host 10 these video recording archives newly-increased in its database 15;
Step 2.3: each hardware storage equipment 20 is sent to these video recording archives in the hardware storage equipment 20 of all backups, to complete backup.
User inquires about the process of video recording archives as shown in Figure 8, brought forward step 2.2, and server host 10 also includes video recording about the record of video recording archives and performs the information such as hardware storage equipment 20 and backup hardware storage equipment 20 in database 15:
Step 3.1: user 40 requires to server host 10 certain the video recording archives having access to certain web camera 30;
Step 3.2: server host 10 Query Database 15, find these notes as after the record of archives, inform it can look in which hardware storage equipment 20 according to record, comprise in the hardware storage equipment 20 of hardware storage the equipment 20 and backup originally performing video recording;
Step 3.3: after user 40 receives the reply of server host 10, obtains data in order to the different hardware storage equipment 20 depositing these video recording archives.
Video recording platform in distributing high in the clouds provided by the invention is by the task matching of server host 10, different web cameras 30 is connected to different hardware storage equipment 20, to perform record task, and can synchronously specify different hardware storage equipment 20 to perform backup functionality, video recording relevant information is stored in the database 15 of server host 10 simultaneously, manage for server host 10 and inquire about with user 40, during construction, hardware storage equipment 20 can be installed according to actual use amount, significantly can improve the expansion capacity of platform, and reduce overall construction and expand cost, because each hardware storage equipment 20 can back up mutually, when there being hardware storage equipment 20 to go wrong, other hardware storage equipment 20 can not be had influence on, effectively reduce risk.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in previous embodiment, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of embodiment of the present invention technical scheme.