CN103139156B - A kind of Media Stream Bypass implementation method and equipment - Google Patents

A kind of Media Stream Bypass implementation method and equipment Download PDF

Info

Publication number
CN103139156B
CN103139156B CN201110385222.6A CN201110385222A CN103139156B CN 103139156 B CN103139156 B CN 103139156B CN 201110385222 A CN201110385222 A CN 201110385222A CN 103139156 B CN103139156 B CN 103139156B
Authority
CN
China
Prior art keywords
sbc
address
port numbers
message
session initiation
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.)
Active
Application number
CN201110385222.6A
Other languages
Chinese (zh)
Other versions
CN103139156A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201110385222.6A priority Critical patent/CN103139156B/en
Publication of CN103139156A publication Critical patent/CN103139156A/en
Application granted granted Critical
Publication of CN103139156B publication Critical patent/CN103139156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Media Stream Bypass implementation method and equipment, the session initiation response message that the session initiation request message sent calling terminal by SBC and terminal called are sent processes, enabling terminal called to obtain address and the port numbers of calling terminal from the session initiation request message received, calling terminal can obtain address and the port numbers of terminal called from the session initiation response message received.Thus calling terminal and terminal called can carry out media according to the address of the opposite end got and port numbers and direct transfer, it is achieved that Media Stream Bypass.

Description

A kind of Media Stream Bypass implementation method and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of Media Stream Bypass implementation method and equipment.
Background technology
IMS (IP Multimedia Subsystem, IP Multimedia System) it is a kind of based on SIP (Session Initiation Protocol, conversation initialized protocol) Open Systems Interworking of agreement, being a kind of brand-new multimedia service form, it disclosure satisfy that, and present terminal client is more novel, the demand of more diversified multimedia service.SBC (Session Border Controller; Session Border Controller) it is in IMS network edge; for IP (Internet Protocol; Internet protocol) access, family is logical and safeguard protection; it is present between access network and IMS network and different IMS network, is user's access point of accessing IMS.
For overseas VoIP (Voice over Internet Protocol, IP phone) business, there is the scene through SBC switching in voice call.Under normal circumstances, the address of the c row in SDP (Session Description Protocol, Session Description Protocol) information in the sip message that SBC can will pass through replaces with the address of self, and the port of m row replaces with the port of self.As it is shown in figure 1, be the schematic flow sheet that in prior art, a kind of session realizes.Wherein, user A and user B is overseas subscriber, when user A initiates calling to user B, asks and responds the switching through being deployed in overseas SBC 1 and SBC 2, and being transmitted by the mode shown in figure.In the program, signaling and Media Stream are all transferred through SBC, it is impossible to realize media and direct transfer.
Summary of the invention
The embodiment of the present invention provides a kind of Media Stream Bypass implementation method and equipment, direct transfers realizing the media between calling terminal and terminal called.
In order to reach object above, embodiments provide a kind of Media Stream Bypass implementation method, including:
When Session Border Controller SBC receives the session initiation request message that calling terminal sends, calling terminal address in first information territory in this message and port numbers are saved in the second information field of extension, replace the calling terminal address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to internet multimedia subsystem IMS core net processes;
When SBC receives the session initiation request message after IMS core net processes, use SBC address and port numbers that the address of the calling terminal in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field, and amended message is sent to terminal called;
When SBC receives the session initiation response message that terminal called returns, terminal called address in first information territory in this message and port numbers are saved in the second information field of extension, replace the terminal called address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to IMS core net processes;
When SBC receives the session initiation response message after IMS core net processes, use SBC address and port numbers that the address of the terminal called in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field, and amended message is sent to calling terminal, so that calling terminal and terminal called carry out media direct transfer according to address and the port numbers of the opposite end got.
The embodiment of the present invention also provides for a kind of SBC, including:
First receiver module, for receiving session initiation request message and the session initiation response message of terminal called transmission that calling terminal sends;
First processing module, for when described first receiver module receives the session initiation request message that calling terminal sends, calling terminal address in first information territory in this message and port numbers are saved in the second information field of extension, replace the calling terminal address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to internet multimedia subsystem IMS core net processes;When described first receiver module receives the session initiation response message that terminal called sends, terminal called address in first information territory in this message and port numbers are saved in the second information field of extension, replace the terminal called address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to IMS core net processes;
Second receiver module, for receiving the session initiation request/response message after IMS core net processes;
Second processing module, for when described second receiver module receives the session initiation request message after IMS core net processes, use SBC address and port numbers that the address of the calling terminal in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field, and amended message is sent to terminal called;When described second receiver module receives the session initiation response message after IMS core net processes, use SBC address and port numbers that the address of the terminal called in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field, and amended message is sent to calling terminal, so that calling terminal and terminal called carry out media direct transfer according to address and the port numbers of the opposite end got.
Compared with prior art, the present invention at least has the advantage that
In embodiments of the present invention, the session initiation response message that the session initiation request message sent calling terminal by SBC and terminal called are sent processes, enabling terminal called to obtain address and the port numbers of calling terminal from the session initiation request message received, calling terminal can obtain address and the port numbers of terminal called from the session initiation response message received.Thus, calling terminal and terminal called can carry out media according to the address of the opposite end got and port numbers and direct transfer.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that a kind of session of the prior art realizes;
The schematic flow sheet of a kind of Media Stream Bypass implementation method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the application scenarios that Fig. 3 provides for embodiment of the present invention Media Stream Bypass implementation method once;
The schematic flow sheet of the Media Stream Bypass implementation method under the application scenarios two that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the SBC that Fig. 5 and 6 provides for the embodiment of the present invention.
Detailed description of the invention
In order to realize Media Stream Bypass, in the technical scheme that the embodiment of the present invention provides, the session initiation response message that the session initiation request message sent calling terminal by SBC and terminal called are sent processes, enabling terminal called to obtain address and the port numbers of calling terminal from the session initiation request message received, calling terminal can obtain address and the port numbers of terminal called from the session initiation response message received.Thus, calling terminal and terminal called can carry out media according to the address of the opposite end got and port numbers and direct transfer.
The technical scheme provided the embodiment of the present invention below in conjunction with the accompanying drawings is described.
As in figure 2 it is shown, the schematic flow sheet of a kind of Media Stream Bypass implementation method provided for the embodiment of the present invention, may comprise steps of:
Step 201, when SBC receive calling terminal send session initiation request message time, calling terminal address in first information territory in this message and port numbers are saved in the second information field of extension, replace the calling terminal address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to IMS core net processes.
Concrete, the session initiation request message that calling terminal sends can carry address and the port numbers of calling terminal.In prior art, after SBC receives the session initiation request message that calling terminal sends, address and the port numbers of the calling terminal carried in this message is replaced with the SBC address of self, when this message arrives terminal called after core net processes, terminal called cannot obtain address and the port numbers of calling terminal from this message.And in embodiments of the present invention, after SBC receives the session initiation request that calling terminal sends, the address of calling terminal that first information territory in this message is carried and port numbers can be saved in the second information field of extension.
Wherein, in embodiments of the present invention, the address in the c row of the SDP information that the address in first information territory and port numbers are specially in session initiation request/response message and the port numbers in m row;The extension row that second information field of extension is specially in the SDP information in session initiation request/response message.
Step 202, when SBC receive IMS core net process after session initiation request message time, this session initiation request message is carried out media release, and amended message is sent to terminal called.
Concrete, SBC carries out media release to session initiation request message can delete this second information field particularly as follows: the SBC address that uses the address of the calling terminal in the second information field in this message and port numbers to replace in first information territory respectively and port numbers.After terminal called receives SBC amended session initiation request message, address and the port numbers of calling terminal can be obtained from this message.
Wherein, in the technical scheme that the embodiment of the present invention provides, SBC can configure SBC address list, be used for storing SBC address information.After SBC receives the session initiation request message after IMS core net processes, it can be determined that whether the SBC address in the second information field in this message records in the SBC address list of self storage.If being judged as YES, then this message is carried out media release;Otherwise, this message is not carried out media release, and directly replaces the SBC address in the first information territory in this message and port numbers with self SBC address and port numbers.
Step 203, when SBC receive terminal called return session initiation response message time, terminal called address in first information territory in this message and port numbers are saved in the second information field of extension, replace the terminal called address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to IMS core net processes.
Step 204, when SBC receive IMS core net process after session initiation response message time, this session initiation response message is carried out media release, and amended message is sent to calling terminal.
Concrete, step 203~204 handling processes are similar with step 201~202, do not repeat them here.Wherein, after calling terminal receives SBC amended session initiation response message, address and the port numbers of terminal called can be obtained from this message.
Step 205, calling terminal and terminal called carry out media direct transfer according to address and the port numbers of the opposite end got.
It should be noted that, in the technical scheme that the embodiment of the present invention provides, before conversation end, SBC can preserve the content of the session initiation request message in this session, after SBC receives the session initiation response message that terminal called returns, can be according to the content of session initiation request message of self storage, it is judged that after Self address and the process of IMS core net to should in the session initiation request message of message the address in first information territory the most identical.If it is identical, then show that SBC has carried out media release to this session initiation request message, terminal called address in first information territory in this session initiation response message and port numbers are saved in the second information field of extension by SBC, and SBC address and port numbers with self replace the terminal called address in first information territory and port numbers respectively;If differing, then showing that SBC does not carries out media release to this session initiation request message, SBC uses address and the port numbers of the terminal called that self SBC address and port numbers replace in this session initiation response message in first information territory respectively.
It should be appreciated that in the technical scheme that the embodiment of the present invention provides, calling terminal and terminal called during a session interaction can access IMS core net by same SBC, it is also possible to access IMS core net by two SBC.Such as, when calling terminal and terminal called access IMS core net by two SBC, the SBC receiving the session initiation request message that calling terminal sends is Calling Side SBC, IMS core net is sent to callee side SBC, callee side SBC and amended session initiation request message is sent to terminal called after processing the session initiation request message that Calling Side SBC sends;The SBC receiving the session initiation response message that terminal called returns is callee side SBC, IMS core net is sent to Calling Side SBC, Calling Side SBC and amended session initiation response message is sent to calling terminal after processing the session initiation response message that callee side SBC sends.
The technical scheme provided the embodiment of the present invention below in conjunction with concrete application scenarios is further described in more detail.
Application scenarios one
In this embodiment, calling terminal (user A) and terminal called (user B) access IMS core net by same SBC, are configured with and the address list of the SBC self being in the same area in SBC.
Wherein it is possible to SBC is carried out region division according to the strategy of operator's configuration or the IP address of SBC.For example, it is possible to SBC to be divided into domestic SBC and overseas SBC.As a example by overseas application scenarios, in embodiments of the present invention, can the address list of the overseas SBC disposed of configuration in SBC in overseas, for storing the address information of the SBC of overseas deployment.
As it is shown on figure 3, the schematic flow sheet of the application scenarios Media Stream Bypass implementation method once provided for the embodiment of the present invention, may comprise steps of:
Step 301, SBC receive the session initiation request message (INVITE) that user A sends.
Wherein, the c row (the c row of the SDP information in INVITE) of this INVITE carries the address (IP_A) of user A, m row carries the port numbers (PORT_A) of user A.In embodiments of the present invention, the port numbers that in SDP message, m row carries embodies the most in flow charts.
Step 302, SBC increase a row (increasing a row of extension in the SDP information in INVITE) of an extension in the INVITE received, for preserving IP_A and PORT_A, and the PORT_A that IP_A and the m row carried in the c row of this INVITE carries is replaced in the SBC address (IP_SBC) and port numbers (PORT_SBC) with self.
Concrete, after SBC receives the INVITE that user A sends, judge whether the address information (IP_A) carried in the c row of this INVITE records in this SBC address list according to the SBC address list of self storage.Wherein, due in the SBC address list of storage in SBC storage be the address information of SBC, and the address information carried in the c row of the address that address information is user A (IP_A) carried in the c row of this INVITE that SBC receives, i.e. this INVITE is not recorded in SBC address list.Therefore, SBC increases a row of an extension in the INVITE received, for preserving IP_A and PORT_A, and the SBC address and port numbers (IP_SBC and PORT_SBC) with self replaces the PORT_A carried in IP_A and the m row carried in the c row of this INVITE respectively.
This INVITE is sent to IMS-Core (IMS core net) by step 303, SBC, and receives the INVITE after IMS-Core processes.
Wherein, owing to, in this embodiment, user A and user B all accesses IMS core net by same SBC, and therefore, the INVITE after IMS core net processes is transmitted to user B by this INVITE accesses the SBC of IMS core net.
Step 304, SBC use IP_A and PORT_A carried in a row of the extension of the INVITE received to replace respectively and carry the PORT_SBC carried in IP_SBC and m row in c row, and delete a row of this extension.
Concrete, after SBC receives the INVITE after IMS core net processes, judge whether the address information (IP_SBC) carried in the c row of this INVITE records in this SBC address list according to the SBC address list of self storage.Wherein, due in the SBC address list of storage in SBC storage be the address information of SBC, and the address information recording carried in the c row of the address that address information is SBC (IP_SBC) carried in the c row of this INVITE that SBC receives, i.e. this INVITE is in SBC address list.Therefore, SBC uses IP_A and PORT_A carried in a row of the extension of the INVITE received to replace respectively and carries the PORT_SBC carried in IP_SBC and m row in c row, and deletes a row of this extension.
This INVITE is sent to user B by step 305, SBC.
Wherein, after user B receives this INVITE, obtain the address (IP_A) of the user A carried in the c row of this INVITE and the port numbers (PORT_A) of user A that m row carries.
Step 306, SBC receive the response message (200ok message) that user B returns.
Wherein, the c row (the c row of the SDP information in 200ok message) of this 200ok message carries the address (IP_B) of user B, m row carries the port numbers (PORT_B) of user B.
Step 307, SBC increase a row (increasing a row of extension in the SDP information in 200ok message) of an extension in the 200ok message received, the PORT_B carried in IP_B and the m row carried in the c row preserve this 200ok message, and the PORT_SBC carried in IP_B and the m row carried in the c row of this SDP information is replaced respectively with IP_SBC and PORT_SBC.
Concrete, after SBC receives the 200ok message that user B returns, judge whether the address information (IP_B) carried in the c row of this 200ok message records in this SBC address list according to the SBC address list of self storage.Obviously, IP_B is not recorded in SBC address list, SBC increases a row of an extension in the 200ok message received, and is used for preserving IP_B and PORT_B, and replaces the PORT_B that IP_B and the m row carried in the c row of this 200ok message carries with IP_SBC and PORT_SBC respectively.
This 200ok message is sent to IMS-Core by step 308, SBC, and receives the INVITE after IMS-Core processes.
Step 309, SBC use IP_B and PORT_B carried in a row of the extension of the 200ok message received to replace respectively and carry the PORT_SBC carried in IP_SBC and m row in c row, and delete a row of this extension.
Concrete, after SBC receives the 200ok message after IMS core net processes, judge whether the address information (IP_SBC) carried in the c row of this 200ok message records in this SBC address list according to the SBC address list of self storage.Obviously, IP_SBC records in SBC address list, and SBC uses IP_B and PORT_B carried in a row of the extension of the 200ok message received to replace respectively and carries the PORT_SBC carried in IP_SBC and m row in c row, and deletes a row of this extension.
This 200ok message is sent to user A by step 310, SBC.
Wherein, after user B receives this 200ok message, obtain the port numbers (PORT_B) of the user B carried in the address (IP_B) of the user B carried in the c row of this 200ok message and m row.
Step 311, user A and user B carry out media direct transfer according to address and the port numbers of the opposite equip. got.
Application scenarios two
In this embodiment, user A accesses IMS core net by SBC 1, and user B accesses IMS core net by SBC 2, SBC1 and SBC2 is in the same area, configures the address list with the SBC self being in the same area in SBC.
As shown in Figure 4, for the schematic flow sheet of the session establishing method under the application scenarios two that the embodiment of the present invention provides, may comprise steps of:
Step 401, SBC 1 receive (INVITE) that user A sends.
Step 402, SBC 1 increase a row of an extension in the INVITE received, for preserving IP_A and PORT_A, and the PORT_A carried in IP_A and the m row carried in the c row of this INVITE is replaced in the SBC address (IP_SBC 1) and port numbers (PORT_SBC1) with self.
This INVITE is sent to IMS-Core by step 403, SBC 1, IMS-Core process this INVITE, and will process after INVITE be sent to SBC 2.
Wherein, owing to user A accesses IMS core net by SBC 1, user B accesses IMS core net by SBC 2.Therefore, it is transmitted to the INVITE of IMS core net after treatment by SBC 1, is transmitted to user B by SBC 2.
Step 404, SBC 2 use IP_A and PORT_A carried in a row of the extension of the INVITE received to replace respectively and carry the PORT_SBC 1 carried in IP_SBC 1 and m row in c row, and delete a row of this extension.
This INVITE is sent to user B by step 405, SBC 2.
Step 406, SBC 2 receive the 200ok message that user B returns.
Step 407, SBC 2 increase a row of an extension in the 200ok message received, the PORT_B carried in IP_B and the m row carried in the c row preserve this 200ok message, and the PORT_B carried in IP_B and the m row carried in the c row of this SDP information is replaced respectively with IP_SBC2 and PORT_SBC 2.
This 200ok message is sent to IMS-Core by step 408, SBC 2, IMS-Core process this 200ok message, and will process after INVITE be sent to SBC 1.
Step 409, SBC 1 use IP_B and PORT_B carried in a row of the extension of the 200ok message received to replace respectively and carry the PORT_SBC 2 carried in IP_SBC 2 and m row in c row, and delete a row of this extension.
This 200ok message is sent to user A by step 410, SBC 2.
Step 411, user A and user B carry out media direct transfer according to address and the port numbers of the opposite equip. got.
Can be drawn by above description, in the technical scheme that the embodiment of the present invention provides, by configuring SBC address list in SBC, when the session initiation request of calling terminal transmission is in the switching through SBC, and the process of IMS core net after arriving terminal called, the c row of the SDP information in this session initiation request carries the address of calling terminal, carrying the port numbers of calling terminal in m row, terminal called can obtain address and the port numbers of the calling terminal in the session initiation request received;Correspondingly, the response message of the session initiation request that terminal called response receives is after processing through SBC switching and IMS core net and arrive calling terminal, the c row of the SDP information in this response message carries the address of terminal called, carrying the port numbers of terminal called in m row, calling terminal can obtain address and the port numbers of the terminal called in the response message received.Media can be carried out according to the address, opposite end got and port numbers, calling terminal and terminal called to direct transfer, it is achieved Media Stream Bypass.Wherein, calling terminal and terminal called can access IMS core net by same SBC, it is also possible to access IMS core net by different SBC respectively.
Should be realized that; in the technical scheme that the embodiment of the present invention provides; the a row of extension it is not limited to for preserving the extension row of the port numbers carried in the address carried in c row and m row; under identical inventive concept, the technical scheme that the media realizing between calling terminal and terminal called by extending other row direct transfer also should be in the protection domain of the embodiment of the present invention.
Based on the inventive concept as said method, the embodiment of the present invention additionally provides a kind of SBC.
As it is shown in figure 5, the structural representation of a kind of SBC provided for the embodiment of the present invention, may include that
First receiver module 51, for receiving session initiation request message and the session initiation response message of terminal called transmission that calling terminal sends;
First processing module 52, for when described first receiver module 51 receives the session initiation request message that calling terminal sends, calling terminal address in first information territory in this message and port numbers are saved in the second information field of extension, replace the calling terminal address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to internet multimedia subsystem IMS core net processes;When described first receiver module 51 receives the session initiation response message that terminal called sends, terminal called address in first information territory in this message and port numbers are saved in the second information field of extension, replace the terminal called address in first information territory and port numbers respectively by self SBC address and port numbers, and amended message is sent to IMS core net processes;
Second receiver module 53, for receiving the session initiation request/response message after IMS core net processes;
Second processing module 54, for when described second receiver module 53 receives the session initiation request message after IMS core net processes, use SBC address and port numbers that the address of the calling terminal in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field, and amended message is sent to terminal called;When described second receiver module 53 receives the session initiation response message after IMS core net processes, use SBC address and port numbers that the address of the calling terminal in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field, and amended message is sent to terminal called, so that calling terminal and terminal called carry out media direct transfer according to address and the port numbers of the opposite end got.
As shown in Figure 6, this SBC can also include:
Memory module 55, is used for storing SBC address list;
Correspondingly, described second processing module can be specifically for, after described second receiver module 53 receives the session initiation request message after IMS core net processes, if the SBC address record in the first information territory judged in this message is in the SBC address list of described memory module 55 storage, then use SBC address and port numbers that the address of the calling terminal in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field;After described second receiver module 53 receives the session initiation response message after IMS core net processes, if the SBC address record in the first information territory judged in this message is in the SBC address list of described memory module 55 storage, then use SBC address and port numbers that the address of the calling terminal in the second information field in this message and port numbers replace in first information territory respectively, delete this second information field.
Wherein, described memory module 55 is additionally operable to, the content of storage session initiation request message;
Described first processing module 52 specifically for, after described first receiver module 51 receives the conversational response message that terminal called returns, if the content of the session initiation request message according to the storage of described memory module 55, determine Self address and IMS core net process after to should in the session initiation request message of message the address in first information territory identical, then the terminal called address in first information territory in this session initiation response message and port numbers are saved in the second information field of extension, SBC address and port numbers with self replace the terminal called address in first information territory and port numbers respectively.
Wherein, described second processing module 54 is additionally operable to, when the SBC address in the first information territory in the session initiation request message after the IMS core net that described second receiver module 53 receives processes does not records in the SBC address list of described memory module 55 storage, use the SBC address in the first information territory that self SBC address and port numbers replace in this message respectively and port numbers, and delete the second information field in this session initiation request message;When the SBC address in the first information territory in the session initiation response message after the IMS core net that described second receiver module 53 receives processes is not recorded in the SBC address list of self storage, the SBC address and the port numbers that use self replace the SBC address in the first information territory in this session initiation response message and port numbers respectively, and delete the second information field in this session initiation response message.
Wherein, described first processing module 52 is additionally operable to, after described first receiver module 51 receives the session initiation response message that terminal called returns, if the content of the session initiation request according to the storage of described memory module 55, determine Self address and IMS core net process after to should the session initiation request message of message differ the address in first information territory, then use address and the port numbers of the terminal called that self SBC address and port numbers replace in this session initiation response message in first information territory respectively.
Wherein, the address during the address in described first information territory and port numbers are specially the c row of the SDP information in described session initiation request/response message and the port numbers in m row;Second information field of described extension is specially the extension row in the SDP information in described session initiation request/response message.
Preferably, a row of described propagation behavior extension.
Should be realized that; in the technical scheme that the embodiment of the present invention provides; the a row of extension it is not limited to for preserving the extension row of the port numbers carried in the address carried in c row and m row; under identical inventive concept, the technical scheme that the media realizing between calling terminal and terminal called by extending other row direct transfer also should be in the protection domain of the embodiment of the present invention.
By the description of embodiment of above, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the present invention and realize, naturally it is also possible to by hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the part that prior art is contributed by technical scheme the most in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can describe in the device being distributed in embodiment according to embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.The module of above-described embodiment can merge into a module, it is also possible to is further split into multiple submodule.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
The several specific embodiments being only the present invention disclosed above, but, the present invention is not limited to this, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (15)

1. a Media Stream Bypass implementation method, it is characterised in that including:
When Session Border Controller SBC receives the session initiation request message that calling terminal sends, will In this message, the calling terminal address in first information territory and port numbers are saved in the second information field of extension, SBC address and port numbers with self replace the calling terminal address in first information territory and port respectively Number, and amended message is sent to internet multimedia subsystem IMS core net processes;
When SBC receives the session initiation request message after IMS core net processes, use in this message The second information field in the address of calling terminal and port numbers replace the SBC ground in first information territory respectively Location and port numbers, delete this second information field, and amended message be sent to terminal called;
When SBC receives the session initiation response message that terminal called returns, by the first letter in this message Terminal called address and port numbers in breath territory are saved in the second information field of extension, with the SBC of self Location and port numbers replace the terminal called address in first information territory and port numbers respectively, and by amended Message is sent to IMS core net and processes;
When SBC receives the session initiation response message after IMS core net processes, use in this message The second information field in the address of terminal called and port numbers replace the SBC ground in first information territory respectively Location and port numbers, delete this second information field, and amended message be sent to calling terminal, so that Calling terminal and terminal called carry out media direct transfer according to address and the port numbers of the opposite end got.
2. the method for claim 1, it is characterised in that be configured with SBC ground in described SBC Location list;
After described SBC receives the session initiation request message after IMS core net processes, if judging, this disappears SBC address record in first information territory in breath in the SBC address list of self storage, then uses Address and the port numbers of the calling terminal in the second information field in this message are replaced in first information territory respectively SBC address and port numbers, delete this second information field;
After described SBC receives the session initiation response message after IMS core net processes, if judging, this disappears SBC address record in first information territory in breath in the SBC address list of self storage, then uses Address and the port numbers of the terminal called in the second information field in this message are replaced in first information territory respectively SBC address and port numbers, delete this second information field.
3. method as claimed in claim 2, it is characterised in that described SBC storage has session setup to ask Seek the content of message;
After described SBC receives the session initiation response message that terminal called returns, if storing according to self The content of session initiation request message, determine Self address and IMS core net process after to disappearing In the session initiation request message of breath, the address in first information territory is identical, then this session initiation response disappeared In breath, the terminal called address in first information territory and port numbers are saved in the second information field of extension, with certainly The SBC address of body and port numbers replace the terminal called address in first information territory and port numbers respectively.
4. method as claimed in claim 2, it is characterised in that also include:
First information territory in the session initiation request message after the IMS core net process that SBC receives In SBC address do not record self storage SBC address list in time, described SBC uses self SBC address and port numbers replace the SBC address in the first information territory in this message and port numbers respectively, And delete the second information field in this session initiation request message;
First information territory in the session initiation response message after the IMS core net process that SBC receives In SBC address be not recorded in self storage SBC address list in time, described SBC uses self SBC address and port numbers replace the SBC in the first information territory in this session initiation response message respectively Address and port numbers, and delete the second information field in this session initiation response message.
5. method as claimed in claim 3, it is characterised in that also include:
After described SBC receives the session initiation response message that terminal called returns, if storing according to self The content of session initiation request message, determine Self address and IMS core net process after to disappearing In the session initiation request message of breath, the address in first information territory differs, then use the SBC ground of self Location and port numbers replace the address of the terminal called in this session initiation response message in first information territory respectively And port numbers.
6. the method as described in any one of claim 1-5, it is characterised in that receive calling terminal and send The SBC of session initiation request message be Calling Side SBC, Calling Side SBC is sent by IMS core net Session initiation request message process after be sent to callee side SBC, callee side SBC is by amended Session initiation request message is sent to terminal called;
The SBC receiving the session initiation response message that terminal called returns is callee side SBC, IMS core Net is sent to Calling Side SBC after processing the session initiation response message that callee side SBC sends, main Make side SBC that amended session initiation response message is sent to calling terminal.
7. the method as described in any one of claim 1-5, it is characterised in that in described first information territory Address and port numbers be specially in the c row of the SDP information in described session initiation request/response message Port numbers in address and m row;Second information field of described extension be specially described session initiation request/ Extension row in SDP information in response message.
8. method as claimed in claim 7, it is characterised in that a row of described propagation behavior extension.
9. a Session Border Controller SBC, it is characterised in that including:
First receiver module, for receiving session initiation request message and the called end that calling terminal sends The session initiation response message that end sends;
First processing module, sends out for receiving the session of calling terminal transmission when described first receiver module When playing request message, the calling terminal address in first information territory in this message and port numbers are saved in expansion Second information field of exhibition, SBC address and port numbers with self replace the caller in first information territory respectively Terminal address and port numbers, and amended message is sent to internet multimedia subsystem IMS core Net processes;When described first receiver module receives the session initiation response message that terminal called sends Time, the terminal called address in first information territory in this message and port numbers are saved in the second letter of extension Breath territory, with self SBC address and port numbers replace respectively the terminal called address in first information territory and Port numbers, and amended message is sent to IMS core net processes;
Second receiver module, for receiving the session initiation request/response message after IMS core net processes;
Second processing module, for receiving the meeting after IMS core net processes when described second receiver module During words initial request messages, use address and the port of calling terminal in the second information field in this message Replace number respectively the SBC address in first information territory and port numbers, delete this second information field, and will repair Message after changing is sent to terminal called;After described second receiver module receives the process of IMS core net Session initiation response message time, use terminal called in the second information field in this message address and Port numbers replaces the SBC address in first information territory and port numbers respectively, deletes this second information field, and Amended message is sent to calling terminal, so that calling terminal and terminal called are right according to get Address and the port numbers of end carry out media and direct transfer.
10. SBC as claimed in claim 9, it is characterised in that also include:
Memory module, is used for storing SBC address list;
Described second processing module specifically for, when described second receiver module receives at IMS core net After session initiation request message after reason, if the SBC address note in the first information territory judged in this message Record in the SBC address list that described memory module stores, then uses in the second information field in this message The address of calling terminal and port numbers replace the SBC address in first information territory and port numbers respectively, delete Except this second information field;When described second receiver module receives the session setup after IMS core net processes After response message, if the SBC address in the first information territory judged in this message records at described storage mould In the SBC address list of block storage, then use the ground of terminal called in the second information field in this message Location and port numbers replace the SBC address in first information territory and port numbers respectively, delete this second information field.
11. SBC as claimed in claim 10, it is characterised in that
Described memory module is additionally operable to, the content of storage session initiation request message;
Described first processing module specifically for, when described first receiver module receive terminal called return Conversational response message after, if the content of the session initiation request message stored according to described memory module, Determine Self address and IMS core net process after to should be in the session initiation request message of message first Address in information field is identical, then by the terminal called in first information territory in this session initiation response message Address and port numbers are saved in the second information field of extension, and SBC address and port numbers with self are replaced respectively Change the terminal called address in first information territory and port numbers.
12. SBC as claimed in claim 10, it is characterised in that
Described second processing module is additionally operable to, at the IMS core net that described second receiver module receives The SBC address in the first information territory in session initiation request message after reason does not records described memory module Time in the SBC address list of storage, the SBC address of self and port numbers is used to replace respectively in this message First information territory in SBC address and port numbers, and delete second in this session initiation request message Information field;When the session initiation response after the IMS core net process that described second receiver module receives disappears When the SBC address in first information territory in breath is not recorded in the SBC address list of self storage, make SBC address and port numbers with self are replaced in the first information territory in this session initiation response message respectively SBC address and port numbers, and delete the second information field in this session initiation response message.
13. SBC as claimed in claim 11, it is characterised in that
Described first processing module is additionally operable to, when described first receiver module receives what terminal called returned After session initiation response message, if the content of the session initiation request stored according to described memory module, really Determine after Self address and IMS core net process to should the first letter in the session initiation request message of message Address in breath territory differs, then use the SBC address of self and port numbers to replace this session setup respectively The address of the terminal called in first information territory and port numbers in response message.
14. SBC as described in any one of claim 9-13, it is characterised in that described first information territory In address and port numbers be specially in the c row of the SDP information in described session initiation request/response message Address and m row in port numbers;Second information field of described extension be specially described session initiation request/ Extension row in SDP information in response message.
15. SBC as claimed in claim 14, it is characterised in that a row of described propagation behavior extension.
CN201110385222.6A 2011-11-28 2011-11-28 A kind of Media Stream Bypass implementation method and equipment Active CN103139156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110385222.6A CN103139156B (en) 2011-11-28 2011-11-28 A kind of Media Stream Bypass implementation method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110385222.6A CN103139156B (en) 2011-11-28 2011-11-28 A kind of Media Stream Bypass implementation method and equipment

Publications (2)

Publication Number Publication Date
CN103139156A CN103139156A (en) 2013-06-05
CN103139156B true CN103139156B (en) 2016-09-07

Family

ID=48498466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110385222.6A Active CN103139156B (en) 2011-11-28 2011-11-28 A kind of Media Stream Bypass implementation method and equipment

Country Status (1)

Country Link
CN (1) CN103139156B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685234B (en) * 2013-11-14 2017-06-13 大唐移动通信设备有限公司 The method and device of IMS media service datas treatment
CN104917717B (en) * 2014-03-10 2018-09-07 中国移动通信集团北京有限公司 A kind of method of calling, equipment and system
WO2017210824A1 (en) * 2016-06-06 2017-12-14 海能达通信股份有限公司 Cluster service data transmission control method, apparatus, and device
CN113438220B (en) * 2021-06-22 2024-03-15 上海翰声信息技术有限公司 Method for converting IP address in soft switching communication system and soft switching communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738267A (en) * 2004-08-20 2006-02-22 华为技术有限公司 Method for realizing media stream bypass
CN1870567A (en) * 2005-05-24 2006-11-29 华为技术有限公司 Implementing method of intelligent media flow bypass

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738267A (en) * 2004-08-20 2006-02-22 华为技术有限公司 Method for realizing media stream bypass
CN1870567A (en) * 2005-05-24 2006-11-29 华为技术有限公司 Implementing method of intelligent media flow bypass

Also Published As

Publication number Publication date
CN103139156A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN101094442B (en) Method for grappling final call in circuit switching domain
CN103220323B (en) For the device of Service controll
CN102857891B (en) Domain selection method and domain selection system for called party and HSS(home subscriber server) in domain selection system
CN103716299B (en) A kind of method to be conversated based on SIP, terminal and call business server
US20170026512A1 (en) Enhanced session initiation protocol recording
CN106911688A (en) Voice business realizing method and device based on IMS
EP2963957B1 (en) Method and device for calling by binding client to terminal
CN103139156B (en) A kind of Media Stream Bypass implementation method and equipment
CN107534666A (en) The conversion of domain in IMS network
US8798037B2 (en) Apparatus and method for providing recording service in IP multimedia subsystem
CN101529883B (en) System and method to provide combinational services to anonymous callers
CN103905393A (en) Method and equipment for realizing intercommunication of enterprise US system and IMS network
US9509724B2 (en) Handling session initiation protocol messages in a wireless telecommunications device
CN104038954A (en) Method and device for processing voice call service
US8213373B2 (en) Supporting method for REFER message expansion parameter
CN105308924B (en) Forbid the method and apparatus of service for realizing communication
CN101232649B (en) Communication system, application server and method for implementing same group answer replacing business
CN102143153B (en) Broadband service nesting method and device, and service application server
CN105391876A (en) Method and device for providing media services for communication
CN108076055A (en) A kind of forced releasing and forced interposing control method and device of SIP multi-party conversations
CN100407861C (en) Method for implementing multimedia service calling in circuit domain
US20130265878A1 (en) HD Voice Recovery
CN107852577A (en) A kind of supplementary service implementation method, terminal device and IMS service device
CN104301551A (en) Method for music playing and equipment for music playing
CN111371724B (en) Communication system, equipment and method for realizing IMS service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant