CN102036058B - 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 PDFInfo
- Publication number
- CN102036058B CN102036058B CN201010596718.3A CN201010596718A CN102036058B CN 102036058 B CN102036058 B CN 102036058B CN 201010596718 A CN201010596718 A CN 201010596718A CN 102036058 B CN102036058 B CN 102036058B
- Authority
- CN
- China
- Prior art keywords
- request
- rtsp
- video
- session
- terminal
- 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.)
- Expired - Fee Related
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
Technical field
The present invention relates to technical field of video monitoring, relate in particular to a kind of method, server, terminal and system of system for switching videos in video monitoring.
Background technology
Video monitoring, as the important component part of safety-security area, is widely used in all trades and professions, no matter be finance, traffic, business, public security, house, video monitoring has all been brought into play important effect.Along with the fast development of the technology such as computer, Internet Transmission and image processing, the application of video monitoring in the modern life is more and more extensive, and demand is also increasing.
The display terminal of current video monitoring system comprises video wall, tabletop display, mobile terminal etc.Wherein video wall, because display screen is larger, can directly carry out the selection of multiple different camera passages on screen, or shows the image of multiple camera passages simultaneously, and there will not be the problem that is monitored object of losing.And tabletop display and mobile terminal, because the reason that screen is little, often can only show the picture that single camera catches, especially in the situation that mobile terminal screen is less, now, the monitoring range that has left camera when certain object of which movement in guarded region enters the monitoring range of another camera, user is manually switched to another camera, or when system automatically switches to another camera, all need first to turn off current monitoring camera, return the shooting of camera channel selecting, ask another camera picture.
But, because terminal is in the time that camera passage picture is switched in request, need to first carry out authentication wholesale price, the operations such as recompile, only after these preconditions meet, Video Monitoring Terminal could be play the camera passage picture after switching, and has increased thus the difficulty of camera passage Picture switch, and has increased the needed time of video switch.
Summary of the invention
Main purpose of the present invention is to provide a kind of method, server, terminal and system of system for switching videos in video monitoring, is intended to reduce the delay of making a video recording in passage switching in video monitoring, improves video switch speed.
In order to achieve the above object, the present invention proposes a kind of method of system for switching videos in video monitoring, comprising:
The video playback request that Service Process Server receiving terminal sends;
When described video playback request is while switching playing request, search the SESSION information of current preservation;
According to described SESSION information and switch playing request and obtain RTSP URL link and the parameter list of the video playback after switching, be sent to described terminal, so that described terminal is controlled session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
The step of searching the SESSION information of current preservation preferably, also comprises afterwards:
In the time 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 and play URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcasting URL.
The present invention also proposes a kind of method of system for switching videos in video monitoring, comprising:
Terminal sends video switch playing request to Service Process Server;
Receive described Service Process Server according to RTSP URL link and the parameter list of the video playback after the switching of the SESSION acquisition of information of described switching playing request and current preservation;
Control session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
Preferably, the parameter change RTSP that described basis is obtained controls session, comprises to the step of streaming media server request video:
The parameter that terminal utilization is obtained substitutes the RTSP relevant parameter of playing, and change RTSP controls session;
Control session according to the RTSP after described change and send RTSP playing request to streaming media server;
The code stream that receiving stream media server obtains from shooting passage.
Preferably, the step that described terminal sends video switch playing request to Service Process Server also comprises before:
In the time that terminal is carried out video playback request first, terminal sends video playback request to Service Process Server;
Receive Service Process Server and carry out the broadcasting URL returning after authentication process;
Send initial message by described broadcasting URL to streaming media server;
The initialization response message that receiving stream media server returns;
Setting up RTSP with streaming media server links;
The orbital data of the current media file transmitting by described RTSP link receiving stream media server.
The present invention also proposes a kind of server of system for switching videos in video monitoring, comprising:
Playing request receiver module, the video playback request sending for receiving terminal;
SESSION searches module, for being while switching playing request when described video playback request, searches the SESSION information of current preservation;
Parameter acquiring sending module, for according to described SESSION information and switch playing request and obtain RTSP URL link and the parameter list of the video playback after switching, be sent to described terminal, so that described terminal is controlled session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
Preferably, described server also comprises: first playing request processing module, in the time searching less than described SESSION information, sends authentication request to authenticating unit; Receive the authenticating result that described authenticating unit is returned, preserve current request session SESSION; Return and play URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcasting URL.
The present invention also proposes a kind of terminal of system for switching videos in video monitoring, comprising:
Playing request sending module, for sending video switch playing request to Service Process Server;
Parameter receiver module, for receiving described Service Process Server according to RTSP URL link and the parameter list of the video playback after the switching of the SESSION acquisition of information of described switching playing request and current preservation;
RTSP change and video request module, for controlling session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
Preferably, described RTSP change and video request module comprise:
RTSP controls session changing unit, and for utilizing the parameter of obtaining to substitute the RTSP relevant parameter of playing, change RTSP controls session;
RTSP playing request transmitting element, controls session for the RTSP according to after described change and sends RTSP playing request to streaming media server;
Code stream receiving element, the code stream obtaining from shooting passage for receiving stream media server.
Preferably, described terminal also comprises:
Initial video playing request module, in the time that terminal is carried out video playback request first, sends video playback request to Service Process Server; Receive Service Process Server and carry out the broadcasting URL returning after authentication process; Send initial message by described broadcasting URL to streaming media server; The initialization response message that receiving stream media server returns; Setting up RTSP with streaming media server links; The orbital data of the current media file transmitting by described RTSP link receiving stream media server.
The present invention also proposes a kind of system of system for switching videos in video monitoring, comprising: video terminal and Service Process Server, wherein:
Described video terminal, for sending video switch playing request to Service Process Server; Receive described Service Process Server according to RTSP URL link and the parameter list of the video playback after the switching of the SESSION acquisition of information of described switching playing request and current preservation; Control session according to the parameter change RTSP obtaining, play to streaming media server request RTSP;
Described Service Process Server, the video playback request sending for receiving described video terminal; When described video playback request is while switching playing request, search the SESSION information of current preservation; According to described SESSION information and switch playing request and obtain RTSP URL link and the parameter list of the video playback after switching, be sent to described video terminal.
The method of a kind of system for switching videos in video monitoring that the present invention proposes, server, terminal and system, by the SESSION information such as the authentication session of playing are for the first time carried out to buffer memory, after the video switch request of receiving video terminal, video traffic processing server utilizes the SESSION information of current preservation, return parameters list, video terminal is after receiving parameter list, do not need to re-establish authentication wholesale price, the overall process of Unified coding, only need to change the partial parameters in conversation message, just can be directly Switch Video fast, reduce the delay of making a video recording and causing when passage switches in video monitoring with this, further reduce the difficulty of camera passage Picture switch, can utilize original RTSP session simultaneously, the resources such as RTCP, reduce and switch the time needing, improve user's ease for use.
Accompanying drawing explanation
Fig. 1 is system for switching videos in video monitoring method one embodiment schematic flow sheet of the present invention;
Fig. 2 is another embodiment schematic flow sheet of system for switching videos in video monitoring method of the present invention;
Fig. 3 controls session according to the parameter change RTSP obtaining in another embodiment of system for switching videos in video monitoring method of the present invention, the schematic flow sheet of playing to streaming media server request RTSP;
Fig. 4 is system for switching videos in video monitoring server one example structure schematic diagram of the present invention;
Fig. 5 is another example structure schematic diagram of system for switching videos in video monitoring server of the present invention;
Fig. 6 is the structural representation of RTSP change and video request module in another embodiment of system for switching videos in video monitoring server of the present invention;
Fig. 7 is system for switching videos in video monitoring system one example structure schematic diagram 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 is mainly, by Business Processing service, the SESSION information such as the authentication session of playing are for the first time carried out to buffer memory, after the video switch request of receiving video terminal, video traffic processing server utilizes the SESSION information of current preservation, return parameters list, video terminal is after receiving parameter list, do not need to re-establish authentication wholesale price, the overall process of Unified coding, only need to change the partial parameters in conversation message, directly quick Switch Video, reduce the delay of making a video recording and causing when passage switches in video monitoring with this, improve video switch speed.
As shown in Figure 1, one embodiment of the invention proposes a kind of method of system for switching videos in video monitoring, comprising:
Step S101, the video playback request that Service Process Server receiving terminal sends;
In the present embodiment, terminal is the video terminal of displayable video picture, refers in particular to the less video terminal of display screen that need to carry out video switch, such as: tabletop display (such as computer), mobile terminal etc.
Step S102, when video playback request is while switching playing request, searches the SESSION information of current preservation; If find, enter step S103; Otherwise, enter step S104;
When video terminal asks video playback for the first time at the passage picture of asking to make a video recording for the first time, video traffic processing server can be preserved authentication session for the first time, play session cache (SESSION) information such as link, login; So that when subsequent video terminal Switch Video, video traffic processor utilizes the SESSION information of current preservation, returns to relevant parameter list to video terminal.
Whether Service Process Server, according to the video playback request receiving is judged, is to switch playing request, if switch playing request, searches the SESSION information of current preservation; Be playing request first if not switching playing request, process according to normal video terminal plays flow process.
Step S103, according to SESSION information and switch playing request and obtain RTSP URL link and the parameter list of the video playback after switching, be sent to terminal, so that terminal is controlled session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
The playing request sending when video terminal is switching playing request, the SESSION information such as the authentication session of preserving when Service Process Server utilization is play first, omit authentication process, RTSP (the Real Time Streaming Protocol of the video playback after switching according to the SESSION acquisition of 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 the parameter information such as RTSP URL link and parameter list of the video playback of obtaining is returned to video terminal.The parameter that video terminal utilization gets substitutes the partial parameters in the RTSP address of playing wherein, change RTSP controls session, control session according to the RTSP after change afterwards, 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 the code stream receiving is sent to video terminal by streaming media server.
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 and plays URL to terminal, so that terminal is play to streaming media server request RTSP according to playing URL.
In above-mentioned steps S104, step S105 and step S106, in the time that Service Process Server is searched less than SESSION information, show that this playing request is for playing request first, need this playing request to carry out authentication process, Service Process Server receives after authenticating result, preserve current request session SESSION information, while again asking video switch with this video terminal, just can from current SESSION information, get the relevant informations such as authentication, and not need repetition to authenticating unit request authentication.All need to expend the suitable time because the authentication process of authenticating unit and the reception of message send, by preserving authentication information, make to play to switch and omit authentication process, the delay while reducing video switch.
When after authentication process success, Service Process Server returns and plays URL to video terminal, and video terminal is play to streaming media server request RTSP according to the broadcasting URL receiving.
As shown in Figure 2, another embodiment of the present invention proposes a kind of method of system for switching videos in video monitoring, comprising:
Step S201, terminal sends video switch playing request to Service Process Server;
In the present embodiment, terminal is the video terminal of displayable video picture, refers in particular to the less video terminal of display screen that need to carry out video switch, such as: tabletop display (such as computer), mobile terminal etc.
Step S202, receives Service Process Server according to RTSP URL link and the parameter list of the video playback after the switching of the SESSION acquisition of information of switching playing request and current preservation;
When video terminal asks video playback for the first time at the passage picture of asking to make a video recording for the first time, video traffic processing server can be preserved authentication session for the first time, play the SESSION information such as link, login.
In the time that Service Process Server receives the video playback request of video terminal transmission, according to the video playback request receiving is judged, whether be to switch playing request, if switch playing request, search the SESSION information of current preservation; Be playing request first if not switching playing request, process according to normal video terminal plays flow process.
The playing request sending when video terminal is switching playing request, the SESSION information such as the authentication session of preserving when Service Process Server utilization is play first, omit authentication process, the RTSP URL of the video playback after switching according to the SESSION acquisition of information of preserving connects and the parameter list of all coded formats of video media, grade, class and relevant coding parameter information, and the parameter information such as RTSP URL link and parameter list of the video playback of obtaining is returned to video terminal.
Step S203, controls session according to the parameter change RTSP obtaining, and plays to streaming media server request RTSP.
The parameter that video terminal utilization gets substitutes the partial parameters in the RTSP address of playing wherein, change RTSP controls session, control session according to the RTSP after change afterwards, 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 the code stream receiving is sent to video terminal by streaming media server.
As shown in Figure 3, step S203 comprises:
Step S2031, the parameter that terminal utilization is obtained substitutes the RTSP relevant parameter of playing, and change RTSP controls session;
Step S2032, controls session according to the RTSP after change and sends RTSP playing request to streaming media server;
Step S2033, the code stream that receiving stream media server obtains from shooting passage.
Below introduce in detail the overall process of video terminal request video playback in video monitoring system:
1, in the time that video terminal carries out video playback request first, video terminal sends video playback request to Service Process Server;
2, receive Service Process Server and carry out the broadcasting URL returning after authentication process;
3, send initial message by playing URL to streaming media server; In this initial message, show that oneself puts the SDP descriptor of supporting the information such as analog live broadcasting method of the present invention and need to playing media file;
4, the initialization response message that receiving stream media server returns;
5, set up RTSP with streaming media server and link;
6, link the orbital data of the current media file of receiving stream media server transmission by RTSP.
7, video terminal sends video switch playing request to Service Process Server;
8, receive Service Process Server according to RTSP URL link and the relevant parameter list of the video playback after the switching of the SESSION acquisition of information of switching playing request and current preservation;
9, control session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
10, the code stream that receiving stream media server obtains from shooting passage.
It should be noted that, in the present embodiment, indication authenticating unit is for the wholesale price authentication of video monitoring, for example, when user carries out video request first, video traffic processing server can be submitted to authenticating unit by user profile, allows authenticating unit carry out authentication wholesale price to user's request; In the present embodiment indication streaming media server for media content gather, buffer memory, scheduling and transmission play.Wherein comprise and from video front-end equipment, obtain code stream, to video terminal transmitting video-frequency flow etc.Headend equipment module comprises camera head, the multiple combination of detector.Camera head and detector have controllable function.Kind and the compound mode of camera head and detector are not construed as limiting, and can select different camera heads and detector and combine in a different manner according to user's needs and use scenes.
In the above-described embodiments, the original RTSP of video terminal utilization controls session rather than re-establishes new RTSP session and asks video media.First, video terminal re-assemblies the parameter list getting, comprise and be about to the media content RTSP URL switching, the SDP descriptor of switching rear media and the relevant parameter comprising, as indicate how Switch Video of streaming media server, how to process 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 track of video number is many before, original RTP/RTCP link number deficiency, in order to adapt to more media track, mobile terminal utilizes and between SETUP message request and streaming media server, sets up new RTP/RTCP link.If the needed track number of video media after switching is than track of video number is few before, there is unnecessary track in original RTP/RTCP link number, in order to discharge unnecessary RTP/RTCP link, mobile terminal utilizes and between TEARDOWN message request and streaming media server, discharges unnecessary link.
Secondly, video terminal can utilize RTSP session link before to send the PLAY request of switching rear video to streaming media server.Streaming media server returns to PLAY response, then streaming media server to video terminal send switch after the data of media track.
The inventive method embodiment, compared with prior art, can carry out buffer memory to information such as the media authentications of playing by Service Process Server, when Service Process Server is received after handover request, and can be immediately to the list of video terminal return parameters; Video terminal, after receiving parameter list, only needs to revise RTSP parameter, just can be switched in target video, reduces with this delay causing when passage of making a video recording switches, and improves video switch speed.
As shown in Figure 4, one embodiment of the invention proposes a kind of server of system for switching videos in video monitoring, 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, the video playback request sending for receiving terminal;
In the present embodiment, terminal is the video terminal of displayable video picture, refers in particular to the less video terminal of display screen that need to carry out video switch, such as: tabletop display (such as computer), mobile terminal etc.
SESSION searches module 402, for being while switching playing request when video playback request, searches the SESSION information of current preservation;
When video terminal asks video playback for the first time at the passage picture of asking to make a video recording for the first time, video traffic processing server can be preserved the SESSION information such as authentication session for the first time; So that when subsequent video terminal Switch Video, video traffic processor utilizes the SESSION information of current preservation, returns to relevant parameter list to video terminal.
Whether Service Process Server, according to the video playback request receiving is judged, is to switch playing request, if switch playing request, searches the SESSION information of current preservation; Being playing request first if not switching playing request, is that first playing request handling process is processed according to normal video terminal plays flow process.
First playing request processing module 403, in the time 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 and play URL to terminal, so that described terminal is play to streaming media server request RTSP according to playing URL.
In the time that Service Process Server is searched less than SESSION information, show that this playing request is for playing request first, need this playing request to carry out authentication process, Service Process Server receives after authenticating result, preserve current request session SESSION information, while again asking video switch with this video terminal, just can from current SESSION information, get the relevant informations such as authentication, and not need repetition to authenticating unit request authentication.All need to expend the suitable time because the authentication process of authenticating unit and the reception of message send, by preserving authentication information, make to play to switch and omit authentication process, the delay while reducing video switch.
When after authentication process success, Service Process Server returns and plays URL to video terminal, and video terminal is play to streaming media server request RTSP according to the broadcasting URL receiving.
Parameter acquiring sending module 404, for according to SESSION information and RTSP URL link and the relevant parameter list of switching playing request and obtaining the video playback after switching, be sent to terminal, so that terminal is controlled session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
The playing request sending when video terminal is switching playing request, the session SESSION information of preserving when Service Process Server utilization is play first, omit authentication process, RTSP URL link and all coded formats of video media, grade, class and the relevant coding parameter information of the video playback after switching according to the SESSION acquisition of information of preserving, and the parameter information obtaining is returned to video terminal.The parameter that video terminal utilization gets substitutes the partial parameters in the RTSP address of playing wherein, change RTSP controls session, control session according to the RTSP after change afterwards, 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 the code stream receiving is sent to video terminal by streaming media server.
As shown in Figure 5, another embodiment of the present invention proposes a kind of terminal of system for switching videos in video monitoring, comprising: playing request sending module 501, parameter receiver module 502 and RTSP change and video request module 503, wherein:
Playing request sending module 501, for sending video switch playing request to Service Process Server;
In the present embodiment, terminal is the video terminal of displayable video picture, refers in particular to the less video terminal of display screen that need to carry out video switch, such as: tabletop display (such as computer), mobile terminal etc.
When video terminal asks video playback for the first time at the passage picture of asking to make a video recording for the first time, video traffic processing server can be preserved the SESSION information such as authentication session for the first time.
In the time that Service Process Server receives the video playback request of video terminal transmission, according to the video playback request receiving is judged, whether be to switch playing request, if switch playing request, search the SESSION information of current preservation; Be playing request first if not switching playing request, process according to normal video terminal plays flow process.
The playing request sending when video terminal is switching playing request, the session SESSION information of preserving when Service Process Server utilization is play first, omit authentication process, the RTSP URL of the video playback after switching according to the SESSION acquisition of information of preserving connects and all coded formats of video media, grade, class and relevant coding parameter information, and the parameter information obtaining is returned to video terminal.
RTSP change and video request module 503, for controlling session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
The parameter that video terminal utilization gets substitutes the partial parameters in the RTSP address of playing wherein, change RTSP controls session, control session according to the RTSP after change afterwards, 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 the code stream receiving is sent to video terminal by streaming media server.
As shown in Figure 6, RTSP change and video request module 503 comprise: RTSP controls session changing unit 5031, RTSP playing request transmitting element 5032 and code stream receiving element 5033, wherein:
RTSP controls session changing unit 5031, and for utilizing the parameter of obtaining to substitute the RTSP relevant parameter of playing, change RTSP controls session;
RTSP playing request transmitting element 5032, controls session for the RTSP according to after described change and sends RTSP playing request to streaming media server;
Code stream receiving element 5033, the code stream obtaining from shooting passage for receiving stream media server.
Further this terminal also comprises:
Initial video playing request module 500, is connected with playing request sending module 501, in the time that terminal is carried out video playback request first, sends video playback request to Service Process Server; Receive Service Process Server and carry out the broadcasting URL returning after authentication process; Send initial message by described broadcasting URL to streaming media server; The initialization response message that receiving stream media server returns; Setting up RTSP with streaming media server links; The orbital data of the current media file transmitting by described RTSP link receiving stream media server.
As shown in Figure 7, one embodiment of the invention proposes a kind of system of system for switching videos in video monitoring, comprising: the video terminal 701 being connected with streaming media server 700 and Service Process Server 702, wherein:
Video terminal 701, for sending video switch playing request to Service Process Server 702; Receive described Service Process Server 702 according to RTSP URL link and the relevant parameter list of the video playback after the switching of the SESSION acquisition of information of described switching playing request and current preservation; Control session according to the parameter change RTSP obtaining, play to streaming media server request RTSP;
Service Process Server 702, the video playback request sending for receiver, video terminal 701; When video playback request is while switching playing request, search the SESSION information of current preservation; According to SESSION information and RTSP URL link and the relevant parameter list of switching playing request and obtaining the video playback after switching, be sent to video terminal 701.
The method of embodiment of the present invention system for switching videos in video monitoring, server, terminal and system, by the SESSION information such as the authentication session of playing are for the first time carried out to buffer memory, after the video switch request of receiving video terminal, video traffic processing server utilizes the SESSION information of current preservation, return parameters list, video terminal is after receiving parameter list, do not need to re-establish authentication wholesale price, the overall process of Unified coding, only need to change the partial parameters in conversation message, just can be directly Switch Video fast, reduce the delay of making a video recording and causing when passage switches in video monitoring with this, further reduce the difficulty of camera passage Picture switch, can utilize original RTSP session simultaneously, the resources such as RTCP, reduce and switch the time needing, improve user's ease for use.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.
Claims (7)
1. a method for system for switching videos in video monitoring, is characterized in that, comprising:
The video playback request that Service Process Server receiving terminal sends;
When described video playback request is while switching playing request, search the session cache SESSION information of current preservation;
According to described SESSION information and switch playing request and obtain real time streaming transport protocol RTSP web page address URL link and the parameter list of the video playback after switching, be sent to described terminal, so that described terminal is controlled session according to the parameter change RTSP obtaining, play to streaming media server request RTSP;
After the step of described SESSION information of searching current preservation, also comprise:
In the time 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 and play URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcasting URL.
2. a method for system for switching videos in video monitoring, is characterized in that, comprising:
In the time that terminal is carried out video playback request first, terminal sends video playback request to Service Process Server;
Receive Service Process Server and carry out the broadcasting URL returning after authentication process;
Send initial message by described broadcasting URL to streaming media server;
The initialization response message that receiving stream media server returns;
Setting up RTSP with streaming media server links;
The orbital data of the current media file transmitting by described RTSP link receiving stream media server;
Terminal sends video switch playing request to Service Process Server;
Receive described Service Process Server according to RTSPURL link and the parameter list of the video playback after the switching of the SESSION acquisition of information of described switching playing request and current preservation;
Control session according to the parameter change RTSP obtaining, play to streaming media server request RTSP.
3. method according to claim 2, is characterized in that, the parameter change RTSP that described basis is obtained controls session, and the step of playing to streaming media server request RTSP comprises:
The parameter that terminal utilization is obtained substitutes the RTSP relevant parameter of playing, and change RTSP controls session;
Control session according to the RTSP after described change and send RTSP playing request to streaming media server;
The code stream that receiving stream media server obtains from shooting passage.
4. a server for system for switching videos in video monitoring, is characterized in that, comprising:
Playing request receiver module, the video playback request sending for receiving terminal;
SESSION searches module, for being while switching playing request when described video playback request, searches the SESSION information of current preservation;
Parameter acquiring sending module, for according to described SESSION information and switch playing request and obtain RTSPURL link and the parameter list of the video playback after switching, be sent to described terminal, so that described terminal is controlled session according to the parameter change RTSP obtaining, play to streaming media server request RTSP; Described server also comprises: first playing request processing module, in the time searching less than described SESSION information, sends authentication request to authenticating unit; Receive the authenticating result that described authenticating unit is returned, preserve current request session SESSION; Return and play URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcasting URL.
5. a terminal for system for switching videos in video monitoring, is characterized in that, comprising:
Playing request sending module, for sending video switch playing request to Service Process Server;
Parameter receiver module, for receiving described Service Process Server according to RTSPURL link and the parameter list of the video playback after the switching of the SESSION acquisition of information of described switching playing request and current preservation;
RTSP change and video request module, for controlling session according to the parameter change RTSP obtaining, play to streaming media server request RTSP;
Described terminal also comprises:
Initial video playing request module, in the time that terminal is carried out video playback request first, sends video playback request to Service Process Server; Receive Service Process Server and carry out the broadcasting URL returning after authentication process; Send initial message by described broadcasting URL to streaming media server; The initialization response message that receiving stream media server returns; Setting up RTSP with streaming media server links; The orbital data of the current media file transmitting by described RTSP link receiving stream media server.
6. terminal according to claim 5, is characterized in that, described RTSP change and video request module comprise:
RTSP controls session changing unit, and for utilizing the parameter of obtaining to substitute the RTSP relevant parameter of playing, change RTSP controls session;
RTSP playing request transmitting element, controls session for the RTSP according to after described change and sends RTSP playing request to streaming media server;
Code stream receiving element, the code stream obtaining from shooting passage for receiving stream media server.
7. a system for system for switching videos in video monitoring, is characterized in that, comprising: video terminal and Service Process Server, wherein:
Described video terminal, for sending video switch playing request to Service Process Server; Receive described Service Process Server according to RTSPURL link and the parameter list of the video playback after the switching of the SESSION acquisition of information of described switching playing request and current preservation; Control session according to the parameter change RTSP obtaining, play to streaming media server request RTSP;
Described Service Process Server, the video playback request sending for receiving described video terminal; When described video playback request is while switching playing request, search the SESSION information of current preservation; According to described SESSION information and switch playing request and obtain RTSPURL link and the parameter list of the video playback after switching, be sent to described video terminal; And in the time searching less than described SESSION information, send authentication request to authenticating unit; Receive the authenticating result that described authenticating unit is returned, preserve current request session SESSION; Return and play URL to described terminal, so that described terminal is play to streaming media server request RTSP according to described broadcasting URL.
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 CN102036058A (en) | 2011-04-27 |
CN102036058B true 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) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102256114B (en) * | 2011-08-22 | 2013-03-13 | 杭州华三通信技术有限公司 | Playing method and switching equipment in video monitoring |
CN103475853A (en) * | 2012-06-06 | 2013-12-25 | 中兴通讯股份有限公司 | 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 |
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 |
CN104113727B (en) | 2013-04-17 | 2017-09-12 | 华为技术有限公司 | A kind of method and apparatus of monitor video broadcasting, 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 |
CN109040672B (en) * | 2018-07-16 | 2020-12-04 | 北京奇虎科技有限公司 | Video playing method and device |
CN110601880B (en) * | 2019-09-02 | 2022-08-26 | 平安科技(深圳)有限公司 | Cloud platform, service processing method, command interface and computer equipment |
CN111193941B (en) * | 2020-01-07 | 2021-09-17 | 北京东土科技股份有限公司 | Method, device and equipment for transmitting media data and storage medium |
CN111479122B (en) * | 2020-04-13 | 2022-12-06 | 海信视像科技股份有限公司 | 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 |
CN114442992B (en) * | 2022-01-25 | 2024-01-02 | 杭州国芯科技股份有限公司 | Switching method of USB sound card audio transmission protocol |
Citations (4)
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 |
-
2010
- 2010-12-20 CN CN201010596718.3A patent/CN102036058B/en not_active Expired - Fee Related
Patent Citations (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN102036058A (en) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102036058B (en) | Method, server, terminal and system for switching videos in video monitoring system | |
US20190364303A1 (en) | Live broadcast processing method, apparatus, device, and storage medium | |
US8510317B2 (en) | Providing search results based on keyword detection in media content | |
US10412460B2 (en) | Hybrid network system, channel content playback method, and hybrid set top box | |
CN110933517B (en) | Code rate switching method, client and computer readable storage medium | |
CN104883618B (en) | Programme televised live tries method, apparatus and system | |
US8832771B2 (en) | Apparatus and method for detecting a media device | |
US20160044368A1 (en) | Method, apparatus and system for acquiring playback data stream of real-time video communication | |
CN103024456A (en) | Online video playing method and video playing server | |
CN101345838A (en) | TV program navigation method, apparatus and system | |
US11563992B2 (en) | Video playback quality detection method and apparatus | |
US20120240180A1 (en) | Set-top box, earphone, and multimedia playing method | |
CN104394476A (en) | Time shifting playing method and media player | |
CN110557672B (en) | Television program sharing method, television and storage medium | |
CN111866526B (en) | Live broadcast service processing method and device | |
CN103313095A (en) | Video transmission method, play method, terminal and server | |
CN104185040A (en) | Application synchronization method, application server and terminal | |
US8432941B2 (en) | Method and apparatus for selective caching of burst stream transmission | |
CN106488255A (en) | A kind of method and device of switching media stream | |
CN105933797B (en) | Programme televised live based on network protocol television opens broadcasting method and device | |
CN108134957A (en) | A kind of throwing screen method, terminal and computer storage media | |
US20150026711A1 (en) | Method and apparatus for video content distribution | |
CN101459976A (en) | Method, equipment and system for stream media playing control | |
US10771831B2 (en) | System and method for preemptive advertisement caching to optimize network traffic | |
CN105491394B (en) | Method and device for sending MMT packet and method for receiving MMT packet |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140702 Termination date: 20171220 |