Video data storage method, device, equipment and storage medium

文档序号:1341931 发布日期:2020-07-17 浏览:16次 中文

阅读说明:本技术 视频数据存储方法、装置、设备及存储介质 (Video data storage method, device, equipment and storage medium ) 是由 成祝梁 于 2020-01-20 设计创作,主要内容包括:本发明实施例提供一种视频数据存储方法、装置、设备及存储介质,该方法包括:监测录像机是否发生异常,其中,所述录像机用于从摄像机获取所述摄像机采集的视频数据进行存储;在监测到所述录像机发生异常时,向所述服务器发送第一指令,其中,所述第一指令用于指示所述服务器从所述摄像机获取所述摄像机采集的视频数据并进行存储。本发明实施例能够保证在录像机异常期间,服务器可以对摄像机采集的视频数据进行存储,避免由于录像机异常造成的视频数据缺失,保证视频数据存储的连续性。(The embodiment of the invention provides a video data storage method, a device, equipment and a storage medium, wherein the method comprises the following steps: monitoring whether a video recorder is abnormal or not, wherein the video recorder is used for acquiring video data collected by a camera from the camera and storing the video data; when the video recorder is monitored to be abnormal, a first instruction is sent to the server, wherein the first instruction is used for instructing the server to acquire and store video data collected by the camera from the camera. The embodiment of the invention can ensure that the server can store the video data acquired by the camera during the abnormal period of the video recorder, avoid the loss of the video data caused by the abnormal condition of the video recorder and ensure the continuity of the storage of the video data.)

1. A video data storage method applied to a monitoring device, the method comprising:

monitoring whether the video recorder is abnormal or not;

when the video recorder is monitored to be abnormal, a first instruction is sent to a server, wherein the first instruction is used for instructing the server to acquire and store video data acquired by a camera from the camera.

2. The method of claim 1, wherein the first instruction comprises a network address of the camera;

before sending the first instruction to the server, the method further includes:

and receiving the network address of the camera sent by the terminal equipment, the video recorder or the camera.

3. The method of claim 1, further comprising:

and when the video recorder is monitored to be recovered to be normal, sending a second instruction to the server, wherein the second instruction is used for instructing the server to acquire and store the video data acquired by the camera from the video recorder.

4. The method of claim 1, further comprising:

and sending a third instruction to the server, wherein the third instruction is used for instructing the server to send the video data corresponding to a first time period to the video recorder, and the first time period is a time period from the time when the video recorder is abnormal to the time when the video recorder recovers to be normal.

5. The method according to any one of claims 1 to 4, further comprising:

and sending a fourth instruction to the server, wherein the fourth instruction is used for instructing the server to acquire and store video data corresponding to a second time period from the camera, and the second time period is a time period from the time when the video recorder is abnormal to the starting time when the server acquires the video data from the camera.

6. A video data storage method applied to a server, the method comprising:

receiving a first instruction sent by monitoring equipment, wherein the first instruction is sent when the monitoring equipment monitors that a video recorder is abnormal;

and acquiring and storing the video data collected by the camera from the camera.

7. The method of claim 6, wherein acquiring and storing video data captured by the camera from the camera comprises:

and acquiring and storing the video data acquired by the camera from the camera according to the network address of the camera, wherein the network address of the camera is contained in the first instruction, or the network address of the camera is pre-configured in the server.

8. The method of claim 6, further comprising:

receiving a second instruction sent by the monitoring equipment, wherein the second instruction is sent by the monitoring equipment when the monitoring equipment monitors that the video recorder recovers to normal;

and acquiring and storing the video data acquired by the camera from the video recorder.

9. The method of claim 6, further comprising:

receiving a third instruction sent by the monitoring equipment;

and sending the video data corresponding to a first time period to the video recorder, wherein the first time period is a time period from the time when the video recorder is abnormal to the time when the video recorder recovers to be normal.

10. The method according to any one of claims 6 to 9, further comprising:

receiving a fourth instruction sent by the monitoring equipment;

and acquiring and storing video data corresponding to a second time period from the camera, wherein the second time period is a time period from the moment when the video recorder is abnormal to the starting moment when the server acquires the video data from the camera.

11. A video data storage apparatus for use in a monitoring device, the apparatus comprising:

the monitoring module is used for monitoring whether the video recorder is abnormal or not;

the first sending module is used for sending a first instruction to a server when monitoring that the video recorder is abnormal, wherein the first instruction is used for instructing the server to acquire and store video data acquired by the camera from the camera.

12. A video data storage apparatus, applied to a server, the apparatus comprising:

the monitoring device comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a first instruction sent by the monitoring device, and the first instruction is sent by the monitoring device when the monitoring device monitors that the video recorder is abnormal;

and the acquisition module is used for acquiring and storing the video data acquired by the camera from the camera.

13. A video data storage system, comprising: monitoring equipment, a video recorder, a camera and a server;

the monitoring equipment is used for monitoring whether the video recorder is abnormal or not;

the monitoring equipment is used for sending a first instruction to the server when monitoring that the video recorder is abnormal;

the server is used for receiving the first instruction, acquiring the video data acquired by the camera from the camera and storing the video data.

14. The system of claim 13, wherein the first instruction comprises a network address of the camera;

the monitoring equipment is further used for receiving the network address of the camera sent by the terminal equipment, the video recorder or the camera before sending the first instruction to the server;

the server is specifically configured to acquire and store video data acquired by the camera from the camera according to the network address of the camera.

15. The system of claim 13, wherein the monitoring device is further configured to send a second instruction to the server when it is monitored that the video recorder is recovering from normality;

and the server is also used for receiving the second instruction, acquiring the video data acquired by the camera from the video recorder and storing the video data.

16. The system of claim 13, wherein the monitoring device is further configured to send a third instruction to the server;

the server is further configured to receive the third instruction, and send video data corresponding to a first time period to the video recorder, where the first time period is a time period from a time when the video recorder is abnormal to a time when the video recorder recovers to be normal;

the video recorder is further used for storing the video data corresponding to the first time period.

17. The system according to any one of claims 13 to 16, wherein the monitoring device is further configured to send a fourth instruction to the server;

the server is further configured to receive the fourth instruction, acquire and store video data corresponding to a second time period from the camera, where the second time period is a time period from a time when the video recorder is abnormal to a start time when the server acquires the video data from the camera.

18. A monitoring device, comprising: at least one processor and memory;

the memory stores computer-executable instructions;

the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the video data storage method of any of claims 1-5.

19. A server, comprising: at least one processor and memory;

the memory stores computer-executable instructions;

the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the video data storage method of any of claims 6-10.

29页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:数据处理方法、装置和系统,非暂时性计算机可读介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类