CN108600318A - Monitor video transfers method, apparatus and server - Google Patents
Monitor video transfers method, apparatus and server Download PDFInfo
- Publication number
- CN108600318A CN108600318A CN201810244958.3A CN201810244958A CN108600318A CN 108600318 A CN108600318 A CN 108600318A CN 201810244958 A CN201810244958 A CN 201810244958A CN 108600318 A CN108600318 A CN 108600318A
- Authority
- CN
- China
- Prior art keywords
- video
- called
- server
- monitoring equipment
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23106—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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 kind of monitor videos to transfer method, apparatus and server, wherein method includes:Server determines video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, and the time is before the time point for the video code flow that each video monitoring equipment to be called is transferred in playback equipment request;When reaching the time, server establishes network transmission channels between each video monitoring equipment to be called automatically;Server transfers the newest video code flow of each video monitoring equipment to be called in advance, and is buffered in server memory;Server reception playback equipment transfers request;The video code flow of each video monitoring equipment to be called cached in memory is sent to playback equipment by server.It by before the call request of playback equipment, being cached with the video code flow of each video monitoring equipment to be called in the memory of server, avoids and just establishes network transmission channels in call request, achieve the effect that while call request with cutting with seeing.
Description
Technical field
The present invention relates to technical field of video monitoring, and in particular to a kind of monitor video transfers method, apparatus and server.
Background technology
With the propulsion of national day net engineering and safety urban construction, high-definition video monitoring system urban public security prevention and control,
Increasingly important role has been played in management, command scheduling and national large-scale security activity.Wherein, day net engineering, that is, city
Area's electronic monitoring and control system, refers to meet urban public security prevention and control and city management needs, using Video Supervision Technique and transmission network,
The video monitoring system engineering of real time monitoring and information record is carried out to fixed area.
Its net engineering carrys out guiding software with the national standard (GB/T 28181-2016) of public safety Net Video System
The implementation of interconnecting of platform has relatively good expansion and amalgamation.Which specify public safety video monitoring networking systems
The interconnection architecture of system, on the whole according to ministerial level-province's provincial department level-city it is at county level-the multi-stage platform framework in branch office-local police station.In GB28181
In standard, video platforms at different levels need (or even same between two-stage platform respectively when carrying out video and audio transmission and control every time
Between the different Cascade Servers of one platform) network transmission channels are established, the transmission for video image and audio.
In the application scenarios that some need real-time calling video monitoring equipment (for example, the great security activity of country, or drill
Practice activity), in the prior art, usually when activity starts, the network connection between each platform is established step by step.But due to
Different video platform is by the real-time of different manufacturers construction and each platform and to session initiation protocol (Session
Initiation Protocol, referred to as SIP) oncurrent processing ability of signaling has prodigious otherness, may result in it is high simultaneously
It sends out visit capacity and needs in the application scenarios of second grade video pictures scheduling display, by video monitoring next on multiple cascading networks platform
The monitor video of equipment is susceptible to the case where picture cannot be switched out, even needs to reschedule moment, this can greatly
It influences to guard against movable effect and seriousness.
Invention content
In view of this, an embodiment of the present invention provides a kind of monitor videos to transfer method, apparatus and server, it is existing to solve
There is the problem of transferring not in time of video pictures in technology.
According in a first aspect, an embodiment of the present invention provides a kind of monitor videos to transfer method, including:
Server determines video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, the time
Before the time point for the video code flow that each video monitoring equipment to be called is transferred in playback equipment request;
When reaching the time, the server establishes network between each video monitoring equipment to be called automatically
Transmission channel;
The server transfers the newest video code flow of each video monitoring equipment to be called in advance, and is buffered in institute
It states in server memory;
The server receives the request of transferring of playback equipment, it is described transfer request for ask to transfer in real time it is each described in wait for
Call the video code flow of video monitoring equipment;
The video code flow of each video monitoring equipment to be called cached in memory is sent to described by the server
Playback equipment.
The present invention by playback equipment request transfer each video monitoring equipment to be called video code flow time point it
Before, the network transmission channels between server and each video monitoring equipment to be called are established, and each video monitoring to be called is set
Standby newest video code flow dynamically caches in memory;I.e. before the call request of playback equipment, in server
It has been cached with the newest video code flow of each video monitoring equipment to be called in depositing, has avoided the call request in playback equipment
While just carry out network transmission channels foundation, for network transmission channels be successfully established provide the time guarantee, Neng Gouda
To while call request with cutting the satisfaction that user is greatly improved with the effect seen.
With reference to first aspect, in first aspect first embodiment, video monitoring equipment to be called is determined in server,
And before determining the time for executing and transferring video code flow in advance, further include:
The server receives the presetting plan information of video, and the presetting plan information of video includes:The presetting plan of video
Title, the video presetting plan execution time, video preprocessor tone category type, the presetting plan of video executes duration, video monitoring to be called is set
Standby mark.
The present invention enables the server to the demand according to user by the presetting plan information of video, and determination specifically waits adjusting
With video monitoring equipment and the allocating time etc. of video monitoring equipment to be called.Specifically, believed by the presetting plan of video
Breath, can establish session channel and audio/video flow transmission channel in the video-frequency networking platform of multi-stage cascade, will be related to be called
In the implementation pushing video streaming to the server of most superior platforms of video monitoring equipment, this makes it possible to ensure playback equipment needs
It is just directly corresponding to be called by what is cached in most superior platforms server when having access to the video of some video monitoring equipment to be called
The video code flow of video monitoring equipment is linked into playback equipment.That is, by the presetting plan information of video, video can be made to transfer
Real-time and reliability be highly improved.
With reference to first aspect or first aspect first embodiment, in first aspect second embodiment, the service
Device establishes network transmission channels between each video monitoring equipment to be called automatically, including:
The server judges whether the network transmission channels between each video monitoring equipment to be called are created as
Work(;
When establishing unsuccessful, network transmission channels are re-established every preset time, until corresponding network transmission is logical
Until road is successfully established.
The present invention is by the way that in the case where first time network transmission channels are established and fail, net is re-established every preset time
Network transmission channel ensure that before the call request of playback equipment, be successfully established network transmission channels, improves video and transfers
Real-time and reliability.
Second embodiment with reference to first aspect reaches in first aspect third embodiment when establishing unsuccessful number
When to preset value, the notice for establishing failure is sent.
The present invention by the case of to that can not establish network transmission channels, sending the notice for establishing failure in time, with logical
Know maintenance staff's on-call maintenance, or call the video monitoring equipment of alternative scheme can ensure to be not in transfer video failure
The case where occur, improve the reliability that video is transferred.
With reference to first aspect, first aspect first embodiment, first aspect second embodiment, first aspect third are real
Mode is applied, in the 4th embodiment of first aspect, the network transmission channels include:Session channel and audio/video flow transmission
Channel.
According to second aspect, an embodiment of the present invention provides a kind of monitor videos to transfer device, including:
Determining module for determining video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, institute
The time is stated before the time point for the video code flow that each video monitoring equipment to be called is transferred in playback equipment request;
Network transmission channels establish module, for when reaching the time, automatically with each video monitoring to be called
Network transmission channels are established between equipment;
Module is transferred, the newest video code flow for transferring each video monitoring equipment to be called in advance, and cache
In server memory;
Request receiving module is transferred, the request of transferring for receiving playback equipment, the call request is for asking in real time
Transfer the video code flow of each video monitoring equipment to be called;
Video code flow sending module, for by the video code flow of each video monitoring equipment to be called cached in memory
It is sent to the playback equipment.
The present invention is each to be called by before the call request of playback equipment, being cached in the memory of server
The video code flow of video monitoring equipment avoids and just carries out building for network transmission channels while the call request of playback equipment
It is vertical, for being successfully established for network transmission channels time guarantee is provided, can reached while call request with cutting with seeing
The satisfaction of user is greatly improved in effect.
Further include in second aspect first embodiment in conjunction with second aspect:The presetting plan information of video receives mould
Block, for receiving the presetting plan information of video, the presetting plan information of video includes:The presetting plan name of video claims, video preprocessor
Adjusting plan to execute, the time, video preprocessor tone category type, the presetting plan of video executes duration, video monitoring equipment to be called identifies.
In conjunction with second aspect or second aspect first embodiment, in second aspect second embodiment, the network
Transmission channel establishes module, including:
Judging submodule, for judging whether the network transmission channels between each video monitoring equipment to be called are built
It stands successfully;
Network transmission channels setting up submodule, for when establishing unsuccessful, re-establishing network every preset time and passing
Defeated channel, until corresponding network transmission channels are successfully established.
According to the third aspect, an embodiment of the present invention provides a kind of servers, including:Memory and processor, it is described to deposit
Connection is communicated between reservoir and the processor, computer instruction is stored in the memory, and the processor passes through
The computer instruction is executed, to execute the monitoring described in any one embodiment of first aspect or first aspect
Video transfers method.
It is described computer-readable an embodiment of the present invention provides a kind of computer readable storage medium according to fourth aspect
Storage medium stores computer instruction, and the computer instruction is for making the computer execute first aspect or first aspect
Any one embodiment described in monitor video transfer method.
Description of the drawings
The features and advantages of the present invention can be more clearly understood by reference to attached drawing, attached drawing is schematically without that should manage
Solution is carries out any restrictions to the present invention, in the accompanying drawings:
Fig. 1 shows the configuration diagram of a specific example of the multi-stage platform framework in the present invention;
Fig. 2 shows the method flow diagrams specifically illustrated that the monitor video in the embodiment of the present invention 1 transfers method;
Fig. 3 shows that the monitor video in the embodiment of the present invention 2 transfers a method flow diagram specifically illustrated of method;
Fig. 4 shows that the monitor video in the embodiment of the present invention 3 transfers a method flow diagram specifically illustrated of method;
Fig. 5 shows that the monitor video in the embodiment of the present invention 5 transfers a structural schematic diagram specifically illustrated of device;
Fig. 6 shows that the monitor video in the embodiment of the present invention 5 transfers another structural representation specifically illustrated of device
Figure;
Fig. 7 shows a structural schematic diagram specifically illustrated of the server in the embodiment of the present invention 6.
Specific implementation mode
The multi-stage platform framework of the present invention is by taking 3 grades of platforms cascade as an example, but protection scope of the present invention is not limited to 3 grades
Platform, the specific quantity for cascading platform is transferred according to actual video to be arranged accordingly.As shown in Figure 1, in the present invention
First platform is most superior platforms, and third platform is most subordinate's platform, and third platform connects with several video monitoring equipments to be called
It connects;Video monitoring equipment to be called is used to acquire the audio/video information in corresponding range.Server is used for from each video to be called
Video code flow is extracted in monitoring device, and corresponding video code flow is sent to playback equipment.Wherein, server can be unified
Media Gateway server.Technical solution provided by the present invention can be applied in great security, rehearsal or demonstration activity, to protect
The real-time and reliability that card monitor video is transferred.
The present invention establishes server before the video code flow of each video monitoring equipment to be called is transferred in playback equipment request
With the network transmission channels between each video monitoring equipment to be called, and by the video codes of corresponding video monitoring equipment to be called
Stream is buffered in the memory of server.While request is transferred in playback equipment transmission, playback equipment can be in real time from server
Memory in extract the video code flow of video monitoring equipment to be called.
It is the core concept of the application above, in order to make the object, technical scheme and advantages of the embodiment of the invention clearer,
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described,
Obviously, described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on the implementation in the present invention
Example, the every other embodiment that those skilled in the art are obtained without creative efforts belong to this hair
The range of bright protection.
Embodiment 1
It present embodiments provides a kind of monitor video and transfers method, can be used for monitor video and transfer in device, such as Fig. 2 institutes
Show, this approach includes the following steps:
S11, server determines video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, time
Before the time point for the video code flow that each video monitoring equipment to be called is transferred in playback equipment request.
Time point in the present embodiment is divided into two kinds of time points with the time difference.One of them is that playback equipment is real
The time point of the video code flow of each video monitoring equipment to be called is transferred in border request;It is another to be, server is practical transfer it is to be called
The time point of the video code flow of video monitoring equipment, i.e. server execute the time point for transferring video code flow in advance.Wherein, server
The time point of video code flow is actually transferred before the time point of playback equipment actual request.
Wherein, the determination of video monitoring equipment to be called can be had according to manoeuvre, demonstration or the design for guarding against route
The setting of body.For example, warning route is so-and-so airplane parking area of airport 1, Mou Moulu, so-and-so hotel, so-and-so International Conference Centre, etc.
Deng.So, warning record a video corresponding place video monitoring equipment to be called just belong to server it needs to be determined that it is to be called
Video monitoring equipment.
Specifically, the determination of video monitoring equipment to be called and server execute the time for transferring video code flow in advance, can
It can also be that user is input in server or other situations to be to be previously stored in the server, only need to ensure server
Video monitoring equipment to be called can be can determine before the time point of playback equipment actual request, and determine and execute in advance
Transfer the time of video code flow.
Wherein, video monitoring equipment to be called can be one, can also be multiple.When video monitoring equipment to be called is
When multiple, server can determine before the time point of playback equipment actual request from each video monitoring equipment to be called
In transfer time of video code flow in advance.
S12, when reaching the time, it is logical that server establishes network transmission between each video monitoring equipment to be called automatically
Road.
Server can be established and be needed when earliest needs execute the time arrival for transferring video code flow in advance simultaneously
The network transmission channels between video monitoring equipment are called, can also be to divide and build each other according to the time for transferring video code flow in advance
The vertical network transmission channels between corresponding video monitoring equipment to be called.
S13, server transfer the newest video code flow of each video monitoring equipment to be called in advance, and are buffered in server
In memory.
Server establish with after the network connection of each video monitoring equipment to be called, so that it may with from each video to be called
Newest video code flow is transferred in monitoring device, and the video code flow being deployed into is buffered in server memory.
Wherein, the storage duration of video code flow can be set in the server, when stored between when reaching certain time, most
New video code flow covers the video code flow stored before, i.e., the video code flow stored in the memory of server can be two
The newest video code flow of (including I frames) between a I frames.
It should be noted that the queue that the video code flow of each video monitoring equipment to be called is stored in server memory
Difference, to avoid influencing each other between the video code flow of each video monitoring setting to be called.
S14, server receive the request of transferring of playback equipment, and call request is for asking to transfer each video to be called in real time
The video code flow of monitoring device.
When reaching when transferring the time of playback equipment, playback equipment transfers request to server transmission.Wherein, this, which is transferred, asks
The video code flow for asking to implement to transfer each video monitoring equipment to be called is sought, can in real time be played on playback equipment each
The video code flow of video monitoring equipment to be called.
The video code flow of each video monitoring equipment to be called cached in memory is sent to playback equipment by S15, server.
Request of the server according to playback equipment, by regarding for the corresponding each video monitoring equipment to be called cached in memory
Frequency code stream is sent to playback equipment.Wherein, server can be simultaneously by the video of one or more video monitoring equipments to be called
Code stream is sent to playback equipment, specifically sends the video code flow of several video monitoring equipments to be called, depends on playback equipment
Transfer request.
The present embodiment by playback equipment request transfer each video monitoring equipment to be called video code flow time point
Before, the network transmission channels between server and each video monitoring equipment to be called are established, that is, getting through service in advance
Network transmission channels between device and each video monitoring to be called;And by the newest video codes of each video monitoring equipment to be called
Cache in memory to flowable state;It can ensure before the call request of playback equipment, delay in the memory of server
The video code flow for having each video monitoring equipment to be called avoids while the call request of playback equipment, just carries out net
The foundation of network transmission channel provides time guarantee for being successfully established for network transmission channels, can reach in call request
Simultaneously with cutting the satisfaction that user is greatly improved with the effect seen.
Embodiment 2
It present embodiments provides a kind of monitor video and transfers method, can be used for monitor video and transfer in device, such as Fig. 3 institutes
Show, this approach includes the following steps:
S21, server receive the presetting plan information of video, and the presetting plan information of video includes:The presetting plan of video
Title, the video presetting plan execution time, video preprocessor tone category type, the presetting plan of video executes duration, video monitoring to be called is set
Standby mark.
User can be according to the requirement of great security activity, rehearsal or demonstration, layout a lot of video preprocessor at times in advance
Adjust plan information.In the presetting plan information of video, including:The presetting plan name of video claims that (for example, warning circuit 1, so-and-so is international
Meeting meeting-place 2, etc.), the presetting plan of video executes the time (for example, the morning 10:00, the morning 10:30, etc.), video is presetting
Type (for example, plan is presetting, or immediately presetting, wherein it is immediately presetting for indicate to set execute at once it is presetting), video preprocessor
Plan is adjusted to execute duration (for example, 30min or 20min, etc.), video monitoring equipment to be called mark (for example, camera 1,
Camera 2, etc.).
Wherein, video monitoring equipment mark to be called may be implemented to video monitoring equipment to be called on the way according to quantity
It is numbered, can also be numbered according to line name successively, need to only ensure the mark between each video monitoring equipment to be called
Know difference, i.e. a video monitoring equipment to be called has unique mark.
Specifically, the presetting plan information of video may be used shown in following table:
S22, server determines video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, time
Before the time point for the video code flow that each video monitoring equipment to be called is transferred in playback equipment request.
Server determines video monitoring equipment to be called according to the presetting plan information of video, and from each video to be called
Monitoring device executes the time for transferring video code flow in advance.
I.e. server is after receiving the presetting plan information of video, it will be able to be waited for according to the presetting plan information determination of video
It calls video monitoring equipment and corresponding pre- transfers the time.
S23, when reaching the time, it is logical that server establishes network transmission between each video monitoring equipment to be called automatically
Road.
Server reach it is pre- transfer the time when, it is logical that network transmission is established between each video monitoring equipment to be called automatically
Road, wherein network transmission channels may include session transmissions channel and audio/video flow transmission channel, can also include other biographies
Defeated channel.
Remaining is identical as 1 step S12 of embodiment, and details are not described herein.
S24, server transfer the newest video code flow of each video monitoring equipment to be called in advance, and are buffered in server
In memory.
Identical as 1 step S13 of embodiment, details are not described herein.
S25, server receive the request of transferring of playback equipment, and call request is for asking to transfer each video to be called in real time
The video code flow of monitoring device.
Identical as 1 step S14 of embodiment, details are not described herein.
The video code flow of each video monitoring equipment to be called cached in memory is sent to playback equipment by S26, server.
Identical as 1 step S15 of embodiment, details are not described herein.
The present embodiment compared with Example 1, the present embodiment by the presetting plan information of video, enable the server to according to
The demand at family determines the allocating time etc. of specific video monitoring equipment to be called and video monitoring equipment to be called.Tool
Body, by the presetting plan information of video, session channel and audio and video can be established in the video-frequency networking platform of multi-stage cascade
Steaming transfer channel, by the implementation pushing video streaming to the server of most superior platforms of related video monitoring equipment to be called, this
It, just directly will most superior platforms when sample is to ensure that playback equipment needs to have access to the video of some video monitoring equipment to be called
The video code flow of the corresponding video monitoring equipment to be called cached in server is linked into playback equipment.That is, passing through video preprocessor
Plan information, the real-time and reliability that video can be made to transfer is adjusted to be highly improved.
The step details not being described in detail in the present embodiment, please refers to embodiment 1, details are not described herein.
Embodiment 3
It present embodiments provides a kind of monitor video and transfers method, can be used for monitor video and transfer in device, such as Fig. 4 institutes
Show, this approach includes the following steps:
S31, server receive the presetting plan information of video, and the presetting plan information of video includes:The presetting plan of video
Title, the video presetting plan execution time, video preprocessor tone category type, the presetting plan of video executes duration, video monitoring to be called is set
Standby mark.
Identical as 2 step S21 of embodiment, details are not described herein.
S32, server determines video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, time
Before the time point for the video code flow that each video monitoring equipment to be called is transferred in playback equipment request.
Identical as 2 step S22 of embodiment, details are not described herein.
S33, when reaching the time, it is logical that server establishes network transmission between each video monitoring equipment to be called automatically
Road.
In the present embodiment, when reaching rate time, server automatic cycle is established and each video monitoring equipment to be called
Between network spread out of channel.After first time network transmission channels, which are established, to fail, repeat the foundation of network transmission channels,
Until being successfully established.But it when the frequency of failure that network transmission channels are established reaches preset value, means that and is likely to occur
Connecting fault sends the notice for establishing failure in time, convenient for safeguarding in time.
Specifically, include the following steps:
S331, server judge whether the network transmission channels between each video monitoring equipment to be called are successfully established.
Server executes the presetting plan information of relevant video automatically, establishes server and is established step by step with subordinate monitor supervision platform
The session transmissions channel and audio video transmission channel of each video monitoring equipment in the presetting plan information of video.
During establishing network transmission channels, server judges whether each network transmission channels are successfully established.Work as net
When network transmission channel is successfully established for the first time, step S34 is executed;Otherwise, step S332 is executed.
Specifically, when being successfully established for the first time, server can be transferred newest from video monitoring equipment to be called
Video code flow;When first time establishing failure, server needs re-establish, to ensure that the success of video code flow is transferred.
S332 re-establishes network transmission channels every preset time, until corresponding network transmission channels are successfully established
Until.
Server re-establishes network transmission channels every preset time, until being successfully established.For example, server can
To repeat to transfer automatically every 15s.
Optionally, in this embodiment, server can also be counted establishes network company with same video monitoring equipment to be called
The number for connecing failure, when connection failure number reaches preset value, indicate the network transmission connection can not be successfully connected, need into
Row repair;Or the video monitoring equipment of alternative scheme is transferred, both can guarantee to be not in the case where transferring video failure in this way
Occur.
S34, server transfer the newest video code flow of each video monitoring equipment to be called in advance, and are buffered in server
In memory.
Identical as 2 step S24 of embodiment, details are not described herein.
S35, server receive the request of transferring of playback equipment, and call request is for asking to transfer each video to be called in real time
The video code flow of monitoring device.
Identical as 2 step S25 of embodiment, details are not described herein.
The video code flow of each video monitoring equipment to be called cached in memory is sent to playback equipment by S36, server.
Identical as 2 step S26 of embodiment, details are not described herein.
Compared with the monitor video that embodiment 2 provides transfers method, the present embodiment passes through in first time network transmission channels
In the case of establishing failure, network transmission channels are re-established every preset time, ensure that the call request in playback equipment
Before, network transmission channels are successfully established, real-time and reliability that video is transferred are improved.
In addition, according in the presetting plan information of video, after corresponding video monitoring equipment to be called calls, server
The network transmission channels between the video monitoring equipment to be called can be disconnected, to save Internet resources.
The step details not being described in detail in the present embodiment, please refers to embodiment 2, details are not described herein.
Embodiment 4
The concrete application example that a kind of monitor video transfers method is present embodiments provided, can be used for monitor video and transfer dress
In setting, the video monitoring equipment to be called in this method is camera, and server is unified media gateway server, playback equipment
For the client or monitoring large-size screen monitors in headquarter.
This method includes:
1) according to the requirement of great security activity, rehearsal or demonstration, the presetting plan of layout a lot of video at times in advance.
2) camera or other video monitoring equipments that the presetting needs in the works of each video are retrieved for examination are editted.
3) the video presetting plan predetermined execution time has been arrived, server executes the presetting plan of video automatically, with subordinate's platform
SIP sessions and the audio/video flow transmission channel for establishing each presetting camera step by step, obtain the real-time code stream of these cameras.Not
Transferring successful camera can be repeated to transfer by automatic, until success.
3) great security, rehearsal or demonstration start time have been waited until, the client or monitoring large-size screen monitors in headquarter need
When transferring the real-time video of monitoring camera, just directly transfers in server and have been set up SIP sessions and audio/video flow transmission
Video in channel, at this time server no longer need to establish SIP sessions and the sound of each presetting camera step by step with subordinate platform
Video flowing transmission channel.
By video pre-tone technique, monitoring center is got through in advance and is transmitted with the direct audio/video flow of front end monitoring camera
" pipeline ", the real-time and reliability for so that real-time video is transferred are obviously improved.Specifically, including:
1) the presetting plan (can simultaneously layout multiple) of mark up of video at times, such as:
The presetting plan name of video claims:Warning circuit 1, so-and-so international conference are live ...;
The presetting plan Starting Executing Time of video:Such as the morning 10:00 or 10:30;
Video preprocessor tone category type:Plan presetting or immediately presetting (being executed at once after setting);
Presetting plan executes duration:Such as 30 minutes;
2) the presetting camera in the works of video is set, such as:Warning route can be arranged such that,
The camera 1 for guard's route that so-and-so airplane parking area of airport 1, on the way fleet are passed through, 3,4......, so-and-so hotel.
4) to the morning 10:30, the server of monitoring center will execute the presetting plan of relevant video automatically, start under
Grade monitor supervision platform establishes SIP sessions and the audio/video flow transmission channel of the presetting each monitoring camera in the works of video step by step,
The real time monitoring code stream of camera is deployed into server, and in the newest I frame sequences video of each camera of memory cache
Code stream (need not decode).
5) for that can not transfer successful camera for the first time, server can be regular, for example can be repeated automatically every 15 seconds
It transfers, until success.
6) to for various reasons, the camera that can not be connected to really notifies that maintenance staff are timely after server discovery
Repair, or the camera of alternative scheme is transferred, this ensure that being not in transfer the case where video fails.
7) waited until that security guard's route executes or rehearsal start time, the client or monitoring in each headquarter are big
When screen needs to transfer along the real-time video of road monitoring camera, just directly transfers successively in server and have been set up SIP sessions
With in audio/video flow transmission channel just in the buffering area video of real-time Transmission, it is each without going to establish step by step with subordinate platform again
The SIP sessions of presetting camera and audio/video flow transmission channel.
8) at the end of the presetting plan time-out of video, server can be automatically closed presetting each monitoring established in the works and take the photograph
SIP sessions and audio/video flow transmission channel as head (currently except the camera for continuing to supervise).
If temporary needs increases the camera that some start to transfer at once, " instant presetting meter can be increased in 1)
Draw ", after setting the camera grouping of instant presetting plan in this way, server will be immediately performed the presetting plan.
Embodiment 5
It present embodiments provides a kind of monitor video and transfers device, can be used for executing in the embodiment of the present invention 1 to embodiment 4
Any monitor video transfers method, as shown in figure 5, the device includes:
Determining module 51 for determining video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance,
The time is before the time point for the video code flow that each video monitoring equipment to be called is transferred in playback equipment request.
Network transmission channels establish module 52, for when reaching the time, being supervised automatically with each video to be called
Network transmission channels are established between control equipment.
Module 53 is transferred, the newest video code flow for transferring each video monitoring equipment to be called in advance, and delay
In presence server memory.
Request receiving module 54 is transferred, the request of transferring for receiving playback equipment, the call request is used to ask realistic
When transfer the video code flow of each video monitoring equipment to be called.
Video code flow sending module 55, for by the video codes of each video monitoring equipment to be called cached in memory
Stream is sent to the playback equipment.
The present invention is each to be called by before the call request of playback equipment, being cached in the memory of server
The video code flow of video monitoring equipment avoids and just carries out building for network transmission channels while the call request of playback equipment
It is vertical, for being successfully established for network transmission channels time guarantee is provided, can reached while call request with cutting with seeing
The satisfaction of user is greatly improved in effect.
As a kind of optional embodiment of the present embodiment, as shown in fig. 6, the monitor video transfers device further includes:
The presetting plan information receiving module 56 of video, for receiving the presetting plan information of video, the presetting plan of video
Information includes:The presetting plan name of video claims, the presetting plan of video executes the time, video preprocessor tone category type, the presetting plan execution of video
Duration, video monitoring equipment to be called mark.
Optionally, network transmission channels establish module 52, including:
Judging submodule 521, for judging that the network transmission channels between each video monitoring equipment to be called are
It is no to be successfully established.
Network transmission channels setting up submodule 522, for when establishing unsuccessful, network to be re-established every preset time
Transmission channel, until corresponding network transmission channels are successfully established.
It notifies sending submodule 523, the logical of failure is established for when establishing unsuccessful number and reaching preset value, sending
Know.
The step details not being described in detail in the present embodiment, please refers to embodiment 1 to embodiment 4, details are not described herein.
Embodiment 6
The embodiment of the present invention additionally provides a kind of server, as shown in fig. 7, the vehicle termination may include 61 He of processor
Memory 62, wherein processor 61 can be connected with memory 62 by bus or other modes, to be connected by bus in Fig. 7
It is connected in example.
Processor 61 can be central processing unit (Central Processing Unit, CPU).Processor 61 can be with
For other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
The combination of the chips such as discrete hardware components or above-mentioned all kinds of chips.
Memory 62 is used as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, non-
Transient computer executable program and module are transferred the corresponding program of method such as the monitor video in the embodiment of the present invention and are referred to
Order/module is (for example, determining module shown in fig. 5 51, network transmission channels establish module 52, transfer module 53, transfer request and connect
Receive module 54 and video code flow sending module 55).Processor 61 is stored in the non-transient software journey in memory 62 by operation
Sequence, instruction and module realize above method embodiment to execute various function application and the data processing of processor
In monitor video transfer method.
Memory 62 may include storing program area and storage data field, wherein storing program area can storage program area,
At least one required application program of function;Storage data field can store the data etc. that processor 61 is created.In addition, storage
Device 62 may include high-speed random access memory, can also include non-transient memory, for example, at least a magnetic disk storage
Part, flush memory device or other non-transient solid-state memories.In some embodiments, it includes relative to place that memory 62 is optional
The remotely located memory of device 61 is managed, these remote memories can pass through network connection to processor 61.The reality of above-mentioned network
Example includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 62, when being executed by the processor 61, are executed
Monitor video in embodiment as in Figure 2-4 transfers method.
Above-mentioned vehicle termination detail can be corresponded to refering to corresponding associated description in Fig. 2 to embodiment shown in Fig. 4
Understood with effect, details are not described herein again.
It is that can lead to it will be understood by those skilled in the art that realizing all or part of flow in above-described embodiment method
It crosses computer program and is completed to instruct relevant hardware, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic disc,
CD, read-only memory (Read-OnlyMemory, ROM), random access memory (Random Access Memory,
RAM), flash memory (Flash Memory), hard disk (Hard Disk Drive, abbreviation:) or solid state disk (Solid- HDD
State Drive, SSD) etc.;The storage medium can also include the combination of the memory of mentioned kind.
Although being described in conjunction with the accompanying the embodiment of the present invention, those skilled in the art can not depart from the present invention
Spirit and scope in the case of various modifications and variations can be made, such modifications and variations are each fallen within by appended claims institute
Within the scope of restriction.
Claims (10)
1. a kind of monitor video transfers method, which is characterized in that including:
Server determines video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, and the time is being broadcast
Before the time point for putting the video code flow that device request transfers each video monitoring equipment to be called;
When reaching the time, the server establishes network transmission between each video monitoring equipment to be called automatically
Channel;
The server transfers the newest video code flow of each video monitoring equipment to be called in advance, and is buffered in the clothes
It is engaged in device memory;
The server receives the request of transferring of playback equipment, and the call request is each described to be called for asking to transfer in real time
The video code flow of video monitoring equipment;
The video code flow of each video monitoring equipment to be called cached in memory is sent to the broadcasting by the server
Equipment.
2. monitor video according to claim 1 transfers method, which is characterized in that determine video prison to be called in server
Equipment is controlled, and is determined before executing the pre- time for transferring video code flow, further includes:
The server receives the presetting plan information of video, and the presetting plan information of video includes:The presetting plan name of video claims,
The presetting plan of video executes time, video preprocessor tone category type, the presetting plan execution duration of video, video monitoring equipment mark to be called
Know.
3. monitor video according to claim 1 or 2 transfers method, which is characterized in that the server automatically with each institute
It states and establishes network transmission channels between video monitoring equipment to be called, including:
The server judges whether the network transmission channels between each video monitoring equipment to be called are successfully established;
When establishing unsuccessful, network transmission channels are re-established every preset time, until corresponding network transmission channels are built
Until standing successfully.
4. monitor video according to claim 3 transfers method, which is characterized in that reach default when establishing unsuccessful number
When value, the notice for establishing failure is sent.
5. monitor video according to any one of claim 1 to 4 transfers method, which is characterized in that the network transmission
Channel includes:Session channel and audio/video flow transmission channel.
6. a kind of monitor video transfers device, which is characterized in that including:
Determining module for determining video monitoring equipment to be called, and determines the time for executing and transferring video code flow in advance, when described
Between playback equipment request transfer each video monitoring equipment to be called video code flow time point before;
Network transmission channels establish module, for when reaching the time, automatically with each video monitoring equipment to be called
Between establish network transmission channels;
Module is transferred, the newest video code flow for transferring each video monitoring equipment to be called in advance, and it is buffered in clothes
It is engaged in device memory;
Request receiving module is transferred, the request of transferring for receiving playback equipment, the call request is for asking to transfer in real time
The video code flow of each video monitoring equipment to be called;
Video code flow sending module, for sending the video code flow of each video monitoring equipment to be called cached in memory
To the playback equipment.
7. monitor video according to claim 6 transfers device, which is characterized in that further include:
The presetting plan information receiving module of video, for receiving the presetting plan information of video, the presetting plan information packet of video
It includes:The presetting plan name of video claims, the presetting plan of video executes the time, video preprocessor tone category type, the presetting plan execution duration of video, waits for
Call video monitoring equipment mark.
8. the monitor video described according to claim 6 or 7 transfers device, the network transmission channels establish module, including:
Judging submodule, for judging whether the network transmission channels between each video monitoring equipment to be called are created as
Work(;
Network transmission channels setting up submodule, for when establishing unsuccessful, it is logical to re-establish network transmission every preset time
Road, until corresponding network transmission channels are successfully established.
9. a kind of server, which is characterized in that including:Memory and processor, between the memory and the processor mutually
Communicate connection, be stored with computer instruction in the memory, the processor by executing the computer instruction, to
Perform claim requires the monitor video described in 1-5 to transfer method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to
It enables, the computer instruction is used to make the computer perform claim that the monitor video described in 1-5 be required to transfer method.
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 true CN108600318A (en) | 2018-09-28 |
CN108600318B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109951701A (en) * | 2019-02-22 | 2019-06-28 | 视联动力信息技术股份有限公司 | Monitor fault handling method and device |
CN111147952A (en) * | 2019-12-26 | 2020-05-12 | 视联动力信息技术股份有限公司 | Method and device for sending monitoring resource data and storage medium |
CN111343422A (en) * | 2020-02-20 | 2020-06-26 | 视联动力信息技术股份有限公司 | Method and device for monitoring recommendation |
CN112532673A (en) * | 2019-09-19 | 2021-03-19 | 北京京东振世信息技术有限公司 | Message sending method and device, computer readable storage medium and electronic equipment |
Citations (6)
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 |
US20130167181A1 (en) * | 2011-12-22 | 2013-06-27 | Cisco Technology, Inc. | Wireless tcp link state monitoring based video content adaptation and data delivery |
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 |
-
2018
- 2018-03-23 CN CN201810244958.3A patent/CN108600318B/en active Active
Patent Citations (6)
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 |
US20130167181A1 (en) * | 2011-12-22 | 2013-06-27 | Cisco Technology, Inc. | Wireless tcp link state monitoring based video content adaptation and data delivery |
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 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109951701A (en) * | 2019-02-22 | 2019-06-28 | 视联动力信息技术股份有限公司 | Monitor fault handling method and device |
CN112532673A (en) * | 2019-09-19 | 2021-03-19 | 北京京东振世信息技术有限公司 | Message sending method and device, computer readable storage medium and electronic equipment |
CN112532673B (en) * | 2019-09-19 | 2023-12-05 | 北京京东振世信息技术有限公司 | Message sending method and device, computer readable storage medium and electronic equipment |
CN111147952A (en) * | 2019-12-26 | 2020-05-12 | 视联动力信息技术股份有限公司 | Method and device for sending monitoring resource data and storage medium |
CN111343422A (en) * | 2020-02-20 | 2020-06-26 | 视联动力信息技术股份有限公司 | Method and device for monitoring recommendation |
CN111343422B (en) * | 2020-02-20 | 2023-04-07 | 视联动力信息技术股份有限公司 | Method and device for monitoring recommendation |
Also Published As
Publication number | Publication date |
---|---|
CN108600318B (en) | 2021-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108600318A (en) | Monitor video transfers method, apparatus and server | |
CN101442667B (en) | Interworking system for operation class video monitoring system | |
CN101834905B (en) | Remote document sharing method and remote document sharing server | |
US20220209878A1 (en) | Method, system and device for pushing information, and storage medium thereof | |
EP1708452B1 (en) | Multimodal service session establishing and providing method, multimodal service session establishing and providing system, and corresponding control program | |
CN105763832A (en) | Video interaction and control method and device | |
CN109495761A (en) | Video switching method and device | |
JPH0974548A (en) | Terminal equipment, video conference system and moving image transmission method | |
CN101964904A (en) | Method for realizing live broadcast of television news by using wireless communication network | |
WO2013185655A1 (en) | Method and device for distributing mobile attendant call | |
CN101938494B (en) | Intelligent switching method for media connection modes in safe city video monitoring | |
CN108924603B (en) | Multi-terminal streaming media playing system and method based on WiFi (Wireless Fidelity) defined by software | |
CN106453440A (en) | Recording and broadcasting system | |
WO2015168973A1 (en) | Method and device for wireless video processing, media server, monitoring terminal and system | |
CN115664989A (en) | Monitoring system and method of cloud desktop | |
CN102523236B (en) | Method and equipment for establishing dynamic connection | |
CN107493453A (en) | System and method for netted end-to-end video conference | |
EP2637404B1 (en) | Method and device for controlling multiple auxiliary streams, and network system | |
CN101431669A (en) | Video monitoring system and control method for establishing media stream transmission connection in the same | |
CN107070853A (en) | A kind of Highway Maintenance system based on QT | |
CN112601052A (en) | Video resource integration system applied to internal sharing platform | |
CN109819199B (en) | Method and device for starting conference appointment | |
CN108306984A (en) | A kind of network video monitoring platform | |
CN101753986B (en) | Video monitoring system and wheel cutting control device and method in the video monitoring system | |
CN114598841A (en) | Mobile law enforcement patrol method and related device |
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 |