CN102075536A - Background video agent service method for supporting hand-held monitoring - Google Patents
Background video agent service method for supporting hand-held monitoring Download PDFInfo
- Publication number
- CN102075536A CN102075536A CN2011100062822A CN201110006282A CN102075536A CN 102075536 A CN102075536 A CN 102075536A CN 2011100062822 A CN2011100062822 A CN 2011100062822A CN 201110006282 A CN201110006282 A CN 201110006282A CN 102075536 A CN102075536 A CN 102075536A
- Authority
- CN
- China
- Prior art keywords
- client
- server
- udp
- tcp
- service
- 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.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a background video agent service method for supporting hand-held monitoring, which comprises the following steps of: realizing and controlling client data link in order to sufficiently utilize network resources; building a stream media agent visit control integrated method, controlling the data transmission of real time streaming protocol (RTSP), real time control protocol (RTCP) and real time protocol (RTP) between a server end and a client through regulating the network data stream, and realizing the agent function of a stream media data server; and supporting a hand-held monitoring system. The method provided by the invention has the advantages that the use is convenient, the heterogeneous stream media server can be integrated, the operation is simple, and the use cost is low.
Description
Technical field
The present invention relates to mechanics of communication, relate in particular to a kind of method that supports the backstage video agency service of hand-held monitoring.
Background technology
Along with the development of network and 3G mobile communication technology, watch audio-visual video to become the focus of application by portable terminal, Xiang Guan stream media technology has also had corresponding development therewith.
Stream media technology is after audio-video document and audio/video flow are handled by compression, to carry out segment transmissions by the webserver, and client computer need not download to this locality with whole audio-video document, just can listen to immediately and watch.Use for typical streaming media service, generally to realize authentification of user, be redirected, a plurality of modules such as controller, meeting issue, charging, but because each streaming media server is realized technology and inequality, thereby need research how between these servers, to set up corresponding cluster topology, and expanded function, optimize Service Source, for example: build the visit of power control user resources, adjust equally loaded of streaming media server or the like.
Method in the field of video monitoring has limited the development of hand-held supervisory control system to a great extent simultaneously, and the market demand can insert existing different Video service, can provide effective management testing simultaneously, realizes the online support to hand-held monitor video service.Set up a concrete MAC layer, this key-course is independent of the realization of concrete Streaming Media client-server end, method by isomeric data control realizes the control to user's streaming media service request, thereby plays effects such as control user capture and streaming media service load balancing.
Summary of the invention
Technical problem solved by the invention is to provide a kind of method that supports the backstage video agency service of hand-held monitoring, to solve the shortcoming in the above-mentioned background technology.
A kind of method that supports the backstage video agency service of hand-held monitoring, utilizing server and client side both sides to be that TCP is long to RTSP(connects) the utilization of connection content, can realize controlling the visit of client and server, this is a kind of simple and effective and efficient manner, need not carry out the full detail decoding to RTSP, RTP, RTCP content, can reduce the extra time expense of agency plant when operation, in order to reach the purpose of foregoing description, the content that will consider this moment comprises:
1), access control connects client and server end RTSP(TCP) support of data flow;
2), access control is to the support of client and server end RTP and RTCP.
In the present invention, the data interaction between streaming media service clients corresponding and the server end, by control RTSP, the data flow of RTCP and RTP realizes agency service packet switching function.Adopted Three-tier Architecture Model, the effect that " transparent " was connected in the middle of agency service played the connection of client and server, its operability is at the JDK5.0 platform, verify on streaming media server Darwin 5.5 and the client pvplayer 3.0.1 and pass through linking number and efficient in the following analysis agent.
Its control mode specifically comprises following several aspect:
The linking number of server: the RTP, the RTCP port that use the UDP transmission, transmit control of video and audio frequency by two pairs of ports, the RTSP that TCP connects needs one, and therefore when N client initiated request, needing N TCP to be connected just with (N+2) individual UDP under the worst case can provide service.
Client: it comprises that the TCP of a RTSP mode connects, and two couples of UDP connect, and when N client initiated request, its linking number was that N TCP and 4*N UDP connect under the worst case.
The server of monitoring agent: for single client service, it comprises that 2 TCP that serve client and service end respectively are connected, and 4 UDP in order to virtual client connect, and 2 in order to provide the UDP connection of virtual server.When the client number is N, needs 2*N TCP connection to be connected just under the worst case and can finish agency service with 4*N+2 UDP agency.
As further feature of the present invention, the end of handheld client described in the present invention comprises mobile phone, PDA and notebook.
Beneficial effect: tool of the present invention is easy to use, simple to operate, what is more important is saved Internet resources, the stream media network server of integrated isomery, can support hand-held monitoring system platform, it is low to have use cost, effects such as low price, and can make hand-held monitoring offer convenience anywhere or anytime for hand-held supervisory control system front end provides service for life.
Description of drawings
Fig. 1 is the inner link block structure chart of acting server of the present invention.
Embodiment
To be divided into several sections explanation below, each part is all with these actions of detailed explanation and details.
As shown in Figure 1, a kind of method that supports the backstage video agency service of hand-held monitoring of the present invention's proposition.Port for RTP and RTCP is established, and can determine the foundation of both sides' port after the SETUP method, and the SETUP method is transmitted by the UTF8 clear content of RTSP.
For example initiate SETUP message in client:
SETUP?RTSP://211.136.109.148:554/sample_50kbit.3gp/trackID=3?RTSP/1.0
Transport:?RTP/AVP;?unicast;?client_port=?9700-9701
Wherein client_port=9700-9701 is RTP and the RTCP port numbers that user side is told service end self correspondence.
By being sent to the corresponding client end data of server end after the access agent control module:
SETUP?RTSP://XXX.XXX.XXX.XXX:554/sample_50kbit.3gp/trackID=3?RTSP/1.0
Transport:?RTP/AVP;?unicast;?client_port=?7000-7001
XXX.XXX.XXX.XXX wherein is the real address of streaming media server, and client_port is modified to the link slogan that access agent control is used, and is used to serve as virtual client.
To the SETUP order that above-mentioned client is initiated, the data that this moment, server returned comprise following key data segment:
Server:?DSS/5.5?(Build/489.7;?Platform/Win32;?Release/Darwin;?)
Transport:RTP/AVP;?unicast;?source?=?XXX.XXX.XXX.XXX;?client_port?=?7000-7001;?server_port=6970-6971;?ssrc=?0000018
By acting on behalf of control module server end data afterwards:
Server:?DSS/5.5?(Build/489.7;?Platform/Win32;?Release/Darwin;?)
Transport:RTP/AVP;unicast;source=211.136.?109.148;client_port=9700-9701;server_port?=6000-6001;ssrc=0000018
Utilize and revise RTSP address port expressly, change the flow direction that data send.
Use acting server to carry out the foundation and the FPDP UDP(RTP of entity port, mapping RTCP) need be set up address and port mapping and be come route UDP message, and five-tuple is described below:
G?=?{P,S_A,S_P,D_A,D_P};
P: the listening port of control agent;
S_A: the source address of the UDP bag that expression receives;
S_P: the source port of the UDP bag that expression receives;
D_A: the destination address that the expression UDP message will send;
D_P: the destination interface that the expression UDP message will send;
Access agent control whenever receives UDP(RTP, a RTCP by detection port (setting up when the SETUP method)) data message, just search for UDP message source address and source port with Hash; Then find D_A, D_P by the P in the five-tuple information, S_A, S_P, destination address and port that determination data sends, and then data delivery gone out, acting server framework false code algorithm is as follows:
Module?of?proxy
Parse?method?of?RTSP?describe?utf-8?text
case?(method?in?[RTSP?method]){
setup:
to?find?setup?ports?of?server?and
client?and?register?them.
to?setup?TCP?and?UDP?mapping?router.
play[pause,?stop]:
to?play[pause,stop]?proxy?UDP?streaming
to?set?stat?to?playing[pause,?stop]
}
if(?stat?is?playing){
to?find?the?target?server?and?client?ports?inspectively.
to?send?the?UDP?package?to?target?port
}
More than show and described basic principle of the present invention and principal character and advantage of the present invention.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; that describes in the foregoing description and the specification just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.
Claims (2)
1. one kind is supported the method for handing the backstage video agency service of monitoring, utilizing server and client side both sides to be that TCP is long to RTSP(connects) the utilization of connection content, can realize controlling the visit of client and server, it is characterized in that, data interaction between streaming media service clients corresponding and the server end, by control RTSP, the data flow of RTCP and RTP, realize agency service packet switching function, adopted Three-tier Architecture Model, the effect that agency service is connected in the middle of the connection of client and server is played.
2. a kind of method that supports the backstage video agency service of hand-held monitoring according to claim 1 is characterized in that its control mode specifically comprises following several aspect:
The linking number of server: the RTP, the RTCP port that use the UDP transmission, transmit control of video and audio frequency by two pairs of ports, the RTSP that TCP connects needs one, and therefore when N client initiated request, needing N TCP to be connected just with (N+2) individual UDP under the worst case can provide service;
Client: it comprises that the TCP of a RTSP mode connects, and two couples of UDP connect, and when N client initiated request, its linking number was that N TCP and 4*N UDP connect under the worst case;
The server of monitoring agent: for single client service, it comprises that 2 TCP that serve client and service end respectively are connected, and 4 UDP in order to virtual client connect, and 2 in order to provide the UDP connection of virtual server;
When the client number is N, needs 2*N TCP connection to be connected just under the worst case and can finish agency service with 4*N+2 UDP agency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100062822A CN102075536A (en) | 2011-01-13 | 2011-01-13 | Background video agent service method for supporting hand-held monitoring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100062822A CN102075536A (en) | 2011-01-13 | 2011-01-13 | Background video agent service method for supporting hand-held monitoring |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102075536A true CN102075536A (en) | 2011-05-25 |
Family
ID=44033880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100062822A Pending CN102075536A (en) | 2011-01-13 | 2011-01-13 | Background video agent service method for supporting hand-held monitoring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102075536A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102420835A (en) * | 2012-01-10 | 2012-04-18 | 广东佳和通信技术有限公司 | Proxy method for RTP media stream in converged communication system |
CN108307149A (en) * | 2017-12-29 | 2018-07-20 | 上海顶竹通讯技术有限公司 | A kind of video proxy system and monitoring method |
CN108650232A (en) * | 2018-04-12 | 2018-10-12 | 上海扩博智能技术有限公司 | Unmanned plane media data real-time transmission system and method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1403934A (en) * | 2001-09-06 | 2003-03-19 | 华为技术有限公司 | Load balancing method and equipment for convective medium server |
-
2011
- 2011-01-13 CN CN2011100062822A patent/CN102075536A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1403934A (en) * | 2001-09-06 | 2003-03-19 | 华为技术有限公司 | Load balancing method and equipment for convective medium server |
Non-Patent Citations (1)
Title |
---|
朱世交等: "《基于RTSP控制的流媒体代理服务器集成算法研究》", 《计算机应用》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102420835A (en) * | 2012-01-10 | 2012-04-18 | 广东佳和通信技术有限公司 | Proxy method for RTP media stream in converged communication system |
CN102420835B (en) * | 2012-01-10 | 2014-07-16 | 广东佳和通信技术有限公司 | Method for realizing real-time transport protocol (RTP) media stream agent in unified communication system |
CN108307149A (en) * | 2017-12-29 | 2018-07-20 | 上海顶竹通讯技术有限公司 | A kind of video proxy system and monitoring method |
CN108307149B (en) * | 2017-12-29 | 2020-08-25 | 上海顶竹通讯技术有限公司 | Video proxy system and monitoring method |
CN108650232A (en) * | 2018-04-12 | 2018-10-12 | 上海扩博智能技术有限公司 | Unmanned plane media data real-time transmission system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11936921B2 (en) | Method for managing network live streaming data and related apparatus, and device and storage medium | |
Kesavan et al. | An investigation on adaptive HTTP media streaming Quality-of-Experience (QoE) and agility using cloud media services | |
CN103621151B (en) | For managing the technology that stream broadcasts media business in network entity | |
CN100421469C (en) | System and method for realizing video frequency information sharing | |
CN110213652B (en) | Audio and video data transmission method and device and storage medium | |
RU2010127302A (en) | SYSTEM AND METHOD FOR COMPRESSING INTERACTIVE STREAM VIDEO | |
CN101406008A (en) | Method, apparatus and system for supporting transparent proxy by wireless access gateway | |
CN102711175A (en) | Method and device for transmitting data | |
CN105141660B (en) | A kind of Streaming Media management method and system | |
CN103348657B (en) | Flow media playing method, equipment and system | |
CN101997822A (en) | Streaming media content delivery method, system and equipment | |
CN101155089A (en) | Wireless multimedia real-time learning system and method | |
CN101232601A (en) | A digital home network streaming media transmission method based on bluetooth communication technology | |
CN1968276B (en) | A Dynamic Optimization Method of Data Transmission Between Services in Service-Oriented Architecture Environment | |
CN105072507A (en) | Method and system for transmitting multimedia data | |
CN103167275A (en) | Network video monitoring system and steaming media data distribution method thereof | |
CN105516262A (en) | Remote control method and system of application program | |
CN109547817B (en) | Method and device for double-playing video networking video recording in Internet | |
Go et al. | Hybrid TCP/UDP-based enhanced HTTP adaptive streaming system with multi-homed mobile terminal | |
CN102075536A (en) | Background video agent service method for supporting hand-held monitoring | |
US9871840B2 (en) | Electronic apparatus and method for transferring contents on cloud system to device connected to DLNA | |
CN109617961B (en) | Method and device for downloading video recording of video network in Internet | |
CN109698818B (en) | Method and device for acquiring online user and cross-streaming media communication | |
CN116233085A (en) | Multi-terminal streaming media transmission method, system and streaming media server cluster | |
CN112087632A (en) | Video processing system, method, storage medium and computer device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110525 |