CN115086603A - Video processing method and device based on compatible player - Google Patents

Video processing method and device based on compatible player Download PDF

Info

Publication number
CN115086603A
CN115086603A CN202210514443.7A CN202210514443A CN115086603A CN 115086603 A CN115086603 A CN 115086603A CN 202210514443 A CN202210514443 A CN 202210514443A CN 115086603 A CN115086603 A CN 115086603A
Authority
CN
China
Prior art keywords
data
video
monitoring
processing
data processing
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.)
Granted
Application number
CN202210514443.7A
Other languages
Chinese (zh)
Other versions
CN115086603B (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.)
Shenzhen Digital Power Grid Research Institute of China Southern Power Grid Co Ltd
Original Assignee
Shenzhen Digital Power Grid Research Institute of China Southern Power Grid 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 Shenzhen Digital Power Grid Research Institute of China Southern Power Grid Co Ltd filed Critical Shenzhen Digital Power Grid Research Institute of China Southern Power Grid 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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • 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 compatible 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 collection equipment installed in the target scene, a first processing environment corresponding to the video data is determined, an analysis standard of a compatible player for the video data in the first processing environment is determined according to the first processing environment, preset data processing operation is executed on the video data based on the compatible player, the analysis standard and a predetermined intelligent processing model, and a data processing result is obtained, and the data processing operation comprises at least one of data encoding operation, data decoding operation and data analysis operation. Therefore, the implementation of the method and the device supports the self-adaptive adjustment of the analysis modes in different analysis environments, is compatible with the analysis 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 compatible 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 compatible player.
Background
With the improvement of safety consciousness of people, various security technologies are developed, and one of the most widely applicable and most applied technologies among the security technologies is a monitoring security technology. From the initial human monitoring to the field monitoring of various intelligent camera instruments at present, the development of various monitoring security technologies is promoted while the technology is developed and advanced, so that the technology is large for the field monitoring of various operation fields and small for the family monitoring of each household, and the monitoring security technology is an indispensable technology for guaranteeing the life safety quality of people.
Currently, in various operation scenes, a monitoring video acquired by monitoring equipment usually needs to be normally played and controlled only after a corresponding plug-in is additionally installed through a browser (such as an IE browser), so that operability of the monitoring video is limited to a great extent; in addition, the monitoring video collected by the monitoring equipment is often jammed in playing when being played at the browser end, and viewing experience of a user when viewing the monitoring video is greatly influenced. Therefore, how to solve the problems of low operability and unsmooth playing of the monitoring video in the traditional monitoring technology is very important.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a video processing method and apparatus based on a compatible player, which can implement intelligent analysis of a surveillance video, improve the encoding and decoding speed of the surveillance video, further improve the operability of the surveillance video and improve the playing fluency of the surveillance video, and in order to solve the above technical problem, a first aspect of the present invention discloses a video processing method 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 by video acquisition equipment arranged in the target scene;
determining a first processing environment corresponding to the video data currently used for processing;
according to the first processing environment, determining a resolution standard of the compatible player for the video data in the first processing environment;
and executing preset data processing operation on the video data based on the compatible 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 monitored object in the target scene, the first monitored object includes all devices included in the target scene and/or any region in the target scene, and the monitoring data includes a monitoring record for the first monitored object;
after the preset data processing operation is performed on the video data based on the compatible player, the analysis standard and the predetermined intelligent processing model to obtain a data processing result, the method further includes:
judging whether the monitoring progress aiming at the target scene meets a preset progress threshold value or not according to the monitoring record and the data processing result;
when the monitoring progress aiming at the target scene is judged to not meet the progress threshold, determining an object to be monitored in the 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 into 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 the performing a preset data processing operation on the video data based on the compatible player, the parsing standard, and a predetermined intelligent processing model to obtain a data processing result, the method further includes:
detecting whether a visual angle switching instruction is received, wherein the visual angle switching instruction is used for switching a monitoring visual angle for monitoring the target scene;
when the received 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 currently monitored target scene, and controlling the video acquisition equipment to focus the visual angle of the currently monitored second monitoring object according to a predetermined focusing standard and the space ratio of the second monitoring object in the monitoring range when the second monitoring object is included in the monitoring range;
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 monitored 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 implementation, in the first aspect of the present invention, the method further includes:
analyzing the target data to obtain acquisition moments corresponding to the video data and a first time set consisting of all the acquisition moments, wherein each acquisition moment corresponds to one frame or a plurality of frames of video images;
playing the data processing result based on the compatible player and acquiring the playing time of the currently played data processing result and a second time set consisting of all the playing times, wherein each playing time corresponds to one frame 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 the 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 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.
As an optional implementation manner, in the first aspect of the present invention, the determining a delay factor that causes the delayed playback time length to be greater than the time length threshold includes:
judging whether the data processing capacity of the video data is greater than a preset data processing capacity threshold value or not, and determining that the data processing capacity of the video data is greater than the data processing capacity threshold value as a delay factor causing the delayed playing time length to be greater than the time length threshold value when the data processing capacity is judged to be greater than the data processing capacity threshold value;
when the data processing amount is judged to be less than or equal to the data processing amount threshold, judging whether a backtracking instruction is received or not, and when the backtracking instruction is judged to be received, terminating the operation of determining a delay factor causing the delay playing time length to be greater 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, and the target time is any one time in the second time set or the target time which meets the backtracking requirement included in the backtracking instruction in the second time set;
and when the backtracking instruction is judged not to be received, determining the first processing environment as a delay factor causing the delay playing time length to be greater than the time length threshold value.
As an optional implementation manner, in the first aspect of the present invention, the modifying the data processing result according to the delay factor and a predetermined delay modification policy matching the delay factor to update the data processing result includes:
when the delay factor is that the data processing capacity of the video data is larger than the data processing capacity threshold, dividing the video data into a plurality of sub-video data according to the delay factor and a predetermined division standard, and respectively processing all the sub-video data to obtain batch processing results;
executing 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 compatible player, the analysis standard and the intelligent processing model to obtain a batch data processing result, and updating the batch data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the execution sequence of the corresponding 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 modifying the data processing result based on the second processing environment and the compatible 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 device to focus on the view currently monitoring the second monitored 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 monitored object acquired by the video acquisition equipment with the original data of the second monitored 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 aiming at the second monitoring object so as to execute abnormal processing operation matched with the abnormal identifier aiming at the second monitoring object according to the abnormal identifier.
The second aspect of the present invention discloses a video processing apparatus based on a compatible player, the apparatus comprising:
the system comprises a collecting module, a processing module and a processing module, wherein the collecting module is used for collecting target data corresponding to a target scene, the target data comprises video data, and the video data is collected by video collecting equipment arranged in the target scene;
the determining module is used for determining a first processing environment corresponding to the video data which is currently used for processing;
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 compatible 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 and monitoring data corresponding to the target scene, 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 region in the target scene, and the monitoring data includes a monitoring record for the first monitoring object;
the device further comprises:
the first judgment module is used for judging whether the monitoring progress aiming at the target scene meets a preset progress threshold value or not 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 compatible player, the analysis standard and a predetermined 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 determining module determines 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 to the acquisition visual angle including 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 comprises:
the detection module is used for detecting whether a visual angle switching instruction is received or not after the data processing module executes preset data processing operation on the video data based on the compatible player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result, wherein the visual angle switching instruction is used for switching a monitoring visual angle for monitoring the target scene;
the determining module is further configured to, when the detecting module detects that the view switching instruction is received, determine a second monitored object according to the view switching instruction and determine a position of the second monitored object in the target scene;
the second judgment module is used for judging whether the second monitored object is included in the monitoring range of the currently monitored target scene, and controlling the video acquisition equipment to focus the visual angle of the currently monitored second monitored object according to a predetermined focusing standard and the space ratio of the second monitored object in the monitoring range when the second monitored object is judged to be included in the monitoring range;
and the second control module is configured to control the video acquisition device to switch the monitoring range, in which the target scene is currently monitored, to the monitoring range, in which the second monitoring object is included, according to the determined position of the second monitoring object in the target scene, when the second judgment 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 comprises:
the analysis module is used for analyzing the target data to obtain acquisition moments corresponding to the video data and a first time set consisting of all the acquisition moments, wherein each acquisition moment corresponds to one frame or a plurality of frames of video images;
the data processing module is further configured to play the data processing result based on the compatible player and obtain a playing time at which the data processing result is currently played and a second time set composed of all the playing times, where each playing time corresponds to one frame 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 the delay playing time between the acquisition time and the playing time;
the delay processing module is further configured to determine whether the delay playing time is greater than a preset time threshold;
the determining module is further configured to determine a delay factor that causes the delayed playing time to be greater than the time threshold when the delay processing module determines that the delayed playing time is greater than the time threshold;
and the correcting module is used for correcting the data processing result according to the delay factor determined by the determining module and a predetermined delay correcting 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, a manner that the determining module determines the delay factor that causes the delayed playing time length to be greater than the time length threshold specifically includes:
judging whether the data processing capacity of the video data is greater than a preset data processing capacity threshold value or not, and determining that the data processing capacity of the video data is greater than the data processing capacity threshold value as a delay factor causing the delayed playing time length to be greater than the time length threshold value when the data processing capacity is judged to be greater than the data processing capacity threshold value;
when the data processing amount is judged to be less than or equal to the data processing amount threshold, judging whether a backtracking instruction is received or not, and when the backtracking instruction is judged to be received, terminating the operation of determining a delay factor causing the delay playing time length to be greater 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, and the target time is any one time in the second time set or the target time which meets the backtracking requirement included in the backtracking instruction in the second time set;
and when the backtracking instruction is judged not to be received, determining the first processing environment as a delay factor causing the delay playing time length to be greater than the time length threshold value.
As an optional implementation manner, in the second aspect of the present invention, the manner in which the modifying module modifies the data processing result according to the delay factor and a predetermined delay modification policy matched with the delay factor to update the data processing result specifically includes:
when the delay factor is that the data processing capacity of the video data is larger than the data processing capacity threshold, dividing the video data into a plurality of sub-video data according to the delay factor and a predetermined division standard, and respectively processing all the sub-video data to obtain batch processing results;
executing 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 compatible player, the analysis standard and the intelligent processing model to obtain a batch data processing result, and updating the batch data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the execution sequence of the corresponding 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 modifying the data processing result based on the second processing environment and the compatible player so as to update the data processing result.
As an alternative embodiment, in the second aspect of the present invention, the apparatus further comprises:
an obtaining module, configured to obtain historical monitoring data of the second monitored object after the second control module controls the video capture device to focus on a viewing angle at which the second monitored object is currently monitored, where the historical monitoring data includes data of the second monitored object in a target state, and the target state includes a normal state or an abnormal state;
the comparison module is used for comparing the real-time data of the second monitored object acquired by the video acquisition equipment with the original data of the second monitored object in the normal state stored in a database to obtain a comparison result;
the determining module is further configured to determine that the second monitored object is in the normal state when the comparison result indicates that the real-time data matches 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, generating an exception identifier for the second monitoring object, and executing exception handling operation matched with the exception identifier for the second monitoring object according to the exception identifier.
The third aspect of the present invention discloses another video processing apparatus based on a compatible player, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the video processing method based on the compatible player disclosed by the first aspect of the invention.
A fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions, and when the computer instructions are called, the computer storage medium is used for executing the video processing method based on the compatible player disclosed in the first aspect of the present invention.
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 a 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 by video acquisition equipment arranged in the target scene; determining a first processing environment corresponding to the video data currently used for processing; according to the first processing environment, determining an analysis standard of a compatible player for video data in the first processing environment; and executing preset data processing operation on the video data based on the compatible 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. Therefore, after the video data of the target scene are collected, the first processing environment for processing the video data at present 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 playing fluency of the video data in different playing environments are improved, the condition 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 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, preset data processing operation can be performed on the video data based on the intelligent processing model, and operability of the video data is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a video processing method based on a compatible player according to an embodiment of the present invention;
fig. 2 is a schematic flowchart 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 apparatus based on a compatible player according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another video processing apparatus based on a compatible player according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another video processing apparatus based on a compatible player according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively 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 can be included in at least one embodiment of the invention. The appearances of the phrase 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. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a video processing method and a device based on a compatible player, which can automatically determine a first processing environment for processing video data at present after video data of a target scene is collected, and further adaptively adjust the analysis standard of the compatible player for processing the video data according to the first processing environment, thereby improving the analysis efficiency and the playing fluency of the video data in different playing environments, avoiding the situation that a user additionally installs a plug-in to realize the purpose of analyzing the video data, and improving the use experience of the user using the compatible player to a certain extent; meanwhile, the accuracy of a processing result obtained when the compatible player processes video data is improved; furthermore, preset data processing operation can be performed on the video data based on the intelligent processing model, and operability of the video data is improved. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video processing method based on a compatible player according to an embodiment of the present invention. The video processing method based on the compatible player described in fig. 1 may be applied to a video processing apparatus based on a compatible player, and the embodiment of the present invention is not limited thereto. As shown in fig. 1, the video processing method based on the compatible player may include the following operations:
101. and acquiring 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 this embodiment of the present invention, the first processing environment may be a playing environment (such as a google browser) for playing video data after processing the video data currently, or may be a transfer processing environment for implementing operations such as video data encoding/decoding/analysis before playing the video data, which is not limited in the embodiment of the present invention.
103. According to the first processing environment, a parsing standard of the compatible player for the video data in the first processing environment is determined.
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 mainstream browser in the market at present are also different.
104. And executing preset data processing operation on the video data based on the compatible player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result.
In this 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 this embodiment of the present invention.
It should be noted that the compatible player may be a self-developed composite player for viewing monitoring videos, and the composite player may be loaded with an acceleration engine, where the acceleration engine includes the intelligent processing model, and has main functions of accelerating 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 step 101 to step 104, the compatible player also includes a function of being compatible with the mainstream browser.
It can be seen that, by implementing the video processing method based on the compatible player described in fig. 1, after video data of a target scene is acquired, a first processing environment currently used for processing the video data can be automatically determined, and then an analysis standard of the compatible player for processing the video data is adaptively adjusted according to the first processing environment, so that the analysis efficiency and the playing fluency of the video data in different playing 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 in 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, preset data processing operation can be performed on the video data based on the intelligent processing model, and operability of the video data is improved.
In an optional embodiment, the target data may further include scene data and monitoring data corresponding to a target scene, 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 region in the target scene, and the monitoring data includes a monitoring record for the first monitoring object;
after the preset data processing operation is performed on the video data based on the compatible player, the parsing standard and the predetermined intelligent processing model to obtain the data processing result, the video processing method based on the compatible player may further include the following operations:
judging whether the monitoring progress aiming at the target scene meets a preset progress threshold or not according to the monitoring record and the data processing result;
when the monitoring progress for the target scene is judged to not meet the progress threshold, determining an object to be monitored in the 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 visual angle to the acquisition visual angle including the object to be monitored so as to update the monitoring record and the monitoring progress.
Therefore, in the optional embodiment, the monitoring progress aiming at 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 aiming at 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 visual angle when the monitoring progress is judged not to meet the progress threshold value, replaces the monitoring method of manually adjusting the monitoring visual angle by monitoring personnel in the traditional method, improves the monitoring efficiency and the monitoring accuracy of the monitored target scene, and solves the problems of low monitoring degree and low monitoring efficiency in manual monitoring and switching of the monitoring visual angle.
In this optional embodiment, further, the above-mentioned manner of determining the object to be monitored in the current monitoring period included in the monitoring record according to the scene data and the monitoring record may specifically be as follows:
screening out all unmonitored objects in a target scene in the current monitoring period according to the monitoring record;
and determining position data corresponding to all the unmonitored objects by combining scene data, selecting a certain unmonitored object from all the unmonitored objects according to a preset monitoring list and a preset monitoring sequence, and determining the certain unmonitored object as an object to be monitored in the current monitoring period included in the monitoring record, wherein the higher the monitoring sequence in the monitoring list, the higher the monitoring priority and the more the monitoring sequence is, the more the object is monitored.
Therefore, in the optional embodiment, the objects to be monitored can be determined in order according to the monitoring list, the situation that monitoring efficiency is low due to the fact that monitoring objects in the target scene are monitored randomly is reduced, and the situation that monitoring of the target scene is not comprehensive due to the fact that one monitoring object is monitored repeatedly is reduced.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another video processing method based on a compatible player according to an embodiment of the present invention. The video processing method based on the compatible player described in fig. 2 may be applied to a video processing apparatus based on a compatible player, and the embodiment of the present invention is not limited thereto. As shown in fig. 2, the video processing method based on the compatible player may include the following operations:
201. and acquiring 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, a parsing standard of the compatible player for the video data in the first processing environment is determined.
204. And executing preset data processing operation on the video data based on the compatible player, the analysis standard and a predetermined intelligent processing model to obtain a data processing result.
In the embodiment of the present invention, please refer to other specific descriptions of step 101 to step 104 in the first embodiment for other descriptions of step 201 to step 204, which is not described again in the embodiment of the present invention.
205. And detecting whether a visual 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 a monitored target scene, or can be manually initiated by a monitoring person; when the visual angle switching instruction is an instruction manually initiated by a monitoring person, the monitoring person can control the video acquisition equipment of the target scene to automatically focus on any object in the scene layout by a graphical operation mode through a pre-drawn scene layout related to the target scene in linkage with a control engine of the compatible 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, and the embodiment of the present invention is not limited.
206. And when the received 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.
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 in step 207 is yes, step 208 is executed, and when the determination result in step 207 is no, step 209 is executed.
208. And controlling the video acquisition equipment to focus the view angle of the currently monitored second monitored object according to a predetermined focusing standard and the space ratio of the second monitored object in the monitoring range.
In this embodiment of the present invention, after the video capture device is controlled to focus on the current viewing angle of the second monitored 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;
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 an abnormal state, and generating an abnormal identifier aiming at the second monitoring object so as to execute abnormal processing operation matched with the abnormal identifier aiming at the second monitoring object according to the abnormal identifier.
In the embodiment of the present invention, when the second monitored object is a certain power device (main transformer) in an electric power operation scene, corresponding to the situation that no sundries are accumulated on an external casing of the main transformer, a visible device wire in the transformer meets a wire connection standard, data corresponding to a measuring instrument meets a preset data standard, and the like, all of the data can be used for indicating that the device is in a normal state, and when there is more than one data that does not match in the above mentioned determination standard of the normal state, the device is determined to be in an abnormal state.
Therefore, in the embodiment of the invention, after the viewing angle of the currently monitored second monitored object is focused, the historical monitoring data of the currently monitored second monitored object and the real-time data of the currently monitored second monitored object can be automatically compared, which is beneficial to improving the analysis efficiency of the real-time data of the currently monitored second monitored 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, and the processing efficiency aiming at the abnormal state is favorably improved.
209. And 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.
Therefore, by implementing the video processing method based on the compatible player described in fig. 2, after video data of a target scene is acquired, a first processing environment currently used for processing the video data can be automatically determined, and then the analysis standard of the compatible player for processing the video data can be adaptively adjusted according to the first processing environment, so that the analysis efficiency and the playing fluency of the video data in different playing environments are improved, the situation that a user can process the video data only after additionally installing a plug-in is avoided, and the use experience of the user in 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, preset data processing operation can be performed 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; furthermore, when the current monitoring range does not include the second monitoring object, the visual angle including the second monitoring object can be adaptively switched, and when the monitoring range includes the second monitoring object, the visual angle can be automatically focused on the second monitoring object, so that coping strategies for focusing and monitoring the second monitoring object under different conditions are provided, and the accuracy of focusing/monitoring the second monitoring object and the accuracy of a monitoring result are improved.
In an optional embodiment, the video processing method based on the compatible player may further include the following operations:
analyzing the target data to obtain acquisition moments corresponding to the video data and a first time set consisting of all the acquisition moments, wherein each acquisition moment corresponds to one frame or a plurality of frames of video images;
playing a data processing result based on a compatible player, and acquiring the playing time of the current playing data processing result and a second time set consisting of all the playing times, wherein each playing time corresponds to one frame 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 the delay playing time between the acquisition time and the playing time;
judging whether the delayed 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 delayed playing time, so that when the delayed playing time is judged to be greater 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 during playing the data processing result is improved, and the probability of playing pause during playing the data processing result is reduced.
In this optional embodiment, further, the determining the delay factor that causes the delayed playing time to be greater than the time threshold may specifically include the following steps:
judging whether the data processing capacity of the video data is greater than a preset data processing capacity threshold value or not, and determining that the data processing capacity of the video data is greater than the data processing capacity threshold value as a delay factor causing the delay playing time length to be greater than the time length threshold value when the data processing capacity is judged to be greater than the data processing capacity threshold value;
when the data processing amount is judged to be less than or equal to the data processing amount threshold value, judging whether a backtracking instruction is received or not, and when the backtracking instruction is judged to be received, terminating execution of the operation of determining the delay factor which causes the delay playing time length to be greater than the time length threshold value, wherein the backtracking instruction is used for backtracking the current playing picture of the playing data processing result to the playing picture corresponding to the target time, and the target time is any time in the second time set or the time which meets the backtracking requirement included by the backtracking instruction in the second time set;
and when judging that the backtracking instruction is not received, determining the first processing environment as a delay factor causing the delay playing time length to be greater than the time length threshold value.
It can be seen that, in this optional embodiment, two ways of determining the delay factor that causes the delay playing time to be greater than the time length threshold are provided, and when it is determined that the processing amount of the video data is greater than the data processing amount threshold, it is determined that the delay factor is that the data processing amount of the video data is greater than the data processing amount threshold, so that it is beneficial to subsequently execute the corresponding delay correction operation according to the delay factor and improve the accuracy of subsequently executing the delay correction operation; in addition, when the data processing amount is judged to be less than or equal to the data processing amount threshold value, whether a backtracking instruction is received or not is judged, and when the backtracking instruction is judged to be received, the operation of determining the delay factor is terminated, so that the situation that the video data is mistakenly judged to be delayed in playing when backtracking operation is executed for the video data after the backtracking instruction is received is reduced; further, when the judgment result is negative, the first processing environment is determined to be the delay factor, and the determination efficiency of the delay factor and the accuracy of the determination result are improved.
Further, the modifying the data processing result according to the delay factor and the predetermined delay modification 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 capacity of the video data is larger than a data processing capacity threshold value, dividing the video data into a plurality of sub-video data according to the delay factor and a predetermined division standard, and respectively processing all the sub-video data to obtain batch processing results;
performing data processing operations on all sub-video data in the batch processing results in batches according to the sequence of the acquisition time based on the compatible player, the analysis standard and the intelligent processing model to obtain batch data processing results so as to update the data processing results into the batch data processing results, wherein the earlier the acquisition time is, the earlier the execution sequence of the corresponding data processing operations 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 modifying the data processing result based on the second processing environment and the compatible player to update the data processing result.
Therefore, in the optional 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 improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a video processing apparatus based on a compatible player according to an embodiment of the present invention. As shown in fig. 3, the video processing apparatus based on a compatible player may include an acquisition module 301, a determination module 302, and a data processing module 303, wherein:
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 video acquisition equipment installed in the target scene.
A determining module 302, configured to determine a first processing environment currently used for processing the video data.
The determining module 302 is further configured to determine, according to the first processing environment, a resolution 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 compatible player, the parsing standard and a predetermined intelligent processing model 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 analysis operation.
It can be seen that, with the video processing apparatus based on the compatible player described in fig. 3, after video data of a target scene is collected, a first processing environment currently used for processing the video data can be automatically determined, and then an analysis standard of the compatible player for processing the video data is adaptively adjusted according to the first processing environment, so that the analysis efficiency and the playing fluency of the video data in different playing 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 in 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, preset data processing operation can be performed on the video data based on the intelligent processing model, and operability of the video data is improved.
In an optional embodiment, the target data further includes scene data and monitoring data corresponding to a target scene, 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 region 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 compatible player may further include a first determining module 304 and a first control module 305, wherein:
the first determining module 304 is configured to, after the data processing module 303 performs a preset data processing operation on the video data based on the compatible player, the parsing standard and a predetermined intelligent processing model to obtain a data processing result, determine whether the monitoring progress for 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 acquiring 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 determining module determines 304 that the monitoring progress for the target scene does not meet the progress threshold.
The first control module 305 is configured to control, according to the object to be monitored determined by the determining module 302, the video capture device to switch the current capture view angle to the capture view angle including the object to be monitored, so as to update the monitoring record and the monitoring progress included in the target data captured by 301.
Therefore, by implementing the video processing device based on the compatible player described in fig. 4, the monitoring progress for 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 for 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 visual angle when the monitoring progress is judged not to meet the progress threshold value, replaces the monitoring method of manually adjusting the monitoring visual angle by monitoring personnel in the traditional method, improves the monitoring efficiency and the monitoring accuracy of the monitored target scene, and solves the problems of low monitoring degree and low monitoring efficiency in manual monitoring and switching of the monitoring visual angle.
In another alternative embodiment, as shown in fig. 4, the video processing apparatus based on a compatible player may further include a detection module 306, a second determination module 307, and a second control module 308, wherein:
the detecting module 306 is configured to detect whether a view switching instruction is received after the data processing module 303 performs a preset data processing operation on the video data based on the compatible player, the analysis standard, and the predetermined intelligent processing model to obtain a data processing result, where the view switching instruction is used to switch a monitoring view of the monitored target scene.
The determining module 302 is further configured to, when the detecting module 306 detects that the angle-of-view switching instruction is received, determine a second monitored object according to the angle-of-view switching instruction and determine a position of the second monitored object in the target scene.
A second judging module 307, configured to judge whether the monitoring range of the current monitored target scene includes the second monitored object determined by the determining module 302, and when it is judged that the monitoring range includes the second monitored object, control the video collecting device to focus on the view angle of the currently monitored second monitored object according to a predetermined focusing standard in combination with a space occupation ratio of the second monitored object in the monitoring range.
The second control module 308 is configured to, when the second determining module 307 determines that the monitoring range does not include the second monitoring object, control the video capturing device to switch the monitoring range of the current monitored 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, by implementing the video processing device based on the compatible player described in fig. 4, the second monitored object and the position of the second monitored object in the target scene can be intelligently determined according to the received view switching instruction, which is beneficial to improving the positioning efficiency of positioning the second monitored object; furthermore, when the current monitoring range does not include the second monitoring object, the visual angle including the second monitoring object can be adaptively switched, and when the monitoring range includes the second monitoring object, the visual angle can be automatically focused on the second monitoring object, so that coping strategies for focusing and monitoring the second monitoring object under different conditions are provided, and the accuracy of focusing/monitoring the second monitoring object and the accuracy of a monitoring result are improved.
In yet another alternative embodiment, as shown in fig. 4, the video processing apparatus based on a compatible player may further include an analysis module 309, a delay processing module 310, and a modification module 311, wherein:
the analysis module 309 is configured to analyze the target data acquired by the acquisition module 301 to obtain acquisition moments corresponding to the video data and a first time set composed of all the acquisition moments, where each acquisition moment corresponds to one frame or several frames of video images.
The data processing module 303 is further configured to play a data processing result based on the compatible player and obtain a playing time of the currently played data processing result and a second time set composed of all playing times, where each playing time corresponds to one frame or several frames of video images.
The delay processing module 310 is configured to compare the acquisition time and the playing time corresponding to the same video image in the first time set obtained by the analyzing module 309 and the second time set obtained by the data processing module 303, and obtain a delay playing time between the acquisition time and the playing time.
The delay processing module 310 is further configured to determine whether the delay playing time is greater than a preset time threshold.
The determining module 302 is further configured to determine a delay factor that causes the delayed playing time to be greater than the time threshold when the delay processing module 310 determines that the delayed playing time is greater than the time threshold.
And a modification module 311, configured to modify 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 modification policy matched with the delay factor, so as to update the data processing result.
It can be seen that, by implementing the video processing apparatus based on the compatible player described in fig. 4, the acquisition time and the playing time can be intelligently compared to obtain the delayed playing time, so that when it is determined that the delayed playing time is greater than the time threshold, operations of determining the delay factor, delaying the modification policy, and modifying the data processing result are performed, which is beneficial to improving the processing efficiency of playing delay when playing the data processing result, and reducing the probability of playing pause when playing the data processing result.
In another optional embodiment, the manner in which the determining module 302 determines the delay factor that causes the delayed playing time to be greater than the time threshold may specifically include the following operations:
judging whether the data processing capacity of the video data is greater than a preset data processing capacity threshold value or not, and determining that the data processing capacity of the video data is greater than the data processing capacity threshold value as a delay factor causing the delay playing time length to be greater than the time length threshold value when the data processing capacity is judged to be greater than the data processing capacity threshold value;
when the data processing amount is judged to be less than or equal to the data processing amount threshold value, judging whether a backtracking instruction is received or not, and when the backtracking instruction is judged to be received, terminating the operation of determining the delay factor causing the delay playing time length to be greater than the time length threshold value, wherein the backtracking instruction is used for backtracking the current playing picture of the playing data processing result to the playing picture corresponding to the target time, and the target time is any time in the second time set or the time meeting the backtracking requirement included by the backtracking instruction in the second time set;
and when judging that the backtracking instruction is not received, determining the first processing environment as a delay factor causing the delay playing time length to be greater than the time length threshold value.
It can be seen that, implementing the video processing apparatus based on the compatible player described in fig. 4 provides two ways of determining the delay factor that causes the delay playing time to be greater than the time threshold, and when it is determined that the processing amount of the video data is greater than the data processing amount threshold, it is determined 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 the 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 judged to be less than or equal to the data processing amount threshold value, whether a backtracking instruction is received or not is judged, and when the backtracking instruction is judged to be received, the operation of determining the delay factor is terminated, so that the situation that the video data is mistakenly judged to be delayed in playing when backtracking operation is executed for the video data after the backtracking instruction is received is reduced; further, when the judgment result is negative, the first processing environment is determined to be the delay factor, and the determination efficiency of the delay factor and the accuracy of the determination result are improved.
In yet another alternative embodiment, the modifying module 311 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 the following operations:
when the delay factor is that the data processing capacity of the video data is larger than a data processing capacity threshold value, dividing the video data into a plurality of sub-video data according to the delay factor and a predetermined division standard, and respectively processing all the sub-video data to obtain batch processing results;
performing data processing operations on all sub-video data in the batch processing results in batches according to the sequence of the acquisition time based on the compatible player, the analysis standard and the intelligent processing model to obtain batch data processing results so as to update the data processing results into the batch data processing results, wherein the earlier the acquisition time is, the earlier the execution sequence of the corresponding data processing operations 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 modifying the data processing result based on the second processing environment and the compatible player to update the data processing result.
It can be seen that, by implementing the video processing apparatus based on the compatible player described in fig. 4, 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 improved.
In another alternative embodiment, as shown in fig. 4, the video processing apparatus based on a compatible player may further include an obtaining module 312, a comparing module 313, and an exception handling module 314, where:
an obtaining module 312, configured to obtain historical monitoring data of the second monitored object after the second control module 308 controls the video capture device to focus on the viewing angle of the currently monitored second monitored object, where the historical monitoring data includes data that the second monitored object is 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 monitored object collected by the video collection device with the original data of the second monitored object in the normal state, which is stored in the database and acquired by the acquisition module 312, to obtain a comparison result.
The determining module 302 is further configured to determine that the second monitored 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 the exception handling module 314 is configured to determine that the second monitored 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 monitored object, so as to perform an exception handling operation matching the exception identifier for the second monitored object according to the exception identifier.
It can be seen that, by implementing the video processing apparatus based on the compatible player described in fig. 4, after focusing the viewing angle of the currently monitored second monitored object, historical monitoring data of the currently monitored second monitored object and real-time data of the currently monitored second monitored object can be automatically compared, which is beneficial to improving the analysis efficiency of the real-time data of the currently monitored second monitored 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, and the processing efficiency aiming at the abnormal state is favorably improved.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of another video processing apparatus based on a compatible player according to an embodiment of the present invention. As shown in fig. 5, the video processing apparatus based on the compatible player may include:
a memory 401 storing executable program code;
a processor 402 coupled with the memory 401;
the processor 402 calls the executable program code stored in the memory 401 to execute the steps of the video processing method based on the compatible player described in the first embodiment or the second embodiment of the present invention.
EXAMPLE five
The embodiment of the invention discloses a computer storage medium, which stores computer instructions, and the computer instructions are used for executing the steps of the video processing method based on the compatible player described in the first embodiment or the second embodiment of the invention when being called.
EXAMPLE six
An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer storage medium storing a computer program, and the computer program is operable to cause a computer to execute the steps in the video processing method based on a compatible player described in the first embodiment or the second embodiment.
The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, may be located in one place, or may be distributed on 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 the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer storage medium, wherein the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM) or other magnetic disk, a magnetic tape Memory, a magnetic tape, a magnetic disk, a, Or any other medium which can be used to carry or store data and which can be read by a computer.
Finally, it should be noted that: the video processing method and apparatus based on the compatible player disclosed in the embodiments of the present invention are only the preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A video processing method 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 by video acquisition equipment arranged in the target scene;
determining a first processing environment corresponding to the video data currently used for processing;
according to the first processing environment, determining a resolution standard of the compatible player for the video data in the first processing environment;
and executing preset data processing operation on the video data based on the compatible 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.
2. The video processing method based on the compatible player according to claim 1, wherein 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;
after the preset data processing operation is performed on the video data based on the compatible player, the analysis standard and the predetermined intelligent processing model to obtain a data processing result, the method further includes:
judging whether the monitoring progress aiming at the target scene meets a preset progress threshold or not according to the monitoring record and the data processing result;
when the monitoring progress aiming at the target scene is judged to not meet the progress threshold, determining an object to be monitored in the 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 into 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 based on the compatible player according to claim 2, wherein after the preset data processing operation is performed on the video data based on the compatible player, the parsing standard and a predetermined intelligent processing model, and a data processing result is obtained, the method further comprises:
detecting whether a visual angle switching instruction is received, wherein the visual angle switching instruction is used for switching a monitoring visual angle for monitoring the target scene;
when the received 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 currently monitored target scene, and controlling the video acquisition equipment to focus the visual angle of the currently monitored second monitoring object according to a predetermined focusing standard and the space ratio of the second monitoring object in the monitoring range when the second monitoring object is included in the monitoring range;
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 monitored 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. The compatible player-based video processing method according to claim 2 or 3, wherein the method further comprises:
analyzing the target data to obtain acquisition moments corresponding to the video data and a first time set consisting of all the acquisition moments, wherein each acquisition moment corresponds to one frame or a plurality of frames of video images;
playing the data processing result based on the compatible player and acquiring the playing time of the currently played data processing result and a second time set consisting of all the playing times, wherein each playing time corresponds to one frame 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 the 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 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.
5. The method of claim 4, wherein determining the delay factor that results in the delayed play time period being greater than the time period threshold comprises:
judging whether the data processing capacity of the video data is greater than a preset data processing capacity threshold value or not, and when the data processing capacity is judged to be greater than the data processing capacity threshold value, determining that the data processing capacity of the video data is greater than the data processing capacity threshold value as a delay factor causing the delayed playing time to be greater than the time threshold value;
when the data processing amount is judged to be less than or equal to the data processing amount threshold, judging whether a backtracking instruction is received or not, and when the backtracking instruction is judged to be received, terminating the operation of determining a delay factor causing the delay playing time length to be greater 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, and the target time is any one time in the second time set or the target time which meets the backtracking requirement included in the backtracking instruction in the second time set;
and when the backtracking instruction is judged not to be received, determining the first processing environment as a delay factor causing the delay playing time length to be greater than the time length threshold value.
6. The video processing method based on compatible player according to claim 5, wherein said modifying the data processing result according to the delay factor and a predetermined delay modification strategy matching the delay factor to update the data processing result comprises:
when the delay factor is that the data processing capacity of the video data is larger than the data processing capacity threshold, dividing the video data into a plurality of sub-video data according to the delay factor and a predetermined division standard, and respectively processing all the sub-video data to obtain batch processing results;
executing 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 compatible player, the analysis standard and the intelligent processing model to obtain a batch data processing result, and updating the batch data processing result into the batch data processing result, wherein the earlier the acquisition time is, the earlier the execution sequence of the corresponding 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 modifying the data processing result based on the second processing environment and the compatible player to update the data processing result.
7. The compatible player-based video processing method of claim 3, wherein after controlling the video capture device to focus on the perspective currently monitoring the second monitored object, 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 monitored object acquired by the video acquisition equipment with the original data of the second monitored 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;
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 aiming at the second monitoring object so as to execute abnormal processing operation matched with the abnormal identifier aiming at the second monitoring object according to the abnormal identifier.
8. A video processing apparatus based on a compatible player, the apparatus comprising:
the system comprises a collecting module, a processing module and a processing module, wherein the collecting module is used for collecting target data corresponding to a target scene, the target data comprises video data, and the video data is collected by video collecting equipment arranged in the target scene;
the determining module is used for determining a first processing environment corresponding to the video data which is currently used for processing;
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 compatible 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.
9. A video processing apparatus based on a compatible player, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the video processing method based on the compatible player according to any one of claims 1 to 7.
10. A computer storage medium storing computer instructions which, when invoked, perform a compatible player based video processing method according to any one of claims 1 to 7.
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 true CN115086603A (en) 2022-09-20
CN115086603B 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
CN115086603B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
KR101423916B1 (en) Method and apparatus for recognizing the plural number of faces
CN105100748B (en) A kind of video monitoring system and method
CN109413336A (en) Image pickup method, device, electronic equipment and computer readable storage medium
EP2273450A2 (en) Target tracking apparatus, image tracking apparatus, methods of controlling operation of same, and digital camera
US20080273765A1 (en) Image storage device, imaging device, image storage method, and program
EP1914994A1 (en) Detection of gradual transitions in video sequences
CN112019739A (en) Shooting control method and device, electronic equipment and storage medium
CN114463368A (en) Target tracking method and device, electronic equipment and computer readable storage medium
CN114257824B (en) Live broadcast display method and device, storage medium and computer equipment
CN115086603B (en) Video processing method and device based on compatibility player
CN113835028A (en) Automatic detection method for holder motor, terminal and computer readable storage medium
CN110245696A (en) Illegal incidents monitoring method, equipment and readable storage medium storing program for executing based on video
CN113709566A (en) Multimedia content playing method, device, equipment and computer storage medium
JPH0779429A (en) Picture monitor equipment
CN115995135A (en) Control method, device, equipment and medium based on intelligent fire identification
CN108391162B (en) Volume adjustment method and device, storage medium and electronic equipment
CN114143429B (en) Image shooting method, device, electronic equipment and computer readable storage medium
CN113965767B (en) Indoor live broadcast method, terminal equipment and computer readable storage medium
CN116071813A (en) Scene detection method, device, medium and equipment
CN108881984B (en) Method and system for storing screenshot of digital television equipment
CN112423124A (en) Dynamic playing method, device and system based on large-screen video player
CN112702652A (en) Smart home control method and device, storage medium and electronic device
CN112804477A (en) Method and device for determining image parameters of preset points, electronic equipment and storage medium
CN112468727A (en) Automatic shooting control method and device and automatic shooting equipment
CN112383723A (en) Video switching method and device and computer equipment

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