Summary of the invention
In view of this, provide a kind of backup method of video monitoring system information among the present invention on the one hand, the central platform server in a kind of video monitoring system is provided on the other hand, can't recover after losing with the relevant information that prevents video monitoring system.
The backup method of video monitoring system information provided by the present invention comprises:
In central platform server, be provided for realizing the backup units of the video monitoring system information backup of described central platform server;
Start described backup units by timing or instant mode control centre Platform Server, finish backup, obtain backup file described video monitoring system information.
Preferably, describedly start described backup units by instant mode control centre Platform Server and comprise:
The order line that is provided for carrying out the client software of backup operation and/or in central platform server, is provided for carrying out backup operation in client;
Login described client software or central platform server, when the described client software of login, by clicking the Backup options that sets in advance, issue backup messages to central platform server, described central platform server starts described backup units according to described backup messages; When the described central platform server of login, the order line of carrying out backup operation by input starts described backup units.
Preferably, described central platform server is a plurality of; Describedly start described backup units by instant mode control centre Platform Server and comprise:
The order line that is provided for carrying out the client software of backup operation and/or in current central platform server is provided with, is used to carry out backup operation in client;
Login described client software or described current central platform server, when the described client software of login, by clicking the Backup options that sets in advance, issue backup messages to current central platform server at described current central platform server and/or other central platform server, described current central platform server starts the backup units of self and/or notifies other central platform server to start pairing backup units according to described backup messages; When the described central platform server of login, by the order line of carrying out backup operation of input, start the backup units of current central platform server and/or notify other central platform server to start pairing backup units at described current central platform server and/or other central platform server.
Preferably, described current central platform server further comprises after notifying other central platform server to start pairing backup units: the backup file that receives the corresponding video monitoring system information that described other central platform server passes back.
Preferably, described mode control centre Platform Server by regularly starts described backup units and comprises:
Be provided for selecting the client software of backup policy in client;
Login described client software opening timing backup functionality, the backup policy option by selecting to set in advance issues corresponding backup policy information to central platform server;
Described central platform server generates corresponding backup policy according to described backup policy information, regularly starts described backup units according to the backup policy that is generated.
Preferably, described central platform server is a plurality of; Described mode control centre Platform Server by timing starts described backup units and comprises:
Be provided for selecting the client software of backup policy in client;
Login the timed backup function of described client software activation pin to current central platform server and/or other central platform server, the backup policy option by selecting to set in advance issues corresponding backup policy information to current central platform server;
Described current central platform server is according to described backup policy information, generate corresponding backup policy and/or notify other central platform server to generate corresponding backup policy, corresponding central platform server regularly starts the backup units of self according to the backup policy that is generated.
Preferably, described backup policy option comprises: automated back-up time option, backup file keep the duration option or backup file is deleted time option, backup file copy deposit position option.
Preferably, described mode control centre Platform Server by regularly starts described backup units and comprises:
In central platform server backup policy is set, described central platform server regularly starts corresponding backup units according to described backup policy.
Preferably, describedly regularly start backup units according to the backup policy that is generated and comprise:
The central platform server plan target process that starts the operating system utilizes described plan target process regularly to start backup units according to described backup policy.
Preferably, described backup file further is stored in any one or a plurality of storage medium that comprises hard disk, CD and storage server.
Preferably, this method further comprises:
When described central platform server goes wrong, video monitoring system is connected on the central platform server that service can be provided;
Specify recovery point;
Start the recovery unit be arranged in the described central platform server that service can be provided;
Search described recovery point place catalogue, if having the backup file of video monitoring system information, the environment when then video monitoring system information being returned to described recovery point according to described backup file; Otherwise, video monitoring system information is returned to environment when dispatching from the factory.
Preferably, described appointment recovery point comprises:
Be provided for carrying out the client software of recovery operation and/or in the described central platform server that service can be provided, be provided for being provided with the order line of recovery point in client;
Login described client software or the described central platform server that service can be provided, when the described client software of login, determine recovery point by the measuring point of choosing in immediate backup or the timed backup, issue the recovery message of corresponding described recovery point to the described central platform server that service can be provided, the described central platform server of service that can provide is determined described recovery point according to described recovery message; When the described central platform server that service can be provided of login, the order line that recovery point is set by input is specified recovery point.
Central platform server in the video monitoring system provided by the present invention comprises:
Backup units is used to realize the backup of the video monitoring system information of self place central platform server;
Center processing unit is used for starting described backup units according to immediate backup order or timed backup order;
Memory cell is used for the backup file that obtains after the backup is stored.
Preferably, described center processing unit comprises:
The message sink unit is used to receive the immediate backup message from client;
Control unit is used for according to the message initiated described backup units of described immediate backup.
Preferably, described center processing unit further comprises:
Message ownership judging unit, be used to judge whether described immediate backup message comprises the backup messages at self place central platform server, when described immediate backup message comprises backup messages at self place central platform server, notify described control unit to start described backup units; When described immediate backup message comprises backup messages at other central platform server, notify described Dispatch Unit to transmit;
Dispatch Unit is used for when described immediate backup message comprises backup messages at other central platform server described backup messages being transmitted to corresponding central platform server.
Preferably, described center processing unit comprises:
Information receiving unit is used to receive the backup policy information from client;
The strategy generation unit is used for generating corresponding backup policy according to described backup policy information;
Control unit is used for regularly starting described backup units according to described backup policy.
Preferably, described center processing unit further comprises:
Information ownership judging unit, be used to judge whether described backup policy information comprises the backup policy information at self place central platform server, when described backup policy information comprises backup policy information at self place central platform server, notify described tactful generation unit to generate corresponding backup policy; When described backup policy information comprises backup policy information at other central platform server, notify described information retransmission unit to transmit;
The information retransmission unit is used for when described backup policy information comprises backup policy information at other central platform server described backup policy information being transmitted to corresponding central platform server.
Preferably, this server further comprises: recovery unit is used for and will specifies the backup file of recovery point to return to the place central platform server.
From such scheme as can be seen, the backup units of video monitoring system information backup by in central platform server, being provided for realizing described central platform server among the present invention, start described backup units by timing or instant mode control centre Platform Server then, finish backup, obtain backup file described video monitoring system information.Afterwards, when this central platform server breaks down or is wrong, video monitoring system is connected on the central platform server that service can be provided, and the backup file of selected recovery point returned on this central platform server, environment when making video monitoring system be returned to recovery point continues as the user service is provided.
Embodiment
In the embodiment of the invention, can adopt regularly and manual instant two kinds of optional methods, video monitoring system information (i.e. Yun Hang key message, as system file and database information etc.) is collected, unify to deposit and back up; When running into hardware or operating system failure, can build environment rapidly, the video monitoring system key message that backs up is placed to the tram, recovery system makes business be continued operation.
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
Fig. 1 is the system schematic of the backup and the recovery of video monitoring system information in the embodiment of the invention.As shown in Figure 1, the information of video monitoring system can adopt immediate backup (can be an one-key backup) and two kinds of backup modes of timed backup, and obtains corresponding backup file.
Wherein, immediate backup can be controlled by client, and for example, the user can sign in to the client software of graphic interface, directly clicks Backup options and realizes immediate backup control.In addition, advanced level user also can directly sign in to central platform server, realizes immediate backup control by the capable mode of input command.Timed backup then can be controlled by the operating system of central platform server.
The backup file that backup file that immediate backup produces and timed backup produce all can be deposited in other storage mediums, as the copy of backup file further in addition.These storage mediums can be hard disk, CD and other servers (as storage server) etc.
Central platform server when supervisory control system application service assembly place goes wrong, when causing situation that supervisory control system can not continue to move as hardware or operating system failure, supervisory control system data contamination etc., can choose recovery point, the backup file of this recovery point correspondence is returned in this video monitoring system the environment when making video monitoring system be returned to recovery point.
Fig. 2 is the exemplary process diagram of video monitoring system information backup method in the embodiment of the invention.As shown in Figure 2, this flow process comprises the steps:
Step 201 is provided for realizing the backup units of the video monitoring system information backup of described central platform server in central platform server.
During specific implementation, for the small-scale video monitoring system, its central platform server can have only one; For large-scale slightly video monitoring system, central platform server then can have a plurality of, and can connected network communication between each central platform server, and at this moment, correspondence is provided with a backup units in each central platform server.
Step 202 starts described backup units by timing or instant mode control centre Platform Server, finishes the backup to described video monitoring system information, obtains backup file.
During specific implementation, backup file can be stored in preassigned fixed position, is generally the fixedly catalogue of presetting when central platform server is installed.Further, also can deposit the copy of backup file in addition, this copy can be reset and deposit the path, under the path by user's setting that can be dumped to other memory devices.
In this step, corresponding different backup mode and different video monitoring system scales can have different implementation procedures, are that example is described in detail this step with several situations wherein below.
Situation one: single central platform server and immediate backup mode.
Fig. 3 shows the schematic flow sheet at this situation one.As shown in Figure 3, this flow process comprises the steps:
Step 301, the order line that is provided for carrying out the client software of backup operation and/or in central platform server, is provided for carrying out backup operation in client.
Step 302 is logined described client software or central platform server, if logging on client software, then execution in step 303; Otherwise execution in step 305.
Step 303 by clicking the Backup options that sets in advance, issues backup messages to central platform server.
Step 304, central platform server is according to the backup units in the described backup messages startup self.
Step 305, the order line of carrying out backup operation by input starts the backup units in the central platform server.
Situation two: multicenter Platform Server and immediate backup mode.
Fig. 4 shows the schematic flow sheet at this situation two.As shown in Figure 4, this flow process comprises the steps:
Step 401, the order line that is provided for carrying out the client software of backup operation and/or in current central platform server is provided with, is used to carry out backup operation in client.
Step 402 is logined described client software or described current central platform server, if logging on client software, then execution in step 403; Otherwise execution in step 407.
Step 403 by clicking the Backup options that sets in advance, issues backup messages at described current central platform server and/or other central platform server to current central platform server.
Step 404, current central platform server is judged the backup messages that whether comprises in the described backup messages at current central platform server, when described immediate backup message comprises backup messages at self place central platform server, execution in step 405, when described immediate backup message comprises backup messages at other central platform server, execution in step 406.
Step 405, current central platform server starts the backup units of self.
Step 406, current central platform server notify other central platform server to start pairing backup units.
In the present embodiment, the backup messages as if both having comprised in the immediate backup message at self place central platform server also comprises the backup messages at other central platform server, and then step 405 and step 406 are all carried out.
Step 407, input are at the order line of carrying out backup operation of current central platform server and/or other central platform server, as if the order line of having imported at current central platform server of carrying out backup operation, execution in step 408; If imported the order line of carrying out backup operation, execution in step 409 at other central platform server.
Step 408 starts the backup units of current central platform server.
Step 409, current central platform server notify other central platform server to start pairing backup units.At this moment, current central platform server can further receive the backup file of the corresponding video monitoring system information that described other central platform server passes back.
Situation three: single central platform server and timed backup mode.
Fig. 5 shows the schematic flow sheet at this situation three.As shown in Figure 5, this flow process comprises the steps:
Step 501 is provided for selecting the client software of backup policy in client.
Step 502 is logined described client software opening timing backup functionality, and the backup policy option by selecting to set in advance issues corresponding backup policy information to central platform server.
In the present embodiment, the backup policy option can comprise that automated back-up time option, backup file keep duration option or options such as backup file deletion time option, backup file copy deposit position.
Step 503, central platform server generates corresponding backup policy according to described backup policy information.
Step 504, central platform server regularly start the backup units of self according to the backup policy that is generated.
In this step, the central platform server plan target process that can start the operating system is added the time-event in the backup policy in the described plan target process to, utilizes described plan target process regularly to start corresponding backup units according to described backup policy.
Situation four: multicenter Platform Server and timed backup mode.
Fig. 6 shows the schematic flow sheet at this situation four.As shown in Figure 6, this flow process comprises the steps:
Step 601 is provided for selecting the client software of backup policy in client.
Step 602, login the timed backup function of described client software activation pin to current central platform server and/or other central platform server, backup policy option by selecting to set in advance issues corresponding backup policy information to current central platform server.
Step 603, current central platform server judges whether described backup policy information comprises the backup policy information at current central platform server, when described backup policy information comprises backup policy information at current central platform server, execution in step 604, when described backup policy information comprises backup policy information at other central platform server, execution in step 606.
Step 604, current central platform server generate corresponding backup policy according to the backup policy information at current central platform server.
Step 605, current central platform server regularly starts the backup units of self according to the backup policy that is generated.
Step 606, current central platform server notify other central platform server to generate corresponding backup policy.
Step 607, other corresponding central platform server regularly starts the backup units of self according to the backup policy that is generated.
Situation five: list or multicenter Platform Server and timed backup mode.
In this case, also backup policy can be set in central platform server directly, then this central platform server can regularly start backup units in self according to described backup policy.
After finishing the backup of video operating system information, can when going wrong, video monitoring system application service assembly place central platform server carry out restoration methods flow process as shown in Figure 7.As shown in Figure 7, this flow process comprises the steps:
Step 701 is connected to video monitoring system on the central platform server that service can be provided.
Step 702 is specified recovery point.
Wherein, specify the process of recovery point to be: to be provided for carrying out the client software of recovery operation and/or in the described central platform server that service can be provided, to be provided for being provided with the order line of recovery point in client; Login described client software or the described central platform server that service can be provided then, when the described client software of login, determine recovery point by the measuring point of choosing in immediate backup or the timed backup, issue the recovery message of corresponding described recovery point to the described central platform server that service can be provided, the described central platform server of service that can provide is determined described recovery point according to described recovery message; When the described central platform server that service can be provided of login, the order line that recovery point is set by input is specified recovery point.
Wherein, specifying the pairing backup file of recovery point can be that the appointment that uploads to the central platform server that service can be provided from storage medium is preserved on the position; Also can be that the appointment that uploads to other server is preserved on the position, then, the described central platform server of service and the server that stores this backup file of can providing connects.
Step 703 starts the recovery unit be arranged in the described central platform server that service can be provided.
Step 704 is searched described recovery point place catalogue, if there is the backup file of video monitoring system information, then execution in step 705; Otherwise, execution in step 706.
During specific implementation, the path of recovery point place catalogue can be system good, the path that can not revise of default setting when installing.
Step 705 returns to the video monitoring system information in the described backup file on the described central platform server that service can be provided, the environment when making video monitoring system information return to described recovery point.
Step 706 returns to environment when dispatching from the factory with video monitoring system information.
More than the backup and the restoration methods of video monitoring system information in the embodiment of the invention are described in detail, again the central platform server in the video monitoring system in the embodiment of the invention is described in detail below.
Fig. 8 is the exemplary block diagram of the central platform server in the video monitoring system in the embodiment of the invention.As shown in Figure 8, this central platform server comprises: backup units, center processing unit and memory cell.
Wherein, backup units is used to realize the backup of the video monitoring system information of self place central platform server.
Center processing unit is used for starting described backup units according to immediate backup order or timed backup order.
Memory cell is used for the backup file that obtains after the backup is stored.
During specific implementation, center processing unit can have multiple specific implementation form, introduces wherein several below respectively:
First kind: corresponding immediate backup order.
Fig. 9 is a kind of structural representation of center processing unit in the embodiment of the invention.As shown in Figure 9, this center processing unit comprises: message sink unit and control unit.
Wherein, the message sink unit is used to receive the immediate backup message from client.
Control unit is used for according to the message initiated described backup units of described immediate backup.
Further, when the central platform server in the video monitoring system not only the time, described center processing unit can further comprise shown in the dotted portion among Fig. 9: message ownership judging unit and Dispatch Unit.
Wherein, message ownership judging unit is used to judge whether described immediate backup message comprises the backup messages at self place central platform server, when described immediate backup message comprises backup messages at self place central platform server, notify described control unit to start described backup units; When described immediate backup message comprises backup messages at other central platform server, notify described Dispatch Unit to transmit.
Dispatch Unit is used for when described immediate backup message comprises backup messages at other central platform server described backup messages being transmitted to corresponding central platform server.
First kind: corresponding timed backup order.
Figure 10 is another structural representation of center processing unit in the embodiment of the invention.As shown in figure 10, this center processing unit comprises: information receiving unit, tactful generation unit and control unit.
Wherein, information receiving unit is used to receive the backup policy information from client.
The strategy generation unit is used for generating corresponding backup policy according to described backup policy information.
Control unit is used for regularly starting described backup units according to described backup policy.
Further, when the central platform server in the video monitoring system not only the time, described center processing unit can further comprise shown in the dotted portion among Figure 10: information ownership judging unit and new breath retransmission unit.
Wherein, information ownership judging unit is used to judge whether described backup policy information comprises the backup policy information at self place central platform server, when described backup policy information comprises backup policy information at self place central platform server, notify described tactful generation unit to generate corresponding backup policy; When described backup policy information comprises backup policy information at other central platform server, notify described information retransmission unit to transmit.
The information retransmission unit is used for when described backup policy information comprises backup policy information at other central platform server described backup policy information being transmitted to corresponding central platform server.
Further, shown in the dotted portion among Fig. 8, this server can further comprise: recovery unit is used for and will specifies the backup file of recovery point to return to the place central platform server.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is preferred embodiment of the present invention; be not to be used to limit protection scope of the present invention; within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.