CN108023746B - Video data processing method, device and system - Google Patents

Video data processing method, device and system Download PDF

Info

Publication number
CN108023746B
CN108023746B CN201610943729.1A CN201610943729A CN108023746B CN 108023746 B CN108023746 B CN 108023746B CN 201610943729 A CN201610943729 A CN 201610943729A CN 108023746 B CN108023746 B CN 108023746B
Authority
CN
China
Prior art keywords
video
storage system
cloud storage
video data
switching
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
CN201610943729.1A
Other languages
Chinese (zh)
Other versions
CN108023746A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201610943729.1A priority Critical patent/CN108023746B/en
Priority to PCT/CN2017/102426 priority patent/WO2018082406A1/en
Publication of CN108023746A publication Critical patent/CN108023746A/en
Application granted granted Critical
Publication of CN108023746B publication Critical patent/CN108023746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a video data processing method, a device and a system, wherein in the method, whether a video cloud storage system with a fault exists is detected, if yes, a specified video cloud storage system is searched from the video cloud storage system without the fault, and a video data storage switching instruction is sent to the specified video cloud storage system, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the video cloud storage system with the fault, so that the specified video cloud storage system can receive and store video data sent by the video acquisition equipment corresponding to the address information. In the invention, the video cloud storage systems are uniformly managed by arranging the cloud center server in communication connection with the plurality of video cloud storage systems, so that the video data are processed when the storage server/management server in the video cloud storage systems fails, the loss of the video data is avoided, and the continuity and integrity of the stored video data are ensured.

Description

Video data processing method, device and system
Technical Field
The invention relates to the technical field of cloud storage, in particular to a video data processing method, device and system.
Background
The video cloud storage system comprises a management server and a storage server, wherein the video cloud storage system is externally connected with a video acquisition device, the management server is used for managing the storage server and the video acquisition device, and the video acquisition device sends acquired video data to the storage server for storage.
In general, when a storage server in a video cloud storage system is abnormal in network or crashes, video data acquired by video acquisition equipment cannot be stored in the storage server, that is, cannot be stored in the video cloud storage system; when a management server in the video cloud storage system is abnormal in network or crashes, video data collected by the video collection equipment can be stored in the storage server in a short time, and after the storage space of the storage server is full, the management server cannot distribute other storage servers for video storage, so that the video data collected by the video collection equipment cannot be stored in the storage server continuously, namely cannot be stored in the video cloud storage system, and the video data collected by the video collection equipment cannot be stored in the video cloud storage system under the two conditions.
Therefore, a method for processing video data when a storage server/management server in a video cloud storage system fails is needed.
Disclosure of Invention
The embodiment of the invention aims to provide a video data processing method, a video data processing device and a video data processing system, which are used for processing video data when a storage server/management server in a video cloud storage system fails. The specific technical scheme is as follows:
a video data processing method is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems which are in communication connection with the cloud center server, and the method comprises the following steps:
detecting whether a video cloud storage system with a fault exists;
when a video cloud storage system with a fault exists, searching a specified video cloud storage system from the video cloud storage system without the fault;
and sending a video data storage switching instruction to the appointed video cloud storage system, wherein the video data storage switching instruction comprises address information of the video acquisition equipment corresponding to the failed video cloud storage system, so that the appointed video cloud storage system receives and stores video data sent by the video acquisition equipment corresponding to the address information.
Optionally, after the step of sending the video data storage switching instruction to the specified video cloud storage system, the method further includes:
receiving a message of successful switching sent by the appointed video cloud storage system;
and sending a video data storage pause instruction to the video cloud storage system with the fault.
Optionally, after the step of sending the video data storage suspension instruction to the failed video cloud storage system, the method further includes:
taking the time point of sending the video data storage switching instruction as a switching starting time point;
storing the switching start time point, the identification information of the failed video cloud storage system and the identification information of the specified video cloud storage system as a switching record;
and sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
Optionally, the method further includes:
after the video cloud storage system with the fault is detected to be recovered to be normal, sending a video data recovery storage instruction to the video cloud storage system with the fault recovered to be normal;
receiving a successful storage recovery message sent by the video cloud storage system recovering to normal, and sending a video data storage stop instruction to the specified video cloud storage system;
taking the time point of sending the video data recovery storage instruction as a switching end time point;
storing the switching end time point into the switching record;
and sending the switching record to the video cloud storage system which is recovered to be normal so that the video cloud storage system which is recovered to be normal updates the switching record stored by the video cloud storage system.
Optionally, the method further includes:
and sending a video data migration instruction to the appointed video cloud storage system, wherein the video data migration instruction comprises a time range to be migrated, so that the appointed video cloud storage system determines video data to be migrated according to the time range to be migrated, and sends the determined video data to be migrated to the video cloud storage system which is recovered to be normal.
A video data query method is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems which are in communication connection with the cloud center server, and the method comprises the following steps:
receiving a video data query request sent by a client, wherein the video data query request comprises a time range to be queried;
determining a target time period according to the time range to be queried and a switching record stored by the target time period, and searching a target video cloud storage system corresponding to the target time period, wherein the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
sending a storage position acquisition request to the target video cloud storage system, wherein the storage position acquisition request comprises the target time period;
receiving target storage position information returned by the target video cloud storage system;
and sending the target storage position information and the target time period to the client.
A video data query method is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems which are in communication connection with the cloud center server, and the method comprises the following steps:
receiving a video data query request sent by a video cloud storage system which is recovered to be normal, wherein the video data query request comprises a time range to be queried;
determining a first time period and a second time period according to the time range to be queried and a switching record stored in the first time period, and searching a video cloud storage system corresponding to the first time period, wherein the second time period corresponds to the recovered normal video cloud storage system, the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
sending a storage position acquisition request to a video cloud storage system corresponding to the first type of time period, wherein the storage position acquisition request comprises the first type of time period;
receiving first storage position information returned by the video cloud storage system corresponding to the first type of time period;
and sending the first storage position information and the first class time period to a video cloud storage system which is recovered to be normal and corresponds to the second class time period.
A video data processing device applied to a cloud center server in a video data processing system, wherein the video data processing system further comprises a plurality of video cloud storage systems in communication connection with the cloud center server, and the device comprises:
the detection module is used for detecting whether a video cloud storage system with a fault exists or not;
the first searching module is used for searching a specified video cloud storage system from an un-failed video cloud storage system when the failed video cloud storage system exists;
the first sending module is used for sending a video data storage switching instruction to the specified video cloud storage system, wherein the video data storage switching instruction comprises address information of the video acquisition equipment corresponding to the failed video cloud storage system, so that the specified video cloud storage system receives and stores video data sent by the video acquisition equipment corresponding to the address information.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving a successful switching message sent by the appointed video cloud storage system after the video data storage switching instruction is sent to the appointed video cloud storage system;
and the second sending module is used for sending a video data storage pause instruction to the video cloud storage system with the fault.
Optionally, the apparatus further comprises:
a switching start time point determining module, configured to, after the video data storage pause instruction is sent to the failed video cloud storage system, take a time point at which the video data storage switching instruction is sent as a switching start time point;
a switching record storage module, configured to store the switching start time point, the identification information of the failed video cloud storage system, and the identification information of the specified video cloud storage system as a switching record;
and the third sending module is used for sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
Optionally, the apparatus further comprises:
the fourth sending module is used for sending a video data recovery storage instruction to the video cloud storage system which is recovered to be normal after the video cloud storage system which is detected to be in fault is recovered to be normal;
the second receiving module is used for receiving a message of successful storage recovery sent by the video cloud storage system which recovers to normal and sending a video data storage stopping instruction to the specified video cloud storage system;
the switching end time point determining module is used for taking the time point of sending the video data recovery storage instruction as a switching end time point;
the storage module is used for storing the switching end time point into the switching record;
and the fifth sending module is used for sending the switching record to the video cloud storage system which is recovered to be normal so that the video cloud storage system which is recovered to be normal updates the switching record stored by the video cloud storage system.
Optionally, the apparatus further comprises:
a sixth sending module, configured to send a video data migration instruction to the specified video cloud storage system, where the video data migration instruction includes a time range to be migrated, so that the specified video cloud storage system determines video data to be migrated according to the time range to be migrated, and sends the determined video data to be migrated to the video cloud storage system that is recovered to be normal.
A video data query device is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems which are in communication connection with the cloud center server, and the device comprises:
the third receiving module is used for receiving a video data query request sent by a client, wherein the video data query request comprises a time range to be queried;
the second searching module is used for determining a target time period according to the time range to be queried and a switching record stored by the second searching module, and searching a target video cloud storage system corresponding to the target time period, wherein the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from a non-failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
a seventh sending module, configured to send a storage location obtaining request to the target video cloud storage system, where the storage location obtaining request includes the target time period;
the third receiving module is used for receiving target storage position information returned by the target video cloud storage system;
and the eighth sending module is used for sending the target storage position information and the target time period to the client.
A video data query device is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems which are in communication connection with the cloud center server, and the device comprises:
the fourth receiving module is used for receiving a video data query request sent by the video cloud storage system which is recovered to be normal, wherein the video data query request comprises a time range to be queried;
a third searching module, configured to determine a first time period and a second time period according to the time range to be queried and a switching record stored in the third searching module, and search for a video cloud storage system corresponding to the first time period, where the second time period corresponds to the recovered normal video cloud storage system, the switching record includes a switching start time point, identification information of a failed video cloud storage system, and identification information and a switching end time point of a specified video cloud storage system, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
a ninth sending module, configured to send a storage location obtaining request to a video cloud storage system corresponding to the first type of time period, where the storage location obtaining request includes the first type of time period;
the fifth receiving module is used for receiving first storage position information returned by the video cloud storage system corresponding to the first type of time period;
and the tenth sending module is used for sending the first storage position information and the first type time period to the video cloud storage system which is recovered to be normal and corresponds to the second type time period.
A video data processing method is applied to a video cloud storage system in a video data processing system, the video data processing system further comprises a cloud center server which is in communication connection with the video cloud storage system, and the method comprises the following steps:
receiving a video data storage switching instruction sent by the cloud center server, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to a failed video cloud storage system;
sending a takeover message to the video acquisition equipment corresponding to the address information;
and receiving and storing the video data sent by the video acquisition equipment corresponding to the address information.
A video data processing device is applied to a video cloud storage system in a video data processing system, the video data processing system further comprises a cloud center server which is in communication connection with the video cloud storage system, and the device comprises:
the video data storage switching instruction receiving module is used for receiving a video data storage switching instruction sent by the cloud center server, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to a failed video cloud storage system;
the takeover message sending module is used for sending the takeover message to the video acquisition equipment corresponding to the address information;
and the video data receiving module is used for receiving and storing the video data sent by the video acquisition equipment corresponding to the address information.
A video data processing system comprises a cloud center server and a plurality of video cloud storage systems in communication connection with the cloud center server;
the cloud center server is used for detecting whether a failed video cloud storage system exists or not, searching a specified video cloud storage system from the failed video cloud storage system when the failed video cloud storage system exists, and sending a video data storage switching instruction to the specified video cloud storage system, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the failed video cloud storage system;
the appointed video cloud storage system is used for receiving a video data storage switching instruction sent by the cloud center server, sending a takeover message to the video acquisition equipment corresponding to the address information, and receiving and storing video data sent by the video acquisition equipment corresponding to the address information.
Optionally, the designated video cloud storage system is further configured to send a message of successful switching to the cloud center server;
the cloud center server is further configured to receive a successful switching message sent by the specified video cloud storage system, and send a video data storage suspension instruction to the failed video cloud storage system;
the failed video cloud storage system is used for receiving a video data storage suspension instruction sent by the cloud center server and suspending storage of video data sent by the video acquisition equipment.
According to the video data processing method and device, the cloud center server which is in communication connection with the video cloud storage systems is arranged to detect whether the video cloud storage system has a fault, when the video cloud storage system is detected, the specified video cloud storage system is searched from the video cloud storage system which does not have the fault, and the specified video cloud storage system is enabled to receive and store the video data sent by the video acquisition equipment corresponding to the video cloud storage system which does not have the fault in a mode of sending a video data storage switching instruction to the specified video cloud storage system, so that the video cloud storage system is uniformly managed through the cloud center server, the video data are processed when the storage server/management server in the video cloud storage system has the fault, video data are prevented from being lost, and the continuity and integrity of the stored video data are guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or technical solutions in related arts, the drawings used in the description of the embodiments or related arts will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a first flowchart illustrating a video data processing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a video data processing method according to an embodiment of the invention;
fig. 3 is a third flowchart illustrating a video data processing method according to an embodiment of the invention;
fig. 4 is a fourth flowchart illustrating a video data processing method according to an embodiment of the invention;
fig. 5 is a schematic flowchart of a fifth method for processing video data according to an embodiment of the present invention;
fig. 6 is a first flowchart illustrating a video data query method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a video data query method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a first structure of a video data processing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a second structure of a video data processing apparatus according to an embodiment of the present invention;
fig. 10 is a sixth flowchart illustrating a video data processing method according to an embodiment of the invention;
FIG. 11 is a schematic diagram of a third exemplary embodiment of a video data processing apparatus;
fig. 12 is a schematic structural diagram of a video data processing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the related technical problems, embodiments of the present invention provide a method, an apparatus, and a system for processing video data. The video data processing system comprises a cloud center server and a plurality of video cloud storage systems which are in communication connection with the cloud center server.
The cloud center server mainly has the functions of managing a plurality of video cloud storage systems; the main functions of the video cloud storage system include providing high-performance, high-reliability and uninterrupted data storage and service access for the outside.
First, a method and an apparatus for processing video data provided from the perspective of a cloud center server according to an embodiment of the present invention are described below.
As shown in fig. 1, a video data processing method provided in an embodiment of the present invention is applied to a cloud center server in a video data processing system, where the video data processing system may further include a plurality of video cloud storage systems communicatively connected to the cloud center server, and the method may include:
s101: and detecting whether a video cloud storage system with a fault exists.
In order to manage a plurality of video cloud storage systems, a cloud center server is arranged in a video data processing system and is in communication connection with the video cloud storage systems, the cloud center server detects whether a video cloud storage system with a fault exists in the video cloud storage systems in communication connection with the cloud center server, so that subsequent steps can be performed, wherein the fault can be insufficient storage capacity or down, the cloud center server can detect regularly or in real time, and the detection is preferably performed in real time in order to ensure the continuity of stored video data.
S102: and when the video cloud storage system with the fault exists, searching the specified video cloud storage system from the video cloud storage system without the fault.
When a video cloud storage system with a fault is detected, the video cloud storage systems except the fault in the plurality of video cloud storage systems can be determined to be non-fault video cloud storage systems, and the specified video cloud storage system is searched in the non-fault video cloud storage systems.
In one implementation, searching for a specified video cloud storage system from an un-failed video cloud storage system may include:
according to a preset corresponding relation, searching a designated video cloud storage system corresponding to the failed video cloud storage system from the failed video cloud storage systems, wherein the designated video cloud storage system can be one or more video cloud storage systems.
For example: the video data processing system comprises a cloud center server A, a video cloud storage system B, a video cloud storage system C and a video cloud storage system D, wherein the video cloud storage system B, the video cloud storage system C and the video cloud storage system D are in communication connection with the cloud center server A, the preset corresponding relation is that when the video cloud storage system B fails, the appointed video cloud storage system is the video cloud storage system C, when the video cloud storage system C fails, the appointed video cloud storage system is the video cloud storage system D, and when the video cloud storage system D fails, the appointed video cloud storage system is the video cloud storage system B.
In another implementation, searching for a specified video cloud storage system from an un-failed video cloud storage system may include:
and calculating the appointed video cloud storage system in the video cloud storage system without failure according to a preset calculation method.
S103: and sending a video data storage switching instruction to a specified video cloud storage system.
And after the appointed video cloud storage system is found, sending a video data storage switching instruction to the appointed video cloud storage system, wherein the video data storage switching instruction comprises address information of the video acquisition equipment corresponding to the failed video cloud storage system so that the appointed video cloud storage system receives and stores the video data sent by the video acquisition equipment corresponding to the address information in order to enable the appointed video cloud storage system to take over the video acquisition equipment corresponding to the failed video cloud storage system.
From the perspective of the cloud center server, the designated video cloud storage system receives and stores the video data sent by the video acquisition equipment corresponding to the address information, so that interruption and loss of the video data acquired by the video acquisition equipment are avoided, and meanwhile, continuity and integrity of the stored video data are guaranteed.
According to the video data processing method and device, the cloud center server which is in communication connection with the video cloud storage systems is arranged to detect whether the video cloud storage system has a fault, when the video cloud storage system is detected, the specified video cloud storage system is searched from the video cloud storage system which does not have the fault, and the specified video cloud storage system is enabled to receive and store the video data sent by the video acquisition equipment corresponding to the video cloud storage system which does not have the fault in a mode of sending a video data storage switching instruction to the specified video cloud storage system, so that the video cloud storage system is uniformly managed through the cloud center server, the video data are processed when the storage server/management server in the video cloud storage system has the fault, video data are prevented from being lost, and the continuity and integrity of the stored video data are guaranteed.
For ease of understanding, the method of FIG. 1 is described in detail below with a specific embodiment:
for example: the video data processing system comprises a cloud center server A, a video cloud storage system B, a video cloud storage system C and a video cloud storage system D, wherein the video cloud storage system B, the video cloud storage system C and the video cloud storage system D are in communication connection with the cloud center server A, the video cloud storage system B breaks down at a rate of 8:00, and the video cloud storage system C is preset to be the designated video cloud storage system when the video cloud storage system B breaks down;
the method comprises the steps that a cloud center server A detects a video cloud storage system B with a fault, searches a designated video cloud storage system C from an un-faulty video cloud storage system C and a video cloud storage system D, and sends a video data storage switching instruction to the designated video cloud storage system C, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the faulty video cloud storage system B, so that the designated video cloud storage system C receives and stores video data sent by the video acquisition equipment corresponding to the address information.
On the basis of the embodiment shown in fig. 1, as shown in fig. 2, the video data processing method according to the embodiment of the present invention may further include, after step S103:
s104: and receiving a message of successful switching sent by the appointed video cloud storage system.
After receiving a video data storage switching instruction sent by a cloud center server, the appointed video cloud storage system starts to receive and store video data sent by video acquisition equipment corresponding to the address information and sends a successful switching message to the cloud center server, and the cloud center server receives the successful switching message sent by the appointed video cloud storage system and learns that the appointed video cloud storage system takes over the video acquisition equipment corresponding to the address information.
S105: and sending a video data storage pause instruction to the failed video cloud storage system.
After the cloud center server learns that the specified video cloud storage system takes over the video acquisition equipment corresponding to the address information, in order to reduce the waste of network resources, a video data storage pause instruction is sent to the failed video cloud storage system, so that the failed video cloud storage system pauses the video data sent by the video acquisition equipment corresponding to the storage address information.
Therefore, after the message of successful switching sent by the appointed video cloud storage system is received, the video data storage pause instruction is sent to the failed video cloud storage system, so that the failed video cloud storage system pauses to receive the video data sent by the video acquisition equipment corresponding to the address information, and the waste of network resources is reduced.
On the basis of the embodiment shown in fig. 2, as shown in fig. 3, the method for processing video data according to the embodiment of the present invention may further include, after step S105:
s106: the time point at which the video data storage switching instruction is transmitted is taken as a switching start time point.
After the video data storage switching from the failed video cloud storage system to the specified video cloud storage system is completed, in order to clarify the switching start time point, the time point at which the video data storage switching instruction is transmitted is taken as the switching start time point.
S107: and storing the switching starting time point, the identification information of the failed video cloud storage system and the identification information of the specified video cloud storage system as a switching record.
After the video data storage is switched, in order to facilitate a user to inquire the corresponding video data when the video data is inquired from the cloud center server, the situation that the video data cannot be inquired by the user is avoided, and the switching starting time point, the identification information of the failed video cloud storage system and the identification information of the specified video cloud storage system are stored as a switching record, so that the time when the failed video cloud storage system is switched to store the video data and which video cloud storage system the failed video cloud storage system is switched to can be known from the switching record.
S108: and sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
In order to facilitate a user to inquire the corresponding video data when inquiring the video data from the failed video cloud storage system, the switching record is sent to the failed video cloud storage system, so that the failed video cloud storage system stores the switching record.
Therefore, after the storage switching of the video data from the failed video cloud storage system to the specified video cloud storage system is completed, the corresponding switching record is generated and stored, and the switching record is sent to the failed video cloud storage system so that a user can inquire the switching record.
On the basis of the embodiment shown in fig. 3, as shown in fig. 4, a video data processing method provided in the embodiment of the present invention may further include:
s109: and after the video cloud storage system with the fault is detected to be recovered to be normal, sending a video data recovery storage instruction to the video cloud storage system with the normal recovery.
After the video cloud storage system with the fault is detected to be recovered to be normal, the video cloud storage system with the normal recovery can continue to receive and store the video data, and at the moment, a video data recovery storage instruction is sent to the video cloud storage system with the normal recovery.
S110: and receiving a successful storage recovery message sent by the video cloud storage system which recovers to be normal, and sending a video data storage stop instruction to the specified video cloud storage system.
After the video cloud storage system which recovers to be normal receives the video data storage recovering instruction, the video cloud storage system which recovers to be normal continues to receive and store the video data sent by the video equipment and sends a storage recovering success message to the cloud center server, the cloud center server receives the storage recovering success message sent by the video cloud storage system which recovers to be normal, the fact that the video cloud storage system which recovers to be normal continues to store the video data is known, and a video data storage stopping instruction is sent to the appointed video cloud storage system, so that the appointed video cloud storage system stops storing the video data sent by the video equipment.
S111: and taking the time point of sending the video data recovery storage instruction as a switching end time point.
After the video cloud storage system which is recovered to be normal continues to store the video data, in order to clarify the switching end time point, the time point of sending the video data recovery storage instruction is used as the switching end time point.
S112: and storing the switching end time point into a switching record.
And storing the switching end time point into a switching record, so that the switching record can be used for knowing when the specified video cloud storage system switches the video data storage to recover the normal video cloud storage system.
S113: and sending the switching record to the video cloud storage system which recovers to be normal so that the video cloud storage system which recovers to be normal updates the switching record stored by the video cloud storage system.
And sending the switching record to the video cloud storage system which recovers to be normal so that the video cloud storage system which recovers to be normal updates the switching record stored by the video cloud storage system. Therefore, after the storage switching of the video data from the specified video cloud storage system to the video cloud storage system which is recovered to be normal is completed, the corresponding switching record is stored, and the switching record is sent to the video cloud storage system which is recovered to be normal so that the user can inquire the switching record.
On the basis of the embodiment shown in fig. 4, as shown in fig. 5, a video data processing method provided in the embodiment of the present invention may further include:
s114: and sending a video data migration instruction to a specified video cloud storage system.
After the failed video cloud storage system is recovered to be normal, a video data migration instruction including the time range to be migrated can be sent to the specified video cloud storage system, so that the specified video cloud storage system determines the video data to be migrated according to the time range to be migrated, and sends the determined video data to be migrated to the video cloud storage system recovered to be normal.
Because some video cloud storage systems delete stored video data when the capacity of the video cloud storage systems is insufficient, in order to prevent the video data to be migrated from being deleted by the video data of the designated video cloud storage system in a circulating covering manner, before the video data is sent to the designated video cloud storage system in a migration manner, a video data locking instruction including a migration waiting time range is sent to the designated video cloud storage system to lock the video data to be migrated.
Therefore, in the video data storage switching process, the video data stored in the specified video cloud storage system is transferred to the video cloud storage system which is recovered to be normal in a mode of sending the video data transfer instruction, and the continuity and the integrity of the video data in the video cloud storage system which is recovered to be normal are guaranteed to the greatest extent.
In addition, after the video data to be migrated is migrated to the video cloud storage system which is recovered to be normal, the corresponding switching record is deleted, and the video cloud storage system which is recovered to be normal is informed of the condition, so that the video cloud storage system which is recovered to be normal deletes the corresponding switching record.
As shown in fig. 6, an embodiment of the present invention further provides a video data query method, which is applied to a cloud center server in a video data processing system, where the video data processing system further includes a plurality of video cloud storage systems communicatively connected to the cloud center server, and the method may include:
s201: and receiving a video data query request sent by a client.
The client can perform video data query among the cross-video cloud storage systems through the cloud center server, the cloud center server receives a video data query request sent by the client, and the video data query request comprises a time range to be queried corresponding to video data to be queried, which needs to be queried by the client.
S202: and determining a target time period according to the time range to be queried and the switching record stored in the target time period, and searching a target video cloud storage system corresponding to the target time period.
The switching records are stored in the cloud center server, wherein the switching records comprise a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists, and a video data storage switching instruction is sent to a specified video cloud storage system; and the switching ending time point is a time point of sending a video data storage stopping instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to be normal.
Due to the fact that storage switching of video data occurs between the video cloud storage systems, a target time period can be determined according to a received time range to be queried and a switching record stored by the video cloud storage system, the target time period is a time period for storing the video data to be queried by each video cloud storage system, the target time period can be multiple periods, each target time period can correspond to the same or different target video cloud storage systems, and the target video cloud storage system corresponding to each target time period is searched.
For example: the time range to be inquired is 7:00-10:00, the self-stored switching records are 8:00 of the switching starting time point, identification information B of the failed video cloud storage system B, identification information C of the specified video cloud storage system C and a switching finishing time point 9: 00;
determining target time periods 7:00-8:00, 8:00-9:00 and 9:00-10:00 according to the time range 7:00-10:00 to be inquired and the switching record, searching a target video cloud storage system B corresponding to the target time periods 7:00-8:00, searching a target video cloud storage system C corresponding to the target time periods 8:00-9:00 and searching a target video cloud storage system B corresponding to the target time periods 9:00-10: 00.
S203: and sending a storage position acquisition request to a target video cloud storage system.
The video data to be inquired are stored in the target video cloud storage systems, so that a storage position acquisition request comprising a target time period is sent to each target video cloud storage system, each video target video cloud storage system determines corresponding target storage position information according to the corresponding target time period, and the determined target storage position information is sent to the cloud center server.
S204: and receiving target storage position information returned by the target video cloud storage system.
The target storage position information returned by the target video cloud storage system is received, and the received target storage position information can be sorted and deduplicated for convenient viewing, wherein the sorting mode can be that the target storage position information is sorted according to the time of receiving the target storage position information, and also can be sorted according to the time of the target time period corresponding to the target storage position information, which is reasonable.
S205: and sending the target storage position information and the target time period to the client.
And sending the received target storage position information and the target time period to the client, so that the client can know when the video data to be queried in the time range to be queried is stored in which video cloud storage system, and the video to be queried is played back or downloaded.
Therefore, the client can inquire the video data through the cloud center server.
For ease of understanding, the method of FIG. 6 is described in detail below with a specific embodiment:
for example: the video data processing system comprises a cloud center server A, a video cloud storage system B, a video cloud storage system C and a video cloud storage system D, wherein the video cloud storage system B, the video cloud storage system C and the video cloud storage system D are in communication connection with the cloud center server A, a client is E, the video cloud storage system B fails at 8:00 and recovers to normal at 9:00, when the video cloud storage system B fails, the designated video cloud storage system is the video cloud storage system C, and the time range to be queried is 7:00-10: 00;
the method comprises the steps that a cloud center server A detects a video cloud storage system B with a fault at 8:00, searches for a specified video cloud storage system C from an un-faulty video cloud storage system C and a video cloud storage system D, and sends a video data storage switching instruction to the specified video cloud storage system C at 8:00, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the faulty video cloud storage system B, so that the specified video cloud storage system C receives and stores video data sent by the video acquisition equipment corresponding to the address information;
receiving a message of successful switching sent by a specified video cloud storage system C, and sending a video data storage pause instruction to a failed video cloud storage system B;
taking a time point 8:00 for sending a video data storage switching instruction as a switching starting time point, storing the switching starting time point 8:00, identification information B of a failed video cloud storage system B and identification information C of a specified video cloud storage system C as switching records, sending the switching records to the failed video cloud storage system B, detecting that the failed video cloud storage system B is recovered to be normal at 9:00, sending a video data storage recovery instruction to the video cloud storage system B recovered to be normal at 9:00, receiving a successful storage recovery message sent by the video cloud storage system B recovered to be normal, sending a video data storage stop instruction to the specified video cloud storage system C, and sending a time point 9 for sending a video data storage recovery instruction: 00 as a handover end time point, handover end time point 9:00, storing the switching record into a switching record, and sending the switching record to a video cloud storage system B which is recovered to be normal;
receiving a video data query request sent by a client E, determining target time periods 7:00-8:00, 8:00-9:00 and 9:00-10:00 according to a time range to be queried 7:00-10:00 and switching records stored by the client, searching a target video cloud storage system B corresponding to the target time periods 7:00-8:00, searching a target video cloud storage system C corresponding to the target time periods 8:00-9:00, searching a target video cloud storage system B corresponding to the target time periods 9:00-10:00, respectively sending storage position acquisition requests to the target video cloud storage system B and the target video cloud storage system C, respectively receiving target storage position information H corresponding to the target time periods 7:00-8:00, target storage position information I corresponding to the target time periods 9:00-10:00 and target video cloud storage system C returned by the target video cloud storage system B, respectively receiving the target storage position information H corresponding to the target time periods 7:00-8:00, the target storage position And C, sending the target storage position information H, the target time slot 7:00-8:00, the target storage position information J, the target time slot 8:00-9:00, the target storage position information I and the target time slot 9:00-10:00 to the client side according to the target storage position information J corresponding to the target time slot 8:00-9:00 returned by the client side.
As shown in fig. 7, an embodiment of the present invention further provides a video data query method, which is applied to a cloud center server in a video data processing system, where the video data processing system further includes a plurality of video cloud storage systems communicatively connected to the cloud center server, and the method may include:
s301: and receiving a video data query request sent by the video cloud storage system which is recovered to be normal.
When the video cloud storage system with the fault in the video data processing system is recovered to be normal, due to the fact that video data in the video cloud storage system recovered to be normal is lost, at the moment, the video cloud storage system recovered to be normal can perform video data query between the video cloud storage systems through the cloud center server, the cloud center server receives a video data query request sent by the video cloud storage system recovered to be normal, and the video data query request comprises a time range to be queried corresponding to the video data to be queried.
In addition, the client may send the query request to the video cloud storage system which recovers to be normal, so that the video cloud storage system which recovers to be normal sends the video data query request to the cloud center server, which is reasonable.
S302: determining a first time period and a second time period according to the time range to be inquired and the switching record stored in the self, and searching a video cloud storage system corresponding to the first time period.
The switching records are stored in the cloud center server, wherein the switching records comprise a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists, and a video data storage switching instruction is sent to a specified video cloud storage system; and the switching ending time point is a time point of sending a video data storage stopping instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to be normal.
Due to the fact that video data storage switching occurs between the video cloud storage systems, a first time period and a second time period can be determined according to the received time range to be inquired and the switching record stored by the video cloud storage systems, and the video cloud storage system corresponding to the first time period is searched as the second time period is corresponding to the recovered normal video cloud storage system.
S303: and sending a storage position acquisition request to a video cloud storage system corresponding to the first type of time period.
The video cloud storage system corresponding to the first type time period stores the video data to be inquired, so that the storage position acquisition request including the first type time period is sent to the video cloud storage system corresponding to the first type time period, the video cloud storage system corresponding to the first type time period determines corresponding first storage position information according to the corresponding first type time period, and the determined first storage position information is sent to the cloud center server.
S304: and receiving first storage position information returned by the video cloud storage system corresponding to the first type of time period.
And receiving first storage position information returned by the video cloud storage system corresponding to the first type of time period.
S305: and sending the first storage position information and the first class time period to a video cloud storage system which is corresponding to the second class time period and is recovered to be normal.
And sending the received first storage position information and the first time period to the video cloud storage system which is recovered to be normal and corresponds to the second time period, so that the video cloud storage system which is recovered to be normal can know when the video data to be queried in the time range to be queried is stored in which video cloud storage system.
In addition, in the case that the client sends the query request to the video cloud storage system which is recovered to be normal, when the cloud center service sends the first storage location information and the first type of time period to the video cloud storage system which is recovered to be normal and corresponding to the second type of time period, the second type of time period can also be sent to the video cloud storage system which is recovered to be normal, and after the first storage position information, the first type of time period and the second type of time period are received by the video cloud storage system which is recovered to be normal, determining corresponding second storage position information according to the second type of time period, sending the first type of time period, the first storage position information, the second time period and the second storage position information to the client, so that the client knows when the video data to be queried in the time range to be queried is stored in which video cloud storage system, so as to perform playback or download operation on the video to be queried.
In order to facilitate viewing, the video cloud storage system which recovers to be normal may sort and deduplicate the first storage location information and the second storage location information, where the sorting manner may be sorting according to the morning and the evening of the time period corresponding to the storage location information.
Therefore, the video cloud storage system which is recovered to be normal can inquire the video data to the cloud center server; the client can also query the video data by recovering the normal video cloud storage system.
With respect to the above method embodiment, as shown in fig. 8, an embodiment of the present invention further provides a video data processing apparatus, which is applied to a cloud center server in a video data processing system, where the video data processing system further includes a plurality of video cloud storage systems communicatively connected to the cloud center server, and the apparatus may include:
the detection module 401 is configured to detect whether a failed video cloud storage system exists;
the first searching module 402 is configured to search, when a failed video cloud storage system exists, a specified video cloud storage system from an un-failed video cloud storage system;
a first sending module 403, configured to send a video data storage switching instruction to the specified video cloud storage system, where the video data storage switching instruction includes address information of a video acquisition device corresponding to the failed video cloud storage system, so that the specified video cloud storage system receives and stores video data sent by the video acquisition device corresponding to the address information.
According to the video data processing method and device, the cloud center server which is in communication connection with the video cloud storage systems is arranged to detect whether the video cloud storage system has a fault, when the video cloud storage system is detected, the specified video cloud storage system is searched from the video cloud storage system which does not have the fault, and the specified video cloud storage system is enabled to receive and store the video data sent by the video acquisition equipment corresponding to the video cloud storage system which does not have the fault in a mode of sending a video data storage switching instruction to the specified video cloud storage system, so that the video cloud storage system is uniformly managed through the cloud center server, the video data are processed when the storage server/management server in the video cloud storage system has the fault, video data are prevented from being lost, and the continuity and integrity of the stored video data are guaranteed.
On the basis of the apparatus shown in fig. 8, as shown in fig. 9, the video data processing apparatus according to an embodiment of the present invention may further include:
a first receiving module 404, configured to receive a message that switching is successful and sent by the designated video cloud storage system after the video data storage switching instruction is sent to the designated video cloud storage system;
a second sending module 405, configured to send a video data storage suspension instruction to the failed video cloud storage system.
Therefore, after the message of successful switching sent by the appointed video cloud storage system is received, the video data storage pause instruction is sent to the failed video cloud storage system, so that the failed video cloud storage system pauses to receive the video data sent by the video acquisition equipment corresponding to the address information, and the waste of network resources is reduced.
On the basis of the apparatus shown in fig. 9, an apparatus for processing video data according to an embodiment of the present invention may further include:
a switching start time point determining module, configured to, after the video data storage pause instruction is sent to the failed video cloud storage system, take a time point at which the video data storage switching instruction is sent as a switching start time point;
a switching record storage module, configured to store the switching start time point, the identification information of the failed video cloud storage system, and the identification information of the specified video cloud storage system as a switching record;
and the third sending module is used for sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
Therefore, after the storage switching of the video data from the failed video cloud storage system to the specified video cloud storage system is completed, the corresponding switching record is generated and stored, and the switching record is sent to the failed video cloud storage system so that a user can inquire the switching record.
In one embodiment of the present invention, the video data processing apparatus may further include:
the fourth sending module is used for sending a video data recovery storage instruction to the video cloud storage system which is recovered to be normal after the video cloud storage system which is detected to be in fault is recovered to be normal;
the second receiving module is used for receiving a message of successful storage recovery sent by the video cloud storage system which recovers to normal and sending a video data storage stopping instruction to the specified video cloud storage system;
the switching end time point determining module is used for taking the time point of sending the video data recovery storage instruction as a switching end time point;
the storage module is used for storing the switching end time point into the switching record;
and the fifth sending module is used for sending the switching record to the video cloud storage system which is recovered to be normal so that the video cloud storage system which is recovered to be normal updates the switching record stored by the video cloud storage system.
Therefore, after the storage switching of the video data from the specified video cloud storage system to the video cloud storage system which is recovered to be normal is completed, the corresponding switching record is stored, and the switching record is sent to the video cloud storage system which is recovered to be normal so that the user can inquire the switching record.
In an embodiment of the present invention, the video data processing apparatus may further include:
a sixth sending module, configured to send a video data migration instruction to the specified video cloud storage system, where the video data migration instruction includes a time range to be migrated, so that the specified video cloud storage system determines video data to be migrated according to the time range to be migrated, and sends the determined video data to be migrated to the video cloud storage system that is recovered to be normal.
Therefore, in the video data storage switching process, the video data stored in the specified video cloud storage system is transferred to the video cloud storage system which is recovered to be normal in a mode of sending the video data transfer instruction, and the continuity and the integrity of the video data in the video cloud storage system which is recovered to be normal are guaranteed to the greatest extent.
The video data query device provided by the embodiment of the invention is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems in communication connection with the cloud center server, and the device can comprise:
the third receiving module is used for receiving a video data query request sent by the client, wherein the video data query request comprises a time range to be queried;
the second searching module is used for determining a target time period according to the time range to be queried and a switching record stored by the second searching module, and searching a target video cloud storage system corresponding to the target time period, wherein the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from a non-failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
a seventh sending module, configured to send a storage location obtaining request to the target video cloud storage system, where the storage location obtaining request includes the target time period;
the third receiving module is used for receiving target storage position information returned by the target video cloud storage system;
and the eighth sending module is used for sending the target storage position information and the target time period to the client.
Therefore, the client can inquire the video data through the cloud center server.
The video data query device provided by the embodiment of the invention is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems in communication connection with the cloud center server, and the device can comprise:
the fourth receiving module is used for receiving a video data query request sent by a video cloud storage system which is recovered to be normal, wherein the video data query request comprises a time range to be queried;
a third searching module, configured to determine a first time period and a second time period according to the time range to be queried and a switching record stored in the third searching module, and search for a video cloud storage system corresponding to the first time period, where the second time period corresponds to the recovered normal video cloud storage system, the switching record includes a switching start time point, identification information of a failed video cloud storage system, and identification information and a switching end time point of a specified video cloud storage system, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
a ninth sending module, configured to send a storage location obtaining request to a video cloud storage system corresponding to the first type of time period, where the storage location obtaining request includes the first type of time period;
the fifth receiving module is used for receiving first storage position information returned by the video cloud storage system corresponding to the first type of time period;
and the tenth sending module is used for sending the first storage position information and the first type time period to the video cloud storage system which is recovered to be normal and corresponds to the second type time period.
Therefore, the video cloud storage system which is recovered to be normal can inquire the video data to the cloud center server; the client can also query the video data by recovering the normal video cloud storage system.
The following describes a video data processing method and device provided by the embodiment of the invention from the perspective of a video cloud storage system.
As shown in fig. 10, a video data processing method provided in an embodiment of the present invention is applied to a video cloud storage system in a video data processing system, where the video data processing system may further include a cloud center server communicatively connected to the video cloud storage system, and the method may include:
s501: and receiving a video data storage switching instruction sent by the cloud center server.
In order to manage the video cloud storage systems, a cloud center server is arranged in a video data processing system and is in communication connection with the video cloud storage systems, the cloud center server detects whether a failed video cloud storage system exists in the video cloud storage systems in communication connection with the cloud center server, if yes, the video cloud storage systems except the failure in the video cloud storage systems can be determined to be the video cloud storage systems which are not failed, and the specified video cloud storage system is searched in the video cloud storage systems which are not failed. The fault can be insufficient storage capacity or downtime, the cloud center server can detect periodically or detect in real time, and the detection is preferably real-time for ensuring the continuity of the stored video data.
The method comprises the steps that an appointed video cloud storage system receives a video data storage switching instruction sent by a cloud center server, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to a failed video cloud storage system.
S502: and sending the takeover message to the video acquisition equipment corresponding to the address information.
In order to take over the video acquisition equipment corresponding to the failed video cloud storage system, the take-over information is sent to the video acquisition equipment corresponding to the address information, and after the video acquisition equipment receives the take-over information, the video acquisition equipment sends video data to the specified video cloud storage system.
S503: and receiving and storing the video data sent by the video acquisition equipment corresponding to the address information.
And after receiving the video data sent by the video acquisition equipment corresponding to the address information, storing the video data.
In the invention, the cloud center server which is in communication connection with a plurality of video cloud storage systems is arranged, after the appointed video cloud storage system receives a video data storage switching instruction sent by the cloud center server, the video data storage switching instruction comprises address information of the video acquisition equipment corresponding to the failed video cloud storage system, the method takes over the video acquisition equipment by sending a take-over message to the video acquisition equipment corresponding to the address information, receives and stores the video data sent by the video acquisition equipment corresponding to the video cloud storage system with the fault, therefore, the video cloud storage system is managed in a unified mode through the cloud center server, so that the video data are processed when the storage server/management server in the video cloud storage system breaks down, the video data are prevented from being lost, and the continuity and the integrity of the stored video data are guaranteed.
On the basis of the method shown in fig. 10, a video data processing method provided in an embodiment of the present invention may further include:
and sending a message of successful switching to the cloud center server so that the cloud center server sends a video data storage suspension instruction to the failed video cloud storage system.
After receiving a video data storage switching instruction sent by a cloud center server, starting to receive and store video data sent by video acquisition equipment corresponding to address information, and sending a switching success message to the cloud center server, wherein the cloud center server receives the switching success message sent by a specified video cloud storage system, and learns that the specified video cloud storage system takes over the video acquisition equipment corresponding to the address information.
After sending the message of successful switching to the cloud center server, the video data processing method provided by the embodiment of the present invention may further include:
receiving a video data storage stopping instruction sent by a cloud center server, wherein the video data storage stopping instruction is sent to a specified video cloud storage system after the cloud center server detects that a failed video cloud storage system is recovered to be normal;
and stopping storing the video data sent by the video acquisition equipment corresponding to the address information.
When the video cloud storage system which detects the fault is recovered to be normal, the video cloud storage system which recovers to be normal can continuously receive and store video data, at the moment, the cloud center server sends a video data recovery storage instruction to the video cloud storage system which recovers to be normal, the video cloud storage system which recovers to be normal receives the video data recovery storage instruction, continuously receives and stores the video data sent by the video equipment, and sends a message of successful storage recovery to the cloud center server, the cloud center server receives a message of successful storage recovery sent by the video cloud storage system which recovers to be normal, learns that the video cloud storage system which recovers to be normal has continuously stored the video data, sends a video data storage stop instruction to a specified video cloud storage system, and the specified video cloud storage system receives a video data storage stop instruction sent by the cloud center server, and stopping storing the video data transmitted by the video equipment.
After stopping storing the video data sent by the video acquisition device corresponding to the address information, the video data processing method provided by the embodiment of the invention may further include:
receiving a video data migration instruction sent by a cloud center server, wherein the video data migration instruction comprises a time range to be migrated;
determining video data to be migrated according to the time range to be migrated;
and sending the determined video data to be migrated to a video cloud storage system which recovers to be normal.
After the failed video cloud storage system is recovered to be normal, the cloud center server can send a video data migration instruction including a time range to be migrated to the designated video cloud storage system, the designated video cloud storage system receives the video data migration instruction sent by the cloud center server, determines video data to be migrated according to the time range to be migrated, and sends the determined video data to be migrated to the video cloud storage system recovered to be normal.
Because some video cloud storage systems delete stored video data when the capacity of the video cloud storage systems is insufficient, in order to prevent the video data to be migrated from being deleted by the video data of the designated video cloud storage system in a circulating covering manner, before the cloud center server sends the video data migration designation to the designated video cloud storage system, a video data locking instruction including a time range to be migrated is sent to the designated video cloud storage system, and the designated video cloud storage system receives the video data locking instruction sent by the cloud center server and locks the video data to be migrated.
Therefore, after the video data migration instruction is received, in the process of storing and switching the video data, the stored video data are migrated to the video cloud storage system which recovers to be normal, and the continuity and the integrity of the video data in the video cloud storage system which recovers to be normal are guaranteed to the greatest extent.
With respect to the above method embodiment, as shown in fig. 11, a video data processing apparatus provided in an embodiment of the present invention is applied to a video cloud storage system in a video data processing system, where the video data processing system further includes a cloud center server in communication connection with the video cloud storage system, and the apparatus includes:
a video data storage switching instruction receiving module 601, configured to receive a video data storage switching instruction sent by the cloud center server, where the video data storage switching instruction includes address information of a video acquisition device corresponding to a failed video cloud storage system;
a takeover message sending module 602, configured to send a takeover message to the video capture device corresponding to the address information;
and the video data receiving module 603 is configured to receive and store video data sent by the video acquisition device corresponding to the address information.
In the invention, the cloud center server which is in communication connection with a plurality of video cloud storage systems is arranged, after the appointed video cloud storage system receives a video data storage switching instruction sent by the cloud center server, the video data storage switching instruction comprises address information of the video acquisition equipment corresponding to the failed video cloud storage system, the method takes over the video acquisition equipment by sending a take-over message to the video acquisition equipment corresponding to the address information, receives and stores the video data sent by the video acquisition equipment corresponding to the video cloud storage system with the fault, therefore, the video cloud storage system is managed in a unified mode through the cloud center server, so that the video data are processed when the storage server/management server in the video cloud storage system breaks down, the video data are prevented from being lost, and the continuity and the integrity of the stored video data are guaranteed.
A video data processing system according to an embodiment of the present invention is described below.
As shown in fig. 12, a video data processing system according to an embodiment of the present invention includes a cloud center server 701 and a plurality of video cloud storage systems 702 communicatively connected to the cloud center server;
the video cloud storage systems are respectively a video cloud storage system 702A and a video cloud storage system 702B … … video cloud storage system 702N, the video cloud storage system with a fault is taken as an example for description below, when other video cloud storage systems have a fault, the processing mode of the video data processing system is the same as that of the video cloud storage system 702A, and details are not repeated here.
The cloud center server 701 is configured to detect whether a failed video cloud storage system exists, and when the failed video cloud storage system 702A exists, search for a specified video cloud storage system 702B from the failed video cloud storage system, and send a video data storage switching instruction to the specified video cloud storage system 702B, where the video data storage switching instruction includes address information of a video acquisition device corresponding to the failed video cloud storage system 702A;
the designated video cloud storage system 702B is configured to receive a video data storage switching instruction sent by the cloud center server 701, send a takeover message to the video acquisition device corresponding to the address information, and receive and store video data sent by the video acquisition device corresponding to the address information.
According to the video data processing method and device, the cloud center server which is in communication connection with the video cloud storage systems is arranged to detect whether the video cloud storage system has a fault, when the video cloud storage system is detected, the specified video cloud storage system is searched from the video cloud storage system which does not have the fault, and the specified video cloud storage system is enabled to receive and store the video data sent by the video acquisition equipment corresponding to the video cloud storage system which does not have the fault in a mode of sending a video data storage switching instruction to the specified video cloud storage system, so that the video cloud storage system is uniformly managed through the cloud center server, the video data are processed when the storage server/management server in the video cloud storage system has the fault, video data are prevented from being lost, and the continuity and integrity of the stored video data are guaranteed.
In an implementation manner of the embodiment of the present invention, the specified video cloud storage system 702B is further configured to send a message that the switching is successful to the cloud center server 701;
the cloud center server 701 is further configured to receive a message that the switching is successful, which is sent by the specified video cloud storage system 702B, and send a video data storage suspension instruction to the failed video cloud storage system 702A;
the failed video cloud storage system 702A is configured to receive a video data storage suspension instruction sent by the cloud center server 701, and suspend to store video data sent by the video acquisition device.
In an implementation manner of the embodiment of the present invention, the cloud center server 701 is further configured to use a time point of sending a video data storage switching instruction as a switching start time point, store the switching start time point, the identification information of the failed video cloud storage system 702A, and the identification information of the specified video cloud storage system 702B as a switching record, and send the switching record to the failed video cloud storage system 702A;
the failed video cloud storage system 702A is further configured to receive a switching record sent by the cloud center server 701, and store the switching record.
In an implementation manner of the embodiment of the present invention, the cloud center server 701 is further configured to send a video data restoration storage instruction to the video cloud storage system 702A which is restored to normal after detecting that the video cloud storage system 702A which has failed is restored to normal;
the video cloud storage system 702A which is recovered to be normal is configured to receive a video data recovery storage instruction sent by the cloud center server 701, recover to store video data sent by the video acquisition device, and send a message that storage recovery is successful to the cloud center server 701;
the cloud center server 701 is further configured to receive a message that storage recovery is successful, which is sent by the video cloud storage system 702A recovering from normal, and send a video data storage stop instruction to the specified video cloud storage system 702B;
the designated video cloud storage system 702B is further configured to receive a video data storage stop instruction sent by the cloud center server 701, and stop storing video data sent by the video acquisition device;
the cloud center server 701 is further configured to store a switching end time point, which is a time point when the video data recovery storage instruction is sent, into the switching record, and send the switching record to the video cloud storage system 702A recovering to normal;
the video cloud storage system 702A which is recovered to be normal is configured to receive the switching record sent by the cloud center server 701 and update the switching record stored by itself.
In an implementation manner of the embodiment of the present invention, the cloud center server 701 is further configured to receive a video data query request sent by a client, where the video data query request includes a time range to be queried, determine a target time period according to the time range to be queried and a switching record stored in the cloud center server, search for a target video cloud storage system corresponding to the target time period, and send a storage location acquisition request to the target video cloud storage system, where the storage location acquisition request includes the target time period;
the target video cloud storage system is configured to receive a storage location acquisition request sent by the cloud center server 701, determine target storage location information according to the target time period, and return the target storage location information to the cloud center server 701;
the cloud center server 701 is further configured to receive target storage location information returned by the target video cloud storage system, and send the target storage location information and the target time period to the client.
In an implementation manner of the embodiment of the present invention, the video cloud storage system 702A that returns to normal is further configured to send a video data query request to the cloud center server 701, where the video data query request includes a time range to be queried;
the cloud center server 701 is further configured to receive a video data query request sent by the video cloud storage system 702A recovering from normal, determine a first time period and a second time period according to the time range to be queried and the switching record stored in the cloud center server, and search for a video cloud storage system corresponding to the first time period, where the second time period corresponds to the video cloud storage system 702A recovering from normal, and send a storage location acquisition request to the video cloud storage system corresponding to the first time period, where the storage location acquisition request includes the first time period;
the video cloud storage system corresponding to the first type of time period is configured to receive a storage location acquisition request sent by the cloud center server 701, determine first storage location information according to the first type of time period, and return the first storage location information to the cloud center server 701;
the cloud center server 701 is further configured to receive first storage location information returned by the video cloud storage system corresponding to the first type of time period, and send the first storage location information and the first type of time period to the video cloud storage system 702A which is recovered to be normal and corresponding to the second type of time period;
the video cloud storage system 702A which is recovered to be normal is configured to receive the first storage location information and the first type time period sent by the cloud center server 701.
In an implementation manner of the embodiment of the present invention, the cloud center server 701 is further configured to send a video data migration instruction to the specified video cloud storage system 702B, where the video data migration instruction includes a time range to be migrated;
the designated video cloud storage system 702B is further configured to receive a video data migration instruction sent by the cloud center server 701, determine video data to be migrated according to the time range to be migrated, and send the determined video data to be migrated to the video cloud storage system 702A which is recovered to normal;
the recovered video cloud storage system 702A is further configured to receive video data to be migrated, which is sent by the specified video cloud storage system 702B.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (13)

1. A video data processing method is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems which are in communication connection with the cloud center server, and the method comprises the following steps:
detecting whether a video cloud storage system with a fault exists;
when a video cloud storage system with a fault exists, searching a specified video cloud storage system from the video cloud storage system without the fault;
sending a video data storage switching instruction to the appointed video cloud storage system, wherein the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the failed video cloud storage system, so that the appointed video cloud storage system receives and stores video data sent by the video acquisition equipment corresponding to the address information;
receiving a message of successful switching sent by the appointed video cloud storage system;
sending a video data storage pause instruction to the video cloud storage system with the fault;
taking the time point of sending the video data storage switching instruction as a switching starting time point;
storing the switching start time point, the identification information of the failed video cloud storage system and the identification information of the specified video cloud storage system as a switching record;
and sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
2. The method of claim 1, further comprising:
after the video cloud storage system with the fault is detected to be recovered to be normal, sending a video data recovery storage instruction to the video cloud storage system with the fault recovered to be normal;
receiving a successful storage recovery message sent by the video cloud storage system recovering to normal, and sending a video data storage stop instruction to the specified video cloud storage system;
taking the time point of sending the video data recovery storage instruction as a switching end time point;
storing the switching end time point into the switching record;
and sending the switching record to the video cloud storage system which is recovered to be normal so that the video cloud storage system which is recovered to be normal updates the switching record stored by the video cloud storage system.
3. The method of claim 2, further comprising:
and sending a video data migration instruction to the appointed video cloud storage system, wherein the video data migration instruction comprises a time range to be migrated, so that the appointed video cloud storage system determines video data to be migrated according to the time range to be migrated, and sends the determined video data to be migrated to the video cloud storage system which is recovered to be normal.
4. A video data query method is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems in communication connection with the cloud center server, and the method comprises the following steps:
receiving a video data query request sent by a client, wherein the video data query request comprises a time range to be queried;
determining a target time period according to the time range to be queried and a switching record stored by the target time period, and searching a target video cloud storage system corresponding to the target time period, wherein the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
sending a storage position acquisition request to the target video cloud storage system, wherein the storage position acquisition request comprises the target time period;
receiving target storage position information returned by the target video cloud storage system;
and sending the target storage position information and the target time period to the client.
5. A video data query method is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems in communication connection with the cloud center server, and the method comprises the following steps:
receiving a video data query request sent by a video cloud storage system which is recovered to be normal, wherein the video data query request comprises a time range to be queried;
determining a first type time period and a second type time period according to the time range to be inquired and the switching record stored in the self, searching a video cloud storage system corresponding to the first type time period,
the second type of time period corresponds to the recovered normal video cloud storage system, the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
sending a storage position acquisition request to a video cloud storage system corresponding to the first type of time period, wherein the storage position acquisition request comprises the first type of time period;
receiving first storage position information returned by the video cloud storage system corresponding to the first type of time period;
and sending the first storage position information and the first class time period to a video cloud storage system which is recovered to be normal and corresponds to the second class time period.
6. A video data processing apparatus, applied to a cloud center server in a video data processing system, the video data processing system further including a plurality of video cloud storage systems communicatively connected to the cloud center server, the apparatus comprising:
the detection module is used for detecting whether a video cloud storage system with a fault exists or not;
the first searching module is used for searching a specified video cloud storage system from an un-failed video cloud storage system when the failed video cloud storage system exists;
the first sending module is used for sending a video data storage switching instruction to the specified video cloud storage system, wherein the video data storage switching instruction comprises address information of the video acquisition equipment corresponding to the failed video cloud storage system, so that the specified video cloud storage system receives and stores video data sent by the video acquisition equipment corresponding to the address information;
the first receiving module is used for receiving a successful switching message sent by the appointed video cloud storage system after the video data storage switching instruction is sent to the appointed video cloud storage system;
the second sending module is used for sending a video data storage pause instruction to the video cloud storage system with the fault;
a switching start time point determining module, configured to, after the video data storage pause instruction is sent to the failed video cloud storage system, take a time point at which the video data storage switching instruction is sent as a switching start time point;
a switching record storage module, configured to store the switching start time point, the identification information of the failed video cloud storage system, and the identification information of the specified video cloud storage system as a switching record;
and the third sending module is used for sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
7. The apparatus of claim 6, further comprising:
the fourth sending module is used for sending a video data recovery storage instruction to the video cloud storage system which is recovered to be normal after the video cloud storage system which is detected to be in fault is recovered to be normal;
the second receiving module is used for receiving a message of successful storage recovery sent by the video cloud storage system which recovers to normal and sending a video data storage stopping instruction to the specified video cloud storage system;
the switching end time point determining module is used for taking the time point of sending the video data recovery storage instruction as a switching end time point;
the storage module is used for storing the switching end time point into the switching record;
and the fifth sending module is used for sending the switching record to the video cloud storage system which is recovered to be normal so that the video cloud storage system which is recovered to be normal updates the switching record stored by the video cloud storage system.
8. The apparatus of claim 7, further comprising:
a sixth sending module, configured to send a video data migration instruction to the specified video cloud storage system, where the video data migration instruction includes a time range to be migrated, so that the specified video cloud storage system determines video data to be migrated according to the time range to be migrated, and sends the determined video data to be migrated to the video cloud storage system that is recovered to be normal.
9. A video data query device is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems in communication connection with the cloud center server, and the device comprises:
the third receiving module is used for receiving a video data query request sent by a client, wherein the video data query request comprises a time range to be queried;
a second searching module, configured to determine a target time period according to the time range to be queried and the switch record stored in the second searching module, and search for a target video cloud storage system corresponding to the target time period, where,
the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, wherein the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
a seventh sending module, configured to send a storage location obtaining request to the target video cloud storage system, where the storage location obtaining request includes the target time period;
the third receiving module is used for receiving target storage position information returned by the target video cloud storage system;
and the eighth sending module is used for sending the target storage position information and the target time period to the client.
10. A video data query device is applied to a cloud center server in a video data processing system, the video data processing system further comprises a plurality of video cloud storage systems in communication connection with the cloud center server, and the device comprises:
the fourth receiving module is used for receiving a video data query request sent by a video cloud storage system which is recovered to be normal, wherein the video data query request comprises a time range to be queried;
a third searching module, configured to determine a first type of time period and a second type of time period according to the time range to be queried and the switching record stored in the third searching module, search for a video cloud storage system corresponding to the first type of time period,
the second type of time period corresponds to the recovered normal video cloud storage system, the switching record comprises a switching start time point, identification information of a failed video cloud storage system, identification information of a specified video cloud storage system and a switching end time point, and the specified video cloud storage system is a video cloud storage system searched from an failed video cloud storage system when the failed video cloud storage system exists; the switching starting time point is a time point when a video cloud storage system with a fault exists and a video data storage switching instruction is sent to the appointed video cloud storage system; the switching end time point is a time point of sending a video data storage stop instruction to the specified video cloud storage system after the video cloud storage system with the fault is detected to be recovered to normal;
a ninth sending module, configured to send a storage location obtaining request to a video cloud storage system corresponding to the first type of time period, where the storage location obtaining request includes the first type of time period;
the fifth receiving module is used for receiving first storage position information returned by the video cloud storage system corresponding to the first type of time period;
and the tenth sending module is used for sending the first storage position information and the first type time period to the video cloud storage system which is recovered to be normal and corresponds to the second type time period.
11. A video data processing method is applied to a specified video cloud storage system in a video data processing system, the video data processing system further comprises a cloud center server in communication connection with the video cloud storage system, the specified video cloud storage system is a video cloud storage system which is found by the cloud center server from an un-failed video cloud storage system when a failed video cloud storage system exists, and the method comprises the following steps:
receiving a video data storage switching instruction sent by the cloud center server, wherein the video data storage switching instruction is sent by the cloud center server when a video cloud storage system with a fault exists, and the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the video cloud storage system with the fault;
sending a takeover message to the video acquisition equipment corresponding to the address information;
receiving and storing video data sent by video acquisition equipment corresponding to the address information;
sending a message of successful switching to the cloud center server so that the cloud center server sends a video data storage suspension instruction to the failed video cloud storage system; taking the time point of sending the video data storage switching instruction as a switching starting time point; storing the switching start time point, the identification information of the failed video cloud storage system and the identification information of the specified video cloud storage system as a switching record; and sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
12. A video data processing device is applied to a specified video cloud storage system in a video data processing system, the video data processing system further comprises a cloud center server in communication connection with the video cloud storage system, the specified video cloud storage system is a video cloud storage system which is found by the cloud center server from an un-failed video cloud storage system when a failed video cloud storage system exists, and the device comprises:
the video data storage switching instruction receiving module is used for receiving a video data storage switching instruction sent by the cloud center server, wherein the video data storage switching instruction is sent by the cloud center server when a video cloud storage system with a fault exists, and the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the video cloud storage system with the fault;
the takeover message sending module is used for sending the takeover message to the video acquisition equipment corresponding to the address information;
the video data receiving module is used for receiving and storing video data sent by the video acquisition equipment corresponding to the address information, and sending a message of successful switching to the cloud center server so that the cloud center server sends a video data storage suspension instruction to the failed video cloud storage system; taking the time point of sending the video data storage switching instruction as a switching starting time point; storing the switching start time point, the identification information of the failed video cloud storage system and the identification information of the specified video cloud storage system as a switching record; and sending the switching record to the failed video cloud storage system so that the failed video cloud storage system stores the switching record.
13. The video data processing system is characterized by comprising a cloud center server and a plurality of video cloud storage systems in communication connection with the cloud center server;
the cloud center server is used for detecting whether a failed video cloud storage system exists or not, searching a specified video cloud storage system from the failed video cloud storage system when the failed video cloud storage system exists, sending a video data storage switching instruction to the specified video cloud storage system, receiving a switching success message sent by the specified video cloud storage system, sending a video data storage suspension instruction to the failed video cloud storage system, taking a time point of sending the video data storage switching instruction as a switching start time point, storing the switching start time point, identification information of the failed video cloud storage system and identification information of the specified video cloud storage system as a switching record, and sending the switching record to the failed video cloud storage system; the video data storage switching instruction comprises address information of video acquisition equipment corresponding to the video cloud storage system with the fault;
the appointed video cloud storage system is used for receiving a video data storage switching instruction sent by the cloud center server, sending a takeover message to the video acquisition equipment corresponding to the address information, receiving and storing video data sent by the video acquisition equipment corresponding to the address information, receiving a video data storage pause instruction sent by the cloud center server, and pausing and storing the video data sent by the video acquisition equipment;
the video cloud storage system with the fault is used for receiving a video data storage suspension instruction sent by the cloud center server, suspending storage of video data sent by the video acquisition equipment, receiving a switching record sent by the cloud center server, and storing the switching record.
CN201610943729.1A 2016-11-02 2016-11-02 Video data processing method, device and system Active CN108023746B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610943729.1A CN108023746B (en) 2016-11-02 2016-11-02 Video data processing method, device and system
PCT/CN2017/102426 WO2018082406A1 (en) 2016-11-02 2017-09-20 Video data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610943729.1A CN108023746B (en) 2016-11-02 2016-11-02 Video data processing method, device and system

Publications (2)

Publication Number Publication Date
CN108023746A CN108023746A (en) 2018-05-11
CN108023746B true CN108023746B (en) 2020-01-17

Family

ID=62070045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610943729.1A Active CN108023746B (en) 2016-11-02 2016-11-02 Video data processing method, device and system

Country Status (2)

Country Link
CN (1) CN108023746B (en)
WO (1) WO2018082406A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662027B (en) * 2018-06-29 2021-05-28 杭州海康威视系统技术有限公司 Storage integrity detection method and device and computer equipment
CN110662018B (en) * 2018-06-29 2021-10-29 杭州海康威视系统技术有限公司 Video quality detection method, device and system based on cloud storage system
CN111176888B (en) * 2018-11-13 2023-09-15 浙江宇视科技有限公司 Disaster recovery method, device and system for cloud storage
CN111405215A (en) * 2019-09-03 2020-07-10 杭州海康威视系统技术有限公司 Video storage method and device, cloud server and storage medium
CN112559537B (en) * 2019-09-25 2022-04-29 阿里巴巴集团控股有限公司 Cloud storage interval updating method and device, electronic equipment and computer storage medium
CN111314493A (en) * 2020-04-10 2020-06-19 上海依图网络科技有限公司 Data processing method of heterogeneous cloud storage system and readable medium and system thereof
CN113259700A (en) * 2021-05-17 2021-08-13 青岛海信移动通信技术股份有限公司 Management device, server, video storage method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152437A (en) * 2013-04-07 2013-06-12 中云智盟系统集成江苏有限公司 Distributed video monitoring cloud storage system
CN103237063A (en) * 2013-04-11 2013-08-07 安科智慧城市技术(中国)有限公司 Cloud storage method, cloud control server, cloud storage server and system
CN104394382A (en) * 2014-12-09 2015-03-04 浙江省公众信息产业有限公司 Storage method, device and system of video monitoring record
KR20160069442A (en) * 2014-12-08 2016-06-16 엔트릭스 주식회사 Service error detection apparatus for cloud streaming service, end to end service monitoring system and method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890716B (en) * 2012-09-29 2017-08-08 南京中兴新软件有限责任公司 The data back up method of distributed file system and distributed file system
CN103813213B (en) * 2014-02-25 2019-02-12 南京工业大学 Real-time video sharing platform and method based on mobile cloud computing
CN105554106A (en) * 2015-12-15 2016-05-04 上海仪电(集团)有限公司 Memcache distributed caching system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152437A (en) * 2013-04-07 2013-06-12 中云智盟系统集成江苏有限公司 Distributed video monitoring cloud storage system
CN103237063A (en) * 2013-04-11 2013-08-07 安科智慧城市技术(中国)有限公司 Cloud storage method, cloud control server, cloud storage server and system
KR20160069442A (en) * 2014-12-08 2016-06-16 엔트릭스 주식회사 Service error detection apparatus for cloud streaming service, end to end service monitoring system and method thereof
CN104394382A (en) * 2014-12-09 2015-03-04 浙江省公众信息产业有限公司 Storage method, device and system of video monitoring record

Also Published As

Publication number Publication date
CN108023746A (en) 2018-05-11
WO2018082406A1 (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN108023746B (en) Video data processing method, device and system
CN101706805B (en) Method and system for storing object
CN108093207B (en) Data storage and acquisition method and device
RU2013126471A (en) ENSURING TRANSPARENT FAILURE OPERATION IN A FILE SYSTEM
CN106062717A (en) Distributed storage replication system and method
CN112328421B (en) System fault processing method and device, computer equipment and storage medium
CN111176888B (en) Disaster recovery method, device and system for cloud storage
EP3232609B1 (en) Locking request processing method and server
CN108197270B (en) Distributed file system data recovery method
CN101763321B (en) Disaster-tolerant method, device and system
CN110737545B (en) Data processing method and device, electronic equipment and storage medium
CN107066480B (en) Method, system and equipment for managing main and standby databases
WO2019024910A1 (en) Storage resource recovery method, apparatus and system
EP2723017A1 (en) Method, apparatus and system for implementing distributed auto-incrementing counting
CN109600410A (en) Data-storage system and method
KR20190023420A (en) Automatic backup apparatus based on real-time file change detection
CN107592199B (en) Data synchronization method and system
CN108509296B (en) Method and system for processing equipment fault
CN113330426B (en) Method, device and system for backing up data
CN105323271B (en) Cloud computing system and processing method and device thereof
CN108009045B (en) Method and device for processing faults of main and standby databases
CN113946471A (en) Distributed file-level backup method and system based on object storage
CN110858168A (en) Cluster node fault processing method and device and cluster node
CN109344202B (en) Data synchronization method and management node
WO2012029280A1 (en) Disk management method, disk management system, disk management device and memory device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant