CN102036058A - Method, server, terminal and system for switching videos in video monitoring system - Google Patents

Method, server, terminal and system for switching videos in video monitoring system Download PDF

Info

Publication number
CN102036058A
CN102036058A CN2010105967183A CN201010596718A CN102036058A CN 102036058 A CN102036058 A CN 102036058A CN 2010105967183 A CN2010105967183 A CN 2010105967183A CN 201010596718 A CN201010596718 A CN 201010596718A CN 102036058 A CN102036058 A CN 102036058A
Authority
CN
China
Prior art keywords
video
rtsp
request
terminal
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105967183A
Other languages
Chinese (zh)
Other versions
CN102036058B (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
Nanjing ZTE New Software 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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201010596718.3A priority Critical patent/CN102036058B/en
Publication of CN102036058A publication Critical patent/CN102036058A/en
Application granted granted Critical
Publication of CN102036058B publication Critical patent/CN102036058B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a method, a server, a terminal and a system for switching videos in a video monitoring system. The method comprises the following steps of: receiving a video playing request sent by the terminal by a service processing server; when the video playing request is a switching playing request, finding the currently stored SESSION information; and acquiring a real time streaming protocol (RTSP) universal resource locator (URL) link and a parameter list of the switched video playing according to the SESSION information and the switching playing request, sending to the terminal to ensure that the terminal can modify a RTSP control session according to acquired parameters and request a streaming server for RTSP playing. When the video terminal switches the videos, part of parameters in the session information are modified according to the parameter list which is returned by the video service processing server by using currently stored SESSION information, and the authentication batch value is not needed to be re-established and uniform coding is not needed, delay caused during the switching of shooting channels in the video monitoring is reduced, and simultaneously, the time required by switching is reduced and usability of a user can be improved by using the resources of the conventional RTSP session, a realtime transport control protocol (RTCP) and the like.

Description

The method of video switch, server, terminal and system in the video monitoring system
Technical field
The present invention relates to technical field of video monitoring, relate in particular to method, server, terminal and the system of video switch in a kind of video monitoring system.
Background technology
Video monitoring is widely used in all trades and professions as the important component part of safety-security area, no matter be finance, traffic, commerce, public security, dwelling house, video monitoring has all been brought into play important effect.Along with the fast development of technology such as computer, Network Transmission and image processing, the application of video monitoring in the modern life more and more widely, demand is also increasing.
The display terminal of present video monitoring system comprises video wall, tabletop display, portable terminal etc.Wherein video wall can directly carry out the selection of a plurality of different camera passages because display screen is bigger on screen, perhaps shows a plurality of camera channel image simultaneously, and the problem that is monitored object can not occur losing.And tabletop display and portable terminal, because the reason that screen is little, often can only show the picture that single camera is caught, especially under the less situation of mobile terminal screen, at this moment, the monitoring range that certain object of which movement in guarded region has left camera enters the monitoring range of another camera, the user is manually switched to another camera, when perhaps system automatically switches to another camera, all need to turn off earlier current monitoring camera, return the shooting of camera channel selecting, ask another camera picture.
But, because when terminal is switched camera passage picture in request, need carry out the authentication wholesale price earlier, operations such as recompile, only after these preconditions satisfy, the video monitoring terminal could be play the camera passage picture after switching, and has increased the difficulty that camera passage picture switches thus, and has increased the needed time of video switch.
Summary of the invention
Main purpose of the present invention is to provide method, server, terminal and the system of video switch in a kind of video monitoring system, is intended to reduce the delay during the shooting passage switches in the video monitoring, improves video switch speed.
In order to achieve the above object, the present invention proposes the method for video switch in a kind of video monitoring system, comprising:
The video playback request that the Service Process Server receiving terminal sends;
When described video playback request is when switching playing request, search the SESSION information of current preservation;
According to described SESSION information and switch RTSP URL link and the parameter list that playing request is obtained the video playback after the switching, be sent to described terminal, so that described terminal is play to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
Preferably, described step of searching the SESSION information of current preservation also comprises afterwards:
When searching less than described SESSION information, Service Process Server sends authentication request to authenticating unit;
Receive the authenticating result that described authenticating unit is returned, preserve current request session SESSION;
Return broadcast URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcast URL.
The present invention also proposes the method for video switch in a kind of video monitoring system, comprising:
Terminal sends the video switch playing request to Service Process Server;
Receive the RTSP URL link and the parameter list of the video playback after the switching that described Service Process Server obtains according to the SESSION information of described switching playing request and current preservation;
According to the parameter change RTSP control session of obtaining, play to streaming media server request RTSP.
Preferably, parameter change RTSP that described basis is obtained control session comprises to the step of streaming media server request video:
The parameter that the terminal utilization is obtained substitutes in progress RTSP relevant parameter, change RTSP control session;
Send the RTSP playing request according to the control of the RTSP after described change session to streaming media server;
The code stream that the receiving stream media server obtains from the shooting passage.
Preferably, described terminal also comprises to the step that Service Process Server sends the video switch playing request before:
When terminal was carried out the video playback request first, terminal sent the video playback request to Service Process Server;
Receive Service Process Server and carry out the broadcast URL that returns after the authentication process;
Send initial message by described broadcast URL to streaming media server;
The initialization response message that the receiving stream media server returns;
Setting up RTSP with streaming media server links;
Link the orbital data of the current media file of receiving stream media Server Transport by described RTSP.
The present invention also proposes the server of video switch in a kind of video monitoring system, comprising:
The playing request receiver module is used for the video playback request that receiving terminal sends;
SESSION searches module, is used for searching the SESSION information of current preservation when described video playback request is the switching playing request;
The parameter acquiring sending module, be used for according to described SESSION information and switch RTSP URL link and the parameter list that playing request is obtained the video playback after the switching, be sent to described terminal, so that described terminal is play to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
Preferably, described server also comprises: first playing request processing module is used for when searching less than described SESSION information, to authenticating unit transmission authentication request; Receive the authenticating result that described authenticating unit is returned, preserve current request session SESSION; Return broadcast URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcast URL.
The present invention also proposes the terminal of video switch in a kind of video monitoring system, comprising:
The playing request sending module is used for sending the video switch playing request to Service Process Server;
The parameter receiver module is used to receive the RTSP URL link and the parameter list of the video playback after the switching that described Service Process Server obtains according to the SESSION information of described switching playing request and current preservation;
RTSP change and video request module are used for playing to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
Preferably, described RTSP change and video request module comprise:
RTSP control session change unit is used to utilize the parameter of obtaining to substitute in progress RTSP relevant parameter, change RTSP control session;
RTSP playing request transmitting element is used for sending the RTSP playing request according to the control of the RTSP after described change session to streaming media server;
The code stream receiving element is used for the code stream that the receiving stream media server obtains from the shooting passage.
Preferably, described terminal also comprises:
Initial video playing request module is used for when terminal is carried out the video playback request first, sends the video playback request to Service Process Server; Receive Service Process Server and carry out the broadcast URL that returns after the authentication process; Send initial message by described broadcast URL to streaming media server; The initialization response message that the receiving stream media server returns; Setting up RTSP with streaming media server links; Link the orbital data of the current media file of receiving stream media Server Transport by described RTSP.
The present invention also proposes the system of video switch in a kind of video monitoring system, comprising: video terminal and Service Process Server, wherein:
Described video terminal is used for sending the video switch playing request to Service Process Server; Receive the RTSP URL link and the parameter list of the video playback after the switching that described Service Process Server obtains according to the SESSION information of described switching playing request and current preservation; According to the parameter change RTSP control session of obtaining, play to streaming media server request RTSP;
Described Service Process Server is used to receive the video playback request that described video terminal sends; When described video playback request is when switching playing request, search the SESSION information of current preservation; According to described SESSION information and switch RTSP URL link and the parameter list that playing request is obtained the video playback after the switching, be sent to described video terminal.
The method of video switch in a kind of video monitoring system that the present invention proposes, server, terminal and system, by the SESSION information of playing for the first time such as authentication session are carried out buffer memory, after the video switch request of receiving video terminal, the video traffic processing server utilizes the SESSION information of current preservation, the return parameters tabulation, video terminal is after receiving parameter list, do not need to rebulid the authentication wholesale price, the overall process of Unified coding, only need the partial parameters in the change conversation message, just can be directly Switch Video fast, reduce the delay that causes when the shooting passage switches in the video monitoring with this, further reduced the difficulty that camera passage picture switches, simultaneously can utilize original RTSP session, resources such as RTCP reduce and switch the time that needs, and improve user's ease for use.
Description of drawings
Fig. 1 is video switching method one an embodiment schematic flow sheet in the video monitoring system of the present invention;
Fig. 2 is another embodiment schematic flow sheet of video switching method in the video monitoring system of the present invention;
Fig. 3 controls session according to the parameter change RTSP that obtains among another embodiment of video switching method in the video monitoring system of the present invention, to the schematic flow sheet of streaming media server request RTSP broadcast;
Fig. 4 is video switch server one an example structure schematic diagram in the video monitoring system of the present invention;
Fig. 5 is another example structure schematic diagram of video switch server in the video monitoring system of the present invention;
Fig. 6 is the structural representation of RTSP change and video request module among another embodiment of video switch server in the video monitoring system of the present invention;
Fig. 7 is video switching system one an example structure schematic diagram in the video monitoring system of the present invention.
In order to make technical scheme of the present invention clearer, clear, be described in further detail below in conjunction with accompanying drawing.
Embodiment
Solution for embodiment of the invention mainly is by the Business Processing service SESSION information of playing for the first time such as authentication session to be carried out buffer memory, after the video switch request of receiving video terminal, the video traffic processing server utilizes the SESSION information of current preservation, the return parameters tabulation, video terminal is after receiving parameter list, do not need to rebulid the authentication wholesale price, the overall process of Unified coding, only need the partial parameters in the change conversation message, directly quick Switch Video, reduce the delay that causes when the shooting passage switches in the video monitoring with this, improve video switch speed.
As shown in Figure 1, one embodiment of the invention proposes the method for video switch in a kind of video monitoring system, comprising:
Step S101, the video playback request that the Service Process Server receiving terminal sends;
Terminal is the video terminal of displayable video picture in the present embodiment, refers in particular to the less video terminal of display screen that need carry out video switch, such as: tabletop display (such as computer), portable terminal etc.
Step S102 when the video playback request is when switching playing request, searches the SESSION information of current preservation; If find, then enter step S103; Otherwise, enter step S104;
When video terminal was promptly for the first time asked video playback at the passage of request shooting for the first time picture, the video traffic processing server can be preserved authentication session for the first time, play session buffer memory (SESSION) information such as link, login; So that during subsequent video terminal Switch Video, the video traffic processor utilizes the SESSION information of current preservation, returns the relevant parameter tabulation to video terminal.
Whether Service Process Server is to switch playing request according to the video playback request that receives is judged, if switch playing request, then searches the SESSION information of current preservation; Be playing request first if not switching playing request, then handle according to normal video terminal plays flow process.
Step S103, according to SESSION information and switch RTSP URL link and the parameter list that playing request is obtained the video playback after the switching, be sent to terminal, so that terminal is play to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
The playing request that sends when video terminal is the switching playing request, the SESSION information such as authentication session of preserving when the Service Process Server utilization is play first, omit authentication process, obtain RTSP (the Real Time Streaming Protocol of the video playback after the switching according to the SESSION information of preserving, real time streaming transport protocol) URL (Universal Resource Locator, web page address) link and all coded formats of video media, grade, the parameter list of class and relevant coding parameter information, and parameter informations such as the RTSP URL link of the video playback obtained and parameter list are returned to video terminal.Partial parameters in the alternative in progress RTSP address wherein of the parameter that the video terminal utilization gets access to, change RTSP control session, afterwards according to the control of the RTSP after change session, to streaming media server request video media, streaming media server is to camera channel request code stream, camera sends code stream to streaming media server, and streaming media server sends to video terminal with the code stream that receives.
Step S104, Service Process Server sends authentication request to authenticating unit;
Step S105 receives the authenticating result that authenticating unit is returned, and preserves current request session SESSION;
Step S106 returns broadcast URL to terminal, so that terminal is play to streaming media server request RTSP according to playing URL.
Among above-mentioned steps S104, step S105 and the step S106, when Service Process Server is searched less than SESSION information, show that this playing request is playing request first, then need this playing request is carried out authentication process, after Service Process Server receives authenticating result, preserve current request session SESSION information, when asking video switch once more with this video terminal, just can from current SESSION information, get access to relevant informations such as authentication, and not need repetition to authenticating unit request authentication.Because the authentication process of authenticating unit and the reception of message send and all need to expend the suitable time, omit authentication process, the delay when reducing video switch by preserving authentication information, make to play to switch.
After the authentication process success, Service Process Server returns to video terminal and plays URL, and video terminal is play to streaming media server request RTSP according to the broadcast URL that receives.
As shown in Figure 2, another embodiment of the present invention proposes the method for video switch in a kind of video monitoring system, comprising:
Step S201, terminal sends the video switch playing request to Service Process Server;
Terminal is the video terminal of displayable video picture in the present embodiment, refers in particular to the less video terminal of display screen that need carry out video switch, such as: tabletop display (such as computer), portable terminal etc.
Step S202 receives the RTSP URL link and the parameter list of the video playback after the switching that Service Process Server obtains according to the SESSION information of switching playing request and current preservation;
When video terminal was promptly for the first time asked video playback at the passage of request shooting for the first time picture, the video traffic processing server can be preserved authentication session for the first time, play SESSION information such as link, login.
When Service Process Server receives the video playback request of video terminal transmission, according to the video playback request that receives is judged, whether be to switch playing request, if switch playing request, then search the SESSION information of current preservation; Be playing request first if not switching playing request, then handle according to normal video terminal plays flow process.
The playing request that sends when video terminal is the switching playing request, the SESSION information such as authentication session of preserving when the Service Process Server utilization is play first, omit authentication process, the RTSP URL that obtains the video playback after the switching according to the SESSION information of preserving connects and the parameter list of all coded formats of video media, grade, class and relevant coding parameter information, and parameter informations such as the RTSP URL link of the video playback obtained and parameter list are returned to video terminal.
Step S203 according to the parameter change RTSP control session of obtaining, plays to streaming media server request RTSP.
Partial parameters in the alternative in progress RTSP address wherein of the parameter that the video terminal utilization gets access to, change RTSP control session, afterwards according to the control of the RTSP after change session, to streaming media server request video media, streaming media server is to camera channel request code stream, camera sends code stream to streaming media server, and streaming media server sends to video terminal with the code stream that receives.
As shown in Figure 3, step S203 comprises:
Step S2031, the parameter that the terminal utilization is obtained substitutes in progress RTSP relevant parameter, change RTSP control session;
Step S2032 sends the RTSP playing request according to the control of the RTSP after change session to streaming media server;
Step S2033, the code stream that the receiving stream media server obtains from the shooting passage.
Below introduce the overall process of video terminal request video playback in the video monitoring system in detail:
1, when video terminal carried out the video playback request first, video terminal sent the video playback request to Service Process Server;
2, receive Service Process Server and carry out the broadcast URL that returns after the authentication process;
3, send initial message by playing URL to streaming media server; Show the SDP descriptor that oneself puts information such as supporting analog live broadcasting method of the present invention and needs playing media file in this initial message;
4, the initialization response message that the receiving stream media server returns;
5, set up RTSP with streaming media server and link;
6, the orbital data of the current media file by RTSP link receiving stream media Server Transport.
7, video terminal sends the video switch playing request to Service Process Server;
8, receive the RTSP URL link and the relevant parameter tabulation of the video playback after the switching that Service Process Server obtains according to the SESSION information of switching playing request and current preservation;
9, according to the parameter change RTSP control session of obtaining, play to streaming media server request RTSP.
10, the code stream that the receiving stream media server obtains from the shooting passage.
Need to prove, the indication authenticating unit is used for the wholesale price authentication of video monitoring in the present embodiment, when for example the user carried out video request first, the video traffic processing server can be submitted to authenticating unit with user profile, allowed authenticating unit that the authentication wholesale price is carried out in user's request; The indication streaming media server is used for media content collection, buffer memory, scheduling and transmission broadcast in the present embodiment.Wherein comprise and from video front-end equipment, obtain code stream, to video terminal transmitting video-frequency flow etc.The headend equipment module comprises camera head, the multiple combination of detector.Camera head and detector all have controllable function.The kind and the compound mode of camera head and detector do not limit, and can also make up in a different manner according to user's needs camera head and the detector different with using the scene selection.
In the above-described embodiments, video terminal utilizes original RTSP control session rather than rebulids new RTSP session and asks video media.At first, video terminal re-assemblies the parameter list that gets access to, comprise and be about to the media content RTSP URL that switches, the SDP descriptor of switching the back medium and the relevant parameter that comprises, as indicate how Switch Video of streaming media server, how to handle RTP (RTP unnecessary or that lack, Realtime Transport Protocol)/information such as RTCP (Realtime TransportControl Protocol, RTCP Real-time Transport Control Protocol) link.If the video media track number after switching is than the track of video number is many before, original RTP/RTCP link number deficiency, in order to adapt to more media track, portable terminal utilizes and sets up new RTP/RTCP link between SETUP message request and the streaming media server.If the needed track number of video media after switching is lacked than track of video number before, there is unnecessary track in original RTP/RTCP link number, in order to discharge unnecessary RTP/RTCP link, portable terminal utilizes the unnecessary link of release between TEARDOWN message request and the streaming media server.
Secondly, the RTSP session link sent the PLAY request of switching rear video before video terminal can utilize to streaming media server.Streaming media server returns the PLAY response, and streaming media server sends the data of switching the back media track to video terminal then.
The inventive method embodiment compared with prior art, can carry out buffer memory to the information of playing such as medium authentication by Service Process Server, after Service Process Server is received handoff request, can tabulate to the video terminal return parameters immediately; Video terminal only needs to revise the RTSP parameter after receiving parameter list, just can switch in the target video, reduces the delay that causes when the passage of making a video recording switches with this, improves video switch speed.
As shown in Figure 4, one embodiment of the invention proposes the server of video switch in a kind of video monitoring system, comprise: playing request receiver module 401, SESSION search module 402, first playing request processing module 403 and parameter acquiring sending module 404, wherein:
Playing request receiver module 401 is used for the video playback request that receiving terminal sends;
Terminal is the video terminal of displayable video picture in the present embodiment, refers in particular to the less video terminal of display screen that need carry out video switch, such as: tabletop display (such as computer), portable terminal etc.
SESSION searches module 402, is used for searching the SESSION information of current preservation when the video playback request is the switching playing request;
When video terminal was promptly for the first time asked video playback at the passage of request shooting for the first time picture, the video traffic processing server can be preserved SESSION information such as authentication session for the first time; So that during subsequent video terminal Switch Video, the video traffic processor utilizes the SESSION information of current preservation, returns the relevant parameter tabulation to video terminal.
Whether Service Process Server is to switch playing request according to the video playback request that receives is judged, if switch playing request, then searches the SESSION information of current preservation; Being playing request first if not switching playing request, is that first playing request handling process is handled according to normal video terminal plays flow process then.
First playing request processing module 403 is used for when searching less than SESSION information, sends authentication request to authenticating unit; Receive the authenticating result that authenticating unit is returned, preserve current request session SESSION; Return broadcast URL to terminal, so that described terminal is play to streaming media server request RTSP according to playing URL.
When Service Process Server is searched less than SESSION information, show that this playing request is playing request first, then need this playing request is carried out authentication process, after Service Process Server receives authenticating result, preserve current request session SESSION information, when asking video switch once more, just can from current SESSION information, get access to relevant informations such as authentication, and not need repetition to authenticating unit request authentication with this video terminal.Because the authentication process of authenticating unit and the reception of message send and all need to expend the suitable time, omit authentication process, the delay when reducing video switch by preserving authentication information, make to play to switch.
After the authentication process success, Service Process Server returns to video terminal and plays URL, and video terminal is play to streaming media server request RTSP according to the broadcast URL that receives.
Parameter acquiring sending module 404, be used for according to SESSION information and switch RTSP URL link and the relevant parameter tabulation that playing request is obtained the video playback after the switching, be sent to terminal, so that terminal is play to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
The playing request that sends when video terminal is the switching playing request, the session SESSION information of preserving when the Service Process Server utilization is play first, omit authentication process, obtain RTSP URL link and all coded formats of video media, grade, class and the relevant coding parameter information of the video playback after the switching according to the SESSION information of preserving, and the parameter information that obtains is returned to video terminal.Partial parameters in the alternative in progress RTSP address wherein of the parameter that the video terminal utilization gets access to, change RTSP control session, afterwards according to the control of the RTSP after change session, to streaming media server request video media, streaming media server is to camera channel request code stream, camera sends code stream to streaming media server, and streaming media server sends to video terminal with the code stream that receives.
As shown in Figure 5, another embodiment of the present invention proposes the terminal of video switch in a kind of video monitoring system, comprising: playing request sending module 501, parameter receiver module 502 and RTSP change and video request module 503, wherein:
Playing request sending module 501 is used for sending the video switch playing request to Service Process Server;
Terminal is the video terminal of displayable video picture in the present embodiment, refers in particular to the less video terminal of display screen that need carry out video switch, such as: tabletop display (such as computer), portable terminal etc.
Parameter receiver module 502 is used to receive the RTSP URL link and the parameter list of the video playback after the switching that Service Process Server obtains according to the SESSION information of described switching playing request and current preservation;
When video terminal was promptly for the first time asked video playback at the passage of request shooting for the first time picture, the video traffic processing server can be preserved SESSION information such as authentication session for the first time.
When Service Process Server receives the video playback request of video terminal transmission, according to the video playback request that receives is judged, whether be to switch playing request, if switch playing request, then search the SESSION information of current preservation; Be playing request first if not switching playing request, then handle according to normal video terminal plays flow process.
The playing request that sends when video terminal is the switching playing request, the session SESSION information of preserving when the Service Process Server utilization is play first, omit authentication process, the RTSP URL that obtains the video playback after the switching according to the SESSION information of preserving connects and all coded formats of video media, grade, class and relevant coding parameter information, and the parameter information that obtains is returned to video terminal.
RTSP change and video request module 503 are used for playing to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
Partial parameters in the alternative in progress RTSP address wherein of the parameter that the video terminal utilization gets access to, change RTSP control session, afterwards according to the control of the RTSP after change session, to streaming media server request video media, streaming media server is to camera channel request code stream, camera sends code stream to streaming media server, and streaming media server sends to video terminal with the code stream that receives.
As shown in Figure 6, RTSP change and video request module 503 comprise: RTSP control session change unit 5031, RTSP playing request transmitting element 5032 and code stream receiving element 5033, wherein:
RTSP control session change unit 5031 is used to utilize the parameter of obtaining to substitute in progress RTSP relevant parameter, change RTSP control session;
RTSP playing request transmitting element 5032 is used for sending the RTSP playing request according to the control of the RTSP after described change session to streaming media server;
Code stream receiving element 5033 is used for the code stream that the receiving stream media server obtains from the shooting passage.
Further this terminal also comprises:
Initial video playing request module 500 is connected with playing request sending module 501, is used for when terminal is carried out the video playback request first, sends the video playback request to Service Process Server; Receive Service Process Server and carry out the broadcast URL that returns after the authentication process; Send initial message by described broadcast URL to streaming media server; The initialization response message that the receiving stream media server returns; Setting up RTSP with streaming media server links; Link the orbital data of the current media file of receiving stream media Server Transport by described RTSP.
As shown in Figure 7, one embodiment of the invention proposes the system of video switch in a kind of video monitoring system, comprising: video terminal 701 that is connected with streaming media server 700 and Service Process Server 702, wherein:
Video terminal 701 is used for sending the video switch playing request to Service Process Server 702; Receive the RTSP URL link and the relevant parameter tabulation of the video playback after the switching that described Service Process Server 702 obtains according to the SESSION information of described switching playing request and current preservation; According to the parameter change RTSP control session of obtaining, play to streaming media server request RTSP;
Service Process Server 702 is used for the video playback request that receiver, video terminal 701 sends; When the video playback request is when switching playing request, search the SESSION information of current preservation; According to SESSION information and switch RTSP URL link and the relevant parameter tabulation that playing request is obtained the video playback after the switching, be sent to video terminal 701.
The method of video switch in the embodiment of the invention video monitoring system, server, terminal and system, by the SESSION information of playing for the first time such as authentication session are carried out buffer memory, after the video switch request of receiving video terminal, the video traffic processing server utilizes the SESSION information of current preservation, the return parameters tabulation, video terminal is after receiving parameter list, do not need to rebulid the authentication wholesale price, the overall process of Unified coding, only need the partial parameters in the change conversation message, just can be directly Switch Video fast, reduce the delay that causes when the shooting passage switches in the video monitoring with this, further reduced the difficulty that camera passage picture switches, simultaneously can utilize original RTSP session, resources such as RTCP reduce and switch the time that needs, and improve user's ease for use.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.

Claims (11)

1. the method for video switch in the video monitoring system is characterized in that, comprising:
The video playback request that the Service Process Server receiving terminal sends;
When described video playback request is when switching playing request, search the session buffer memory SESSION information of current preservation;
According to described SESSION information and switch real time streaming transport protocol RTSP web page address URL link and the parameter list that playing request is obtained the video playback after the switching, be sent to described terminal, so that described terminal is play to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
2. method according to claim 1 is characterized in that, described step of searching the SESSION information of current preservation also comprises afterwards:
When searching less than described SESSION information, Service Process Server sends authentication request to authenticating unit;
Receive the authenticating result that described authenticating unit is returned, preserve current request session SESSION;
Return broadcast URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcast URL.
3. the method for video switch in the video monitoring system is characterized in that, comprising:
Terminal sends the video switch playing request to Service Process Server;
Receive the RTSP URL link and the parameter list of the video playback after the switching that described Service Process Server obtains according to the SESSION information of described switching playing request and current preservation;
According to the parameter change RTSP control session of obtaining, play to streaming media server request RTSP.
4. method according to claim 3 is characterized in that, parameter change RTSP that described basis is obtained control session comprises to the step of streaming media server request video:
The parameter that the terminal utilization is obtained substitutes in progress RTSP relevant parameter, change RTSP control session;
Send the RTSP playing request according to the control of the RTSP after described change session to streaming media server;
The code stream that the receiving stream media server obtains from the shooting passage.
5. method according to claim 3 is characterized in that, described terminal also comprises to the step that Service Process Server sends the video switch playing request before:
When terminal was carried out the video playback request first, terminal sent the video playback request to Service Process Server;
Receive Service Process Server and carry out the broadcast URL that returns after the authentication process;
Send initial message by described broadcast URL to streaming media server;
The initialization response message that the receiving stream media server returns;
Setting up RTSP with streaming media server links;
Link the orbital data of the current media file of receiving stream media Server Transport by described RTSP.
6. the server of video switch in the video monitoring system is characterized in that, comprising:
The playing request receiver module is used for the video playback request that receiving terminal sends;
SESSION searches module, is used for searching the SESSION information of current preservation when described video playback request is the switching playing request;
The parameter acquiring sending module, be used for according to described SESSION information and switch RTSP URL link and the parameter list that playing request is obtained the video playback after the switching, be sent to described terminal, so that described terminal is play to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
7. server according to claim 6 is characterized in that, described server also comprises: first playing request processing module is used for when searching less than described SESSION information, to authenticating unit transmission authentication request; Receive the authenticating result that described authenticating unit is returned, preserve current request session SESSION; Return broadcast URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcast URL.
8. the terminal of video switch in the video monitoring system is characterized in that, comprising:
The playing request sending module is used for sending the video switch playing request to Service Process Server;
The parameter receiver module is used to receive the RTSP URL link and the parameter list of the video playback after the switching that described Service Process Server obtains according to the SESSION information of described switching playing request and current preservation;
RTSP change and video request module are used for playing to streaming media server request RTSP according to the parameter change RTSP control session of obtaining.
9. terminal according to claim 8 is characterized in that, described RTSP change and video request module comprise:
RTSP control session change unit is used to utilize the parameter of obtaining to substitute in progress RTSP relevant parameter, change RTSP control session;
RTSP playing request transmitting element is used for sending the RTSP playing request according to the control of the RTSP after described change session to streaming media server;
The code stream receiving element is used for the code stream that the receiving stream media server obtains from the shooting passage.
10. terminal according to claim 8 is characterized in that, described terminal also comprises:
Initial video playing request module is used for when terminal is carried out the video playback request first, sends the video playback request to Service Process Server; Receive Service Process Server and carry out the broadcast URL that returns after the authentication process; Send initial message by described broadcast URL to streaming media server; The initialization response message that the receiving stream media server returns; Setting up RTSP with streaming media server links; Link the orbital data of the current media file of receiving stream media Server Transport by described RTSP.
11. the system of video switch is characterized in that in the video monitoring system, comprising: video terminal and Service Process Server, wherein:
Described video terminal is used for sending the video switch playing request to Service Process Server; Receive the RTSP URL link and the parameter list of the video playback after the switching that described Service Process Server obtains according to the SESSION information of described switching playing request and current preservation; According to the parameter change RTSP control session of obtaining, play to streaming media server request RTSP;
Described Service Process Server is used to receive the video playback request that described video terminal sends; When described video playback request is when switching playing request, search the SESSION information of current preservation; According to described SESSION information and switch RTSP URL link and the parameter list that playing request is obtained the video playback after the switching, be sent to described video terminal.
CN201010596718.3A 2010-12-20 2010-12-20 Method, server, terminal and system for switching videos in video monitoring system Expired - Fee Related CN102036058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010596718.3A CN102036058B (en) 2010-12-20 2010-12-20 Method, server, terminal and system for switching videos in video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010596718.3A CN102036058B (en) 2010-12-20 2010-12-20 Method, server, terminal and system for switching videos in video monitoring system

Publications (2)

Publication Number Publication Date
CN102036058A true CN102036058A (en) 2011-04-27
CN102036058B CN102036058B (en) 2014-07-02

Family

ID=43888295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010596718.3A Expired - Fee Related CN102036058B (en) 2010-12-20 2010-12-20 Method, server, terminal and system for switching videos in video monitoring system

Country Status (1)

Country Link
CN (1) CN102036058B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256114A (en) * 2011-08-22 2011-11-23 杭州华三通信技术有限公司 Playing method and switching equipment in video monitoring
WO2013182017A1 (en) * 2012-06-06 2013-12-12 中兴通讯股份有限公司 Video monitoring system and method for reducing pan-tilt control delay
CN103475630A (en) * 2012-06-08 2013-12-25 深圳中兴网信科技有限公司 Session preservation method and apparatus thereof
CN103533305A (en) * 2013-10-10 2014-01-22 国电南瑞科技股份有限公司 B/S framework plugin-free universal video monitoring system
CN103841368A (en) * 2012-11-22 2014-06-04 中国电信股份有限公司 Video switching method and system, central server, and video channel management device
WO2014169828A1 (en) * 2013-04-17 2014-10-23 华为技术有限公司 Method, device, and system for playing surveillance video
CN104641655A (en) * 2013-04-07 2015-05-20 华为技术有限公司 Terminal cache method, terminal and server
CN107979564A (en) * 2016-10-21 2018-05-01 中兴通讯股份有限公司 A kind of seamless handover method and device of the session of webpage real-time Communication for Power
CN109040672A (en) * 2018-07-16 2018-12-18 北京奇虎科技有限公司 A kind of video broadcasting method and device
CN110601880A (en) * 2019-09-02 2019-12-20 平安科技(深圳)有限公司 Cloud platform, service processing method, command interface and computer equipment
CN111193941A (en) * 2020-01-07 2020-05-22 北京东土科技股份有限公司 Method, device and equipment for transmitting media data and storage medium
CN111479122A (en) * 2020-04-13 2020-07-31 海信视像科技股份有限公司 Video playing method, device, equipment and storage medium
CN112153457A (en) * 2020-09-10 2020-12-29 Oppo(重庆)智能科技有限公司 Wireless screen projection connection method and device, computer storage medium and electronic equipment
CN114442992A (en) * 2022-01-25 2022-05-06 杭州国芯科技股份有限公司 Switching method of audio transmission protocol of USB sound card

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201001167Y (en) * 2006-12-30 2008-01-02 深圳洪迪实业有限公司 Video matrix conversion device
WO2008021480A1 (en) * 2006-08-15 2008-02-21 Sensormatic Electronics Corporation Controller for a video matrix switching system
CN101399844A (en) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 Method for fast switching content in mobile stream media service
CN101540947A (en) * 2009-04-03 2009-09-23 中兴通讯股份有限公司 Analog live broadcasting method of mobile streaming media and content switching method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008021480A1 (en) * 2006-08-15 2008-02-21 Sensormatic Electronics Corporation Controller for a video matrix switching system
CN201001167Y (en) * 2006-12-30 2008-01-02 深圳洪迪实业有限公司 Video matrix conversion device
CN101399844A (en) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 Method for fast switching content in mobile stream media service
CN101540947A (en) * 2009-04-03 2009-09-23 中兴通讯股份有限公司 Analog live broadcasting method of mobile streaming media and content switching method thereof

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256114B (en) * 2011-08-22 2013-03-13 杭州华三通信技术有限公司 Playing method and switching equipment in video monitoring
CN102256114A (en) * 2011-08-22 2011-11-23 杭州华三通信技术有限公司 Playing method and switching equipment in video monitoring
WO2013182017A1 (en) * 2012-06-06 2013-12-12 中兴通讯股份有限公司 Video monitoring system and method for reducing pan-tilt control delay
CN103475853A (en) * 2012-06-06 2013-12-25 中兴通讯股份有限公司 Video monitoring system and method for reducing pan-tilt control delay
EP2846541A4 (en) * 2012-06-06 2015-05-06 Zte Corp Video monitoring system and method for reducing pan-tilt control delay
CN103475630A (en) * 2012-06-08 2013-12-25 深圳中兴网信科技有限公司 Session preservation method and apparatus thereof
CN103841368A (en) * 2012-11-22 2014-06-04 中国电信股份有限公司 Video switching method and system, central server, and video channel management device
CN103841368B (en) * 2012-11-22 2017-12-12 中国电信股份有限公司 Video switching method and system, central server, video channel management equipment
CN104641655A (en) * 2013-04-07 2015-05-20 华为技术有限公司 Terminal cache method, terminal and server
US9843775B2 (en) 2013-04-17 2017-12-12 Huawei Technologies Co., Ltd. Surveillance video playback method, device, and system
WO2014169828A1 (en) * 2013-04-17 2014-10-23 华为技术有限公司 Method, device, and system for playing surveillance video
CN103533305A (en) * 2013-10-10 2014-01-22 国电南瑞科技股份有限公司 B/S framework plugin-free universal video monitoring system
CN103533305B (en) * 2013-10-10 2018-01-12 国电南瑞科技股份有限公司 A kind of plugin-free universal video monitoring of B/S frameworks
CN107979564A (en) * 2016-10-21 2018-05-01 中兴通讯股份有限公司 A kind of seamless handover method and device of the session of webpage real-time Communication for Power
CN109040672A (en) * 2018-07-16 2018-12-18 北京奇虎科技有限公司 A kind of video broadcasting method and device
CN109040672B (en) * 2018-07-16 2020-12-04 北京奇虎科技有限公司 Video playing method and device
CN110601880A (en) * 2019-09-02 2019-12-20 平安科技(深圳)有限公司 Cloud platform, service processing method, command interface and computer equipment
CN110601880B (en) * 2019-09-02 2022-08-26 平安科技(深圳)有限公司 Cloud platform, service processing method, command interface and computer equipment
CN111193941A (en) * 2020-01-07 2020-05-22 北京东土科技股份有限公司 Method, device and equipment for transmitting media data and storage medium
CN111479122A (en) * 2020-04-13 2020-07-31 海信视像科技股份有限公司 Video playing method, device, equipment and storage medium
CN112153457A (en) * 2020-09-10 2020-12-29 Oppo(重庆)智能科技有限公司 Wireless screen projection connection method and device, computer storage medium and electronic equipment
CN114442992A (en) * 2022-01-25 2022-05-06 杭州国芯科技股份有限公司 Switching method of audio transmission protocol of USB sound card
CN114442992B (en) * 2022-01-25 2024-01-02 杭州国芯科技股份有限公司 Switching method of USB sound card audio transmission protocol

Also Published As

Publication number Publication date
CN102036058B (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN102036058B (en) Method, server, terminal and system for switching videos in video monitoring system
CN108391179B (en) Live broadcast data processing method and device, server, terminal and storage medium
US9860206B2 (en) Method and apparatus for distributing content
US20180324498A1 (en) Hybrid Network System, Channel Content Playback Method, and Hybrid Set Top Box
CN102055718B (en) Method, device and system for layering request content in http streaming system
US20160044368A1 (en) Method, apparatus and system for acquiring playback data stream of real-time video communication
CN112399190B (en) Audio and video data acquisition method and device
CN104883618A (en) Method, device, and system for tentatively watching living programs
CN101345838A (en) TV program navigation method, apparatus and system
US11563992B2 (en) Video playback quality detection method and apparatus
CN104486685A (en) Control method, device and system of media streams
CN101662658B (en) Program push method, set-top box and electronic program guide
CN102075795A (en) Method and system for releasing focus television programs
US20120240180A1 (en) Set-top box, earphone, and multimedia playing method
CN102123307A (en) Method and system for playing programs
CN103313095A (en) Video transmission method, play method, terminal and server
CN106302362B (en) Multimedia content sending method, sharing method, receiving method and corresponding devices
WO2013112444A1 (en) Broadcast encoding, recording and distribution system and method
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
CN114040232A (en) Screen projection system, method, electronic device and storage medium
CN102984558A (en) Set top box and method of playing frames in channel switching process of set top box
CN111866526B (en) Live broadcast service processing method and device
CN105142003A (en) Television program playing method and device
CN105933797B (en) Programme televised live based on network protocol television opens broadcasting method and device
CN113132194A (en) Information transfer method, device, equipment, server and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140702

Termination date: 20171220

CF01 Termination of patent right due to non-payment of annual fee