CN115086603B - Video processing method and device based on compatibility player - Google Patents

Video processing method and device based on compatibility player Download PDF

Info

Publication number
CN115086603B
CN115086603B CN202210514443.7A CN202210514443A CN115086603B CN 115086603 B CN115086603 B CN 115086603B CN 202210514443 A CN202210514443 A CN 202210514443A CN 115086603 B CN115086603 B CN 115086603B
Authority
CN
China
Prior art keywords
data
data processing
monitoring
time
video
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
CN202210514443.7A
Other languages
Chinese (zh)
Other versions
CN115086603A (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.)
China Southern Power Grid Digital Platform Technology Guangdong Co ltd
Original Assignee
China Southern Power Grid Digital Platform Technology Guangdong 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 China Southern Power Grid Digital Platform Technology Guangdong Co ltd filed Critical China Southern Power Grid Digital Platform Technology Guangdong Co ltd
Priority to CN202210514443.7A priority Critical patent/CN115086603B/en
Publication of CN115086603A publication Critical patent/CN115086603A/en
Application granted granted Critical
Publication of CN115086603B publication Critical patent/CN115086603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video processing method and a device based on a compatibility player, wherein the method comprises the following steps: the method comprises the steps of collecting target data corresponding to a target scene, wherein the target data comprise video data, the video data are collected through video collecting equipment installed in the target scene, determining a first processing environment corresponding to the video data, determining an analysis standard of a compatible player for the video data in the first processing environment according to the first processing environment, and executing preset data processing operation on the video data based on the compatible player, the analysis standard and a preset intelligent processing model to obtain a data processing result, wherein the data processing operation comprises at least one of a data encoding operation, a data decoding operation and a data analysis operation. Therefore, the implementation of the invention supports the self-adaptive adjustment of the resolution modes under different resolution environments, is compatible with the resolution modes of different browsers, supports the intelligent analysis of the video data, and improves the operability of the video data.

Description

Video processing method and device based on compatibility player
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a video processing method and apparatus based on a compatibility player.
Background
With the improvement of people's safety consciousness, various security technologies have been developed, and among many security technologies, one of the most applicable and most applicable technologies has a monitoring security technology. From initial human monitoring to field monitoring of various intelligent camera instruments at present, the technology advances and advances to develop various monitoring security technologies, namely the field monitoring of various operation sites is large to the home monitoring of each household, and the monitoring security technology is an indispensable technology for guaranteeing the life safety quality of people.
In the existing application in various operation scenes, in the more common monitoring technology, after the corresponding plug-in is additionally installed on the monitoring video collected by the monitoring equipment, normal play and control of the monitoring video can be realized only by a browser (such as an IE browser), so that the operability of the monitoring video is greatly limited; in addition, the phenomenon of play jamming often occurs when the monitoring video collected by the monitoring equipment is played at the browser end, so that the viewing experience of a user in viewing the monitoring video is greatly influenced. Therefore, how to solve the problems of low operability and playing of the video clip in the conventional monitoring technology is important.
Disclosure of Invention
The invention aims to solve the technical problems by providing a video processing method and a device based on a compatibility player, which can realize intelligent analysis of a monitoring video, improve the encoding and decoding speed of the monitoring video, further improve the operability of the monitoring video and improve the play smoothness of the monitoring video, and in order to solve the technical problems, the first aspect of the invention discloses a video processing method based on the compatibility player, which comprises the following steps:
Acquiring target data corresponding to a target scene, wherein the target data comprises video data, and the video data is acquired through video acquisition equipment installed in the target scene;
Determining a first processing environment corresponding to the video data currently used for processing;
Determining an analysis standard of the compatible player for the video data under the first processing environment according to the first processing environment;
and executing preset data processing operation on the video data based on the compatibility player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result, wherein the data processing operation comprises at least one of data encoding operation, data decoding operation and data analysis operation.
As an optional implementation manner, in the first aspect of the present invention, the target data further includes scene data corresponding to the target scene and monitoring data, where the scene data includes position data corresponding to a first monitoring object in the target scene, the first monitoring object includes all devices included in the target scene and/or any area in the target scene, and the monitoring data includes a monitoring record for the first monitoring object;
the method further includes, after the preset data processing operation is performed on the video data based on the compatibility player, the parsing standard and the predetermined intelligent processing model to obtain a data processing result,:
Judging whether the monitoring progress of the target scene meets a preset progress threshold according to the monitoring record and the data processing result;
When judging that the monitoring progress of the target scene does not meet the progress threshold, determining an object to be monitored in a current monitoring period included in the monitoring record according to the scene data and the monitoring record;
And controlling the video acquisition equipment to switch the current acquisition visual angle to the acquisition visual angle comprising the object to be monitored according to the determined object to be monitored so as to update the monitoring record and the monitoring progress.
As an optional implementation manner, in the first aspect of the present invention, after performing a preset data processing operation on the video data based on the compatibility player, the parsing standard and a predetermined intelligent processing model, the method further includes:
detecting whether a viewing angle switching instruction is received or not, wherein the viewing angle switching instruction is used for switching a monitoring viewing angle for monitoring the target scene;
When the receiving of the visual angle switching instruction is detected, determining a second monitoring object and determining the position of the second monitoring object in the target scene according to the visual angle switching instruction;
judging whether the second monitoring object is included in the monitoring range of the current monitoring target scene, and when the second monitoring object is included in the monitoring range, controlling the video acquisition equipment to focus the view angle of the current monitoring second monitoring object according to the space occupation ratio of the second monitoring object in the monitoring range combined with a predetermined focusing standard;
And when the second monitoring object is not included in the monitoring range, controlling the video acquisition equipment to switch the monitoring range of the current monitoring target scene to the monitoring range including the second monitoring object according to the determined position of the second monitoring object in the target scene.
As an alternative embodiment, in the first aspect of the present invention, the method further includes:
analyzing the target data to obtain acquisition time corresponding to the video data and a first time set formed by all the acquisition time, wherein each acquisition time corresponds to one or a plurality of frames of video images;
Based on the data processing result played by the compatible player, obtaining the playing time of the current playing of the data processing result and a second time set formed by all the playing time, wherein each playing time corresponds to one or a plurality of frames of video images;
Comparing the acquisition time and the playing time corresponding to the same video image in the first time set and the second time set to obtain delay playing time between the acquisition time and the playing time;
judging whether the delay playing time length is greater than a preset time length threshold value or not;
when the delay playing time length is judged to be larger than the time length threshold value, determining a delay factor which causes the delay playing time length to be larger than the time length threshold value;
and correcting the data processing result according to the delay factor and a predetermined delay correction strategy matched with the delay factor so as to update the data processing result.
As an optional implementation manner, in the first aspect of the present invention, the determining a delay factor that causes the delay playing time period to be longer than the time period threshold includes:
Judging whether the data processing amount of the video data is larger than a preset data processing amount threshold value, and determining that the data processing amount of the video data is larger than the data processing amount threshold value as a delay factor which causes the delay playing time to be longer than the time length threshold value when judging that the data processing amount is larger than the data processing amount threshold value;
When the data processing amount is less than or equal to the data processing amount threshold, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, terminating executing the operation of determining a delay factor which causes the delay playing time to be longer than the time length threshold, wherein the backtracking instruction is used for backtracking a current playing picture playing the data processing result to a playing picture corresponding to a target time, wherein the target time is any time in the second time set or is a time meeting the backtracking requirement included in the backtracking instruction in the second time set;
And when the backtracking instruction is not received, determining the first processing environment as a delay factor which causes the delay playing time to be longer than the time length threshold.
As an optional implementation manner, in the first aspect of the present invention, the correcting the data processing result according to the delay factor and a predetermined delay correction policy matched with the delay factor to update the data processing result includes:
When the delay factor is that the data processing amount of the video data is larger than the data processing amount threshold, dividing the video data into a plurality of sub video data according to the delay factor and a predetermined dividing standard, and respectively processing all the sub video data to obtain a batch processing result;
Performing the data processing operation on all the sub video data in the batch processing result in batches according to the sequence of the acquisition time based on the compatibility player, the analysis standard and the intelligent processing model to obtain a batch data processing result, so as to update the data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the corresponding execution sequence of the data processing operation is;
When the delay factor is the first processing environment, retrieving a second processing environment for processing the data processing result in the current environment, and updating the first processing environment to be the second processing environment;
And correcting the data processing result based on the second processing environment and the compatibility player to update the data processing result.
As an optional implementation manner, in the first aspect of the present invention, after the controlling the video capturing apparatus to focus on the view angle of the second monitoring object, the method further includes:
Acquiring historical monitoring data of the second monitoring object, wherein the historical monitoring data comprises data of the second monitoring object in a target state, and the target state comprises a normal state or an abnormal state;
Comparing the real-time data of the second monitoring object acquired by the video acquisition equipment with the original data of the second monitoring object in the normal state stored in a database to obtain a comparison result;
When the comparison result shows that the real-time data is matched with the original data, determining that the second monitoring object is in the normal state;
And when the comparison result shows that the real-time data is not matched with the original data, determining that the second monitoring object is in the abnormal state, and generating an abnormal identifier for the second monitoring object so as to execute an abnormal processing operation matched with the abnormal identifier for the second monitoring object according to the abnormal identifier.
The second aspect of the present invention discloses a video processing device based on a compatible player, the device comprising:
the acquisition module is used for acquiring target data corresponding to a target scene, wherein the target data comprises video data, and the video data is acquired through video acquisition equipment installed in the target scene;
the determining module is used for determining a first processing environment corresponding to the video data;
The determining module is further configured to determine, according to the first processing environment, an analysis standard of the compatible player for the video data in the first processing environment;
And the data processing module is used for executing preset data processing operation on the video data based on the compatibility player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result, wherein the data processing operation comprises at least one of data encoding operation, data decoding operation and data analysis operation.
As an optional implementation manner, in the second aspect of the present invention, the target data further includes scene data corresponding to the target scene and monitoring data, where the scene data includes position data corresponding to a first monitoring object in the target scene, the first monitoring object includes all devices included in the target scene and/or any area in the target scene, and the monitoring data includes a monitoring record for the first monitoring object;
the apparatus further comprises:
The first judging module is used for judging whether the monitoring progress of the target scene meets a preset progress threshold value according to the monitoring record and the data processing result after the data processing module executes preset data processing operation on the video data based on the compatibility player, the analysis standard and a preset intelligent processing model to obtain a data processing result;
the determining module is further configured to determine, according to the scene data and the monitoring record, an object to be monitored in a current monitoring period included in the monitoring record when the first judging module judges that the monitoring progress for the target scene does not meet the progress threshold;
And the first control module is used for controlling the video acquisition equipment to switch the current acquisition visual angle into the acquisition visual angle comprising the object to be monitored according to the object to be monitored determined by the determination module so as to update the monitoring record and the monitoring progress.
As an alternative embodiment, in the second aspect of the present invention, the apparatus further includes:
The detection module is used for detecting whether a view angle switching instruction is received after the data processing module executes preset data processing operation on the video data based on the compatibility player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result, wherein the view angle switching instruction is used for switching and monitoring the monitoring view angle of the target scene;
the determining module is further configured to determine a second monitoring object according to the viewing angle switching instruction and determine a position of the second monitoring object in the target scene when the detecting module detects that the viewing angle switching instruction is received;
the second judging module is used for judging whether the second monitoring object is included in the monitoring range of the current monitoring target scene, and when the second monitoring object is included in the monitoring range, the video acquisition equipment is controlled to focus the view angle of the current monitoring second monitoring object according to the space occupation ratio of the second monitoring object in the monitoring range combined with a predetermined focusing standard;
and the second control module is used for controlling the video acquisition equipment to switch the monitoring range of the current monitoring target scene to the monitoring range comprising the second monitoring object according to the determined position of the second monitoring object in the target scene when the second judging module judges that the second monitoring object is not included in the monitoring range.
As an alternative embodiment, in the second aspect of the present invention, the apparatus further includes:
The analysis module is used for analyzing the target data to obtain acquisition time corresponding to the video data and a first time set formed by all the acquisition time, and each acquisition time corresponds to one or a plurality of frames of video images;
The data processing module is further configured to play the data processing result based on the compatibility player and obtain a play time when the data processing result is currently played and a second time set formed by all the play times, where each play time corresponds to one or several frames of video images;
The delay processing module is used for comparing the acquisition time and the playing time corresponding to the same video image in the first time set and the second time set to obtain delay playing time between the acquisition time and the playing time;
the delay processing module is further used for judging whether the delay playing time length is greater than a preset time length threshold value;
the determining module is further configured to determine a delay factor that causes the delay play time to be greater than the duration threshold when the delay processing module determines that the delay play time is greater than the duration threshold;
And the correction module is used for correcting the data processing result according to the delay factor determined by the determination module and a predetermined delay correction strategy matched with the delay factor so as to update the data processing result.
As an optional implementation manner, in the second aspect of the present invention, the determining module determines a delay factor that causes the delay playing time period to be longer than the time period threshold specifically includes:
Judging whether the data processing amount of the video data is larger than a preset data processing amount threshold value, and determining that the data processing amount of the video data is larger than the data processing amount threshold value as a delay factor which causes the delay playing time to be longer than the time length threshold value when judging that the data processing amount is larger than the data processing amount threshold value;
When the data processing amount is less than or equal to the data processing amount threshold, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, terminating executing the operation of determining a delay factor which causes the delay playing time to be longer than the time length threshold, wherein the backtracking instruction is used for backtracking a current playing picture playing the data processing result to a playing picture corresponding to a target time, wherein the target time is any time in the second time set or is a time meeting the backtracking requirement included in the backtracking instruction in the second time set;
And when the backtracking instruction is not received, determining the first processing environment as a delay factor which causes the delay playing time to be longer than the time length threshold.
In a second aspect of the present invention, as an optional implementation manner, the modifying module modifies the data processing result according to the delay factor and a predetermined delay modification policy matched with the delay factor, so as to update the data processing result specifically includes:
When the delay factor is that the data processing amount of the video data is larger than the data processing amount threshold, dividing the video data into a plurality of sub video data according to the delay factor and a predetermined dividing standard, and respectively processing all the sub video data to obtain a batch processing result;
Performing the data processing operation on all the sub video data in the batch processing result in batches according to the sequence of the acquisition time based on the compatibility player, the analysis standard and the intelligent processing model to obtain a batch data processing result, so as to update the data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the corresponding execution sequence of the data processing operation is;
When the delay factor is the first processing environment, retrieving a second processing environment for processing the data processing result in the current environment, and updating the first processing environment to be the second processing environment;
And correcting the data processing result based on the second processing environment and the compatibility player to update the data processing result.
As an alternative embodiment, in the second aspect of the present invention, the apparatus further includes:
the second control module is used for controlling the video acquisition device to focus on the view angle of the second monitoring object, and then acquiring historical monitoring data of the second monitoring object, wherein the historical monitoring data comprises data of the second monitoring object in a target state, and the target state comprises a normal state or an abnormal state;
The comparison module is used for comparing the real-time data of the second monitoring object acquired by the video acquisition equipment with the original data of the second monitoring object in the normal state stored in the database to obtain a comparison result;
The determining module is further configured to determine that the second monitoring object is in the normal state when the comparison result indicates that the real-time data matches with the original data;
and the exception handling module is used for determining that the second monitoring object is in the exception state when the comparison result shows that the real-time data is not matched with the original data, and generating an exception identifier for the second monitoring object so as to execute exception handling operation matched with the exception identifier for the second monitoring object according to the exception identifier.
A third aspect of the present invention discloses another video processing apparatus based on a compatibility player, the apparatus comprising:
A memory storing executable program code;
A processor coupled to the memory;
The processor invokes the executable program code stored in the memory to execute the video processing method based on the compatibility player disclosed in the first aspect of the present invention.
A fourth aspect of the present invention discloses a computer storage medium storing computer instructions for executing the video processing method based on the compatibility player disclosed in the first aspect of the present invention when the computer instructions are called.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a video processing method and device based on a compatible player, wherein the method comprises the following steps: acquiring target data corresponding to a target scene, wherein the target data comprises video data, and the video data is acquired through video acquisition equipment installed in the target scene; determining a first processing environment corresponding to the current video data; determining an analysis standard of the compatible player for video data in the first processing environment according to the first processing environment; and executing preset data processing operation on the video data based on the compatibility player, the analysis standard and the predetermined intelligent processing model to obtain a data processing result, wherein the data processing operation comprises at least one of data encoding operation, data decoding operation and data analyzing operation. Therefore, after the video data of the target scene is acquired, the first processing environment for processing the video data can be automatically determined, the analysis standard of the compatible player for processing the video data is adaptively adjusted according to the first processing environment, the analysis efficiency and the play fluency of the video data in different play environments are improved, the situation that a user additionally installs a plug-in to achieve the purpose of analyzing the video data is avoided, and the use experience of the user for using the compatible player is improved to a certain extent; meanwhile, the accuracy of a processing result obtained when the compatible player processes video data is improved; furthermore, the preset data processing operation can be executed on the video data based on the intelligent processing model, so that the operability of the video data is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a video processing method based on a compatible player according to an embodiment of the present invention;
FIG. 2 is a flow chart of another video processing method based on a compatible player according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a video processing device based on a compatibility player according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of another video processing apparatus based on a compatibility player according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of a video processing apparatus based on a compatibility player according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention discloses a video processing method and a video processing device based on a compatible player, which can automatically determine a first processing environment currently used for processing video data after video data of a target scene are acquired, and then adaptively adjust analysis standards of the compatible player for processing the video data according to the first processing environment, so that analysis efficiency and play fluency of the video data under different play environments are improved, the situation that a user additionally installs a plug-in to realize the purpose of analyzing the video data is avoided, and the use experience of the user for using the compatible player is improved to a certain extent; meanwhile, the accuracy of a processing result obtained when the compatible player processes video data is improved; furthermore, the preset data processing operation can be executed on the video data based on the intelligent processing model, so that the operability of the video data is improved. The following will describe in detail.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a video processing method based on a compatible player according to an embodiment of the present invention. The video processing method based on the compatibility player described in fig. 1 may be applied to a video processing device based on the compatibility player, which is not limited by the embodiment of the present invention. As shown in fig. 1, the video processing method based on the compatibility player may include the following operations:
101. And collecting target data corresponding to the target scene.
In the embodiment of the invention, the target data comprises video data, and the video data is acquired by video acquisition equipment arranged in a target scene;
102. a corresponding first processing environment currently used for processing video data is determined.
In the embodiment of the present invention, the first processing environment may be a playing environment (such as google browser) for playing video data after the video data is currently processed, or may be a transfer processing environment for implementing operations such as video data encoding/decoding/analysis before the video data is played.
103. According to the first processing environment, determining an analysis standard of the compatible player for the video data in the first processing environment.
In the embodiment of the invention, the analysis standards for video data in different processing environments are different, and the analysis standards for video data in the current mainstream browser in the market are different.
104. And executing preset data processing operation on the video data based on the compatibility player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result.
In the embodiment of the present invention, the data processing operation may include at least one of a data encoding operation, a data decoding operation, and a data analyzing operation, which is not limited in the embodiment of the present invention.
It should be noted that, the compatible player may be an autonomously developed Complay player for viewing a monitoring video, and the Complay player may be loaded with an acceleration engine, where the acceleration engine includes the intelligent processing model, and main functions include acceleration analysis of video data and acceleration of a video data encoding and decoding process, so as to realize smooth playing of video data; in addition, as can be seen from the description of steps 101-104, the compatible player also includes the functionality of being compatible with the mainstream browser.
Therefore, after the video processing method based on the compatibility player described in fig. 1 is implemented, the first processing environment for processing the video data can be automatically determined after the video data of the target scene is acquired, and then the analysis standard of the video data processed by the compatibility player is adaptively adjusted according to the first processing environment, so that the analysis efficiency and the play fluency of the video data under different play environments are improved, the situation that a user needs to additionally install a plug-in to achieve the purpose of analyzing the video data is avoided, and the use experience of the user using the compatibility player is improved to a certain extent; meanwhile, the accuracy of a processing result obtained when the compatible player processes video data is improved; furthermore, the preset data processing operation can be executed on the video data based on the intelligent processing model, so that the operability of the video data is improved.
In an optional embodiment, the target data may further include scene data corresponding to the target scene and monitoring data, where the scene data includes position data corresponding to a first monitoring object in the target scene, the first monitoring object includes all devices included in the target scene and/or any area in the target scene, and the monitoring data includes a monitoring record for the first monitoring object;
The above-mentioned video processing method based on the compatibility player, the analysis standard and the predetermined intelligent processing model execute the preset data processing operation on the video data, and after obtaining the data processing result, the video processing method based on the compatibility player may further include the following operations:
Judging whether the monitoring progress of the target scene meets a preset progress threshold according to the monitoring record and the data processing result;
When the monitoring progress of the target scene is judged to not meet the progress threshold, determining an object to be monitored in a current monitoring period included in the monitoring record according to the scene data and the monitoring record;
and according to the determined object to be monitored, controlling the video acquisition equipment to switch the current acquisition view angle to the acquisition view angle comprising the object to be monitored so as to update the monitoring record and the monitoring progress.
In the optional embodiment, the monitoring progress of the target scene can be automatically analyzed according to the monitoring record and the data processing result, so that the analysis efficiency of the monitoring progress of the target scene is improved; the method can also execute the matched operation of determining the object to be monitored and automatically switching the acquisition view angle when the monitoring progress does not meet the progress threshold, replaces the monitoring method of manually adjusting the monitoring view angle by a monitoring person in the traditional method, improves the monitoring efficiency and the monitoring accuracy of a monitoring target scene, and simultaneously solves the problems of low monitoring force and low monitoring efficiency existing in the manual monitoring switching of the monitoring view angle.
In this alternative embodiment, further, the above manner of determining, according to the scene data and the monitoring record, the object to be monitored in the current monitoring period included in the monitoring record may specifically be the following operations:
Screening all the objects which are not monitored in the target scene in the current monitoring period according to the monitoring record;
And determining position data corresponding to all the non-monitored objects by combining the scene data, selecting a certain non-monitored object from all the non-monitored objects according to a preset monitoring list and a preset monitoring sequence, and determining the certain non-monitored object as an object to be monitored in the current monitoring period included in the monitoring record, wherein the monitoring priority is higher and the monitoring is performed first the more before the monitoring sequence is in the monitoring list.
In this optional embodiment, it can be determined that the objects to be monitored are orderly according to the monitoring list, so that the situation that the monitoring efficiency is low due to the monitored objects in the random monitoring target scene is reduced, and the situation that monitoring of the monitoring target scene is incomplete due to repeated monitoring of a certain monitored object is reduced.
Example two
Referring to fig. 2, fig. 2 is a flowchart of another video processing method based on a compatible player according to an embodiment of the present invention. The video processing method based on the compatibility player described in fig. 2 may be applied to a video processing device based on the compatibility player, which is not limited by the embodiment of the present invention. As shown in fig. 2, the video processing method based on the compatibility player may include the following operations:
201. And collecting target data corresponding to the target scene.
202. A corresponding first processing environment currently used for processing video data is determined.
203. According to the first processing environment, determining an analysis standard of the compatible player for the video data in the first processing environment.
204. And executing preset data processing operation on the video data based on the compatibility player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result.
In the embodiment of the present invention, the other descriptions of step 201 to step 204 refer to the other specific descriptions of step 101 to step 104 in the first embodiment, and the description of the embodiment of the present invention is omitted.
205. And detecting whether a viewing angle switching instruction is received.
In the embodiment of the invention, the visual angle switching instruction is used for switching the monitoring visual angle of the monitoring target scene; the visual angle switching instruction can be generated by a monitoring system corresponding to the monitoring target scene or can be initiated manually by a monitoring person; when the visual angle switching instruction is an instruction initiated manually by a monitoring person, the monitoring person can realize that the video acquisition equipment for controlling the target scene in a graphical operation mode automatically focuses on any object in the scene layout through a pre-drawn scene layout diagram of the target scene in linkage with a control engine of the compatibility player; it should be noted that, the scene layout diagram may be a primary wiring diagram, a single line diagram, a building plan diagram, or the like, which is not limited by the embodiment of the present invention.
206. When the receiving of the visual angle switching instruction is detected, determining a second monitoring object according to the visual angle switching instruction and determining the position of the second monitoring object in the target scene.
207. And judging whether a second monitoring object is included in the monitoring range of the current monitoring target scene.
In the embodiment of the present invention, when the determination result of step 207 is yes, step 208 is executed, and when the determination result of step 207 is no, step 209 is executed.
208. And controlling the video acquisition equipment to focus the view angle of the second monitoring object currently monitored according to the predetermined focusing standard and the space duty ratio of the second monitoring object in the monitoring range.
In the embodiment of the present invention, after the controlling the video capturing device to focus on the viewing angle of the second monitoring object, the video processing method of the compatible player may further include the following operations:
acquiring historical monitoring data of a second monitoring object, wherein the historical monitoring data comprises data of the second monitoring object in a target state, and the target state comprises a normal state or an abnormal state;
comparing the real-time data of the second monitoring object acquired by the video acquisition equipment with the original data of the second monitoring object in a normal state stored in the database to obtain a comparison result;
When the comparison result shows that the real-time data is matched with the original data, determining that the second monitoring object is in a normal state;
when the comparison result shows that the real-time data is not matched with the original data, determining that the second monitoring object is in an abnormal state, and generating an abnormal identifier aiming at the second monitoring object so as to execute the abnormal processing operation matched with the abnormal identifier aiming at the second monitoring object according to the abnormal identifier.
In the embodiment of the invention, when the second monitoring object is a certain electric power device (main transformer) in the electric power operation scene, the corresponding external casing of the main transformer has no sundries accumulation, the wiring of the visible devices in the transformer accords with the wiring standard, the corresponding data of the measuring instrument accords with the preset data standard and the like, which can be used for indicating that the device is in a normal state, and when more than one unmatched data exists in the above mentioned normal state judging standard, the device is judged to be in an abnormal state.
Therefore, in the embodiment of the invention, after focusing the view angle of the current monitoring second monitoring object, the history monitoring data of the monitoring second monitoring object and the real-time data of the current monitoring second monitoring object can be automatically compared, so that the analysis efficiency of the real-time data of the current monitoring second monitoring object and the discovery efficiency when the real-time data is abnormal can be improved; furthermore, when the second monitoring object is determined to be in the abnormal state, the abnormal processing operation matched with the abnormal state can be intelligently executed, so that the processing efficiency of the abnormal state is improved.
209. And controlling the video acquisition equipment to switch the monitoring range of the current monitoring target scene to the monitoring range comprising the second monitoring object according to the determined position of the second monitoring object in the target scene.
Therefore, after the video data of the target scene is collected, the video processing method based on the compatibility player described in fig. 2 can automatically determine the first processing environment currently used for processing the video data, and then adaptively adjust the analysis standard of the compatibility player for processing the video data according to the first processing environment, so that the analysis efficiency and the play fluency of the video data in different play environments are improved, the situation that the user can process the video data only after additionally installing the plug-in is avoided, and the use experience of the user for using the compatibility player is improved to a certain extent; meanwhile, the accuracy of a processing result obtained when the compatible player processes video data is improved; furthermore, the preset data processing operation can be executed on the video data based on the intelligent processing model, so that the operability of the video data is improved; in addition, the second monitoring object and the position of the second monitoring object in the target scene can be intelligently determined according to the received visual angle switching instruction, so that the positioning efficiency of positioning the second monitoring object is improved; further, when the current monitoring range does not include the second monitoring object, the view angle of the second monitoring object can be adaptively switched, and when the monitoring range includes the second monitoring object, the second monitoring object can be automatically focused, and a coping strategy for focusing and monitoring the second monitoring object under different conditions is provided, so that the accuracy of focusing/monitoring the second monitoring object is improved, and the accuracy of a monitoring result is improved.
In an alternative embodiment, the video processing method based on the compatibility player may further include the following operations:
Analyzing target data to obtain acquisition time corresponding to video data and a first time set formed by all the acquisition time, wherein each acquisition time corresponds to one or a plurality of frames of video images;
based on a data processing result played by the compatible player, acquiring the playing time of the current data processing result played and a second time set formed by all the playing time, wherein each playing time corresponds to one or a plurality of frames of video images;
Comparing the collection time and the playing time corresponding to the same video image in the first time set and the second time set to obtain delay playing time between the collection time and the playing time;
Judging whether the delay playing time length is greater than a preset time length threshold value or not;
when the delay playing time length is judged to be greater than the time length threshold value, determining a delay factor which causes the delay playing time length to be greater than the time length threshold value;
And correcting the data processing result according to the delay factor and a predetermined delay correction strategy matched with the delay factor so as to update the data processing result.
Therefore, in the optional embodiment, the acquisition time and the playing time can be intelligently compared to obtain the delay playing time, so that when the delay playing time is judged to be longer than the time threshold, the matched operations of determining the delay factor, delaying the correction strategy and correcting the data processing result are executed, the processing efficiency of playing delay when the data processing result is played is improved, and the probability of playing stuck when the data processing result is played is reduced.
In this alternative embodiment, further, the manner of determining the delay factor that causes the delay time to be longer than the time length threshold may specifically include the following steps:
Judging whether the data processing amount of the video data is larger than a preset data processing amount threshold value, and determining the data processing amount of the video data larger than the data processing amount threshold value as a delay factor which causes the delay playing time to be longer than a time length threshold value when judging that the data processing amount is larger than the data processing amount threshold value;
when the data processing amount is judged to be smaller than or equal to the data processing amount threshold value, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, terminating executing the operation of determining a delay factor which leads to delay of playing time length to be longer than a time length threshold value, wherein the backtracking instruction is used for backtracking a current playing picture playing a data processing result to a playing picture corresponding to a target time, and the target time is any time in the second time set or is a time meeting the backtracking requirement included in the backtracking instruction in the second time set;
And when the backtracking instruction is not received, determining the first processing environment as a delay factor which causes the delay playing time to be longer than a time length threshold value.
In this optional embodiment, two ways of determining the delay factor that causes the delay time to be longer than the time threshold are provided, and when the processing amount of the video data is determined to be greater than the data processing amount threshold, the delay factor is determined to be that the data processing amount of the video data is greater than the data processing amount threshold, so that it is beneficial to execute the corresponding delay correction operation according to the delay factor and improve the accuracy of executing the delay correction operation subsequently; in addition, when the data processing amount is less than or equal to the data processing amount threshold value, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, stopping executing the operation of determining the delay factor, and reducing the occurrence of the situation that the backtracking operation is executed for video data after the backtracking instruction is received and is misjudged to be play delay; further, when the judgment is negative, the first processing environment is determined to be the delay factor, so that the determination efficiency of the delay factor and the accuracy of the determination result are improved.
Further, the method for correcting the data processing result according to the delay factor and the predetermined delay correction policy matched with the delay factor to update the data processing result may specifically include the following operations:
When the delay factor is that the data processing amount of the video data is larger than the data processing amount threshold, dividing the video data into a plurality of sub video data according to the delay factor and a predetermined dividing standard, and respectively processing all the sub video data to obtain a batch processing result;
Carrying out data processing operation on all sub video data in the batch processing result in batches according to the sequence of the acquisition time based on the compatibility player, the analysis standard and the intelligent processing model to obtain the batch data processing result so as to update the data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the corresponding execution sequence of the data processing operation is;
When the delay factor is the first processing environment, retrieving a second processing environment for processing data processing results in the current environment, and updating the first processing environment into the second processing environment;
And correcting the data processing result based on the second processing environment and the compatibility player to update the data processing result.
It can be seen that in this alternative embodiment, a correction method for different delay factors is provided, so that the accuracy of correcting the delay factors is improved, and the accuracy of the finally obtained data processing result is further improved.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a video processing device based on a compatibility player according to an embodiment of the present invention. As shown in fig. 3, the video processing apparatus based on a compatibility player may include an acquisition module 301, a determination module 302, and a data processing module 303, where:
The acquisition module 301 is configured to acquire target data corresponding to a target scene, where the target data includes video data, and the video data is acquired by a video acquisition device installed in the target scene.
A determining module 302 is configured to determine a first processing environment currently used for processing video data.
The determining module 302 is further configured to determine, according to the first processing environment, an parsing standard of the compatible player for the video data in the first processing environment.
The data processing module 303 is configured to perform a preset data processing operation on the video data based on the compatibility player, the parsing standard and a predetermined intelligent processing model, so as to obtain a data processing result, where the data processing operation includes at least one of a data encoding operation, a data decoding operation and a data analyzing operation.
Therefore, the implementation of the video processing device based on the compatibility player described in fig. 3 can automatically determine the first processing environment currently used for processing video data after the video data of the target scene is acquired, and then adaptively adjust the analysis standard of the compatibility player for processing the video data according to the first processing environment, so as to improve the analysis efficiency and the play fluency of the video data under different play environments, avoid the situation that a user needs to additionally install a plug-in to realize the purpose of analyzing the video data, and improve the use experience of the user using the compatibility player to a certain extent; meanwhile, the accuracy of a processing result obtained when the compatible player processes video data is improved; furthermore, the preset data processing operation can be executed on the video data based on the intelligent processing model, so that the operability of the video data is improved.
In an optional embodiment, the target data further includes scene data corresponding to the target scene and monitoring data, the scene data includes position data corresponding to a first monitoring object in the target scene, the first monitoring object includes all devices included in the target scene and/or any area in the target scene, and the monitoring data includes a monitoring record for the first monitoring object;
As shown in fig. 4, the video processing apparatus based on a compatibility player may further include a first judging module 304 and a first control module 305, where:
the first determining module 304 is configured to determine, after the data processing module 303 performs a preset data processing operation on the video data based on the compatibility player, the parsing standard, and the predetermined intelligent processing model, whether the monitoring progress of the target scene meets a preset progress threshold according to the monitoring record and the data processing result included in the target data acquired by the acquisition module 301.
The determining module 302 is further configured to determine, according to the scene data and the monitoring record, an object to be monitored in a current monitoring period included in the monitoring record when the first judging module judges 304 that the monitoring progress for the target scene does not meet the progress threshold.
The first control module 305 is configured to control the video acquisition device to switch the current acquisition view angle to an acquisition view angle including the object to be monitored according to the object to be monitored determined by the determining module 302, so as to update the monitoring record and the monitoring progress included in the target data acquired by the determining module 301.
Therefore, the implementation of the video processing device based on the compatibility player described in fig. 4 can automatically analyze the monitoring progress of the target scene according to the monitoring record and the data processing result, so that the analysis efficiency of the monitoring progress of the target scene is improved; the method can also execute the matched operation of determining the object to be monitored and automatically switching the acquisition view angle when the monitoring progress does not meet the progress threshold, replaces the monitoring method of manually adjusting the monitoring view angle by a monitoring person in the traditional method, improves the monitoring efficiency and the monitoring accuracy of a monitoring target scene, and simultaneously solves the problems of low monitoring force and low monitoring efficiency existing in the manual monitoring switching of the monitoring view angle.
In another alternative embodiment, as shown in fig. 4, the video processing apparatus based on a compatibility player may further include a detection module 306, a second judgment module 307, and a second control module 308, where:
The detection module 306 is configured to detect whether a viewing angle switching instruction is received after the data processing module 303 performs a preset data processing operation on the video data based on the compatibility player, the parsing standard and a predetermined intelligent processing model, and obtains a data processing result, where the viewing angle switching instruction is used to switch a monitoring viewing angle of a monitoring target scene.
The determining module 302 is further configured to determine the second monitoring object and determine a position of the second monitoring object in the target scene according to the viewing angle switching instruction when the detecting module 306 detects that the viewing angle switching instruction is received.
And a second judging module 307, configured to judge whether the monitoring range of the current monitoring target scene includes the second monitoring object determined by the determining module 302, and when judging that the monitoring range includes the second monitoring object, control the video acquisition device to focus the view angle of the second monitoring object currently monitored according to the predetermined focusing standard in combination with the space occupation ratio of the second monitoring object in the monitoring range.
And the second control module 308 is configured to, when the second judging module 307 judges that the monitoring range does not include the second monitoring object, control the video acquisition device to switch the monitoring range of the current monitoring target scene to the monitoring range including the second monitoring object according to the position of the second monitoring object in the target scene determined by the determining module 302.
Therefore, the implementation of the video processing device based on the compatibility player described in fig. 4 can intelligently determine the second monitoring object and the position of the second monitoring object in the target scene according to the received viewing angle switching instruction, which is beneficial to improving the positioning efficiency of positioning the second monitoring object; further, when the current monitoring range does not include the second monitoring object, the view angle of the second monitoring object can be adaptively switched, and when the monitoring range includes the second monitoring object, the second monitoring object can be automatically focused, and a coping strategy for focusing and monitoring the second monitoring object under different conditions is provided, so that the accuracy of focusing/monitoring the second monitoring object is improved, and the accuracy of a monitoring result is improved.
In yet another alternative embodiment, as shown in fig. 4, the video processing apparatus based on a compatibility player may further include an analysis module 309, a delay processing module 310, and a modification module 311, where:
The analysis module 309 is configured to analyze the target data acquired by the acquisition module 301, and obtain an acquisition time corresponding to the video data and a first time set formed by all the acquisition times, where each acquisition time corresponds to one or several frames of video images.
The data processing module 303 is further configured to play the data processing result based on the compatibility player and obtain a play time of the current play data processing result and a second time set formed by all play times, where each play time corresponds to one or several frames of video images.
The delay processing module 310 is configured to compare the collection time and the playing time corresponding to the same video image in the first time set obtained by the analysis module 309 and the second time set obtained by the data processing module 303, and obtain a delay playing duration between the collection time and the playing time.
The delay processing module 310 is further configured to determine whether the delay playing duration is greater than a preset duration threshold.
The determining module 302 is further configured to determine a delay factor that causes the delay time to be greater than the duration threshold when the delay processing module 310 determines that the delay time is greater than the duration threshold.
The correction module 311 is configured to correct the data processing result obtained by the data processing module 303 according to the delay factor determined by the determination module 302 and a predetermined delay correction policy matched with the delay factor, so as to update the data processing result.
Therefore, implementing the video processing device based on the compatibility player described in fig. 4 can intelligently compare the acquisition time and the playing time to obtain the delay playing time, so that when the delay playing time is judged to be longer than the time threshold, the matched operations of determining the delay factor, delaying the correction strategy and correcting the data processing result are executed, thereby being beneficial to improving the processing efficiency of playing delay when the data processing result is played and reducing the probability of playing stuck when the data processing result is played.
In another alternative embodiment, the manner in which the determining module 302 determines the delay factor that results in the delayed play time being greater than the time duration threshold may specifically include the following operations:
Judging whether the data processing amount of the video data is larger than a preset data processing amount threshold value, and determining the data processing amount of the video data larger than the data processing amount threshold value as a delay factor which causes the delay playing time to be longer than a time length threshold value when judging that the data processing amount is larger than the data processing amount threshold value;
When the data processing amount is judged to be smaller than or equal to the data processing amount threshold value, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, terminating the executed operation of determining a delay factor which causes a delay time to be longer than a time length threshold value, wherein the backtracking instruction is used for backtracking a current playing picture playing a data processing result to a playing picture corresponding to a target time, and the target time is any time in a second time set or is a time meeting the backtracking requirement included in the backtracking instruction in the second time set;
And when the backtracking instruction is not received, determining the first processing environment as a delay factor which causes the delay playing time to be longer than a time length threshold value.
As can be seen, implementing the video processing apparatus based on a compatible player described in fig. 4 provides two ways of determining a delay factor that causes a delay time to be longer than a time threshold, and when determining that the processing amount of video data is greater than the data processing amount threshold, determines that the delay factor is that the data processing amount of the video data is greater than the data processing amount threshold, so as to facilitate the subsequent execution of a corresponding delay correction operation according to the delay factor and improve the accuracy of the subsequent execution of the delay correction operation; in addition, when the data processing amount is less than or equal to the data processing amount threshold value, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, stopping executing the operation of determining the delay factor, and reducing the occurrence of the situation that the backtracking operation is executed for video data after the backtracking instruction is received and is misjudged to be play delay; further, when the judgment is negative, the first processing environment is determined to be the delay factor, so that the determination efficiency of the delay factor and the accuracy of the determination result are improved.
In yet another alternative embodiment, the modification module 311 modifies the data processing result according to the delay factor and a predetermined delay modification policy matching the delay factor, so as to update the data processing result, which may specifically include the following operations:
When the delay factor is that the data processing amount of the video data is larger than the data processing amount threshold, dividing the video data into a plurality of sub video data according to the delay factor and a predetermined dividing standard, and respectively processing all the sub video data to obtain a batch processing result;
Carrying out data processing operation on all sub video data in the batch processing result in batches according to the sequence of the acquisition time based on the compatibility player, the analysis standard and the intelligent processing model to obtain the batch data processing result so as to update the data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the corresponding execution sequence of the data processing operation is;
When the delay factor is the first processing environment, retrieving a second processing environment for processing data processing results in the current environment, and updating the first processing environment into the second processing environment;
And correcting the data processing result based on the second processing environment and the compatibility player to update the data processing result.
Therefore, implementing the video processing device based on the compatibility player described in fig. 4 provides a correction method for different delay factors, which improves the accuracy of correcting the delay factors, and further improves the accuracy of the finally obtained data processing result.
In another alternative embodiment, as shown in fig. 4, the video processing apparatus based on a compatibility player may further include an acquisition module 312, a comparison module 313, and an exception handling module 314, wherein:
The obtaining module 312 is configured to obtain, after the second control module 308 controls the video capturing device to focus on the angle of view of the second monitoring object, historical monitoring data of the second monitoring object, where the historical monitoring data includes data of the second monitoring object in a target state, and the target state includes a normal state or an abnormal state.
The comparison module 313 is configured to compare the real-time data of the second monitoring object acquired by the video acquisition device with the original data of the second monitoring object in the normal state acquired by the acquisition module 312 stored in the database, so as to obtain a comparison result.
The determining module 302 is further configured to determine that the second monitoring object is in a normal state when the comparison result obtained by the comparing module 313 indicates that the real-time data matches the original data.
And an exception handling module 314, configured to determine that the second monitoring object is in an exception state when the comparison result obtained by the comparison module 313 indicates that the real-time data does not match the original data, and generate an exception identifier for the second monitoring object, so as to perform an exception handling operation matched with the exception identifier for the second monitoring object according to the exception identifier.
Therefore, implementing the video processing device based on the compatibility player described in fig. 4 can automatically compare the historical monitoring data of the second monitoring object with the real-time data of the second monitoring object after focusing the view angle of the second monitoring object, which is beneficial to improving the analysis efficiency of the real-time data of the second monitoring object and the discovery efficiency when the real-time data is abnormal; furthermore, when the second monitoring object is determined to be in the abnormal state, the abnormal processing operation matched with the abnormal state can be intelligently executed, so that the processing efficiency of the abnormal state is improved.
Example IV
Referring to fig. 5, fig. 5 is a schematic structural diagram of a video processing apparatus based on a compatibility player according to an embodiment of the present invention. As shown in fig. 5, the compatibility player-based video processing apparatus may include:
a memory 401 storing executable program codes;
A processor 402 coupled with the memory 401;
the processor 402 invokes executable program codes stored in the memory 401 to perform the steps in the compatibility player-based video processing method described in the first or second embodiment of the present invention.
Example five
The embodiment of the invention discloses a computer storage medium which stores computer instructions for executing the steps in the video processing method based on the compatibility player described in the first embodiment or the second embodiment of the invention when the computer instructions are called.
Example six
An embodiment of the present invention discloses a computer program product comprising a non-transitory computer storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the video processing method based on a compatible player described in the first embodiment or the second embodiment.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the embodiment of the invention discloses a video processing method and device based on a compatible player, which are disclosed by the embodiment of the invention only for illustrating the technical scheme of the invention, but not limiting the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (7)

1. A method for video processing based on a compatible player, the method comprising:
Acquiring target data corresponding to a target scene, wherein the target data comprises video data, and the video data is acquired through video acquisition equipment installed in the target scene;
Determining a first processing environment corresponding to the video data currently used for processing;
Determining an analysis standard of the compatible player for the video data under the first processing environment according to the first processing environment;
Performing preset data processing operation on the video data based on the compatibility player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result, wherein the data processing operation comprises at least one of data encoding operation, data decoding operation and data analysis operation;
The method further comprises the steps of:
analyzing the target data to obtain acquisition time corresponding to the video data and a first time set formed by all the acquisition time, wherein each acquisition time corresponds to one or a plurality of frames of video images;
Based on the data processing result played by the compatible player, obtaining the playing time of the current playing of the data processing result and a second time set formed by all the playing time, wherein each playing time corresponds to one or a plurality of frames of video images;
Comparing the acquisition time and the playing time corresponding to the same video image in the first time set and the second time set to obtain delay playing time between the acquisition time and the playing time;
judging whether the delay playing time length is greater than a preset time length threshold value or not;
when the delay playing time length is judged to be larger than the time length threshold value, determining a delay factor which causes the delay playing time length to be larger than the time length threshold value;
Correcting the data processing result according to the delay factor and a predetermined delay correction strategy matched with the delay factor so as to update the data processing result;
The determining a delay factor that causes the delayed play time period to be greater than the time period threshold includes:
Judging whether the data processing amount of the video data is larger than a preset data processing amount threshold value, and determining that the data processing amount of the video data is larger than the data processing amount threshold value as a delay factor which causes the delay playing time to be longer than the time length threshold value when judging that the data processing amount is larger than the data processing amount threshold value;
When the data processing amount is less than or equal to the data processing amount threshold, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, terminating executing the operation of determining a delay factor which causes the delay playing time to be longer than the time length threshold, wherein the backtracking instruction is used for backtracking a current playing picture playing the data processing result to a playing picture corresponding to a target time, wherein the target time is any time in the second time set or is a time meeting the backtracking requirement included in the backtracking instruction in the second time set;
When the backtracking instruction is not received, determining the first processing environment as a delay factor which causes the delay playing time to be longer than the time threshold;
the step of correcting the data processing result according to the delay factor and a predetermined delay correction strategy matched with the delay factor to update the data processing result comprises the following steps:
When the delay factor is that the data processing amount of the video data is larger than the data processing amount threshold, dividing the video data into a plurality of sub video data according to the delay factor and a predetermined dividing standard, and respectively processing all the sub video data to obtain a batch processing result;
Performing the data processing operation on all the sub video data in the batch processing result in batches according to the sequence of the acquisition time based on the compatibility player, the analysis standard and the intelligent processing model to obtain a batch data processing result, so as to update the data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the corresponding execution sequence of the data processing operation is;
When the delay factor is the first processing environment, retrieving a second processing environment for processing the data processing result in the current environment, and updating the first processing environment to be the second processing environment;
And correcting the data processing result based on the second processing environment and the compatibility player to update the data processing result.
2. The video processing method based on a compatibility player according to claim 1, wherein the target data further comprises scene data corresponding to the target scene and monitoring data, the scene data comprises position data corresponding to a first monitoring object in the target scene, the first monitoring object comprises all devices included in the target scene and/or any area in the target scene, and the monitoring data comprises a monitoring record for the first monitoring object;
the method further includes, after the preset data processing operation is performed on the video data based on the compatibility player, the parsing standard and the predetermined intelligent processing model to obtain a data processing result,:
Judging whether the monitoring progress of the target scene meets a preset progress threshold according to the monitoring record and the data processing result;
When judging that the monitoring progress of the target scene does not meet the progress threshold, determining an object to be monitored in a current monitoring period included in the monitoring record according to the scene data and the monitoring record;
And controlling the video acquisition equipment to switch the current acquisition visual angle to the acquisition visual angle comprising the object to be monitored according to the determined object to be monitored so as to update the monitoring record and the monitoring progress.
3. The video processing method according to claim 2, wherein the method further comprises, after performing a preset data processing operation on the video data based on the compatibility player, the parsing standard and a predetermined intelligent processing model to obtain a data processing result:
detecting whether a viewing angle switching instruction is received or not, wherein the viewing angle switching instruction is used for switching a monitoring viewing angle for monitoring the target scene;
When the receiving of the visual angle switching instruction is detected, determining a second monitoring object and determining the position of the second monitoring object in the target scene according to the visual angle switching instruction;
judging whether the second monitoring object is included in the monitoring range of the current monitoring target scene, and when the second monitoring object is included in the monitoring range, controlling the video acquisition equipment to focus the view angle of the current monitoring second monitoring object according to the space occupation ratio of the second monitoring object in the monitoring range combined with a predetermined focusing standard;
And when the second monitoring object is not included in the monitoring range, controlling the video acquisition equipment to switch the monitoring range of the current monitoring target scene to the monitoring range including the second monitoring object according to the determined position of the second monitoring object in the target scene.
4. A video processing method based on a compatibility player according to claim 3, wherein after the controlling the video capture device to focus on a viewing angle at which the second monitoring object is currently monitored, the method further comprises:
Acquiring historical monitoring data of the second monitoring object, wherein the historical monitoring data comprises data of the second monitoring object in a target state, and the target state comprises a normal state or an abnormal state;
Comparing the real-time data of the second monitoring object acquired by the video acquisition equipment with the original data of the second monitoring object in the normal state stored in a database to obtain a comparison result;
When the comparison result shows that the real-time data is matched with the original data, determining that the second monitoring object is in the normal state;
And when the comparison result shows that the real-time data is not matched with the original data, determining that the second monitoring object is in the abnormal state, and generating an abnormal identifier for the second monitoring object so as to execute an abnormal processing operation matched with the abnormal identifier for the second monitoring object according to the abnormal identifier.
5. A video processing apparatus based on a compatibility player, the apparatus comprising:
the acquisition module is used for acquiring target data corresponding to a target scene, wherein the target data comprises video data, and the video data is acquired through video acquisition equipment installed in the target scene;
the determining module is used for determining a first processing environment corresponding to the video data;
The determining module is further configured to determine, according to the first processing environment, an analysis standard of the compatible player for the video data in the first processing environment;
The data processing module is used for executing preset data processing operation on the video data based on the compatibility player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result, wherein the data processing operation comprises at least one of data encoding operation, data decoding operation and data analysis operation;
the apparatus further comprises:
The analysis module is used for analyzing the target data to obtain acquisition time corresponding to the video data and a first time set formed by all the acquisition time, and each acquisition time corresponds to one or a plurality of frames of video images;
The data processing module is further configured to play the data processing result based on the compatibility player and obtain a play time when the data processing result is currently played and a second time set formed by all the play times, where each play time corresponds to one or several frames of video images;
The delay processing module is used for comparing the acquisition time and the playing time corresponding to the same video image in the first time set and the second time set to obtain delay playing time between the acquisition time and the playing time;
the delay processing module is further used for judging whether the delay playing time length is greater than a preset time length threshold value;
the determining module is further configured to determine a delay factor that causes the delay play time to be greater than the duration threshold when the delay processing module determines that the delay play time is greater than the duration threshold;
The correction module is used for correcting the data processing result according to the delay factor determined by the determination module and a predetermined delay correction strategy matched with the delay factor so as to update the data processing result;
the determining module determines a delay factor that causes the delay playing time to be longer than the time threshold specifically includes:
Judging whether the data processing amount of the video data is larger than a preset data processing amount threshold value, and determining that the data processing amount of the video data is larger than the data processing amount threshold value as a delay factor which causes the delay playing time to be longer than the time length threshold value when judging that the data processing amount is larger than the data processing amount threshold value;
When the data processing amount is less than or equal to the data processing amount threshold, judging whether a backtracking instruction is received, and when the backtracking instruction is judged to be received, terminating executing the operation of determining a delay factor which causes the delay playing time to be longer than the time length threshold, wherein the backtracking instruction is used for backtracking a current playing picture playing the data processing result to a playing picture corresponding to a target time, wherein the target time is any time in the second time set or is a time meeting the backtracking requirement included in the backtracking instruction in the second time set;
When the backtracking instruction is not received, determining the first processing environment as a delay factor which causes the delay playing time to be longer than the time threshold;
The correction module corrects the data processing result according to the delay factor and a predetermined delay correction strategy matched with the delay factor, and the mode of updating the data processing result specifically comprises the following steps:
When the delay factor is that the data processing amount of the video data is larger than the data processing amount threshold, dividing the video data into a plurality of sub video data according to the delay factor and a predetermined dividing standard, and respectively processing all the sub video data to obtain a batch processing result;
Performing the data processing operation on all the sub video data in the batch processing result in batches according to the sequence of the acquisition time based on the compatibility player, the analysis standard and the intelligent processing model to obtain a batch data processing result, so as to update the data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the corresponding execution sequence of the data processing operation is;
When the delay factor is the first processing environment, retrieving a second processing environment for processing the data processing result in the current environment, and updating the first processing environment to be the second processing environment;
And correcting the data processing result based on the second processing environment and the compatibility player to update the data processing result.
6. A video processing apparatus based on a compatibility player, the apparatus comprising:
A memory storing executable program code;
A processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the compatibility player-based video processing method of any of claims 1-4.
7. A computer storage medium storing computer instructions which, when invoked, are operable to perform the compatibility player-based video processing method of any one of claims 1-4.
CN202210514443.7A 2022-05-12 2022-05-12 Video processing method and device based on compatibility player Active CN115086603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210514443.7A CN115086603B (en) 2022-05-12 2022-05-12 Video processing method and device based on compatibility player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210514443.7A CN115086603B (en) 2022-05-12 2022-05-12 Video processing method and device based on compatibility player

Publications (2)

Publication Number Publication Date
CN115086603A CN115086603A (en) 2022-09-20
CN115086603B true CN115086603B (en) 2024-05-14

Family

ID=83247386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210514443.7A Active CN115086603B (en) 2022-05-12 2022-05-12 Video processing method and device based on compatibility player

Country Status (1)

Country Link
CN (1) CN115086603B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225402A (en) * 2019-07-12 2019-09-10 青岛一舍科技有限公司 Intelligence keeps the method and device of targets of interest moment display in panoramic video
CN110913278A (en) * 2019-12-06 2020-03-24 深圳创维新世界科技有限公司 Video playing method, display terminal and storage medium
CN113407436A (en) * 2020-11-04 2021-09-17 腾讯科技(深圳)有限公司 Play component compatibility detection method and device, computer equipment and storage medium
CN113438487A (en) * 2021-05-28 2021-09-24 福州市拾联信息科技有限公司 Method for compatible private video format webpage player
CN114138961A (en) * 2021-11-30 2022-03-04 掌阅科技股份有限公司 Playing processing method of audio electronic book, computing equipment and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225402A (en) * 2019-07-12 2019-09-10 青岛一舍科技有限公司 Intelligence keeps the method and device of targets of interest moment display in panoramic video
CN110913278A (en) * 2019-12-06 2020-03-24 深圳创维新世界科技有限公司 Video playing method, display terminal and storage medium
CN113407436A (en) * 2020-11-04 2021-09-17 腾讯科技(深圳)有限公司 Play component compatibility detection method and device, computer equipment and storage medium
CN113438487A (en) * 2021-05-28 2021-09-24 福州市拾联信息科技有限公司 Method for compatible private video format webpage player
CN114138961A (en) * 2021-11-30 2022-03-04 掌阅科技股份有限公司 Playing processing method of audio electronic book, computing equipment and computer storage medium

Also Published As

Publication number Publication date
CN115086603A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN112019739A (en) Shooting control method and device, electronic equipment and storage medium
CN112217999B (en) Wide dynamic mode adjusting method and device, electronic equipment and storage medium
CN109597943A (en) A kind of learning Content recommended method and facility for study based on scene
CN115396705B (en) Screen operation verification method, platform and system
CN115086603B (en) Video processing method and device based on compatibility player
CN112036311A (en) Image processing method and device based on eye state detection and storage medium
CN113835028A (en) Automatic detection method for holder motor, terminal and computer readable storage medium
CN112381151B (en) Method and device for determining similar videos
CN113673731A (en) Conference scene generation method and device
CN115995135B (en) Control method, device, equipment and medium based on intelligent fire identification
CN117036401A (en) Distribution network line inspection method and system based on target tracking
US20170187982A1 (en) Method and terminal for playing control based on face recognition
CN113556615A (en) Image processing method and device, and computer readable storage medium
CN108881984B (en) Method and system for storing screenshot of digital television equipment
CN112462939A (en) Interactive projection method and system
CN113674319A (en) Target tracking method, system, equipment and computer storage medium
CN112423124A (en) Dynamic playing method, device and system based on large-screen video player
CN113938671A (en) Image content analysis method and device, electronic equipment and storage medium
CN115348393B (en) Automatic setting method for preset position of camera device and camera group
CN117376391B (en) Automatic sensor identification method and device applied to water quality monitor
CN112712547B (en) State detection method and model building method of isolating switch
CN110853001B (en) Transformer substation foreign matter interference prevention image recognition method, system and medium
CN112084902B (en) Face image acquisition method and device, electronic equipment and storage medium
CN115442169B (en) Intelligent distribution network control method and device based on virtual area diagram
CN113426101B (en) Teaching method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 518053 501, 502, 601 and 602, building D, wisdom Plaza, Qiaoxiang Road, Gaofa community, Shahe street, Nanshan District, Shenzhen, Guangdong

Applicant after: China Southern Power Grid Digital Platform Technology (Guangdong) Co.,Ltd.

Address before: 518053 501, 502, 601 and 602, building D, wisdom Plaza, Qiaoxiang Road, Gaofa community, Shahe street, Nanshan District, Shenzhen, Guangdong

Applicant before: China Southern Power Grid Shenzhen Digital Power Grid Research Institute Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant