CN103152495A - Method, device and system for media transferring - Google Patents

Method, device and system for media transferring Download PDF

Info

Publication number
CN103152495A
CN103152495A CN2013100427055A CN201310042705A CN103152495A CN 103152495 A CN103152495 A CN 103152495A CN 2013100427055 A CN2013100427055 A CN 2013100427055A CN 201310042705 A CN201310042705 A CN 201310042705A CN 103152495 A CN103152495 A CN 103152495A
Authority
CN
China
Prior art keywords
media
equipment
description information
transfer
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100427055A
Other languages
Chinese (zh)
Other versions
CN103152495B (en
Inventor
朱萸
何智勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310042705.5A priority Critical patent/CN103152495B/en
Publication of CN103152495A publication Critical patent/CN103152495A/en
Priority to PCT/CN2014/071646 priority patent/WO2014117727A1/en
Application granted granted Critical
Publication of CN103152495B publication Critical patent/CN103152495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/756Media network packet handling adapting media to device capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a device and a system for media transferring, and relates to the communication field. The method, the device and the system for media transferring are used for improving network efficiency. The method comprises the following steps: obtaining media description information of a local device, wherein the local device comprises a media transfer device and at least one first device; matching the obtained media description information of the at least one first device and the obtained media description information of a remote device; confirming a transfer receiving device from the at least one first device according to the matching result; and sending the media description information of the media transfer device and the media description information of the transfer receiving device to a gateway, the gateway is enabled to be updated for an address mapping table which is communicated with the remote device according to the media description information of the media transfer device and the media description information of the transfer receiving device, and so that the gateway can forward the media information which is sent by the remote device to the transfer receiving device. The method, the device and the system for media transferring are applicable to the scene of a media transfer service.

Description

A kind of method of media transfer, Apparatus and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of method, Apparatus and system of media transfer.
Background technology
Along with the development of digital communication, people's communication way no longer is confined to traditional voice call.Increasing end product is supported video calling, voice and video synchronous transmission, the people's that furthered communication distance.In order to realize (the Internet Protocol based on IP, Internet protocol) speech business, IETF (Internet Engineering Task Force, the Internet Engineering task groups) organized to set up SIP (Session Initiation Protocol, Session initiation Protocol) agreement.At present, based on the media session of Session Initiation Protocol, can realize calling out the business of transfer.
Particular content based on the calling transfer scheme of Session Initiation Protocol is:
SIP UA (User Agent, the user agent) initiate registration message to registrar, this message is at process ALG (Application Layer Gateway, ALG) be modified after, increased WAN (Wide Area Network, wide area network) side IP address, server is set up address mapping relation according to registration message.
When the callee makes a call transfer, the callee need maintain current sessions, and initiate a Refer (reference) request message to the calling party, in the Refer request message, Refer to (reference value) field is carried the URL (Uniform/Universal Resource Locator, URL(uniform resource locator)) that shifts the recipient.
After the calling party receives the Refer request message that the callee initiates, again initiate a SIP request according to the URL of Refer to field, set up a new session, thereby realize call transfer service.
State in realization in the process that shifts based on the calling of Session Initiation Protocol, the inventor finds that in prior art, there are the following problems at least: based on the calling transfer process of Session Initiation Protocol, must will be modified through the SIP message header field after ALG through ALG, reduce network efficiency.Further, when realizing calling out transfer, the server that needs to rely on the WAN side rebulids a SIP session, has also reduced network efficiency.
Summary of the invention
Embodiments of the invention provide a kind of method, Apparatus and system of media transfer, in order to improve network efficiency.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provide a kind of method of media transfer, comprising: the media description information that obtains local device; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information; Wherein, described local device comprises: media transfer equipment and at least one first equipment; The media description information of described at least one the first equipment of the obtaining media description information with the remote equipment that has obtained is mated, determine the transfer receiving equipment according to matching result from described at least one first equipment; The media description information of described media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
In the possible implementation of the first of first aspect, described method also comprises: the media description information of described remote equipment is sent to described transfer receiving equipment, so that described transfer receiving equipment is determined the port numbers of the receiving port of described remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second, described media description information also comprises: host-host protocol and/or media formats.
In conjunction with the possible implementation of the first of first aspect or first aspect or the possible implementation of the second of first aspect, in the third possible implementation, before the described media description information that obtains local device, also comprise: receive the business transfer request message that described media transfer equipment sends, described business transfer request message is carried the information of the business that described media transfer device request shifts; Detect local network, determine described local device, obtain the service description information of described local device; Described service description information is the information of the business of equipment support; The information of the business that described service description information and described media transfer equipment are shifted is mated; The described media description information that obtains local device comprises: the media description information that obtains the local device that the information of the business that described service description information and described media transfer equipment shifts is complementary.
In conjunction with the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or the third possible implementation of first aspect, in the 4th kind of possible implementation, the described media description information that obtains local device comprises: the media description information that obtains local device by obtaining media capability message.
In conjunction with the possible implementation of the first of first aspect or first aspect or possible implementation or the third possible implementation of first aspect or the 4th kind of possible implementation of first aspect of the second of first aspect, in the 5th kind of possible implementation, described media description information with described remote equipment is sent to described transfer receiving equipment and comprises: by session establishment message, the media description information of described remote equipment is sent to described transfer receiving equipment.
in conjunction with the possible implementation of the first of first aspect or first aspect or the possible implementation of the second of first aspect, or the 4th kind of possible implementation of the third possible implementation of first aspect or first aspect, or the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, described media description information and the media description information of described transfer receiving equipment with media transfer equipment is sent to gateway and comprises: by Session Hand-off message, the media description information of media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway.
Second aspect, the embodiment of the present invention provide a kind of method of media transfer, comprising: the media description information of the media transfer equipment of reception control point transmission and the media description information of transfer receiving equipment; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information; Upgrade for the address mapping table of communicating by letter with remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment; Receive the media information that remote equipment sends; According to the address mapping table that being used for of upgrading communicates by letter with remote equipment, the media information that the described remote equipment that receives is sent is sent to described transfer receiving equipment.
In the possible implementation of the first of second aspect, described media description information and the media description information of described transfer receiving equipment according to described media transfer equipment upgrades the address mapping table that is used for communicating by letter with described remote equipment and comprises: according to the media description information of described media transfer equipment, the IP address of the described media transfer equipment stored in described address mapping table and the port numbers of receiving port are deleted with the IP address of public network and the list item of the mapping relations between port numbers; According to the media description information of described transfer receiving equipment, set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of described transfer receiving equipment, and be stored in described address mapping table.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second, the media description information of the media transfer equipment that described reception control point sends and the media description information that shifts receiving equipment comprise: the media description information of the media transfer equipment that sends by Session Hand-off message sink control point and shift the media description information of receiving equipment.
In conjunction with the first of second aspect or second aspect possible implementation or the possible implementation of the second, in the third possible implementation, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is the IP address of public network; Described destination slogan is the port numbers of public network; Described address mapping table of communicating by letter with remote equipment according to being used for of upgrading, the media information that the described remote equipment that receives is sent is sent to and shifts receiving equipment and comprise: according to the purpose IP address of the described data message head of described media information and the described address mapping table for communicating by letter with remote equipment that renewal searched in the destination slogan, determine to shift the IP address of receiving equipment and the port numbers of receiving port; According to the IP address of described transfer receiving equipment and the port numbers of receiving port, described media information is sent to described transfer receiving equipment.
The third possible implementation in conjunction with second aspect, in the 4th kind of possible implementation, in described IP address and port numbers according to described transfer receiving equipment, before described media information is sent to described transfer receiving equipment, also comprise: the purpose IP address of the data message head of described media information and destination slogan are revised as the IP address of shifting receiving equipment and the port numbers of receiving port; Described according to the IP address of described transfer receiving equipment and the port numbers of receiving port, described media information is sent to described transfer receiving equipment to be comprised: according to the IP address of described transfer receiving equipment and the port numbers of receiving port, revised the purpose IP address of data message head and the media information of destination slogan is sent to described transfer receiving equipment with described.
the third aspect, the embodiment of the present invention provides a kind of method of media transfer, comprise: send media description information to the control point, so that described control point is after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information, receive the media information from described remote equipment of described gateway forwards.
In the possible implementation of the first of the third aspect, before the media information from described remote equipment of the described gateway forwards of described reception, also comprise: the media description information that receives the remote equipment of described control point transmission; Determine the port numbers of the receiving port of described remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
In conjunction with the possible implementation of the first of the third aspect, in the possible implementation of the second, the media description information that receives the remote equipment that described control point sends comprises: the media description information of the remote equipment that sends by session establishment message sink described control point.
In conjunction with the possible implementation of the first of the third aspect or the possible implementation of the second of the third aspect, in the third possible implementation, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Described source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is for shifting the IP address of receiving equipment; Described destination slogan is the port numbers of the receiving port of described transfer receiving equipment; After the media information from described remote equipment of the described gateway forwards of described reception, also comprise: whether the source port number that detects in the described data message head of described media information is identical with port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment; If the source port number that detects in described data message head is not identical with the port numbers of the receiving port of described remote equipment, abandon described media information; If the source port number that detects in described data message head is identical with the port numbers of the receiving port of described remote equipment, process described media information.
In conjunction with the 3rd of second of the possible implementation of the first of the third aspect or the third aspect or the third aspect the possible implementation or the third aspect the possible implementation, in the 4th kind of possible implementation, the described media description information that sends to the control point comprises: send to the control point and obtain the media capability response message, described obtaining carries described media description information in the media capability response message.
Fourth aspect, the embodiment of the present invention provide a kind of method of media transfer, comprising: what receive that the control point sends obtains media capability message; Send media description information to the control point, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information.
In the possible implementation of the first of fourth aspect, described send media description information to the control point before, also comprise: send the business transfer request message to described control point, described business transfer request message is carried the information of the business that described media transfer device request shifts.
The 5th aspect, the embodiment of the present invention provide a kind of control point, comprising: acquiring unit, for the media description information that obtains local device; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information; Wherein, described local device comprises: media transfer equipment and at least one first equipment; Processing unit, the media description information that is used for described at least one the first equipment that described acquiring unit is obtained mates with the media description information of the remote equipment that has obtained, and determines the transfer receiving equipment according to matching result from described at least one first equipment; Transmit-Receive Unit, be used for the media description information of described media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
In the possible implementation of the first aspect the 5th, described Transmit-Receive Unit, also be used for the media description information of described remote equipment is sent to the described transfer receiving equipment that described processing unit is determined, so that described transfer receiving equipment is determined the port numbers of the receiving port of remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
The possible implementation of the first in conjunction with the 5th aspect or the 5th aspect, in the possible implementation of the second, also comprise: described Transmit-Receive Unit, also be used for receiving the business transfer request message that described media transfer equipment sends, described business transfer request message is carried the information of the business that described media transfer device request shifts; Detecting unit for detection of local network, is determined described local device; Described acquiring unit is also for the service description information that obtains the definite described local device of described detecting unit; Described service description information is the information of the business of equipment support; Described processing unit also mates for the described service description information of the described local device that described acquiring unit is obtained and the information of the business that described media transfer equipment shifts; Described acquiring unit is specifically according to the matching result of described processing unit coupling, obtains the media description information of the local device that the information of the business that described service description information and described media transfer equipment shifts is complementary.
In conjunction with the possible implementation of the first of the 5th aspect or the 5th aspect or the possible implementation of the second of the 5th aspect, in the third possible implementation, described acquiring unit specifically obtains the media description information of local device by obtaining media capability message.
In conjunction with the possible implementation of the second of the possible implementation of the first of the 5th aspect or the 5th aspect or the 5th aspect or the third possible implementation of the 5th aspect, in the 4th kind of possible implementation, described Transmit-Receive Unit specifically is sent to described transfer receiving equipment by session establishment message with the media description information of described remote equipment.
In conjunction with the possible implementation of the first of the 5th aspect or the 5th aspect or possible implementation or the third possible implementation of the 5th aspect or the 4th kind of possible implementation of the 5th aspect of the second of the 5th aspect, in the 4th kind of possible implementation, described Transmit-Receive Unit specifically is sent to gateway by Session Hand-off message with the media description information of described media transfer equipment and the media description information of described transfer receiving equipment.
The 6th aspect, the embodiment of the present invention provide a kind of gateway, comprising: Transmit-Receive Unit, for the media description information of the media transfer equipment that receives the control point transmission and the media description information of transfer receiving equipment; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information; Updating block upgrades for the address mapping table of communicating by letter with remote equipment for the media description information of the described media transfer equipment that receives according to described Transmit-Receive Unit and the media description information of described transfer receiving equipment; Described Transmit-Receive Unit also is used for receiving the media information that remote equipment sends; Described Transmit-Receive Unit also is used for the address mapping table of communicating by letter with remote equipment according to described updating block being used for of upgrading, and the media information that the described remote equipment that receives is sent is sent to described transfer receiving equipment.
In the possible implementation of the first aspect the 6th, described updating block specifically is used for, the media description information of the described media transfer equipment that receives according to described Transmit-Receive Unit is deleted the IP address of the described media transfer equipment stored in described address mapping table and the port numbers of receiving port with the IP address of public network and the list item of the mapping relations between port numbers; The media description information of the described transfer receiving equipment that receives according to described Transmit-Receive Unit is set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of described transfer receiving equipment, and is stored in described address mapping table.
The possible implementation of the first in conjunction with the 6th aspect or the 6th aspect, in the possible implementation of the second, the media description information of the media transfer equipment that described Transmit-Receive Unit specifically sends by Session Hand-off message sink control point and shift the media description information of receiving equipment.
In conjunction with the possible implementation of the first of the 6th aspect or the 6th aspect or the possible implementation of the second of the 6th aspect, in the third possible implementation, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is the IP address of public network; Described destination slogan is the port numbers of public network; Described Transmit-Receive Unit comprises: search subelement, be used for searching according to purpose IP address and the destination slogan of the described data message head of the described media information that receives the described address mapping table for communicating by letter with described remote equipment that described updating block upgrades, determine to shift the IP address of receiving equipment and the port numbers of receiving port; The transmitting-receiving subelement is used for according to the described IP address of the definite described transfer receiving equipment of subelement and the port numbers of receiving port of searching, described media information being sent to described transfer receiving equipment.
The third possible implementation in conjunction with the 6th aspect, in the 4th kind of possible implementation, described updating block also is used for the purpose IP address of the described data message head of described media information and destination slogan are updated to the IP address of shifting receiving equipment and the port numbers of receiving port; Described transmitting-receiving subelement specifically is used for, and according to the described IP address of the definite described transfer receiving equipment of subelement and the port numbers of receiving port of searching, the media information after described updating block is upgraded is sent to described transfer receiving equipment.
the 7th aspect, the embodiment of the present invention provides a kind of transfer receiving equipment, comprise: Transmit-Receive Unit, be used for sending to the control point media description information, so that described control point is after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information, described Transmit-Receive Unit is also for the media information from described remote equipment that receives gateway forwards.
In the possible implementation of the first aspect the 7th, described Transmit-Receive Unit also is used for receiving the media description information of the remote equipment that described control point sends; Described transfer receiving equipment also comprises: processing unit, the media description information that is used for the described remote equipment that receives according to described Transmit-Receive Unit is determined the port numbers of the receiving port of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
In conjunction with the possible implementation of the first of the 7th aspect, in the possible implementation of the second, described Transmit-Receive Unit specifically passes through the media description information of the remote equipment of session establishment message sink described control point transmission.
In conjunction with the possible implementation of the first of the 7th aspect or the possible implementation of the second of the 7th aspect, in the third possible implementation, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is for shifting the IP address of receiving equipment; Described destination slogan is the port numbers of the receiving port of described transfer receiving equipment; Described processing unit, whether the source port number in the described data message head of the described media information that also receives for detection of described Transmit-Receive Unit is identical with port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment; In the situation that the source port number in detecting described data message head is not identical with the port numbers of the receiving port of described remote equipment, abandon described media information; In the situation that the source port number in detecting described data message head is identical with the port numbers of the receiving port of described remote equipment, process described media information.
In conjunction with the possible implementation of the second of the possible implementation of the first of the 7th aspect or the 7th aspect or the 7th aspect or the third possible implementation of the 7th aspect, in the 4th kind of possible implementation, described Transmit-Receive Unit specifically comes to send media description information to described control point by obtaining the media capability response message to the control point transmission, and described obtaining carries described media description information in the media capability response message.
Eight aspect, the embodiment of the present invention provide a kind of media transfer equipment, comprising: Transmit-Receive Unit, and what be used for to receive that the control point sends obtains media capability message; Described Transmit-Receive Unit, also be used for sending to the control point media description information, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information.
In the possible implementation of the first of eight aspect, described Transmit-Receive Unit, also be used for before sending media description information to the control point, send the business transfer request message to described control point, described business transfer request message is carried the information of the business that described media transfer device request shifts.
The 9th aspect, the embodiment of the present invention provide a kind of system of media transfer, comprising: media transfer equipment, shift receiving equipment, control point, gateway; Wherein, a kind of control point of providing for above-described embodiment, described control point; A kind of gateway that described gateway provides for above-described embodiment; A kind of transfer receiving equipment that described transfer receiving equipment provides for above-described embodiment.
The embodiment of the present invention provides a kind of method, Apparatus and system of media transfer, the control point is by obtaining the media description information of local device, the media description information of the local device that the obtains media description information with the remote equipment that has obtained is mated, determine the transfer receiving equipment according to matching result.Send the media description information of transfer receiving equipment and the media description information of media transfer equipment to gateway, so that gateway is according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, when gateway receives the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The method schematic diagram of a kind of media transfer that Fig. 1 provides for the embodiment of the present invention;
The method schematic diagram of the another kind of media transfer that Fig. 2 provides for the embodiment of the present invention;
The method schematic diagram of the another kind of media transfer that Fig. 3 provides for the embodiment of the present invention;
The method schematic diagram of the another kind of media transfer that Fig. 4 provides for the embodiment of the present invention;
The method schematic diagram of the another kind of media transfer that Fig. 5 provides for the embodiment of the present invention;
The method schematic diagram of the communication between devices before a kind of media transfer that Fig. 6 provides for the embodiment of the present invention;
The method schematic diagram of the another kind of media transfer that Fig. 7 provides for the embodiment of the present invention;
The method schematic diagram of the communication between devices after a kind of media transfer that Fig. 8 provides for the embodiment of the present invention;
The structural representation at a kind of control point that Fig. 9 provides for the embodiment of the present invention;
The structural representation at the another kind of control point that Figure 10 provides for the embodiment of the present invention;
The structural representation of a kind of gateway that Figure 11 provides for the embodiment of the present invention;
Figure 12 is the structural representation of Transmit-Receive Unit shown in Figure 11;
A kind of structural representation that shifts receiving equipment that Figure 13 provides for the embodiment of the present invention;
The structural representation of a kind of media transfer equipment that Figure 14 provides for the embodiment of the present invention;
The structural representation at the another kind of control point that Figure 15 provides for the embodiment of the present invention;
The structural representation of the another kind of gateway that Figure 16 provides for the embodiment of the present invention;
The another kind that Figure 17 provides for the embodiment of the present invention shifts the structural representation of receiving equipment;
The structural representation of the another kind of media transfer equipment that Figure 18 provides for the embodiment of the present invention;
The structural representation of the system of a kind of media transfer that Figure 19 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the present invention provides a kind of method of media transfer, as shown in Figure 1, comprising:
101, obtain the media description information of local device.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, can comprise: the IP of equipment (Internet Protocol, Internet protocol) address, port numbers and coding/decoding capability information.Described local device comprises: media transfer equipment and at least one first equipment.
Need to prove, local device refers to the equipment of control point management.Described media transfer equipment refers in local device, carry out the equipment of media transfer.The first equipment refers in local device, the equipment except media transfer equipment.
Further, described media description information can also comprise: host-host protocol and/or media formats.
Need to prove, media description information also can comprise other information, and the present invention does not limit this.
Need to prove, the port numbers in media description information is the port numbers that equipment is used to receive the media information that other equipment send.
Wherein, the media description information that obtains local device comprises: obtain the media description information of media transfer equipment and the media description information of at least one the first equipment.
Concrete, control point (Control Point) can send the message of obtaining media description information to local device, receives the media description information that local device returns, and obtains local device media description information separately.
Optionally, the control point can obtain by obtaining media capability message (GetMediaCapabilities) media description information of local device.
POST (notice) method that HTTP (hypertext transport protocol, HTTP) can be passed through in the control point is obtained the media description information of local device, and concrete signaling is as follows:
The control point->local device:
Figure BDA00002815485700131
Figure BDA00002815485700141
The control point receives the http response message that comprises media description information that local device returns, and the concrete signaling of http response message is as follows:
Local device->control point:
Figure BDA00002815485700142
Figure BDA00002815485700151
Need to prove, in all embodiment of the present invention, the control point can be integrated in local device.If the control point is integrated in certain local device, at this moment, stored the media description information of the local device at integrated this control point in the control point, so the control point when obtaining the media description information of local device, can obtain the media description information of other local devices that there is no integrated this control point.For example, the control point can be integrated in media transfer equipment, has known the media description information of media transfer equipment due to the control point, and the control point obtains the media description information of the first equipment.The control point also can not be integrated in any one equipment, but independent equipment, this moment, the control point obtained the media description information of all devices in local device.
The media description information of described at least one first equipment that 102, will obtain mates with the media description information of the remote equipment that has obtained, and determines the transfer receiving equipment according to matching result from described at least one first equipment.
Wherein, described remote equipment is the network equipment that communicates with media transfer equipment.Described transfer receiving equipment refers in local device, carry out with media transfer equipment the equipment of media transfer.
Need to prove, when media transfer equipment and remote equipment communicated, the control point had obtained the media description information of remote equipment.
Concrete, the control point is after the media description information that has obtained local device, media description information according to the remote equipment that obtains in advance, the media description information of at least one the first equipment in the local device media description information with the remote equipment that obtains is in advance mated, determine the transfer receiving equipment according to matching result.
for example, the control point is with the host-host protocol of the media description information of at least one the first equipment in local device, media formats, the host-host protocol of coding/decoding capability information and the media description information of the remote equipment that prestores, media formats, coding/decoding capability information is mated, if the host-host protocol of the media description information of certain of local device the first equipment, media formats, the host-host protocol of coding/decoding capability information and the media description information of the remote equipment that prestores, media formats, coding/decoding capability information is complementary, this first equipment is defined as shifting receiving equipment.
In the situation that the control point has only obtained media transfer equipment and first equipment, if the media description information of the media description information of this first equipment and remote equipment is complementary, this first equipment is defined as shifting receiving equipment.
If the media description information of this first equipment and the media description information of remote equipment do not mate, the control point generates the media transfer failed message, can feed back to the user by media transfer equipment.
In the situation that the control point has obtained media transfer equipment and at least two the first equipment, if at least two the first local devices are arranged in described two the first equipment at least, first local device in described at least two the first local devices is defined as shifting receiving equipment.
Need to prove, described the first local device refers to the first equipment that the media description information of media description information and remote equipment is complementary.
Wherein, the control point is defined as first local device at least two the first local devices to shift the method for receiving equipment, can be that the control point feeds back to the user with at least two the first local devices, after being selected by the user, the first local device that the user is selected is defined as shifting receiving equipment.Can be also that the control point selects arbitrarily first local device as shifting receiving equipment.
Need to prove, the method that is defined as shifting receiving equipment is established with first this locality at least two the first local devices in the control point, goes back additive method, and the present invention does not limit this.
Optionally, the control point can generate the selective listing of the current media transfer service being transferred to local device with at least one the first local device according to matching result.Select a local device as shifting receiving equipment in selective listing.
103, the media description information of described media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Concrete, the control point can be sent to gateway with the media description information of described media transfer equipment and the media description information of described transfer receiving equipment by Session Hand-off message (SessionTransfer).
Exemplary, if media transfer equipment is phone (mobile phone), the transfer receiving equipment is TV (Television, TV), the media transfer business that phone will shift is video session, and the media description information of far-end can be the information relevant to voice or video.At this moment, Session Hand-off message (SessionTransfer) is passed through with the media description information of phone and the media description information of TV in the control point, utilizes the POST method of HTTP to be sent to gateway, and concrete signaling is as follows:
The control point->gateway:
Figure BDA00002815485700191
Figure BDA00002815485700201
The embodiment of the present invention provides a kind of method of media transfer, the control point is by obtaining the media description information of local device, the media description information of the local device that the obtains media description information with the remote equipment that has obtained is mated, determine the transfer receiving equipment according to matching result.Send the media description information of transfer receiving equipment and the media description information of media transfer equipment to gateway, so that gateway is according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of method of media transfer, as shown in Figure 2, comprising:
201, the media description information of the media description information of the media transfer equipment of reception control point transmission and transfer receiving equipment.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.
Described transfer receiving equipment is in local device, carry out with media transfer equipment the equipment of media transfer.Described media transfer equipment refers to carry out the equipment of media transfer.Described remote equipment is the network equipment that communicates with media transfer equipment.
Further, described media description information also comprises: media formats and/or host-host protocol.
Concrete, gateway can receive the media description information of the media transfer equipment that the control point sends and the media description information of described transfer receiving equipment by Session Hand-off message (SessionTransfer).
202, upgrade for the address mapping table of communicating by letter with remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment.
Concrete, gateway can be according to the media description information of described media transfer equipment, with the IP address of the described media transfer equipment stored in described address mapping table and port numbers and the IP address of public network and the list item deletion of the mapping relations between port numbers of receiving port.According to the media description information of described transfer receiving equipment, set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of described transfer receiving equipment, and be stored in described address mapping table.
As above routine described, the IP address of internal network of the Intranet side of gateway is 192.168.1.1, and the public ip address of public network side is 10.11.20.240.The IP address of the local device of gateway Intranet side obtains by DHCP (Dynamic Host Configuration Protocol, DynamicHost arranges agreement).Wherein, media transfer equipment is phone, and the transfer receiving equipment is TV.The media description information of phone comprises: the IP address of phone is 192.168.1.2, and the port numbers of the receiving port of phone is 5060.The media description information of TV comprises: the IP address of TV is 192.168.1.3, and the port numbers of the receiving port of TV is 5060.
Gateway is according to the IP address of phone and the port numbers of receiving port, the mapping relations between the IP address of the phone of foundation and the port numbers of receiving port and public network IP address and port numbers, and a list item as address mapping table is stored in address mapping table.As shown in table 1 below.
Table 1 (address mapping table)
Figure BDA00002815485700211
gateway receives the phone of control point transmission and the media description information of TV, gateway is according to the IP address of phone in the media description information of phone and the port numbers of receiving port, search address mapping table, and with an entry deletion that is complementary with the port numbers of the IP address of phone and receiving port in address mapping table, and according to the IP address in the media description information of TV and the port numbers of receiving port, set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of TV, and the port numbers of the IP address of newly-established TV and receiving port and the mapping relations between a public network IP address and port numbers list item as address mapping table is stored in address mapping table, as shown in table 2 below.
Table 2 (address mapping table)
Figure BDA00002815485700221
203, receive the media information that remote equipment sends.
Concrete, gateway receives the media information that remote equipment sends.Wherein, media information comprises: data message head and datagram style.The data message head of the media information that media transfer equipment sends comprises: source IP address, source port number, purpose IP address, destination slogan.
Wherein, the source IP address in the data message head of the media information that remote equipment sends is the IP address of remote equipment, and source port number is the port numbers of the receiving port of remote equipment, and purpose IP address is the IP address of gateway, and the destination slogan is the port numbers of gateway.
As above routine described, the public ip address of the public network side of gateway is 10.11.20.240, and port numbers is 1234.The IP address of supposing remote equipment is 173.194.64.147, the port numbers of the receiving port of remote equipment is 6060, the source IP address in the data message head in the media information that the remote equipment that gateway receives sends is 173.194.64.147, source port number is 6060, purpose IP address is 10.11.20.240, and the destination slogan is 1234.
The address mapping table of 204, communicating by letter with remote equipment according to being used for of upgrading, the media information that the described remote equipment that receives is sent is sent to described transfer receiving equipment.
Concrete, after gateway receives the media information of remote equipment transmission, parse the data message head in media information, search according to the purpose IP address in the data message head and destination slogan the address mapping table that being used for after renewal communicate by letter with remote equipment, thereby get IP address and the port numbers that shifts receiving equipment.According to IP address and the port numbers of the transfer receiving equipment that obtains, the media information that the remote equipment that receives is sent is sent to media transfer equipment.
as above routine described, gateway receives the media information that remote equipment sends, the source IP address that parses in the data message head in media information is 173.194.64.147, source port number is 6060, purpose IP address is 10.11.20.240, the destination slogan is 1234, be 10.11.20.240 according to purpose IP address, the destination slogan is 1234 to search address mapping table, reference table 2, finding the IP address is 10.11.20.240, port numbers is 1234, the IP address of corresponding transfer receiving equipment is 192.168.1.3, port numbers is 5060, gateway is 192.168.1.3 according to what search to the IP address, port numbers is 5060, media information is sent to the transfer receiving equipment.
The embodiment of the present invention provides a kind of method of media transfer, gateway receives the media description information of transfer receiving equipment and the media description information of media transfer equipment, and according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of method of media transfer, as shown in Figure 3, comprising:
301, send media description information to the control point, so that described control point is after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, to shift receiving equipment and can obtain the media capability response message to the control point transmission, described obtaining in the media capability response message carries media description information.That is to say, shift receiving equipment receive that the control point sends obtain media capability message (GetMediaCapabilities) after, the media description information that shifts receiving equipment is added into obtains in the media capability response message, and will obtain the media capability response message and be sent to the control point.
302, receive the media information from described remote equipment of described gateway forwards.
Concrete, gateway upgraded for address mapping table that described remote equipment is communicated by letter after, receive the media information of remote equipment transmission at gateway after, gateway is searched the address mapping table after renewal, get the IP address and the port numbers that shift receiving equipment, according to the IP address of shifting receiving equipment and port numbers, the media information that remote equipment sends is sent to the transfer receiving equipment, shifts the media information that receiving equipment receives the remote equipment transmission of gateway forwards.
the method of a kind of media transfer of the embodiment of the present invention, shift receiving equipment and send media description information to the control point, make described control point after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.Like this, shift receiving equipment and receive by gateway the media information that remote equipment sends, the communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of method of media transfer, as shown in Figure 4, comprising:
What 401, receive that the control point sends obtains media capability message.
402, send media description information to the control point, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, media transfer equipment can send to the control point and obtain the media capability response message.Described obtaining in the media capability response message carries media description information.That is to say, media transfer equipment receive that the control point sends obtain media capability message (GetMediaCapabilities) after, the media description information of media transfer equipment is added into obtains in the media capability response message, and will obtain the media capability response message and be sent to the control point.
Further, in the situation that the control point is integrated in media transfer equipment, the user sends the business transfer request message to the control point by media transfer equipment, shift so that business is carried out at the control point.
the method of a kind of media transfer of the embodiment of the present invention, media transfer equipment is sent to the control point with media description information, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, like this, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of method of media transfer, as shown in Figure 5, comprising:
501, media transfer equipment and remote equipment communicate.
Concrete, if send media information by media transfer equipment to remote equipment, the media transfer equipment media information that first will be sent to remote equipment is sent to gateway, then by gateway, media information is sent to remote equipment.Wherein, media information comprises: data message head and datagram style.The data message head of the media information that media transfer equipment sends comprises: source IP address, source port number, purpose IP address, destination slogan.
Wherein, source IP address in the data message head of the media information that media transfer equipment sends is the IP address of media transfer equipment, source port number is the port numbers of the media information that is used for the transmission of reception remote equipment of media transfer equipment, be the port numbers of the receiving port of media transfer equipment, purpose IP address is the IP address of remote equipment, and the destination slogan is the port numbers of the receiving port of remote equipment.
Gateway receives the media information that media transfer equipment sends, source IP address and source port number according to the data message head in media information, search address mapping table, find the list item that is complementary with source IP address and source port number in address mapping table, according to this list item, source IP address and the source port number of data message head are changed to the IP address of public network and the port numbers of public network by the IP address of media transfer equipment and the port numbers of media transfer equipment, and purpose IP address and destination slogan are constant.At this moment, the data message head of media information comprises: source IP address is public network IP address, and source port number is the public network port numbers, and purpose IP address is the IP address of remote equipment, the destination slogan is the port numbers of the receiving port of remote equipment, and this media information is sent to remote equipment.
Exemplary, media transfer equipment is phone, phone and remote equipment CP (Central Processor, CPU (central processing unit)) carry out video communication.The media information that sends between phone and CP is the video data message.
If the IP address of internal network of the Intranet side of gateway is 192.168.1.1, the public ip address of public network side is 10.11.20.240.The IP address of the local device of gateway Intranet side obtains by DHCP.Wherein, the IP address of phone is 192.168.1.2, and the port numbers that is used for receiving the media information that remote equipment sends is 5060.The IP address of remote equipment CP is 173.194.64.147, and the port numbers of the receiving port of remote equipment CP is 6060.
As shown in Figure 6, phone sends the video data message to gateway.Wherein, the source IP address of the heading in the video data message is 192.168.1.2, and source port number is 5060, and purpose IP address is 173.194.64.147, and the destination slogan is 6060.After gateway receives the video data message of phone transmission, according to the source IP address 192.168.1.2 in the heading of video data message, source port number 5060, search address mapping table, find in address mapping table and source IP address 192.168.1.2, the list item that source port number 5060 is complementary gets and source IP address 192.168.1.2, the IP address of the public network that source port number 5060 is corresponding and the port numbers of public network.If, the IP address of the public network corresponding with source IP address 192.168.1.2 that finds is 10.11.20.240, the public network port numbers corresponding with source port number 5060 that finds is 1234, at this moment, gateway is revised as the source IP address in the heading of video data message and source port number the IP address of public network, the port numbers of public network.Be, source IP address in the heading of video data message is revised as 10.11.20.240 by 192.168.1.2, source port number is revised as 1234 by 5060, at this moment, the source IP address that the heading of video data message comprises is 10.11.20.240, source port number is 1234, and purpose IP address is 173.194.64.147, and the destination slogan is 6060.Gateway is sent to remote equipment with this video data message.
If send media information by remote equipment to media transfer equipment, the remote equipment media information that first will be sent to media transfer equipment is sent to gateway, then by gateway, media information is sent to media transfer equipment.
Wherein, source IP address in the data message head of the media information that the far-end transfer equipment sends is the IP address of remote equipment, source port number is the port numbers of the receiving port of remote equipment, purpose IP address is the IP address of the public network under media transfer equipment, and the destination slogan is the port numbers of the affiliated public network of media transfer equipment.
Gateway receives the media information that remote equipment sends, purpose IP address and destination slogan according to the data message head in media information, search address mapping table, find the list item that is complementary with purpose IP address and destination slogan in address mapping table, according to this list item, optionally, the purpose IP address of data message head and destination slogan are changed to the port numbers of the receiving port of the IP address of media transfer equipment and media transfer equipment by the port numbers of the IP address of public network and public network, source IP address and source port number are constant.At this moment, the data message head of media information comprises: purpose IP address is the media transfer IP address of equipment, the destination slogan is the port numbers of the receiving port of media transfer equipment, and source IP address is the IP address of remote equipment, and source port number is the port numbers of the receiving port of remote equipment.Port numbers according to the receiving port of the IP address of media transfer equipment and media transfer equipment is sent to media transfer equipment with this media information.
Need to prove, the port numbers of the receiving port of the media transfer equipment of storing in the address mapping table of gateway is the port numbers that media transfer equipment is used for receiving the media information that remote equipment sends.
As above shown in example, with reference to shown in Figure 6, remote equipment first sends the video data message to gateway.Wherein, the source IP address of the heading in message is 173.194.64.147, and source port number is 6060, and purpose IP address is 10.11.20.240, and the destination slogan is 1234.After gateway receives the video data message of remote equipment CP transmission, according to the purpose IP address 10.11.20.240 in the heading of video data message, destination slogan 1234, search address mapping table, find in address mapping table and purpose IP address 10.11.20.240, the list item that destination slogan 1234 is complementary gets the address 10.11.20.240 with purpose IP, the corresponding IP address of destination slogan 1234 is 192.168.1.2, and corresponding port numbers is 5060.At this moment, optional, gateway is revised as the purpose IP address in the heading of video data message and destination slogan the IP address of the phase shift that finds, corresponding port numbers in address mapping table.Be, 192.168.1.2 is revised as by 10.11.20.24 in purpose IP address in the heading of video data message, the destination slogan is revised as 5060 by 1234, at this moment, the source IP address that the heading of video data message comprises is 173.194.64.147, source port number is 6060, and purpose IP address is 192.168.1.2, and the destination slogan is 5060.The IP address that finds in the gateway address mapping table is 192.168.1.2, and corresponding port numbers is 5060, and this video data message is sent to media transfer equipment.
502, media transfer equipment sends the business transfer request message to described control point, and the control point receives the business transfer request message that described media transfer equipment sends.
Wherein, described business transfer request message is carried the information of the business that described media transfer device request shifts.
Further, also carry the identification information of media transfer equipment in the business transfer request message.
Concrete, when the user determined the business of media transfer equipment is carried out media transfer, the user sent business transfer request message, the business transfer request message that control point receiving media transfer equipment sends to the control point by media transfer equipment.
After the control point receives the business transfer request message, can be according to carrying the identification information of media transfer equipment in the business transfer request message, the business information that shifts is determined in the local device of managing at the control point and is determined media transfer equipment, and determines the business that need to shift in the business that media transfer equipment is moving.
Need to prove, the user also can send by additive method the business transfer request message to the control point, and for example the user can be directly by the controller transmission business transfer request message at control point, and the present invention does not limit this.
503, local network is detected at the control point, determines described local device, obtains the service description information of described local device.
Wherein, described service description information is the information of the business of equipment support.For example, service description information comprises: video information, voice messaging etc.
Concrete, local network is detected at the control point, when determining local device, can obtain the URL (Uniform/Universal Resource Locator, URL(uniform resource locator)) of all devices in described local device.The control point is described according to the UPnP (Universal Plug and Play, UPnP) that the URL that obtains can obtain all devices in local device.Be divided into because UPnP describes the service describing that device description and equipment are supported, so the control point is when obtaining UPnP and describe, the description that can obtain all devices in local device is the type of the equipment of obtaining, the information such as identifier.And can obtain the service describing that in local device, all devices is supported, be the service description information of the equipment of obtaining.
Wherein, local device comprises: media transfer equipment and at least one first equipment.
The URL of local taking equipment can be obtained by http protocol in the control point, and concrete signaling is as follows:
Figure BDA00002815485700291
The control point can obtain the device description of local device and the service describing of equipment by signaling.
Concrete, the control point obtains the concrete signaling of the device description of local device, and is as follows:
Figure BDA00002815485700292
Figure BDA00002815485700301
Exemplary, if described local device is TV, the control point can by following signaling, obtain the device description of TV:
Figure BDA00002815485700302
Figure BDA00002815485700311
The control point obtains the concrete signaling that the service description information of local device uses, and is as follows:
Figure BDA00002815485700312
Figure BDA00002815485700321
Need to prove, in all embodiment of the present invention, the control point can be integrated in local device.If the control point is integrated in certain local device, at this moment, stored the media description information of the local device at integrated this control point in the control point, so the control point when obtaining the media description information of local device, can obtain the media description information of other local devices that there is no integrated this control point.For example, the control point can be integrated in media transfer equipment, has known the media description information of media transfer equipment due to the control point, and the control point obtains the media description information except other local devices of this media transfer equipment.The control point also can not be integrated in any one equipment, but independent equipment, this moment, the control point obtained the media description information of all ustomer premises access equipments in local network, comprising: the media description information of the media description information of media transfer equipment and transfer receiving equipment.Only express the control point and be a kind of situation of independent equipment in Fig. 5, the present invention does not limit this.
Need to prove, in all embodiment of the present invention, gateway can be integrated in local device.For example, the transfer receiving equipment is TV, and gateway can be integrated in TV, and at this moment, gateway can be set-top box.Gateway also can not be integrated in any one equipment, but independent equipment, only expresses the control point and be a kind of situation of independent equipment in Fig. 5, and the present invention does not limit this.
504, the business that described service description information and described media transfer equipment shift is mated at the control point.
Concrete, the business that the control point need will shift according to media transfer equipment, the service description information business whether the support media transfer equipment will shift of the first equipment that detection is obtained.
Exemplary, if media transfer equipment is phone, the business that need shift is video traffic, needs this moment transfer equipment to support video traffic.Local network is detected at the control point, and finding has a TV equipment, printer apparatus in local network.The control point has obtained the service description information of TV equipment, and the service description information of printer apparatus.Wherein, the service description information of TV equipment comprises video service information, and TV equipment support video traffic is described.Do not comprise video service information in the service description information of printer apparatus, illustrate that printer apparatus do not support video traffic.
The business that need carry out media transfer due to phone is video traffic, so the video traffic of media transfer need be carried out according to phone in the control point, detect the service description information of TV equipment, whether the service description information of checking described TV equipment is complementary with the video traffic that phone need carry out media transfer.Be, the control point checks in the service description information of TV equipment whether comprise video traffic.Same, the video traffic of media transfer need be carried out according to phone in the control point, and whether the service description information of printer, the service description information of checking printer are complementary with the video traffic that phone need carry out media transfer.
Because the service description information of TV equipment comprises video service information, the control point service description information of TV equipment detected and video traffic that phone need carry out media transfer is complementary, step below continuing.Because the service description information of printer does not comprise: video service information, control point detect the service description information of printer apparatus and video traffic that phone need carry out media transfer does not mate, and do not continue following step.
Need to prove, all do not mate with the business that media transfer equipment will shift if the control point detects local all devices, can send to media transfer equipment and shift failed message.
505, the control point obtains the media description information of local device.
Concrete, the control point can detect the service description information of which local device and business that media transfer equipment shifts is complementary in step 504, obtains the media description information of the local device that business that described service description information and described media transfer equipment shifts is complementary mutually.The control point specifically obtains the process of the media description information of the local device that business that described service description information and described media transfer equipment shifts is complementary, but refer step 101 does not repeat them here.Further, when local device returns to media description information to the control point, but refer step 301,401 and 402 does not repeat them here.
506, identical with step 102, do not repeat them here.
507, described control point sends the media description information of remote equipment to shifting receiving equipment, so that described transfer receiving equipment is determined the port numbers of the receiving port of remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.Shift the media description information that receiving equipment receives remote equipment.
Concrete, the control point determine shift receiving equipment after, the media description information of remote equipment is sent to the transfer receiving equipment.Include port number information in media description information due to remote equipment, so, shift receiving equipment and can determine according to the media description information of remote equipment the port numbers of the receiving port of remote equipment, in order to shift receiving equipment according to the port numbers of the receiving port of remote equipment, the media information that receives by gateway is detected, to determine whether the being media information that described remote equipment sends.
Optionally, the control point can be sent to described transfer receiving equipment with the media description information of described remote equipment by session establishment message (SessionSetup).
Exemplary, if media transfer equipment is phone (mobile phone), the transfer receiving equipment is TV (Television, TV), the media transfer business that phone will shift is video session, and the media description information of far-end can be the information relevant to voice or video at this moment.The control point is sent to TV with the media description information of remote equipment by session establishment message (SessionSetup), and concrete signaling is as follows:
The control point->TV:
Figure BDA00002815485700361
Shift receiving equipment and receive the media description information of the remote equipment of described control point transmission by session establishment message (SessionSetup).Be, shift receiving equipment by receiving session establishment message (SessionSetup) and then receiving the media description information of the remote equipment of described control point transmission.
508, the described control point media description information that sends the media description information of media transfer equipment and shift receiving equipment is to gateway, the media description information of gateway receiving media transfer equipment and shift the media description information of receiving equipment.
Concrete, described control point sends the media description information of media transfer equipment and shifts the media description information of receiving equipment to the process of gateway, but refer step 103 does not repeat them here.The process of the media description information of the media description information of gateway receiving media transfer equipment and transfer receiving equipment, but refer step 201 does not repeat them here.
Need to prove, the embodiment of the present invention does not limit step 507 and 508 s' order.Can first execution in step 507, then execution in step 508, also can first execution in step 508, in execution in step 507, execution in step 507 and step 508, in Fig. 5, only express a kind of situation simultaneously.
509, the media description information that shifts the described remote equipment that receiving equipment sends according to the control point is determined the port numbers of the receiving port of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that remote equipment sends.
Concrete, after shifting the media description information that receiving equipment receives the remote equipment that the control point sends, shift receiving equipment with the port numbers in media description information, be defined as the port numbers of the receiving port of remote equipment.
510, identical with step 202, do not repeat them here.
Need to prove, the embodiment of the present invention does not limit the order of between step 509 and step 510, it can be also first execution in step 509, execution in step 510 again, also can first execution in step 510, then execution in step 509, all right, execution in step 509 and step 510, only express a kind of situation in Fig. 5 simultaneously.
511, gateway receives the media information that remote equipment sends.
Wherein, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan.
Further, the described source IP address in the data message head in the media information of remote equipment transmission is the IP address of described remote equipment.Source port number is the port numbers of the receiving port of described remote equipment.Described purpose IP address is the IP address of public network; Described destination slogan is the port numbers of public network, but concrete refer step 203.
Exemplary, as shown in Figure 7, media transfer equipment is phone, the transfer receiving equipment is TV.Phone and remote equipment CP (Central Processor, CPU (central processing unit)) carry out video communication, phone will carry out the transfer of video traffic now, as the transfer receiving equipment is elected TV in the control point, be, phone is transferred to TV with video traffic, carries out video communication by TV and remote equipment CP.At this moment, the media information that sends between CP and phone is the video data message.
If the IP address of internal network of the Intranet side of gateway is 192.168.1.1, the public ip address of public network side is 10.11.20.240.The IP address of the local device of gateway Intranet side obtains by DHCP.Wherein, media transfer equipment is phone, and the transfer receiving equipment is TV.The media description information of phone comprises: the IP address of phone is 192.168.1.2, and the port numbers of the receiving port of phone is 5060.The media description information of TV comprises: the IP address of TV is 192.168.1.3, and the port numbers of the receiving port of TV is 5060.The IP address of remote equipment CP is 173.194.64.147, and the port numbers of the receiving port of remote equipment is 6060.
as shown in Figure 8, remote equipment CP is sent to gateway with the video data message, after gateway receives the video data message, the purpose IP address that the heading of video data message detected is 10.11.20.240, the destination slogan is 1234, gateway is 10.11.20.240 according to the purpose IP address of the heading of video data message, the destination slogan is 1234, search address mapping table, finding with the IP address in address mapping table is 10.11.20.240, port numbers is 1234 list items that are complementary, get the address 10.11.20.240 with purpose IP according to this list item, the corresponding IP address of destination slogan 1234 is 192.168.1.3, corresponding port numbers is 5060.At this moment, optional, gateway is revised as the purpose IP address in the heading of video data message and destination slogan the IP address of the correspondence that finds in address mapping table, and port numbers.Be, 192.168.1.3 is revised as by 10.11.20.24 in purpose IP address in the heading of video data message, the destination slogan is revised as 5060 by 1234, at this moment, the source IP address that the heading of video data message comprises is 173.194.64.147, source port number is 6060, and purpose IP address is 192.168.1.3, and the destination slogan is 5060.
Gateway is sent to TV according to IP address and the port numbers of the TV that finds with the video data message in address mapping table.Optionally, if gateway is revised as the purpose IP address in the video data message and destination slogan IP address and the port numbers of TV, video data message after upgrading is sent to the transfer receiving equipment, and the video data message after being gateway and upgrading is sent to TV.
If shift receiving equipment, being TV needs to send video packets of data to remote equipment, and with reference to shown in Figure 8, TV first sends the video data message to gateway.Wherein, the source IP address of the heading in the video data message is 192.168.1.3, and source port number is 5060, and purpose IP address is 173.194.64.147, and the destination slogan is 6060.After gateway receives the video data message of TV transmission, according to the source IP address 192.168.1.3 in the heading of video data message, source port number 5060, search address mapping table, find in address mapping table and source IP address 192.168.1.3, the list item that source port number 5060 is complementary gets and source IP address 192.168.1.3, the IP address of the public network that source port number 5060 is corresponding and the port numbers of public network.At this moment, gateway is revised as the source IP address in the heading of video data message and source port number the IP address of public network, the port numbers of public network.Be, source IP address in the heading of video data message is revised as 10.11.20.240 by 192.168.1.3, source port number is revised as 1234 by 5060, at this moment, the source IP address that the heading of video data message comprises is 10.11.20.240, source port number is 1234, and purpose IP address is 173.194.64.147, and the destination slogan is 6060.Video data message after gateway upgrades this is sent to remote equipment.
512, the media information that sends of the gateway described remote equipment that will receive is sent to described transfer receiving equipment, shifts the media information that remote equipment that receiving equipment receives gateway forwards sends.
Wherein, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan.Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment.Described purpose IP address is for shifting the IP address of receiving equipment; Described destination slogan is the port numbers of the receiving port of described transfer receiving equipment.
Concrete, but refer step 204 and step 302 do not repeat them here.
Whether the source port number that 513, shifts in the described data message head that receiving equipment detects described media information is identical with port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment.
Concrete, after the transfer receiving equipment receives the media information of gateway forwards, parse the data message head of media information.With the source port number in the data message head of media information, compare with the port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment.
If the source port number that the transfer receiving equipment detects in described data message head is not identical with the port numbers of the receiving port of remote equipment, abandon described media information.If the source port number that detects in described data message head is identical with the port numbers of the receiving port of remote equipment, process described media information.
The embodiment of the present invention provides a kind of method of media transfer, the control point is by obtaining the media description information of local device, the media description information of the remote equipment of the media description information of the local device that obtains and storage is mated, determine the transfer receiving equipment according to matching result.To the media description information that shifts receiving equipment transmission remote equipment.Send the media description information of transfer receiving equipment and the media description information of media transfer equipment to gateway, so that gateway is according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of control point, as shown in Figure 9, comprising:
Acquiring unit 801 is for the media description information that obtains local device.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.Described local device comprises: media transfer equipment and at least one first equipment.
Need to prove, local device refers to the equipment of control point management.Described media transfer equipment refers in local device, carry out the equipment of media transfer.The first equipment refers in local device, the equipment except media transfer equipment.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described acquiring unit 801 specifically is used for, and obtains the media description information of media transfer equipment and the media description information of at least one the first equipment.
Further, described acquiring unit 801 specifically is used for, and obtains the media description information of local device by obtaining media capability message (GetMediaCapabilities).
Processing unit 802, the media description information that is used for described at least one the first equipment that described acquiring unit 801 is obtained mates with the media description information of the remote equipment that has obtained, and determines the transfer receiving equipment according to matching result from described at least one first equipment.
Described Transmit-Receive Unit 803, be used for the media description information of described media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Concrete, described Transmit-Receive Unit 803 specifically is used for, and by Session Hand-off message (SessionTransfer), the media description information of described media transfer equipment and the media description information of described transfer receiving equipment is sent to gateway.
Further, described Transmit-Receive Unit 803, also be used for the media description information of described remote equipment is sent to the described transfer receiving equipment that described processing unit 802 is determined, so that described transfer receiving equipment is determined the port numbers of the receiving port of remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
Concrete, described Transmit-Receive Unit 803 specifically is used for, and by session establishment message (SessionSetup), the media description information of described remote equipment is sent to described transfer receiving equipment.
Above-mentioned control point as shown in figure 10, also comprises: detecting unit 804.
Described Transmit-Receive Unit 803 also is used for receiving the business transfer request message that described media transfer equipment sends.
Wherein, described business transfer request message is carried the information of the business that described media transfer device request shifts.
Described detecting unit 804 for detection of local network, is determined described local device.
Described acquiring unit 801 is also for the service description information that obtains the definite described local device of described detecting unit 804.
Wherein, described service description information is the information of the business of equipment support.
Described processing unit 802 also mates for the service description information of the described local device that described acquiring unit 801 is obtained and the business that described media transfer equipment shifts.
At this moment, described acquiring unit 801 is specifically according to the matching result of described processing unit 802 couplings, obtains the media description information of the local device that business that described service description information and described media transfer equipment shifts is complementary.
The embodiment of the present invention provides a kind of control point, the control point is by obtaining the media description information of local device, the media description information of the remote equipment of the media description information of the local device that obtains and storage is mated, determine the transfer receiving equipment according to matching result.Send the media description information of transfer receiving equipment and the media description information of media transfer equipment to gateway, so that gateway is according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of gateway, as shown in figure 11, comprising:
Transmit-Receive Unit 1001 is for the media description information of the media transfer equipment that receives the control point transmission and the media description information of transfer receiving equipment.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described Transmit-Receive Unit 1001 is concrete to be received the media description information of the media transfer equipment that the control point sends and shifts the media description information of receiving equipment by Session Hand-off message (SessionTransfer).
Updating block 1002 upgrades for the address mapping table of communicating by letter with remote equipment for the media description information of the described media transfer equipment that receives according to described Transmit-Receive Unit 1001 and the media description information of described transfer receiving equipment.
Concrete, described updating block 1002 specifically is used for, the media description information of the described media transfer equipment that receives according to described Transmit-Receive Unit 1001 is deleted the IP address of the described media transfer equipment stored in described address mapping table and the port numbers of receiving port with the IP address of public network and the list item of the mapping relations between port numbers.The media description information of the described transfer receiving equipment that receives according to described Transmit-Receive Unit 1001, set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of described transfer receiving equipment, and be stored in described address mapping table.
Described Transmit-Receive Unit 1001 also is used for receiving the media information that remote equipment sends.
Wherein, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan.Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is the IP address of public network; Described destination slogan is the port numbers of public network.
Described Transmit-Receive Unit 1001 also is used for the address mapping table of communicating by letter with remote equipment according to described updating block 1002 being used for of upgrading, and the media information that the described remote equipment that receives is sent is sent to described transfer receiving equipment.
Concrete, described Transmit-Receive Unit 1001 as shown in figure 12, comprising:
Search subelement 10011, be used for the address mapping table of communicating by letter with described remote equipment according to the purpose IP address of the described data message head of the described media information that receives and destination slogan being used for of searching that described updating block 1002 upgrades, determine to shift the IP address of receiving equipment and the port numbers of receiving port.
Described transmitting-receiving subelement 10012 also is used for according to the described IP address of the definite described transfer receiving equipment of subelement 10011 and the port numbers of receiving port of searching, described media information being sent to described transfer receiving equipment.
Optionally, described updating block 1002 also is used for the purpose IP address of the described data message head of described media information and destination slogan are updated to the IP address of shifting receiving equipment and the port numbers of receiving port.
At this moment, described transmitting-receiving subelement 10012 is specifically determined the IP address of described transfer receiving equipment and the port numbers of receiving port according to the described subelement 10011 of searching, and the media information after described updating block 1002 is upgraded is sent to described transfer receiving equipment.
The embodiment of the present invention provides a kind of gateway, gateway receives the media description information of transfer receiving equipment and the media description information of media transfer equipment, and according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of transfer receiving equipment, as shown in figure 13, comprising:
Transmit-Receive Unit 1201, be used for sending to the control point media description information, so that described control point is after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described Transmit-Receive Unit 1201 specifically comes to send media description information to described control point by obtaining the media capability response message to the control point transmission.
Wherein, described obtaining carries described media description information in the media capability response message.
Described Transmit-Receive Unit 1201 is also for the media information from described remote equipment that receives gateway forwards.
Wherein, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan.Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is for shifting the IP address of receiving equipment; Described destination slogan is the port numbers of the receiving port of described transfer receiving equipment.
Further, described Transmit-Receive Unit 1201 also is used for receiving the media description information of the remote equipment that described control point sends.
Concrete, the concrete media description information that receives the remote equipment of described control point transmission by session establishment message (SessionSetup) of described Transmit-Receive Unit 1201.
Described transfer receiving equipment with reference to shown in Figure 13, also comprises:
Processing unit 1202, the media description information that is used for the described remote equipment that receives according to described Transmit-Receive Unit 1201 is determined the port numbers of the receiving port of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
Further, described processing unit 1203, whether the source port number in the described data message head of the described media information that also receives for detection of described Transmit-Receive Unit 1201 is identical with port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment.In the situation that the source port number in detecting described data message head is not identical with the port numbers of the receiving port of described remote equipment, abandon described media information.In the situation that the source port number in detecting described data message head is identical with the port numbers of the receiving port of described remote equipment, process described media information.
a kind of transfer receiving equipment of the embodiment of the present invention, shift receiving equipment and send media description information to the control point, make described control point after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.Like this, shift receiving equipment and receive by gateway the media information that remote equipment sends, the communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of media transfer equipment, as shown in figure 14, comprising:
Transmit-Receive Unit 1301, what be used for to receive that the control point sends obtains media capability message
Described Transmit-Receive Unit 1301, also be used for sending to the control point media description information, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described Transmit-Receive Unit 1301 specifically obtains the media capability response message to the control point transmission to send media description information to described control point.
Wherein, described obtaining in the media capability response message carries media description information.
Further, described Transmit-Receive Unit 1301 also is used for sending the business transfer request message to described control point.
a kind of media transfer equipment of the embodiment of the present invention, media transfer equipment is sent to the control point with media description information, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, like this, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of control point, as shown in figure 15, comprising:
Processor 1501 is for the media description information that obtains local device.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.Described local device comprises: media transfer equipment and at least one first equipment.
Need to prove, local device refers to the equipment of control point management.Described media transfer equipment refers in local device, carry out the equipment of media transfer.The first equipment refers in local device, the equipment except media transfer equipment.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described processor 1501 specifically is used for, and obtains the media description information of media transfer equipment and the media description information of at least one the first equipment.
Further, described processor 1501 specifically is used for, and obtains the media description information of local device by obtaining media capability message (GetMediaCapabilities).
Described processor 1501, the media description information that also is used for described at least one the first equipment that will obtain mates with the media description information of the remote equipment that has obtained, and determines the transfer receiving equipment according to matching result from described at least one first equipment.
Described transceiver 1502, be used for the media description information of described media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Concrete, described transceiver 1502 specifically is used for, and by Session Hand-off message (SessionTransfer), the media description information of described media transfer equipment and the media description information of described transfer receiving equipment is sent to gateway.
Further, transceiver 1502, also be used for the media description information of described remote equipment is sent to described transfer receiving equipment, so that described transfer receiving equipment is determined the port numbers of the receiving port of remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
Concrete, described transceiver 1502 specifically is used for, and by session establishment message (SessionSetup), the media description information of described remote equipment is sent to described transfer receiving equipment.
Above-mentioned transceiver 1502 also is used for receiving the business transfer request message that described media transfer equipment sends.
Wherein, described business transfer request message is carried the information of the business that described media transfer device request shifts.
Above-mentioned processor 1501 also for detection of local network, is determined described local device; And obtain the service description information of described local device.
Wherein, described service description information is the information of the business of equipment support.
Described processor 1501 also mates for the service description information of the described local device that will obtain and the business that described media transfer equipment shifts.
At this moment, described processor 1501 obtains the media description information of local device, is specially: according to matching result, obtain the media description information of the local device that business that described service description information and described media transfer equipment shifts is complementary.
The embodiment of the present invention provides a kind of control point, the control point is by obtaining the media description information of local device, the media description information of the remote equipment of the media description information of the local device that obtains and storage is mated, determine the transfer receiving equipment according to matching result.Send the media description information of transfer receiving equipment and the media description information of media transfer equipment to gateway, so that gateway is according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of gateway, as shown in figure 16, comprising:
Transceiver 1601 is for the media description information of the media transfer equipment that receives the control point transmission and the media description information of described transfer receiving equipment.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described transceiver 1601 specifically is used for, and receives the media description information of the media transfer equipment that the control point sends and the media description information of described transfer receiving equipment by Session Hand-off message (SessionTransfer).
Processor 1602 upgrades for the address mapping table of communicating by letter with remote equipment for the media description information of the described media transfer equipment that receives according to described transceiver 1601 and the media description information of described transfer receiving equipment.
Concrete, described processor 1602 specifically is used for, the media description information of the described media transfer equipment that receives according to described transceiver 1601 is deleted the IP address of the described media transfer equipment stored in described address mapping table and the port numbers of receiving port with the IP address of public network and the list item of the mapping relations between port numbers.The media description information of the described transfer receiving equipment that receives according to described transceiver 1601, set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of described transfer receiving equipment, and be stored in described address mapping table.
Described transceiver 1601 also is used for receiving the media information that remote equipment sends.
Wherein, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan.Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is the IP address of public network; Described destination slogan is the port numbers of public network.
Described transceiver 1601 also is used for the address mapping table of communicating by letter with remote equipment according to described processor 1602 being used for of upgrading, and the media information that the described remote equipment that receives is sent is sent to described transfer receiving equipment.
Concrete, described transceiver 1601 specifically is used for, according to the address mapping table that the purpose IP address of the described data message head of the described media information that receives and destination slogan being used for of searching that described processor 1602 upgrades communicates by letter with described remote equipment, determine to shift the IP address of receiving equipment and the port numbers of receiving port.And according to the IP address of described transfer receiving equipment and the port numbers of receiving port, described media information is sent to described transfer receiving equipment.
Optionally, described processor 1602 also is used for the purpose IP address of the described data message head of described media information and destination slogan are updated to the IP address of shifting receiving equipment and the port numbers of receiving port.
At this moment, described transceiver 1601, specifically according to the IP address of described transfer receiving equipment and the port numbers of receiving port, the media information after described processor 1602 is upgraded is sent to described transfer receiving equipment.
The embodiment of the present invention provides a kind of gateway, gateway receives the media description information of transfer receiving equipment and the media description information of media transfer equipment, and according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of transfer receiving equipment, as shown in figure 17, comprising:
transceiver 1701, be used for sending to the control point media description information, so that described control point is after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of described local device, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described transceiver 1701 specifically comes to send media description information to described control point by obtaining the media capability response message to the control point transmission.
Wherein, described obtaining carries described media description information in the media capability response message.
Described transceiver 1701 is also for the media information from described remote equipment that receives gateway forwards.
Wherein, described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan.Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is for shifting the IP address of receiving equipment; Described destination slogan is the port numbers of the receiving port of described transfer receiving equipment.
Further, described transceiver 1701 also is used for receiving the media description information of the remote equipment that described control point sends.
Concrete, the concrete media description information that receives the remote equipment of described control point transmission by session establishment message (SessionSetup) of described transceiver 1701.
Processor 1702, the media description information that is used for the described remote equipment that receives according to described transceiver 1701 is determined the port numbers of the receiving port of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
Further, described processor 1702, whether the source port number in the described data message head of the described media information that also receives for detection of described transceiver 1701 is identical with port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment.In the situation that the source port number in described data message head being detected is not identical with the port numbers of the receiving port of described remote equipment, described processor 1702 abandons described media information.In the situation that the source port number in described data message head being detected is identical with the port numbers of the receiving port of described remote equipment, described processor 15021702 is processed described media information.
a kind of transfer receiving equipment of the embodiment of the present invention, shift receiving equipment and send media description information to the control point, make described control point after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.Like this, shift receiving equipment and receive by gateway the media information that remote equipment sends, the communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention has improved a kind of media transfer equipment, as shown in figure 18, comprising:
Transceiver 1801, what be used for to receive that the control point sends obtains media capability message.
Described transceiver 1801, also be used for sending to the control point media description information, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
Wherein, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information.
Further, described media description information also comprises: host-host protocol and/or media formats.
Concrete, described transceiver 1801 specifically obtains the media capability response message to the control point transmission to send media description information to described control point.
Wherein, described obtaining in the media capability response message carries media description information.
Further, described transceiver 1801 also is used for sending the business transfer request message to described control point.
a kind of media transfer equipment of the embodiment of the present invention, media transfer equipment is sent to the control point with media description information, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, like this, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The embodiment of the present invention provides a kind of system of media transfer, as shown in figure 19, comprising: media transfer equipment 1901, shift receiving equipment 1902, control point 1903, gateway 1904, remote equipment 1905.
Described control point 1903 is the described a kind of control point of above-described embodiment.Described transfer receiving equipment 1902 is the described a kind of transfer receiving equipment of above-described embodiment.A kind of gateway that described gateway 1904 provides for above-described embodiment.Media transfer equipment 1901 is the described a kind of media transfer equipment of above-described embodiment.Perhaps,
Described control point 1903 is the described another kind of control point of above-described embodiment.Described transfer receiving equipment 1902 is the described another kind of receiving equipment that shifts of above-described embodiment.The another kind of gateway that described gateway 1904 provides for above-described embodiment.Media transfer equipment 1901 is the described another kind of media transfer equipment of above-described embodiment.
Further, described control point 1903 is integrated in described media transfer equipment 1901.Perhaps, described control point 1903 is integrated in described transfer receiving equipment 1902.
Described gateway 1904 is integrated in described transfer receiving equipment 1902.
Optionally, gateway is set-top box, and shifting receiving equipment 1902 is television equipment.
The embodiment of the present invention provides a kind of method, Apparatus and system of media transfer, the control point is by obtaining the media description information of local device, the media description information of the remote equipment of the media description information of the local device that obtains and storage is mated, determine the transfer receiving equipment according to matching result.To the media description information that shifts receiving equipment transmission remote equipment, after making the transfer receiving equipment receive the media description information of remote equipment, determine the port numbers of the receiving port of remote equipment according to this media description information, in order to send media information according to the port numbers of the receiving port of described remote equipment to remote equipment.Send the media description information of transfer receiving equipment and the media description information of media transfer equipment to gateway, so that gateway is according to the media description information that shifts receiving equipment and the media description information scheduler mapping table of media transfer equipment.Like this, make gateway when receiving the media information of remote equipment transmission, can determine the transfer receiving equipment of the media information that should receive the remote equipment transmission according to the address mapping table of upgrading, and media information is sent to the transfer receiving equipment.The communication diversion that realizes remote equipment and media transfer equipment to remote equipment when shifting the communicating by letter of receiving equipment, need not to change and the network side remote equipment between the communication linkage set up, improved network efficiency.And the media information that remote equipment sends when network side transmits, is not modified, thereby has further improved network efficiency.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (41)

1. the method for a media transfer, is characterized in that, comprising:
Obtain the media description information of local device; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information; Wherein, described local device comprises: media transfer equipment and at least one first equipment;
The media description information of described at least one the first equipment of the obtaining media description information with the remote equipment that has obtained is mated, determine the transfer receiving equipment according to matching result from described at least one first equipment;
The media description information of described media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
2. method according to claim 1, is characterized in that, described method also comprises:
The media description information of described remote equipment is sent to described transfer receiving equipment, so that described transfer receiving equipment is determined the port numbers of the receiving port of described remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
3. method according to claim 1 and 2, is characterized in that, described media description information also comprises: host-host protocol and/or media formats.
4. according to claim 1-3 described methods of any one, is characterized in that, before the described media description information that obtains local device, also comprises:
Receive the business transfer request message that described media transfer equipment sends, described business transfer request message is carried the information of the business that described media transfer device request shifts;
Detect local network, determine described local device, obtain the service description information of described local device; Described service description information is the information of the business of equipment support;
The information of the business that described service description information and described media transfer equipment are shifted is mated;
The described media description information that obtains local device comprises:
Obtain the media description information of the local device that the information of the business that described service description information and described media transfer equipment shifts is complementary.
5. according to claim 1-4 described methods of any one, is characterized in that, the described media description information that obtains local device comprises:
Obtain the media description information of local device by obtaining media capability message.
6. according to claim 1-5 described methods of any one, is characterized in that, described media description information with described remote equipment is sent to described transfer receiving equipment and comprises:
By session establishment message, the media description information of described remote equipment is sent to described transfer receiving equipment.
7. according to claim 1-6 described methods of any one, is characterized in that, described media description information and the media description information of described transfer receiving equipment with media transfer equipment is sent to gateway and comprises:
By Session Hand-off message, the media description information of media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway.
8. the method for a media transfer, is characterized in that, comprising:
The media description information of the media description information of the media transfer equipment that the reception control point sends and transfer receiving equipment; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information;
Upgrade for the address mapping table of communicating by letter with remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment;
Receive the media information that remote equipment sends;
According to the address mapping table that being used for of upgrading communicates by letter with remote equipment, the media information that the described remote equipment that receives is sent is sent to described transfer receiving equipment.
9. method according to claim 8, is characterized in that, described media description information and the media description information of described transfer receiving equipment according to described media transfer equipment upgrades the address mapping table that is used for communicating by letter with described remote equipment and comprise:
According to the media description information of described media transfer equipment, with the IP address of the described media transfer equipment stored in described address mapping table and port numbers and the IP address of public network and the list item deletion of the mapping relations between port numbers of receiving port;
According to the media description information of described transfer receiving equipment, set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of described transfer receiving equipment, and be stored in described address mapping table.
10. according to claim 8 or 9 described methods, is characterized in that, the media description information of the media transfer equipment of described reception control point transmission and the media description information of transfer receiving equipment comprise:
The media description information of the media transfer equipment that sends by Session Hand-off message sink control point and shift the media description information of receiving equipment.
11. according to claim 8-10 described methods of any one is characterized in that,
Described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is the IP address of public network; Described destination slogan is the port numbers of public network;
Described address mapping table of communicating by letter with remote equipment according to being used for of upgrading, the media information that the described remote equipment that receives is sent are sent to and shift receiving equipment and comprise:
According to the purpose IP address of the described data message head of described media information and the described address mapping table for communicating by letter with remote equipment that renewal searched in the destination slogan, determine to shift the IP address of receiving equipment and the port numbers of receiving port;
According to the IP address of described transfer receiving equipment and the port numbers of receiving port, described media information is sent to described transfer receiving equipment.
12. method according to claim 11 is characterized in that, in described IP address and port numbers according to described transfer receiving equipment, before described media information is sent to described transfer receiving equipment, also comprises:
The purpose IP address of the data message head of described media information and destination slogan are revised as the IP address of shifting receiving equipment and the port numbers of receiving port;
Described according to the IP address of described transfer receiving equipment and the port numbers of receiving port, described media information is sent to described transfer receiving equipment comprises:
According to the IP address of described transfer receiving equipment and the port numbers of receiving port, revised the purpose IP address of data message head and the media information of destination slogan is sent to described transfer receiving equipment with described.
13. the method for a media transfer is characterized in that, comprising:
send media description information to the control point, so that described control point is after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information,
Receive the media information from described remote equipment of described gateway forwards.
14. method according to claim 13 is characterized in that, before the media information from described remote equipment of the described gateway forwards of described reception, also comprises:
Receive the media description information of the remote equipment of described control point transmission;
Determine the port numbers of the receiving port of described remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
15. method according to claim 14 is characterized in that, the media description information that receives the remote equipment of described control point transmission comprises:
The media description information of the remote equipment that sends by session establishment message sink described control point.
16. according to claim 14 or 15 described methods is characterized in that,
Described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Described source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is for shifting the IP address of receiving equipment; Described destination slogan is the port numbers of the receiving port of described transfer receiving equipment;
After the media information from described remote equipment of the described gateway forwards of described reception, also comprise:
Whether the source port number that detects in the described data message head of described media information is identical with port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment;
If the source port number that detects in described data message head is not identical with the port numbers of the receiving port of described remote equipment, abandon described media information;
If the source port number that detects in described data message head is identical with the port numbers of the receiving port of described remote equipment, process described media information.
17. according to claim 13-16 described methods of any one is characterized in that, the described media description information that sends to the control point comprises:
Send to the control point and obtain the media capability response message, described obtaining carries described media description information in the media capability response message.
18. the method for a media transfer is characterized in that, comprising:
What receive that the control point sends obtains media capability message;
Send media description information to the control point, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information.
19. method according to claim 18 is characterized in that,, also comprises before control point transmission media description information described:
Send the business transfer request message to described control point, described business transfer request message is carried the information of the business that described media transfer device request shifts.
20. a control point is characterized in that, comprising:
Acquiring unit is for the media description information that obtains local device; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information; Wherein, described local device comprises: media transfer equipment and at least one first equipment;
Processing unit, the media description information that is used for described at least one the first equipment that described acquiring unit is obtained mates with the media description information of the remote equipment that has obtained, and determines the transfer receiving equipment according to matching result from described at least one first equipment;
Transmit-Receive Unit, be used for the media description information of described media transfer equipment and the media description information of described transfer receiving equipment are sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of described media transfer equipment and the media description information of described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends.
21. control point according to claim 20 is characterized in that,
Described Transmit-Receive Unit, also be used for the media description information of described remote equipment is sent to the described transfer receiving equipment that described processing unit is determined, so that described transfer receiving equipment is determined the port numbers of the receiving port of remote equipment according to the media description information of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
22. according to claim 20 or 21 described control points is characterized in that, also comprise:
Described Transmit-Receive Unit also is used for receiving the business transfer request message that described media transfer equipment sends, and described business transfer request message is carried the information of the business that described media transfer device request shifts;
Detecting unit for detection of local network, is determined described local device;
Described acquiring unit is also for the service description information that obtains the definite described local device of described detecting unit; Described service description information is the information of the business of equipment support;
Described processing unit also mates for the described service description information of the described local device that described acquiring unit is obtained and the information of the business that described media transfer equipment shifts;
Described acquiring unit is specifically according to the matching result of described processing unit coupling, obtains the media description information of the local device that the information of the business that described service description information and described media transfer equipment shifts is complementary.
23. according to claim 20-22 any one described control points is characterized in that,
Described acquiring unit specifically obtains the media description information of local device by obtaining media capability message.
24. according to claim 20-23 any one described control points is characterized in that,
Described Transmit-Receive Unit specifically is sent to described transfer receiving equipment by session establishment message with the media description information of described remote equipment.
25. according to claim 20-24 any one described control points is characterized in that,
Described Transmit-Receive Unit specifically is sent to gateway by Session Hand-off message with the media description information of described media transfer equipment and the media description information of described transfer receiving equipment.
26. a gateway is characterized in that, comprising:
Transmit-Receive Unit is for the media description information of the media transfer equipment that receives the control point transmission and the media description information of transfer receiving equipment; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information;
Updating block upgrades for the address mapping table of communicating by letter with remote equipment for the media description information of the described media transfer equipment that receives according to described Transmit-Receive Unit and the media description information of described transfer receiving equipment;
Described Transmit-Receive Unit also is used for receiving the media information that remote equipment sends;
Described Transmit-Receive Unit also is used for the address mapping table of communicating by letter with remote equipment according to described updating block being used for of upgrading, and the media information that the described remote equipment that receives is sent is sent to described transfer receiving equipment.
27. gateway according to claim 26 is characterized in that,
Described updating block specifically is used for, the media description information of the described media transfer equipment that receives according to described Transmit-Receive Unit is deleted the IP address of the described media transfer equipment stored in described address mapping table and the port numbers of receiving port with the IP address of public network and the list item of the mapping relations between port numbers;
The media description information of the described transfer receiving equipment that receives according to described Transmit-Receive Unit is set up IP address and the port numbers of receiving port and the mapping relations between public network IP address and port numbers of described transfer receiving equipment, and is stored in described address mapping table.
28. according to claim 26 or 27 described gateways is characterized in that,
The media description information of the media transfer equipment that described Transmit-Receive Unit specifically sends by Session Hand-off message sink control point and shift the media description information of receiving equipment.
29. according to claim 26-28 described gateways of any one is characterized in that,
Described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is the IP address of public network; Described destination slogan is the port numbers of public network;
Described Transmit-Receive Unit comprises:
Search subelement, be used for searching according to purpose IP address and the destination slogan of the described data message head of the described media information that receives the described address mapping table for communicating by letter with described remote equipment that described updating block upgrades, determine to shift the IP address of receiving equipment and the port numbers of receiving port;
The transmitting-receiving subelement is used for according to the described IP address of the definite described transfer receiving equipment of subelement and the port numbers of receiving port of searching, described media information being sent to described transfer receiving equipment.
30. gateway according to claim 29 is characterized in that,
Described updating block also is used for the purpose IP address of the described data message head of described media information and destination slogan are updated to the IP address of shifting receiving equipment and the port numbers of receiving port;
Described transmitting-receiving subelement specifically is used for, and according to the described IP address of the definite described transfer receiving equipment of subelement and the port numbers of receiving port of searching, the media information after described updating block is upgraded is sent to described transfer receiving equipment.
31. a transfer receiving equipment is characterized in that, comprising:
Transmit-Receive Unit, be used for sending to the control point media description information, so that described control point is after receiving described media description information, the media description information of described media description information with the remote equipment that has obtained mated, in the situation that the media description information of described media description information and the remote equipment that obtained is complementary, described media description information is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with described remote equipment according to the media description information of the media transfer equipment of described media description information and the transmission of described control point, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends, described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information,
Described Transmit-Receive Unit is also for the media information from described remote equipment that receives gateway forwards.
32. equipment according to claim 31 is characterized in that,
Described Transmit-Receive Unit also is used for receiving the media description information of the remote equipment that described control point sends;
Described transfer receiving equipment also comprises:
Processing unit, the media description information that is used for the described remote equipment that receives according to described Transmit-Receive Unit is determined the port numbers of the receiving port of described remote equipment, in order to detect according to the port numbers of the receiving port of described remote equipment whether the media information that receives is the media information that described remote equipment sends.
33. equipment according to claim 32 is characterized in that,
Described Transmit-Receive Unit specifically passes through the media description information of the remote equipment of session establishment message sink described control point transmission.
34. according to claim 32 or 33 described equipment is characterized in that,
Described media information comprises: data message head and datagram style; Described data message head comprises: source IP address, source port number, purpose IP address and destination slogan; Described source IP address is the IP address of described remote equipment; Source port number is the port numbers of the receiving port of described remote equipment; Described purpose IP address is for shifting the IP address of receiving equipment; Described destination slogan is the port numbers of the receiving port of described transfer receiving equipment;
Described processing unit, whether the source port number in the described data message head of the described media information that also receives for detection of described Transmit-Receive Unit is identical with port numbers according to the receiving port of the determined described remote equipment of media description information of described remote equipment; In the situation that the source port number in detecting described data message head is not identical with the port numbers of the receiving port of described remote equipment, abandon described media information; In the situation that the source port number in detecting described data message head is identical with the port numbers of the receiving port of described remote equipment, process described media information.
35. according to claim 31-34 described equipment of any one is characterized in that,
Described Transmit-Receive Unit specifically comes to send media description information to described control point by obtaining the media capability response message to the control point transmission, and described obtaining carries described media description information in the media capability response message.
36. a media transfer equipment is characterized in that, comprising:
Transmit-Receive Unit, what be used for to receive that the control point sends obtains media capability message;
Described Transmit-Receive Unit, also be used for sending to the control point media description information, so that in the situation that the transfer receiving equipment is being determined at described control point, the media description information of described media description information and described transfer receiving equipment is sent to gateway, so that described gateway upgrades for the address mapping table of communicating by letter with remote equipment according to the media description information of described media description information and described transfer receiving equipment, so that described gateway is forwarded to described transfer receiving equipment with the media information that described remote equipment sends; Described media description information is used to indicate the relevant information of communication of equipment, comprising: the Internet protocol IP address of equipment, port numbers and coding/decoding capability information.
37. equipment according to claim 36 is characterized in that,
Described Transmit-Receive Unit also is used for sending the business transfer request message to described control point before sending media description information to the control point, and described business transfer request message is carried the information of the business that described media transfer device request shifts.
38. the system of a media transfer is characterized in that, comprising: media transfer equipment, shift receiving equipment, control point, gateway;
Described control point is the described control point of claim 20-25 any one;
Described gateway is the described gateway of claim 26-30 any one;
Described transfer receiving equipment is the described transfer receiving equipment of claim 31-35 any one;
Described media transfer equipment is the described media transfer equipment of claim 36 or 37.
39. described system, is characterized in that according to claim 38, described control point is integrated in described media transfer equipment.
40. described system, is characterized in that according to claim 38, described control point is integrated in described transfer receiving equipment.
41. according to claim 38-40 any one described systems is characterized in that described gateway is integrated in described transfer receiving equipment.
CN201310042705.5A 2013-02-04 2013-02-04 A kind of method of media transfer, Apparatus and system Active CN103152495B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310042705.5A CN103152495B (en) 2013-02-04 2013-02-04 A kind of method of media transfer, Apparatus and system
PCT/CN2014/071646 WO2014117727A1 (en) 2013-02-04 2014-01-28 Media transfer method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310042705.5A CN103152495B (en) 2013-02-04 2013-02-04 A kind of method of media transfer, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103152495A true CN103152495A (en) 2013-06-12
CN103152495B CN103152495B (en) 2015-08-19

Family

ID=48550350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310042705.5A Active CN103152495B (en) 2013-02-04 2013-02-04 A kind of method of media transfer, Apparatus and system

Country Status (2)

Country Link
CN (1) CN103152495B (en)
WO (1) WO2014117727A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014117727A1 (en) * 2013-02-04 2014-08-07 华为终端有限公司 Media transfer method, apparatus and system
CN106302333A (en) * 2015-05-22 2017-01-04 华为技术有限公司 The processing method of media session, device and system
CN106488316A (en) * 2016-10-20 2017-03-08 北京小米移动软件有限公司 Media playing method and device, electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225403A (en) * 2018-11-23 2020-06-02 广州慧睿思通信息科技有限公司 Induction method and device based on mobile communication terminal IP address

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369966A (en) * 2007-08-17 2009-02-18 华为技术有限公司 Media stream transfer method of multimedia conversation, application server and user equipment
CN101378527A (en) * 2007-08-31 2009-03-04 杨汉民 Method for implementing network telephone emergency call system
WO2009088333A1 (en) * 2008-01-11 2009-07-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for establishing a streamed media session
CN101997997A (en) * 2010-11-19 2011-03-30 太仓市同维电子有限公司 System for realizing Internet telephony call transfer by utilizing SIP protocol and method thereof
CN102377887A (en) * 2010-08-12 2012-03-14 中兴通讯股份有限公司 Method and system for implementing call establishment of voice over internet protocol (VoIP)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7203294B2 (en) * 2002-08-06 2007-04-10 At&T Corp. System and method for dynamically routing communications
JP4335718B2 (en) * 2004-03-19 2009-09-30 富士通株式会社 Data transfer method, apparatus, program, and storage medium between different types of terminals
CN103152495B (en) * 2013-02-04 2015-08-19 华为终端有限公司 A kind of method of media transfer, Apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369966A (en) * 2007-08-17 2009-02-18 华为技术有限公司 Media stream transfer method of multimedia conversation, application server and user equipment
CN101378527A (en) * 2007-08-31 2009-03-04 杨汉民 Method for implementing network telephone emergency call system
WO2009088333A1 (en) * 2008-01-11 2009-07-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for establishing a streamed media session
CN102377887A (en) * 2010-08-12 2012-03-14 中兴通讯股份有限公司 Method and system for implementing call establishment of voice over internet protocol (VoIP)
CN101997997A (en) * 2010-11-19 2011-03-30 太仓市同维电子有限公司 System for realizing Internet telephony call transfer by utilizing SIP protocol and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014117727A1 (en) * 2013-02-04 2014-08-07 华为终端有限公司 Media transfer method, apparatus and system
CN106302333A (en) * 2015-05-22 2017-01-04 华为技术有限公司 The processing method of media session, device and system
CN106488316A (en) * 2016-10-20 2017-03-08 北京小米移动软件有限公司 Media playing method and device, electronic equipment

Also Published As

Publication number Publication date
CN103152495B (en) 2015-08-19
WO2014117727A1 (en) 2014-08-07

Similar Documents

Publication Publication Date Title
US10536490B2 (en) Apparatus and method for communications involving a legacy device
CN100527750C (en) Communications protocols operable through network address translation (nat) type devices
US7783771B2 (en) Network communication device for universal plug and play and internet multimedia subsystems networks
US8650312B2 (en) Connection establishing management methods for use in a network system and network systems using the same
KR101740549B1 (en) Methods and Apparatus for Selection of Content Delivery Network (CDN) Based on User Location
US8724620B2 (en) Method and apparatus for managing calls
US20070143488A1 (en) Virtual universal plug and play control point
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
US20120297031A1 (en) Anonymous Signalling
KR100693047B1 (en) Apparatus and method for automatic update personal information management in VoIP mobile
CN101667949A (en) Aggregated user presence management method within a home network and device thereof
CN103107983A (en) Data management method of network system and related system thereof
CN103152495B (en) A kind of method of media transfer, Apparatus and system
US8650313B2 (en) Endpoint discriminator in network transport protocol startup packets
CN102547553A (en) Method, system and device for accessing service based on wireless application protocol (WAP)
CN105099802A (en) Traffic identification method, terminal, and network element equipment
EP1309154B1 (en) System and method for the selection of electronic services using infrared communication
US20100232442A1 (en) Communication apparatus and method
JP5570392B2 (en) Retransmission request transmission protocol converter
CN108156150A (en) A kind of data transmission method and device
US8995431B2 (en) Communication method and system thereof
JP5377615B2 (en) Interface device, electronic apparatus equipped with the interface device, and control method used in the interface device
CN103475567A (en) Data transmission method, apparatus, device and system
TW201316730A (en) Communication system and method
JP2009225293A (en) Call connection apparatus and call termination selecting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Zhang Yajun

Inventor after: Zhu Yu

Inventor after: He Zhiqin

Inventor before: Zhu Yu

Inventor before: He Zhiqin

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: ZHU YU HE ZHIQIN TO: ZHANG YAJUN ZHU YU HE ZHIQIN

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171103

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.