CN113709522A - Method, device and equipment for processing monitoring video and storage medium - Google Patents

Method, device and equipment for processing monitoring video and storage medium Download PDF

Info

Publication number
CN113709522A
CN113709522A CN202010443835.XA CN202010443835A CN113709522A CN 113709522 A CN113709522 A CN 113709522A CN 202010443835 A CN202010443835 A CN 202010443835A CN 113709522 A CN113709522 A CN 113709522A
Authority
CN
China
Prior art keywords
video
monitoring
videos
sliced
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.)
Pending
Application number
CN202010443835.XA
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202010443835.XA priority Critical patent/CN113709522A/en
Priority to PCT/CN2021/094754 priority patent/WO2021233360A1/en
Publication of CN113709522A publication Critical patent/CN113709522A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for processing a monitoring video. The method comprises the following steps: acquiring at least one monitoring video corresponding to the video request; the video request is sent by at least one client; the at least one monitoring video is respectively sliced to obtain a plurality of sliced videos; scheduling the fragment video in each monitoring video in turn; and carrying out parallel processing on the scheduled segmented videos. The processing of the video is not limited by the parallelism of the monitoring terminal, the processing of multiple paths of videos can be simultaneously supported, and the data concurrent processing capacity of the monitoring equipment is improved.

Description

Method, device and equipment for processing monitoring video and storage medium
Technical Field
The present application relates to the field of surveillance video technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a surveillance video.
Background
In the current video monitoring system, if a monitoring video shot by a front-end device needs to be played, a request instruction needs to be sent to the front-end device to specify the start time and the end time of the video. In this time period, if there is another instruction to the front-end device playback device, the request instruction needs to be sent again to the front-end device. However, the data processing capability of the front-end device is limited, and if a plurality of different request instructions are received in the same time period, the front-end device cannot simultaneously support the processing of multiple paths of videos due to the limitation of the concurrency capability.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for processing a monitoring video, which can simultaneously support the processing of multiple paths of videos and improve the data concurrent processing capacity of monitoring equipment.
In order to achieve the above object, an embodiment of the present application provides a method for processing a surveillance video, including: acquiring at least one monitoring video corresponding to the video request; the video request is sent by at least one client; the at least one monitoring video is respectively sliced to obtain a plurality of sliced videos; scheduling the fragment video in each monitoring video in turn; and carrying out parallel processing on the scheduled segmented videos.
In order to achieve the above object, an embodiment of the present application provides a processing apparatus for monitoring a video, including: the monitoring video acquisition module is used for acquiring at least one monitoring video corresponding to the video request; the video request is sent by at least one client; the fragment video acquisition module is used for respectively fragmenting the at least one monitoring video to obtain a plurality of fragment videos; the segmented video scheduling module is used for scheduling segmented videos in each monitoring video in turn; and the fragment video processing module is used for carrying out parallel processing on the scheduled fragment videos.
In order to achieve the above object, an embodiment of the present application provides a monitoring device, where the device includes a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for implementing connection communication between the processor and the memory, where the program, when executed by the processor, implements a processing method of a monitoring video according to an embodiment of the present application.
To achieve the above object, the present application provides a storage medium for a computer readable storage, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the method for processing a surveillance video according to the present application.
According to the method, the device, the equipment and the storage medium for processing the monitoring videos, at least one monitoring video fragment corresponding to the video request is fragmented to obtain the fragment videos, the fragment videos in each monitoring video are scheduled in turn, and the scheduled fragment videos are processed in parallel, so that the processing of the videos is not limited by the parallelism of the monitoring terminals, the processing of multiple paths of videos can be simultaneously supported, and the data concurrent processing capacity of the monitoring equipment is improved.
Drawings
Fig. 1 is a schematic structural diagram of a monitoring system in an embodiment of the present application;
fig. 2 is a flowchart of a processing method of a surveillance video in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a processing apparatus for monitoring video in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a monitoring device in an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no peculiar meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
In an embodiment, fig. 1 is a schematic structural diagram of a monitoring system in an embodiment of the present application, and as shown in fig. 1, the system includes: the monitoring application server 110, the monitoring platform server 120, the database server 130, the monitoring client 140, the monitoring streaming server 150 and the monitoring terminal 160.
The monitoring application server 110 is configured to provide WEB services, and can open an account for the monitoring terminal 160, open an account for a user, manage device configuration of the entire system, and issue an instruction to the monitoring platform server 120 to manage the monitoring terminal 160 in a browser.
The monitoring platform server 120 is used for loading the monitoring terminal data, the user data and the device data from the database server 130, authenticating the access of the monitoring terminal 160, and managing the monitoring streaming media server 150. Enabling access authentication to the monitoring client 140. The monitoring terminal 160 is instructed to interact with the monitoring application server 110, the database server 130, the monitoring client 140, the monitoring streaming server 150 and the monitoring terminal 160.
The database server 130 is used for storing account opening data of the monitoring terminal, account opening data of the user, system equipment information and other management information.
The monitoring client 140 may interact with the monitoring platform server 120 for operations such as real-time video browsing, front-end video browsing, platform video browsing, PTZ control, and setting of video schedules.
The monitoring streaming media server 150 receives the management of the monitoring platform server 120, receives the multimedia code stream sent by the monitoring terminal 160, and provides the RTSP service to the outside to browse videos such as terminal real-time video, front-end video, platform video and the like.
The monitoring terminal 160 receives the management instruction issued by the monitoring platform server 120, and transmits the code stream of the video, the front-end video, and the like to the monitoring streaming media server 150 designated by the monitoring platform server 120 when the management instruction is completed in a negotiation manner.
In an embodiment, fig. 2 is a flowchart of a method for processing a surveillance video according to an embodiment of the present application, and the embodiment is suitable for a case where surveillance videos are processed in parallel. The embodiment can be implemented by a processing device for monitoring video, and the device can be equipment with a video recording function. As shown in fig. 1, the method provided by the present embodiment includes S210-S240.
S210, at least one monitoring video corresponding to the video request is obtained.
Wherein the video request is sent by at least one client. The video request includes a start time and an end time of the surveillance video. In this embodiment, if the user wants to view the monitoring video in the monitoring terminal, a video request including the start time and the end time of the monitoring video may be sent to the monitoring terminal through the client. One monitoring terminal can simultaneously receive monitoring requests sent by one or more clients and simultaneously respond to a plurality of monitoring requests.
Specifically, when the monitoring terminal receives a video request, the corresponding monitoring video is obtained according to the start time and the end time included in the video request. For example, it is assumed that the monitoring terminal receives video requests sent by two clients, wherein the start time and the end time in one video request are 10 o 'clock-10 o' clock in 5 month and 10 day of 2020, and the start time and the end time in the other video request are 13 o 'clock-14 o' clock in 5 month and 10 day of 2020. The monitoring terminal acquires the corresponding monitoring video according to the two time periods. In this embodiment, the acquired multiple monitoring videos may be understood as multiple processing tasks that the monitoring terminal needs to process in parallel.
S220, at least one monitoring video is respectively sliced to obtain a plurality of sliced videos.
The mode of fragmenting the surveillance video can be fragmentation according to time length or fragmentation according to data volume.
In an embodiment, the process of respectively slicing at least one monitoring video to obtain a plurality of sliced videos may be: acquiring the parallelism of data processing of a monitoring terminal, the maximum speed of the data processing and the overtime duration of playing of a monitoring video; determining the data volume contained in the segmented video according to the number, parallelism, maximum speed and timeout duration of the video requests; and respectively fragmenting at least one monitoring video according to the data volume contained in the fragmented video to obtain a plurality of fragmented videos.
The parallelism and the maximum speed of data processing are determined by the hardware information of the monitoring terminal. The timeout duration of the monitoring video playing can be set according to the requirement for the fluency of the video playing.
In this embodiment, the manner of obtaining the parallelism of the data processing of the monitoring terminal may be: determining the parallelism of data processing according to the hardware information of the monitoring terminal; or determining the parallelism of data processing according to the response result of the monitoring terminal to the video request.
The process of determining the parallelism of the data processing according to the response result of the monitoring terminal to the video requests may be that a set number of clients are controlled to send video requests to the monitoring terminal, if the monitoring terminal responds to the set number of video requests, the number of clients that send video requests to the monitoring terminal is increased until the monitoring terminal does not respond to the increased video requests any more, and the number of video requests that the monitoring terminal responds to is determined as the parallelism of the data processing. And if the monitoring terminal responds to only part of the set number of video requests, determining the number of the video requests responded by the monitoring terminal as the parallelism of data processing.
The number of video requests can be understood as the number of video requests currently received by the monitoring terminal. In this embodiment, the manner of determining the data size included in the sliced video according to the number, the parallelism, the maximum speed, and the timeout duration of the video requests may be: determining the scheduling times within the overtime duration according to the parallelism and the number of the video requests; determining scheduling time according to the scheduling times and the overtime duration; the scheduling time is the time length consumed by scheduling once; and determining the data volume contained in the sliced video according to the scheduling time consumption and the maximum downloading speed.
In this embodiment, when the number D of video requests is greater than the parallelism C, in order to ensure that each monitored video can be played normally within the timeout period T, at least D sliced videos are processed within the timeout period T, and the D sliced videos are respectively from the D monitored videos. In order to ensure that D sliced videos are scheduled in turn within the timeout period T, at least D/C round scheduling is initiated within the timeout period T, C sliced videos are scheduled in each round, and the maximum time consumption of each round of scheduling is T/(D/C) ═ T × C/D. And controlling the monitoring terminal to process the data at the maximum speed S, so that the data volume contained in the segmented video is T C/D S. In this embodiment, in order to ensure that each monitoring video is continuously and normally played, the minimum processing content of each segment video is at least T seconds, that is, the requirement of concurrently processing a plurality of video requests can be met when the condition of (T × C/D) × S > T is to be met, that is, the number of video requests meets D < C × S.
In an embodiment, the at least one monitoring video is respectively sliced according to the data amount contained in the sliced video, and the process of obtaining the plurality of sliced videos may be: acquiring total data volume contained in each monitoring video; and carrying out slicing according to the total data volume and the data volume contained in the sliced video to obtain a plurality of sliced videos.
Specifically, the total number is divided by the data size contained in the sliced video to obtain the number of the sliced video.
For example, assuming that the duration of the surveillance video is H hours, the amount of data included is H × 3600, and the number of the obtained sliced videos is (H × 3600)/(T × C/D × S).
In an embodiment, the slicing according to the duration may be performed by first determining the duration occupied by the sliced video, and then slicing the surveillance video according to the duration occupied by the sliced video to obtain a plurality of sliced videos. For example, assuming the duration occupied by the fragmented videos and the total duration of the surveillance videos is H, the number of the fragmented videos is H/t.
In one embodiment, for a surveillance video under a plurality of tasks needing parallel processing, the surveillance video is sliced according to time, and each task comprises a plurality of sliced videos.
And S230, scheduling the fragment videos in each monitoring video in turn.
The round scheduling may be understood as scheduling the segment videos in each monitoring video in sequence according to a certain sequence, and scheduling one segment video from the scheduled monitoring videos each time. For example, assuming that the obtained surveillance videos include A, B and C, and the parallelism of the surveillance terminal is 2, the fragment videos in a and B are scheduled to be processed first, the fragment videos in C and a are scheduled to be processed next time, and so on until all the fragment videos in the surveillance videos are processed and scheduled.
In one embodiment, the manner of scheduling the sliced video in each monitoring video in turn may be: scheduling the sliced videos with the parallelism number from each monitoring video in turn at intervals of scheduling time consumption; wherein one sliced video is scheduled from the scheduled surveillance videos at a time.
The scheduling time can be understood as a scheduling period, the scheduling time is determined by the scheduling times and the overtime time within the overtime time, and the calculation formula is as follows: t C/D. T is the timeout duration, C is the parallelism, and D is the number of video requests.
In one embodiment, during scheduling, one sliced video is scheduled from one task each time according to a certain sequence, and sliced videos with the number of parallelism degrees are scheduled for parallel processing. And after the scheduled segmented videos are processed, scheduling the segmented videos with the parallelism degree quantity in the next round again for parallel processing.
And S240, performing parallel processing on the scheduled segmented video.
In this embodiment, in order to ensure that each monitored video can be played normally, the scheduled slicing videos with the parallelism number are processed in parallel at the maximum speed. The parallel processing process may be that the monitor terminal creates threads with the parallelism number, one thread processes one fragmented video, and a plurality of threads process the scheduled fragmented video in parallel.
In this embodiment, after the scheduled segment videos are processed in parallel, the processed segment videos are sent to each client to be played.
Illustratively, a monitoring terminal receives video requests sent by M clients, and acquires M monitoring videos corresponding to the M video requests. M tasks corresponding to the to-be-processed monitoring videos are established, and at the moment, M tasks in the monitoring terminal need to be processed in parallel. And if the parallelism of the monitoring terminal is N, slicing the monitoring videos corresponding to the M tasks according to time, wherein each task comprises a plurality of sliced videos. And then, scheduling the sliced videos under the M tasks in turn, scheduling one sliced video from one task each time according to a certain sequence, scheduling N sliced videos for parallel processing, and scheduling N sliced videos of the next round for parallel processing in the next scheduling. Until the M tasks are processed.
The method for processing the monitoring videos provided by the embodiment of the application divides at least one monitoring video slice corresponding to the video request to obtain the divided videos, schedules the divided videos in each monitoring video in turn, and performs parallel processing on the scheduled divided videos, so that the processing of the videos is not limited by the parallelism of the monitoring terminals, the processing of multiple paths of videos can be simultaneously supported, and the data concurrent processing capability of the monitoring equipment is improved.
In an embodiment, fig. 3 is a schematic structural diagram of a processing apparatus for monitoring a video according to an embodiment of the present application. As shown in fig. 3, the apparatus includes: a surveillance video acquisition module 310, a sliced video acquisition module 320, a sliced video scheduling module 330, and a sliced video processing module 340.
A surveillance video obtaining module 310, configured to obtain at least one surveillance video corresponding to the video request; the video request is sent by at least one client;
the segmented video obtaining module 320 is configured to segment at least one monitoring video respectively to obtain a plurality of segmented videos;
the segmented video scheduling module 330 is configured to schedule segmented videos in each monitoring video in turn;
and the segmented video processing module 340 is configured to perform parallel processing on the scheduled segmented videos.
In one embodiment, the sliced video obtaining module 320 is further configured to:
acquiring the parallelism of data processing of a monitoring terminal, the maximum speed of the data processing and the overtime duration of playing of a monitoring video;
determining the data volume contained in the segmented video according to the number, parallelism, maximum speed and timeout duration of the video requests;
and respectively fragmenting at least one monitoring video according to the data volume contained in the fragmented video to obtain a plurality of fragmented videos.
In one embodiment, the sliced video obtaining module 320 is further configured to:
determining the scheduling times within the overtime duration according to the parallelism and the number of the video requests;
determining scheduling time according to the scheduling times and the overtime duration; the scheduling time is the time length consumed by scheduling once;
and determining the data volume contained in the sliced video according to the scheduling time consumption and the maximum downloading speed.
In one embodiment, the sliced video obtaining module 320 is further configured to:
acquiring total data volume contained in each monitoring video;
and carrying out slicing according to the total data volume and the data volume contained in the sliced video to obtain a plurality of sliced videos.
In one embodiment, the sliced video obtaining module 320 is further configured to:
determining the parallelism of data processing according to the hardware information of the monitoring terminal; alternatively, the first and second electrodes may be,
and determining the parallelism of data processing according to the response result of the monitoring terminal to the video request.
In one embodiment, the fragmented video scheduling module 330 is further configured to:
scheduling the sliced videos with the parallelism number from each monitoring video in turn at intervals of scheduling time consumption; wherein one sliced video is scheduled from the scheduled surveillance videos at a time.
In one embodiment, the sliced video processing module 340 is further configured to:
and carrying out parallel processing on the scheduled slicing videos with the parallelism quantity according to the maximum speed.
In an embodiment, fig. 4 is a schematic structural diagram of a monitoring device provided in an embodiment of the present application. As shown in fig. 4, the present application provides an apparatus comprising: a processor 410, and a memory 420. The number of the processors 410 in the device may be one or more, and one processor 410 is taken as an example in fig. 4. The number of the memory 420 in the device may be one or more, and one memory 420 is taken as an example in fig. 4. The processor 410 and the memory 420 of the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The memory 420, which is a computer-readable storage medium, may be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the apparatus of any embodiment of the present application (e.g., the encoding module and the first transmitting module in the data transmission device). The memory 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The provided device can be configured to execute the processing method of the monitoring video provided by any of the above embodiments, and has corresponding functions and effects.
The program stored in the corresponding memory 420 may be program instructions/modules corresponding to the signal processing method provided in the embodiment of the present application, and the processor 410 executes one or more functional applications and data processing of the computer device by executing the software program, instructions and modules stored in the memory 420, that is, implements the processing method applied to the surveillance video in the foregoing method embodiment. It can be understood that the above-mentioned device can execute the processing method of the surveillance video provided in any embodiment of the present application, and has corresponding functions and effects.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for processing surveillance video, the method comprising: acquiring at least one monitoring video corresponding to the video request; the video request is sent by at least one client; the at least one monitoring video is respectively sliced to obtain a plurality of sliced videos; scheduling the fragment video in each monitoring video in turn; and carrying out parallel processing on the scheduled segmented videos.
It will be clear to a person skilled in the art that the term user equipment covers any suitable type of wireless user equipment, such as mobile phones, portable data processing devices, portable web browsers or vehicle-mounted mobile stations.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The Memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read-Only Memory (ROM), Random Access Memory (RAM), optical storage devices and systems (Digital Video Disc (DVD) or Compact Disc (CD)), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
The above description is only exemplary embodiments of the present application, and is not intended to limit the scope of the present application.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or destination code written in any combination of one or more programming languages.
The foregoing has provided by way of exemplary and non-limiting examples a detailed description of exemplary embodiments of the present application. Various modifications and adaptations to the foregoing embodiments may become apparent to those skilled in the relevant arts in view of the following drawings and the appended claims without departing from the scope of the invention. Therefore, the proper scope of the invention is to be determined according to the claims.

Claims (10)

1. A processing method of monitoring video is characterized by comprising the following steps:
acquiring at least one monitoring video corresponding to the video request; the video request is sent by at least one client;
the at least one monitoring video is respectively sliced to obtain a plurality of sliced videos;
scheduling the fragment video in each monitoring video in turn;
and carrying out parallel processing on the scheduled segmented videos.
2. The method of claim 1, wherein the slicing the at least one surveillance video to obtain a plurality of sliced videos comprises:
acquiring the parallelism of data processing of a monitoring terminal, the maximum speed of the data processing and the overtime duration of playing of a monitoring video;
determining the data volume contained in the sliced video according to the number of the video requests, the parallelism, the maximum speed and the timeout duration;
and respectively fragmenting the at least one monitoring video according to the data volume contained in the fragmented video to obtain a plurality of fragmented videos.
3. The method of claim 2, wherein determining the amount of data contained in the sliced video according to the number of video requests, the parallelism, the maximum speed, and the timeout period comprises:
determining the scheduling times within the overtime duration according to the parallelism and the number of the video requests;
determining scheduling time according to the scheduling times and the overtime duration; the scheduling time is the time length consumed by scheduling once;
and determining the data volume contained in the sliced video according to the scheduling time consumption and the maximum downloading speed.
4. The method according to claim 2, wherein the slicing the at least one monitoring video according to the data amount contained in the sliced video to obtain a plurality of sliced videos comprises:
acquiring total data volume contained in each monitoring video;
and carrying out fragmentation according to the total data volume and the data volume contained in the fragmented video to obtain a plurality of fragmented videos.
5. The method of claim 2, wherein obtaining the parallelism of the data processing of the monitoring terminal comprises:
determining the parallelism of data processing according to the hardware information of the monitoring terminal; alternatively, the first and second electrodes may be,
and determining the parallelism of data processing according to the response result of the monitoring terminal to the video request.
6. The method of claim 3, wherein scheduling the sliced video in each of the monitored videos in turn comprises:
scheduling the slicing videos with the parallelism number in turn from each monitoring video every other scheduling time consumption; wherein one sliced video is scheduled from the scheduled surveillance videos at a time.
7. The method of claim 6, wherein processing the scheduled sliced videos in parallel comprises:
and carrying out parallel processing on the scheduled sliced videos with the parallelism quantity according to the maximum speed.
8. A surveillance video processing apparatus, comprising:
the monitoring video acquisition module is used for acquiring at least one monitoring video corresponding to the video request; the video request is sent by at least one client;
the fragment video acquisition module is used for respectively fragmenting the at least one monitoring video to obtain a plurality of fragment videos;
the segmented video scheduling module is used for scheduling segmented videos in each monitoring video in turn;
and the fragment video processing module is used for carrying out parallel processing on the scheduled fragment videos.
9. A monitoring device, characterized in that the device comprises a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for enabling connection communication between the processor and the memory, the program, when executed by the processor, implementing a method of processing a monitoring video according to any one of claims 1 to 7.
10. A storage medium for computer-readable storage, wherein the storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement the method of processing surveillance video according to any one of claims 1-7.
CN202010443835.XA 2020-05-22 2020-05-22 Method, device and equipment for processing monitoring video and storage medium Pending CN113709522A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010443835.XA CN113709522A (en) 2020-05-22 2020-05-22 Method, device and equipment for processing monitoring video and storage medium
PCT/CN2021/094754 WO2021233360A1 (en) 2020-05-22 2021-05-20 Method and apparatus for processing surveillance video, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010443835.XA CN113709522A (en) 2020-05-22 2020-05-22 Method, device and equipment for processing monitoring video and storage medium

Publications (1)

Publication Number Publication Date
CN113709522A true CN113709522A (en) 2021-11-26

Family

ID=78646650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010443835.XA Pending CN113709522A (en) 2020-05-22 2020-05-22 Method, device and equipment for processing monitoring video and storage medium

Country Status (2)

Country Link
CN (1) CN113709522A (en)
WO (1) WO2021233360A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964894B (en) * 2010-08-24 2012-11-14 中国科学院深圳先进技术研究院 Method and system for parallel trans-coding of video slicing
CN103458270B (en) * 2013-09-09 2017-01-18 融创天下(上海)科技发展有限公司 video transcoding system and method
CN106686406B (en) * 2015-11-05 2019-05-17 中国电信股份有限公司 For realizing the pretreated method and apparatus of video real-time transcoding
US10951906B2 (en) * 2018-08-16 2021-03-16 Bombbomb, Inc. Method and system for implementing split and parallelized encoding or transcoding of audio and video content

Also Published As

Publication number Publication date
WO2021233360A1 (en) 2021-11-25

Similar Documents

Publication Publication Date Title
CN105451087B (en) Method for pushing, terminal, historic data server and the system of barrage information
CN109766253B (en) Performance data sending method and device, computer equipment and storage medium
WO2019109513A1 (en) Resource updating method and system, electronic device, and medium
US9942305B2 (en) Method and apparatus for resource downloading over a network from multiple sources
CN110618869B (en) Resource management method, device and equipment
US10642662B2 (en) Method for application action synchronization, terminal device, and storage medium
CN105786539B (en) File downloading method and device
CN106126335A (en) The Media Survey method of terminal unit and terminal unit
CN110636367A (en) Video loading method and device, terminal equipment and medium
CN109657164B (en) Method, device and storage medium for publishing message
CN115562744A (en) Application program loading method and electronic equipment
CN107908730B (en) Method and device for downloading data
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN116483785A (en) File transmission scheduling method, device, equipment and computer readable storage medium
KR20030015234A (en) Method of AND system for withdrawing budget from a blocking task
US20070033239A1 (en) Preloading resources from data carousel of broadcast file system
US10798437B2 (en) Systems and methods for predictive media file transfer to user-carried storage components
CN113709522A (en) Method, device and equipment for processing monitoring video and storage medium
CN115981871A (en) GPU resource scheduling method, device, equipment and storage medium
US11042204B2 (en) System and method for managing electric power consumption
CN115269063A (en) Process creation method, system, device and medium
CN112416641A (en) Controlled end node restart detection method in master-slave architecture and master control end node
CN112423099A (en) Video loading method and device and electronic equipment
US20030126135A1 (en) Remote resource management of local devices
CN113992493A (en) Video processing method, system, device and storage medium

Legal Events

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