CN112565693B - Method, system and equipment for monitoring video on demand - Google Patents

Method, system and equipment for monitoring video on demand Download PDF

Info

Publication number
CN112565693B
CN112565693B CN202011385822.8A CN202011385822A CN112565693B CN 112565693 B CN112565693 B CN 112565693B CN 202011385822 A CN202011385822 A CN 202011385822A CN 112565693 B CN112565693 B CN 112565693B
Authority
CN
China
Prior art keywords
monitoring video
video
monitoring
video stream
paths
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011385822.8A
Other languages
Chinese (zh)
Other versions
CN112565693A (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.)
Guangdong Rongwen Technology Group Co ltd
Original Assignee
Guangdong Rongwen Technology Group 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 Guangdong Rongwen Technology Group Co ltd filed Critical Guangdong Rongwen Technology Group Co ltd
Priority to CN202011385822.8A priority Critical patent/CN112565693B/en
Publication of CN112565693A publication Critical patent/CN112565693A/en
Application granted granted Critical
Publication of CN112565693B publication Critical patent/CN112565693B/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
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • 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, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • 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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 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
    • 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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Abstract

The application discloses a method, a system and equipment for monitoring video on demand, wherein the method comprises the following steps: the video encoder receives first indication information from a video management server, wherein the first indication information is used for indicating the video encoder to perform first processing on N paths of first monitoring video streams to obtain second monitoring video streams, and the second monitoring video streams are sent to a video management client through UDP (user datagram protocol) connection, and comprise the N paths of first monitoring video streams; performing first processing on the N paths of first monitoring video streams to obtain second monitoring video streams; and sending the second monitoring video stream to a video management client through UDP connection, wherein the second monitoring video stream comprises the N paths of first monitoring video streams. By adopting the embodiment of the application, the bandwidth requirement can be reduced.

Description

Method, system and equipment for monitoring video on demand
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method, system, and device for monitoring video on demand.
Background
Because the display screens used at present are all larger, the images in a plurality of camera channels can be directly watched on the same display screen at the same time. Since video streams in a plurality of camera channels need to be collected and transmitted before pictures of the plurality of camera channels are simultaneously watched on the same screen, the transmission of multiple paths of videos can cause increased bandwidth requirements and delay in video stream transmission.
Disclosure of Invention
The embodiment of the application provides a method, a system and equipment for monitoring video on demand, which are beneficial to reducing bandwidth requirements.
In a first aspect, an embodiment of the present application provides a video on demand monitoring system, including a video management client, a video management server, and a video encoder:
the video management client is configured to send a first monitoring video-on-demand request to the video management server, where the first monitoring video-on-demand request carries a first IP address of the video management client and an identifier of N first target channels, and the first monitoring video-on-demand request is configured to request N first monitoring video streams to be requested simultaneously, where the N first video streams are in one-to-one correspondence with the N first target channels;
the video management server is used for receiving the first monitoring video-on-demand request;
the video management server is further configured to determine, in a video on demand table of the video management server, the video encoder based on the first IP address, a second IP address of the video encoder being associated with the first IP address;
the video management server is further configured to send first indication information to the video encoder, where the first indication information is used to instruct the video encoder to perform first processing on the N paths of first monitoring video streams to obtain a second monitoring video stream, and send the second monitoring video stream to the video management client through a user datagram protocol UDP connection, where the second monitoring video stream includes the N paths of first monitoring video streams;
the video encoder is used for receiving the first indication information;
the video encoder is further configured to perform a first process on the N paths of first monitoring video streams to obtain a second monitoring video stream, and send the second monitoring video stream to the video management client through a UDP connection, where the second monitoring video stream includes the N paths of first monitoring video streams;
wherein the first process comprises the steps of: splicing the N paths of first monitoring video streams to obtain a third monitoring video stream; reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream; and encoding the fourth monitoring video stream to obtain the second monitoring video stream.
In a second aspect, an embodiment of the present application provides a method for monitoring video on demand, where the method includes:
the video management server receives a first monitoring video-on-demand request from a video management client, wherein the first monitoring video-on-demand request carries a first IP address of the video management client and an identifier of N paths of first target channels, the first monitoring video-on-demand request is used for requesting to request N paths of first monitoring video streams simultaneously, and the N paths of first video streams are in one-to-one correspondence with the N paths of first target channels;
determining a video encoder in a monitoring video on demand table of the video management server based on the first IP address, wherein a second IP address of the video encoder is associated with the first IP address;
the method comprises the steps of sending first indication information to a video encoder, wherein the first indication information is used for indicating the video encoder to conduct first processing on N paths of first monitoring video streams to obtain second monitoring video streams, and sending the second monitoring video streams to a video management client, and the second monitoring video streams comprise the N paths of first monitoring video streams.
In a third aspect, an embodiment of the present application provides a method for monitoring video on demand, where the method includes:
the video encoder receives first indication information from the video management server, wherein the first indication information is used for indicating the video encoder to perform first processing on N paths of first monitoring video streams to obtain second monitoring video streams, the second monitoring video streams are sent to the video management client through UDP (user datagram protocol) connection, and the second monitoring video streams comprise the N paths of first monitoring video streams.
In a fourth aspect, an embodiment of the present application provides a method for monitoring video on demand, where the method includes:
the video management client sends a first monitoring video-on-demand request to a video management server, wherein the first monitoring video-on-demand request carries a first IP address of the video management client and an identifier of N paths of first target channels, the first monitoring video-on-demand request is used for requesting to request N paths of first monitoring video streams simultaneously, and the N paths of first video streams are in one-to-one correspondence with the N paths of first target channels;
and receiving a second monitoring video stream from the video encoder, wherein the second monitoring video stream comprises the N paths of first monitoring video streams, and the second monitoring video stream is used for being displayed by the video management client.
In a fifth aspect, an embodiment of the present application provides a video on demand monitoring device, applied to a video encoder, including:
the receiving unit is used for receiving first indication information from the video management server, the first indication information is used for indicating the video encoder to perform first processing on N paths of first monitoring video streams to obtain second monitoring video streams, the second monitoring video streams are sent to the video management client through UDP (user datagram protocol) connection, and the second monitoring video streams comprise the N paths of first monitoring video streams;
the processing unit is used for carrying out first processing on the N paths of first monitoring video streams to obtain second monitoring video streams;
and the sending unit is used for sending the second monitoring video stream to the video management client through UDP connection, wherein the second monitoring video stream comprises the N paths of first monitoring video streams.
It can be seen that, in this embodiment of the present application, first, a video management client sends a first video on demand request to a video management server, where the first video on demand request carries a first IP address of the video management client and an identifier of N paths of first target channels, the first video on demand request is used to request N paths of first video on demand streams simultaneously, then the video management server receives the first video on demand request, determines a video encoder in a video management table of the video management server based on the first IP address, sends first indication information to the video encoder, and the first indication information is used to instruct the video encoder to perform first processing on the N paths of first video on demand streams, so as to obtain a second video on demand stream, and sends the second video on demand stream to the video management client through user UDP connection. The first processing is to splice the N paths of first monitoring video streams to obtain a third monitoring video stream, then reduce the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream, and finally encode the fourth monitoring video stream to obtain a second monitoring video stream, so that the video encoder only needs to transmit one video stream with reduced resolution, which is beneficial to reducing the requirement on bandwidth.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a framework for monitoring video on demand according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for monitoring video on demand according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video on demand monitoring device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
The following will describe in detail.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims of this application and in the drawings, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In the following, some terms in the present application are explained for easy understanding by those skilled in the art.
Referring to fig. 1, fig. 1 is a schematic diagram of a framework of a video on demand monitoring system according to an embodiment of the present application. The monitoring video on demand system comprises a video management client, a video management server and a video encoder.
The video management client is used for decoding the received coded video signals and displaying decoded video information on a screen.
Wherein the video management server is used for managing and responding to video on demand between the video encoder and the video management client.
The video encoder is used for splicing, compressing, buffering and the like the video stream.
The embodiments of the present application are described in detail below.
The embodiment of the application provides a monitoring video-on-demand system, which comprises a video management client, a video management server and a video encoder:
the video management client is configured to send a first monitoring video-on-demand request to the video management server, where the first monitoring video-on-demand request carries a first IP address of the video management client and an identifier of N first target channels, and the first monitoring video-on-demand request is configured to request N first monitoring video streams to be requested simultaneously, where the N first video streams are in one-to-one correspondence with the N first target channels.
The marks of different first target channels are different, the marks can be preset, and the marks can be expressed through letters or numerals.
Wherein the different first target channels correspond to different cameras.
The N paths of first monitoring video streams may be obtained by shooting the same scene by different cameras, or may be obtained by shooting different scenes by different cameras.
And the video management server is used for receiving the first monitoring video-on-demand request.
The video management server is further configured to determine the video encoder in a video on demand table of the video management server based on the first IP address, and a second IP address of the video encoder is associated with the first IP address.
The video management server is further configured to send first indication information to the video encoder, where the first indication information is used to instruct the video encoder to perform first processing on the N paths of first monitoring video streams to obtain a second monitoring video stream, and send the second monitoring video stream to the video management client through a user datagram protocol UDP connection, and the second monitoring video stream includes the N paths of first monitoring video streams.
Wherein the second IP address is stored in association with the first IP address in a monitored video on demand table.
The video encoder is used for receiving the first indication information.
The video encoder is further configured to perform a first process on the N paths of first monitoring video streams to obtain a second monitoring video stream, and send the second monitoring video stream to the video management client through UDP connection, where the second monitoring video stream includes the N paths of first monitoring video streams.
Wherein the first process comprises the steps of: splicing the N paths of first monitoring video streams to obtain a third monitoring video stream; reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream; and encoding the fourth monitoring video stream to obtain the second monitoring video stream.
When the video streams are spliced by adopting the splicing technology, the images of the current frames of different video streams can be spliced.
Optionally, splicing the N paths of first monitoring video streams includes:
obtaining N first images based on the N first monitoring video streams, wherein the N first monitoring video streams are in one-to-one correspondence with the N first images, and each first image is a current frame image of the corresponding first monitoring video stream;
the method comprises the steps that vehicle identification is conducted on N first images, M second images, S third images and T fourth images are determined in the N first images, each second image does not comprise vehicle image information, each third image comprises vehicle image information and license plate image information, each fourth image comprises license plate image information, the sum of S, T and M is N, and S, T and M are integers;
determining a first size of the M second images, a second size of the S third images, and a third size of the T fourth images based on the T, the S, and the M;
and based on the first sizes of the M second images, the second sizes of the S third images and the third sizes of the T fourth images, stitching the M second images, the S third images and the T fourth images.
Optionally, the determining, based on the T, the S, and the M, the first sizes of the M second images, the second sizes of the S third images, and the third sizes of the T fourth images includes:
determining a first size of the M second images based on a first formula, the T, the S, and the M;
determining a third size of the T fourth images based on a second formula, the T, the S, and the M;
a second size of the S third images is determined based on a third formula, the T, the S, and the M.
The first formula is l1= (A1/(a1+a2+a3) -a) ×l, where L1 is a first size of M second images, A1 is a number of second images, A2 is a number of third images, A3 is a number of fourth images, a is a parameter, and may be set according to practical situations, and L is a size that allows display.
The second formula is l3= (A3/(a1+a2+a3) +a) ×l, where L3 is a third size of T fourth images, A1 is the number of second images, A2 is the number of third images, A3 is the number of fourth images, a is a parameter, and may be set according to practical situations, and L is a size that allows display.
The third formula is l2= (L-L1-L3), L2 is the second size of the M third images, L1 is the first size of the M second images, L3 is the size of the T fourth images, and L is the size that allows display.
For example, if there are 3 first monitor video streams (# 1, #2, #3, and # 4), an image #t1 can be obtained by #1, an image #t2 can be obtained by #2, an image #t3 can be obtained by #3, and an image #t4 can be obtained by # 4. Since, after the vehicle identification is performed in #t1, # t2, and #t3, it is found that #t1 does not include the vehicle image information, # t2 includes the vehicle image information but does not include the license plate information, # t3, and #t4 include the vehicle image information. Assuming that a is 0.2, the image #t1 occupies 5% of the size permitted to be displayed, the #t2 occupies 25% of the size permitted to be displayed, and the #t3 and #t4 together occupy 70% of the size permitted to be displayed.
Alternatively, after the size of the S third images, the area occupied by the vehicle image in each third image may be determined, and the size of each third image may be determined based on the area occupied by the vehicle image, wherein the size of each third image may be determined in the same manner as the size of the S third images.
Optionally, after the size of the T fourth images, an area occupied by the license plate image in each fourth image may be determined, and the size of each fourth image may be determined based on the area occupied by the license plate image, where determining the size of each fourth image may be the same as the method of determining the size of the T fourth images.
The size of the current frame image can be determined and displayed according to the image information in the current frame image of the video stream, so that the application range of the video encoder is favorably improved.
Alternatively, the size of the image may also be determined based on the type of vehicle in the image, including vans, cars, tuggers, and the like.
Optionally, the first processing may dynamically adjust a resolution of each path of the first surveillance video stream based on a recognition result of the image in each path of the first surveillance video stream, and splice the first surveillance video streams after the resolution adjustment.
Taking a 4-channel vehicle video stream of a traffic road as an example, the adjustment can be performed based on the recognition result of the target object, namely the vehicle.
Optionally, the first process includes the steps of: if the area or the ratio of the area of the first channel image and the area of the second channel image which are processed currently and contain the vehicle image information is detected to be larger than or equal to a preset threshold value, determining the first resolution of the corresponding image according to the area or the ratio;
if the area or the occupation ratio of the currently processed third channel image and fourth channel image in the image set containing the vehicle image information is detected to be smaller than a preset threshold value, adopting a preset second resolution;
and adjusting the four-channel image according to the determined first resolution and second resolution, and splicing the four-channel image after adjustment.
The detection can be periodic detection, the period can be dynamically set, and the extension can be specifically expanded according to the needs, because too small period can cause larger operation amount to delay and increase, and too fast change of resolution of images displayed by the video management client.
The video encoder can adjust the resolution according to the currently processed image, so that the application range of the video encoder is favorably improved.
It can be seen that, in this embodiment of the present application, first, a video management client sends a first video on demand request to a video management server, where the first video on demand request carries a first IP address of the video management client and an identifier of N paths of first target channels, the first video on demand request is used to request N paths of first video on demand streams simultaneously, then the video management server receives the first video on demand request, determines a video encoder in a video management table of the video management server based on the first IP address, sends first indication information to the video encoder, and the first indication information is used to instruct the video encoder to perform first processing on the N paths of first video on demand streams, so as to obtain a second video on demand stream, and sends the second video on demand stream to the video management client through user UDP connection. The first processing is to splice the N paths of first monitoring video streams to obtain a third monitoring video stream, then reduce the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream, and finally encode the fourth monitoring video stream to obtain a second monitoring video stream, so that the video encoder only needs to transmit one video stream with reduced resolution, which is beneficial to reducing the requirement on bandwidth.
In an implementation manner of the present application, after the video encoder sends the second surveillance video stream to the video management client through a UDP connection, the video management client is further configured to receive the second surveillance video stream and display the second surveillance video stream;
the video management client is further configured to send a second video on demand request to the video management server when receiving a first operation instruction, where the first operation instruction is used to instruct to display a first video on demand stream in a second target channel separately, the N first target channels include the second target channel, the second video on demand request carries an identifier of the second target channel, and the second video on demand request is used to request to order the first video on demand stream in the second target channel separately;
the video management server is further configured to receive the second monitoring video-on-demand request;
the video management server is further configured to send second instruction information to the video encoder, where the second instruction information is used to instruct the video encoder to send the first monitoring video stream in the second target channel to the video management client through UDP connection;
the video encoder is further configured to receive the second indication information;
the video encoder is further configured to send a first monitoring video stream in the second target channel to the video management client through a UDP connection;
the video management client is further configured to receive the first surveillance video stream in the second target channel, and display the first surveillance video stream in the second target channel.
The first operation instruction may be a click instruction or a voice instruction. And receiving the first operation instruction in the screen range occupied by the first monitoring video stream of the second target channel under the condition that the first operation instruction is a click instruction.
The video management client only displays the first monitoring video stream in the second target channel.
Because the video management client sends the second monitoring video on demand request after receiving the first operation instruction, a single video stream can be displayed according to the first operation instruction, which is beneficial to improving the user satisfaction.
As shown in fig. 2, fig. 2 is a flow chart of a method for monitoring video on demand according to an embodiment of the present application, which specifically includes the following steps:
step 201: the video management client sends a first monitoring video-on-demand request which carries a first IP address of the video management client and the identification of N paths of first target channels, wherein the first monitoring video-on-demand request is used for requesting to request N paths of first monitoring video streams simultaneously, and the N paths of first video streams are in one-to-one correspondence with the N paths of first target channels.
Step 202: the video management server receives a first monitoring video-on-demand request, wherein the first monitoring video-on-demand request is used for determining a video encoder in a monitoring video-on-demand table of the video management server based on a first IP address, and a second IP address of the video encoder is associated with the first IP address.
Step 203: the video management server sends first indication information, the first indication information is used for indicating the video encoder to perform first processing on the N paths of first monitoring video streams to obtain second monitoring video streams, the second monitoring video streams are sent to the video management client through User Datagram Protocol (UDP) connection, and the second monitoring video streams comprise the N paths of first monitoring video streams.
Step 204: the video encoder receives first indication information, wherein the first indication information is used for carrying out first processing on the N paths of first monitoring video streams by the video encoder to obtain second monitoring video streams, and the second monitoring video streams are sent to the video management client through User Datagram Protocol (UDP) connection.
Wherein the first process comprises the steps of: splicing the N paths of first monitoring video streams to obtain a third monitoring video stream; reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream; and encoding the fourth monitoring video stream to obtain the second monitoring video stream.
Step 205: the video encoder transmits a second surveillance video stream.
Step 206: the video management client receives a second monitoring video stream, wherein the second monitoring video stream is used for being displayed by the video management client.
It should be noted that, the specific implementation of this embodiment may refer to the specific implementation of the system embodiment described above, which is not described herein.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a monitoring vod apparatus according to an embodiment of the present application, which is applied to a video encoder, and the apparatus includes:
a receiving unit 301, configured to receive first indication information from a video management server, where the first indication information is used to instruct the video encoder to perform first processing on N paths of first surveillance video streams to obtain a second surveillance video stream, and send the second surveillance video stream to a video management client through a UDP connection, where the second surveillance video stream includes the N paths of first surveillance video streams;
the processing unit 302 is configured to perform a first process on the N paths of first monitoring video streams to obtain a second monitoring video stream;
and the sending unit 303 is configured to send the second monitoring video stream to the video management client through a UDP connection, where the second monitoring video stream includes the N paths of first monitoring video streams.
In an implementation of the present application, the first process includes the following steps:
splicing the N paths of first monitoring video streams to obtain a third monitoring video stream;
reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream;
and encoding the fourth monitoring video stream to obtain the second monitoring video stream.
In an implementation of the present application, after the second surveillance video stream is sent to the video management client through UDP, the receiving unit 301 is further configured to execute the following instructions:
and receiving second indication information from the video management server, wherein the second indication information is used for indicating the video encoder to send a first monitoring video stream in a second target channel to the video management client through UDP connection, and the N paths of first target channels comprise the second target channel.
It should be noted that the receiving unit 301, the processing unit 302, and the transmitting unit 303 may be implemented by a processor.
Embodiments of the present application also provide a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program causes a computer to perform some or all of the steps described in the electronic device in the method embodiments described above.
Embodiments of the present application also provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described by an electronic device in the above method. The computer program product may be a software installation package.
The steps of a method or algorithm described in the embodiments of the present application may be implemented in hardware, or may be implemented by executing software instructions by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access Memory (Random Access Memory, RAM), flash Memory, read Only Memory (ROM), erasable programmable Read Only Memory (Erasable Programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, a removable disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in an access network device, a target network device, or a core network device. It is of course also possible that the processor and the storage medium reside as discrete components in an access network device, a target network device, or a core network device.
Those of skill in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application may be implemented, in whole or in part, in software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a digital video disc (Digital Video Disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing embodiments have been provided for the purpose of illustrating the embodiments of the present application in further detail, and it should be understood that the foregoing embodiments are merely illustrative of the embodiments of the present application and are not intended to limit the scope of the embodiments of the present application, and any modifications, equivalents, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application are included in the scope of the embodiments of the present application.

Claims (8)

1. A monitored video on demand system for monitoring traffic roads, the monitored video on demand system comprising a video management client, a video management server and a video encoder:
the video management client is configured to send a first monitoring video-on-demand request to the video management server, where the first monitoring video-on-demand request carries a first IP address of the video management client and an identifier of N first target channels, and the first monitoring video-on-demand request is configured to request N first monitoring video streams to be requested simultaneously, where the N first video streams are in one-to-one correspondence with the N first target channels;
the video management server is used for receiving the first monitoring video-on-demand request;
the video management server is further configured to determine, in a video on demand table of the video management server, the video encoder based on the first IP address, a second IP address of the video encoder being associated with the first IP address;
the video management server is further configured to send first indication information to the video encoder, where the first indication information is used to instruct the video encoder to perform first processing on the N paths of first monitoring video streams to obtain a second monitoring video stream, and send the second monitoring video stream to the video management client through a user datagram protocol UDP connection, where the second monitoring video stream includes the N paths of first monitoring video streams;
the video encoder is used for receiving the first indication information;
the video encoder is further configured to perform a first process on the N paths of first monitoring video streams to obtain a second monitoring video stream, and send the second monitoring video stream to the video management client through a UDP connection, where the second monitoring video stream includes the N paths of first monitoring video streams;
wherein the first process comprises the steps of: identifying images of each first monitoring video stream in the N paths of first monitoring video streams, when the fact that the image of each first monitoring video stream contains vehicle image information and the ratio of the image of each first monitoring video stream is larger than or equal to a preset threshold value is detected, determining a first resolution corresponding to the image of each first monitoring video stream according to the ratio, when the fact that the image of each first monitoring video stream contains vehicle image information and the ratio of the image of each first monitoring video stream is smaller than the preset threshold value is detected, determining a second resolution corresponding to the image of each first monitoring video stream according to the ratio, adjusting the image of the N paths of first monitoring video streams according to the resolution corresponding to the image of each first monitoring video stream, and splicing the N paths of first monitoring video streams to obtain a third monitoring video stream; reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream; and encoding the fourth monitoring video stream to obtain the second monitoring video stream.
2. The system of claim 1, wherein the video encoder is further configured to receive the second surveillance video stream and display the second surveillance video stream after sending the second surveillance video stream to the video management client via a UDP connection;
the video management client is further configured to send a second video on demand request to the video management server when receiving a first operation instruction, where the first operation instruction is used to instruct to display a first video on demand stream in a second target channel separately, the N first target channels include the second target channel, the second video on demand request carries an identifier of the second target channel, and the second video on demand request is used to request to order the first video on demand stream in the second target channel separately;
the video management server is further configured to receive the second monitoring video-on-demand request;
the video management server is further configured to send second instruction information to the video encoder, where the second instruction information is used to instruct the video encoder to send the first monitoring video stream in the second target channel to the video management client through UDP connection;
the video encoder is further configured to receive the second indication information;
the video encoder is further configured to send a first monitoring video stream in the second target channel to the video management client through a UDP connection;
the video management client is further configured to receive the first surveillance video stream in the second target channel, and display the first surveillance video stream in the second target channel.
3. A method of monitoring video on demand comprising:
the video management server receives a first monitoring video-on-demand request from a video management client, wherein the first monitoring video-on-demand request carries a first IP address of the video management client and an identifier of N paths of first target channels, the first monitoring video-on-demand request is used for requesting to request N paths of first monitoring video streams simultaneously, and the N paths of first video streams are in one-to-one correspondence with the N paths of first target channels;
determining a video encoder in a monitoring video on demand table of the video management server based on the first IP address, wherein a second IP address of the video encoder is associated with the first IP address;
sending first indication information to the video encoder, where the first indication information is used to instruct the video encoder to perform first processing on the N paths of first monitoring video streams to obtain second monitoring video streams, and send the second monitoring video streams to the video management client through UDP, where the second monitoring video streams include the N paths of first monitoring video streams;
wherein the first process comprises the steps of: identifying images of each first monitoring video stream in the N paths of first monitoring video streams, when the fact that the image of each first monitoring video stream contains vehicle image information and the ratio of the image of each first monitoring video stream is larger than or equal to a preset threshold value is detected, determining a first resolution corresponding to the image of each first monitoring video stream according to the ratio, when the fact that the image of each first monitoring video stream contains vehicle image information and the ratio of the image of each first monitoring video stream is smaller than the preset threshold value is detected, determining a second resolution corresponding to the image of each first monitoring video stream according to the ratio, adjusting the image of the N paths of first monitoring video streams according to the resolution corresponding to the image of each first monitoring video stream, and splicing the N paths of first monitoring video streams to obtain a third monitoring video stream; reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream; and encoding the fourth monitoring video stream to obtain the second monitoring video stream.
4. A method according to claim 3, wherein after the sending of the first indication information, the method further comprises:
receiving a second monitoring video-on-demand request from the video management client, wherein the second monitoring video-on-demand request carries an identifier of a second target channel, the identifier of the N paths of first target channels comprises the identifier of the second target channel, and the second monitoring video-on-demand request is used for requesting to singly order a first monitoring video stream in the second target channel;
and sending second instruction information to the video encoder, wherein the second instruction information is used for instructing the video encoder to send the first monitoring video stream in the second target channel to the video management client through UDP connection.
5. A method of monitoring video on demand, the method comprising:
the video encoder receives first indication information from a video management server, wherein the first indication information is used for indicating the video encoder to perform first processing on N paths of first monitoring video streams to obtain second monitoring video streams, and the second monitoring video streams are sent to a video management client through UDP (user datagram protocol) connection, and comprise the N paths of first monitoring video streams;
performing first processing on the N paths of first monitoring video streams to obtain second monitoring video streams,
wherein the first process comprises the steps of: identifying images of each first monitoring video stream in the N paths of first monitoring video streams, when the fact that the image of each first monitoring video stream contains vehicle image information and the ratio of the image of each first monitoring video stream is larger than or equal to a preset threshold value is detected, determining a first resolution corresponding to the image of each first monitoring video stream according to the ratio, when the fact that the image of each first monitoring video stream contains vehicle image information and the ratio of the image of each first monitoring video stream is smaller than the preset threshold value is detected, determining a second resolution corresponding to the image of each first monitoring video stream according to the ratio, adjusting the image of the N paths of first monitoring video streams according to the resolution corresponding to the image of each first monitoring video stream, and splicing the N paths of first monitoring video streams to obtain a third monitoring video stream; reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream; encoding the fourth monitoring video stream to obtain the second monitoring video stream;
and sending the second monitoring video stream to a video management client through UDP connection, wherein the second monitoring video stream comprises the N paths of first monitoring video streams.
6. The method of claim 5, wherein the first process comprises the steps of:
splicing the N paths of first monitoring video streams to obtain a third monitoring video stream;
reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream;
and encoding the fourth monitoring video stream to obtain the second monitoring video stream.
7. The method of claim 6, wherein after the sending the second surveillance video stream to the video management client via UDP, the method further comprises:
and receiving second indication information from the video management server, wherein the second indication information is used for indicating the video encoder to send a first monitoring video stream in a second target channel to the video management client through UDP connection, and the N paths of first target channels comprise the second target channel.
8. A surveillance video-on-demand apparatus for use with a video encoder, said apparatus comprising:
the receiving unit is used for receiving first indication information from the video management server, the first indication information is used for indicating the video encoder to perform first processing on N paths of first monitoring video streams to obtain second monitoring video streams, the second monitoring video streams are sent to the video management client through UDP (user datagram protocol) connection, and the second monitoring video streams comprise the N paths of first monitoring video streams;
the processing unit is used for carrying out first processing on the N paths of first monitoring video streams to obtain second monitoring video streams, the processing unit is also used for identifying the image of each path of first monitoring video stream in the N paths of first monitoring video streams, when the duty ratio of the image containing vehicle image information in any path of first monitoring video streams is detected to be larger than or equal to a preset threshold value, the first resolution corresponding to the image in any path of first monitoring video streams is determined according to the duty ratio, when the duty ratio of the image containing vehicle image information in any path of first monitoring video streams is detected to be smaller than the preset threshold value, the second resolution corresponding to the image in any path of first monitoring video streams is determined according to the duty ratio, the image of the N paths of first monitoring video streams is adjusted according to the resolution corresponding to the image of each path of first monitoring video streams, and the N paths of first monitoring video streams are spliced to obtain third monitoring video streams; reducing the resolution of the third monitoring video stream according to a preset proportion to obtain a fourth monitoring video stream; encoding the fourth monitoring video stream to obtain the second monitoring video stream;
and the sending unit is used for sending the second monitoring video stream to the video management client through UDP connection, wherein the second monitoring video stream comprises the N paths of first monitoring video streams.
CN202011385822.8A 2020-11-30 2020-11-30 Method, system and equipment for monitoring video on demand Active CN112565693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011385822.8A CN112565693B (en) 2020-11-30 2020-11-30 Method, system and equipment for monitoring video on demand

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011385822.8A CN112565693B (en) 2020-11-30 2020-11-30 Method, system and equipment for monitoring video on demand

Publications (2)

Publication Number Publication Date
CN112565693A CN112565693A (en) 2021-03-26
CN112565693B true CN112565693B (en) 2023-05-16

Family

ID=75047075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011385822.8A Active CN112565693B (en) 2020-11-30 2020-11-30 Method, system and equipment for monitoring video on demand

Country Status (1)

Country Link
CN (1) CN112565693B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666477B (en) * 2022-03-24 2023-10-13 重庆紫光华山智安科技有限公司 Video data processing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6211901B1 (en) * 1995-06-30 2001-04-03 Fujitsu Limited Video data distributing device by video on demand
CN204481958U (en) * 2015-02-05 2015-07-15 北京维盛视通科技有限公司 Vehicle mounted multimedia control device and system
CN108471513A (en) * 2018-03-28 2018-08-31 国网辽宁省电力有限公司信息通信分公司 Video fusion method, apparatus and server
CN108737781A (en) * 2018-04-27 2018-11-02 浙江大华技术股份有限公司 A kind of method and apparatus of picture detection

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7911497B2 (en) * 2003-04-25 2011-03-22 Lockheed Martin Corporation Method and apparatus for video on demand
CN101170687B (en) * 2007-11-28 2010-07-28 武汉烽火网络有限责任公司 Method for front recording order to penetrate NAT based on video monitoring
US9262668B2 (en) * 2010-05-21 2016-02-16 Honeywell International Inc. Distant face recognition system
CN102215425B (en) * 2011-05-30 2013-01-02 浙江宇视科技有限公司 Method and equipment for realizing live video on demand
CN102307309A (en) * 2011-07-29 2012-01-04 杭州电子科技大学 Somatosensory interactive broadcasting guide system and method based on free viewpoints
CN108063976B (en) * 2017-11-20 2021-11-09 北京奇艺世纪科技有限公司 Video processing method and device
CN110740346B (en) * 2019-10-23 2022-04-22 北京达佳互联信息技术有限公司 Video data processing method, device, server, terminal and storage medium
CN111049850A (en) * 2019-12-23 2020-04-21 北京东土科技股份有限公司 Physical isolation method of video monitoring system and video monitoring system
CN111131725A (en) * 2019-12-25 2020-05-08 上海文化广播影视集团有限公司 System and method for monitoring multi-picture video signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6211901B1 (en) * 1995-06-30 2001-04-03 Fujitsu Limited Video data distributing device by video on demand
CN204481958U (en) * 2015-02-05 2015-07-15 北京维盛视通科技有限公司 Vehicle mounted multimedia control device and system
CN108471513A (en) * 2018-03-28 2018-08-31 国网辽宁省电力有限公司信息通信分公司 Video fusion method, apparatus and server
CN108737781A (en) * 2018-04-27 2018-11-02 浙江大华技术股份有限公司 A kind of method and apparatus of picture detection

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
支持IPv6的多视点视频点播系统;褚玉志;孙立峰;钟玉琢;谢剑;;计算机应用研究(第04期);全文 *

Also Published As

Publication number Publication date
CN112565693A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN110248256B (en) Data processing method and device, storage medium and electronic device
CN109753207B (en) Information processing method and device and storage medium
CN108881931B (en) Data buffering method and network equipment
CN110662100A (en) Information processing method, device and system and computer readable storage medium
WO2021143479A1 (en) Media stream transmission method and system
CN111225228B (en) Video live broadcast method, device, equipment and medium
CN111818295B (en) Image acquisition method and device
CN102883193A (en) Content distribution flow control method
CN112565693B (en) Method, system and equipment for monitoring video on demand
CN113068001B (en) Data processing method, device, equipment and medium based on cascade camera
CN111510735A (en) Encoding transmission method and device for multi-channel video in weak network environment and unmanned vehicle
US9794317B2 (en) Network system and network method
EP3843411A1 (en) Video frame-based media stream bandwidth reduction
CN114363315A (en) Method and system for monitoring playing of screen equipment and storage medium
EP3843415A1 (en) Video image-based media stream bandwidth reduction
US20130007206A1 (en) Transmission apparatus, control method for transmission apparatus, and storage medium
CN113259729B (en) Data switching method, server, system and storage medium
CN113301388A (en) Video stream processing system, device and method
CN111866526B (en) Live broadcast service processing method and device
CN107734278B (en) Video playback method and related device
CN109698932B (en) Data transmission method, camera and electronic equipment
CN112203050B (en) Method and device for continuously transmitting video
TW201441935A (en) System and method of video screenshot
KR102163427B1 (en) Multichannel monitoring system for adaptive to svc codec based network situation
US10237582B2 (en) Video stream processing method and video stream device thereof

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
GR01 Patent grant
GR01 Patent grant