CN109257560B - Automatic video recording plan generation method, device and system - Google Patents

Automatic video recording plan generation method, device and system Download PDF

Info

Publication number
CN109257560B
CN109257560B CN201710566179.0A CN201710566179A CN109257560B CN 109257560 B CN109257560 B CN 109257560B CN 201710566179 A CN201710566179 A CN 201710566179A CN 109257560 B CN109257560 B CN 109257560B
Authority
CN
China
Prior art keywords
end camera
video
response message
camera
message
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
CN201710566179.0A
Other languages
Chinese (zh)
Other versions
CN109257560A (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 CN201710566179.0A priority Critical patent/CN109257560B/en
Publication of CN109257560A publication Critical patent/CN109257560A/en
Application granted granted Critical
Publication of CN109257560B publication Critical patent/CN109257560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The embodiment of the invention provides a method, a device and a system for automatically generating a video plan, wherein the method is applied to a video cloud storage system, the video cloud storage system is communicated with a front-end terminal set of the video plan to be generated, and the method comprises the following steps: sending a detection message to each front-end terminal in the front-end terminal set, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end terminal; receiving response messages fed back by the front-end computers according to the detection messages; and generating a video recording plan corresponding to each front-end terminal according to the streaming parameter values in the corresponding response messages. The scheme provided by the embodiment of the invention can reduce manual operation and improve the generation efficiency of the video plan.

Description

Automatic video recording plan generation method, device and system
Technical Field
The invention relates to the technical field of video monitoring, in particular to a method, a device and a system for automatically generating a video plan.
Background
With the improvement of the importance of security, the security technology is also rapidly developed. Video monitoring is an important security protection project, and a video monitoring system comprises: the system comprises front-end cameras and a video monitoring platform, wherein each front-end camera serves as a monitoring point, and a large amount of video data acquired by the front-end cameras need to be stored by a professional storage system. In general, a storage system acquires and stores video data from a front-end camera according to a pre-configured video recording schedule, which is also called streaming video.
The video cloud storage is a professional video storage system comprising a cloud storage server, can quickly and safely store massive monitoring videos, can be played back and read at any time, and can perform big data analysis on the monitoring videos by virtue of a video analysis function. Therefore, video cloud storage and video monitoring in security protection form a whole, and the video cloud storage and the video monitoring in security protection cooperate with each other more closely.
In order to store video data acquired by front-end cameras in video cloud storage, a video plan corresponding to each front-end camera needs to be generated, and then a cloud storage server obtains streaming videos from each front-end camera according to the corresponding video plans, so that the purpose of storing the video data of monitoring points in the video cloud storage is achieved. Wherein, the video recording plan includes: the stream fetching link and the stream fetching time are used for the cloud storage server to obtain video data in a time period corresponding to the stream fetching time from a front-end camera pointed by the stream fetching link, specifically, the stream fetching time is a time period for which video data is to be obtained, which is set by a manager, and the stream fetching link is a Uniform Resource Locator (URL) generated according to a stream fetching parameter value of the front-end camera. In the related art, a front-end camera needing to be recorded and a corresponding streaming parameter value are manually added in video cloud storage, and a recording plan of each front-end camera is generated according to the added information. Since such a method of generating a video recording plan corresponding to a front-end camera in video cloud storage requires a large number of manual configuration operations, the efficiency of generating the video recording plan is low, and the defect of low efficiency is very obvious especially for scenes with a large number of front-end cameras.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and a system for automatically generating a video recording plan, so as to reduce manual operation and improve the generation efficiency of the video recording plan. The specific technical scheme is as follows:
to achieve the above object, in one aspect, an embodiment of the present invention provides an automatic video recording plan generation method, which is applied to a video cloud storage system, where the video cloud storage system is in communication with a front-end terminal unit of a video recording plan to be generated, and the method includes:
sending a detection message to each front-end terminal in the front-end terminal set, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end terminal;
receiving response messages fed back by the front-end computers according to the detection messages;
and generating a video recording plan corresponding to each front-end terminal according to the streaming parameter values in the corresponding response messages.
Optionally, the step of generating a video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message includes:
constructing a flow taking link corresponding to each front-end terminal according to the flow taking parameter value in the corresponding response message;
and generating a video recording plan corresponding to each front-end camera according to the corresponding stream taking link and the preset stream taking time.
Optionally, the step of sending a probe message to each front-end camera in the front-end camera group includes:
periodically sending a detection message to each front-end terminal in the front-end terminal set;
the step of generating a video recording plan corresponding to each front-end camera according to the corresponding streaming parameter values includes:
aiming at each front-end terminal feeding back the response message, judging whether the front-end terminal feeds back the response message aiming at the last detection message;
if not, generating a video plan corresponding to the front-end camera according to the streaming parameter value in the response message fed back by the front-end camera this time;
if yes, judging whether the current flow taking parameter value in the response message fed back by the front-end camera is changed relative to the reference information corresponding to the front-end camera; if the current feedback parameter value of the front-end camera changes, generating a video recording plan corresponding to the front-end camera according to the current feedback parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message.
Optionally, in a case that it is determined that the front-end terminal does not feed back a response message for the last probe message, the method further includes:
judging whether the front-end camera is a first front-end camera, wherein the first front-end camera is a front-end camera which does not feed back response messages in at least one continuous period;
if so, generating an additional recording task corresponding to the front-end camera according to the streaming parameter values contained in the response message fed back by the front-end camera this time, wherein the additional recording task is used for acquiring video data of the front-end camera within a time period to be additionally recorded, and the time period to be additionally recorded is determined according to at least one continuous period in which the response message is not fed back by the front-end camera.
Optionally, before the step of generating a video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message, the method further includes:
determining a target front-end camera from each front-end camera according to a preset target stream taking parameter value and a stream taking parameter value in a response message fed back by each front-end camera;
the step of generating the video recording plan corresponding to each front-end computer according to the streaming parameter values in the corresponding response messages comprises the following steps:
and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
Optionally, after the step of generating a video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message, the method further includes:
and issuing the generated video recording plans corresponding to the front end computers to a cloud storage server in the video cloud storage system.
Optionally, the probe message includes authentication information for the front-end computer to determine whether the probe message is legal.
Optionally, the step of sending a probe message to each front-end camera in the front-end camera group includes:
and sending a detection message to each front-end camera in the front-end camera set according to a preset network segment and a fixed port in each front-end camera.
On the other hand, an embodiment of the present invention further provides an automatic video recording plan generation apparatus, which is applied to a video cloud storage system, where the video cloud storage system is in communication with a front-end unit that is to generate a video recording plan, and the apparatus includes:
the sending module is used for sending a detection message to each front-end terminal in the front-end terminal set, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end terminal;
the receiving module is used for receiving response messages fed back by all the front-end computers according to the detection messages;
and the generating module is used for generating the video recording plans corresponding to the front-end computers according to the streaming parameter values in the corresponding response messages.
Optionally, the generating module includes:
the construction submodule is used for constructing the flow taking link corresponding to each front-end terminal according to the flow taking parameter value in the corresponding response message;
and the first generation submodule is used for generating a video recording plan corresponding to each front-end camera according to the corresponding stream taking link and the preset stream taking time.
Optionally, the sending module is configured to:
periodically sending a detection message to each front-end terminal in the front-end terminal set;
the generation module comprises:
the first judgment submodule is used for judging whether the front-end terminal feeds back a response message aiming at the last detection message aiming at each front-end terminal feeding back the response message;
a second generating sub-module, configured to generate a video recording plan corresponding to the front-end camera according to a streaming parameter value in a response message fed back by the front-end camera this time when the first determining sub-module determines that the front-end camera does not feed back a response message for a previous detection message;
a third generation submodule, configured to determine whether a value of a current fetching parameter in a response message fed back by the front-end camera this time changes with respect to reference information corresponding to the front-end camera when the first determination submodule determines that the front-end camera does not feed back a response message for a previous detection message; if the current feedback parameter value of the front-end camera changes, generating a video recording plan corresponding to the front-end camera according to the current feedback parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message.
Optionally, the apparatus further comprises:
a second judging submodule, configured to judge whether the front-end camera is a first front-end camera when the first judging submodule judges that the front-end camera does not feed back a response message for a previous probe message, where the first front-end camera is a front-end camera that does not feed back a response message for at least one continuous period;
and a fourth generating sub-module, configured to generate, when the second determining sub-module determines that the front-end camera is the first front-end camera, a complementary recording task corresponding to the front-end camera according to a stream fetching parameter value included in a response message fed back by the front-end camera this time, where the complementary recording task is used to obtain video data of the front-end camera within a time period to be complementary recorded, and the time period to be complementary recorded is determined according to at least one continuous period in which no response message is fed back by the front-end camera.
Optionally, the apparatus further comprises:
a determining module, configured to determine a target front-end camera from the front-end cameras according to a preset target streaming parameter value and the streaming parameter value in the response message fed back by each front-end camera before the generating module generates the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message;
the generation module is configured to:
and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
Optionally, the apparatus further comprises:
and the issuing module is used for issuing the generated video plans corresponding to the front-end cameras to a cloud storage server in the video cloud storage system after the generating module generates the video plans corresponding to the front-end cameras according to the streaming parameter values in the corresponding response messages.
Optionally, the probe message includes authentication information for the front-end computer to determine whether the probe message is legal.
Optionally, the sending module is specifically configured to send a probe message to each front-end camera in the front-end camera group according to a preconfigured network segment and a fixed port in each front-end camera.
In still another aspect, an embodiment of the present invention further provides an automatic video recording plan generation system, where the system includes a cloud storage detection server and a front-end terminal unit, the front-end terminal unit includes a plurality of front-end cameras,
the cloud storage detection server is used for sending a detection message to each front-end computer in the front-end computer group, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end computer;
the front-end camera is used for receiving the detection message sent by the cloud storage detection server and feeding back a response message to the cloud storage detection server according to the detection message;
the cloud storage detection server is used for receiving response messages fed back by the front-end computers according to the detection messages; and generating a video recording plan corresponding to each front-end terminal according to the streaming parameter values in the corresponding response messages.
Optionally, the cloud storage probe server is further configured to construct a flow fetching link corresponding to each front-end computer according to the flow fetching parameter value in the corresponding response message; and generating a video recording plan corresponding to each front-end camera according to the corresponding stream taking link and the preset stream taking time.
Optionally, the cloud storage probe server is further configured to periodically send probe messages to each front-end camera in the front-end camera group;
the cloud storage detection server is further used for judging whether the front-end terminal feeds back a response message aiming at the last detection message aiming at each front-end terminal feeding back the response message; if not, generating a video plan corresponding to the front-end camera according to the streaming parameter value in the response message fed back by the front-end camera this time; if yes, judging whether the current flow taking parameter value in the response message fed back by the front-end camera is changed relative to the reference information corresponding to the front-end camera; if the current feedback parameter value of the front-end camera changes, generating a video recording plan corresponding to the front-end camera according to the current feedback parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message.
Optionally, the cloud storage probe server is further configured to determine whether the front-end camera is a first front-end camera under the condition that it is determined that the front-end camera does not feed back a response message for the last probe message, where the first front-end camera is a front-end camera that does not feed back a response message for at least one continuous period; if so, generating an additional recording task corresponding to the front-end camera according to the streaming parameter values contained in the response message fed back by the front-end camera this time, wherein the additional recording task is used for acquiring video data of the front-end camera within a time period to be additionally recorded, and the time period to be additionally recorded is determined according to at least one continuous period in which the response message is not fed back by the front-end camera.
Optionally, the cloud storage probe server is further configured to determine a target front-end camera from the front-end cameras according to a preset target streaming parameter value and the streaming parameter value in the response message fed back by each front-end camera before generating the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message; and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
Optionally, the system further includes a cloud storage server;
the cloud storage detection server is further configured to issue the generated video plans corresponding to the front-end computers to the cloud storage server after generating the video plans corresponding to the front-end computers according to the streaming parameter values in the corresponding response messages;
and the cloud storage server is used for receiving the generated video plans corresponding to the front-end computers, which are sent by the cloud storage server.
Optionally, the probe message includes authentication information for the front-end computer to determine whether the probe message is legal.
Optionally, the cloud storage probe server sends a probe message to each front-end camera in the front-end camera group, specifically:
and sending a detection message to each front-end camera in the front-end camera set according to a preset network segment and a fixed port in each front-end camera.
According to the scheme provided by the embodiment of the invention, the video cloud storage system is communicated with the front-end terminal set to generate the video plan, the streaming parameter values of all front-end cameras in the front-end terminal set are automatically detected, and the video plan corresponding to all the front-end cameras is generated according to the streaming parameter values in the response messages fed back by all the front-end cameras.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art 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 schematic flow chart of a method for automatically generating a video recording plan according to an embodiment of the present invention;
FIG. 2 is an interaction diagram of one embodiment provided by an embodiment of the invention;
fig. 3 is a schematic structural diagram of an automatic video recording schedule generation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an automatic video recording plan generation system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another automatic video recording plan generating 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 problem of the prior art, embodiments of the present invention provide a method, an apparatus, and a system for automatically generating a video schedule. First, a detailed description will be given of an automatic video recording plan generation method according to an embodiment of the present invention.
It should be noted that the method provided by the embodiment of the present invention may be applied to a video cloud storage system, where the video cloud storage system is in communication with a front-end terminal set to generate a video plan, and the front-end terminal set may include a plurality of front-end cameras.
Furthermore, an execution subject of the method for automatically generating a video recording plan according to the embodiment of the present invention may be an automatic video recording plan generation apparatus. In a specific application, the video schedule automatic generation apparatus may be applied to a certain device in a video cloud storage system, where the device may be an existing device in the video cloud storage system, such as a storage server or a management server; of course, the device may also be a special device newly added in the video cloud storage system, such as: a dedicated cloud storage probe server, which is all reasonable.
Fig. 1 is a schematic flow chart of a method for automatically generating a video recording plan according to an embodiment of the present invention, where the method may include:
s101, sending a detection message to each front-end terminal in the front-end terminal set, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end terminal.
When the video schedule generation condition is met, in order to acquire the streaming parameter values of each front-end camera, the video schedule automatic generation device may send a detection message to each front-end camera in the front-end camera group to detect and acquire the current streaming parameter values of each front-end camera in the front-end camera group.
It can be understood that the front-end camera group includes a plurality of front-end cameras, and each front-end camera corresponds to a unique identification information, such as an IP address, so that the plurality of front-end cameras can be divided into the front-end camera group according to the identification information of the front-end camera.
In order to enable the probe message to be safely and accurately sent to the front-end camera and enable the front-end camera to make feedback with respect to the probe message, in an embodiment of the present invention, the step of sending the probe message to each front-end camera in the front-end terminal set may include:
and sending a detection message to each front-end camera in the front-end camera set according to a preset network segment and a fixed port in each front-end camera.
In this case, all the front-end cameras in the preset network segment constitute the front-end camera set, and the video recording plan automatic generation device can send the probe information according to each IP address in the preset network segment, thereby ensuring that the probe information is sent to the front-end camera safely and accurately.
For example, if the pre-configured segment is an 10.192.1 segment, all front-end computers in the 10.192.1 segment are used as a front-end computer group, and probe messages are sent to the front-end computers with IP addresses of 10.192.1.1 to 10.192.1.255. Certainly, the preconfigured network segment may also include two network segments, and all front-end computers in the two network segments may be used as one front-end terminal set, for example, the preconfigured network segment includes 10.192.1 and 10.192.2 network segments, and then probe messages are sent to the front-end terminals with IP addresses of 10.192.1.1 to 10.192.1.255 and 10.192.2.1 to 10.192.2.255.
Of course, sending probe messages according to a pre-configured network segment is only an optional manner in the embodiment of the present invention, and does not constitute a limitation to the present application, and in the embodiment of the present invention, a front-end terminal corresponding to a plurality of IP addresses of different network segments may be preset as one front-end terminal group, for example, front-end terminals with IP addresses of 10.192.1.1, 10.192.1.2, 10.192.2.1, and 10.192.3.1 are used as one front-end terminal group.
After the front-end computer receives the probe message, the front-end computer needs to place the probe message on a port corresponding to a process for processing the probe message, so that the process obtains the probe message from the port corresponding to the process, and feeds back the probe message. That is, when the probe message is transmitted, a unified fixed port in the front-end camera receiving the probe message may be specified, for example, a unified fixed 5070 port may be used with reference to the GB21818 protocol, and the probe message received by any one front-end camera is transmitted to its internal 5070 port.
In the embodiment of the present invention, the automatic video recording plan generating device may send a probe message to each front-end terminal in the front-end terminal set, where the probe message may be a UDP (User Datagram Protocol) data packet, and the probe message may adopt an Extensible Markup Language (XML) format of a standard XML format of a Session Initiation Protocol (SIP). As will be appreciated by those skilled in the art, XML is a simple, platform-independent, and widely-used standard, and thus, the probe message in the embodiment of the present invention is in the XML standard, and has a wide versatility. Of course, the probe message may be other types of messages.
It can be understood that the probe message may carry stream fetching parameters to be obtained, such as version information of the front-end camera, a manufacturer of the front-end camera, a stream fetching protocol supported by the front-end camera, a user name/password of the front-end camera, a physical address of the front-end camera, and the like, and in order to ensure security of communication between the video recording plan automatic generation apparatus and the front-end camera, the probe message may also carry authentication information, such as KEY (KEY) information, for the front-end camera to authenticate whether the probe message is legal or not. Of course, the probe message may also carry information of the video recording schedule automatic generation apparatus, such as an address for receiving the response message, i.e. an IP address and a port of the device where the video recording schedule automatic generation apparatus is located, so as to ensure that the front-end camera sends the response message to the position specified by the video recording schedule automatic generation apparatus.
In addition, it should be noted that, when sending the probe message, different sending manners may be selected according to the authority of the node to which each front-end camera in the front-end terminal set belongs, for example, the probe message may be sent in a local area network according to the identifier information of the front-end camera included in the pre-configured front-end terminal set, or the probe message may be sent in a multicast manner in a wide area network, which is not limited in this embodiment of the present invention.
And S102, receiving response messages fed back by the front-end computers according to the detection messages.
In the embodiment of the present invention, a front-end monitoring module may be arranged in each front-end camera, and is configured to monitor the IP address and the port of the front-end camera, receive a detection message sent by the video schedule automatic generation apparatus to the monitored IP address and port, and feed back a response message to the video schedule automatic generation apparatus according to the detection message; accordingly, the video recording plan automatic generation device can receive the response message fed back by each front-end camera according to the detection message. It should be noted that, a port may be reserved in each front-end camera in advance, so as to facilitate interaction between the front-end monitoring module and the video schedule automatic generation apparatus.
The response message includes a stream fetching parameter value corresponding to the front-end camera, such as an IP address of the front-end camera, a monitoring port, version information of the front-end camera, a manufacturer of the front-end camera, a stream fetching protocol of the front-end camera, a user name/password of the front-end camera, a physical address of the front-end camera, and the like. For ease of management, the protocol of the reply message may be consistent with the protocol of the probe message, e.g., the reply message may be a standard XML-formatted message of the SIP protocol. Of course, the reply message may be other types of messages.
It can be understood that, when the front-end monitoring module in the front-end camera receives the probe message, if the probe message includes the authentication information for the front-end camera to identify whether the probe message is legal, the front-end monitoring module first needs to judge whether the probe message is legal, for example, perform KEY verification according to KEY information in the probe message, and if the verification passes, send a response message to the video schedule automatic generation device.
And S103, generating a video recording plan corresponding to each front-end terminal according to the streaming parameter values in the corresponding response messages.
In the embodiment of the present invention, after receiving the response message of the front-end camera, the automatic video recording plan generating device may generate the video recording plan corresponding to the front-end camera according to the streaming parameter value in the response message corresponding to each front-end camera.
As will be appreciated by those skilled in the art, video recording programs include: the stream fetching link and the stream fetching time are used for the cloud storage server to obtain video data in a time period corresponding to the stream fetching time from a front-end camera pointed by the stream fetching link, specifically, the stream fetching time is a time period set by a manager and used for obtaining the video data, and the stream fetching link is a URL (uniform resource locator) generated according to stream fetching parameter values of the front-end camera. Therefore, as an implementation manner of the embodiment of the present invention, a stream fetching link corresponding to each front-end terminal may be constructed according to a stream fetching parameter value in a corresponding response message; and generating a video recording plan corresponding to each front-end camera according to the corresponding stream taking link and the preset stream taking time.
It should be noted that, the automatic video recording plan generating apparatus extracts the value of the fetching parameter from the response message, and then constructs the fetching link according to the value of the fetching parameter, for example, the ID corresponding to the front-end camera in the fetching link may directly use the physical address of the front-end camera, or may be obtained by converting the physical address.
And the preset flow taking time can be set by a manager according to actual requirements. For example, for the front-end camera a, when it is desired to acquire video data within a time period of 10:00-12:00 a day, the preset time corresponding to the front-end camera a is 10:00-12:00 a day. The stream fetching time corresponding to different front-end cameras may be the same or different, and this is not limited in the embodiment of the present invention.
It can be understood that, since the video recording plan is a file with a specific format and containing the stream fetching link and the stream fetching time, after the stream fetching link corresponding to each front-end terminal is constructed, the constructed stream fetching link and the preset stream fetching time need to be generated into the video recording plan according to the specific format. Optionally, in order to improve the efficiency of generating the video recording plan, a video recording plan template with a specific format may be configured in advance, and after the stream fetching link corresponding to each front-end camera is constructed, the stream fetching link and the preset stream fetching time are directly written into the video recording plan template, so as to generate the video recording plan corresponding to each front-end camera.
As an implementation manner of the embodiment of the present invention, after the step of generating the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message, the method may further include: and issuing the generated video recording plans corresponding to the front end computers to a cloud storage server in the video cloud storage system. Therefore, the cloud storage server can automatically take the streaming video from each front-end camera according to the video plan. Specifically, the cloud storage server may obtain video data within a time period corresponding to a preset streaming time from a front-end camera pointed by a streaming link in the video recording plan.
The scheme provided by the embodiment shown in fig. 1 is explained below as a specific embodiment. As shown in the interactive diagram of fig. 2, first, the recording plan automatic generation device configures detection parameters, which specifically include: determining the IP address of each front-end camera in a front-end terminal unit to be detected, determining information such as stream taking parameters and the like carried in detection information, and then sending the detection information to the front-end camera by the video plan automatic generation device; after receiving the detection message, the front-end terminal determines the stream taking parameter values corresponding to the stream taking parameters carried by the detection message, and then sends a response message to the video plan automatic generation device; after the video plan automatic generation device receives the response message, parameters in the video plan template are configured, wherein the parameters in the video plan template comprise a stream taking link and stream taking time, and after the video plan automatic generation device constructs the stream taking link according to the stream taking parameter value in the response message, the stream taking link and the preset stream taking time are written into the video plan template, so that a video plan is generated. After the automatic video schedule generation device generates the video schedule, the video schedule can be issued to the cloud storage server, and the cloud storage server can take the streaming video from the front-end camera according to the video schedule.
As can be seen from the above, in the scheme provided in the embodiment of the present invention, the video cloud storage system communicates with the front-end terminal unit to generate the video plan, the video cloud storage system automatically detects the streaming parameter value of each front-end camera in the front-end terminal unit, and generates the video plan corresponding to each front-end camera according to the streaming parameter value in the response message fed back by each front-end camera.
As an implementation manner of the embodiment of the present invention, before generating the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message in step S103, the method may further include:
determining a target front-end camera from each front-end camera according to a preset target stream taking parameter value and a stream taking parameter value in a response message fed back by each front-end camera;
correspondingly, step S103 generates a video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message, which may specifically be:
and generating a video recording plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
It can be understood that, because the number of front-end cameras included in the front-end terminal set is large, it is sometimes not necessary to generate a video recording plan for all the front-end cameras, but only a video recording plan for some specific front-end cameras, for example, a specific front-end camera may be a front-end camera of a specific type, such as a specific manufacturer, a specific device model, or a specific IP address, or may be a front-end camera of a combination of multiple specific types.
For example, the front-end terminal unit includes A, B, C front-end cameras of three manufacturers, when a video recording plan only needs to be generated for the front-end camera of manufacturer a, manufacturer a may be used as a preset target streaming parameter value, and after receiving a response message fed back by each front-end camera, the front-end camera including the streaming parameter value of manufacturer a in the response message is determined as the target front-end camera. And then, generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
For another example, the front end unit includes A, B, C three manufacturers and three front end cameras of a, b, and c streaming protocols, the manufacturer a and the streaming protocol a may be used as target streaming parameter values, and the front end camera that includes both the manufacturer a and the streaming protocol a in the response message is determined as the target front end camera.
It can be understood that, in the embodiment of the present invention, the target streaming parameter value is preset, and the front-end camera feeding back the response message is screened and filtered by using the target streaming parameter value to obtain the target front-end camera, so that the video recording plan of the target front-end camera requiring video recording can be flexibly and quickly generated.
Since the front-end computers in the front-end computer group may be changed, such as added, deleted, changed, and the like, and the video recording plans corresponding to the changed front-end computers should be changed accordingly to ensure the effectiveness of the cloud storage server in fetching the streaming video from the front-end computers, as an implementation manner of the embodiment of the present invention, the step S101 sending the probe message to each front-end computer in the front-end computer group may specifically be: periodically sending a detection message to each front-end terminal in the front-end terminal set;
correspondingly, the step S103 of generating a video recording plan corresponding to each front-end camera according to the corresponding streaming parameter value may include:
aiming at each front-end terminal feeding back the response message, judging whether the front-end terminal feeds back the response message aiming at the last detection message;
if not, generating a video plan corresponding to the front-end camera according to the streaming parameter value in the response message fed back by the front-end camera this time;
if yes, judging whether the current flow taking parameter value in the response message fed back by the front-end camera is changed relative to the reference information corresponding to the front-end camera; if the current feedback parameter value of the front-end camera changes, generating a video recording plan corresponding to the front-end camera according to the current feedback parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message.
It can be understood that, in the embodiment of the present invention, in order to monitor whether each front-end camera in the front-end camera group changes, and ensure the effectiveness of the cloud storage server in fetching the streaming video from the front-end camera, the video plan automatic generation apparatus may periodically send the probe message to each front-end camera in the front-end camera group. For the response messages sent by each front-end camera received in each period, the video schedule automatic generation device can compare the response messages received in the previous period, if a certain front-end camera feeds back the response message for the detection message in the previous period, and does not feed back the response message for the detection message of this time, the fact that the front-end camera is not currently in communication connection with the video cloud storage system is indicated, at the moment, the existing video schedule of the front-end camera can be deleted, the cloud storage server does not need to take the streaming video from the front-end camera in the current period, and waste of network resources can be avoided.
For the front-end camera feeding back the response message this time, if the front-end camera does not feed back the response message for the detection message of the previous cycle, indicating that the front-end camera does not establish a communication connection with the video cloud storage system in the previous cycle, and the front-end camera establishes a communication connection with the video cloud storage system in the present cycle, a video recording plan corresponding to the front-end camera needs to be generated according to a streaming parameter value in the response message fed back by the front-end camera this time, so that the video recording plan is sent to the cloud storage server, and the cloud storage server can continue to take streaming video from the front-end camera.
For the front-end camera feeding back the response message this time, if the front-end camera feeds back the response message for the last detection message, it is also necessary to determine whether the streaming parameter value in the response messages fed back twice changes. If the current video is changed, the cloud storage server cannot obtain the streaming video from the front-end computer according to the video plan generated by the streaming parameter value in the response message fed back last time in the period. Therefore, a video recording plan corresponding to the front-end camera needs to be generated according to the current streaming parameter value fed back by the front-end camera.
As an implementation manner of the embodiment of the present invention, in a case that it is determined that the front-end terminal does not feed back a response message for the last probe message, the method may further include:
judging whether the front-end camera is a first front-end camera, wherein the first front-end camera is a front-end camera which does not feed back response messages in at least one continuous period;
if so, generating an additional recording task corresponding to the front-end camera according to the streaming parameter values contained in the response message fed back by the front-end camera this time, wherein the additional recording task is used for acquiring video data of the front-end camera within a time period to be additionally recorded, and the time period to be additionally recorded is determined according to at least one continuous period in which the response message is not fed back by the front-end camera.
It can be understood that due to a network interruption or the like, a certain front-end camera may not establish a communication connection with the video cloud storage system for at least one continuous period, and in order to acquire video data of the front-end camera in at least one continuous period in which the communication connection is not established, a complementary recording task corresponding to the front-end camera needs to be generated. Specifically, the recording task includes a streaming link and a time period to be recorded, and is used for the cloud storage server to acquire video data in the time period to be recorded from a front-end camera pointed by the streaming link, where the time period to be recorded is determined according to at least one continuous period in which no response message is fed back by the front-end camera, and the streaming link is a URL generated according to a streaming parameter value in a response message fed back by the front-end camera this time. And the supplementary recording task is issued to the cloud storage server, and the cloud storage server carries out supplementary recording on the video data in the time period to be subjected to supplementary recording of the front-end camera, so that the influence on the streaming video of the front-end camera due to network reasons can be avoided.
For example, the preset streaming time corresponding to the front-end terminal is 10:00-12:00 per day, and if the front-end terminal does not feed back a response message for 2 consecutive periods, when generating the logging task, the time period to be logged is 10:00-12:00 per day within the 2 consecutive periods.
Therefore, according to the scheme provided by the embodiment of the invention, the detection message is periodically sent to each front-end camera in the front-end camera set, and the video recording plan of each front-end camera is subjected to the operations of adding, deleting and modifying, so that the flexible management of the video recording plan and the additional recording task is realized.
It should be noted that, according to the scheme provided by the embodiment of the present invention, for a deployed video cloud storage system, in the maintenance processes of a large number of front-end cameras corresponding to the system, a newly-added front-end camera, and the like, manual operations can be reduced, and the maintenance efficiency can be improved. In addition, the scheme provided by the embodiment of the invention has good compatibility, when the video cloud storage system is deployed for the existing front-end terminal unit, a port for receiving the detection message can be reserved at each front-end terminal, and after the deployment and installation of the video cloud storage system are completed, the video plan automatic generation device realizes automatic interaction, issuing and management of the video plans for all the front-end terminals, so that the video cloud storage system is very convenient and fast.
Corresponding to the automatic generation method of the video recording plan, the embodiment of the invention also provides an automatic generation device of the video recording plan. Corresponding to the embodiment of the method shown in fig. 1, fig. 3 is a schematic structural diagram of an automatic video recording plan generating apparatus according to an embodiment of the present invention, where the apparatus is applied to a video cloud storage system, the video cloud storage system is in communication with a front end unit to generate a video recording plan, and the apparatus may include:
a sending module 301, configured to send a probe message to each front-end terminal in the front-end terminal group, where the probe message is used to probe a stream fetching parameter value corresponding to the front-end terminal;
a receiving module 302, configured to receive response messages fed back by each front-end computer according to the probe message;
the generating module 303 is configured to generate a video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message.
In a specific application, the video schedule automatic generation apparatus may be applied to a certain device in a video cloud storage system, where the device may be an existing device in the video cloud storage system, such as a storage server or a management server; of course, the device may also be a special device newly added in the video cloud storage system, such as: a dedicated probe server, which is all reasonable.
As can be seen from the above, in the scheme provided in the embodiment of the present invention, the video cloud storage system communicates with the front-end terminal unit to generate the video plan, the video cloud storage system automatically detects the streaming parameter value of each front-end camera in the front-end terminal unit, and generates the video plan corresponding to each front-end camera according to the streaming parameter value in the response message fed back by each front-end camera.
As an implementation manner of the embodiment of the present invention, the generating module 303 may include:
a constructing submodule (not shown in the figure) for constructing a stream fetching link corresponding to each front-end terminal according to the stream fetching parameter value in the corresponding response message;
and a first generating sub-module (not shown in the figure) for generating a video recording plan corresponding to each front-end camera according to the corresponding stream fetching link and the preset stream fetching time.
As an implementation manner of the embodiment of the present invention, the sending module may be configured to:
periodically sending a detection message to each front-end terminal in the front-end terminal set;
accordingly, the generating module 303 may include:
a first determining sub-module (not shown in the figure), configured to determine, for each front-end terminal that feeds back a response message this time, whether the front-end terminal feeds back a response message for a previous probe message;
a second generating sub-module (not shown in the figure), configured to generate a video recording plan corresponding to the front-end camera according to a streaming parameter value in a response message fed back by the front-end camera this time when the first determining sub-module determines that the front-end camera does not feed back a response message for a previous detection message;
a third generating sub-module (not shown in the figure), configured to determine, when the first determining sub-module determines that the front-end camera does not feed back a response message for the last detection message, whether a value of a stream fetching parameter in the response message fed back by the front-end camera this time changes with respect to reference information corresponding to the front-end camera; if the current feedback parameter value of the front-end camera changes, generating a video recording plan corresponding to the front-end camera according to the current feedback parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message.
As an implementation manner of the embodiment of the present invention, the apparatus may further include:
a second determining submodule (not shown in the figure), configured to determine, when the first determining submodule determines that the front-end camera does not feed back a response message for a previous probe message, whether the front-end camera is a first front-end camera, where the first front-end camera is a front-end camera that does not feed back a response message for at least one continuous period;
a fourth generating sub-module (not shown in the figure), configured to generate, when the second determining sub-module determines that the front-end camera is the first front-end camera, a complementary recording task corresponding to the front-end camera according to a stream fetching parameter value included in a response message fed back by the front-end camera this time, where the complementary recording task is used to obtain video data of the front-end camera within a time period to be complementary recorded, and the time period to be complementary recorded is determined according to at least one continuous period in which the response message is not fed back by the front-end camera.
As an implementation manner of the embodiment of the present invention, the apparatus may further include:
a determining module (not shown in the figure), configured to determine a target front-end camera from each front-end camera according to a preset target streaming parameter value and the streaming parameter value in the response message fed back by each front-end camera before the generating module 203 generates the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message;
accordingly, the generating module 303 may be configured to:
and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
As an implementation manner of the embodiment of the present invention, the apparatus may further include:
an issuing module (not shown in the figure), configured to issue the generated video recording plans corresponding to the front end computers to a cloud storage server in the video cloud storage system after the generating module 203 generates the video recording plans corresponding to the front end computers according to the streaming parameter values in the corresponding response messages.
As an implementation manner of the embodiment of the present invention, the probe message may include authentication information for the front-end terminal to determine whether the probe message is legal.
As an implementation manner of the embodiment of the present invention, the probe message and/or the response message may be a standard XML format message of the SIP protocol.
As an implementation manner of the embodiment of the present invention, the sending module may be specifically configured to send the probe message to each front-end camera in the front-end camera group according to a pre-configured network segment and a fixed port in each front-end camera.
Corresponding to the automatic generation method of the video recording plan, the embodiment of the invention also provides an automatic generation system of the video recording plan. Corresponding to the embodiment of the method shown in fig. 1, fig. 4 is a schematic structural diagram of an automatic video recording plan generating system according to an embodiment of the present invention, where the system may include: a cloud storage probe server 401 and a front-end cluster 402, said front-end cluster 402 comprising a plurality of front-end machines 4021, wherein,
the cloud storage probe server 401 is configured to send a probe message to each front-end camera 4021 in the front-end camera group 402, where the probe message is used to probe a stream fetching parameter value corresponding to the front-end camera 4021;
the front-end computer 4021 is configured to receive a probe message sent by the cloud storage probe server 401, and feed back a response message to the cloud storage probe server 401 according to the probe message;
the cloud storage probe server 401 is configured to receive response messages fed back by the front end computers 4021 according to the probe messages; and generating a video recording plan corresponding to each front-end computer 4021 according to the streaming parameter values in the corresponding response messages.
As can be seen from the above, in the scheme provided in the embodiment of the present invention, the video cloud storage system communicates with the front-end terminal unit to generate the video plan, the video cloud storage system automatically detects the streaming parameter value of each front-end camera in the front-end terminal unit, and generates the video plan corresponding to each front-end camera according to the streaming parameter value in the response message fed back by each front-end camera.
As an implementation manner of the embodiment of the present invention, the cloud storage probe server 401 may further be configured to construct a stream fetching link corresponding to each front-end computer 4021 according to a stream fetching parameter value in the corresponding response message; and generating a video recording plan corresponding to each front-end camera 4021 according to the corresponding stream fetching link and the preset stream fetching time.
As an implementation manner of the embodiment of the present invention, the cloud storage probe server 401 may be further configured to periodically send probe messages to each front-end camera 4021 in the front-end terminal set 402;
the cloud storage probe server 401 may also be configured to determine, for each front-end terminal 4021 that feeds back a response message this time, whether the front-end terminal 4021 feeds back a response message for a previous probe message; if not, generating a video plan corresponding to the front-end computer 4021 according to the streaming parameter value in the response message fed back by the front-end computer 4021 this time; if yes, judging whether the value of the stream taking parameter in the response message fed back by the front end computer 4021 this time changes relative to the reference information corresponding to the front end computer 4021; if the current feedback parameter value of the front end computer 4021 is changed, a video recording plan corresponding to the front end computer 4021 is generated according to the current feedback parameter value of the front end computer 4021, wherein the reference information corresponding to the front end computer 4021 is the current parameter value of the front end computer 4021 in the response message to the previous probe message.
As an implementation manner of the embodiment of the present invention, the cloud storage probe server 401 may further be configured to, when it is determined that the front end camera 4021 has no feedback response message for the last probe message, determine whether the front end camera 4021 is a first front end camera, where the first front end camera is a front end camera that has not fed back a response message for at least one continuous period; if yes, generating an additional recording task corresponding to the front end computer 4021 according to a streaming parameter value included in a response message fed back by the front end computer 4021 this time, where the additional recording task is used to obtain video data of the front end computer 4021 in a time period to be added, and the time period to be added is determined according to at least one continuous period in which no response message is fed back by the front end computer 4021.
As an implementation manner of the embodiment of the present invention, the cloud storage probe server 401 may be further configured to determine a target front-end camera from each front-end camera 4021 according to a preset target streaming parameter value and a streaming parameter value in a response message fed back by each front-end camera before generating a video recording plan corresponding to each front-end camera 4021 according to the streaming parameter value in the corresponding response message; and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
As an implementation manner of the embodiment of the present invention, as shown in fig. 5, the system may further include a cloud storage server 403;
the cloud storage probe server 401 may be further configured to, after generating a video recording plan corresponding to each front-end computer 4021 according to a streaming parameter value in the corresponding response message, issue the generated video recording plan corresponding to each front-end computer 4021 to the cloud storage server 303;
the cloud storage server 403 is configured to receive the video recording plans corresponding to the generated front end computers 4021, which are sent by the cloud storage server 401.
As an implementation manner of the embodiment of the present invention, the probe message may include authentication information for the front end computer 4021 to determine whether the probe message is legal.
As an implementation manner of the embodiment of the present invention, the probe message and/or the response message may be a standard XML format message of the SIP protocol.
As an implementation manner of the embodiment of the present invention, the sending of the probe message by the cloud storage probe server to each front-end camera in the front-end camera group may specifically be:
and sending a detection message to each front-end camera in the front-end camera set according to a preset network segment and a fixed port in each front-end camera.
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 embodiment and the system embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and reference may be made to some descriptions of the method embodiment 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 (21)

1. A video plan automatic generation method is applied to a video cloud storage system, the video cloud storage system is communicated with a front-end terminal unit of a video plan to be generated, and the method comprises the following steps:
sending a detection message to each front-end terminal in the front-end terminal set, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end terminal;
receiving response messages fed back by the front-end computers according to the detection messages;
generating a video plan corresponding to each front-end computer according to the streaming parameter values in the corresponding response messages;
the step of sending a probe message to each front-end terminal in the front-end terminal group includes:
periodically sending a detection message to each front-end terminal in the front-end terminal set;
the step of generating a video recording plan corresponding to each front-end camera according to the corresponding streaming parameter values includes:
aiming at each front-end terminal feeding back the response message, judging whether the front-end terminal feeds back the response message aiming at the last detection message;
if not, generating a video plan corresponding to the front-end camera according to the streaming parameter value in the response message fed back by the front-end camera this time;
if yes, judging whether the current flow taking parameter value in the response message fed back by the front-end camera is changed relative to the reference information corresponding to the front-end camera; if the current feedback parameter value of the front-end camera changes, generating a video plan corresponding to the front-end camera according to the current feedback current parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message;
the method further comprises the following steps:
and deleting the existing video plan of each front-end terminal which does not feed back the response message.
2. The method according to claim 1, wherein the step of generating the video recording plan corresponding to each front-end camera according to the streaming parameter values in the corresponding response message comprises:
constructing a flow taking link corresponding to each front-end terminal according to the flow taking parameter value in the corresponding response message;
and generating a video recording plan corresponding to each front-end camera according to the corresponding stream taking link and the preset stream taking time.
3. The method of claim 1, wherein in case that the front-end terminal is determined not to have a feedback response message for the last probe message, the method further comprises:
judging whether the front-end camera is a first front-end camera, wherein the first front-end camera is a front-end camera which does not feed back response messages in at least one continuous period;
if so, generating an additional recording task corresponding to the front-end camera according to the streaming parameter values contained in the response message fed back by the front-end camera this time, wherein the additional recording task is used for acquiring video data of the front-end camera within a time period to be additionally recorded, and the time period to be additionally recorded is determined according to at least one continuous period in which the response message is not fed back by the front-end camera.
4. The method according to claim 1, wherein before the step of generating the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message, the method further comprises:
determining a target front-end camera from each front-end camera according to a preset target stream taking parameter value and a stream taking parameter value in a response message fed back by each front-end camera;
the step of generating the video recording plan corresponding to each front-end computer according to the streaming parameter values in the corresponding response messages comprises the following steps:
and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
5. The method according to claim 1, wherein after the step of generating the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message, the method further comprises:
and issuing the generated video recording plans corresponding to the front end computers to a cloud storage server in the video cloud storage system.
6. The method of claim 1, wherein the probe message includes authentication information for a front-end computer to verify whether the probe message is legitimate.
7. The method according to any one of claims 1 to 6,
the step of sending a probe message to each front-end terminal in the front-end terminal group includes:
and sending a detection message to each front-end camera in the front-end camera set according to a preset network segment and a fixed port in each front-end camera.
8. An automatic generation device for a video recording plan is applied to a video cloud storage system, the video cloud storage system is communicated with a front-end terminal unit of a video recording plan to be generated, and the device comprises:
the sending module is used for sending a detection message to each front-end terminal in the front-end terminal set, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end terminal;
the receiving module is used for receiving response messages fed back by all the front-end computers according to the detection messages;
the generating module is used for generating a video plan corresponding to each front-end camera according to the streaming parameter values in the corresponding response messages;
the sending module is configured to:
periodically sending a detection message to each front-end terminal in the front-end terminal set;
the generation module comprises:
the first judgment submodule is used for judging whether the front-end terminal feeds back a response message aiming at the last detection message aiming at each front-end terminal feeding back the response message;
a second generating sub-module, configured to generate a video recording plan corresponding to the front-end camera according to a streaming parameter value in a response message fed back by the front-end camera this time when the first determining sub-module determines that the front-end camera does not feed back a response message for a previous detection message;
a third generation submodule, configured to determine whether a value of a current fetching parameter in a response message fed back by the front-end camera this time changes with respect to reference information corresponding to the front-end camera when the first determination submodule determines that the front-end camera does not feed back a response message for a previous detection message; if the current feedback parameter value of the front-end camera changes, generating a video plan corresponding to the front-end camera according to the current feedback current parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message;
the device further comprises:
and the deleting module is used for deleting the existing video plan of each front-end terminal which does not feed back the response message.
9. The apparatus of claim 8, wherein the generating module comprises:
the construction submodule is used for constructing the flow taking link corresponding to each front-end terminal according to the flow taking parameter value in the corresponding response message;
and the first generation submodule is used for generating a video recording plan corresponding to each front-end camera according to the corresponding stream taking link and the preset stream taking time.
10. The apparatus of claim 8, further comprising:
a second judging submodule, configured to judge whether the front-end camera is a first front-end camera when the first judging submodule judges that the front-end camera does not feed back a response message for a previous probe message, where the first front-end camera is a front-end camera that does not feed back a response message for at least one continuous period;
and a fourth generating sub-module, configured to generate, when the second determining sub-module determines that the front-end camera is the first front-end camera, a complementary recording task corresponding to the front-end camera according to a stream fetching parameter value included in a response message fed back by the front-end camera this time, where the complementary recording task is used to obtain video data of the front-end camera within a time period to be complementary recorded, and the time period to be complementary recorded is determined according to at least one continuous period in which no response message is fed back by the front-end camera.
11. The apparatus of claim 8, further comprising:
a determining module, configured to determine a target front-end camera from the front-end cameras according to a preset target streaming parameter value and the streaming parameter value in the response message fed back by each front-end camera before the generating module generates the video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message;
the generation module is configured to:
and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
12. The apparatus of claim 9, further comprising:
and the issuing module is used for issuing the generated video plans corresponding to the front-end cameras to a cloud storage server in the video cloud storage system after the generating module generates the video plans corresponding to the front-end cameras according to the streaming parameter values in the corresponding response messages.
13. The apparatus of claim 8, wherein the probe message comprises authentication information for the front-end to verify whether the probe message is legitimate.
14. The apparatus according to any one of claims 8 to 13,
the sending module is specifically configured to send a probe message to each front-end camera in the front-end camera group according to a preconfigured network segment and a fixed port in each front-end camera.
15. An automatic video recording plan generation system, which is characterized by comprising a cloud storage detection server and a front-end camera set, wherein the front-end camera set comprises a plurality of front-end cameras,
the cloud storage detection server is used for sending a detection message to each front-end computer in the front-end computer group, wherein the detection message is used for detecting a flow taking parameter value corresponding to the front-end computer;
the front-end camera is used for receiving the detection message sent by the cloud storage detection server and feeding back a response message to the cloud storage detection server according to the detection message;
the cloud storage detection server is used for receiving response messages fed back by the front-end computers according to the detection messages; generating a video plan corresponding to each front-end computer according to the streaming parameter values in the corresponding response messages;
the cloud storage detection server is further used for periodically sending detection messages to all front-end computers in the front-end computer group;
the cloud storage detection server is further used for judging whether the front-end terminal feeds back a response message aiming at the last detection message aiming at each front-end terminal feeding back the response message; if not, generating a video plan corresponding to the front-end camera according to the streaming parameter value in the response message fed back by the front-end camera this time; if yes, judging whether the current flow taking parameter value in the response message fed back by the front-end camera is changed relative to the reference information corresponding to the front-end camera; if the current feedback parameter value of the front-end camera changes, generating a video plan corresponding to the front-end camera according to the current feedback current parameter value of the front-end camera, wherein the reference information corresponding to the front-end camera is the current parameter value of the front-end camera in the response message fed back by the front-end camera for the last detection message;
the cloud storage detection server is further configured to delete the existing video plan of each front-end computer that does not feed back the response message.
16. The system of claim 15,
the cloud storage detection server is further used for constructing a flow taking link corresponding to each front-end terminal according to the flow taking parameter value in the corresponding response message; and generating a video recording plan corresponding to each front-end camera according to the corresponding stream taking link and the preset stream taking time.
17. The system of claim 15,
the cloud storage detection server is further configured to determine whether the front-end camera is a first front-end camera under the condition that it is determined that the front-end camera does not feed back a response message for the last detection message, where the first front-end camera is a front-end camera that does not feed back a response message for at least one continuous period; if so, generating an additional recording task corresponding to the front-end camera according to the streaming parameter values contained in the response message fed back by the front-end camera this time, wherein the additional recording task is used for acquiring video data of the front-end camera within a time period to be additionally recorded, and the time period to be additionally recorded is determined according to at least one continuous period in which the response message is not fed back by the front-end camera.
18. The system of claim 15,
the cloud storage detection server is further configured to determine a target front-end camera from the front-end cameras according to a preset target streaming parameter value and the streaming parameter value in the response message fed back by each front-end camera before generating a video recording plan corresponding to each front-end camera according to the streaming parameter value in the corresponding response message; and generating a video plan corresponding to the target front-end camera according to the streaming parameter values in the response message fed back by the target front-end camera.
19. The system of claim 15, further comprising a cloud storage server;
the cloud storage detection server is further configured to issue the generated video plans corresponding to the front-end computers to the cloud storage server after generating the video plans corresponding to the front-end computers according to the streaming parameter values in the corresponding response messages;
and the cloud storage server is used for receiving the generated video plans corresponding to the front-end computers, which are sent by the cloud storage server.
20. The system according to claim 15, wherein the probe message includes authentication information for the front-end camera to verify whether the probe message is legitimate.
21. The system according to any one of claims 15-20,
the cloud storage detection server sends detection messages to all front-end computers in the front-end computer group, and the detection messages specifically include:
and sending a detection message to each front-end camera in the front-end camera set according to a preset network segment and a fixed port in each front-end camera.
CN201710566179.0A 2017-07-12 2017-07-12 Automatic video recording plan generation method, device and system Active CN109257560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710566179.0A CN109257560B (en) 2017-07-12 2017-07-12 Automatic video recording plan generation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710566179.0A CN109257560B (en) 2017-07-12 2017-07-12 Automatic video recording plan generation method, device and system

Publications (2)

Publication Number Publication Date
CN109257560A CN109257560A (en) 2019-01-22
CN109257560B true CN109257560B (en) 2020-12-25

Family

ID=65050759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710566179.0A Active CN109257560B (en) 2017-07-12 2017-07-12 Automatic video recording plan generation method, device and system

Country Status (1)

Country Link
CN (1) CN109257560B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654671B (en) * 2020-05-29 2021-11-23 杭州海康威视系统技术有限公司 Video data storage method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437131A (en) * 2008-12-31 2009-05-20 中兴通讯股份有限公司 Method and apparatus for customizing frontend picture recording of video monitoring system
CN101442618A (en) * 2008-12-31 2009-05-27 葛晨阳 Method for synthesizing 360 DEG ring-shaped video of vehicle assistant drive
US8607328B1 (en) * 2005-03-04 2013-12-10 David Hodges Methods and systems for automated system support
CN105450964A (en) * 2014-09-30 2016-03-30 杭州海康威视系统技术有限公司 Method, system and management node for carrying out cloud storage on picture recording data

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867728B (en) * 2010-06-01 2014-04-09 中兴通讯股份有限公司 Superposition processing method and device of video recording tasks in video monitoring
CN103702079A (en) * 2013-12-24 2014-04-02 青岛农业大学 Grassland remote monitoring system based on solar energy and wireless network
CN103856760B (en) * 2014-03-04 2017-02-08 浙江宇视科技有限公司 Longitudinal virtualization device between video surveillance devices
CN104104926B (en) * 2014-07-30 2017-04-19 浙江宇视科技有限公司 Universal plug and play (UPnP) monitoring terminal access method and access device
CN106162219B (en) * 2015-04-21 2019-08-16 杭州海康威视系统技术有限公司 Video cloud storage method and system
CN104883547B (en) * 2015-06-16 2019-04-12 浙江宇视科技有限公司 Method and NVR based on network access equipment physical port access IPC
CN105187781A (en) * 2015-08-17 2015-12-23 浙江宇视科技有限公司 Method and device for adding monitoring equipment automatically
CN106712899B (en) * 2016-11-25 2020-10-16 浙江宇视科技有限公司 Port rate adjusting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8607328B1 (en) * 2005-03-04 2013-12-10 David Hodges Methods and systems for automated system support
CN101437131A (en) * 2008-12-31 2009-05-20 中兴通讯股份有限公司 Method and apparatus for customizing frontend picture recording of video monitoring system
CN101442618A (en) * 2008-12-31 2009-05-27 葛晨阳 Method for synthesizing 360 DEG ring-shaped video of vehicle assistant drive
CN105450964A (en) * 2014-09-30 2016-03-30 杭州海康威视系统技术有限公司 Method, system and management node for carrying out cloud storage on picture recording data

Also Published As

Publication number Publication date
CN109257560A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN105722081B (en) Intelligent equipment networking method and device
US8321504B2 (en) Method and system for subscriber base monitoring in IP data networks
CN112448933B (en) Method and system for self-adapting compatible platform inter-domain protocol
CN103678124B (en) Video surveillance platform auto-test method and device based on continuous integrated environment
CN106161450B (en) Distributed HTTPS monitoring method
CN108055170B (en) Router-based packet capturing method and system
WO2017206576A1 (en) Gateway service processing method and apparatus
US20170034038A1 (en) Systems and methods for monitoring operational statuses of network services
CN105141449A (en) Addition method and device for monitoring configuration
CN103281410A (en) Broadcast television network intelligent obstacle pretreatment method and system
WO2023109524A1 (en) Information leakage monitoring method and system, and electronic device
CN109257560B (en) Automatic video recording plan generation method, device and system
CN108076165B (en) Method, equipment and system for domain name resolution information management
CN104125119A (en) Method and system for testing server
CN113067710A (en) Online user query method and device, computer equipment and storage medium
CN102630377A (en) Method, apparatus and system for processing quality parameters of multicast streams
CN115086621B (en) Fire fighting abnormal information determination method, device, equipment and medium
US20140149581A1 (en) Quality of service monitoring device and method of monitoring quality of service
CN107341086B (en) Method and system for monitoring running state of server
JP2003233417A (en) Data communication device and its method, and data communication program and recording medium recorded thereof
CN105721397A (en) CM registration method and device
CN111314105B (en) Method, device and system for matching connection of equipment
CN105282270B (en) A kind of method, apparatus and system for preventing IP address from falsely using
CN107566451A (en) A kind of equipment network method and system
CN105306238A (en) Terminal access method, terminal access device and terminal access system

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