Video monitoring system and monitoring method thereof, storage medium and program product
By sending task security level instructions to the streaming media server and cameras in the video surveillance system, generating and encrypting video streams, and adding security level information to the video streams, the problem of the lack of security and confidentiality measures in existing video surveillance systems is solved, and flexible video data management and efficient confidentiality control are achieved.
Patent Information
- Application Number
- CN202411524188.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-10-29
AI Technical Summary
Existing video surveillance systems lack security and confidentiality measures, leading to potential leaks of classified surveillance content and an inability to effectively control access and manage video data for surveillance tasks of different security levels.
The monitoring and control platform sends monitoring instructions containing task security levels to the streaming media server and cameras. The cameras generate and encrypt video stream data and add security level information to the video stream. The streaming media server stores the video according to the security level, and the monitoring client displays the security level information when playing the video, thus achieving flexible encryption and access control.
It improves the confidentiality of video transmission, ensures the security and controllability of video data, adapts to monitoring tasks with different levels of confidentiality, and enhances the security and flexibility of the system.
Smart Images

Figure CN119364114B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of computer and artificial intelligence, and particularly relates to a video monitoring system and a monitoring method thereof, a storage medium and a program product. BACKGROUND
[0002] With the development and popularization of video technology, video monitoring has been widely applied in various fields and scenes. In some monitoring scenes involving confidentiality, higher requirements are put forward for the security of video monitoring.
[0003] For example, in the production process of some devices that have not been disclosed or released, it may be necessary to test or test the devices to verify and improve the performance of the devices. According to the requirements of the test scene, the test process can be completed through video monitoring, and it is necessary to ensure the confidentiality of the video in the monitoring process.
[0004] However, in the related art, the video monitoring system itself lacks security and confidentiality protection measures, so there is a risk of leakage of monitored content. SUMMARY
[0005] The present disclosure provides a video monitoring system and a monitoring method thereof, a storage medium and a program product to at least solve the problem that the video monitoring system in the related art lacks security and confidentiality measures, which may lead to leakage. The technical solutions of the present disclosure are as follows:
[0006] According to a first aspect of the present disclosure, a monitoring method of a video monitoring system is provided, the video monitoring system comprising a monitoring control platform, a plurality of cameras and a plurality of streaming media servers, wherein the monitoring method comprises: the monitoring control platform sends a first monitoring instruction to a target streaming media server in the plurality of streaming media servers and a second monitoring instruction to a target camera in the plurality of cameras according to a received monitoring task, wherein the first monitoring instruction comprises the monitoring task and a task security level of the monitoring task, and the second monitoring instruction comprises the task security level of the monitoring task; the target streaming media server generates a third monitoring instruction according to the first monitoring instruction and sends the third monitoring instruction to the target camera to control the target camera to execute the monitoring task, wherein the third monitoring instruction comprises information for controlling a camera action of the target camera; the target camera generates video stream data according to the third monitoring instruction, and adds security level information representing the task security level to the video stream data according to the first monitoring instruction, and encrypts the video stream data to obtain an encrypted monitoring video.
[0007] Optionally, each camera of the plurality of cameras has a camera security level, the camera security level representing a highest task security level that the camera can add to the video stream data, wherein the monitoring control platform determines the target camera by: determining, according to the monitoring task, an associated camera of the plurality of cameras whose camera security level is higher than a task security level of the monitoring task; and in response to the associated camera not existing in other monitoring tasks, taking the associated camera as the target camera.
[0008] Optionally, each camera corresponds to one of the plurality of stream media servers, each stream media server receiving monitoring video from a corresponding camera, wherein the monitoring control platform further performs the following operations: in response to the monitoring task including recording plan information, obtaining a storage space occupancy rate of the target stream media server; in response to the storage space occupancy rate of the target stream media server being less than or equal to a preset occupancy threshold, performing the step of sending the second monitoring instruction to the target camera of the plurality of cameras, and sending the recording plan information and the task security level to the target stream media server; and in response to the storage space occupancy rate of the target stream media server being greater than the preset occupancy threshold, ending the monitoring task.
[0009] Optionally, the monitoring method further comprises: the target stream media server receiving the monitoring video from the target camera according to the recording plan information; and the target stream media server storing the monitoring video to a storage location corresponding to the task security level according to the task security level, wherein different task security levels correspond to different storage locations.
[0010] Optionally, the second monitoring instruction further includes security level display information, the security level display information indicating whether the target camera superimposes the security level information on a video screen of the monitoring video, the monitoring video carrying the security level display information, and the video monitoring system further comprises a monitoring client receiving the monitoring video, wherein the monitoring method further comprises: in response to the security level display information indicating that the target camera does not display the security level information on the video screen of the monitoring video, the monitoring client superimposes the security level information on the video screen when playing or downloading the monitoring video.
[0011] Optionally, the monitoring client further performs the following operations: playing back the historical monitoring video, and during the playback, decrypting the historical monitoring video, and caching the video of a preset time window before the current video frame including the current video frame; during the playback, in response to receiving a start downloading instruction input by a user, decoding the video of the preset time window and the video after the current video frame, and encoding the decoded video in a preset encoding format until receiving an end downloading instruction input by the user, and storing the encoded video.
[0012] Optionally, the video monitoring system has multiple roles, each role corresponding to one or more users, and the monitoring method further comprises: the monitoring control platform determines the task access authority of each role according to the task control function, wherein the monitoring control platform only allows the role to use the task control function authorized for the role; the monitoring control platform determines the video access authority of each role according to the video control function, wherein the monitoring control platform only allows the role to use the video control function authorized for the role; the monitoring control platform determines the video access authority of each role according to the camera, wherein the monitoring control platform only allows the role to access the video data of the camera authorized for the role, wherein the task control function and the task access authority respectively include at least one of new monitoring task, edit monitoring task and view monitoring task, and the video control function and the video access authority respectively include at least one of real-time viewing, video playback, video downloading and cloud mirror control.
[0013] According to a second aspect of the present disclosure, a video monitoring system is provided, comprising a monitoring control platform, a plurality of cameras and a plurality of streaming media servers, the monitoring control platform sends a first monitoring instruction to a target streaming media server in the plurality of streaming media servers and a second monitoring instruction to a target camera in the plurality of cameras according to a monitoring task, wherein the first monitoring instruction comprises the monitoring task and a task secret level of the monitoring task, and the second monitoring instruction comprises the task secret level of the monitoring task; the target streaming media server generates a third monitoring instruction according to the first monitoring instruction and sends the third monitoring instruction to the target camera to control the target camera to execute the monitoring task, wherein the third monitoring instruction comprises information of a camera action for controlling the target camera; the target camera generates video stream data according to the third monitoring instruction and adds secret level information representing the task secret level to the video stream data according to the first monitoring instruction to obtain monitoring video.
[0014] According to a third aspect of the present disclosure, a computer readable storage medium is provided, which, when instructions in the computer readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the monitoring method of the video monitoring system according to the present disclosure.
[0015] According to a fourth aspect of the present disclosure, a computer program product is provided, which comprises computer executable instructions, which, when executed by at least one processor, implement the monitoring method of the video monitoring system according to the present disclosure.
[0016] The technical solutions provided by the present disclosure at least bring the following beneficial effects:
[0017] According to the video monitoring scheme of the present disclosure, the monitoring control platform can send different monitoring instructions to the target stream media server and the target camera according to the monitoring task, wherein the monitoring instruction including the task secret level of the monitoring task can be sent to the target stream media server, and the monitoring instruction including the task secret level can be sent to the target camera, so that the target stream media server can control the action of the target camera according to the third control instruction to obtain the video stream data, and the target camera can add the secret level information representing the task secret level to the video stream data and encrypt the video stream data to obtain the encrypted monitoring video. In this way, by respectively issuing the monitoring instruction including the task secret level to the stream media server and the camera, the monitoring video output by the camera is encrypted, the security of video transmission is improved, and the secret level information carried in the monitoring video is associated with the security requirement of the monitoring task, and the target stream media server obtains the secret level corresponding to the secret level information, which ensures the security and controllability of the video data, makes the encryption of the video stream by the camera more flexible, and makes the use and configuration of the system more flexible, which makes the video itself have a security level corresponding to the monitoring content, and the processing of the video can be performed according to the security level, which improves the encryption reliability and makes the encryption mode more flexible, can adapt to monitoring tasks with different security levels, and improves the security of the video monitoring system in the secret monitoring scene.
[0018] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0019] The drawings herein are incorporated into the specification and form part of the specification, show embodiments consistent with the present disclosure, and together with the specification serve to explain the principles of the present disclosure, and do not constitute undue limitations on the present disclosure.
[0020] Figure 1 is a schematic block diagram of an example of a video monitoring system according to an exemplary embodiment of the present disclosure.
[0021] Figure 2 is a schematic flowchart of a monitoring method of a video monitoring system according to an example embodiment of the present disclosure.
[0022] Figure 3 is a schematic flowchart of an example of controlling a task state of a monitoring task in a monitoring method of a video monitoring system according to an example embodiment of the present disclosure.
[0023] Figure 4 is a schematic flowchart of a state change of a monitoring task in a monitoring method of a video monitoring system according to an example embodiment of the present disclosure.
[0024] Figure 5 is a schematic block diagram of a video monitoring system according to an example embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] In order to make the ordinary person skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the drawings.
[0026] It should be noted that the terms "first", "second", and the like in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0027] It should be noted that "at least one of a plurality" appearing in the present disclosure represents three types of alternatives including "any one of the plurality", "a combination of any multiple of the plurality", and "all of the plurality". For example, "including at least one of A and B" includes the following three alternatives: (1) including A; (2) including B; (3) including A and B. For another example, "performing at least one of step one and step two" represents the following three alternatives: (1) performing step one; (2) performing step two; (3) performing step one and step two.
[0028] As described previously, in the related art, there is a problem that a video monitoring system lacks security and privacy measures and can lead to a leak.
[0029] Taking the monitoring scenes related to military industry, medical treatment, scientific research and the like as examples, many test scenes are classified, and the video monitoring related technologies and methods are lack due to the security and secrecy requirements. A few test sites have built independent monitoring systems, but the video monitoring systems lack security and secrecy protection measures, and there is a risk of leakage.
[0030] The traditional video monitoring system cannot perform sufficient and perfect security access control for classified monitoring tasks. Specifically, the traditional video monitoring system cannot classify classified videos, cannot change the video classification for the classified level of the monitoring task, and cannot store the classified video according to different classified levels. In addition, the traditional video monitoring system cannot perform all-round security access control for classified levels, functions and devices. In addition, there is a lack of perfect access control for the generated classified real-time and historical video data.
[0031] In view of the above problems, the exemplary embodiments of the present disclosure propose a monitoring method of a video monitoring system, a video monitoring system, a computer readable storage medium and a computer program product, which can solve or at least alleviate the above problems.
[0032] In a first aspect of the exemplary embodiments of the present disclosure, a monitoring method of a video monitoring system is provided.
[0033] First, the exemplary embodiments of the present disclosure will be described below with reference to Figure 1 An example structure of a video monitoring system according to the exemplary embodiments of the present disclosure is described.
[0034] As shown in Figure 1 The video monitoring system 100 can include a monitoring control platform 110, a plurality of cameras 120 and a plurality of streaming media servers 130.
[0035] The monitoring control platform 110 can send a first monitoring instruction to a target streaming media server in the plurality of streaming media servers 130 and a second monitoring instruction to a target camera in the plurality of cameras 120 according to a received monitoring task, wherein the first monitoring instruction can include the monitoring task and the task classified level of the monitoring task, and the second monitoring instruction can include the task classified level of the monitoring task, but not the information of the monitoring task.
[0036] The target streaming media server can generate a third monitoring instruction according to the first monitoring instruction, and send the third monitoring instruction to the target camera to control the target camera to perform the monitoring task, wherein the third monitoring instruction includes information of a camera action of the target camera.
[0037] The target camera in the plurality of cameras 120 can generate video stream data according to the third monitoring instruction, and add the classified information representing the classified level of the task to the video stream data and encrypt the video stream data to obtain the encrypted monitoring video according to the first monitoring instruction. Here, the target camera can be one or more.
[0038] Specifically, the monitoring control platform 110 can be in communication connection with each camera 120 to send monitoring instructions to the camera 120. The monitoring control platform 110 can receive a monitoring task, which can be input by a user to the monitoring control platform 110, for example, or can be sent to the monitoring control platform 110 from other systems.
[0039] The camera 120 can encrypt, sign the video stream according to the C-level protection requirement agreed in the GB 35114 protocol, and periodically replace the video key and the video key encryption key, for example. In an embodiment of the present disclosure, the camera can respond to the second monitoring instruction and the third monitoring instruction, and store the current task classified level in the camera locally, which will not be lost after power failure. The camera 120 can include various forms (such as gun cameras, ball cameras, half-ball cameras, etc.) and various lens parameter models to adapt to the needs of different use scenarios, and the specific type of the camera, the way of capturing images, and the content of shooting are not particularly limited in the embodiment of the present disclosure. As an example, the plurality of cameras 120 can be used to capture different video content, which can be arranged at different positions, for example.
[0040] In addition, each camera 120 can correspond to a streaming media server 130, and each streaming media server 130 can correspond to at least one of the plurality of cameras 120, for example, one streaming media server 130 can correspond to a plurality of cameras 120. The streaming media server 130 can be in communication connection with the corresponding camera 120 to receive the monitoring video from the corresponding camera 120. The streaming media server 130 can store the received monitoring video, and can also send the received or stored monitoring video.
[0041] As an example, the streaming media server 130 can also be in communication connection with the monitoring control platform 110 to receive control instructions from the monitoring control platform 110.
[0042] In addition, the video monitoring system 100 can also include a monitoring client 140, which receives the monitoring video generated by the camera 120, for example, can receive the monitoring video of the camera 120 corresponding to the streaming media server 130 from the streaming media server 130.
[0043] The monitoring client 140 can also be communicatively connected to the monitoring control platform 110, for example, to send authentication information to the monitoring control platform 110, or to receive authorization information from the monitoring control platform 110, or to obtain a monitoring task and associated camera information from the monitoring control platform.
[0044] The specific configuration and operation of the video monitoring system 100 described above will be described in detail in the embodiments of the monitoring method described below.
[0045] In addition, the monitoring control platform and the streaming media server described above can be a terminal desktop, a rack server, etc., and here, the electronic device can be a standalone electronic device, or an electronic device cluster, or a cloud computing platform or a virtualization center. However, the video monitoring system described above is only an example, and the monitoring method of the video monitoring system according to the exemplary embodiments of the present disclosure can also be applied to other systems.
[0046] The following will be described with reference to Figure 2 The example steps of the monitoring method of the video monitoring system according to the embodiments of the present disclosure will be described. The video monitoring system can include a monitoring control platform, a plurality of cameras and a plurality of streaming media servers, as shown in Figure 2 The monitoring method of the video monitoring system can include the following steps:
[0047] In step S210, the monitoring control platform can send a first monitoring instruction to a target streaming media server in the plurality of streaming media servers and a second monitoring instruction to a target camera according to the received monitoring task, wherein the first monitoring instruction can include the monitoring task and the task classification of the monitoring task, and the second monitoring instruction can include the task classification of the monitoring task.
[0048] Specifically, the monitoring task can be monitoring in any field or scene, and the monitoring control platform can create a monitoring task in response to a task creation instruction input by a user. The task creation instruction can include, for example, but not limited to, task number, task name, task classification, task aware person, task associated camera, video recording plan, etc.
[0049] As an example, the monitoring task can only add a camera with access permission of the task-aware person as an associated camera, and the task secret level cannot be modified after the task is created. Specifically, when a new monitoring task is created or a monitoring task is modified, the monitoring control platform can only add a person with a personnel secret level not lower than the task secret level as the task-aware person. The secret level of the video stream (or referred to as "code stream") generated by the camera can be switched according to the monitoring task, specifically, the secret level of the video stream generated by the camera is not fixed, but is determined according to the task secret level of the currently executed monitoring task each time the monitoring task is received, and the secret level of the video stream generated by the same camera is different when the same camera executes monitoring tasks with different task secret levels. In addition, the same monitoring task can be associated with cameras under different streaming media servers.
[0050] At step S220, the target streaming media server can generate a third monitoring instruction according to the first monitoring instruction, and send the third monitoring instruction to the target camera to control the target camera to execute the monitoring task, wherein the third monitoring instruction comprises information for controlling the camera action of the target camera.
[0051] Here, the target streaming media server can be a streaming media server corresponding to the target camera.
[0052] The camera action may, for example, include camera opening, camera closing, camera angle adjustment, etc. The information for controlling the camera action of the target camera may, for example, be obtained based on the task requirement of the monitoring task, for example, the camera action of the target camera can be controlled according to the requirement of the monitoring task.
[0053] Specifically, the target streaming media server generates information for controlling the camera action of the target camera based on the monitoring task given in the first monitoring instruction, so that the target camera performs monitoring according to the monitoring task. For example, the monitoring task can include a recording plan, and the information for controlling the camera action of the target camera can instruct the target camera to obtain video stream data within the recording time set in the recording plan.
[0054] At step S230, the target camera can generate video stream data according to the third monitoring instruction, and add secret level information representing the task secret level to the video stream data according to the first monitoring instruction, and encrypt the video stream data to obtain encrypted monitoring video.
[0055] In this step S230, the target camera can capture a video picture and generate video stream data according to the control information in the third monitoring instruction. When generating the video stream data, the target camera can add the secret level information in the video stream (also referred to as "code stream") and also add signature tamper-proof information to protect the integrity of the video data. As an example, the video data is in an encrypted state at the camera output, and no decryption is performed in subsequent transmission, forwarding, and storage, and only decryption operation is allowed when finally watching and downloading the monitoring video.
[0056] According to the monitoring method of the video monitoring system according to the example embodiments of the present disclosure, the monitoring instruction containing the task secret level is respectively issued to the streaming media server and the camera, so that the monitoring video output by the camera is encrypted, the security of video transmission is improved, the secret level information carried in the monitoring video is associated with the security requirement of the monitoring task, and the secret level obtained by the target streaming media server is corresponding. In addition to improving the security, the encryption of the camera on the video stream is more flexible, which makes the video itself have a security level corresponding to the monitoring content, and the processing of the video can be performed by referring to the secret level, thereby improving the encryption reliability and making the encryption mode more flexible to adapt to monitoring tasks with different security levels.
[0057] The example configuration of the video monitoring system according to the example embodiments of the present disclosure will be described in detail below.
[0058] The monitoring task may, for example, include four task states of unstarted, started, paused, and completed, and the control of the task state will be described in detail below.
[0059] As an example, the monitoring task can be provided with a video recording plan, and the monitoring control platform can control the video recording start and stop state of the target camera added in the monitoring task individually without changing the task state. As an example, in response to the monitoring task being provided with a video recording plan, the monitoring control platform can issue the secret level information to the streaming media server corresponding to all target cameras together with the video recording plan information.
[0060] The video recording plan may, for example, be divided into single video recording mode, daily cycle video recording mode, weekly cycle video recording mode, etc., wherein the cycle video recording mode can set the video recording preservation days, and the video exceeding the video recording preservation days will be automatically deleted to meet the demand of different important tasks for the video recording preservation days, for example, the monitoring control platform can traverse all monitoring tasks at a fixed time (for example, every day at 0 o'clock) to perform automatic deletion of the video recording.
[0061] The single video recording mode can set a pair of video recording start date and time and video recording stop date and time.
[0062] The day cycle recording mode can set multiple pairs of recording start time and recording stop time, and there is no overlap between each pair of recording start time and recording stop time. For example, a pair of recording start time and recording stop time can be set as "0:00:00-24:00:00", which means 24 hours of uninterrupted recording.
[0063] The week cycle recording mode can add multiple pairs of recording start time and recording stop time for each day from Monday to Sunday.
[0064] In the example embodiment of the present disclosure, the video monitoring system can have multiple roles, each role corresponding to one or more users, and the monitoring method can further include: determining, by the monitoring control platform, the task access authority of each role according to the task control function, wherein the monitoring control platform only allows the role to use the task control function authorized for the role; determining, by the monitoring control platform, the video access authority of each role according to the video control function, wherein the monitoring control platform only allows the role to use the video control function authorized for the role; and determining, by the monitoring control platform, the video access authority of each role according to the camera, wherein the monitoring control platform only allows the role to access the video data of the camera authorized for the role.
[0065] Here, the task control function and the task access authority can include at least one of new monitoring task, editing monitoring task, and viewing monitoring task, and the video control function and the video access authority can include at least one of real-time viewing, video playback, video download, pan-tilt-zoom control, and lens control.
[0066] Specifically, in the embodiment of the present disclosure, the role can be authorized for functions, which can include task access control authorities such as new task, edit task, view task, and camera / video resource access control authorities such as real-time monitoring, pan-tilt-zoom control, video playback, and video download, and each role can only operate the authorized functions.
[0067] As an example, a person with "real-time viewing" and awareness authority can watch the real-time monitoring picture of the camera in the started monitoring task; a person with "history playback" and awareness authority can view and play the history recording file generated by the task; a person with "file download" and awareness authority can view and download the history recording file generated by the task; and a person with "real-time viewing", "pan-tilt-zoom control", and awareness authority can adjust the pan-tilt-zoom and lens of the camera in the playback.
[0068] By dividing the access and control authorities of the role and the related users according to the functions, the security measures of the video monitoring system can be refined, and the related functions can be opened according to the job requirements of the role, thereby further improving the security of the system.
[0069] However, embodiments of the present disclosure are not limited thereto, and alternatively or additionally, the device authorization can also be performed on the role, for example, the role can only access the video resource of the authorized camera.
[0070] As an example, the monitoring control platform can implement the control and interaction of the camera, the monitoring client (to be described below), and the streaming media server based on the GB / T28181 protocol, and the security feature of the video monitoring system of embodiments of the present disclosure can comply with the C-level protection requirement agreed in the GB 35114 protocol (i.e., the highest level of security feature). The registration process of the video monitoring system can comply with the agreement in the GB 35114 standard, and after registration through the two-way authentication based on the digital certificate, it can interact and communicate with other devices.
[0071] Here, in the process of encrypting the video stream data by the camera, the generation, transmission, and change of the encryption key of the video key and the video encryption key can comply with the agreement in the GB 35114 standard. The encryption and decryption of the video stream data and the signature verification can also comply with the agreement in the GB 35114 standard. In addition, in the video monitoring system, the signature of all control signaling can be verified according to the agreement in the GB 35114 standard, and in response to the verification failure, the corresponding operation can be prohibited.
[0072] As an example, the monitoring control platform can implement the security level distribution through the extension of the signaling of the GB / T28181 protocol, for example, the “CmdType” field value can be SetSecurityInfo, for example, the SecurityInfo field can be added in the signaling, and different field values can represent different security levels, for example, the value “0” represents public, the value “1” represents internal, the value “2” represents secret, and the value “3” represents confidential.
[0073] In the video monitoring system according to embodiments of the present disclosure, the security of the classified video data and the controllable scope of the classified video data can be ensured through the comprehensive control of the system security level, the camera security level, the personnel security level, the test task security level, and the video stream security level. Examples of the security level setting in the video monitoring system according to embodiments of the present disclosure will be described below.
[0074] As an example, the video monitoring system can have multiple roles, and the roles can include but are not limited to administrators and users, and the division of the roles can comply with the classified protection requirement of the classified information system required or specified in the scene to be monitored.
[0075] Here, the security level of the system / camera / task / video stream can include but is not limited to at least one of public, internal, secret, confidential, and top secret.
[0076] Specifically, the video monitoring system can be preset with a system security level, and the security levels of the camera, the personnel, the monitoring task, and the monitoring video stream are not allowed to exceed the system security level during use of the system.
[0077] The task security level can be set when a monitoring task is created and cannot be modified after the monitoring task is created. The task security level is not higher than the system security level, and personnel with a security level lower than the task security level and cameras with a security level lower than the task security level cannot be added and associated in the monitoring task.
[0078] The personnel security level can represent the highest security level of data accessible by the personnel, which can be set by an administrator of the system, for example. The personnel security level can include, but is not limited to, at least one of non-secret, general, important, and core, wherein non-secret represents that the personnel can access data resources of the public and internal levels, general represents that the personnel can access data resources of the public, internal, and secret levels, important represents that the personnel can access data resources of the public, internal, secret, and confidential levels, and core represents that the personnel can access data resources of all levels.
[0079] The camera security level can represent the highest task security level to which the camera can be added to the video stream data, which can be set by an administrator of the system, for example. The camera video stream security level can be determined based on the security level of the monitoring task, which can vary according to different monitoring tasks to which the camera belongs, and the camera video stream security level is not higher than the camera security level thereof.
[0080] Specifically, when a monitoring task is created or modified, the monitoring control platform can only add a camera with a highest security level not lower than the task security level as an associated camera, and the highest security level of the camera can be set by an administrator of the monitoring control platform when the camera is added or created, for example, the highest security level of the camera is secret, and the camera cannot be used as an associated camera for a confidential task.
[0081] The video recording file security level can represent that the streaming media server (to be described below) stores the video stream according to the security level of the currently issued monitoring task and the recording plan information, and generates a file with security level information marked according to the protection requirements.
[0082] Here, the recording plan and security level information can be issued by extending the signaling in the GB / T28181 protocol. Specifically, the GB / T28181 protocol only stipulates recording start and stop control, and does not stipulate recording plan / security level information issuance. In the embodiments of the present disclosure, the signaling can be extended to enhance the recording function stability, flexibility, and abnormal recovery capability of the streaming media server.
[0083] As an example, the first monitoring instruction CmdType field value can be "RecordControl". The field "DeviceID" can represent the ID of the streaming media server connected to the recording plan; the field "ControlType" field can represent the recording control type, and the value "Start" can represent starting recording, and the value "Stop" can represent pausing / stopping recording. The field "PlanType" can represent the recording plan type, and the value "OneTime" can represent single recording, the value "Daily" can represent daily cycle recording, and the value "Weekly" can represent weekly cycle recording.
[0084] When the recording plan is single recording, the value of the field "StartTime" can be the date and time when recording starts, and the value of the field "StopTime" can be the date and time when recording ends; when the recording plan is cycle recording, the value of the field "PlanTime" can represent cycle time information, and multiple times can be separated by a separator. When the recording plan is weekly cycle recording, a week indication can be added to the date and time when recording starts and ends. For example, "00:00:00-01:00:00" and "03:00:00-04:00:00" represent starting recording at 0-1 o'clock and 3-4 o'clock every day; "1-01:00:00-05:00:0" and "5-15:00:00-17:00:00" represent starting recording at 1-5 o'clock on Monday and 15-17 o'clock on Friday every week.
[0085] The value of the field "TaskID" can be a monitoring task ID. The value of the field "TaskName" can be a monitoring task name. The value of the field "Cameras" can be the camera ID included in the recording plan, and multiple cameras can be separated by a separator. The value of the field "Secrecy" can be the secrecy level information, wherein the value "0" represents public, the value "1" represents internal level, the value "2" represents secret level, and the value "3" represents confidential level.
[0086] Other examples of the monitoring method of the video monitoring system according to the example embodiments of the present disclosure will be described in detail below.
[0087] According to the example embodiments of the present disclosure, the monitoring control platform can determine the target camera by: determining, according to the monitoring task, an associated camera in the plurality of cameras whose camera secrecy level is higher than the task secrecy level of the monitoring task; and in response to the associated camera not existing in other monitoring tasks, taking the associated camera as the target camera.
[0088] Specifically, in a monitoring task, an associated camera whose task secret level is higher than that of the monitoring task can be added or associated, and such an associated camera can be used to perform the monitoring task. The associated camera can be one or more.
[0089] In the case of determining the associated camera, it is also necessary to consider whether the associated camera already exists in other monitoring tasks in addition to the current monitoring task. In response to not existing in other monitoring tasks, the associated camera can be used as a target camera; in response to already existing in other monitoring tasks, the current monitoring task can be prohibited, and a camera conflict information can be prompted.
[0090] In this way, when starting the current monitoring task, it can be determined whether the associated camera exists in other started monitoring tasks, so that the monitoring tasks associated with the same camera cannot be started at the same time, to ensure that the camera video resource secret level is correct, the awareness range is controllable, and the reliability of the monitoring system is ensured.
[0091] In the video monitoring system according to the example embodiment of the present disclosure, each camera can correspond to a streaming server, and the streaming server can receive monitoring video from the corresponding camera. As an example, according to the live environment to be monitored and business needs, the monitoring control platform can configure to add multiple streaming servers, and the administrator of the monitoring control platform can set the streaming server corresponding to the camera, for example, the streaming server corresponding to the camera can be divided according to the geographical location of the camera deployment.
[0092] In this example, the monitoring control platform can further perform the following operations: in response to the monitoring task including recording plan information, obtaining the storage space occupancy rate of the target streaming server; in response to the storage space occupancy rate of the target streaming server being less than or equal to a preset occupancy threshold, performing the step of sending a second monitoring instruction to the target camera in the plurality of cameras, and sending the recording plan information and the task secret level to the target streaming server; in response to the storage space occupancy rate of the target streaming server being greater than the preset occupancy threshold, ending the monitoring task.
[0093] Specifically, in some monitoring tasks, it can be necessary to record the captured video data and save the recorded video, and this process can be implemented through a streaming server. The streaming server corresponding to the target camera can receive monitoring video from the target camera and store it, implement saving of the recorded video, to allow playback, download, etc. of such video.
[0094] In the case where the monitoring task is set with a recording plan, when the monitoring task is started, the storage space occupancy rate of all target streaming servers can be queried.
[0095] In response to the storage space occupancy rate of any target stream media server being less than or equal to the preset occupancy threshold, the monitoring task can be continued to be executed, and the video recording plan information and the task classification level can be sent to the target stream media server. Here, the video recording plan information can include, for example but not limited to, at least one of a video recording type, a start-stop time, a cycle time, and a video recording camera number. As an example, the target stream media server can locally record the video recording plan information and record real-time monitoring pictures into a video recording file according to the video recording plan information for storage, so that the video recording plan can be automatically restored when a device or service is abnormal.
[0096] In response to the storage space occupancy rate of any target stream media server being greater than the preset occupancy threshold, the current monitoring task can be prohibited, and it is prompted that the storage space occupancy rate of the target stream media server exceeds the preset occupancy threshold.
[0097] Here, the preset occupancy threshold can be set according to actual needs, for example, but not limited to, 95%.
[0098] In the above manner, it can be determined whether the storage space of the target stream media server is sufficient before starting the monitoring task, so as to ensure that the video recording plan in the task can be smoothly implemented.
[0099] According to the example embodiments of the present disclosure, the monitoring method can further include: the target stream media server receiving monitoring video from the target camera according to the video recording plan information; and the target stream media server storing the monitoring video to a storage location corresponding to the task classification level according to the task classification level.
[0100] Specifically, after receiving the video recording plan information of the monitoring task, the target stream media server can record the target camera according to the setting type and time in the video recording plan information to generate a video recording file. The name of the video recording file can include the identity document (ID) of the camera, the file generation time, and the classification level information corresponding to the monitoring task, for example, the name of the video recording file can be “34020000001320000236-20240801153000 (public).gsf”.
[0101] In this example, different task classification levels can correspond to different storage locations. Specifically, the video recording files of different classification levels can be stored in different paths or external storage spaces, so as to distinguish the storage and backup of video recording files of different importance, thereby facilitating the management and viewing of the video recording files.
[0102] In addition, as an example, each stream media server can store a service built-in local lightweight database (for example, database sqlite3) to query, delete, and the like of the generated video recording file, while recording video recording plan information of the monitoring task. When network anomalies, device anomalies, program anomalies, and the like occur, the stream media server can automatically recover recording according to the recorded video recording plan information.
[0103] The video recording file information may, for example, include but is not limited to at least one of a device name, a monitoring task ID, a video recording file start time, a video recording file end time, a video recording file path, a video recording file name, and a video recording file size. The video recording plan information may, for example, include but is not limited to at least one of a monitoring task ID, a video recording plan type, a video recording plan time, and a video recording single / cyclic start-stop time.
[0104] For example, the table name of the video recording file information can be “RecordFileInfo”, which can include device name (DevID), monitoring task ID (TaskID), video recording file start time (StartTime), video recording file end time (EndTime), video recording file path (FilePath), video recording file name (TaskName), video recording file size (FileSize), and the like field information; the table name of the video recording plan information can be “RecordPlanInfo”, which can include TaskID, PlanType, PlanTime, and video recording single / cyclic start-stop time and the like field information.
[0105] In addition, according to an example embodiment of the present disclosure, the stream media server can delete the video recording file according to the video recording deletion instruction received from the monitoring control platform, or automatically delete the expired video recording file according to a preset deletion instruction.
[0106] Specifically, in the example of deleting the video recording file according to the video recording deletion instruction, the video recording file can be actively deleted by a person with deletion permission and monitoring task awareness permission through the monitoring control platform sending a video recording deletion instruction, and when deleting the video recording file, the monitoring task and the associated target stream media server can be selected first, and then a specified camera and a deletion time range can be selected.
[0107] As an example, the monitoring control platform can send a video recording deletion instruction to the stream media server to instruct the stream media server to delete the stored video recording file, wherein the video recording deletion instruction includes a video recording deletion condition, and the stream media server can delete the video recording file meeting the video recording deletion condition according to the video recording deletion condition in the received video recording deletion instruction.
[0108] As an example, the video deletion condition can include, but is not limited to, at least one of a monitoring task ID, a camera ID for deleting video, a start date and time of a deletion range, and an end date and time of the deletion range. The monitoring task ID can not be empty, the camera ID for deleting video can be empty, the camera IDs for deleting video can be separated by a separator such as “;” when there are multiple cameras for deleting video, and the start date and time and the end date and time of the deletion range can not be limited, for example, can be represented by a “0” value.
[0109] For example, the monitoring control platform can realize video deletion file control by designing an extension of signaling in the GB / T 28181 protocol. The video deletion instruction “CmdType” field value can be, for example, “RecordDelete”, which can delete video files that meet the requirements by configuring the monitoring task ID (TaskId), the camera ID for deleting video (Cameras), the start date and time of the deletion range (StartTime), the end date and time of the deletion range (EndTime), and the like.
[0110] In the example of deleting video files according to the preset deletion instruction, different video validity periods can be set for different security levels or task requirements according to the use scene requirements of different monitoring tasks. For example, the video validity period of a confidential task can be set to 360 days, the video validity period of a secret task can be set to 180 days, and the video validity period of an internal / public task can be set to 90 days. In the case where the video validity period is not set or is set to 0, the video files will be permanently saved and no automatic deletion operation will be performed. The monitoring control platform can issue a file deletion operation instruction to all started monitoring tasks every day (for example, at 0 o'clock), and the instruction carries the video date range to be deleted.
[0111] In addition, according to the example embodiments of the present disclosure, the video monitoring system further includes a monitoring client, which can receive monitoring video of a camera and a streaming media server.
[0112] As an example, the administrator of the video monitoring system can configure the terminal device to which the monitoring client of each user belongs (or is loaded) that can be used, for example, by binding through IP, MAC address, and the like. After configuration, the user can only log in to the monitoring client and perform related operations on the configured terminal device, and no login restriction is performed when the IP, MAC address, and the like are empty.
[0113] The administrator can also authorize the monitoring client for the main functions such as "real-time playing", "video playback", "video downloading", "cloud mirror control" and the like through the monitoring control platform. For example, the role with the "real-time playing" permission can only perform the real-time playing operation when the monitoring client also has the "real-time playing" permission after logging in to the monitoring client.
[0114] After the user logs in to the monitoring client, the monitoring client can obtain the current user function permission. In the login state, in response to a change in the function permission, the monitoring client can receive the latest function permission of the user issued from the monitoring control platform, and can control the function corresponding to the latest function permission, for example, the user is playing a real-time monitoring picture, and after the "real-time playing" permission is cancelled, the picture playing can be terminated.
[0115] In addition, the monitoring client can be separately set with a security level, and the security level of the monitoring client is not higher than that of the terminal device to which the monitoring client belongs. The monitoring client cannot access the video stream with a security level higher than that of the monitoring client. For example, the client terminal is configured as a "secret" level, and the client terminal is prohibited from viewing the "confidential" level task related information.
[0116] In this example, the second monitoring instruction can also include security level display information, which can indicate whether the target camera superimposes the security level information in the video picture of the monitoring video. The monitoring video can carry the security level display information.
[0117] Here, the monitoring method according to the embodiments of the present disclosure allows the traditional or existing camera to be modified, for example, the camera supporting the GB / T28181 protocol and the GB 35114 standard can be modified.
[0118] Specifically, the monitoring control platform can send a second monitoring instruction to the target camera, for example, the "CmdType" field value can be SetSecurityInfo, and the camera can parse the security level information (SecurityInfo) and the security level display information (OSDShowSecurityInfo) in the control instruction. After the monitoring control platform sends the second monitoring instruction to the target camera, in response to receiving the instruction execution success information returned by the target camera, the monitoring control platform can control the monitoring task to start normally; in response to not receiving the instruction execution success information returned by the target camera, the monitoring control platform can prohibit the monitoring task from starting.
[0119] The camera can add the corresponding security level parsed from the secret information in a fixed position in the output code stream, for example, but not limited to, the security level information can be added in each frame of code stream data. In addition, the camera can also store the security level information in the camera, the stored security level information cannot be modified from the outside, and the security level information is not lost after the camera power off or restart.
[0120] The security level display information can represent the opening or closing of the security level information superposition through different identifiers, for example, in the security level display information, when the value is 1, it represents opening the security level information superposition; when the value is 0, it represents closing the security level information superposition. As an example, in the case that the security level display information represents opening the security level information superposition, the camera can directly superimpose the corresponding text information of the security level in the generated video picture while adding the security level information in the code stream.
[0121] In addition, the camera can also add security level information signature information in the video stream data, and when playing the monitoring video, the security level information signature information can be reverse signed to realize integrity verification.
[0122] As described above, since the camera can open or close the security level information superposition, accordingly, the monitoring client can play the video differently according to different security level display information.
[0123] As an example, the monitoring method can also include: in response to the security level display information indicating that the target camera does not display the security level information in the video picture of the monitoring video, the monitoring client superimposes and displays the security level information into the video picture when playing or downloading the monitoring video.
[0124] Specifically, when playing or downloading the video, in an example, in the case that the security level display information in the control instruction issued by the monitoring control platform to the camera indicates that the security level information is not displayed in the video picture, for example, the value of the field OSDShowSecurityInfo described above is "0", the monitoring client can superimpose and display the field information corresponding to the security level mark in the upper left corner of the picture when playing / downloading the monitoring video.
[0125] In another example, in the case that the security level display information indicates that the security level information is displayed in the video picture, for example, the value of the field OSDShowSecurityInfo described above is "1", which indicates that the camera has superimposed the security level field information in the picture, the monitoring client can not need to do separate processing when playing / downloading.
[0126] In this way, the monitoring client can obtain the secret level display information sent by the monitoring control platform to the camera, and can determine whether to superimpose the secret level mark on the screen when playing or downloading the video according to the information, thereby realizing information sharing and cooperation of the monitoring control platform, the camera and the monitoring client, and completing display of the secret level mark.
[0127] In addition, the monitoring client can verify the secret level mark signature information in the code stream when playing or downloading to perform integrity checking. In response to a failed verification, it can be considered that the secret level mark is tampered with, and the monitoring client can prohibit playing or downloading the current monitoring video.
[0128] As an example, the monitoring client can perform decryption operations according to the agreement such as the GB 35114 protocol when finally playing or downloading the monitoring video, while verifying the video stream. In response to a failed verification, the monitoring client can terminate playing or downloading.
[0129] Specifically, the monitoring client can parse the secret level information in the code stream during video playing or downloading, and compare it with the preset secret level mark signature for verification. If the verification fails, it can be considered that the secret level mark is tampered with, and the playing / download is terminated. In addition, the monitoring client can also compare the secret level information in the code stream with the task secret level of the monitoring task to which the video belongs. In response to the secret level information in the code stream not matching the task secret level, the monitoring client can terminate playing or downloading.
[0130] In some embodiments, the camera can be a special encoding format such as SVAC encoding format, which can only be played in a special player after simple decryption and downloading. If transcoded into a general encoding format when downloading, it can be convenient to play in a general player, but this requires decoding and re-encoding the video, which is very low in efficiency. In this regard, according to the exemplary embodiments of the present disclosure, the monitoring client can also perform the following operations: playing back the historical monitoring video, and in the playback process, decrypting the historical monitoring video, and buffering the video of a preset time window before the current video screen including the current video screen; in the playback process, in response to receiving a start downloading instruction input by the user, decoding the video of the preset time window and the video after the current video screen, and encoding the decoded video according to the preset encoding format, until receiving an end downloading instruction input by the user, storing the encoded video.
[0131] For example, a historical monitoring video can be selected first for historical video playback. During playback, video pictures in a preset time window (e.g., 5 seconds) can be cached. When the picture of interest to be downloaded is played (e.g., accelerated, dragged to), the user can click the "start downloading" button on the monitoring client. The monitoring client responds to the instruction, decodes the cached video in the preset time window and the video played thereafter, and then encodes the decoded video according to a preset encoding format (e.g., a general encoding format) to obtain an encoded video. For example, the open source ffmpeg tool can be used to encode the video into the MP4 general format. During the encoding process, the video pictures played back continue to be played. When the picture of interest ends, the user can click the "end downloading" button on the monitoring client, or when the video playback is completed, the video transcoded during the period can be stored. For example, the file name of the video can have the format "camera number _ operator _ time (security level)".
[0132] In the above manner, the user is allowed to transcode and download only the key video of interest in the video recording, improving the video transcoding efficiency.
[0133] In addition, according to an example embodiment of the present disclosure, the monitoring method can further include: querying, by the monitoring client according to the monitoring task, a target stream media server corresponding to the monitoring task; and obtaining, by the monitoring client from the target stream media server, a monitoring video of the monitoring task.
[0134] Specifically, when querying the video recording file of a certain monitoring task, the stream media server associated with the task can be selected first. As an example, the camera to be queried, the query range start and end time, and the like can be optionally specified. The video recording query can query the generated video recording file information according to the associated camera of the task, the associated stream media server, the start and end time, and the like. If the associated stream media server is not specified, the query instruction can be issued to all associated stream media, and the query results can be integrated and displayed.
[0135] During the query, the monitoring client can send the query parameter information to the stream media server associated with the monitoring task. The query parameter information can include at least one of the monitoring task number to be queried, the camera ID to be queried, the start and end date and time range to be queried, the page number to be queried, and the number of files per page.
[0136] As an example, the video query instruction type can be represented by the field "Query", the field "CmdType" with the value "RecordInfo"; the field "TaskID" can be the monitoring task number to be queried (it cannot be empty); the fields "StartTime" and "EndTime" can be the start and end date and time range of the query, where "0" indicates no restriction; the field "Cameras" can be the ID of the specified camera to be queried (it can be empty, and when querying multiple cameras, the camera IDs can be separated by a separator such as ";"); the field "PageNum" can indicate which page to query; and the field "PageSize" can indicate the number of files per page.
[0137] Accordingly, the streaming media server can respond to the query parameter information received from the monitoring client by sending query response information back to the monitoring client. The query response information may include, but is not limited to, the number of files retrieved and the information of each video file. The information of each video file may include, but is not limited to, the camera ID, the absolute path to store the video file, the start time of the video file, the end time of the video file, the security level of the video file, and the size of the video file.
[0138] As an example, in the response message of the video recording query command, the field "SumNum" can represent the number of file information found. The information of each file is described as follows: the field "DeviceID" can represent the camera ID, the field "FilePath" can represent the absolute path to store the video file, "StartTime" can represent the start time of the video file, the field "EndTime" can represent the end time of the video file, the field "Secrecy" can represent the security level of the video file, and the field "FileSize" can represent the size of the video file.
[0139] The following will refer to Figure 3 and Figure 4 An example of controlling the task state of a monitoring task in a monitoring method of a video surveillance system according to an exemplary embodiment of the present disclosure is described.
[0140] like Figure 3 As shown, in step S310, the monitoring and control platform can create a new monitoring task in response to the user's input task creation command. As an example, the task status of the monitoring task can include "not started" (status code can be 0, for example), "started" (status code can be 1, for example), "paused" (status code can be 2, for example), and "stopped" (status code can be 3, for example).
[0141] After the task is created, the task state is in the "unstarted" state. In addition, after the task is created, the task classification is in an unmodifiable state, and personnel with monitoring task control authority and awareness authority can control the task state.
[0142] The monitoring control platform can receive a task start instruction input by a user, the task start instruction indicating a monitoring task that needs to be started. In step S320, the monitoring control platform can determine whether there is a conflict with the associated camera of the monitoring task that needs to be started according to the monitoring task. Here, the conflict means that the camera is already in other started monitoring tasks.
[0143] In the case where the monitoring task is provided with a recording plan, in response to the absence of a conflict with the associated camera, the associated camera can be used as a target camera, and in step S330, the monitoring control platform can determine whether the storage space occupancy rate of the target streaming media server corresponding to the target camera exceeds a preset occupancy threshold. In response to the presence of a conflict with the associated camera, the current monitoring task can be prohibited, and the conflict information of the camera can be prompted.
[0144] In response to the storage space occupancy rate of the target streaming media server not exceeding the preset occupancy threshold, the monitoring control platform can issue the recording plan information to the target streaming media server, and in step S340, the monitoring control platform can set the task state of the monitoring task to the "started" state. In response to the storage space occupancy rate of the target streaming media server exceeding the preset occupancy threshold, the current monitoring task can be prohibited, and the corresponding information can be prompted.
[0145] The target streaming media server can record the real-time monitoring picture of the target camera into a recording file according to the recording plan information. In addition, the target streaming media server can also store the recording plan information locally.
[0146] For the monitoring task in the "started" state, the monitoring control platform can issue a recording pause / complete control instruction to all target streaming media servers in response to receiving a pause / complete instruction input by a user (for example, the user can input a pause / complete instruction by clicking a "pause" / "complete" button in the platform interface), and in step S350, it is determined whether the recording pause instruction of all target streaming media servers is successfully issued. Or in step S360, it is determined whether the recording complete instruction of all target streaming media servers is successfully issued.
[0147] In response to the recording pause instruction or the recording complete instruction of all target streaming media servers not being successfully issued, the monitoring control platform can keep the monitoring task in the "started" state.
[0148] In response to the success of the video recording pause instruction issued to all target stream media servers, at step S370, the monitoring control platform can change the task state of the monitoring task to "paused". In response to receiving the completion instruction input by the user, at step S380, the monitoring control platform can change the task state of the monitoring task to "completed". Alternatively, in response to the success of the video recording completion instruction issued to all target stream media servers, at step S380, the monitoring control platform can change the task state of the monitoring task to "completed".
[0149] In the above process, the monitoring control platform can terminate the real-time playback picture of the target camera of the monitoring task in the monitoring client when changing the monitoring task from the "started" state to the "paused" or "stopped" state. In addition, when the monitoring task is in the "paused" state, the monitoring control platform can restore the task state of the monitoring task to the "started" state in response to receiving the start instruction input by the user.
[0150] In addition, as an example, in the case that the instruction issued by the monitoring control platform is unsuccessful, the task state is prohibited from being changed, so that the abnormal state of the stream media server recording execution process can be prevented from being uncontrollable, and the recording state of the camera corresponding to the stream media server that has returned the execution success is changed to "not recording", otherwise the camera recording state is "recording".
[0151] According to an embodiment of the present disclosure, as shown in Figure 4 The monitoring control platform can check whether the target camera in the monitoring task conflicts with other started tasks, and if not, the monitoring task can be started. When the monitoring task is in the "started" state, the monitoring control platform can issue the secret level information to the target camera, and the target camera can add the secret level information to the output code stream, and the output code stream is the encrypted code stream.
[0152] When the monitoring task is in the "started" state, the monitoring client can provide the real-time monitoring picture or cloud mirror control to the personnel with corresponding authority and within the scope of knowledge for watching, and the video stream is decrypted when playing. The monitoring client can also provide the generated video recording file to the personnel with corresponding authority and within the scope of knowledge for playback, and the video stream is decrypted when playing. The monitoring client can also provide the generated video recording file to the personnel with corresponding authority and within the scope of knowledge for downloading, and the video stream is decrypted when downloading.
[0153] In addition, the monitoring control platform can only delete the monitoring task in the "completed" state, and when deleting, the monitoring control platform can delete the video data generated by the monitoring task. The monitoring control platform can modify the scope of awareness and / or the associated camera of the monitoring task in the "unstarted" or "paused" state. The monitoring control platform cannot issue configuration instructions such as network parameters and video parameters to the associated camera of the monitoring task in the "started" state.
[0154] According to the exemplary embodiments of the present disclosure, a comprehensive method suitable for the relevant security requirements in the secret-related scene and ensuring the security and controllability of video data can be proposed, which can solve the definition problem of video stream data security level in the secret-related scene, and propose a management and control method of secret-related monitoring tasks to solve the monitoring data access control problem in the secret-related scene.
[0155] In the monitoring method according to the exemplary embodiments of the present disclosure, the camera can generate a video data security level, which can change with the task change. In the video monitoring system, the personnel / role cannot access the unauthorized camera and video data resources, cannot perform unauthorized function operations, and cannot access the camera and video data resources higher than the security level of the personnel / role.
[0156] In addition, in the video monitoring system, the personnel / role without the right to know cannot control the task, cannot access the real-time and historical video data generated by the task, and the video data is encrypted throughout the process, decrypted only at the final playback and download, ensuring the security of the video data.
[0157] According to the second aspect of the present disclosure, a video monitoring system is provided, which can include a monitoring control platform, a plurality of cameras, and a plurality of streaming media servers. Figure 5 As shown in the figure, the video monitoring system 500 can include a monitoring control platform 510, a plurality of cameras 520, and a plurality of streaming media servers 530.
[0158] The monitoring control platform 510 can send a first monitoring instruction to a target streaming media server in the plurality of streaming media servers 530 and a second monitoring instruction to a target camera in the plurality of cameras 520 according to a monitoring task, wherein the first monitoring instruction includes the monitoring task and the task security level of the monitoring task, and the second monitoring instruction includes the task security level of the monitoring task.
[0159] The target streaming media server generates a third monitoring instruction according to the first monitoring instruction, and sends the third monitoring instruction to the target camera to control the target camera to execute the monitoring task, wherein the third monitoring instruction includes information for controlling the camera action of the target camera.
[0160] The target camera can generate video stream data according to the third monitoring instruction, and add the secret level information representing the task secret level to the video stream data according to the first monitoring instruction to obtain the monitoring video.
[0161] As to the video monitoring system in the above embodiments, the structure of each part and the specific manner of performing operations have been described in detail in the embodiments of the monitoring method, and thus will not be described in detail here.
[0162] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, which, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the monitoring method of the video monitoring system according to the present disclosure.
[0163] In exemplary embodiments, the computer-readable storage medium may, for example, be a memory including instructions, and optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a random access programmable read-only memory (PROM), an electrically erasable programmable read-only memory (EEPROM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, a non-volatile memory, a CD-ROM, a CD-R, a CD+R, a CD-RW, a CD+RW, a DVD-ROM, a DVD-R, a DVD+R, a DVD-RW, a DVD+RW, a DVD-RAM, a BD-ROM, a BD-R, a BD-R LTH, a BD-RE, a Blu-ray or optical disc memory, a hard disk drive (HDD), a solid state drive (SSD), a card memory such as a multimedia card, a secure digital (SD) card or an extreme digital (XD) card, a magnetic tape, a floppy disk, a magneto-optical data storage device, an optical data storage device, a hard disk, a solid state disk, and any other device configured to store a computer program and any associated data, data files and data structures in a non-transitory manner and provide the computer program and any associated data, data files and data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, a proxy device, a server, etc., and in addition, in one example, the computer program and any associated data, data files and data structures are distributed on a networked computer system so that the computer program and any associated data, data files and data structures are stored, accessed and executed by one or more processors or computers in a distributed manner.
[0164] According to a fourth aspect of the present disclosure, there is provided a computer program product comprising computer executable instructions that, when executed by at least one processor, implement the monitoring method of the video monitoring system according to the present disclosure.
[0165] In the above exemplary embodiments, the electronic device can include a processor and a memory for storing processor-executable instructions. Here, the processor-executable instructions, when executed by the processor, cause the processor to perform the monitoring method of the video monitoring system or the multi-modal information detection method as described in the above exemplary embodiments.
[0166] By way of example, an electronic device need not be a single device, but can be a collection of devices or circuits that are capable of executing the above instructions (or sets of instructions) individually or jointly. An electronic device can also be part of an integrated control system or system manager, or can be configured as a server that interfaces with a local or remote (e.g., via wireless transmission) interface.
[0167] In an electronic device, a processor can include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example and not limitation, a processor can also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.
[0168] A processor can execute instructions or code stored in a memory, where the memory can also store data. Instructions and data can also be transmitted and received via a network interface device using any known transmission protocol.
[0169] A memory can be integrated with a processor, such as RAM or flash memory disposed within an integrated circuit microprocessor, etc. Further, a memory can include a separate device, such as an external disk drive, a storage array, or other storage device usable by any database system. A memory and a processor can be operatively coupled, or can communicate with each other, such as through I / O ports, network connections, etc., so that the processor can read files stored in the memory.
[0170] Further, an electronic device can also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.). All components of an electronic device can be connected to each other via a bus and / or a network.
[0171] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the disclosure be construed as including any patents, patent applications, publications, publications, or other disclosure of the prior art that are referred to by their title, abstract, identifier or the like, where the reference is incorporated herein by reference in its entirety. The specification and examples give no indication of being complete or of containing all elements of the disclosure that can be required or incited by the prior art. The true scope and spirit of the disclosure should be indicated by the appended claims.
[0172] Furthermore, it is also necessary to point out that, although several examples of steps are described above with reference to specific figures, it is understood that the embodiments of the disclosure are not limited to the combinations given in the examples, the steps appearing in different figures can be combined, without making an exhaustive list here.
[0173] It should be understood that the present disclosure is not limited to the precise structures described above and illustrated in the drawings and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the claims that follow.
Claims
1. A monitoring method of a video monitoring system, characterized by, The video monitoring system comprises a monitoring control platform, a plurality of cameras and a plurality of streaming media servers, wherein the monitoring method comprises: The monitoring control platform sends a first monitoring instruction to a target streaming media server in the plurality of streaming media servers and a second monitoring instruction to a target camera in the plurality of cameras according to the received monitoring task, wherein the first monitoring instruction comprises the monitoring task and a task security level of the monitoring task, the second monitoring instruction comprises the task security level and security level display information of the monitoring task, the camera security level of the target camera is higher than or equal to the task security level of the monitoring task, and the target camera is applied to only a single monitoring task at the same time; The target streaming media server generates a third monitoring instruction according to the first monitoring instruction and sends the third monitoring instruction to the target camera to control the target camera to execute the monitoring task, wherein the third monitoring instruction comprises information for controlling camera actions of the target camera; The target camera generates video stream data according to the third monitoring instruction, and according to the first monitoring instruction, in response to the security level display information indicating that the target camera displays security level information representing the task security level in a video picture of a monitoring video, adds the security level information to each frame of the video stream data while directly superimposing corresponding text information of the security level in the generated video picture, and encrypts the video stream data to obtain an encrypted monitoring video, The target streaming media server stores the monitoring video according to the task security level, Wherein the target camera stores the security level information of the task security level in the target camera, the stored security level information is not modifiable from the outside of the target camera, and the security level information is not lost after the target camera is powered off or restarted; The video monitoring system further comprises a monitoring client, and the monitoring client receives the monitoring video, wherein the monitoring client performs the following operations: plays back the monitoring video, and in the playback process, decrypts the monitoring video and caches video of a preset time window before a current video picture including the current video picture, The monitoring client further performs the following operations: in the playback process, in response to receiving a start downloading instruction input by a user, decodes the video of the preset time window and video after the current video picture, encodes the decoded video according to a preset encoding format, and stores the encoded video until a stop downloading instruction input by the user is received, wherein in the encoding process, the video picture of the playback continues to be played, The target camera adds signature information of the security level information in the video stream data, and the monitoring client parses the signature information of the security level information in the code stream in the process of playing or downloading the monitoring video, and compares the parsed signature information with a preset security level identification signature to perform reverse signature verification.
2. The monitoring method according to claim 1, characterized in that, Each of the plurality of cameras has a camera security level, the camera security level representing a highest task security level to which the camera can be added in video stream data, wherein the monitoring control platform determines the target camera by: determining, according to the monitoring task, an associated camera in the plurality of cameras whose camera security level is higher than a task security level of the monitoring task; in response to the associated camera not existing in other monitoring tasks, taking the associated camera as the target camera.
3. The monitoring method according to claim 1 or 2, characterized in that, Each camera corresponds to one of the plurality of streaming servers, each streaming server receiving monitoring video from a corresponding camera, wherein the monitoring control platform further performs the following operations: in response to the monitoring task including recording plan information, obtaining a storage space occupancy rate of the target streaming server; in response to the storage space occupancy rate of the target streaming server being less than or equal to a preset occupancy threshold, performing the step of sending the second monitoring instruction to the target camera in the plurality of cameras, and sending the recording plan information and the task security level to the target streaming server; in response to the storage space occupancy rate of the target streaming server being greater than the preset occupancy threshold, ending the monitoring task.
4. The monitoring method according to claim 3, characterized in that, The monitoring method further comprises: the target streaming server receives the monitoring video from the target camera according to the recording plan information; the target streaming server stores the monitoring video to a storage location corresponding to the task security level according to the task security level, wherein different task security levels correspond to different storage locations.
5. The monitoring method of claim 1, wherein, The monitoring method further comprises: in response to the security level display information indicating that the target camera does not display the security level information in a video frame of the monitoring video, the monitoring client superimposes and displays the security level information in the video frame when playing or downloading the monitoring video.
6. The monitoring method of claim 1, wherein, The video monitoring system has a plurality of roles, each role corresponding to one or more users, and the monitoring method further comprises: the monitoring control platform determines task access permissions of each role according to task control functions, wherein the monitoring control platform only allows a role to use task control functions authorized for the role; the monitoring control platform determines video access permissions of each role according to video control functions, wherein the monitoring control platform only allows a role to use video control functions authorized for the role; the monitoring control platform determines video access permissions of each role according to cameras, wherein the monitoring control platform only allows a role to access video data of cameras authorized for the role, wherein the task control functions and the task access permissions include at least one of new monitoring task, editing monitoring task, and viewing monitoring task, and the video control functions and the video access permissions include at least one of real-time viewing, video playback, video download, and cloud mirror control.
7. A video surveillance system characterized by, The video monitoring system comprises a monitoring control platform, a plurality of cameras, and a plurality of streaming servers, The monitoring control platform sends a first monitoring instruction to a target stream media server in the plurality of stream media servers and a second monitoring instruction to a target camera in the plurality of cameras according to a monitoring task, wherein the first monitoring instruction comprises the monitoring task and a task secret level of the monitoring task, the second monitoring instruction comprises the task secret level of the monitoring task and secret level display information, a camera secret level of the target camera is higher than or equal to the task secret level of the monitoring task, and the target camera is applied to only a single monitoring task at the same time; The target stream media server generates a third monitoring instruction according to the first monitoring instruction and sends the third monitoring instruction to the target camera to control the target camera to execute the monitoring task, wherein the third monitoring instruction comprises information for controlling a camera action of the target camera; The target camera generates video stream data according to the third monitoring instruction, and according to the first monitoring instruction, in response to the secret level display information indicating that the target camera displays secret level information representing the task secret level in a video picture of a monitoring video, adds the secret level information to each frame of the video stream data while directly superimposing corresponding text information of the secret level in the generated video picture, and encrypts the video stream data to obtain an encrypted monitoring video, The target stream media server stores the monitoring video according to the task secret level, The target camera stores the secret level information of the task secret level in the target camera, the stored secret level information is not modifiable from the outside of the target camera, and the secret level information is not lost after the target camera is powered off or restarted. The video monitoring system further comprises a monitoring client that receives the monitoring video, wherein the monitoring client performs the following operations: plays back the monitoring video, and in the playback process, decrypts the monitoring video and caches video of a preset time window before a current video picture including the current video picture, The monitoring client further performs the following operations: in the playback process, in response to receiving a start downloading instruction input by a user, decodes the video of the preset time window and video after the current video picture, encodes the decoded video according to a preset encoding format until a stop downloading instruction input by the user is received, and stores the encoded video, wherein in the encoding process, the video picture of the playback continues to be played, The target camera adds signature information of the secret level information in the video stream data, and the monitoring client parses the signature information of the secret level information in the code stream in the process of playing or downloading the monitoring video and compares the parsed signature information with a preset secret level identification signature to perform reverse signature verification.
8. A computer-readable storage medium, characterized in that, When the instructions in the computer readable storage medium are executed by the processor of the electronic device, the electronic device can perform the monitoring method of the video monitoring system according to any one of claims 1 to 6. When the instructions in the computer readable storage medium are executed by the processor of the electronic device, the electronic device can perform the monitoring method of the video monitoring system according to any one of claims 1 to 6.
9. A computer program product comprising computer executable instructions, characterised in that, The computer executable instructions, when executed by the at least one processor, implement the monitoring method of the video monitoring system according to any one of claims 1 to 6.
Citation Information
Patent Citations
System and method for monitoring videos
CN103037198A
Video protection method and apparatus for video monitoring system
CN108881847A
Cross-camera continuous video tracking monitoring method based on target guidance
CN114422678A
Screen control method and system based on image display
CN115690641A
Image shooting control method and device, equipment, storage medium and program product
CN118828179A