CN101557404A - Media resource transmission method and protocol converting equipment - Google Patents

Media resource transmission method and protocol converting equipment Download PDF

Info

Publication number
CN101557404A
CN101557404A CNA2009101428792A CN200910142879A CN101557404A CN 101557404 A CN101557404 A CN 101557404A CN A2009101428792 A CNA2009101428792 A CN A2009101428792A CN 200910142879 A CN200910142879 A CN 200910142879A CN 101557404 A CN101557404 A CN 101557404A
Authority
CN
China
Prior art keywords
resource
rtsp client
session
media
resource apparatus
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
Application number
CNA2009101428792A
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNA2009101428792A priority Critical patent/CN101557404A/en
Publication of CN101557404A publication Critical patent/CN101557404A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a media resource transmission method and a protocol converting equipment. The method comprises the steps: the protocol converting equipment receives a session request sent by an RTSP client side, converts the session request into an H323 protocol format, sends the converted session request to H323 resource equipment and establishes a session between the RTSP client side and the H323 resource equipment; the protocol converting equipment receives a media resource request sent by the RTSP client side and informs the H323 resource equipment to transmit the media resource requested by the RTSP client side to the RTSP client side according to the session between the RTSP client side and the H323 resource equipment. The invention adopts the protocol converting equipment to convert messages sent by different protocol terminals so as to establish session links among different protocol terminals and realize direct data interaction among different protocol terminals, thereby causing the RTSP client side to access the H323 equipment and obtaining the media resources in the H323 equipment.

Description

A kind of transmission method of media resource and protocol conversion device
Technical field
The present invention relates to the communications field, relate in particular to a kind of transmission method and protocol conversion device of media resource.
Background technology
RTSP (Real Time Streaming Protocol, real time streaming transport protocol) is the agreement that is used for media-on-demand control, needed type of message when having defined the control media-on-demand in this agreement comprises: set up session SETUP, play PLAY, suspend and play PAUSE, media description DESCRIBE, end session TEARDOWN etc.In addition, RTSP adopts URI (Uniform ResourceIdentifier, unified resource sign) to identify to medium.The process that RTSP client-access RTSP resource apparatus obtains media resource comprises:
The RTSP client sends session to the RTSP resource apparatus and sets up request SETUP, carries RTSP URI and the port information that the RTSP client receives this media resource and the media flow transmission mode of media resource of the media resource of RTSP client-requested among this SETUP;
The RTSP resource apparatus receives the request that the RTSP client sends, and searches the media resource of corresponding resource according to URI, sends 200OK message to the RTSP client, and the expression session is set up successfully;
The RTSP client sends media play request PLAY to the RTSP resource apparatus, and above-mentioned media resource is play in request; The RTSP resource apparatus receives this request, sends Media Stream to the RTSP client;
When the RTSP client when the RTSP resource apparatus sends medium and suspends playing request PAUSE, the RTSP resource apparatus suspends to the RTSP client and sends Media Stream; When the RTSP client wished to regain Media Stream, the RTSP client sent PLAY message to the RTSP resource apparatus, regains media resource;
When the expectation of RTSP client finishes media play, send end session request TEARDOWN to the RTSP resource apparatus, the RTSP resource apparatus receives this request TEARDOWN, finishes and RTSP client-side session relation.
The H323 agreement is a kind of IP (Internet Protocol, Internet Protocol) telephone system agreement, needed various type of messages when wherein having defined the control session, as set up session Setup, ring Alerting, session and set up successful Connect, remove session Release etc.
The process that H323 client-access H323 resource apparatus obtains media resource comprises:
The H323 client sends session to the H323 resource apparatus and sets up request SETUP; The identification information that comprises the media resource of request in this request;
The H323 client sends ring Alerting or other message to the H323 resource apparatus, and expression H323 resource apparatus is being handled conversation request;
The H323 resource apparatus sends Connect message to the H323 client, and the expression session is set up successfully;
The H323 client sends TerminalCapabilitySet message to the H323 resource apparatus, and the descriptor of the media resource that notice H323 resource apparatus need obtain comprises the Media Stream code check of media resource and media stream formats etc.; After receiving the response message TerminalCapabilityAck and OpenLogicalChannel message that the H323 resource apparatus sends above-mentioned TerminalCapabilitySet message, the H323 client sends OpenLogicalChannelAck message to the H323 resource apparatus, the logical channel between foundation and the H323 resource apparatus;
The H323 client sends media play request PLAY to the H323 resource apparatus, and the H323 resource apparatus sends Media Stream by the logical channel of setting up to the H323 client;
When the H323 client when the H323 resource apparatus sends medium and suspends playing request PAUSE, the H323 resource apparatus suspends to the H323 client and sends Media Stream; When the H323 client wished to regain Media Stream, the H323 client sent PLAY message to the H323 resource apparatus, regains media resource;
When the expectation of H323 client finishes media play, send end session request TEARDOWN to the H323 resource apparatus, the RTSP resource apparatus finishes and RTSP client-side session relation.
In present medium browsing demand, the situation that the RTSP client wishes to visit the H323 resource apparatus appears sometimes, as: the RTSP client wishes to watch the H323 video conference image, the perhaps recording of voice call in the RTSP client program request H323 network.But, because most of video conferencing systems are fundamental construction with the H323 agreement all, do not support the RTSP agreement, therefore, the H323 resource apparatus can not be discerned the media resource request that the RTSP client sends, and the RTSP client can not be visited the media resource in the H323 resource apparatus.
Based on above-mentioned analysis, the inventor thinks: existing H323 resource apparatus is not supported the client of RTSP agreement, so the RTSP client can not be visited the media resource of H323 resource apparatus, make and adopt the multimedia system intercommunication of different agreement to bring obstacle, when the client that the RTSP agreement is housed need be visited the media resource of H323 resource apparatus, need dispose the H323 agreement simultaneously on this client, workload is big, the cost height.
Summary of the invention
The invention provides a kind of transmission method and protocol conversion device of media resource, make the RTSP client can visit H323 equipment, obtain the media resource in the H323 equipment.
The invention provides a kind of transmission method of media resource, comprising:
Protocol conversion device receives the conversation request that the RTSP client sends, and described conversation request is converted into the H323 protocol format and sends the session of setting up described RTSP client and described H323 resource apparatus to the H323 resource apparatus;
Described protocol conversion device receives the media resource request that described RTSP client sends, and notifies described H323 resource apparatus according to the session of described RTSP client and the described H323 resource apparatus media resource to the described RTSP client-requested of described RTSP client transmissions.
Described protocol conversion device receives the conversation request that the RTSP client sends, and described conversation request is converted into the H323 protocol format and sends to the H323 resource apparatus, and the session of setting up described RTSP client and described H323 resource apparatus is specially:
Described protocol conversion device receives first conversation request that described RTSP client sends, and second conversation request according to described first conversation request generation H323 agreement sends described second conversation request to described H323 resource apparatus;
Described protocol conversion device receives the session of described H323 resource apparatus transmission and sets up success response, and described second session is set up successfully;
Described protocol conversion device is set up success response to the session that described RTSP client sends first conversation request, and described first session is set up successfully;
Described protocol conversion device is preserved the corresponding relation of described first session and described second session, sets up the session of described RTSP client and described H323 resource apparatus.
Described protocol gateway is specially described second conversation request according to second conversation request of described first conversation request generation H323 agreement to described H323 resource apparatus transmission:
Described protocol conversion device obtains the identification information of the media resource of the described RTSP client-requested of carrying in described first conversation request, address information according to the identification information of described media resource is inquired about described H323 resource apparatus generates second conversation request of H323 agreement and sends described second conversation request to described H323 resource apparatus according to described address information.
Described protocol conversion device receives the media resource request that described RTSP client sends, and notifies described H323 resource apparatus to be specially to the media resource of the described RTSP client-requested of described RTSP client transmissions according to the session of described RTSP client and described H323 resource apparatus:
Described protocol conversion device receives the media resource request that described RTSP client sends, and carries the identification information of described first session in the media resource request that described RTSP client sends;
Described protocol conversion device is searched the corresponding relation of described first session and described second session according to the identification information of described first session, obtains described second session;
Described protocol conversion device is according to the logical channel between described second session foundation and the described H323 resource apparatus, the port address information of notifying the described RTSP client of described H323 resource apparatus to be used to receive the media resource of described request makes described H323 resource apparatus send the media resource of described request to the port address of described RTSP client.
Described protocol conversion device receives the media resource request that described RTSP client sends, notify described H323 resource apparatus according to the session of described RTSP client and described H323 resource apparatus after the media resource of the described RTSP client-requested of described RTSP client transmissions, also comprise:
The expectation of described RTSP client suspends when receiving described media resource, and described protocol conversion device receives the suspending message that described RTSP client sends, and generates the pathway closure message of described logical channel according to this suspending message;
Described protocol conversion device sends described pathway closure message to described H323 resource apparatus, notify described H323 resource apparatus to close described logical channel, and stop to transmit the media resource of described RTSP client-requested.
Described protocol conversion device receives the media resource request that described RTSP client sends, notify described H323 resource apparatus according to the session of described RTSP client and described H323 resource apparatus after the media resource of the described RTSP client-requested of described RTSP client transmissions, also comprise:
When the expectation of described RTSP client stopped receiving described media resource, described protocol conversion device receives that described RTSP client sends stopped the receiving media message related to resources, according to the described receiving media message related to resources formation logic passage tear down message that stops;
Described protocol conversion device sends described logical channel tear down message to described H323 resource apparatus, notify described H323 resource apparatus to remove described logical channel and described H323 resource apparatus and described RTSP client-side session.
The invention provides a kind of protocol conversion device, comprising:
Conversation element is used to receive the conversation request that the RTSP client sends, and described conversation request is converted into the H323 protocol format and sends the session of setting up described RTSP client and described H323 resource apparatus to the H323 resource apparatus;
Media transmission unit, be connected with described conversation element, be used to receive the media resource request that described RTSP client sends, notify described H323 resource apparatus according to the session of described RTSP client and described H323 resource apparatus media resource to the described RTSP client-requested of described RTSP client transmissions.
Described conversation element specifically is used for:
Receive first conversation request that described RTSP client sends, generate second conversation request of H323 agreement, described second conversation request is sent to described H323 resource apparatus according to the content of described first conversation request; Success response is set up in the session that receives described H323 resource apparatus transmission, and described second session is set up successfully; Set up success response to the session that described RTSP client sends first conversation request, described first session is set up successfully; Preserve the corresponding relation of described first session and described second session, set up the session of described RTSP client and described H323 resource apparatus.
Described media transmission unit specifically is used for:
Receive the media resource request that described RTSP client sends, carry the identification information of described first session in the media resource request that described RTSP client sends;
Search the corresponding relation of described first session and described second session according to the identification information of described first session, obtain described second session;
According to the logical channel between described second session foundation and the described H323 resource apparatus, the port address information of notifying the described RTSP client of described H323 resource apparatus to be used to receive the media resource of described request makes described H323 resource apparatus send the media resource of described request to the port address of described RTSP client.
Protocol conversion device provided by the invention also comprises:
Suspend the unit, be connected, be used for when described RTSP client expectation suspends the described media resource of reception, receiving the suspending message that described RTSP client sends, generate the pathway closure message of described logical channel according to this suspending message with described media transmission unit; Described pathway closure message is sent to described H323 resource apparatus, notify described H323 resource apparatus to close described logical channel, and stop to transmit the media resource of described RTSP client-requested.
Protocol conversion device provided by the invention also comprises:
Passage is removed the unit, be connected with described media transmission unit, be used for when the expectation of described RTSP client stops receiving described media resource, what receive that described RTSP client sends stops the receiving media message related to resources, stops receiving media message related to resources formation logic passage tear down message according to this; And described logical channel tear down message sent to described H323 resource apparatus, notify described H323 resource apparatus to remove described logical channel and described H323 resource apparatus and described RTSP client-side session.
Compared with prior art, the present invention has the following advantages at least:
By the message that adopts protocol conversion device conversion different agreement terminal to send, set up the session connection between the different agreement terminal, and then the direct data interaction of realization different agreement terminal, thereby can make RTSP client-access H323 resource apparatus, obtain the media resource in the H323 resource apparatus.
Description of drawings
Fig. 1 is the transmission method schematic flow sheet of media resource provided by the invention;
Fig. 2 is the system configuration schematic diagram of the RTSP client-access H323 resource apparatus that provides of the present invention's one application scenarios;
The schematic flow sheet of the transmission method of the media resource that Fig. 3 provides for the present invention's one application scenarios;
Set up the schematic flow sheet of session in the method that Fig. 4 provides for the present invention's one application scenarios between protocol conversion device and the H323 resource apparatus;
Fig. 5 suspends the schematic flow sheet that sends Media Stream for the RTSP client control H323 resource apparatus that the present invention's one application scenarios provides;
The RTSP client control H323 resource apparatus that Fig. 6 provides for the present invention's one application scenarios finishes to send the schematic flow sheet of Media Stream;
Fig. 7 is the structural representation of protocol conversion device provided by the invention;
Fig. 8 is another structural representation of protocol conversion device provided by the invention.
Embodiment
Core concept of the present invention is: protocol conversion device connects RTSP client and H323 resource apparatus, set up session with RTSP client and H323 resource apparatus respectively, the corresponding relation of this two group session of storage on protocol gateway makes up the session between RTSP client and the H323 resource apparatus then; And then, set up the logical channel between H323 resource apparatus and the RTSP client according to the session relationship between H323 resource apparatus and the RTSP client, by the media resource in the H323 resource apparatus of this logical channel transmission RTSP client-requested.
The invention provides a kind of transmission method of media resource, as shown in Figure 1, may further comprise the steps:
Step s101, protocol conversion device receives the conversation request that the RTSP client sends, and described conversation request is converted into the H323 protocol format and sends the session of setting up described RTSP client and described H323 resource apparatus to the H323 resource apparatus;
Step s102, described protocol conversion device receives the media resource request that described RTSP client sends, and notifies described H323 resource apparatus according to the session of described RTSP client and the described H323 resource apparatus media resource to the described RTSP client-requested of described RTSP client transmissions.
By adopting method provided by the invention, the message of utilizing protocol conversion device conversion different agreement terminal to send, set up the session connection between the different agreement terminal, and then the direct data interaction of realization different agreement terminal, thereby can make RTSP client-access H323 equipment, obtain the media resource in the H323 equipment.
Introduce method provided by the invention in detail below in conjunction with a concrete application scenarios.
Should be applied to the system of RTSP client-access H323 resource apparatus with the transmission method of the media resource that provides in the scene, as shown in Figure 2, this system comprises: RTSP client, H323 resource apparatus and as the protocol gateway of protocol conversion device.Wherein, the RTSP client is equipped with the client software of support standard RTSP agreement; The H323 resource apparatus is support standard H323 agreement and equipment with media delivery ability, can be MCU (Multipoint Control Unit, multipoint control unit), also can be the H323 Media Resource Server; Protocol gateway is the protocol conversion device of supporting RTSP agreement and H323 agreement simultaneously, and is concrete, and protocol gateway also can use other protocol conversion devices with protocol conversion function to replace.The function of protocol gateway comprises: the RTSP protocol message that carries identical information and H323 protocol message are carried out form change mutually; According to the medium resource identification of H323 resource apparatus, for example the telephone number of H323 resource apparatus is inquired about the media information of corresponding H323 resource apparatus and the signaling address of H323 resource apparatus; Carry out interacting message with H323 resource apparatus and RTSP client, session between foundation and RTSP client and the H323 resource apparatus, and store the corresponding relation of this two group session, thereby make up session relationship and logical channel between RTSP client and the H323 resource apparatus, by the media resource in the H323 resource apparatus of this logical channel transmission RTSP client-requested.
Concrete, should may further comprise the steps with the transmission method of a kind of media resource that provides in the scene as shown in Figure 3:
Step s301, the RTSP client is obtained medium resource identification.
The RTSP client is obtained the identification information of the media resource that needs from the network equipment, the identification information of this media resource is specially RTSP URL (Uniform Resource Identifier, the unified resource sign), should be with in the scene, the media resource of RTSP URL sign H323 resource apparatus storage.Wherein, the network equipment is specially protocol gateway or other can obtain the equipment of medium resource identification information.
Step s302, the RTSP client is obtained the media information with the corresponding H323 resource apparatus of this medium resource identification.
The media information of H323 resource apparatus comprises that the H323 resource apparatus sends the audio/video encoding/decoding type of the Media Stream use of this media resource correspondence, code check, transmission means etc.
The RTSP client can be obtained the media information of H323 resource apparatus to protocol gateway, and is concrete: the RTSP client sends DESCRIBE (description) request to protocol gateway, comprises the RTSP URL of identification medium resource in this request; After protocol gateway receives this request, corresponding relation according to pre-configured RTSP URL and the medium resource identification of H323 resource apparatus (for example telephone number) information, as shown in table 1, obtain medium resource identification information with the corresponding H323 resource apparatus of medium resource identification RTSP URL of RTSP client-requested.
The corresponding relation of the medium resource identification of table 1RTSP URL and H323 resource apparatus
RTSP URI The medium resource identification of H323 resource apparatus
rtsp://11040RTSP/1.0 11040
Protocol gateway is searched the media resource of storage in advance according to the identification information of above-mentioned H323 resource apparatus, obtain the media information of media resource, the media information that gets access to is configured to SDP (the Session Description Protocol of RTSP agreement, Session Description Protocol) form is included in the media information of this SDP form in the 200OK response message of RTSP agreement and sends to the RTSP client.The RTSP client receives this response message, obtains the media information of media resource in the H323 resource apparatus that carries in this response message.
Certainly, the RTSP client also can be obtained the media information of media resource in the H323 resource apparatus by other modes, for example, when the media resource in the H323 resource apparatus that the expectation of RTSP client is obtained had shown the media information of this media resource correspondence on the webpage at this media resource place, the RTSP client can directly be obtained the media information of this media resource from this webpage; The media information of media resource in the H323 resource apparatus of perhaps, also can be on the RTSP client pre-configured RTSP client expectation visit.
Step s303, the RTSP client is asked to the Setup that protocol gateway sends the RTSP protocol type, sends the port address information of RTSP client receiving media resource and the media flow transmission mode information of receiving media resource simultaneously.
Wherein, the port address information of RTSP client receiving media resource and the media flow transmission mode information of receiving media resource can be included in the Setup request and send to protocol gateway with the Setup request, also can send to protocol gateway by independent message.
After step s304, protocol gateway received the Setup request of RTSP client transmission, the Setup2 request was set up in the session that makes up the H323 protocol type according to this request, and the Setup2 request is sent to the H323 resource apparatus.
Carry the identification information of the media resource of RTSP client-requested in the Setup request that the RTSP client sends, this identification information is RTSP URI; After protocol gateway receives the Setup request of RTSP client transmission, know that it is RTSP URI that the RTSP client-requested is obtained the object of media resource, search the corresponding relation of the medium resource identification information of pre-configured RTSP URI and H323 resource apparatus, if find the medium resource identification information of corresponding H323 resource apparatus, the media resource of the media resource of RTSP client-requested for the storage of H323 resource apparatus then is described, protocol gateway is converted to the Setup2 request (as shown in table 3) of H323 protocol format with the Setup request (as shown in table 2) of RTSP protocol format.
Wherein, the identification information and the media flow transmission mode information of RTSP client receiving media resource, for example transmission code rate of Media Stream and the flow information etc. that comprise media resource in the H323 resource apparatus of RTSP client-requested in the Setup2 request.
The information that comprises in the table 2Setup request
The identification information RTSP URI of media resource C->S:SETUP rtsp://11040RTSP/1.0
Code stream information CSeq:302
The port information of RTSP client receiving media resource Transport: RTP/AVP;unicast;client_port=4588-4589
The information that comprises in the table 3 Setup2 request
Q.931
Protocol discriminator:Q.931
Call reference value length:2
Call reference flag:Message sent from originating side
Call reference value:0001
Message type:SETUP(0×05)
Figure A20091014287900162
Bearer capability
Information element:Bearer capability
Length:3
1.......=Extension indicator:last octet
.00.....=Coding standard:ITU-T standardized coding(0×00)
...00000=Information transfer capability:Speech(0×00)
1.......=Extension indicator:last octet
.00.....=Transfer mode:Circuit mode(0×00)
...10000=Information transfer rate:64kbit/s(0×10)
1.......=Extension indicator:last octet
...00011=User information layer 1 protocol:Recommendation G.711 A-law(0×03)
Figure A20091014287900163
oisplay‘11040’
Information element:Display
Length:5
Display irformation:11040
Figure A20091014287900164
Calling party number:‘11040’
Information element:Calling party number
Length:6
....0001=Numbering plan:E.164 ISDN/telephony numbering(0×01)
.000....=Number type:Unknown(0×00)
1.......=Extension indicator:last octet
Calling party number digits:11040
E.164 Calling party number digits:11040
Figure A20091014287900165
Called party number:‘#0’
Information element:Called party number
Length:3
....0001=Numbering plan:E.164 ISDN/telephony numbering(0×01)
.000....=Number type:Unknown(0×00)
1.......=Extension indicator:last octet
Called party number digits:#0
E.164 Called party number digits:#0
Figure A20091014287900166
User-user
Information element:User-user
Length:186
Protocol discriminator:×.208 and ×.209 coded user information
Protocol gateway can be converted to the Setup request of RTSP protocol format the Setup2 request of H323 protocol format in several ways.Describe with the example that is converted to below, can set the transformation rule of a RTSP URI on the protocol gateway to the medium resource identification information of H323 resource apparatus to the identification information of media resource:
If the medium resource identification information of H323 resource apparatus is set of number, for example 123; The Setup request that then is converted to the RTSP protocol format time adds " rtsp: // " before this group numeral, the back digital in this group adds " RTSP/1.0 ".Shown in above-mentioned table 2 and table 3, medium resource identification information in the table 3 is " 11040 " that show among Display and the Calling party number, RTSP URI in the table 2 is for adding " rtsp: // " in this " 11040 " front, adding " RTSP/1.0 " in this " 11040 " back, is " rtsp: // 11040RTSP/1.0 " according to the corresponding RTSP URI of the medium resource identification information acquisition in the H323 resource apparatus thus.
Protocol gateway is according to the medium resource identification information of the pre-configured H323 resource apparatus of above-mentioned transformation rule and the corresponding relation of RTSP URI, when protocol gateway obtains the RTSP URI of RTSP client transmission, obtain the medium resource identification information of corresponding H323 resource apparatus according to above-mentioned pre-configured corresponding relation, and the Setup request of the RTSP protocol format that further the RTSP client is sent is converted to the Setup2 request of H323 protocol format.This Setup2 request is specially the H225 protocol format in the H323 agreement, and the H323 agreement is the combination of one group of agreement, comprising H225 agreement and the H245 agreement hereinafter mentioned.
Wherein, the corresponding relation of the medium resource identification information of H323 resource apparatus and RTSP URI can be stored in the Resources list.Can also store the address information of H323 resource apparatus in this Resources list, promptly the IP address of H323 resource apparatus is as shown in table 4.
The Resources list on table 4 protocol gateway
RTSP URI The medium resource identification of H323 resource apparatus The IP address information of H323 resource apparatus
rtsp://11040RTSP/1.0 11040 10.10.10.0
After protocol gateway structure Setup2 asks successfully, according to the medium resource identification information of H323 resource apparatus further on protocol gateway in pre-configured the Resources list, according to the address information that the identification information of above-mentioned media resource is inquired about the H323 resource apparatus, the IP address that obtains the H323 resource apparatus.Protocol gateway sends the Setup2 request message of H225 protocol format to the H323 resource apparatus according to the IP address of the H323 resource apparatus that inquires.
Should be with in the scene, the medium resource identification information of H323 resource apparatus obtains according to the RTSP URI query resource tabulation in the Setup request after can receiving the Setup request of RTSP client transmission by protocol gateway; Also can ask according to the DESCRIBE that the RTSP client sends by protocol gateway, when the RTSP client sends the media information of media resource of H323 resource apparatus, the identification information of the media resource of H323 resource apparatus is sent to the RTSP client together, the RTSP client receives the identification information and the preservation of the media resource of H323 resource apparatus, when protocol gateway sends the Setup request of setting up session, the identification information of the media resource of H323 resource apparatus is carried in this Setup request sends to protocol gateway, protocol gateway obtains the identification information of the media resource of the H323 resource apparatus that the RTSP client sends, further the address information of the corresponding H323 resource apparatus of identification information of the media resource of inquiry and H323 resource apparatus in the Resources list sends to the H323 resource apparatus according to the Setup2 request of the IP address of inquiring about the H323 equipment that obtains with the H323 protocol format of structure.
Protocol gateway also receives the port address information and the preservation of the receiving media resource of RTSP client transmission, (for example among the step s308 hereinafter) sends the port address information of media resource to the H323 resource apparatus after the session of foundation and H323 resource apparatus, according to the transmission of port address information realization Media Stream between RTSP client and H323 resource apparatus of RTSP client receiving media resource.
Step s305, the H323 resource apparatus sends Connect message to protocol gateway, and the session of notification protocol gateway is set up successfully.
The H323 resource apparatus judges whether to set up session with protocol gateway after receiving the Setup2 request of protocol gateway transmission.Concrete, can set in advance the upper limit or the isoparametric upper limit of media resource transmission code rate of media resource delivery flow rate in the H323 resource apparatus, if the media resource delivery flow rate of the RTSP client-requested of carrying in the Setup2 request has surpassed the upper limit or the media resource transmission code rate that set in advance and has surpassed the upper limit that sets in advance, other parameter informations that perhaps carry among the Setup2 have surpassed the upper limit of the relevant parameters that sets in advance in the H323 resource apparatus, and then H323 resource apparatus refusal is set up session with protocol gateway; If the media resource transmission information of carrying in the Setup2 request does not surpass the upper limit of the relevant parameters that sets in advance in the H323 resource apparatus, then the H323 resource apparatus is agreed to set up session with protocol gateway, and sends the Connect message of H225 protocol format to protocol gateway.
The H323 resource apparatus can also at first send CallProceeding (call treatment) message or Alerting (jingle bell) message to protocol gateway after receiving the Setup2 request of protocol gateway transmission, and the notification protocol gateway is being handled session and set up request.
Step s306, protocol gateway are to the 200OK message of RTSP client transmission RTSP agreement, and notice RTSP client session is set up successfully.
Protocol gateway comprises Session ID (session identification) field in the 200OK message that the RTSP client sends, be used for the session that identity protocol gateway and RTSP client are set up.During previous step was rapid, the H323 resource apparatus carried Call ID (session identification) field in the Connect message that protocol gateway sends, the session that sign H323 resource apparatus and protocol gateway are set up.Protocol gateway is preserved the corresponding relation of Session ID and Call ID, the associated protocol gateway respectively and the session of setting up between RTSP client and the H323 resource apparatus, the session relationship between structure RTSP client and the H323 resource apparatus.
Should after protocol gateway is received the Connect message of H323 resource apparatus transmission, set up process with in the scene, further set up logical channel with the H323 resource apparatus according to the session of H323 agreement regulation.Concrete, protocol gateway is after receiving Connect message, send TerminalCapabilitySet message to the H323 resource apparatus, the media information that comprises the media resource of RTSP client-requested in this message is described, and comprises the size of the media resource that the RTSP client-requested is play, the transmission code rate of media resource, the information such as transformat of media resource.
After the H323 resource apparatus is received the TerminalCapabilitySet message of protocol gateway transmission, send the TerminalCapabilityAck response message to protocol gateway, then, the H323 resource apparatus sends OpenLogicalChannel message to protocol gateway, protocol gateway receives this message, send OpenLogicalChannelAck message to the H323 resource apparatus, set up the logical channel between protocol gateway and the H323 resource apparatus.Comprise RTSP client Media Stream receiving port information in the OpenLogicalChannelAck message, this moment, this port address information specifically extended this as 0, be an address dummy information, on the RTSP client not address information be 0 port, thereby make that before the RTSP client was not sent PLAY message, the RTSP client can't receive the Media Stream from H323 equipment.
Should be with in the scene, protocol gateway sends in the OpenLogicalChannelAck message of H323 resource apparatus, also RTSP client Media Stream receiving port can be extended this as the physical medium stream receiving port of RTSP client, the Media Stream receiving port of the RTSP client that to be the RTSP client carry in the Setup request message that protocol gateway sends, at this moment, protocol gateway and the H323 resource apparatus between the H245 logical channel set up successfully after, close this logical channel, make the RTSP client can not receive the Media Stream that sends from the H323 resource apparatus at once.
Step s307 during RTSP client-requested media stream, sends the PLAY message of RTSP protocol format to protocol gateway.
Among the rapid s306 of previous step, protocol gateway carries RTSP client Media Stream receiving port information in the OpenLogicalChannelAck message that the H323 resource apparatus sends, the H323 resource apparatus obtains RTSP client Media Stream receiving port information, but the Media Stream receiving port of RTSP client is 0, be the Media Stream receiving port of non-reality, the H323 resource apparatus can't send Media Stream to the Media Stream receiving port of this non-reality.In this step, carry the Media Stream receiving port address information of RTSP client reality in the PLAY message, and send to protocol gateway.
After step s308, protocol gateway receive PLAY message, set up H245 logical channel with the H323 resource apparatus.
The RTSP client sends PLAY message, the media resource in the acquisition request H323 resource apparatus to protocol gateway.If protocol gateway has been set up the H245 logical channel with the H323 resource apparatus among the step s306, the port address information of the RTSP client receiving media resource of this logical channel correspondence is 0, then at this moment, protocol gateway is at first closed this logical channel, opens the H245 logical channel with the H323 resource apparatus then again.Protocol gateway is searched corresponding C all ID according to the Session id field of carrying in the PLAY message, and is as shown in table 5; The address information of the destination device of each group dialogue of storage in the protocol gateway, behind the acquisition Call ID, protocol gateway further obtains the address information of setting up the purpose H323 resource apparatus of session with protocol gateway according to Call ID.Protocol gateway sends TerminalCapabilitySet message and OpenLogicalChannelAck message to the H323 resource apparatus, new H245 logical channel between unlatching and the H323 resource apparatus, protocol gateway extends this as actual RTSP client Media Stream receiving port with RTSP client Media Stream receiving port.
The corresponding relation of table 5Session ID and Call ID
Session ID Call ID
SID1 CID1
SID2 CID2
Step s309, the H323 resource apparatus sends Media Stream to the RTSP client.
After above-mentioned logical channel is set up successfully, the H323 resource apparatus obtains corresponding media resource according to the identification information of the media resource of RTSP client-requested, and, the media resource of the RTSP client-requested logical channel by above-mentioned foundation is sent to the RTSP client according to the port address of the RTSP client of carrying in the OpenLogicalChannelAck message.
In the application scenarios provided by the invention, the H323 resource apparatus is before the RTSP client sends Media Stream, protocol gateway can also send 200OK message to the RTSP client, and notice RTSP client media play begins, and the RTSP client receives the Media Stream that the H323 resource apparatus sends.
In the application scenarios provided by the invention, protocol gateway also can be at the H323 resource apparatus after the RTSP client sends Media Stream, send 200OK message to the RTSP client, notice RTSP client media play begins, when avoiding the RTSP client in Preset Time, not receive the 200OK message of protocol gateway transmission, repeat to send the media resource request message to protocol gateway.
In the Another Application scene provided by the invention, the process of setting up session between protocol gateway and the H323 resource apparatus can may further comprise the steps as shown in Figure 4:
Step s401, protocol gateway carries FastStart and opens media information soon to the Setup request message of H323 resource apparatus transmission H225 agreement in this message.
In the last application scenarios, protocol gateway sends the message of setting up of logical channel again to the H323 resource apparatus after session is set up successfully, set up the logical channel of RTSP client and H323 resource apparatus, this process claims can be for opening slowly, and should be with in the scene, when setting up session between RTSP client and H323 resource apparatus, the information that can utilize the Setup request message to carry to set up logical channel to be setting up logical channel, and this process can be called soon and opens (FastStart).
FastStart opens soon and is included in needed all information of logical channel of setting up protocol gateway and H323 resource apparatus after session is set up successfully in the media information, specifically to send to the TerminalCapabilitySet message of H323 resource apparatus identical with the media information content in the OpenLogicalChannelAck message with protocol gateway, the identification information that comprises the media resource of RTSP client-requested, and the port address information of RTSP client receiving media stream, specifically extend this as 0.
After protocol gateway receives this FastStart and opens media information soon, in the conversation procedure of setting up with the H323 resource apparatus, obtain FastStart simultaneously and open RTSP client media receiving end message breath in the media information soon.At this moment, the port address information of RTSP client receiving media stream extends this as 0, the H323 resource apparatus can not by and the RTSP client between logical channel send the media resource of RTSP client-requested to the RTSP client.
Step s402, the H323 resource apparatus is to the Connect message of protocol gateway transmission H225 agreement, and the session of notification protocol gateway is set up successfully.
Step s403, protocol gateway is to the 200OK message of RTSP client transmission RTSP agreement, and the session between the RTSP client is set up successfully.
Protocol gateway comprises the Session id field in the 200OK message that the RTSP client sends, be used for the session relationship that identity protocol gateway and RTSP client are set up; During previous step is rapid, the Call id field that the H323 resource apparatus carries in the Connect message that protocol gateway sends, the session relationship that sign H323 resource apparatus and protocol gateway are set up, protocol gateway is preserved the corresponding relation of Session ID and Call ID, protocol gateway respectively and the session of setting up between RTSP client and the H323 resource apparatus is set up the session relationship between RTSP client and the H323 resource apparatus.
Should be with in the scene, adopt FastStart to open media information soon and set up session between protocol gateway and the H323 resource apparatus, when protocol gateway received the Connect message of H225 agreement, the session between protocol gateway and the H323 resource apparatus was set up successfully.
With identical in the last application scenarios, the RTSP client is by sending PLAY message, the media resource in the acquisition request H323 resource apparatus to protocol gateway.Protocol gateway is at first closed the logical channel of having set up after receiving PLAY message, and the port address information of the RTSP client receiving media stream of this logical channel is 0.Then, protocol gateway is opened the H245 logical channel with the H323 resource apparatus again, in the H245 logical channel that should newly open, protocol gateway extends this as actual RTSP client Media Stream receiving port with RTSP client Media Stream receiving port, and the RTSP client receives the Media Stream that the H323 resource apparatus sends by this port.
The transmission method of a kind of media resource that provides in the Another Application scene of the present invention, after carrying out media flow transmission between RTSP client and the H323 resource apparatus, be after the RTSP client obtains the media resource of H323 resource apparatus, also comprise: the RTSP client is controlled the media resource that the H323 resource apparatus suspends the request that sends to the RTSP client as required, perhaps controls the media resource that the H323 resource apparatus finishes the request that sends to the RTSP client.Wherein, RTSP client control H323 resource apparatus suspends the process that sends the media resource of request to the RTSP client, as shown in Figure 5, may further comprise the steps:
Step s501 when the RTSP client wishes to suspend the receiving media resource, sends the PAUSE message of RTSP protocol format to protocol gateway.
The RTSP client may need to suspend the playing media resource because a variety of causes is for example gone out etc. temporarily in the process of the media resource that receives the transmission of H323 resource apparatus; At this moment, the RTSP client is carried SessionID to the PAUSE message of protocol gateway transmission RTSP protocol format in this PAUSE message, identifies the session that this PAUSE message belongs to.
Step s502 after protocol gateway receives the PAUSE message of RTSP client transmission, sends CloseLogicalChannel message to the H323 resource apparatus, and the H245 logical channel is closed in request, stops media flow transmission.
Concrete, protocol gateway is according to the Session ID that carries in the PAUSE message, search the Session ID of storage and the corresponding relation of Call ID, obtain corresponding C all ID, further obtain the address information of corresponding H323 resource apparatus, send CloseLogicalChannel message to the H323 resource apparatus according to this address information according to this Call ID.
Comprise the identification information of the media resource that the expectation of RTSP client suspends and the identification information of the logical channel between protocol gateway and the H323 resource apparatus in the CloseLogicalChannel message.The identification information of the logical channel between protocol gateway and the H323 resource apparatus can carry in the forwardLogicalChannelNumber of H323 protocol format (logical channel number) field, be specifically as follows a numeral or alphabetic flag, C1 for example, the H323 resource apparatus is closed relative logic channel according to the identification information of this logical channel, stops to send media resource to the media receiving end mouth of corresponding RTSP client.
Step s503, the H323 resource apparatus receives the CloseLogicalChannel message that protocol gateway sends, and stops to send media resource to the RTSP client.
Concrete, the H323 resource apparatus is closed relative logic channel according to the forwardLogicalChannelNumber in this message after receiving CloseLogicalChannel message, stops to send media resource to the RTSP client.
Step s504, protocol gateway sends 200OK message to the RTSP client, and notice RTSP client Media Stream suspends successfully.
If after suspending successfully, the RTSP client need continue to receive the media resource in the H323 resource apparatus that is suspended, then repeating step s307-step s309.
Should as shown in Figure 6, may further comprise the steps with also providing RTSP client control H323 resource apparatus to finish to send the process of Media Stream in the scene:
Step s601, the RTSP client is to the TEARDOWN message of protocol gateway transmission RTSP protocol format, and the RTSP session with protocol gateway is removed in request, and stops the reception of Media Stream.Carry the SessionID of the session of setting up between RTSP client and the protocol gateway in this TEARDOWN message.
After step s602, protocol gateway receive this TEARDOWN message, send CloseLogicalChannel message according to this message to the H323 resource apparatus, close the H245 logical channel, Media Stream stops transmission.
After protocol gateway receives the TEARDOWN message of RTSP client transmission, search the Session ID of storage and the corresponding relation between the Call ID according to the Session ID that carries in the TEARDOWN message, further the signaling address that obtains the H323 resource apparatus according to the Call ID that finds sends CloseLogicalChannel message according to this signaling address to the H323 resource apparatus.Comprise in the CloseLogicalChannel message and protocol gateway between session Call ID and the identification information of the logical channel between protocol gateway and the H323 resource apparatus.
Step s603, the H323 resource apparatus receives the CloseLogicalChannel message that protocol gateway sends, and stops to send media resource to the RTSP client.
The H323 resource apparatus obtains the port address information of corresponding RTSP client receiving media stream according to the identification information of the logical channel in the CloseLogicalChannel message, stops to send Media Stream to this port address.
Step s604, protocol gateway is to the ReleaseComplete message of H323 resource apparatus transmission H225 agreement, and session is removed in request.
Carry the identification information that the RTSP client-requested finishes the media resource of broadcast in this ReleaseComplete message.
Step s605, the H323 resource apparatus receives the ReleaseComplete message that protocol gateway sends, according to the session of the dismounting of the Call ID in this message with the respective protocol gateway.
Step s606, protocol gateway are to the 200OK message of RTSP client transmission RTSP agreement, and notice RTSP client session is removed successfully.
If behind the session teardown of H323 resource apparatus, the media resource of H323 equipment is obtained in the expectation of RTSP client once more, and then the RTSP client needs set up session to the protocol gateway request again.
By the method that should provide with scene is provided, the RTSP client can be visited the media resource of H323 protocol system, and need not any variation, and client need not be supported two kinds of agreements simultaneously, thereby reduces client development amount.
The invention provides a kind of protocol conversion device, as shown in Figure 7, comprising:
Conversation element 11 is used to receive the conversation request that the RTSP client sends, and described conversation request is converted into the H323 protocol format and sends the session of setting up described RTSP client and described H323 resource apparatus to the H323 resource apparatus.
Described conversation element 11 specifically is used for:
Receive first conversation request that described RTSP client sends, generate second conversation request of H323 agreement, described second conversation request is sent to described H323 resource apparatus according to the content of described first conversation request; Wherein, first conversation request is the RTSP protocol format, and conversation element 11 is carried out format conversion with this first conversation request, is converted to second conversation request of H323 protocol format.Conversation element 11 receives the session that described H323 resource apparatus sends and sets up success response, knows that described second session sets up successfully, sets up success response to the session that described RTSP client sends first conversation request, and described first session is set up successfully.Conversation element 11 is also preserved the corresponding relation of described first session and described second session, wherein, described first session and described second session have corresponding session identification respectively, and conversation element 11 can be preserved the corresponding relation of first session and second session by the corresponding relation of preserving first session identification and second session identification.
Media transmission unit 12, be connected with described conversation element 11, be used to receive the media resource request that described RTSP client sends, notify described H323 resource apparatus according to the session of described RTSP client and described H323 resource apparatus media resource to the described RTSP client-requested of described RTSP client transmissions.
Described media transmission unit 12 specifically is used for:
Receive the media resource request that described RTSP client sends according to described first session, carry the identification information of media resource and the identification information of first session in this media resource request; Media transmission unit 12 is according to identification information inquiry first session of storage in advance of first session and the corresponding relation of second session, obtain second session of this media resource request correspondence and set up the address information of the H323 resource apparatus of second session, set up message to H323 resource apparatus sendaisle with protocol gateway; Described passage is set up and is carried the port address information that described RTSP client is used for receiving H323 resource apparatus media resource in the message, and described H323 resource apparatus is sent media resource according to the port address of RTSP client to the RTSP client.
Protocol conversion device provided by the invention as shown in Figure 8, also comprises:
Suspend unit 13, be connected with described media transmission unit 12, be used for when described RTSP client expectation suspends the described media resource of reception, receiving the suspending message that described RTSP client sends, generate the pathway closure message of described logical channel according to this suspending message; Described pathway closure message is sent to described H323 resource apparatus, notify described H323 resource apparatus to close described logical channel, and stop to transmit the media resource of described RTSP client-requested.Concrete, the suspending message that the RTSP client sends is the RTSP protocol format, wherein carry the identification information of first session, suspending unit 13 obtains the second corresponding session and sets up the address information of the H323 resource apparatus of this second session with protocol gateway according to the identification information of first session in the suspending message, generate the pathway closure message of H323 protocol format, and send the pathway closure message of this H323 protocol format to the H323 resource apparatus, wherein carry gap marker; After the H323 resource apparatus receive path close message, close relative logic channel, stop to send media resource to the RTSP client according to the gap marker in this message.
Passage is removed unit 14, be connected with described media transmission unit 12, be used for when described RTSP client expectation stops receiving described media resource, what receive that described RTSP client sends stops the receiving media message related to resources, stops receiving media message related to resources formation logic passage tear down message according to this; And described logical channel tear down message sent to described H323 resource apparatus, notify described H323 resource apparatus to remove described logical channel and described H323 resource apparatus and described RTSP client-side session.Concrete, what passage removed that unit 14 receives RTSP protocol format that the RTSP clients send stops the receiving media message related to resources, obtain the address information of second corresponding session and corresponding H323 resource apparatus according to the identification information of first session that stops to carry in the receiving media message related to resources, with the logical channel tear down message that the receiving media message related to resources is converted to the H323 protocol format that stops of RTSP protocol format, and send to the H323 resource apparatus; Wherein, carry the gap marker that needs to remove passage in the passage tear down message.After the H323 resource apparatus receive logic passage tear down message, close relative logic channel according to gap marker wherein, further second session of dismounting and protocol gateway stops sending media resource to the RTSP client.
Protocol conversion device provided by the invention is specially protocol gateway, also can have the equipment of protocol format translation function for other.
By adopting protocol conversion device provided by the invention, the message that conversion different agreement terminal sends, set up the session connection between the different agreement terminal, and then the direct data interaction of realization different agreement terminal, thereby can make RTSP client-access H323 equipment, obtain the media resource in the H323 equipment.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (11)

1, a kind of transmission method of media resource is characterized in that, comprising:
Protocol conversion device receives the conversation request that the RTSP client sends, and described conversation request is converted into the H323 protocol format and sends the session of setting up described RTSP client and described H323 resource apparatus to the H323 resource apparatus;
Described protocol conversion device receives the media resource request that described RTSP client sends, and notifies described H323 resource apparatus according to the session of described RTSP client and the described H323 resource apparatus media resource to the described RTSP client-requested of described RTSP client transmissions.
2, the method for claim 1, it is characterized in that, described protocol conversion device receives the conversation request that the RTSP client sends, described conversation request is converted into the H323 protocol format and sends to the H323 resource apparatus, the session of setting up described RTSP client and described H323 resource apparatus is specially:
Described protocol conversion device receives first conversation request that described RTSP client sends, and second conversation request according to described first conversation request generation H323 agreement sends described second conversation request to described H323 resource apparatus;
Described protocol conversion device receives the session of described H323 resource apparatus transmission and sets up success response, and described second session is set up successfully;
Described protocol conversion device is set up success response to the session that described RTSP client sends first conversation request, and described first session is set up successfully;
Described protocol conversion device is preserved the corresponding relation of described first session and described second session, sets up the session of described RTSP client and described H323 resource apparatus.
3, method as claimed in claim 2 is characterized in that, described protocol gateway is specially described second conversation request according to second conversation request of described first conversation request generation H323 agreement to described H323 resource apparatus transmission:
Described protocol conversion device obtains the identification information of the media resource of the described RTSP client-requested of carrying in described first conversation request, address information according to the identification information of described media resource is inquired about described H323 resource apparatus generates second conversation request of H323 agreement and sends described second conversation request to described H323 resource apparatus according to described address information.
4, method as claimed in claim 2, it is characterized in that, described protocol conversion device receives the media resource request that described RTSP client sends, and notifies described H323 resource apparatus to be specially to the media resource of the described RTSP client-requested of described RTSP client transmissions according to the session of described RTSP client and described H323 resource apparatus:
Described protocol conversion device receives the media resource request that described RTSP client sends, and carries the identification information of described first session in the media resource request that described RTSP client sends;
Described protocol conversion device is searched the corresponding relation of described first session and described second session according to the identification information of described first session, obtains described second session;
Described protocol conversion device is according to the logical channel between described second session foundation and the described H323 resource apparatus, the port address information of notifying the described RTSP client of described H323 resource apparatus to be used to receive the media resource of described request makes described H323 resource apparatus send the media resource of described request to the port address of described RTSP client.
5, method as claimed in claim 4, it is characterized in that, described protocol conversion device receives the media resource request that described RTSP client sends, notify described H323 resource apparatus according to the session of described RTSP client and described H323 resource apparatus after the media resource of the described RTSP client-requested of described RTSP client transmissions, also comprise:
The expectation of described RTSP client suspends when receiving described media resource, and described protocol conversion device receives the suspending message that described RTSP client sends, and generates the pathway closure message of described logical channel according to this suspending message;
Described protocol conversion device sends described pathway closure message to described H323 resource apparatus, notify described H323 resource apparatus to close described logical channel, and stop to transmit the media resource of described RTSP client-requested.
6, method as claimed in claim 4, it is characterized in that, described protocol conversion device receives the media resource request that described RTSP client sends, notify described H323 resource apparatus according to the session of described RTSP client and described H323 resource apparatus after the media resource of the described RTSP client-requested of described RTSP client transmissions, also comprise:
When the expectation of described RTSP client stopped receiving described media resource, described protocol conversion device receives that described RTSP client sends stopped the receiving media message related to resources, according to the described receiving media message related to resources formation logic passage tear down message that stops;
Described protocol conversion device sends described logical channel tear down message to described H323 resource apparatus, notify described H323 resource apparatus to remove described logical channel and described H323 resource apparatus and described RTSP client-side session.
7, a kind of protocol conversion device is characterized in that, comprising:
Conversation element is used to receive the conversation request that the RTSP client sends, and described conversation request is converted into the H323 protocol format and sends the session of setting up described RTSP client and described H323 resource apparatus to the H323 resource apparatus;
Media transmission unit, be connected with described conversation element, be used to receive the media resource request that described RTSP client sends, notify described H323 resource apparatus according to the session of described RTSP client and described H323 resource apparatus media resource to the described RTSP client-requested of described RTSP client transmissions.
8, protocol conversion device as claimed in claim 7 is characterized in that, described conversation element specifically is used for:
Receive first conversation request that described RTSP client sends, generate second conversation request of H323 agreement, described second conversation request is sent to described H323 resource apparatus according to the content of described first conversation request; Success response is set up in the session that receives described H323 resource apparatus transmission, and described second session is set up successfully; Set up success response to the session that described RTSP client sends first conversation request, described first session is set up successfully; Preserve the corresponding relation of described first session and described second session, set up the session of described RTSP client and described H323 resource apparatus.
9, protocol conversion device as claimed in claim 8 is characterized in that, described media transmission unit specifically is used for:
Receive the media resource request that described RTSP client sends, carry the identification information of described first session in the media resource request that described RTSP client sends;
Search the corresponding relation of described first session and described second session according to the identification information of described first session, obtain described second session;
According to the logical channel between described second session foundation and the described H323 resource apparatus, the port address information of notifying the described RTSP client of described H323 resource apparatus to be used to receive the media resource of described request makes described H323 resource apparatus send the media resource of described request to the port address of described RTSP client.
10, protocol conversion device as claimed in claim 9 is characterized in that, also comprises:
Suspend the unit, be connected, be used for when described RTSP client expectation suspends the described media resource of reception, receiving the suspending message that described RTSP client sends, generate the pathway closure message of described logical channel according to this suspending message with described media transmission unit; Described pathway closure message is sent to described H323 resource apparatus, notify described H323 resource apparatus to close described logical channel, and stop to transmit the media resource of described RTSP client-requested.
11, protocol conversion device as claimed in claim 9 is characterized in that, also comprises:
Passage is removed the unit, be connected with described media transmission unit, be used for when the expectation of described RTSP client stops receiving described media resource, what receive that described RTSP client sends stops the receiving media message related to resources, stops receiving media message related to resources formation logic passage tear down message according to this; And described logical channel tear down message sent to described H323 resource apparatus, notify described H323 resource apparatus to remove described logical channel and described H323 resource apparatus and described RTSP client-side session.
CNA2009101428792A 2009-05-19 2009-05-19 Media resource transmission method and protocol converting equipment Pending CN101557404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009101428792A CN101557404A (en) 2009-05-19 2009-05-19 Media resource transmission method and protocol converting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101428792A CN101557404A (en) 2009-05-19 2009-05-19 Media resource transmission method and protocol converting equipment

Publications (1)

Publication Number Publication Date
CN101557404A true CN101557404A (en) 2009-10-14

Family

ID=41175347

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101428792A Pending CN101557404A (en) 2009-05-19 2009-05-19 Media resource transmission method and protocol converting equipment

Country Status (1)

Country Link
CN (1) CN101557404A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633102A (en) * 2022-12-21 2023-01-20 长沙力合微智能科技有限公司 Multi-type protocol message processing system, method and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633102A (en) * 2022-12-21 2023-01-20 长沙力合微智能科技有限公司 Multi-type protocol message processing system, method and readable storage medium

Similar Documents

Publication Publication Date Title
US8634412B2 (en) Session initiation protocol (SIP) message incorporating a multi-purpose internet mail extension (MIME) media type for describing the content and format of information included in the SIP message
CN101156374B (en) System and method for monitoring video call
US20180077282A1 (en) Methods and systems for routing emergency service calls background
CN113746808B (en) Converged communication method, gateway, electronic equipment and storage medium for online conference
CN101668162A (en) Implementation method of video conference and video conference system
US7440445B1 (en) Method and apparatus for storing and activating universal resource locators and phone numbers
CN101472235A (en) Multi-terminal communication method, system and device
CN108881149B (en) Access method and system of video telephone equipment
CN101257435B (en) Implementing method of SIP application-level gateways based on NAT-PT
CN1553676A (en) Method for holding common audio-video meeting via various protocol terminals
CN1787632B (en) Method and system for sending video signal between different types of user agents
CN101888377A (en) Communication method, media server and communication system
CN101094086B (en) Method and system for constructing call canter by next generation of network
JP2008294957A (en) Media conversion system, media conversion method, media conversion program, call control device, media conversion apparatus
CN102231734A (en) Method, device and system for realizing audio transcoding of TTS (Text To Speech)
CN101557404A (en) Media resource transmission method and protocol converting equipment
CN102594784B (en) Internet protocol (IP)-based teleconference service method and system
KR20090087958A (en) Media system of poc, device and method as the same
CN101686138B (en) Method, device and system for realizing tripartite conference
CN100446602C (en) Method for transmitting cell-phone button information
US8775639B2 (en) Method and apparatus for providing access of network based radio frequency identification information
CN101170602B (en) a media information processing method, communication system and user terminal
CN110113303A (en) Session Initiation Protocol stack SiteServer LBS and load-balancing method in a kind of telecommunications network IMS
US8971515B2 (en) Method to stream compressed digital audio over circuit switched, voice networks
CN101742005A (en) Method, system and network device for realizing conference segmentation services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091014