CN101188605A - A system for forwarding stream media - Google Patents

A system for forwarding stream media Download PDF

Info

Publication number
CN101188605A
CN101188605A CNA2006101457575A CN200610145757A CN101188605A CN 101188605 A CN101188605 A CN 101188605A CN A2006101457575 A CNA2006101457575 A CN A2006101457575A CN 200610145757 A CN200610145757 A CN 200610145757A CN 101188605 A CN101188605 A CN 101188605A
Authority
CN
China
Prior art keywords
encoder
forwarding
request
monitor terminal
forwarding server
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.)
Withdrawn
Application number
CNA2006101457575A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2006101457575A priority Critical patent/CN101188605A/en
Publication of CN101188605A publication Critical patent/CN101188605A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

The invention provides a dynamic forwarding streaming media system, which comprises an encoder, a forwarding server, a monitor terminal and a network; wherein, the encoder is used for responding streaming media request, and the encoder provides streaming media data; the forwarding server is used for requesting the streaming media data to the encoder for forwarding a media source through a mobile network / a fixed network, builds and forwards the session with the media source, and preserves the session description protocol SDP information of the conversation and the received streaming media data; the monitor terminal is used for transmitting the streaming media request to the forwarding server, and the monitor terminal receives the streaming media data from the forwarding server. The system of the invention combines two independent flow connections into one flow connection, a client side and the forwarding server can obtain the data for forwarding the streaming media through a streaming media session once, not only the related media source data can be forwarded according to the request of the client side, but also the network resource is saved, and the burden of the forwarding server is lightened.

Description

A kind of system of forwarding stream media
Technical field
The invention belongs to multimedia technology field, relate to a kind of system that realizes the dynamic forwarding of stream medium data according to client-requested.
Background technology
Along with development of internet technology, a kind of new medium technique arises at the historic moment, stream media technology that Here it is.Streaming Media is meant the continuous time-base media that uses the stream transmission technology in network, as audio frequency, video or multimedia file.The stream service can provide continual audio/video flow to the user, satisfies the online dynamically audio-visual demand of watching of user, and therefore, stream media technology is used greatly in media-on-demand field and medium living broadcast field.
This type of stream media system adopts C/S (client/server) framework usually, and is the application bottleneck of system as stream service providers server.For alleviating the pressure of streaming media server, introduce the load that forwarding server Relay shares streaming media server at stream media system, stream medium data on the Relay server buffer streaming media server, so a part of user can visit the data of streaming media server by visit Relay server.
At present, the Relay server adopts the process of a kind of static Relay usually, and before the Relay service, the Relay server is set up Streaming Media with source server earlier usually and is connected, and preserves the source of media Parameter File (normally at the Relay server *.SDP file, follow Session Description Protocol SDP), the parameter configuration files of Streaming Media client-access Relay server is obtained the media data of source of media by real-time streaming protocol RTSP/ Session Description Protocol SDP/ realtime transmission protocol RTP/RTCP Real-time Transport Control Protocol RTCP.There is following shortcoming in this Relay method:
Increased or revised the source of media setting of system Relay newly, system restarts after needing undated parameter to preserve file;
The Relay server needs to set up stream with source of media earlier and is connected, and could provide service for the Streaming Media client then.That is to say that no matter have or not client-access, the Relay server all needs to connect with source of media, this has caused waste of network resources, has also increased the Relay load of server.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of system of dynamic forwarding stream media, not only can transmit relevant source of media data according to the request of client, and save Internet resources, has alleviated the Relay load of server.
In order to address the above problem, the present invention proposes a kind of dynamic forwarding stream media system, comprise encoder, forwarding server, monitor terminal and network, wherein:
Described encoder is used for the request of response flow medium and stream medium data is provided;
Described forwarding server is used for by the encoder request stream medium data of mobile network/fixed network to forwarding media source, and the Session Description Protocol SDP information of session and the stream medium data that receives are preserved in the session of foundation and forwarding media source;
Described monitor terminal is used for to forwarding server transmission Streaming Media request and from its receiving stream media data.
Wherein, described system can also comprise base station system BSS and packet data serving node PDSN, is used for the request that sends between base station side encoder and the forwarding server and receives data, and the base station side encoder links to each other with base station system, is used for mobile network environment.
Wherein, encoder can also comprise the network side encoder, is used for the fixed network environment, links to each other with internet.
Wherein, monitor terminal can comprise portable terminal/fixed terminal, and the base station side monitor terminal is a portable terminal, links to each other with forwarding server with PDSN by BSS; Described network side monitor terminal is a fixed terminal, links to each other with forwarding server by mobile network/fixed network.
Wherein, monitor terminal can comprise that sending real-time streaming protocol RTSP to forwarding server asks, and comprises the solicited message RTSP Describe request of describing monitor terminal in the described RTSP request;
After receiving the response message of forwarding server, set up flow media session.
Wherein, forwarding server can comprise the RTSP Describe request according to monitor terminal, resolves the RTSP request that makes new advances, and sends new RTSP request;
Will with the session SDP information of forwarding media source encoder, send to monitor terminal as the response of client-requested.
Wherein, the RTSP request can also comprise additional control information, the described information content has the Internet protocol IP address of forwarding server, the uniqueness mark of encoder, transmission control protocol TCP specifies the mode of transmission data between forwarding server and forwarding source, the IP address of encoder, the rtsp serve port that encoder provides and to the particular content of encoder request.
Wherein, forwarding server can comprise session SDP information is kept in the local file, in case system restarts, obtains information by reading local file; Or directly this SDP information is kept in the internal memory, after restarting, system do not need to obtain again.
Wherein, forwarding server can also comprise and detect the same forwarding of a plurality of monitor terminal requests source, and set up and being connected of the source of transmitting, and the data that then directly will transmit the source send to monitor terminal;
The monitor terminal number that detects encoder is 0 o'clock, and automatic disconnection is connected with encoder.
Wherein, forwarding server can comprise the data that forwarding realtime transmission protocol RTP/RTCP Real-time Transport Control Protocol RTCP/ file transfer protocol (FTP) ftp/ HTML (Hypertext Markup Language) http network transmission protocol transmits, and is used for the transfer of data of RTP/RTCP on User Datagram Protoco (UDP) UDP and transmission control protocol TCP type.
Compared with prior art, system of the present invention independently flows to connect with two and merges into a stream connection, client can be obtained the forwarding media source data by a flow media session with forwarding server, not only can transmit relevant source of media data according to the request of client, and saved Internet resources, alleviated the burden of forwarding server.
Description of drawings
Fig. 1 is the system block diagram of forwarding stream media among the embodiment.
Fig. 2 is the operational flowchart of forwarding stream media among the embodiment.
Embodiment
Figure 1 shows that the system of forwarding stream media, described system comprises encoder, base station system BSS, packet data serving node PDSN, Relay server, monitor terminal and network, wherein:
Described encoder is used for the request of response flow medium and stream medium data is provided, and comprises base station side encoder and network side encoder, and wherein, the base station side encoder links to each other with base station system, is used for mobile network environment; The network side encoder links to each other with internet, is used for the fixed network environment;
Described base station system BSS, packet data serving node PDSN link to each other successively with the Relay server, carry out transmitted in both directions, and base station system BSS and packet data serving node PDSN provide the request that sends between base station side encoder and the Relay server and receive data;
The Relay server is used for by the encoder request stream medium data of mobile network/fixed network to forwarding media source, and the SDP information of session and the stream medium data that receives are preserved in the session of foundation and forwarding media source;
Described monitor terminal is used for carrying out with the Relay server transmission and the Data Receiving of Streaming Media request, comprises portable terminal/fixed terminal, and wherein, the base station side monitor terminal is a portable terminal, links to each other with the Relay server with PDSN by BSS; Described network side monitor terminal is a fixed terminal, links to each other with the Relay server by mobile network/fixed network; When the encoder data of fixed terminal by Relay server requests network side, the Streaming Media of fixed terminal and Relay server transmits by UDP, network side encoder and Relay server flows medium are by TCP transmission (following the rtspt agreement, i.e. RTP/RTCPover TCP mode);
Figure 2 shows that the operation of forwarding stream media, may further comprise the steps:
Step 201, monitor terminal send the RTSP request that comprises forwarding media source information to the Relay server;
Stream request form is followed the rtsp stream request form of standard, by server and unified the getting final product of determining of client, can add control information in the stream request.The stream request is in this enforcement: rtsp: //<RelaySvrip 〉/<codec guid〉.sdp; Method=TCP;<Codec IP 〉;<rtsp port 〉;<URL 〉; ...
Wherein,<RelaySvr ip〉be the IP address of Relay server,<codec guid〉be the uniqueness mark of encoder, Method shows that TCP specifies between Relay server and forwarding source and transmits data by RTP/RTCP over TCP mode,<Code IP〉be the IP address of encoder,<rtspport〉the rtsp serve port that provides for encoder,<URL〉be particular content to the encoder request, can be sky.
After step 202, Relay server are received the forwarding flow request that monitor terminal sends, judge whether to connect with transmitting source encoder, if, direct execution in step 205, otherwise, execution in step 203;
According to the RTSP standard agreement, the Relay server at first can be received RTSP Describe request, comprises the solicited message of client in the Describe request.Relay server analysis request information parses the desired forwarding media source information of client, and forms new RTSP request rtspt: //<codecip 〉:<rtsp port 〉/<URL〉...,
Wherein, rtspt shows that request adopts the mode of RTP/RTCP over TCP to transmit data.For example, RTSP: // forwarding media source IP: forwarding media source serve port/forwarding media source path.
Step 203, the new RTSP request that the Relay server by utilizing parses, to forwarding media source encoder request stream medium data, the SDP information of session and the stream medium data that receives are preserved in the session of foundation and forwarding media source;
Relay server and forwarding media source are set up the session based on RTP/RTCP over TCP, and this process is that standard procedure can be with reference to rfc 2326 documents " RFC 2326-Real Time StreamingProtocol (RTSP) ".
The Relay server needs to preserve and the SDP information of transmitting source encoder in this process, and the method for preserving session SDP information has two kinds: the one, this information is kept in the local file, and in case system restarts, can obtain information by reading local file; Another kind is directly this SDP information to be kept in the internal memory, and this mode does not need to obtain after system restarts again.
Step 204, the Relay server will with the session SDP information of forwarding media source encoder, send to monitor terminal as client RTSP Describe request responding;
Step 205, after monitor terminal receives RTSP Describe request responding, follow the requirement of RTSP standard agreement RTP/RTCP over UDP, continue to set up the RTSP/SDP/RTP/RTCP flow media session by RTSP Setup, RTSP Play method and Relay server;
By simple deformation, the Relay server also can dynamically be transmitted the data that other network transmission protocols such as using ftp/http transmit, and is applicable to the data transfer mode of RTP/RTCP over TCP type.
The Relay streaming server can be merged into a stream with the stream of two kinds of different pieces of information transport-types according to the content of stream request.
Step 206, after the flow media session of Relay server and client was set up, the Relay server sent to monitor terminal with the media data of the forwarding media source encoder of buffer memory, and monitor terminal just can be visited the media data of forwarding media source encoder like this;
When the same forwarding of a plurality of client-requested source, if set up being connected of source with transmitting, the data that the Relay server directly will be transmitted the source send to client and get final product, and do not need to set up new stream again with the forwarding source and are connected, the saving network bandwidth.
The Relay server can come the management flow transmission by the number of clients of judging the request forwarding media source, when the number of clients of encoder is 0, the streaming media server automatic disconnection is connected with encoder, the action of repeating step 201 when waiting for the request comes of new client.
Need to prove that said method can be used for mobile network and fixed network, described operating process is identical, can be independent of in the concrete network environment, also can initiate Streaming Media transmission request to mobile network's side by fixed terminal.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. the system of a forwarding stream media comprises encoder, forwarding server, monitor terminal and network, wherein:
Described encoder is used for the request of response flow medium and stream medium data is provided;
Described forwarding server is used for by the encoder request stream medium data of mobile network/fixed network to forwarding media source, and the Session Description Protocol SDP information of session and the stream medium data that receives are preserved in the session of foundation and forwarding media source;
Described monitor terminal is used for to forwarding server transmission Streaming Media request and from its receiving stream media data.
2. system according to claim 1 is characterized in that, also comprises:
Base station system BSS and packet data serving node PDSN are used for the request that sends between base station side encoder and the forwarding server and receive data, and wherein, the base station side encoder links to each other with base station system, is used for mobile network environment.
3. as system as described in the claim 2, it is characterized in that encoder also comprises:
The network side encoder is used for the fixed network environment, links to each other with internet.
4. system according to claim 1 is characterized in that monitor terminal comprises:
Portable terminal/fixed terminal, wherein, the base station side monitor terminal is a portable terminal, links to each other with forwarding server with PDSN by BSS; Described network side monitor terminal is a fixed terminal, links to each other with forwarding server by mobile network/fixed network.
5. system according to claim 1 is characterized in that monitor terminal comprises:
Send real-time streaming protocol RTSP request to forwarding server, comprise the solicited message RTSP Describe request of describing monitor terminal in the described RTSP request;
After receiving the response message of forwarding server, set up flow media session.
6. as system as described in the claim 5, it is characterized in that forwarding server comprises:
According to the RTSP Describe request of monitor terminal, resolve the RTSP request that makes new advances, and send new RTSP request;
Will with the session SDP information of forwarding media source encoder, send to monitor terminal as the response of client-requested.
7. as system as described in the claim 5, it is characterized in that the RTSP request also comprises:
Additional control information, the described information content has the Internet protocol IP address of forwarding server, the uniqueness mark of encoder, transmission control protocol TCP specifies the mode of transmission data between forwarding server and forwarding source, the IP address of encoder, the rtsp serve port that encoder provides and to the particular content of encoder request.
8. system according to claim 1 is characterized in that forwarding server comprises:
Session SDP information is kept in the local file,, obtains information by reading local file in case system restarts; Or directly this SDP information is kept in the internal memory, after restarting, system do not need to obtain again.
9. system according to claim 1 is characterized in that forwarding server also comprises:
Detect the same forwarding of a plurality of monitor terminal requests source, and set up and being connected of the source of transmitting, the data that then directly will transmit the source send to monitor terminal;
The monitor terminal number that detects encoder is 0 o'clock, and automatic disconnection is connected with encoder.
10. system according to claim 1 is characterized in that forwarding server comprises:
Transmit the data that realtime transmission protocol RTP/RTCP Real-time Transport Control Protocol RTCP/ file transfer protocol (FTP) ftp/ HTML (Hypertext Markup Language) http network transmission protocol transmits, and be used for the transfer of data of RTP/RTCP on User Datagram Protoco (UDP) UDP and transmission control protocol TCP type.
CNA2006101457575A 2006-11-16 2006-11-16 A system for forwarding stream media Withdrawn CN101188605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101457575A CN101188605A (en) 2006-11-16 2006-11-16 A system for forwarding stream media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101457575A CN101188605A (en) 2006-11-16 2006-11-16 A system for forwarding stream media

Publications (1)

Publication Number Publication Date
CN101188605A true CN101188605A (en) 2008-05-28

Family

ID=39480794

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101457575A Withdrawn CN101188605A (en) 2006-11-16 2006-11-16 A system for forwarding stream media

Country Status (1)

Country Link
CN (1) CN101188605A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256113A (en) * 2011-08-03 2011-11-23 杭州华三通信技术有限公司 Control method and control device for forwarding media stream
CN103533305A (en) * 2013-10-10 2014-01-22 国电南瑞科技股份有限公司 B/S framework plugin-free universal video monitoring system
CN111010615A (en) * 2019-12-03 2020-04-14 深圳市创维群欣安防科技股份有限公司 Video stream transmission method, system and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256113A (en) * 2011-08-03 2011-11-23 杭州华三通信技术有限公司 Control method and control device for forwarding media stream
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
CN111010615A (en) * 2019-12-03 2020-04-14 深圳市创维群欣安防科技股份有限公司 Video stream transmission method, system and storage medium

Similar Documents

Publication Publication Date Title
CN101179480B (en) Method for forwarding stream media
KR100759954B1 (en) Method for signaling client rate capacity in multimedia streaming
TWI461022B (en) System and method for implementing mbms handover during download delivery
CN1914878B (en) Classified media quality of experience
CN101119475B (en) System and method for implementing video on-demand request redirection in IPTV system
KR101375454B1 (en) Media Channel Management
CN106850399B (en) Communication method based on WebRTC technology instant message
US20050005025A1 (en) Method for managing a streaming media service
US20110320629A1 (en) Stream media server, client terminal and method and system for downloading stream media
US20060031553A1 (en) Dynamic control method for session timeout
CN103348657B (en) Flow media playing method, equipment and system
KR20110026498A (en) System and methods for quality of experience reporting
CN103828328A (en) System and method for mobility and multi-homing content retrieval applications
JP2010509798A (en) System and method for enabling fast switching between PSSE channels
EP1971090A1 (en) A method, system and device for transmitting ims instant messages
US9479607B2 (en) Content caching and delivering system with traffic of repetitively requested content reduced
MXPA06000670A (en) Method and system for providing a transmission link for streaming traffic.
CN109964467A (en) The control based on node type for auxiliary data flow transmission
WO2017107795A1 (en) Method and device for accelerating access to website
CN101083628B (en) Method for dynamic forwarding media source
CN101094159B (en) Method for penetrating through private network of media stream
CN101188605A (en) A system for forwarding stream media
Andriescu et al. AmbiStream: a middleware for multimedia streaming on heterogeneous mobile devices
CN101895406A (en) Method and system for providing direct broadcast service of mobile streaming media
TWI403197B (en) In the wireless broadband network transmission of multimedia streaming user platform, communication systems and methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C04 Withdrawal of patent application after publication (patent law 2001)
WW01 Invention patent application withdrawn after publication