CN105450964B - Method, system and management node for cloud storage of video data - Google Patents

Method, system and management node for cloud storage of video data Download PDF

Info

Publication number
CN105450964B
CN105450964B CN201410522548.2A CN201410522548A CN105450964B CN 105450964 B CN105450964 B CN 105450964B CN 201410522548 A CN201410522548 A CN 201410522548A CN 105450964 B CN105450964 B CN 105450964B
Authority
CN
China
Prior art keywords
video
access node
node
plan
address
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
CN201410522548.2A
Other languages
Chinese (zh)
Other versions
CN105450964A (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 System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System 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 System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Priority to CN201410522548.2A priority Critical patent/CN105450964B/en
Publication of CN105450964A publication Critical patent/CN105450964A/en
Application granted granted Critical
Publication of CN105450964B publication Critical patent/CN105450964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a system and a management node for cloud storage of video data, wherein the method comprises the following steps: the management node receives the video recording plan, extracts the front-end equipment address from the video recording plan, and inquires the video access node identification corresponding to the front-end equipment address from the access node list: if the video is found, the video plan is sent to the video access node corresponding to the video access node identification; if the video access node is not found, selecting a video access node, sending the video plan to the selected video access node, and adding the video plan in the access node list corresponding to the identifier of the selected video access node; and the video access node executes the received video plan, acquires video data from the front-end equipment and sends the video data to the storage node for storage. The scheme of the invention can ensure the successful access to the video data and can meet the storage requirement of mass data.

Description

Method, system and management node for cloud storage of video data
Technical Field
The invention relates to a video data storage technology, in particular to a method, a system and a management node for cloud storage of video data.
Background
In the video recording technology, data acquisition is carried out on a video scene to obtain video data; and the front-end equipment acquires the video data of the corresponding application scene through the specified channel according to the video plan and stores the video data.
The existing front-end device is, for example, a Network Video Recorder (NVR) or a Digital Video Recorder (DVR). The current method for storing video data is as follows: and directly sending the video plan to corresponding front-end equipment such as a DVR (digital video recorder) or an NVR (network video recorder), and executing the video plan by the DVR or the NVR.
The video recording plan comprises addresses of front-end equipment which needs to acquire video recording data, the front-end equipment receives the video recording data from different application scenes through each channel, and the video recording plan also comprises the channel addresses and corresponding time periods; for example, the front-end device receives video data from different network cameras (IPC) through a plurality of channels. After the DVR or the NVR receives the video recording plan, if the time period contained in the video recording plan is reached, the video recording data is obtained from the corresponding channel according to the channel address and is stored in the local DVR or the NVR. Then, the application program can access the DVR or NVR again according to the requirement, and the video data is read for previewing or storing and other processing.
The existing scheme for storing the video data has the following defects:
when an application program establishes connection with a DVR or an NVR for access, because the maximum connection number of the DVR or the NVR is limited, if a plurality of users need to access the same DVR or the NVR at the same time, the connection cannot be realized, and the request fails; in addition, the storage space of the DVR or NVR is limited, which cannot meet the storage requirement of mass data.
Disclosure of Invention
The invention provides a method for carrying out cloud storage on video data, which can ensure successful access to the video data and can meet the storage requirement of mass data.
The invention provides a system for carrying out cloud storage on video data, which can ensure successful access to the video data and can meet the storage requirement of mass data.
The invention provides a management node for carrying out cloud storage on video data, which can ensure successful access to the video data and can meet the storage requirement of mass data.
A method for cloud storage of video data, the method comprising:
the management node receives a video recording plan;
the management node extracts the address of the front-end equipment from the video plan, and inquires the video access node identification corresponding to the address of the front-end equipment from the access node list:
if the video program is found, the video program is sent to the video access node corresponding to the video access node identification, and the video program is added to the corresponding video access node identification in the access node list; if the video access node is not found, selecting a video access node, sending the video plan to the selected video access node, and adding the video plan in the access node list corresponding to the identifier of the selected video access node;
and the video access node executes the received video plan, acquires video data from the front-end equipment and sends the video data to the storage node for storage.
A method for cloud storage of video data, the method comprising:
the management node receives the video plan, selects a video access node, issues the video plan to the video access node, and adds the video plan to the identifier of the corresponding video access node in the access node list; the video access node executes the received video plan, acquires video data from the front-end equipment and sends the video data to the storage node for storage;
the method further comprises the following steps:
the management node reads the access node list and calculates the average video plan number to be shared on each video access node;
the management node calculates the video plan number required to be cut in or cut out by each access video node according to the average video plan number and the maximum access number attribute of each access video node, represents the video access node to be cut in as a first video access node, and represents the video access node to be cut out as a second video access node;
and the management node switches the video plan to be cut out on the second video access node to the first video access node, and updates the information in the access node list after the switching is completed.
A system for carrying out cloud storage on video data comprises a management node, a video access node and a storage node;
the management node receives the video recording plan, extracts the front-end equipment address from the video recording plan, and inquires the video access node identification corresponding to the front-end equipment address from the access node list: if the video program is found, the video program is sent to the video access node corresponding to the video access node identification, and the video program is added to the corresponding video access node identification in the access node list; if the video access node is not found, selecting a video access node, sending the video plan to the selected video access node, and adding the video plan in the access node list corresponding to the identifier of the selected video access node;
the video access node receives the video plan from the management node, executes the video plan, acquires video data from the front-end equipment, and sends the video data to the storage node;
and the storage node stores the received video data.
A management node for cloud storage of video data comprises a plan acquisition unit, an address extraction unit and a query issuing unit;
the plan acquisition unit receives a video plan and sends the video plan to the address extraction unit;
the address extraction unit extracts the address of the front-end equipment from the video plan and sends the address to the query issuing unit;
the inquiry issuing unit receives the front-end equipment address from the address extracting unit, and inquires a video access node identifier corresponding to the front-end equipment address from an access node list: if the video program is found, the video program is sent to the video access node corresponding to the video access node identification for execution, and the video program is added to the corresponding video access node identification in the access node list; and if the video access node is not found, selecting the video access node, issuing the video plan to the selected video access node for execution, and adding the video plan in the access node list corresponding to the identifier of the selected video access node.
It can be seen from the above solution that, in the present invention, the management node receives the video recording plan, extracts the front-end device address from the video recording plan, and queries the video access node identifier corresponding to the front-end device address from the access node list: if the video is found, the video plan is sent to the video access node corresponding to the video access node identification; if the video access node is not found, selecting a video access node; the video access node executes the received video plan, acquires video data from the front-end equipment and sends the video data to the storage node; and the storage node reports the address information about the video data to the management node after storing the video data, and the management node adds the address information about the video data to the index table. The video data are stored in a cloud storage mode, video access nodes are arranged in a cloud storage cluster, and a management node manages the video access nodes by combining an access node list, wherein the management node issues a video plan to the video access nodes, and the video access nodes acquire the video data of front-end equipment and store the video data to the storage nodes; by adopting the scheme, when the video data needs to be accessed, the management node is directly accessed, the maximum connection number of the management node is not limited, and the connection failure can not be caused even if a plurality of users access at the same time; if the management node inquires out the video access node identification corresponding to the front-end equipment address contained in the video plan from the access node list, the video plan is issued to the video access node corresponding to the video access node identification, and by adopting the mode, the connection between the video access node and the front-end equipment can be reduced as much as possible on the basis of adopting cloud storage; moreover, in the cloud storage scheme, the space capacity of the storage nodes is large enough, and capacity expansion is supported, so that the storage requirement of mass data is further met.
Drawings
FIG. 1 is a schematic flow chart of a method for cloud storage of video data according to the present invention;
FIG. 2 is an example of an application environment for cloud storage of video data according to the present invention;
fig. 3 is a schematic diagram illustrating an example of a connection method for cloud storage of video data according to the present invention;
fig. 4 is a flowchart of an example of a load balancing method for cloud storage of video data according to the present invention;
fig. 5 is a schematic view illustrating an example of load balancing for cloud storage of video data according to the present invention;
fig. 6 is a schematic structural diagram of a system for cloud storage of video data according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the following embodiments and the accompanying drawings.
In the existing scheme for storing video data, a video plan is directly issued to a corresponding DVR or NVR, and the DVR or NVR executes the video plan. Then, when the application program establishes a connection with the DVR or NVR for access, a situation of request failure may occur due to the limitation of the maximum connection number of the DVR or NVR; in addition, the storage space of the DVR or NVR is limited, which cannot meet the storage requirement of mass data. In order to solve the technical problem, the video data are stored in a cloud storage mode, video access nodes are arranged in a cloud storage cluster, and a management node manages the video access nodes by combining an access node list, wherein the management node sends a video plan to the video access nodes, and the video access nodes acquire the video data of front-end equipment and store the video data to the storage nodes; by adopting the scheme, when the video data needs to be accessed, the management node is directly accessed, the maximum connection number of the management node is not limited, and the connection failure can not be caused even if a plurality of users access at the same time; in the cloud storage scheme, the space capacity of the storage nodes is large enough, capacity expansion is supported, and the storage requirement of mass data is met.
Referring to fig. 1, a schematic flowchart of a method for cloud storage of video data according to the present invention includes the following steps:
step 101, a management node receives a video recording plan.
And the upper layer user configures a video recording plan as required and sends the video recording plan to the management node. In specific implementation, the upper layer user can call the attribute interface of the management node and transfer a video plan.
The video plan includes the address of the front-end device which needs to acquire the video data, the front-end device is connected with at least one channel, the video data from different application scenes are received through each channel, and the video plan also includes the channel address and the corresponding time period.
Step 102, the management node extracts the front-end equipment address from the video recording plan, and inquires the video access node identification corresponding to the front-end equipment address from the access node list: if so, step 103 is performed, and if not, step 104 is performed.
Generally, a cloud storage system comprises a management node and a storage node, a user can access the management node, and data stored in the storage node can be read according to address information provided by the management node; and the number of the management nodes and the storage nodes is generally multiple, so that a management node cluster and a storage node cluster are formed, and the management nodes respectively access each other and share information. The invention further sets at least one video access node in the cloud storage system, and the video access node is used for acquiring video data from the front-end equipment according to the video plan sent by the management node and storing the video data to the storage node. The management node stores the access node list, and records the front-end equipment address and the corresponding video access node identification in the access node list according to the issued video plan. As shown in fig. 2, in an application environment example of the present invention for performing cloud storage on video data, a management node may manage all video access nodes.
In order to reduce the connection between the video access node and the front-end equipment as much as possible on the basis of adopting cloud storage, if the connection is found, a video plan is issued to the video access node corresponding to the video access node identification.
103, sending the video recording plan to the video access node corresponding to the video access node identifier, adding the video recording plan to the access node list corresponding to the video access node identifier, and executing step 105.
If the management node inquires out the video access node identification corresponding to the front-end equipment address contained in the video plan from the access node list, the video plan is issued to the video access node corresponding to the video access node identification, and by adopting the mode, the connection between the video access node and the front-end equipment can be reduced as much as possible on the basis of adopting cloud storage.
Describing with reference to the example of fig. 3, three video plans belonging to the same front-end device are respectively issued to three video access nodes, and in this way, streams can be fetched to the front-end device only after three connection requests are established with the front-end device. If the strategy of the centralized management mode is used, three video plans are distributed to the same video access node, and the number of connections with the front-end equipment is reduced to one.
104, selecting a video access node, sending the video plan to the selected video access node, adding the video plan corresponding to the identifier of the selected video access node in the access node list, and executing the step 105.
According to actual needs, selecting a video access node can be realized in various ways. The management node manages the video access nodes, the video access nodes report local information and record the local information into an access node list, and the information in the access node list specifically comprises performance values, video plans and the like of all the video access nodes; when selecting the video access node, any video access node with the performance value not exceeding the performance threshold value can be selected, and any video access node with the video plan number not reaching the maximum access number can also be selected; the following implementation may also be employed:
searching for the video access nodes with the minimum current video plan number, and if one video access node is searched out, taking the searched video access node as the selected video access node;
and if at least two video access nodes are found, determining the video access node with the minimum performance value as the selected video access node.
In the above implementation manner, at least two video access nodes with the minimum current video recording plan number are found, and the following scheme may also be adopted:
calculating the ratio of the planned number of the videos to the maximum access number, determining a node with the minimum ratio, and if the ratio is determined, taking the node as a selected video access node; and if at least two video access nodes with the minimum ratio and the same ratio exist at the same time, the video access node with the minimum deterministic energy value in the video access nodes is used as the selected video access node.
And 105, executing the received video plan by the video access node, acquiring video data from the front-end equipment, and sending the video data to the storage node for storage.
And after the video access node receives the video plan, if the time period included in the video plan is reached, the video access node acquires video data of a corresponding channel from corresponding front-end equipment according to the address of the front-end equipment and the address of the channel.
According to the cloud storage technology, the storage node reports the address information about the video data to the management node after storing the video data, and the management node adds the address information about the video data to the index table.
In the cloud storage scheme, a user can access the management node; correspondingly, in the invention, the user can access the management node according to the requirement and perform processing such as previewing the video data in the storage node based on the index table.
In the flow of fig. 1, in order to ensure real-time and accurate information in the access node list, an information elimination scheme is further provided, which may be specifically executed after step 101, and includes:
the management node traverses the information of each video access node in the access node list, inquires whether each video access node meets the removal condition, and if so, removes the information of the corresponding video access node from the access node list; the rejection conditions include at least one of: the performance value of the video access node is greater than the performance threshold, the video access node is not in the cluster, the video access node is not on-line, the video recording plan number of the video access node reaches the maximum value, and the like. The performance value is determined by the cpu occupancy rate, the memory occupancy rate and the like of the video access node.
In the invention, a management node receives a video recording plan, extracts a front-end equipment address from the video recording plan, and inquires a video access node identifier corresponding to the front-end equipment address from an access node list: if the video is found, the video plan is sent to the video access node corresponding to the video access node identification; if the video access node is not found, selecting a video access node; the video access node executes the received video plan, acquires video data from the front-end equipment and sends the video data to the storage node; and the storage node reports the address information about the video data to the management node after storing the video data, and the management node adds the address information about the video data to the index table.
The video data are stored in a cloud storage mode, video access nodes are arranged in a cloud storage cluster, and a management node manages the video access nodes by combining an access node list, wherein the management node issues a video plan to the video access nodes, and the video access nodes acquire the video data of front-end equipment and store the video data to the storage nodes; by adopting the scheme, when the video data needs to be accessed, the management node is directly accessed, the maximum connection number of the management node is not limited, and the connection failure can not be caused even if a plurality of users access at the same time; if the management node inquires out the video access node identification corresponding to the front-end equipment address contained in the video plan from the access node list, the video plan is issued to the video access node corresponding to the video access node identification, and by adopting the mode, the connection between the video access node and the front-end equipment can be reduced as much as possible on the basis of adopting cloud storage; moreover, in the cloud storage scheme, the space capacity of the storage nodes is large enough, and capacity expansion is supported, so that the storage requirement of mass data is further met.
In the practical application of cloud storage, the situation that some video access nodes are overloaded and the video programs on other video access nodes are less or run empty may occur; for this situation, the present invention provides a load balancing scheme, the flow of which is shown in fig. 4, and the method includes the following steps:
step 401, the management node reads the access node list and calculates the average video schedule number to be shared on each video access node.
And the management node inquires the total number of all video access nodes and the total number of video plans on all the video access nodes from the access node list, and averages the total number of the video plans on all the video access nodes to obtain the average video plan number.
Step 402, the management node calculates the number of video plans to be cut in or cut out by each access video node according to the average number of the video plans and the maximum access number attribute of each access video node, represents the video access node to be cut in as a first video access node, and represents the video access node to be cut out as a second video access node.
There may be one or more of the first video access node and the second video access node.
Step 403, the management node switches the video schedule to be cut out from the second video access node to the first video access node, and updates the information in the access node list after completing the switching.
When the video plan is cut out, a video access node with enough residual channels can be found in the first video access node to try to cut in; the method comprises the steps of firstly issuing a video plan to a video access node to be switched in, if the video plan is successfully issued, issuing a deletion instruction to the video access node to be switched out, and finally updating relevant information in an access node list.
Further, when switching is performed, if at least two video plans corresponding to the same front-end device are to be switched out from the second video access node, the at least two video plans are switched to the same first video access node; if one of the video plans fails in the switching process, all the video plans are not switched out. This is to ensure the atomicity of these video recording plans, i.e., all cut-outs are successful or all cut-outs are not cut-outs to ensure that the number of connections to the head-end equipment does not increase.
There are various triggering conditions for the load balancing process, for example: one is, timing trigger, such as triggering detection every 15 minutes by the background; the other is to trigger detection in real time, for example, when a new video access node is added to the cluster management, the state of the video access node changes from abnormal to normal, the video access node goes offline and then goes online again, and the like.
In the switching process, if an abnormal condition occurs, performing exception handling:
in the switching process, when the management node detects that part of the access nodes are off-line or the state is changed from normal to abnormal, the management node immediately stops load balancing and continues to perform load balancing after the next trigger period is reached;
if a video recording plan with the same address of the multi-channel front-end equipment exists, when the video recording plan is cut out, if the video access node with enough residual access channels cannot be found out, the video access node is cut in; then, the video plans are not processed so as to avoid damaging the centralized management characteristic of the video plans and increase the number of connections with the front-end equipment;
if a certain video plan encounters a certain scene needing exception handling in the switching-out process and exits load balancing, the video plan needs to be restored to the state before switching.
Fig. 5 is a schematic diagram showing an example of load balancing for cloud storage of video data according to the present invention; in the example, the total number of the video plans is 16, and after a load balancing scheme is adopted, 5 video access nodes 1, 5 video access nodes 2 and 6 video access nodes 3 are distributed; and subsequently adding the video access nodes 4, and after load balancing, respectively distributing 4 video plans on the four video access nodes.
The video data are stored in a cloud storage mode, the video access nodes are arranged in the cloud storage cluster, and the management nodes are combined with the access node list to manage the video access nodes, including issuing a video plan for video access. In a specific implementation, the flow of fig. 1 may be used to issue a video recording plan, that is, a video access node identifier corresponding to the address of the front-end device is first queried from an access node list to determine that the video access node issues the video recording plan. The management node can also directly select a video access node after receiving the video plan, issue the video plan and add the video plan to the identifier of the corresponding video access node in the access node list; for directly selecting a video access node, see the detailed description of step 104; further, the management node may further perform load balancing processing subsequently, including:
the management node reads the access node list and calculates the average video plan number to be shared on each video access node;
the management node calculates the video plan number required to be cut in or cut out by each access video node according to the average video plan number and the maximum access number attribute of each access video node, represents the video access node to be cut in as a first video access node, and represents the video access node to be cut out as a second video access node;
and the management node switches the video plan to be cut out on the second video access node to the first video access node, and updates the information in the access node list after the switching is completed.
The video plan delivery and load balancing processes may be performed out of order.
Further, the switching, by the management node, the video schedule to be cut out on the second video access node to the first video access node may specifically include:
if at least two video plans corresponding to the same front-end equipment are to be cut out from the second video access node, switching the at least two video plans to the same first video access node; if one of the video plans fails in the switching process, all the video plans are not switched out.
For the load balancing scheme, see the description about the flow of fig. 4.
Referring to fig. 6, the system for cloud storage of video data according to the present invention is characterized in that the system includes a management node, a video access node, and a storage node;
the management node receives the video recording plan, extracts the front-end equipment address from the video recording plan, and inquires the video access node identification corresponding to the front-end equipment address from the access node list: if the video program is found, the video program is sent to the video access node corresponding to the video access node identification, and the video program is added to the corresponding video access node identification in the access node list; if the video access node is not found, selecting a video access node, sending the video plan to the selected video access node, and adding the video plan in the access node list corresponding to the identifier of the selected video access node;
the video access node receives the video plan from the management node, executes the video plan, acquires video data from the front-end equipment, and sends the video data to the storage node;
and the storage node stores the received video data.
When the management node issues the video plan, if the identification capability of the video access node is different from that of the management node, the video plan is subjected to format conversion, is recombined into a format identified by the video access node, and is then issued to the video access node.
Preferably, the management node comprises a plan acquisition unit, an address extraction unit and a query issuing unit;
the plan acquisition unit receives a video plan and sends the video plan to the address extraction unit;
the address extraction unit extracts the address of the front-end equipment from the video plan and sends the address to the query issuing unit;
the inquiry issuing unit receives the front-end equipment address from the address extracting unit, and inquires a video access node identifier corresponding to the front-end equipment address from an access node list: if the video program is found, the video program is sent to the video access node corresponding to the video access node identification for execution, and the video program is added to the corresponding video access node identification in the access node list; and if the video access node is not found, selecting the video access node, issuing the video plan to the selected video access node for execution, and adding the video plan in the access node list corresponding to the identifier of the selected video access node.
Preferably, the query issuing unit further includes a selecting subunit, when the query of the video access node identifier corresponding to the address of the front-end device does not arrive from the access node list, the video access node with the minimum current video recording plan number is searched, and if one is found, the searched video access node is used as the selected video access node; and if at least two video access nodes are found, determining the video access node with the minimum performance value as the selected video access node.
Preferably, the address extraction unit comprises a culling subunit and an address extraction subunit;
the removing sub-unit receives the video recording plan from the plan acquiring unit, reads an access node list, and reports information in the access node list to the management node by each video access node; traversing the information of each video access node in the access node list, inquiring whether each video access node meets the removing condition, if so, removing the information of the corresponding video access node from the access node list, and sending the video plan to the address extraction subunit; the rejection conditions include at least one of: the performance value of the video access node is larger than the performance threshold value, the video access node is not in the cluster, the video access node is not on-line, and the video recording plan number of the video access node reaches the maximum value;
and the address extraction subunit extracts the address of the front-end equipment from the video plan and sends the address to the query issuing unit.
Preferably, the management node further comprises a balancing unit for reading the access node list and calculating the average video plan number to be shared on each video access node; calculating the video plan number required to be cut in or cut out of each access video node according to the average video plan number and the maximum access number attribute of each access video node, representing the video access node to be cut in as a first video access node, and representing the video access node to be cut out as a second video access node; and switching the video plan to be cut out on the second video access node to the first video access node, and updating the information in the access node list after the switching is completed.
Preferably, when the video schedule to be cut out from the second video access node is switched to the first video access node, if at least two video schedules corresponding to the same front-end device are to be cut out from the second video access node, the balancing unit switches the at least two video schedules to the same first video access node; if one of the video plans fails in the switching process, all the video plans are not switched out.
The front-end equipment comprises a DVR, an NVR, an IP camera (IPC), an Internet dome camera and the like.
By adopting the scheme of the invention, the management node is responsible for managing the video plan issued by the upper application and distributing the video plan to the video access node. After receiving the video recording plan, the video access node acquires a stream to the front-end equipment according to the content of the video recording plan; furthermore, the invention also manages the video plans with the same attribute in a centralized way according to the equipment attribute of the video plans, thereby reducing the number of the connections of the front-end equipment and reducing the pressure of the front-end equipment. In addition, in the process of executing the video recording plan, the distribution of the video recording plan among all the access nodes in the cloud storage system is dynamically adjusted according to factors such as the performance load of the video access nodes, the number of the accessed video recording plans and the like, so that the pressure of the video recording plan can be uniformly loaded by the access nodes in the cloud storage system.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method for carrying out cloud storage on video data is characterized by being applied to a cloud storage system, wherein the cloud storage system comprises a management node, a video access node and a storage node, and the method comprises the following steps:
the management node receives a video recording plan configured by an upper layer user;
the management node extracts a front-end equipment address from a video plan, the front-end equipment is connected with at least one channel, video data from different application scenes are received through each channel, the video plan comprises the channel address and a corresponding time period, and the front-end equipment comprises a network video recorder or a digital video recorder; the management node inquires a video access node identifier corresponding to the address of the front-end equipment from the access node list:
if the video program is found, the video program is sent to the video access node corresponding to the video access node identification, and the video program is added to the corresponding video access node identification in the access node list; if the video access node is not found, selecting a video access node, sending the video plan to the selected video access node, and adding the video plan in the access node list corresponding to the identifier of the selected video access node;
the video access node executes the received video plan, and if the time period included in the video plan is reached, video data of a corresponding channel are obtained from corresponding front-end equipment according to the address of the front-end equipment and the address of the channel, and the video data are sent to the storage node for storage; the storage node reports the address information of the video data to the management node after storing the video data, and the management node adds the address of the video data to the index table;
when an upper layer user accesses the video data, directly accessing the management node; and the upper layer user reads the data stored on the storage node according to the address information of the video data provided by the management node.
2. The method of claim 1, wherein said selecting a video access node comprises:
searching for the video access nodes with the minimum current video plan number, and if one video access node is searched out, taking the searched video access node as the selected video access node;
and if at least two video access nodes are found, determining the video access node with the minimum performance value as the selected video access node.
3. The method of claim 1, wherein after the management node receives the video recording schedule, the method further comprises:
the management node reads the access node list, and information in the access node list is reported to the management node by each video access node;
the management node traverses the information of each video access node in the access node list, inquires whether each video access node meets the removal condition, and if so, removes the information of the corresponding video access node from the access node list; the rejection conditions include at least one of: the performance value of the video access node is larger than the performance threshold value, the video access node is not in the cluster, the video access node is not on-line, and the video recording plan number of the video access node reaches the maximum value.
4. A method according to any one of claims 1 to 3, characterized in that the method further comprises:
the management node reads the access node list and calculates the average video plan number to be shared on each video access node;
the management node calculates the video plan number required to be cut in or cut out by each access video node according to the average video plan number and the maximum access number attribute of each access video node, represents the video access node to be cut in as a first video access node, and represents the video access node to be cut out as a second video access node;
and the management node switches the video plan to be cut out on the second video access node to the first video access node, and updates the information in the access node list after the switching is completed.
5. The method of claim 4, wherein the management node switching the video recording plan to be cut out on the second video access node to the first video access node comprises:
if at least two video plans corresponding to the same front-end equipment are to be cut out from the second video access node, switching the at least two video plans to the same first video access node; if one of the video plans fails in the switching process, all the video plans are not switched out.
6. The method of claim 4, wherein after sending the video data to a storage node for storage, the method further comprises:
and the storage node reports the address information about the video data to the management node after storing the video data, and the management node adds the address information about the video data to the index table.
7. A system for cloud storage of video data is characterized by comprising a management node, a video access node and a storage node;
the management node receives a video recording plan configured by an upper layer user, extracts a front-end equipment address from the video recording plan, the front-end equipment is connected with at least one channel, receives video recording data from different application scenes through each channel, and the video recording plan comprises the channel address and a corresponding time period; a management node; inquiring a video access node identifier corresponding to the address of the front-end equipment from the access node list: if the video program is found, the video program is sent to the video access node corresponding to the video access node identification, and the video program is added to the corresponding video access node identification in the access node list; if the video access node is not found, selecting a video access node, sending the video plan to the selected video access node, and adding the video plan in the access node list corresponding to the identifier of the selected video access node; adding the address information of the video data reported by the storage node into an index table so that an upper layer user can directly access the management node and read the video data stored on the storage node according to the address information provided by the management node;
the video access node receives the video plan from the management node, executes the video plan, and if the time period included in the video plan is reached, acquires video data of a corresponding channel from corresponding front-end equipment according to the address of the front-end equipment and the address of the channel, and sends the video data to the storage node;
and the storage node stores the received video data and reports the address information of the video data to the management node.
8. The management node is arranged in a cloud storage system, the cloud storage system comprises a management node, a video access node and a storage node, and the management node comprises a plan acquisition unit, an address extraction unit and a query issuing unit;
the plan acquisition unit receives a video plan configured by an upper layer user and sends the video plan to the address extraction unit;
the address extraction unit extracts the address of the front-end equipment from the video plan and sends the address to the query issuing unit; the front-end equipment is connected with at least one channel, receives video data from different application scenes through each channel, and comprises a channel address and a corresponding time period in a video plan;
the inquiry issuing unit receives the front-end equipment address from the address extracting unit, and inquires a video access node identifier corresponding to the front-end equipment address from an access node list: if the video program is found, the video program is sent to the video access node corresponding to the video access node identification for execution, and the video program is added to the corresponding video access node identification in the access node list; if the video access node is not found, selecting a video access node, issuing a video plan to the selected video access node for execution, and adding the video plan in the access node list corresponding to the identifier of the selected video access node;
when the video access node reaches a time period contained in the video plan, acquiring video data of a corresponding channel from corresponding front-end equipment according to the address of the front-end equipment and the address of the channel, and sending the video data to a storage node for storage; the storage node reports the address information of the video data to the management node after storing the video data, and the management node adds the address of the video data to the index table; when an upper layer user accesses the video data, directly accessing the management node; and the upper layer user reads the data stored on the storage node according to the address information of the video data provided by the management node.
9. The management node according to claim 8, wherein the query issuing unit further includes a selecting subunit, when the query of the video access node identifier corresponding to the address of the front-end device does not arrive from the access node list, the video access node with the minimum current video plan number is searched, and if one is found, the searched video access node is used as the selected video access node; and if at least two video access nodes are found, determining the video access node with the minimum performance value as the selected video access node.
10. The management node of claim 9, wherein the address extraction unit comprises a culling subunit and an address extraction subunit;
the removing sub-unit receives the video recording plan from the plan acquiring unit, reads an access node list, and reports information in the access node list to the management node by each video access node; traversing the information of each video access node in the access node list, inquiring whether each video access node meets the removing condition, if so, removing the information of the corresponding video access node from the access node list, and sending the video plan to the address extraction subunit; the rejection conditions include at least one of: the performance value of the video access node is larger than the performance threshold value, the video access node is not in the cluster, the video access node is not on-line, and the video recording plan number of the video access node reaches the maximum value;
and the address extraction subunit extracts the address of the front-end equipment from the video plan and sends the address to the query issuing unit.
11. The management node according to any of claims 8 to 10, wherein the management node further comprises a balancing unit for reading the access node list and calculating an average video recording schedule number to be shared on each video access node; calculating the video plan number required to be cut in or cut out of each access video node according to the average video plan number and the maximum access number attribute of each access video node, representing the video access node to be cut in as a first video access node, and representing the video access node to be cut out as a second video access node; and switching the video plan to be cut out on the second video access node to the first video access node, and updating the information in the access node list after the switching is completed.
12. The management node of claim 11, wherein the balancing unit, when switching the video recording plans to be cut out on the second video access node to the first video access node, switches the at least two video recording plans to the same first video access node if at least two video recording plans corresponding to the same front-end device are to be cut out on the second video access node; if one of the video plans fails in the switching process, all the video plans are not switched out.
CN201410522548.2A 2014-09-30 2014-09-30 Method, system and management node for cloud storage of video data Active CN105450964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410522548.2A CN105450964B (en) 2014-09-30 2014-09-30 Method, system and management node for cloud storage of video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410522548.2A CN105450964B (en) 2014-09-30 2014-09-30 Method, system and management node for cloud storage of video data

Publications (2)

Publication Number Publication Date
CN105450964A CN105450964A (en) 2016-03-30
CN105450964B true CN105450964B (en) 2020-03-17

Family

ID=55560693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410522548.2A Active CN105450964B (en) 2014-09-30 2014-09-30 Method, system and management node for cloud storage of video data

Country Status (1)

Country Link
CN (1) CN105450964B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257560B (en) * 2017-07-12 2020-12-25 杭州海康威视数字技术股份有限公司 Automatic video recording plan generation method, device and system
CN110062199B (en) * 2018-01-19 2020-07-10 杭州海康威视***技术有限公司 Load balancing method and device and computer readable storage medium
CN111405237A (en) * 2019-12-11 2020-07-10 杭州海康威视***技术有限公司 Cloud storage system providing preview function and preview method
CN111629031B (en) * 2020-04-27 2023-04-07 浙江大华技术股份有限公司 Cluster storage method, system, computer equipment and storage medium
CN111698475B (en) * 2020-06-16 2022-02-25 宁波愉阅网络科技有限公司 Student experiment examination-based management system and method
CN116939129A (en) * 2022-03-30 2023-10-24 京东方科技集团股份有限公司 Equipment control method, system, device, server and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076021A (en) * 2006-05-16 2007-11-21 汤姆森许可贸易公司 Network data storage system
JP2007336195A (en) * 2006-06-14 2007-12-27 Sanyo Electric Co Ltd Record management device
CN101232595A (en) * 2007-01-24 2008-07-30 上海乐金广电电子有限公司 Device and method for setting record time table of digital video recorder
CN101420458A (en) * 2008-12-09 2009-04-29 清华大学 Multimedia content monitoring system, method and device based on content distributing network
CN101877783A (en) * 2009-11-06 2010-11-03 北京邦诺存储科技有限公司 Network video recorder cluster video monitoring system and method
CN103136322A (en) * 2011-11-30 2013-06-05 富士通株式会社 Device and method for arranging query

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8965936B2 (en) * 2004-02-26 2015-02-24 Comcast Cable Holdings, Llc Method and apparatus for allocating client resources to multiple applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076021A (en) * 2006-05-16 2007-11-21 汤姆森许可贸易公司 Network data storage system
JP2007336195A (en) * 2006-06-14 2007-12-27 Sanyo Electric Co Ltd Record management device
CN101232595A (en) * 2007-01-24 2008-07-30 上海乐金广电电子有限公司 Device and method for setting record time table of digital video recorder
CN101420458A (en) * 2008-12-09 2009-04-29 清华大学 Multimedia content monitoring system, method and device based on content distributing network
CN101877783A (en) * 2009-11-06 2010-11-03 北京邦诺存储科技有限公司 Network video recorder cluster video monitoring system and method
CN103136322A (en) * 2011-11-30 2013-06-05 富士通株式会社 Device and method for arranging query

Also Published As

Publication number Publication date
CN105450964A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105450964B (en) Method, system and management node for cloud storage of video data
US9253091B2 (en) Method for processing a request in an information-centric communication network
CN105338297B (en) A kind of storage of video data and playback system, device and method
CN102281190B (en) Networking method for load balancing apparatus, server and client access method
CN103716343B (en) Distributed service request processing method and system based on data cache synchronization
WO2017140130A1 (en) Method and device for storage resource allocation for video cloud storage
US9445162B2 (en) Interactive personal/internet protocol television reservation system, reservation plan management method and device
EP2563062A1 (en) Long connection management apparatus and link resource management method for long connection communication
EP2227016A1 (en) A content buffering, querying method and point-to-point media transmitting system
CN104113735A (en) Distributed video monitoring storing system and method thereof
CN108933948A (en) A kind of video playing progress synchronous method and device
WO2017097124A1 (en) Method, apparatus and system for transmitting tasks based on sub-libraries and sub-tables
US11775480B2 (en) Method and system for deleting obsolete files from a file system
CN104967873A (en) Streaming live scheduling method, system and scheduling server
CN105338027A (en) Method, system and device for cloud storage of video data
CN109062697A (en) It is a kind of that the method and apparatus of spatial analysis service are provided
CN106959820A (en) A kind of data extraction method and system
CN105159845A (en) Memory reading method
CN102387347A (en) Video storing and instant replay system based on IP (identification of position)-SAN (storage area networking) direct storage technology
CN107087232A (en) The real-time status detection method and system of user
CN107506438A (en) A kind of data processing storage method and device for Internet of Things
CN103761194B (en) A kind of EMS memory management process and device
CN112260946B (en) Link failure processing method and device, terminal equipment and storage medium
JP2010191774A (en) Content distribution system, content distribution device, content distribution method and program therefor, data storage device, and processing method and program therefor
CN105450679A (en) Method and system for performing data cloud storage

Legal Events

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