CN108600318B - Monitoring video calling method and device and server - Google Patents

Monitoring video calling method and device and server Download PDF

Info

Publication number
CN108600318B
CN108600318B CN201810244958.3A CN201810244958A CN108600318B CN 108600318 B CN108600318 B CN 108600318B CN 201810244958 A CN201810244958 A CN 201810244958A CN 108600318 B CN108600318 B CN 108600318B
Authority
CN
China
Prior art keywords
video
called
server
code stream
time
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
CN201810244958.3A
Other languages
Chinese (zh)
Other versions
CN108600318A (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.)
Suzhou Keda Technology Co Ltd
Original Assignee
Suzhou Keda Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Keda Technology Co Ltd filed Critical Suzhou Keda Technology Co Ltd
Priority to CN201810244958.3A priority Critical patent/CN108600318B/en
Publication of CN108600318A publication Critical patent/CN108600318A/en
Application granted granted Critical
Publication of CN108600318B publication Critical patent/CN108600318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists

Abstract

The invention discloses a monitoring video calling method, a monitoring video calling device and a server, wherein the method comprises the following steps: the server determines the video monitoring equipment to be called and determines the time for executing the pre-calling video code stream, wherein the time is before the time point that the playing equipment requests to call the video code stream of each video monitoring equipment to be called; when the time is up, the server automatically establishes a network transmission channel with each video monitoring device to be called; the server calls the latest video code stream of each video monitoring device to be called in advance and caches the latest video code stream in the memory of the server; the server receives a calling request of the playing equipment; and the server sends the video code stream of each to-be-called video monitoring device cached in the memory to the playing device. By caching the video code stream of each to-be-called video monitoring device in the memory of the server before the calling request of the playing device, the network transmission channel is prevented from being established when the calling request is called, and the effect of watching the video code stream at any time when the calling request is called is achieved.

Description

Monitoring video calling method and device and server
Technical Field
The invention relates to the technical field of video monitoring, in particular to a monitoring video calling method, a monitoring video calling device and a monitoring video calling server.
Background
With the advancement of national skynet engineering and safe city construction, the high-definition video monitoring system plays an increasingly important role in city security control, management, command and dispatch and national-level large-scale security activities. The skynet project, namely an urban area electronic monitoring system, is a video monitoring system project which utilizes a video monitoring technology and a transmission network to carry out real-time monitoring and information recording on a fixed area so as to meet the requirements of urban public security, prevention and control and urban management.
The skynet project guides the interconnection and intercommunication implementation of a software platform by the national standard (GB/T28181-2016) of a public safety video networking system, and has better expansibility and fusion. The interconnection structure of the public safety video monitoring networking system is specified, and the multi-level platform architecture of the public safety video monitoring networking system is distributed according to the department level, the provincial and the hall level, the city and county level, the branch office and the local. In the GB28181 standard, each stage of video platform needs to establish a network transmission channel between two stages (even between different cascaded servers of the same platform) for transmitting video images and audio each time video and audio transmission and control are performed.
In some application scenarios (e.g., national security campaign, or drilling campaign) requiring real-time invocation of video surveillance equipment, in the prior art, network connections between platforms are generally established stage by stage at the beginning of the campaign. However, different video platforms are built by different manufacturers, and the real-time performance of each platform and the concurrent processing capability of a Session Initiation Protocol (SIP) signaling are greatly different, so that in an application scene with high concurrent access volume and requiring second-level video picture scheduling display, a situation that pictures cannot be instantly switched or even need to be rescheduled easily occurs in a monitoring video of a video monitoring device on a multi-level networking platform, and the effect and the seriousness of warning activities are greatly influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a server for retrieving a surveillance video, so as to solve the problem in the prior art that a video frame is not retrieved in time.
According to a first aspect, an embodiment of the present invention provides a surveillance video retrieving method, including:
the method comprises the steps that a server determines video monitoring equipment to be called and determines time for executing pre-calling video code streams, wherein the time is before a time point when a playing device requests to call the video code streams of the video monitoring equipment to be called;
when the time is up, the server automatically establishes a network transmission channel with each video monitoring device to be called;
the server calls the latest video code stream of each to-be-called video monitoring device in advance and caches the latest video code stream in the memory of the server;
the server receives a calling request of a playing device, wherein the calling request is used for requesting to call the video code stream of each to-be-called video monitoring device in real time;
and the server sends the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
Before the time point that the playing device requests to call the video code stream of each to-be-called video monitoring device, a network transmission channel between a server and each to-be-called video monitoring device is established, and the latest video code stream of each to-be-called video monitoring device is dynamically cached in a memory; the latest video code stream of each to-be-called video monitoring device is cached in the memory of the server before the calling request of the playing device, so that the establishment of a network transmission channel is avoided while the calling request of the playing device is carried out, time guarantee is provided for the successful establishment of the network transmission channel, the effect of watching at any time while calling the request can be achieved, and the satisfaction degree of a user is greatly improved.
With reference to the first aspect, in the first implementation manner of the first aspect, before the determining, by the server, the video monitoring device to be called and the time for executing the pre-call video code stream, the method further includes:
the server receives video preset plan information, wherein the video preset plan information comprises: the method comprises the following steps of video preset plan name, video preset plan execution time, video preset type, video preset plan execution duration and identification of video monitoring equipment to be called.
According to the invention, through the video preset plan information, the server can determine the specific video monitoring equipment to be called, the calling time of the video monitoring equipment to be called and the like according to the requirements of the user. Specifically, through the video preset plan information, a session channel and an audio-video stream transmission channel can be established in the multistage cascade video networking platform, and the implementation video stream of the relevant video monitoring equipment to be called is pushed to the server of the highest platform, so that when the playing equipment needs to call the video of a certain video monitoring equipment to be called, the video code stream of the corresponding video monitoring equipment to be called cached in the server of the highest platform is directly accessed into the playing equipment. In other words, the real-time performance and reliability of video retrieval can be greatly improved by the video pre-scheduling plan information.
With reference to the first aspect or the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the automatically establishing, by the server, a network transmission channel with each video monitoring device to be invoked includes:
the server judges whether the network transmission channel between the server and each video monitoring device to be called is established successfully;
and when the establishment is unsuccessful, reestablishing the network transmission channel at preset time intervals until the corresponding network transmission channel is established successfully.
According to the invention, the network transmission channel is reestablished at preset time intervals under the condition that the first network transmission channel is established unsuccessfully, so that the network transmission channel is successfully established before the calling request of the playing equipment, and the real-time performance and the reliability of video calling are improved.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, when the number of times of unsuccessful establishment reaches a preset value, a notification of establishment failure is sent.
The invention timely sends the notice of failed establishment to notify maintenance personnel to maintain in time or call the video monitoring equipment of the standby scheme under the condition that the network transmission channel cannot be established, thereby ensuring that the condition of video calling failure can not occur and improving the reliability of video calling.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the network transmission channel includes: a conversation channel and an audio-video streaming channel.
According to a second aspect, an embodiment of the present invention provides a surveillance video retrieval apparatus, including:
the determining module is used for determining the video monitoring equipment to be called and determining the time for executing the pre-calling video code stream, wherein the time is before the time point when the playing equipment requests to call the video code stream of each video monitoring equipment to be called;
the network transmission channel establishing module is used for automatically establishing a network transmission channel with each video monitoring device to be called when the time is up;
the calling module is used for calling the latest video code stream of each to-be-called video monitoring device in advance and caching the latest video code stream in a server memory;
the calling request receiving module is used for receiving a calling request of the playing equipment, and the calling request is used for requesting to call the video code stream of each to-be-called video monitoring equipment in real time;
and the video code stream sending module is used for sending the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
According to the invention, the video code stream of each to-be-called video monitoring device is cached in the memory of the server before the calling request of the playing device, so that the establishment of the network transmission channel is avoided when the calling request of the playing device is carried out, time guarantee is provided for the successful establishment of the network transmission channel, the effect of watching at any time when the calling request is carried out can be achieved, and the satisfaction degree of a user is greatly improved.
With reference to the second aspect, in a first embodiment of the second aspect, the method further includes: the video preset plan information receiving module is used for receiving video preset plan information, and the video preset plan information comprises: the method comprises the following steps of video preset plan name, video preset plan execution time, video preset type, video preset plan execution duration and identification of video monitoring equipment to be called.
With reference to the second aspect or the first embodiment of the second aspect, in a second embodiment of the second aspect, the network transmission channel establishing module includes:
the judging submodule is used for judging whether the network transmission channel between the judging submodule and each video monitoring device to be called is successfully established or not;
and the network transmission channel establishing submodule is used for reestablishing the network transmission channel every preset time when the establishment is unsuccessful until the corresponding network transmission channel is established successfully.
According to a third aspect, an embodiment of the present invention provides a server, including: the monitoring video calling method includes a memory and a processor, where the memory and the processor are communicatively connected with each other, and the memory stores computer instructions, and the processor executes the computer instructions to execute the monitoring video calling method according to the first aspect or any one of the embodiments of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute the monitoring video calling method described in the first aspect or any one implementation manner of the first aspect.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
FIG. 1 illustrates an architectural diagram of one specific example of a multi-level platform architecture in the present invention;
fig. 2 shows a specific schematic method flowchart of a surveillance video calling method in embodiment 1 of the present invention;
fig. 3 shows a specific schematic method flowchart of a surveillance video calling method in embodiment 2 of the present invention;
fig. 4 shows a specific schematic method flowchart of a surveillance video calling method in embodiment 3 of the present invention;
fig. 5 is a schematic structural diagram showing a specific example of a surveillance video retrieval apparatus according to embodiment 5 of the present invention;
fig. 6 is a schematic structural diagram showing another specific illustration of the monitoring video retrieving apparatus in embodiment 5 of the present invention;
fig. 7 is a schematic structural diagram showing a specific example of a server in embodiment 6 of the present invention.
Detailed Description
The multi-stage platform architecture of the present invention takes 3-stage platform cascade as an example, but the protection scope of the present invention is not limited to 3-stage platforms, and the number of specific cascade platforms is set correspondingly according to the actual video retrieval. As shown in fig. 1, the first platform in the present invention is the top platform, the third platform is the bottom platform, and the third platform is connected to a plurality of video monitoring devices to be called; and the video monitoring equipment to be called is used for acquiring the audio and video information in the corresponding range. The server is used for extracting video code streams from the video monitoring devices to be called and sending the corresponding video code streams to the playing device. Wherein, the server can be a unified media gateway server. The technical scheme provided by the invention can be applied to important security, drilling or demonstration activities so as to ensure the real-time performance and reliability of calling the monitoring video.
Before the playing device requests to call the video code stream of each to-be-called video monitoring device, a network transmission channel between the server and each to-be-called video monitoring device is established, and the video code stream of the corresponding to-be-called video monitoring device is cached in the memory of the server. When the playing device sends the calling request, the playing device can extract the video code stream of the video monitoring device to be called from the memory of the server in real time.
The foregoing is a core idea of the present application, and in order to make objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
The embodiment provides a surveillance video retrieving method, which can be used in a surveillance video retrieving device, as shown in fig. 2, the method includes the following steps:
and S11, the server determines the video monitoring equipment to be called and determines the time for executing the pre-calling video code stream, wherein the time is before the time point when the playing equipment requests to call the video code stream of each video monitoring equipment to be called.
The time points in the present embodiment are divided into two time points having a time difference. One of the video streams is a time point when the playing device actually requests to call the video code stream of each video monitoring device to be called; and the other is a time point when the server actually calls the video code stream of the video monitoring device to be called, namely a time point when the server executes the pre-calling video code stream. The time point when the server actually calls the video code stream is before the time point actually requested by the playing equipment.
The determination of the video monitoring equipment to be called can be specifically set according to the design of exercise, demonstration or warning routes. For example, the alert route is airport apron number 1, road, hotel, international meeting center, etc. Then, the video monitoring device to be called at the place corresponding to the warning video belongs to the video monitoring device to be called which needs to be determined by the server.
Specifically, the determination of the to-be-called video monitoring device and the time for the server to execute the pre-called video code stream may be stored in the server in advance, or may be input into the server by the user or under other conditions, and it is only required to ensure that the server can determine the to-be-called video monitoring device and determine the time for executing the pre-called video code stream before the time point actually requested by the playing device.
The number of the video monitoring devices to be called can be one or multiple. When a plurality of video monitoring devices to be called are available, the server can determine the time for pre-calling the video code stream from each video monitoring device to be called before the time point actually requested by the playing device.
And S12, when the time is up, the server automatically establishes a network transmission channel with each video monitoring device to be called.
When the earliest time for executing the pre-calling video code stream is reached, the server can simultaneously establish network transmission channels with all the video monitoring equipment to be called, or establish network transmission channels with the corresponding video monitoring equipment to be called according to the time for pre-calling the video code stream.
And S13, the server pre-calls the latest video code stream of each video monitoring device to be called and caches the latest video code stream in the memory of the server.
After the server establishes network connection with each to-be-called video monitoring device, the latest video code stream can be called from each to-be-called video monitoring device, and the called video code stream is cached in the memory of the server.
The storage duration of the video code stream may be set in the server, and when the storage time reaches a certain time, the latest video code stream covers the previously stored video code stream, that is, the video code stream stored in the memory of the server may be the latest video code stream between two I frames (including an I frame).
It should be noted that the queues of the video code streams of the video monitoring devices to be called stored in the memory of the server are different, so as to avoid the mutual influence between the video code streams set by the video monitoring devices to be called.
And S14, the server receives a calling request of the playing device, and the calling request is used for requesting to call the video code stream of each to-be-called video monitoring device in real time.
And when the calling time of the playing equipment is reached, the playing equipment sends a calling request to the server. The calling request is used for requesting to call the video code stream of each to-be-called video monitoring device, namely the video code stream of each to-be-called video monitoring device can be played on the playing device in real time.
And S15, the server sends the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
And the server sends the video code stream of each video monitoring device to be called cached in the memory to the playing device according to the request of the playing device. The server can simultaneously send the video code streams of one or more to-be-called video monitoring devices to the playing device, and specifically send the video code streams of several to-be-called video monitoring devices, depending on the calling request of the playing device.
In the embodiment, before the time point when the playing device requests to call the video code stream of each to-be-called video monitoring device, a network transmission channel between the server and each to-be-called video monitoring device is established, that is, the network transmission channel between the server and each to-be-called video monitoring device is opened in advance; the latest video code stream of each video monitoring device to be called is dynamically cached in a memory; the method and the device can ensure that the video code stream of each to-be-called video monitoring device is cached in the memory of the server before the calling request of the playing device, avoid the situation that the network transmission channel is established only when the calling request of the playing device is sent, provide time guarantee for the successful establishment of the network transmission channel, achieve the effect of watching at any time when the calling request is sent, and greatly improve the satisfaction degree of users.
Example 2
The embodiment provides a surveillance video retrieving method, which can be used in a surveillance video retrieving device, and as shown in fig. 3, the method includes the following steps:
s21, the server receives video preset plan information, wherein the video preset plan information comprises: the method comprises the following steps of video preset plan name, video preset plan execution time, video preset type, video preset plan execution duration and identification of video monitoring equipment to be called.
The user can schedule a plurality of pieces of video preset plan information in advance at different time intervals according to the requirements of major security activities, drills or demonstrations. The video preset planning information comprises: a video preset plan name (e.g., alert line 1, a certain international conference site 2, etc.), a video preset plan execution time (e.g., 10:00 am, 10:30 am, etc.), a video preset type (e.g., plan preset, or instant preset, where instant preset is used to indicate that the preset is set to be executed immediately), a video preset plan execution time duration (e.g., 30min, or 20min, etc.), a to-be-called video monitoring device identifier (e.g., camera 1, camera 2, etc.).
The identification of the video monitoring equipment to be called can be used for numbering the video monitoring equipment to be called along the way in sequence according to the number, and also can be used for numbering according to the line name, and only the identification difference among the video monitoring equipment to be called is required to be ensured, namely, one video monitoring equipment to be called has a unique identification.
Specifically, the video preset scheduling information may be as shown in the following table:
Figure BDA0001606270480000091
and S22, the server determines the video monitoring equipment to be called and determines the time for executing the pre-calling video code stream, wherein the time is before the time point when the playing equipment requests to call the video code stream of each video monitoring equipment to be called.
And the server determines the video monitoring equipment to be called and the time for executing the video code stream to be called from each video monitoring equipment to be called according to the video presetting plan information.
Namely, after the server receives the video preset plan information, the video monitoring equipment to be called and the corresponding preset time can be determined according to the video preset plan information.
And S23, when the time is up, the server automatically establishes a network transmission channel with each video monitoring device to be called.
When the server reaches the pre-calling time, a network transmission channel is automatically established between the server and each to-be-called video monitoring device, wherein the network transmission channel can comprise a session transmission channel and an audio/video stream transmission channel, and can also comprise other transmission channels.
The rest is the same as step S12 in embodiment 1, and will not be described herein again.
And S24, the server pre-calls the latest video code stream of each video monitoring device to be called and caches the latest video code stream in the memory of the server.
Similar to step S13 in embodiment 1, the description is omitted here.
And S25, the server receives a calling request of the playing device, and the calling request is used for requesting to call the video code stream of each to-be-called video monitoring device in real time.
Similar to step S14 in embodiment 1, the description is omitted here.
And S26, the server sends the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
Similar to step S15 in embodiment 1, the description is omitted here.
Compared with embodiment 1, in this embodiment, the server can determine the specific video monitoring device to be called and the calling time of the video monitoring device to be called and the like according to the requirement of the user through the video preset plan information. Specifically, through the video preset plan information, a session channel and an audio-video stream transmission channel can be established in the multistage cascade video networking platform, and the implementation video stream of the relevant video monitoring equipment to be called is pushed to the server of the highest platform, so that when the playing equipment needs to call the video of a certain video monitoring equipment to be called, the video code stream of the corresponding video monitoring equipment to be called cached in the server of the highest platform is directly accessed into the playing equipment. In other words, the real-time performance and reliability of video retrieval can be greatly improved by the video pre-scheduling plan information.
Details of steps not described in detail in this embodiment are please refer to embodiment 1, which are not described herein again.
Example 3
The embodiment provides a surveillance video retrieving method, which can be used in a surveillance video retrieving device, and as shown in fig. 4, the method includes the following steps:
s31, the server receives video preset plan information, wherein the video preset plan information comprises: the method comprises the following steps of video preset plan name, video preset plan execution time, video preset type, video preset plan execution duration and identification of video monitoring equipment to be called.
Similar to step S21 in embodiment 2, the description is omitted here.
And S32, the server determines the video monitoring equipment to be called and determines the time for executing the pre-calling video code stream, wherein the time is before the time point when the playing equipment requests to call the video code stream of each video monitoring equipment to be called.
Similar to step S22 in embodiment 2, the description is omitted here.
And S33, when the time is up, the server automatically establishes a network transmission channel with each video monitoring device to be called.
In this embodiment, when the preset time is reached, the server automatically and circularly establishes a network outgoing channel with each video monitoring device to be called. When the first network transmission channel is failed to be established, the network transmission channel is repeatedly established until the establishment is successful. However, when the number of failed network transmission channel establishment times reaches a preset value, it indicates that a connection failure may occur, and timely sends a notification of the failed establishment, so as to facilitate timely maintenance.
Specifically, the method comprises the following steps:
and S331, the server judges whether the network transmission channel between the server and each video monitoring device to be called is successfully established.
The server automatically executes the related video preset plan information, and establishes a session transmission channel and an audio-video transmission channel of each video monitoring device in the video preset plan information step by step with a lower monitoring platform.
In the process of establishing the network transmission channels, the server judges whether the network transmission channels are established successfully or not. When the network transmission channel is successfully established for the first time, executing step S34; otherwise, step S332 is executed.
Specifically, when the first establishment is successful, the server can call the latest video code stream from the video monitoring equipment to be called; when the first establishment fails, the server needs to be established again to ensure the successful calling of the video code stream.
S332, reestablishing the network transmission channel at preset time intervals until the corresponding network transmission channel is established successfully.
And the server reestablishes the network transmission channel at preset time intervals until the establishment is successful. For example, the server may automatically repeat the call every 15 seconds.
Optionally, in this implementation, the server may also count the number of times of network connection failure established with the same video monitoring device to be called, and when the number of times of connection failure reaches a preset value, it indicates that the network transmission connection cannot be successfully connected and needs to be maintained; or calling the video monitoring equipment of the standby scheme, so that the situation that the calling of the video fails can be avoided.
And S34, the server pre-calls the latest video code stream of each video monitoring device to be called and caches the latest video code stream in the memory of the server.
Similar to step S24 in embodiment 2, the description is omitted here.
And S35, the server receives a calling request of the playing device, and the calling request is used for requesting to call the video code stream of each to-be-called video monitoring device in real time.
Similar to step S25 in embodiment 2, the description is omitted here.
And S36, the server sends the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
Similar to step S26 in embodiment 2, the description is omitted here.
Compared with the method for calling the monitoring video provided by the embodiment 2, the embodiment ensures that the network transmission channel is successfully established before the calling request of the playing device by reestablishing the network transmission channel at preset time intervals under the condition that the first network transmission channel is failed to be established, and improves the real-time performance and the reliability of the video calling.
In addition, according to the video preset plan information, after the calling of the corresponding to-be-called video monitoring equipment is finished, the server can disconnect a network transmission channel between the server and the to-be-called video monitoring equipment so as to save network resources.
Details of the steps not described in detail in this embodiment are please refer to embodiment 2, which are not described herein again.
Example 4
The embodiment provides a specific application example of a monitoring video calling method, which can be used in a monitoring video calling device.
The method comprises the following steps:
1) according to the requirements of important security activities, drills or demonstrations, a plurality of video preset plans are arranged in advance at different time intervals.
2) And editing cameras or other video monitoring equipment which need to be watched in each video preset plan.
3) When the preset execution time of the video preset plan is reached, the server automatically executes the video preset plan, establishes SIP sessions and audio-video stream transmission channels of all the preset cameras step by step with a lower platform, and acquires real-time code streams of the cameras. The camera which is not successfully called can be automatically and repeatedly called until the camera is successfully called.
3) When the client side or the large monitoring screen in the command part needs to call the real-time video of the monitoring camera at the beginning of important security protection, drilling or demonstration, the video in the SIP conversation and audio-video stream transmission channel established in the server is directly called, and at the moment, the server does not need to establish the SIP conversation and audio-video stream transmission channel of each pre-adjusting camera with a lower-level platform step by step.
Through the video pre-tuning technology, the direct audio and video stream transmission pipeline between the monitoring center and the front-end monitoring camera is opened in advance, so that the real-time performance and the reliability of real-time video calling are obviously improved. Specifically, the method comprises the following steps:
1) video pre-scheduling is scheduled in intervals (multiple schedules can be scheduled simultaneously), for example:
video preset plan name: a warning line 1, a certain international conference site;
video preset plan start execution time: for example, 10 a.m.: 00, or 10:30, of a nitrogen-containing gas;
video preset type: plan pre-tuning, or instant pre-tuning (immediately after setting up execution);
presetting plan execution time: for example 30 minutes;
2) setting a camera in a video preset plan, for example: it is possible for the alert route to be set such that,
the system comprises cameras 1, 3 and 4 of a 1 st parking apron of a certain airport, a guard route passed by a fleet along the airport, and a certain hotel.
4) By 10 a.m.: and 30, the server of the monitoring center automatically executes the related video preset plan, starts to establish SIP sessions and audio and video stream transmission channels of all monitoring cameras in the video preset plan step by step with a lower-level monitoring platform, calls the real-time monitoring code stream of the cameras into the server, and caches the latest I frame sequence video code stream of each camera in the memory (without decoding).
5) For a camera which cannot be called successfully for the first time, the server automatically repeats calling periodically, for example, every 15 seconds until the camera is successfully called.
6) For the camera which can not be communicated actually due to various reasons, after the server finds the camera, the server informs maintenance personnel to maintain the camera in time or call the camera of the standby scheme, so that the condition that the video calling fails can not occur.
7) When the execution or the drilling of the security guard route begins, when a client or a monitoring large screen in each command part needs to call the real-time video of the monitoring cameras along the route, the real-time transmission buffer area video in the SIP session and audio and video stream transmission channels established in the server is directly and sequentially called, and the SIP session and audio and video stream transmission channels of each pre-adjusting camera do not need to be established with a lower-level platform step by step.
8) When the video preset plan is over, the server automatically closes the SIP session and audio-video stream transmission channels (except the camera which is currently monitored continuously) of each monitoring camera established in the preset plan.
If some cameras which start to be called immediately need to be added temporarily, an "instant preset plan" can be added in 1), so that after the camera groups of the instant preset plan are set, the server can immediately execute the preset plan.
Example 5
This embodiment provides a surveillance video retrieval apparatus, which is configured to execute the surveillance video retrieval method according to any one of embodiments 1 to 4 of the present invention, as shown in fig. 5, where the apparatus includes:
the determining module 51 is configured to determine the video monitoring devices to be called, and determine a time for executing the pre-called video code stream, where the time is before a time point when the playing device requests to call the video code streams of the video monitoring devices to be called.
And a network transmission channel establishing module 52, configured to automatically establish a network transmission channel with each to-be-called video monitoring device when the time is reached.
And the invoking module 53 is configured to invoke the latest video code stream of each to-be-invoked video monitoring device in advance, and cache the latest video code stream in the server memory.
And a calling request receiving module 54, configured to receive a calling request of a playing device, where the calling request is used to request to call a video code stream of each to-be-called video monitoring device in real time.
And a video code stream sending module 55, configured to send the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
According to the invention, the video code stream of each to-be-called video monitoring device is cached in the memory of the server before the calling request of the playing device, so that the establishment of the network transmission channel is avoided when the calling request of the playing device is carried out, time guarantee is provided for the successful establishment of the network transmission channel, the effect of watching at any time when the calling request is carried out can be achieved, and the satisfaction degree of a user is greatly improved.
As an optional implementation manner of this embodiment, as shown in fig. 6, the surveillance video retrieving apparatus further includes:
a video preset schedule information receiving module 56, configured to receive video preset schedule information, where the video preset schedule information includes: the method comprises the following steps of video preset plan name, video preset plan execution time, video preset type, video preset plan execution duration and identification of video monitoring equipment to be called.
Optionally, the network transmission channel establishing module 52 includes:
and the judging submodule 521 is configured to judge whether the network transmission channel between the video monitoring device to be called and each video monitoring device to be called is successfully established.
The network transmission channel establishing sub-module 522 is configured to reestablish the network transmission channel every preset time when the establishment is unsuccessful until the corresponding network transmission channel is established successfully.
The notification sending sub-module 523 is configured to send a notification of establishment failure when the number of times of unsuccessful establishment reaches a preset value.
Details of steps not described in detail in this embodiment refer to embodiments 1 to 4, which are not described herein again.
Example 6
An embodiment of the present invention further provides a server, as shown in fig. 7, the vehicle terminal may include a processor 61 and a memory 62, where the processor 61 and the memory 62 may be connected by a bus or in another manner, and fig. 7 illustrates an example of a connection by a bus.
The processor 61 may be a Central Processing Unit (CPU). The Processor 61 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 62 is a non-transitory computer readable storage medium, and can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the surveillance video calling method in the embodiment of the present invention (for example, the determining module 51, the network transmission channel establishing module 52, the calling module 53, the calling request receiving module 54, and the video stream transmitting module 55 shown in fig. 5). The processor 61 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 62, that is, implements the surveillance video calling method in the above method embodiment.
The memory 62 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 by the processor 61, and the like. Further, the memory 62 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 62 may optionally include memory located remotely from the processor 61, and these remote memories may be connected to the processor 61 via 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 one or more modules are stored in the memory 62 and, when executed by the processor 61, perform the surveillance video retrieval method in the embodiment shown in fig. 2-4.
The specific details of the vehicle terminal may be understood by referring to the corresponding related descriptions and effects in the embodiments shown in fig. 2 to fig. 4, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (8)

1. A surveillance video retrieval method is characterized by comprising the following steps:
the method comprises the following steps that a server of the uppermost platform receives video preset plan information, wherein the video preset plan information comprises: the method comprises the following steps of (1) obtaining a video preset plan name, a video preset plan execution time, a video preset type, a video preset plan execution duration and a to-be-called video monitoring equipment identifier;
the server determines to-be-called video monitoring equipment according to the video pre-call plan information and determines time for executing pre-called video code streams, wherein the time is before a time point when the playing equipment requests to call the video code streams of the to-be-called video monitoring equipment;
the server establishes a network transmission channel with each to-be-called video monitoring device in sequence according to the time of the pre-called video code stream;
the server calls the latest video code stream of each to-be-called video monitoring device in advance and caches the latest video code stream in the memory of the server;
the server receives a calling request of a playing device, wherein the calling request is used for requesting to call the video code stream of each to-be-called video monitoring device in real time;
and the server sends the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
2. The surveillance video retrieval method according to claim 1, wherein the server automatically establishes a network transmission channel with each of the video surveillance devices to be retrieved, and the method comprises:
the server judges whether the network transmission channel between the server and each video monitoring device to be called is established successfully;
and when the establishment is unsuccessful, reestablishing the network transmission channel at preset time intervals until the corresponding network transmission channel is established successfully.
3. The surveillance video retrieval method of claim 2, wherein a notification of establishment failure is sent when the number of unsuccessful establishment times reaches a preset value.
4. The surveillance video retrieval method according to any one of claims 1 to 3, wherein the network transmission path includes: a conversation channel and an audio-video streaming channel.
5. A surveillance video retrieval apparatus, comprising:
the video preset plan information receiving module is used for receiving video preset plan information by a server of the uppermost-level platform, and the video preset plan information comprises: the method comprises the following steps of (1) obtaining a video preset plan name, a video preset plan execution time, a video preset type, a video preset plan execution duration and a to-be-called video monitoring equipment identifier;
the determining module is used for determining the video monitoring equipment to be called according to the video pre-calling plan information and determining the time for executing the pre-calling video code stream, wherein the time is before the time point when the playing equipment requests to call the video code stream of each video monitoring equipment to be called;
the network transmission channel establishing module is used for the server to automatically establish a network transmission channel with each to-be-called video monitoring device in sequence according to the time of the pre-called video code stream;
the calling module is used for calling the latest video code stream of each to-be-called video monitoring device in advance and caching the latest video code stream in a server memory;
the calling request receiving module is used for receiving a calling request of the playing equipment, and the calling request is used for requesting to call the video code stream of each to-be-called video monitoring equipment in real time;
and the video code stream sending module is used for sending the video code stream of each to-be-called video monitoring device cached in the memory to the playing device.
6. The surveillance video retrieval device according to claim 5, wherein the network transmission path establishing module includes:
the judging submodule is used for judging whether the network transmission channel between the judging submodule and each video monitoring device to be called is successfully established or not;
and the network transmission channel establishing submodule is used for reestablishing the network transmission channel every preset time when the establishment is unsuccessful until the corresponding network transmission channel is established successfully.
7. A server, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the surveillance video calling method according to any one of claims 1 to 4.
8. A computer-readable storage medium storing computer instructions for causing a computer to execute the surveillance video calling method according to any one of claims 1 to 4.
CN201810244958.3A 2018-03-23 2018-03-23 Monitoring video calling method and device and server Active CN108600318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810244958.3A CN108600318B (en) 2018-03-23 2018-03-23 Monitoring video calling method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810244958.3A CN108600318B (en) 2018-03-23 2018-03-23 Monitoring video calling method and device and server

Publications (2)

Publication Number Publication Date
CN108600318A CN108600318A (en) 2018-09-28
CN108600318B true CN108600318B (en) 2021-12-28

Family

ID=63627310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810244958.3A Active CN108600318B (en) 2018-03-23 2018-03-23 Monitoring video calling method and device and server

Country Status (1)

Country Link
CN (1) CN108600318B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951701A (en) * 2019-02-22 2019-06-28 视联动力信息技术股份有限公司 Monitor fault handling method and device
CN112532673B (en) * 2019-09-19 2023-12-05 北京京东振世信息技术有限公司 Message sending method and device, computer readable storage medium and electronic equipment
CN111147952B (en) * 2019-12-26 2022-09-27 视联动力信息技术股份有限公司 Method and device for sending monitoring resource data and storage medium
CN111343422B (en) * 2020-02-20 2023-04-07 视联动力信息技术股份有限公司 Method and device for monitoring recommendation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309393A (en) * 2007-05-17 2008-11-19 中兴通讯股份有限公司 Method and system for inter-cut video monitoring in interactive network television
CN101448072A (en) * 2008-12-29 2009-06-03 北京中星微电子有限公司 Video viewing method and system of Internet video monitoring system
CN103475856A (en) * 2013-07-11 2013-12-25 国家广播电影电视总局广播科学研究院 Video monitoring system applied to broadcast and TV network
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium
CN107566786A (en) * 2017-08-11 2018-01-09 深圳英飞拓科技股份有限公司 A kind of method, apparatus and terminal device for obtaining monitor video

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9392337B2 (en) * 2011-12-22 2016-07-12 Cisco Technology, Inc. Wireless TCP link state monitoring based video content adaptation and data delivery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309393A (en) * 2007-05-17 2008-11-19 中兴通讯股份有限公司 Method and system for inter-cut video monitoring in interactive network television
CN101448072A (en) * 2008-12-29 2009-06-03 北京中星微电子有限公司 Video viewing method and system of Internet video monitoring system
CN103475856A (en) * 2013-07-11 2013-12-25 国家广播电影电视总局广播科学研究院 Video monitoring system applied to broadcast and TV network
CN107566786A (en) * 2017-08-11 2018-01-09 深圳英飞拓科技股份有限公司 A kind of method, apparatus and terminal device for obtaining monitor video
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium

Also Published As

Publication number Publication date
CN108600318A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN108600318B (en) Monitoring video calling method and device and server
CN106331581B (en) Method and device for communication between mobile terminal and video network terminal
US8504635B2 (en) Method and apparatus for IMS support for multimedia session, recording, analysis and storage
CN109889762B (en) Conference control method and device
CN108965780B (en) Display method and system of monitoring picture
CN111010614A (en) Method, device, server and medium for displaying live caption
CN110324580B (en) Monitoring video playing method and device based on video network
US20220209878A1 (en) Method, system and device for pushing information, and storage medium thereof
CN111147789B (en) Method, device and equipment for recording audio and video stream and storage medium
CN108574689B (en) Method and device for video call
CN108235111B (en) Information sharing method and intelligent set top box
CN108924485A (en) Client live video stream interruption processing method and system, monitoring system
CN106254267B (en) Data forwarding path adjusting method and gateway equipment
CN108632635B (en) Data processing method and device based on video network
CN110830763A (en) Monitoring video inspection method and device
CN111131777B (en) Viewing method and device for video network monitoring
US10348951B2 (en) Camera capture for connected devices
CN111556275A (en) Audio and video stream scheduling method and device, commanding and scheduling terminal and storage medium
CN110418105B (en) Video monitoring method and system
CN110198429B (en) Method and device for video conference hierarchical scheduling
CN110099026B (en) Registration method and device for video networking terminal
CN100388781C (en) Conference delay method
CN106358008B (en) Method for avoiding repeated call access and conference television terminal equipment
CN111556284A (en) Method and device for sharing video stream monitored by video network
CN110769183B (en) Video-on-demand method based on video networking, link establishment method, device and system

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