CN110881113B - Method and device for correcting video recording plan and electronic equipment - Google Patents

Method and device for correcting video recording plan and electronic equipment Download PDF

Info

Publication number
CN110881113B
CN110881113B CN201811037473.3A CN201811037473A CN110881113B CN 110881113 B CN110881113 B CN 110881113B CN 201811037473 A CN201811037473 A CN 201811037473A CN 110881113 B CN110881113 B CN 110881113B
Authority
CN
China
Prior art keywords
video
plan
time period
array
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811037473.3A
Other languages
Chinese (zh)
Other versions
CN110881113A (en
Inventor
马振同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Priority to CN201811037473.3A priority Critical patent/CN110881113B/en
Publication of CN110881113A publication Critical patent/CN110881113A/en
Application granted granted Critical
Publication of CN110881113B publication Critical patent/CN110881113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The application provides a method and a device for correcting a video plan, which are used for obtaining the video plan containing at least one video sub-plan in target monitoring equipment; constructing a first array pool according to the video plan, wherein the first array pool comprises at least one first array obtained by converting the video sub-plan; acquiring a second array pool, wherein the second array pool comprises at least one second array, and the second array is an array obtained by converting a video template sub-plan contained in a video template plan corresponding to the target monitoring equipment; checking whether the video plan of the target monitoring equipment needs to be corrected or not according to the first array pool and the second array pool; if yes, the video template plan is used for correcting the video plan in the target monitoring equipment, so that automatic checking and correction of the video plan in the target monitoring equipment are achieved, and checking and correcting efficiency and accuracy are improved.

Description

Method and device for correcting video recording plan and electronic equipment
Technical Field
The application relates to the technical field of security monitoring, in particular to a method and a device for correcting a video plan.
Background
In security monitoring applications, monitoring devices arranged at various regional locations are recorded according to a configured recording plan. If the video schedule in the monitoring device is maliciously tampered or modified unintentionally, the video schedule is inconsistent with the video template schedule, so that the video information is inconsistent with the video information expected by the user, a risk is brought to video restoration, and even a video in an important time period is not recorded.
At present, the video recording plans in all monitoring devices need to be checked manually and periodically, and if the video recording plans are inconsistent with the expected video recording template plans, the video recording plans in the monitoring devices are corrected by using the video recording template plans. However, manual inspection and correction is inefficient, and false detection problems may also occur.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for modifying a video recording plan, so as to solve the problems of low efficiency of manual inspection and modification and possible false detection.
According to a first aspect of the embodiments of the present application, there is provided a method for modifying a video recording plan, the method including:
acquiring a video plan in target monitoring equipment, wherein the video plan comprises at least one video sub-plan;
constructing a first array pool according to the video plan, wherein the first array pool comprises at least one first array obtained by converting a video sub-plan;
acquiring a second array pool, wherein the second array pool comprises at least one second array, and the second array is an array obtained by converting a video template sub-plan contained in a video template plan corresponding to the target monitoring equipment;
checking whether the video recording plan of the target monitoring equipment needs to be corrected or not according to the first array pool and the second array pool;
and if so, correcting the video recording plan in the target monitoring equipment by using the video recording template plan.
According to a second aspect of the embodiments of the present application, there is provided an apparatus for modifying a video recording plan, the apparatus including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a video plan in target monitoring equipment, and the video plan comprises at least one video sub-plan;
the construction module is used for constructing a first array pool according to the video recording plan, and the first array pool comprises at least one first array obtained by converting a video recording sub-plan;
a second obtaining module, configured to obtain a second array pool, where the second array pool includes at least one second array, and the second array is an array obtained by converting a video template sub-plan included in a video template plan corresponding to the target monitoring device;
the video recording plan checking module is used for checking whether the video recording plan of the target monitoring equipment needs to be corrected or not according to the first array pool and the second array pool;
and the correcting module is used for correcting the video recording plan in the target monitoring equipment by using the video recording template plan under the condition that the checking is yes.
According to a third aspect of embodiments herein, there is provided an electronic device comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the steps of the video recording plan modification method.
By applying the embodiment of the application, the video plan containing at least one video sub-plan in the target monitoring equipment is obtained, the first array pool is constructed according to the obtained video plan, the first array pool contains at least one first array obtained by converting the video sub-plan, the second array pool containing at least one second array is obtained, the second array is the array obtained by converting the video template sub-plan contained in the video template plan corresponding to the target monitoring equipment, whether the video plan of the target monitoring equipment needs to be corrected or not is checked according to the first array pool and the second array pool, and if the video plan needs to be corrected, the video plan in the target monitoring equipment is corrected by using the video template plan, so that the automatic check and correction of the video plan in the target monitoring equipment are realized, and the checking and correcting efficiency and accuracy are improved. In addition, the video recording plan is converted into the first array pool, and whether the video recording plan needs to be corrected is determined by utilizing the first array pool and the second array pool of the video recording template plan, so that the video recording sub-plan contained in the video recording plan and the video recording template sub-plan contained in the video recording template plan do not need to be compared respectively to determine whether the video recording plan needs to be corrected, and therefore the checking and correcting efficiency can be further improved.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of a method for modifying a video recording schedule according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart illustrating an embodiment of another video recording plan modification method according to an exemplary embodiment of the present application;
FIG. 3 is a diagram illustrating a hardware configuration of an electronic device according to an exemplary embodiment of the present application;
fig. 4 is a block diagram of an embodiment of a video recording schedule modification apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
At present, it is generally known to manually and periodically check whether a video schedule in a monitoring device is tampered, or determine that the video schedule in the monitoring device is tampered when it is found that the video information of the monitoring device is inconsistent with the video information expected by a user. After the tampering is found, the staff goes to the site and corrects the video plan in the monitoring equipment by using the video template plan. However, this manual inspection and correction is inefficient and may also result in false detection.
Based on this, after the video plan containing at least one video sub-plan in the target monitoring equipment is obtained, the first array pool is constructed according to the obtained video plan, the first array pool contains at least one first array obtained by converting the video sub-plan, the second array pool containing at least one second array is obtained, the second array is obtained by converting the video template sub-plan contained in the video template plan corresponding to the target monitoring equipment, whether the video plan of the target monitoring equipment needs to be corrected or not is checked according to the first array pool and the second array pool, if the video plan needs to be corrected, the video plan in the target monitoring equipment is corrected by using the video template plan, so that the automatic checking and correction of the video plan in the target monitoring equipment are realized, and the checking and correcting efficiency and accuracy are improved. In addition, the video recording plan is converted into the first array pool, and the first array pool and the second array pool corresponding to the video recording template plan are used for determining whether the video recording plan needs to be corrected, so that the video recording sub-plan contained in the video recording plan and the video recording template sub-plan contained in the video recording template plan do not need to be compared respectively to determine whether the video recording plan needs to be corrected, and therefore the checking and correcting efficiency can be further improved.
Fig. 1 is a flowchart illustrating an embodiment of a method for modifying a video recording plan according to an exemplary embodiment of the present application, where the method for modifying a video recording plan can be applied to an electronic device, and the electronic device can access each monitoring device that needs to be checked through a network. As shown in fig. 1, the method for modifying the video recording plan includes the following steps:
step 101: and acquiring a video recording plan in the target monitoring equipment.
In an embodiment, the electronic device may trigger an inspection task at intervals, that is, obtain a video recording schedule in the target monitoring device for subsequent inspection and modification steps.
The target monitoring device refers to a monitoring device to be checked, and the electronic device may locally store device information of the monitoring device to be checked in advance, such as an address of the monitoring device, an access password, and the like. The video recording plan may be set by day, week, quarter, year, etc., and for each day, a plurality of video recording time periods may be set, and the video recording types corresponding to different video recording time periods may be different, so that the video recording plan may include a plurality of video recording sub-plans, each video recording sub-plan refers to a video recording plan for one day, that is, a monitoring plan for monitoring equipment for 24 hours a day, and each video recording sub-plan includes at least one video recording time period and a video recording type corresponding to the video recording time period.
In an embodiment, the electronic device may trigger the checking task when receiving an externally input checking instruction while performing the timing checking task.
It should be noted that, the inspection range may also be determined according to the inspection task, and the corresponding video recording plan may be acquired from the target monitoring device according to the determined inspection range. The inspection range may be previously designated in the inspection task or determined according to a preset rule.
Wherein, the preset rule may be: if the checking period of the set video recording plan is larger than a preset value (for example, one month), the whole video recording plan can be checked when the video recording plan is checked regularly; if the checking period of the video recording plan is not greater than the preset value, the video recording plan from the current checking time point to the next checking time point can be checked when the video recording plan is checked regularly. The preset rule may also be: if the number of the video template sub-plans contained in the video template plan is greater than a preset threshold (for example, 20), the video plan from the current check time point to the next check time point can be checked when the video plan is checked regularly; if the number of the video template sub-plans contained in the video template plan is not more than the preset threshold value, the whole video plan can be checked when the video plan is checked regularly. Of course, the preset rule may also be other rules set according to actual conditions, and the preset value and the preset threshold value may be set according to actual conditions, which is not limited in the present application.
Step 102: and constructing a first array pool according to the video plan, wherein the first array pool comprises at least one first array obtained by converting the video sub-plan.
In an embodiment, for a process of converting a video sub-plan into a first array, a length of the first array may be determined according to a preset minimum time period, and for each video time period included in the video sub-plan, a start subscript corresponding to the video time period in the first array is determined by using the length and a start time point of the video time period, an end subscript corresponding to the video time period in the first array is determined by using the length and an end time point of the video time period, and then a first array element value corresponding to the start subscript to the end subscript is determined according to a video type corresponding to the video time period.
The preset minimum time period refers to the minimum time period of the video recording time periods contained in the video recording plan, each video recording time period contained in the video recording sub-plan is integral multiple of the minimum time period, and each video recording time period contained in each video recording sub-plan is not overlapped. The recording type of the recording time period can include the types of constant recording, mobile detection triggering recording, alarm triggering recording, jitter triggering recording, intelligent alarm triggering recording and the like, and different types can be identified by different type values. The formula for the length N, the start index i _ start, and the end index i _ end of the first array is as follows:
(1) the formula for the length N of the first array: n24/min time period;
(2) formula of the start index i _ start: t _ start/24 × N, where T _ start denotes a start time point of a recording period, and N denotes a length of the first array;
(3) end the formula for the index i _ end: i _ end/24 × N-1, where T _ end denotes an end time point of the recording period and N denotes a length of the first array.
In an exemplary scenario, it is assumed that the minimum time period is half an hour, that is, the value is 0.5, the starting time point of one of the video recording time periods included in a certain video recording sub-plan is 08:00, the ending time point is 09:30, the video recording type is a constant recording, and the type value is a. The length N of the first Array is 24/0.5-48 from equation (1), the start index i _ start of the recording period in the first Array is (8/24) 48-16 from equation (2), and the end index i _ end of the recording period in the first Array is (9.5/24) 48-1-18 from equation (3), so that the element values of the indices 16 to 18 in the first Array can be assigned as a, i.e., each of Array [16] to Array [18] is a.
Step 103: and acquiring a second array pool containing at least one second array, wherein the second array is an array obtained by converting a video template sub-plan contained in a video template plan corresponding to the target monitoring equipment.
In an embodiment, the second array pool corresponding to the video template plan may be obtained by conversion in advance and stored in the electronic device, or may be converted each time the inspection task is executed.
For the principle of converting the video template sub-plan into the second array, reference may be made to the above description of step 102, which is not described herein again.
Step 104: and checking whether the video recording plan of the target monitoring equipment needs to be corrected or not according to the first array pool and the second array pool.
In an embodiment, whether the first array pool and the second array pool are equal or not may be compared, and if so, it is determined that the video recording plan of the target monitoring device does not need to be modified, and if not, it is determined that the video recording plan of the target monitoring device needs to be modified. Whether the video plan of the target monitoring equipment needs to be corrected is determined according to the comparison result of the two array pools, and whether the video plan needs to be corrected is determined according to the result of comparing each video sub-plan contained in the video plan with each video template sub-plan contained in the video template plan, so that the checking and correcting efficiency can be improved.
For example, for a video schedule set by week, the first array obtained by converting the video sub-schedule of monday in the video schedule is compared with the second array obtained by converting the video template sub-schedule of monday in the video template schedule, the first array obtained by converting the video sub-schedule of tuesday in the video schedule is compared with the second array obtained by converting the video template sub-schedule of tuesday in the video template schedule, and so on, the first array obtained by converting each video sub-schedule in the video schedule is compared with the second array corresponding to the time node. And summarizing the comparison results of the arrays, wherein if one or more first arrays are not equal to the second arrays or the number of the second arrays is more than that of the first arrays, the video plan in the target monitoring equipment is artificially tampered and needs to be corrected.
In an embodiment, while checking whether the video recording schedule of the target monitoring device needs to be modified according to the first array pool and the second array pool, the current time point may be recorded as a checking time point for subsequent query.
Step 105: and if the checking result is that the correction is needed, correcting the video recording plan in the target monitoring equipment by using the video recording template plan.
In an embodiment, the electronic device may issue the local video template plan to the target monitoring device, so that the target monitoring device may modify the local video schedule by using the video template plan, and record the current time point as a modified time point in the modification log.
In the embodiment of the application, at least one video recording sub-plan video recording plan contained in the target monitoring equipment is obtained, a first array pool is constructed according to the obtained video recording plan, the first array pool contains at least one first array obtained by converting the video recording sub-plan, a second array pool containing at least one second array is obtained, the second array is an array obtained by converting the video recording template sub-plan contained in the video recording template plan corresponding to the target monitoring equipment, whether the video recording plan of the target monitoring equipment needs to be corrected or not is checked according to the first array pool and the second array pool, if the video recording plan needs to be corrected, the video recording plan in the target monitoring equipment is corrected by using the video recording template plan, so that the automatic checking and correction of the video recording plan in the target monitoring equipment are achieved, and checking and correcting efficiency and accuracy are improved. In addition, the video recording plan is converted into the first array pool, and whether the video recording plan needs to be corrected is determined by utilizing the first array pool and the second array pool of the video recording template plan, so that the video recording sub-plan contained in the video recording plan and the video recording template sub-plan contained in the video recording template plan do not need to be compared respectively to determine whether the video recording plan needs to be corrected, and therefore the checking and correcting efficiency can be further improved.
Fig. 2 is a flowchart of another method for modifying a video recording schedule according to an exemplary embodiment of the present application, and based on the embodiment shown in fig. 1, an example of how to check whether actual video recording information is complete according to a video recording template schedule when a check result is that no modification is needed is described. As shown in fig. 2, the method for modifying the video recording plan may include:
step 201: and inquiring correction records in the target time period from the target monitoring equipment.
The target time period refers to a time period between a current time point and a last inspection time point, and the last inspection time point refers to a time point at which whether a video recording plan of the target monitoring device needs to be corrected or not is checked last time.
Step 202: and if the actual video information belongs to the target time period, acquiring the actual video information from the target monitoring equipment.
In one embodiment, the monitoring device generates a correction record containing the correction time point for each correction of the video schedule in the monitoring device, and adds the correction record to the correction log. Therefore, if the correction record in the target time period is queried from the correction log of the target monitoring device, it indicates that the video recording plan in the target time period is modified, and there may be multiple modifications in the target time period, and only finally, the modified record is modified into the video recording template plan, so that the actual video recording information recorded by the target monitoring device in the target time period may be incomplete, and if the correction record in the target time period is not queried from the correction log of the target monitoring device, it indicates that the video recording plan in the target time period is not modified, the current process may be ended.
Step 203: and judging whether the actual video information is complete according to the video template plan, if not, executing the step 204, and if so, executing the step 205.
In an embodiment, a sub-recording time period corresponding to a target time period and a recording type of the sub-recording time period may be determined from a recording template plan, if the recording type of the sub-recording time period belongs to a timed recording type, it is determined whether the sub-recording time period is included in a recording time period corresponding to actual recording information, if so, it is determined that the actual recording information is complete, and if not, it is determined that the actual recording information is incomplete; if the video type of the sub-video time period belongs to the non-timing video type, acquiring an event record in the sub-video time period from the target monitoring equipment, and judging whether a video starting time point and a video ending time point in the event record are contained in the video time period corresponding to the actual video information, if so, determining that the actual video information is complete, and if not, determining that the actual video information is incomplete.
And the video type of the sub-video period is the video type of the video period to which the sub-video period belongs. The video type of the sub-video time period belonging to the timing video type can be a recording type all the time, and the video types of the sub-video time periods not belonging to the timing video type all belong to non-timing video types, for example, the mobile detection triggering recording, the alarm triggering recording, the jitter triggering recording and the intelligent alarm triggering recording all belong to non-timing video types. For the sub-video time period belonging to the non-timing video type, the monitoring equipment starts recording only when receiving the trigger, stops recording only after recording for a period of time, and generates an event record comprising a video starting time point and a video ending time point.
Step 204: and outputting an alarm prompt.
In an embodiment, if the actual video recording information is incomplete, it indicates that the actual video recording information is not recorded according to the user's requirement, and an alarm prompt may be output in a voice or text manner.
Step 205: the current flow is ended.
In this embodiment, after it is determined that no correction is needed, the video template plan is used to check whether the actual video information from the last check time point to the current time point is complete, and if not, an alarm prompt is output, so that a prompt that the video plan is modified to cause lack of video can be realized.
In an exemplary scenario, assume that the target time period between the last inspection time point and the current time point is 15:00 ~ 15: 30; the scheduled video time periods of the video template include 8: 00-18: 00 (the video type is a permanent recording and belongs to a timing video type), 18: 00-6: 00 (the video type is a manual triggering recording and belongs to a non-timing video type), and 6: 00-8: 00 (the video type is an alarm triggering recording and belongs to a non-timing video type); and the video recording time period corresponding to the actual video recording information in the target time period is 15: 15-15: 30. Therefore, in the video template plan, the sub-video time period corresponding to the target time period can be determined to be 15: 00-15: 30, and the video type of the sub-video time period is a constant recording type and belongs to a timing video type. Since 15:00 to 15:30 is not included in 15:15 to 15:30, it can be determined that the actual recording information is incomplete.
Fig. 3 is a hardware block diagram of an electronic device according to an exemplary embodiment of the present application, where the electronic device includes: a communication interface 301, a processor 302, a machine-readable storage medium 303, and a bus 304; wherein the communication interface 301, the processor 302, and the machine-readable storage medium 303 communicate with each other via a bus 304. The processor 302 may execute the video recording plan modification method described above by reading and executing machine executable instructions corresponding to the control logic of the video recording plan modification method in the machine readable storage medium 302, and the specific content of the method is referred to the above embodiments, which will not be described herein again.
The machine-readable storage medium 303 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 303 may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard drive), any type of storage disk (e.g., an optical disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Fig. 4 is a block diagram of an embodiment of a video recording plan modification apparatus according to an exemplary embodiment of the present application, where the video recording plan modification apparatus may be applied to an electronic device, and the electronic device may access each monitoring device that needs to be checked through a network. As shown in fig. 4, the apparatus for correcting the recording plan includes:
a first obtaining module 410, configured to obtain a video schedule in a target monitoring device, where the video schedule includes at least one video sub-schedule;
a building module 420, configured to build a first array pool according to the video schedule, where the first array pool includes at least one first array obtained by converting a video sub-schedule;
a second obtaining module 430, configured to obtain a second array pool, where the second array pool includes at least one second array, and the second array is an array obtained by converting a video template sub-plan included in a video template plan corresponding to the target monitoring device;
a video schedule checking module 440, configured to check whether the video schedule of the target monitoring device needs to be modified according to the first array pool and the second array pool;
and a revising module 450, configured to revise the video recording plan in the target monitoring device by using the video recording template plan if the check is yes.
In an alternative implementation, the apparatus further comprises (not shown in fig. 4):
the video information checking module is used for inquiring the correction record in the target time period from the target monitoring equipment if the video plan of the target monitoring equipment is determined not to need correction; the target time period is a time period between the current time point and the last inspection time point, and the last inspection time point is a time point at which whether the video plan of the target monitoring equipment needs to be corrected is checked last time; if the target time period is found, acquiring actual video information belonging to the target time period from the target monitoring equipment; judging whether the actual video information is complete according to the video template plan; if the alarm is not complete, an alarm prompt is output.
In an optional implementation manner, the video information checking module is specifically configured to determine, in the process of determining whether the actual video information is complete according to the template plan, a sub-video period corresponding to the target period and a video type of the sub-video period from the video template plan; the sub-video recording time period is contained in the video recording time period contained in the video recording template plan; if the video type of the sub-video time period belongs to the timing video type, judging whether the sub-video time period is contained in the video time period corresponding to the actual video information, if so, determining that the actual video information is complete, and if not, determining that the actual video information is incomplete; if the video type of the sub-video time period belongs to a non-timing video type, acquiring an event record in the sub-video time period from the target monitoring equipment, and judging whether a video starting time point and a video ending time point in the event record are contained in the video time period corresponding to the actual video information, if so, determining that the actual video information is complete, and if not, determining that the actual video information is incomplete.
In an optional implementation manner, the video sub-plan includes at least one video period and a video type corresponding to the video period, and the apparatus further includes (not shown in fig. 4):
the conversion module is specifically used for determining the length of the first array according to a preset minimum time period; determining a corresponding starting index of the video recording time period in the first array by using the length and the starting time point of the video recording time period aiming at each video recording time period contained in the video recording sub-plan; determining the corresponding ending subscript of the video time period in the first array by using the length and the ending time point of the video time period; and determining a first array element value corresponding to the beginning index to the ending index in the first array according to the video type corresponding to the video time period.
In an optional implementation manner, the video schedule checking module 440 is specifically configured to compare whether the first array pool and the second array pool are equal; if the video programs are equal, determining that the video plan of the target monitoring equipment does not need to be corrected; and if not, determining that the video recording plan of the target monitoring equipment needs to be corrected.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. A method for modifying a video recording schedule, the method comprising:
acquiring a video plan in target monitoring equipment, wherein the video plan comprises at least one video sub-plan;
constructing a first array pool according to the video plan, wherein the first array pool comprises at least one first array obtained by converting a video sub plan; the video sub-plan comprises at least one video time period and a video type corresponding to the video time period, and the conversion of the video sub-plan into the first array comprises:
determining the length of the first array according to a preset minimum time period;
determining a corresponding starting index of the video recording time period in the first array by using the length and the starting time point of the video recording time period aiming at each video recording time period contained in the video recording sub-plan;
determining the corresponding ending subscript of the video time period in the first array by using the length and the ending time point of the video time period;
determining a first array element value corresponding to the start index to the end index in the first array according to the video type corresponding to the video time period;
acquiring a second array pool, wherein the second array pool comprises at least one second array, and the second array is an array obtained by converting a video template sub-plan contained in a video template plan corresponding to the target monitoring equipment;
checking whether a video recording plan of the target monitoring equipment needs to be corrected or not according to the first array pool and the second array pool;
and if so, correcting the video recording plan in the target monitoring equipment by using the video recording template plan.
2. The method of claim 1, wherein if it is determined that the video recording schedule of the target monitoring device does not require modification, the method further comprises:
inquiring correction records in a target time period from the target monitoring equipment; the target time period is a time period between the current time point and the last inspection time point, and the last inspection time point is a time point at which whether the video plan of the target monitoring equipment needs to be corrected is checked last time;
if the target time period is found, acquiring actual video information belonging to the target time period from the target monitoring equipment;
judging whether the actual video information is complete according to the video template plan;
if the alarm is not complete, an alarm prompt is output.
3. The method of claim 2, wherein determining whether the actual video footage information is complete according to the template plan comprises:
determining a sub-video time period corresponding to the target time period and a video type of the sub-video time period from the video template plan; the sub-video recording time period is contained in the video recording time period contained in the video recording template plan;
if the video type of the sub-video time period belongs to the timing video type, judging whether the sub-video time period is contained in the video time period corresponding to the actual video information, if so, determining that the actual video information is complete, and if not, determining that the actual video information is incomplete;
if the video type of the sub-video time period belongs to a non-timing video type, acquiring an event record in the sub-video time period from the target monitoring equipment, and judging whether a video starting time point and a video ending time point in the event record are contained in the video time period corresponding to the actual video information, if so, determining that the actual video information is complete, and if not, determining that the actual video information is incomplete.
4. The method of claim 1, wherein checking whether the video recording schedule of the target monitoring device requires modification based on the first array pool and the second array pool comprises:
comparing whether the first array pool and the second array pool are equal;
if so, determining that the video plan of the target monitoring equipment does not need to be corrected;
and if not, determining that the video recording plan of the target monitoring equipment needs to be corrected.
5. An apparatus for modifying a video recording schedule, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a video plan in target monitoring equipment, and the video plan comprises at least one video sub-plan;
the construction module is used for constructing a first array pool according to the video plan, and the first array pool comprises at least one first array obtained by converting the video sub-plan;
the conversion module is specifically used for determining the length of the first array according to a preset minimum time period; determining a corresponding starting index of the video recording time period in the first array by using the length and the starting time point of the video recording time period aiming at each video recording time period contained in the video recording sub-plan; determining the corresponding ending subscript of the video time period in the first array by using the length and the ending time point of the video time period; determining a first array element value corresponding to the starting index to the ending index in the first array according to the video type corresponding to the video time period;
a second obtaining module, configured to obtain a second array pool, where the second array pool includes at least one second array, and the second array is an array obtained by converting a video template sub-plan included in a video template plan corresponding to the target monitoring device;
the video plan checking module is used for checking whether the video plan of the target monitoring equipment needs to be corrected or not according to the first array pool and the second array pool;
and the correcting module is used for correcting the video recording plan in the target monitoring equipment by using the video recording template plan under the condition that the checking is yes.
6. The apparatus of claim 5, further comprising:
the video information checking module is used for inquiring correction records in a target time period from the target monitoring equipment if the video plan of the target monitoring equipment is determined not to need to be corrected; the target time period is a time period between the current time point and the last inspection time point, and the last inspection time point is a time point at which whether the video plan of the target monitoring equipment needs to be corrected is checked last time; if yes, actual video information belonging to the target time period is obtained from the target monitoring equipment; judging whether the actual video information is complete according to the video template plan; if the alarm is not complete, an alarm prompt is output.
7. The apparatus of claim 6, wherein the recording information checking module is specifically configured to determine, from the recording template plan, a sub-recording time period corresponding to the target time period and a recording type of the sub-recording time period in a process of determining whether the actual recording information is complete according to the template plan; the sub-recording time period is included in the recording time period included in the recording template plan; if the video type of the sub-video time period belongs to the timing video type, judging whether the sub-video time period is contained in the video time period corresponding to the actual video information, if so, determining that the actual video information is complete, and if not, determining that the actual video information is incomplete; if the video type of the sub-video time period belongs to a non-timing video type, acquiring an event record in the sub-video time period from the target monitoring equipment, and judging whether a video starting time point and a video ending time point in the event record are contained in the video time period corresponding to the actual video information, if so, determining that the actual video information is complete, and if not, determining that the actual video information is incomplete.
8. The apparatus of claim 5, wherein the video schedule check module is configured to compare whether the first array pool and the second array pool are equal; if so, determining that the video plan of the target monitoring equipment does not need to be corrected; and if not, determining that the video recording plan of the target monitoring equipment needs to be corrected.
9. An electronic device comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the steps of the method of any one of claims 1-4.
CN201811037473.3A 2018-09-06 2018-09-06 Method and device for correcting video recording plan and electronic equipment Active CN110881113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811037473.3A CN110881113B (en) 2018-09-06 2018-09-06 Method and device for correcting video recording plan and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811037473.3A CN110881113B (en) 2018-09-06 2018-09-06 Method and device for correcting video recording plan and electronic equipment

Publications (2)

Publication Number Publication Date
CN110881113A CN110881113A (en) 2020-03-13
CN110881113B true CN110881113B (en) 2022-08-26

Family

ID=69727785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811037473.3A Active CN110881113B (en) 2018-09-06 2018-09-06 Method and device for correcting video recording plan and electronic equipment

Country Status (1)

Country Link
CN (1) CN110881113B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437131A (en) * 2008-12-31 2009-05-20 中兴通讯股份有限公司 Method and apparatus for customizing frontend picture recording of video monitoring system
CN105117827A (en) * 2015-08-05 2015-12-02 国网浙江省电力公司 System and method for checking monitoring information tables of transformer station

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0214444D0 (en) * 2002-06-21 2002-07-31 Thirdspace Living Ltd User interface system
US7715695B2 (en) * 2002-11-26 2010-05-11 Panasonic Corporation Apparatus for managing removable storage media that can be connected thereto, and method, program, and system LSI for managing removable storage media
KR101123194B1 (en) * 2004-01-06 2012-03-19 코닌클리케 필립스 일렉트로닉스 엔.브이. Ambient light script command encoding
US7813816B2 (en) * 2004-02-20 2010-10-12 Siemens Industry, Inc. Methods and structures for utilizing a memory device for a PLC
US8422850B2 (en) * 2007-04-09 2013-04-16 Mitusbishi Electric Corporation Information recording apparatus, information recording method, information record medium, information reproducing apparatus, information reproducing method, information transmitting apparatus, and information transmitting method
CN101483762B (en) * 2008-12-31 2011-07-13 中兴通讯股份有限公司 Platform video recording method, system and customer terminal
CN108268984B (en) * 2016-12-30 2021-11-12 核动力运行研究所 Method for automatically generating and verifying nuclear power plant service inspection plan
CN107295311A (en) * 2017-08-03 2017-10-24 国网新疆电力公司疆南供电公司 The operation management system of video monitoring platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437131A (en) * 2008-12-31 2009-05-20 中兴通讯股份有限公司 Method and apparatus for customizing frontend picture recording of video monitoring system
CN105117827A (en) * 2015-08-05 2015-12-02 国网浙江省电力公司 System and method for checking monitoring information tables of transformer station

Also Published As

Publication number Publication date
CN110881113A (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN110928255B (en) Data anomaly statistical alarm method and device, storage medium and electronic equipment
GB2416264A (en) Searching for clip differences in recorded video data of a surveillance system
CN107861991B (en) Receipt data processing method and device, computer equipment and storage medium
CN104270605B (en) A kind of processing method and processing device of video monitoring data
CN111131290B (en) Flow data processing method and device
CN103593209A (en) Progress display method and device
CN110881113B (en) Method and device for correcting video recording plan and electronic equipment
US20130144914A1 (en) Acquiring statistical access models
CN111125115A (en) Data storage method, device and medium based on block chain
KR20170137756A (en) Aggregation of large amounts of temporal data from multiple overlapping sources
US20140181599A1 (en) Task server and method for allocating tasks
CN112652164A (en) Traffic time interval dividing method, device and equipment
CN116167864A (en) Data processing method, apparatus, device, storage medium, and program product
KR101679703B1 (en) IoT/M2M Configuration Method through Usage Analysis
JP2008299496A (en) Operation simulator and program
CN111464577B (en) Equipment control method and device
US11113173B2 (en) Systems and methods for detecting, analyzing, and evaluating interaction paths
CN111352984A (en) Data distribution method, device and storage medium
CN110662027A (en) Storage integrity detection method and device and computer equipment
CN111432283A (en) Video playback time determination method and device
CN112445835A (en) Business data processing method and device, network management server and storage medium
CN112541646B (en) Periodic behavior analysis method and device
CN111190898B (en) Data processing method and device, electronic equipment and storage medium
CN112584239B (en) Program preview method and program preview device
US20240012716A1 (en) System and method for controlling backup and recovery software in a multiple cluster environment

Legal Events

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