CN103685234B - The method and device of IMS media service datas treatment - Google Patents
The method and device of IMS media service datas treatment Download PDFInfo
- Publication number
- CN103685234B CN103685234B CN201310566713.XA CN201310566713A CN103685234B CN 103685234 B CN103685234 B CN 103685234B CN 201310566713 A CN201310566713 A CN 201310566713A CN 103685234 B CN103685234 B CN 103685234B
- Authority
- CN
- China
- Prior art keywords
- sbc
- called
- bypass
- terminal
- sip
- 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
Links
Landscapes
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of method and device of IMS media service datas treatment, described method includes:Receive the initial session protocol sip message that the caller SBC sends;The sip message includes original pre- judged result, and whether the original pre- judged result opens for the bypass functionality;Sip response message is generated according to the sip message;The sip response message includes bypassing the result of decision;Whether the bypass result of decision opens for the bypass functionality;Send the sip response message to the caller SBC;The caller SBC is used for according to the bypass result of decision generation current decision result;If the current decision result is opened for the bypass functionality, when the calling terminal sends media service data to the terminal called, the media service data is sent to the terminal called.The present invention is used to mitigate the load of medium surface equipment in IMS, while increased the handling capacity of medium surface data in IMS, and does not conflict with existing protocol, can promote the use of.
Description
Technical field
The present invention relates to mobile communication technology field, the method for more particularly to a kind of IMS media service datas treatment and
Device.
Background technology
IMS (IP Multimedia Subsystem IP, IP multimedia subsystem) is a kind of brand-new multimedia service
Form, disclosure satisfy that present terminal client is more novel, more diversified multimedia service demand.IMS is considered as of future generation
The core technology of network, is also to solve movement to be merged with fixed network, introduces the differentiated services such as voice, data, video Triple Fusion
Important way.
, it is necessary to by SIP (Session Initiation by taking the process that user terminal in IMS connects phone as an example
Protocol initial session protocols) conversation initial request message INVITE, treatment response message 180, success response in message
Message 200OK, or Temporary Response confirmation message PRACK, PRACK 200OK, update request message UPDATE, UPDATE
SDP (the Session Description Protocol, conversation description association carried in the sip messages such as 200OK, confirmation message ACK
View) content carries out medium surface and consults to realize the intercommunication of media service data.
And the media service data such as voice, visual telephone is generally required by SBC during media resource SDP negotiation
(Session Border Control, session Edge position control) equipment carries out the forwarding of signaling and data.Because data are required for
Forwarded by the medium surface of SBC, cause the load of medium surface equipment in IMS larger.In IMS business and basic exhale at present
Cry and set up in signaling process, media resource is applied for by SBC completely, lack media relevant treatment strategy.When media business in IMS
When data volume is excessive, medium surface data flow carries out packet forwarding by the WMG in SBC, and network media face can be transmitted
Equipment belt carrys out excessive load, or even the performance and business experience of whole IMS can be influenceed to perceive.
Therefore, one of those skilled in the art's problem in the urgent need to address is to propose a kind of IMS media service datas
The method and device for the treatment of, is used to optimize media handling strategy, mitigates the load of medium surface equipment in IMS, while increased IMS
The handling capacity of middle medium surface data, and do not conflict with existing protocol, can promote the use of.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of method and device of IMS media service datas treatment, use
To optimize media handling strategy, mitigate the load of medium surface equipment in IMS, while increased handling up for medium surface data in IMS
Amount, and do not conflict with existing protocol, can promote the use of.
In order to solve the above problems, the invention discloses a kind of method of IMS media service datas treatment, many matchmakers of IP
Body subsystem, IMS includes caller session border media forwarding unit SBC, is called session border media forwarding unit SBC, caller
Terminal, and, terminal called, described method includes:
Receive the initial session protocol sip message that the caller SBC sends;The sip message includes original anticipation
Whether disconnected result, the original pre- judged result opens for the bypass functionality;
Sip response message is generated according to the sip message;The sip response message includes bypassing the result of decision;It is described
Whether the bypass result of decision opens for the bypass functionality;
Send the sip response message to the caller SBC;The caller SBC is used for according to the bypass result of decision
Generation current decision result;
If the current decision result is opened for the bypass functionality, the calling terminal sends to the terminal called
During media service data, the media service data is sent to the terminal called.
Preferably, described method also includes:
If the current decision result is closed for the bypass functionality, the calling terminal sends to the terminal called
During media service data, the media service data is sent to the caller SBC, the caller SBC is used for the media
Business datum is sent to the called SBC;
The called SBC sends to the terminal called media service data.
Preferably, the sip message includes conversation request message INVITE, and the sip response message includes success response
Message 200OK.
Preferably, the sip message has extension header, and the extension header includes that the registration of caller SBC and called SBC is believed
Breath, the log-on message includes the listening state information of calling terminal and terminal called in SBC, calling terminal and terminal called
Registration status information, and caller SBC original pre- judged result;If the original pre- judged result is opened for bypass functionality,
Then the step of generation sip response message according to the sip message includes:
Sub-step S11, judges whether that the registration of the calling terminal and terminal called can be inquired from the sip message
Information;If so, sub-step S12 is then performed, if it is not, then performing sub-step S19;
Sub-step S12, inquires about the calling terminal and whether terminal called is non-overflowing according to the registration status information
Trip registration;If so, then performing sub-step S13;If it is not, then performing sub-step S19;
Sub-step S13, inquires about whether the calling terminal connects the caller via first network address conversion NAT device
SBC;If so, sub-step S14 is then performed, if it is not, then performing sub-step S16;
Sub-step S14, inquires about whether the terminal called connects the called SBC via the second NAT device;If so, then
Sub-step S15 is performed, if it is not, then performing sub-step S19;
Sub-step S15, judges whether first NAT device is consistent with second NAT device;If so, then performing son
Step S17, if it is not, then performing sub-step S19;
Sub-step S16, inquires about whether the terminal called connects the called SBC via the second NAT device;If so, then
Sub-step S19 is performed, if it is not, then performing sub-step S17;
Sub-step S17, according to judge described in listening state information the calling terminal and terminal called whether on SBC quilt
Monitor;If so, sub-step S19 is then performed, if it is not, then performing sub-step S18;
Sub-step S18, the generation bypass result of decision is to open the sip response message of the bypass functionality;
Sub-step S19, the generation bypass result of decision is the sip response message for closing the bypass functionality.
Preferably, it is described to be generated according to the sip message if the original pre- judged result is closed for bypass functionality
The step of sip response message, includes:
The generation bypass result of decision is the sip response message for closing the bypass functionality.
Preferably, before the step of the generation sip response message according to sip message, also include:
Send the sip message to the terminal called.
Before the step of transmission sip message to the terminal called, also include:
Delete the extension header in the sip message.
The embodiment of the invention also discloses a kind of method of IMS media service datas treatment, the IP multimedia subsystem
IMS includes caller session border media forwarding unit SBC, called session border media forwarding unit SBC, calling terminal, with
And, terminal called, described method includes:
Send initial session protocol sip message to the called SBC;The sip message includes original pre- judged result,
Whether the original pre- judged result opens for the bypass functionality;
Receive the called SBC and generate sip response message according to the sip message;The sip response message includes side
Whether the road result of decision, the bypass result of decision opens for the bypass functionality;
According to the bypass result of decision generation current decision result;
If the current decision result is opened for the bypass functionality, the calling terminal sends to the terminal called
During media service data, the media service data is sent to the terminal called.
Preferably, described method also includes:
If the current decision result is closed for the bypass functionality, the calling terminal sends to the terminal called
During media service data, the media service data that the calling terminal sends is received;
Send the media service data to the called SBC;The called SBC is used for media service data hair
Deliver to the terminal called.
Preferably, after described reception the step of the called SBC generates sip response message according to the sip message,
Also include:
Send the sip response message to the calling terminal.
The sip response message has extension header, in the step for sending the sip response message to the calling terminal
Before rapid, also include:
Delete the extension header in the sip response message.
The embodiment of the invention also discloses a kind of device of IMS media service datas treatment, the IP multimedia subsystem
IMS includes caller session border media forwarding unit SBC, called session border media forwarding unit SBC, calling terminal, with
And, terminal called, described device includes:
Sip message receiver module, for receiving the initial session protocol sip message that the caller SBC sends;It is described
Sip message includes original pre- judged result, and whether the original pre- judged result opens for the bypass functionality;
Sip response message generation module, for generating sip response message according to the sip message;The sip response disappears
Breath includes bypassing the result of decision;Whether the bypass result of decision opens for the bypass functionality;
Sip response message sending module, for sending the sip response message to the caller SBC;The caller SBC
For according to the bypass result of decision generation current decision result;
First point-to-point transfer module, it is described for when the current pre- judged result is that the bypass functionality is opened
When calling terminal sends media service data to the terminal called, the media service data was sent to the called end
End.
Preferably, described device also includes:
First data reception module, for when the current pre- judged result is that the bypass functionality is closed, the master
When making terminal send media service data to the terminal called, the media service data is sent to the caller SBC, institute
Caller SBC is stated for the media service data to be sent to the called SBC;
Second data forwarding module, the media service data is sent to the terminal called.
Preferably, the sip message has extension header, and the extension header includes that the registration of caller SBC and called SBC is believed
Breath, the log-on message includes the listening state information in SBC of calling terminal and terminal called, calling terminal and terminal called
Registration status information, and caller SBC original pre- judged result;If the original pre- judged result is opened for bypass functionality
Open, then sip response message generation module includes:
Inquiry judging submodule, for judging whether that the calling terminal and called can be inquired from the sip message
The log-on message of terminal;If so, roaming judging submodule is then called, if it is not, then calling bypass to close decision sub-module;
Roaming judging submodule, for whether inquiring about the calling terminal and terminal called according to the registration status information
It is non-roaming registration;If so, then calling NAT device to inquire about submodule;If it is not, then calling bypass to close decision sub-module;
Whether first NAT device inquires about submodule, for inquiring about the calling terminal via first network address conversion NAT
Equipment connects the caller SBC;If so, then calling the second NAT device to inquire about submodule;If it is not, then calling the 3rd NAT device to look into
Ask submodule;
Whether the second NAT device inquires about submodule, described via the connection of the second NAT device for inquiring about the terminal called
Called SBC;If so, then calling equipment judging submodule;If it is not, then calling bypass to close decision sub-module;
Whether equipment judging submodule is consistent with second NAT device for judging first NAT device;If so,
Then call monitoring judging submodule;If it is not, then calling bypass to close decision sub-module;
Whether the 3rd NAT device inquires about submodule, described via the connection of the second NAT device for inquiring about the terminal called
Called SBC;If so, then calling bypass to close decision sub-module;If it is not, then calling monitoring judging submodule;
Judging submodule is monitored, for according to judging whether are the calling terminal and terminal called described in listening state information
It is monitored on SBC;If so, then call bypass to close decision sub-module, if it is not, then calling bypass to open decision sub-module;
Decision sub-module is opened in bypass, is that the sip response for opening the bypass functionality disappears for generating the bypass result of decision
Breath;
Decision sub-module is closed in bypass, is that the sip response for closing the bypass functionality disappears for generating the bypass result of decision
Breath.
Preferably, if the original pre- judged result is closed for bypass functionality, the sip response message generation module bag
Include:
The generation bypass result of decision is the sip response message for closing the bypass functionality.
14th, the device according to claim 1 or 12, it is characterised in that also include:
First sip message forwarding module, for sending the sip message to the terminal called;
Second extension header removing module, for deleting the extension header in the sip message.
The embodiment of the invention also discloses a kind of device of IMS media service datas treatment, the IP multimedia subsystem
IMS includes caller session border media forwarding unit SBC, called session border media forwarding unit SBC, calling terminal, with
And, terminal called, described device includes:
Sip message sending module, for sending initial session protocol sip message to the called SBC;The sip message
Include original pre- judged result, whether the original pre- judged result opens for the bypass functionality;
Sip response message receiver module, disappears for receiving the called SBC according to sip message generation sip response
Breath;The sip response message includes bypassing the result of decision, and whether the bypass result of decision opens for the bypass functionality;
Update module, for according to the bypass result of decision generation current decision result;
Second point-to-point transfer module, for the current decision result be the bypass functionality open when, the master
When making terminal send media service data to the terminal called, the media service data is sent to the terminal called.
Preferably, described device also includes:
Second data reception module, for the current decision result be the bypass functionality close when, the caller
When terminal sends media service data to the terminal called, the media business number that the calling terminal sends is received
According to;
Second data forwarding module, for sending the media service data to the called SBC;The called SBC is used
Sent to the terminal called in by the media service data.
Preferably, described device also includes:
First sip message forwarding module, for sending the sip response message to the calling terminal;
Second extension header removing module, for deleting the extension header in the sip response message.
Compared with prior art, the present invention includes advantages below:
In the embodiment of the present invention strengthen IMS in SBC media resource control ability, can according to business active control whether
Media forwarding unit is needed to participate in the forwarding of data.Specifically, caller SBC and called SBC can carry out bypass detection to carry out
Consult, if both consult to open bypass functionality, then calling terminal can bypass the cores such as caller SBC and called SBC with terminal called
Heart media device, directly carries out the mutual transmission of media service data, therefore, it is possible to ensure the media device resource such as SBC in IMS
Make full use of, reduce the unnecessary wasting of resources, mitigate the load of media device.If caller SBC and called SBC consults not
Bypass functionality is opened, can also be by caller SBC and called SBC come forwarding media business number between calling terminal and terminal called
According to.In addition, do not conflict with existing protocol, can be generalized to and use in existing network.
Brief description of the drawings
Fig. 1 is a kind of flow chart of IMS basic sessions service interaction signaling procedure;
The step of Fig. 2 is a kind of embodiment of the method 1 of IMS media service datas treatment of the invention flow chart;
The step of Fig. 3 is a kind of embodiment of the method 2 of IMS media service datas treatment of the invention flow chart;
Fig. 4 is that a kind of bypass functionality of the invention opens decision flow chart;
Fig. 5 is the schematic flow sheet of a kind of pre- judgement of the invention and principle of decision-making;
The step of Fig. 6 is a kind of embodiment of the method 4 of IMS media service datas treatment of the invention flow chart;
Fig. 7 is a kind of SBC Module Divisions schematic diagram of the invention;
Fig. 8 is that a kind of bypass functionality of the invention opens process charts of the SBC to calling;
Fig. 9 is that a kind of bypass functionality of the invention closes process charts of the SBC to calling;
Figure 10 is a kind of structured flowchart of the device embodiment 1 of IMS media service datas treatment;
Figure 11 is a kind of structured flowchart of the device embodiment 2 of IMS media service datas treatment.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real to enable the above objects, features and advantages of the present invention more obvious understandable
The present invention is further detailed explanation to apply mode.
In order that those skilled in the art further appreciate that the embodiment of the present invention, below by way of the media business in IMS
Basic session business is illustrated as an example.
A kind of flow chart of the IMS basic sessions service interaction signaling procedure shown in reference picture 1, specific signaling process is such as
Shown in lower:
10th, terminal A initiates initial call, sends the INVITE to caller SBC for carrying itself SDP information SDP1;
20th, it is terminal A application media related resources, reserved media passage, modification after caller SBC receives INVITE
SDP information in INVITE is the media resource SDP2 of own net side, and is transmitted to PCSCF (Proxy Call Session
Control Function, Proxy Call Session Control Function) equipment;Wherein, the SDP information of modification mainly includes session level C
Row, M rows, media-level C rows, medium type, the media intercommunication correlation A rows of support etc.;
30th, according to caller registered user's information, the i.e. relevant information of terminal A, INVITE is to SCSCF for forwarding for PCSCF
(Serving Call Session Control Function, service call conversation control function) equipment;
40th, SCSCF triggers caller AS (Application Server, application server), and INVITE is forwarded into caller
AS;
50th, caller AS triggerings treatment is completed, and forwards INVITE to SCSCF;
60th, according to called registered user's information, the i.e. relevant information of terminal B, triggering is called AS business to SCSCF;
70th, it is called AS triggering treatment to complete, forwards INVITE to SCSCF;
80th, SCSCF forwards INVITE to called PCSCF according to called registered user's information;
90th, it is called PCSCF treatment to complete, INVITE is sent to called SBC, caller SBC network sides is carried in INVITE
SDP information SDP2;
100th, after called SBC receives INVITE, the CONTENT header fields in INVITE judge whether to carry SDP information;
If called SBC judges to carry SDP2, for terminal called B applies for media resource SDP3, and the SDP information changed in INVITE is
SDP3;
110th, after terminal B receives INVITE, the 200OK to called SBC for carrying local media resource SDP4 is sent;
120th, after being called the 200OK that SBC is received, modification SDP is local application media resource SDP5, and completes local
The forwarding mapping relations of SDP3 and SDP5, and send the 200OK to PCSCF for carrying SDP5;
130th, PCSCF is sent to SCSCF 200OK according to called registered user's information;
140th, SCSCF sends to called AS 200OK;
150th, it is called AS treatment to complete, forwarding 200OK is sent to SCSCF;
160th, SCSCF forwards 200OK to caller AS according to caller registered user's information;
170th, caller AS treatment is completed, and forwarding 200OK is sent to SCSCF;
180th, SCSCF forwards 200OK to PCSCF according to caller registered user's information;
190th, 200OK is forwarded to caller SBC by PCSCF;
200th, after 200OK reaches caller SBC, caller SBC modification SDP are local application media resource SDP6, complete local
The forwarding mapping relations of SDP2 and SDP6, and the 200OK for carrying SDP6 is sent to terminal A;Now session is connected, media business
Data complete packet and forward by terminal A-caller SBC-called SBC-terminal B.
As can be seen that the process of above-mentioned IMS media service datas communication is cumbersome, media service data is required for passing through
The medium surface of SBC is forwarded, and the load of medium surface equipment is larger.In IMS business and basic call set up signaling flow,
Apply for that media forward resource by SBC completely, and cannot control whether SBC equipment applies for that medium surface is provided by the attribute of business
Source, when media service data is excessive, causes media device load excessive.
In order to solve the above problems, one of the core concepts of the embodiments of the present invention is that caller SBC is carried out with called SBC
Bypass detects to hold consultation, if both consult to open bypass functionalitys, then calling terminal can bypass caller SBC with terminal called
With the media device such as called SBC, the mutual transmission of media service data is directly carried out, therefore, it is possible to ensure the media such as SBC in IMS
Making full use of for device resource, reduces the unnecessary wasting of resources, mitigates the load of media device.
Reference picture 2, flow the step of show a kind of embodiment of the method 1 of IMS media service datas treatment of the invention
Figure, can include caller session Edge position control entity SBC in the IP multimedia subsystem IMS, be called session Edge position control reality
Body SBC, calling terminal, and, terminal called, described method may include steps of:
Step 101, receives the initial session protocol sip message that the caller SBC sends;The sip message includes
Whether original pre- judged result, the original pre- judged result opens for the bypass functionality;
Step 102, sip response message is generated according to the sip message;The sip response message includes bypassing decision-making
As a result;Whether the bypass result of decision opens for the bypass functionality;
Step 103, sends the sip response message to the caller SBC;The caller SBC is used for according to the bypass
The result of decision generates current decision result;
Step 104, if the current decision result is opened for the bypass functionality, the calling terminal is to described called
When terminal sends media service data, the media service data is sent to the terminal called.
In embodiments of the present invention, caller SBC and called SBC carries out whether bypass is consulted to be opened come decision-making using sip message
Open bypass functionality.Wherein, caller SBC can in advance judge whether bypass functionality is opened, and be sent to called SBC, quilt by sip message
Being SBC can then judge whether to open bypass functionality according to actual conditions, and return to carrying bypass result of decision sip response message,
Caller SBC can accordingly change pre- judged result according to the bypass result of decision, generate current decision result.If caller SBC with it is called
The consensus unlatching bypass functionalitys of SBC, then bypass functionality will be opened successfully.
If bypass functionality is successfully opened, then when calling terminal and terminal called need mutually transmission media service data
When, caller SBC can be bypassed and called SBC is directly communicated, ensure that filling for SBC media device resources under IMS architecture
Divide and utilize, reduce the unnecessary wasting of resources, mitigate the load of media device;
Reference picture 3, flow the step of show a kind of embodiment of the method 2 of IMS media service datas treatment of the invention
Figure, can include caller session Edge position control entity SBC in the IP multimedia subsystem IMS, be called session Edge position control reality
Body SBC, calling terminal, and, terminal called, described method may include steps of:
Step 201, receives the initial session protocol sip message that the caller SBC sends;The sip message includes
Whether original pre- judged result, the original pre- judged result opens for the bypass functionality;
Step 202, sip response message is generated according to the sip message;The sip response message includes bypassing decision-making
As a result;Whether the bypass result of decision opens for the bypass functionality;There is extension header in the sip message;
In implementing, caller SBC and called SBC using carry out bypass consult whether open bypass functionality come decision-making.
Wherein, caller SBC can in advance judge whether bypass functionality is opened, and called SBC can then judge whether to open bypass according to actual conditions
Function, if caller SBC consults successfully with called SBC, then bypass functionality is opened.
Of the invention a kind of bypass functionality shown in reference picture 4 opens decision flow chart, specifically should in the embodiment of the present invention
In a kind of example, the sip message can have extension header, and the extension header can include caller SBC's and called SBC
Log-on message, the log-on message can include the listening state information of calling terminal and terminal called in SBC, calling terminal and
The registration status information of terminal called, and caller SBC original pre- judged result;If the original pre- judged result is bypass
Function is opened, then the step 202 can include following sub-step:
Sub-step S11, judges whether that the registration of the calling terminal and terminal called can be inquired from the sip message
Information;If so, sub-step S12 is then performed, if it is not, then performing sub-step S19;
Sub-step S12, inquires about the calling terminal and whether terminal called is non-overflowing according to the registration status information
Trip registration;If so, then performing sub-step S13;If it is not, then performing sub-step S19;
Sub-step S13, inquires about whether the caller SBC connects the caller via first network address conversion NAT device
SBC;
Sub-step S14, inquires about whether the terminal called connects the called SBC via the second NAT device;If so, then
Sub-step S15 is performed, if it is not, then performing sub-step S19;
Sub-step S15, judges whether first NAT device is consistent with second NAT device;If so, then performing son
Step S17, if it is not, then performing sub-step S19;
Sub-step S16, inquires about whether the terminal called connects the called SBC via the second NAT device;If so, then
Sub-step S19 is performed, if it is not, then performing sub-step S17;
Sub-step S17, according to judge described in listening state information the calling terminal and terminal called whether on SBC quilt
Monitor;If so, sub-step S19 is then performed, if it is not, then performing sub-step S18;
Sub-step S18, the generation bypass result of decision is to open the sip response message of the bypass functionality;
Sub-step S19, the generation bypass result of decision is the sip response message for closing the bypass functionality.
In embodiments of the present invention, extension header is increased in a sip message to realize being carried out between caller SBC and called SBC
Bypass detection is held consultation, with complete normal conversation whether point communications functionality.
Specifically, connect by same NAT device with terminal called if inquiring calling terminal in the extension header of sip message
SBC is met, or, whether calling terminal and terminal called all do not connect SBC by NAT device, then it can be judged in its correspondence
SBC on be monitored, as long as at this moment have a side be monitored, then both sides consult open bypass functionality failure.If inquiring caller end
Hold to have with a terminal called only side and be connected SBC by NAT device, then both sides consult to open bypass functionality failure.
Used as a kind of example of concrete application of the present invention, increased prolate-headed form is as follows in a sip message:
bypass:Remoteid=0;MoIntercept=0;MtIntercept=0;Bypassflag=0
Wherein, the parameter meaning of each field refers to table 1 in the extension header:
Table 1:
In table 1 first is classified as prolate-headed each field, and second is classified as the explanation in Chinese of the meaning for being indicated of field,
The 3rd situation explanation for being classified as each field difference value.For example, the INVITE that called SBC is received carries the example of caller SBC
Number, caller SBC receives the instance number that 200OK carries called SBC.In one preferred embodiment of the invention, if described original
Pre- judged result is closed for bypass functionality, then step 202 can also include following sub-step:
Sub-step S21, the generation bypass result of decision is the sip response message for closing the bypass functionality.
In implementing, closed in the absence of caller SBC bypass functionalitys, and the situation that called SBC bypass functionalitys are opened.Cause
This, if caller SBC bypass functionalitys are closed, called SBC will not also open bypass functionality.
Step 203, deletes the extension header in the sip message;
Step 204, sends the sip message to the terminal called;
In a kind of preferred exemplary of the invention, the extension header (header field (bypass)) in sip message is used for calling and called SBC
Used during bypass detection, in the equal home registration of calling and called terminal, calling and called SBC can actively add the header field.
Preferably, when caller SBC sends sip message, such as when INVITE is to terminal called, caller SBC can first by header field
Delete, then the sip message deleted after header field is sent to terminal called, it is ensured that internal registration information will not be transparent to access side net
In network, it is ensured that core network information safety.
Step 205, sends the sip response message to the caller SBC;The caller SBC is used for according to the bypass
The result of decision generates current decision result;
Step 206, if the current decision result is opened for the bypass functionality, the calling terminal is to described called
When terminal sends media service data, the media service data is sent to the terminal called.
In order that those skilled in the art further appreciate that the embodiment of the present invention, for a specific example
The bright embodiment of the present invention carries out the process of bypass functionality negotiation.
In implementing, due to INVITE by AS after, corresponding business may be triggered, therefore, be called SBC
Based on bypass decision-making judges, caller SBC can be updated according to the result of decision of called SBC.It is of the invention shown in reference picture 5
A kind of pre- judgement and the schematic flow sheet of principle of decision-making, specifically may include steps of:
(1) after caller SBC receives INVITE, carry out bypass result and judge in advance;
(2) SBC bypass judged results are called and refer to the pre- judged result of caller, determined according to INVITE actual conditions are received
Plan;
(3) after caller SBC receives 200OK, pre- judged result is modified according to called bypass decision-making.
Wherein, the situation of the possible appearance of caller SBC and called SBC can refer to table 2:
Table 2:
It should be noted that in table 2 " opening " presentation medium business data flow without SBC, " closing " presentation medium industry
Business data flow is closed by SBC in the absence of caller SBC bypass functionalitys, is called the situation that SBC bypass functionalitys are opened.
In implementing, in calling and called terminal attaching, without monitoring, in the case of business, bypass functionality can be opened;
In calling and called terminal attaching, without monitoring, in the case that AS anonymities are without business, bypass functionality may be closed;Calling and called terminal is in SBC
In the presence of roaming, there is monitoring, calling and called terminal connects SBC by different NAT device, then bypass functionality may be closed.
Wherein, calling and called terminal SBC home registrations are that current calling and called terminal is under the jurisdiction of current trust domain;Monitoring refers to
SBC supports standard monitor for police interface, i.e., ought there is the access of monitor for police center, and have in the presence of monitoring event, it is necessary to preferential
Ensure that SBC medium surfaces can obtain medium stream information;Roaming refers to that terminal is not from local domain in the case of it there are multiple domains
Access point is accessed, but is accessed from other network domains, and the registration process of home network domain is routed to from other network domains.
In one preferred embodiment of the invention, described method can also include:
If the current decision result is closed for the bypass functionality, the calling terminal sends to the terminal called
During media service data, the media service data is sent to the caller SBC, the caller SBC is used for the media
Business datum is sent to the called SBC;
The called SBC sends to the terminal called media service data.
In implementing, may caller SBC failed to consultations with called SBC and be not turned on bypass functionality, then it is main
Cry the forwarding that can also carry out media service data between terminal and terminal called by caller SBC and called SBC.
A kind of the step of embodiment of the method 3 of IMS media service datas treatment of the invention flow chart, the IP multimedias
Caller session border media forwarding unit SBC can be included in subsystem, IMS, session border media forwarding unit SBC is called, it is main
Terminal is, and, terminal called, described method may include steps of:
Step 301, sends initial session protocol sip message to the called SBC;The sip message includes original pre-
Whether judged result, the original pre- judged result opens for the bypass functionality;
Step 302, receives the called SBC and generates sip response message according to the sip message;The sip response message
Include bypassing the result of decision, whether the bypass result of decision opens for the bypass functionality;
Step 303, according to the bypass result of decision generation current decision result;
Step 304, if the current decision result is opened for the bypass functionality, the calling terminal is to described called
When terminal sends media service data, the media service data is sent to the terminal called.
In one preferred embodiment of the invention, described method can also include following sub-step:
If the current decision result is closed for the bypass functionality, the calling terminal sends to the terminal called
During media service data, the media service data that the calling terminal sends is received;
Send the media service data to the called SBC;The called SBC is used for media service data hair
Deliver to the terminal called.
In order that those skilled in the art further appreciate that the embodiment of the present invention, below use and specifically illustrate bypass
The handling process that function is opened and closed.
In implementing, SBC mainly completes the treatment of signaling plane and medium surface data, can according to function division module,
Of the invention a kind of SBC Module Divisions schematic diagram shown in reference picture 7, the signaling plane processing module of SBC is SBC modules, media
Face forwarding module is MTF modules.
Of the invention a kind of bypass functionality shown in reference picture 8 opens SBC to the process chart for calling, and can specifically wrap
Include following steps:
1, caller SBC modules receive the INVITE of the carrying SDP1 of calling terminal transmission;
2, caller SBC module send media resource allocation request message (Resorce_alloc_req) to caller MTF moulds
Block;
3, caller MTF modules are to return caller SBC module media resource assignment response messages (Resorce_alloc_
rsp);The media resource assignment response message includes SDP2;Caller SBC modules can perform following steps after receiving:(1) sentence
Disconnected calling and called login state;(2) calling and called listening state is judged;(3) Calling Side bypass condition is judged;Afterwards further according to above-mentioned letter
Breath tissue development head, for example, extension header can be:bypass:Remoteid=1100;MoIntercept=0;
MtIntercept=0;Bypassflag=1;
4, caller SBC module will carry prolate-headed INVITE and be sent to called SBC modules;Called SBC modules are received
After perform following steps:(1) calling and called endpoint registration state is judged;(2) calling and called terminal monitoring state is judged;(3) quilt is judged
Terminal is in SBC bypass conditions;(4) detected with calling terminal bypass condition and consulted, if being all bypass, bypass is set and is opened
Flag bit;(5) if failed to consultations, called SBC thinks to bypass, then set bypass and close mark;
5, it is called SBC modules and sends media resource allocation request message (Resorce_alloc_req) to called MTF moulds
Block;
6, called MTF modules are not SBC module media resource assignment response messages (Resorce_alloc_ to return
rsp);
7, if called SBC modules set bypass and open flag bit, SBC modules are called to called MTF modules according to example
ID obtains SDP1, and sends the INVITE for carrying SDP1 to terminal called;
8, called SBC modules receive the INVITE200OK of the carrying SDP4 of terminal called return;
9, if called SBC modules judge that bypass is opened, generation extension header bypass:Remoteid=1101;
MoIntercept=0;MtIntercept=0;Bypassflag=1;And send media resource release message (Resorce_
Release) to called MTF modules, it is called MTF modules release media resource;
10, it is called SBC modules and sends INVITE 200OK to caller SBC modules, caller SBC modules extract extension header,
It was found that obtain called SBC module bypass open, it is consistent with local, then confirm that bypass is opened;
11, caller SBC module send media resource release message (Resorce_release) to caller MTF modules, caller
MTF modules discharge media resource;
12, caller SBC module send INVITE 200OK to calling terminal;
13, caller SBC modules receive the INVITE ACK of calling terminal transmission;
14, caller SBC module forwards INVITE ACK are to called SBC modules;
15, it is called SBC module forwards INVITE ACK to terminal called.
When SBC completes the handling process to calling, determine that bypass functionality is opened, then media service data passes through calling terminal
A-terminal called B carries out direct point-to-point transmission, can make full use of SBC media resources.
Of the invention a kind of bypass functionality shown in reference picture 9 closes process charts of the SBC to calling, due to step 1-
6 process step is consistent, therefore repeats no more, and it is treated after step 6 to the handling process for calling that bypass functionality closes SBC
Journey is as follows:
7, if called SBC modules set bypass and close flag bit, it is called SBC modules and sends the INVITE for carrying SDP3
To terminal called;
8, called SBC modules receive the INVITE 200OK of the carrying SDP4 of terminal called return;
9, if called SBC modules judge that bypass is closed, generation extension header bypass:Remoteid=1101;
MoIntercept=0;MtIntercept=0;Bypassflag=0;And send media resource change request message
(Resorce_modify_req) extremely called MTF modules;
10, it is SDP5 to be called the local application media resource of MTF modules modification, and sends the media resource change for carrying SDP5
The extremely called SBC modules of response message (Resorce_modify_rsp);
11, it is called SBC modules and sends the INVITE 200OK for carrying SDP5 to caller SBC modules, caller SBC modules are extracted
Go out extension header, it is found that obtaining called SBC module bypass closes, it is inconsistent with local, then confirm that bypass is closed;
12, caller SBC module send media resource change request message (Resorce_modify_req) to caller MTF moulds
Block;
The local application media resource of 13, caller MTF module modification is SDP6, and sends the media resource change for carrying SDP6
Response message (Resorce_modify_rsp) to caller SBC modules, caller SBC modules completes the forwarding of local SDP2 and SDP6
Mapping relations;
14, caller SBC module send the INVITE 200OK for carrying SDP6 to calling terminal;
15, caller SBC modules receive the INVITE ACK of calling terminal transmission;
16, caller SBC module forwards INVITE ACK are to called SBC modules;
17, it is called SBC module forwards INVITE ACK to terminal called.
When SBC completes the handling process to calling, determine that bypass functionality is closed, then media service data passes through calling terminal
A-caller SBC-called SBC-terminal called B is transmitted.
In implementing, when INVITE does not carry SDP message, and 180 when carrying SDP information first, and caller SBC can be returned
Multiple PRACK simultaneously carries SDP information, but now, according to RFC3261 protocol requirements, after AS transmitting-receivings reply message ANSWER, it is impossible to again
Request offer is actively initiated, the SDP information for causing 200OK to carry cannot be modified to Calling Side.Therefore, the uncontrollable callers of AS
Whether SBC sends offer again.Therefore when the information of called SBC, have no idea effectively to notify master by call setup flow
In the case of crying side, caller SBC actively sends weight conversation request message REINVITE to calling terminal, and conversate refreshing, will
Called true SDP brings caller SBC.Thus, the media negotiation of calling and called SBC bypasses is completed.
Reference picture 6, flow the step of show a kind of embodiment of the method 4 of IMS media service datas treatment of the invention
Figure, can include caller session border media forwarding unit SBC in the IP multimedia subsystem IMS, be called session border matchmaker
Body forwarding unit SBC, calling terminal, and, terminal called, described method may include steps of:
Step 401, sends initial session protocol sip message to the called SBC;The sip message includes original pre-
Whether judged result, the original pre- judged result opens for the bypass functionality;
Step 402, receives the called SBC and generates sip response message according to the sip message;The sip response message
Include bypassing the result of decision, whether the bypass result of decision opens for the bypass functionality;The sip response message has
Extension header;
Step 403, deletes the extension header in the sip response message;
Step 404, sends the sip response message to the calling terminal;
In a kind of preferred exemplary of the invention, when caller SBC sends sip response message, such as 200OK to calling terminal
When, caller SBC first can also delete header field, the 200OK after deleting header field is being sent into calling terminal, it is ensured that internal registration is believed
Breath will not be transparent in access side network.
Step 405, according to the bypass result of decision generation current decision result;
Step 406, if the current decision result is opened for the bypass functionality, the calling terminal is to described called
When terminal sends media service data, the media service data is sent to the terminal called.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it to be all expressed as a series of action group
Close, but those skilled in the art should know, and the application is not limited by described sequence of movement, because according to this Shen
Please, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, necessary to involved action not necessarily the application.
A kind of structured flowchart of the device embodiment 1 of the IMS media service datas treatment shown in reference picture 10, the IP is more
Caller session border media forwarding unit SBC can be included in media subsystem IMS, session border media forwarding unit is called
SBC, calling terminal, and, terminal called, described device can include such as lower module:
Sip message receiver module 501, for receiving the initial session protocol sip message that the caller SBC sends;Institute
Stating sip message includes original pre- judged result, and whether the original pre- judged result opens for the bypass functionality;
Sip response message generation module 502, for generating sip response message according to the sip message;The sip response
Message includes bypassing the result of decision;Whether the bypass result of decision opens for the bypass functionality;
Sip response message sending module 503, for sending the sip response message to the caller SBC;The caller
SBC is used for according to the bypass result of decision generation current decision result;
First point-to-point transfer module 504, it is described for when the current decision result is that the bypass functionality is opened
When calling terminal sends media service data to the terminal called, the media service data was sent to the called end
End.
In one preferred embodiment of the invention, described device can also include:
First data reception module, for the current decision result be the bypass functionality close when, the caller
When terminal sends media service data to the terminal called, the media service data is sent to the caller SBC, it is described
Caller SBC is used to send the media service data to the called SBC;
Second data forwarding module, the media service data is sent to the terminal called.
In one preferred embodiment of the invention, the sip message has extension header, and the extension header includes caller
The log-on message of SBC and called SBC, the log-on message includes the listening state information of calling terminal and terminal called in SBC,
The registration status information of calling terminal and terminal called, and caller SBC original pre- judged result;If the original pre- judgement
Result is opened for bypass functionality, then sip response message generation module 502 includes:
Inquiry judging submodule, for judging whether that the calling terminal and called can be inquired from the sip message
The information of terminal;If so, roaming judging submodule is then called, if it is not, then calling bypass to close decision sub-module;
Roaming judging submodule, for whether inquiring about the calling terminal and terminal called according to the registration status information
It is non-roaming registration;If so, then calling NAT device to inquire about submodule;If it is not, then calling bypass to close decision sub-module;
Whether first NAT device inquires about submodule, for inquiring about the calling terminal via first network address conversion NAT
Equipment connects the caller SBC;If so, then calling the second NAT device to inquire about submodule;If it is not, then calling the 3rd NAT device to look into
Ask submodule;
Whether the second NAT device inquires about submodule, described via the connection of the second NAT device for inquiring about the terminal called
Called SBC;If so, then calling equipment judging submodule;If it is not, then calling bypass to close decision sub-module;
Whether equipment judging submodule is consistent with second NAT device for judging first NAT device;If so,
Then call monitoring judging submodule;If it is not, then calling bypass to close decision sub-module;
Whether the 3rd NAT device inquires about submodule, described via the connection of the second NAT device for inquiring about the terminal called
Called SBC;If so, then calling bypass to close decision sub-module;If it is not, then calling monitoring judging submodule;
Judging submodule is monitored, for according to judging whether are the calling terminal and terminal called described in listening state information
It is monitored on SBC;If so, then call bypass to close decision sub-module, if it is not, then calling bypass to open decision sub-module;
Decision sub-module is opened in bypass, is that the sip response for opening the bypass functionality disappears for generating the bypass result of decision
Breath;
Decision sub-module is closed in bypass, is that the sip response for closing the bypass functionality disappears for generating the bypass result of decision
Breath.
In one preferred embodiment of the invention, it is described if the original pre- judged result is closed for bypass functionality
Sip response message generation module 502 can include:
The generation bypass result of decision is the sip response message for closing the bypass functionality.
In one preferred embodiment of the invention, described device can also include:
First sip message forwarding module, for sending the sip message to the terminal called.
Second extension header removing module, for deleting the extension header in the sip message.
Reference picture 11, shows a kind of structural frames of the device embodiment 2 of IMS media service datas treatment of the invention
Figure, the IP multimedia subsystem IMS includes caller session border media forwarding unit SBC, is called session border media and turns
Hair equipment SBC, calling terminal, and, terminal called, described device can include:
Sip message sending module 601, for sending initial session protocol sip message to the called SBC;The SIP disappears
Breath includes original pre- judged result, and whether the original pre- judged result opens for the bypass functionality;
Sip response message receiver module 602, sip response is generated for receiving the called SBC according to the sip message
Message;The sip response message includes bypassing the result of decision, and whether the bypass result of decision is opened for the bypass functionality
Open;
Update module 603, for the original pre- judged result to be updated into current determining according to the bypass result of decision
Plan result;
Second point-to-point transfer module, for the current decision result be the bypass functionality open when, the master
When making terminal send media service data to the terminal called, the media service data is sent to the terminal called.
In one preferred embodiment of the invention, described device can also include:
Second data reception module, for the current decision result be the bypass functionality close when, the caller
When terminal sends media service data to the terminal called, the media business number that the calling terminal sends is received
According to;
Second data forwarding module, for sending the media service data to the called SBC;The called SBC is used
Sent to the terminal called in by the media service data.
In one preferred embodiment of the invention, described device can also include:
First sip message forwarding module, for sending the sip response message to the calling terminal.
Second extension header removing module, for deleting the extension header in the sip response message.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, device or computer program
Product.Therefore, the application can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the application can be used and wherein include the computer of computer usable program code at one or more
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced
The form of product.
The application is the flow with reference to method, equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger
Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the application scope.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange
Except also there is other identical element in the process including the key element, method, article or equipment.
Above to a kind of method and device of IMS media service datas treatment provided by the present invention.
It is described in detail, specific case used herein is explained principle of the invention and implementation method
State, the explanation of above example is only intended to help and understands the method for the present invention and its core concept;Simultaneously for this area
Those skilled in the art, according to thought of the invention, will change in specific embodiments and applications, to sum up institute
State, this specification content should not be construed as limiting the invention.
Claims (17)
1. a kind of method that IP multimedia subsystem IMS media service datas are processed, it is characterised in that the IMS includes master
Session border media forwarding unit SBC is, called session border media forwarding unit SBC, calling terminal, and, terminal called,
Described method includes:
Receive the initial session protocol sip message that the caller SBC sends;The sip message includes original pre- judgement knot
Really, whether the original pre- judged result is opened for bypass functionality;The sip message also has extension header, the extension header bag
The log-on message of caller SBC and called SBC is included, the log-on message includes the monitoring shape of calling terminal and terminal called in SBC
The registration status information of state information, calling terminal and terminal called, and caller SBC original pre- judged result;
Sip response message is generated according to the sip message;The sip response message includes bypassing the result of decision;The bypass
Whether the result of decision opens for the bypass functionality;
Send the sip response message to the caller SBC;The caller SBC is used to be generated according to the bypass result of decision
Current decision result;
If the current decision result is opened for the bypass functionality, the calling terminal sends media to the terminal called
During business datum, the media service data is sent to the terminal called.
2. method according to claim 1, it is characterised in that also include:
If the current decision result is closed for the bypass functionality, the calling terminal sends media to the terminal called
During business datum, the media service data is sent to the caller SBC, the caller SBC is used for the media business
Data is activation is to the called SBC;
The called SBC sends to the terminal called media service data.
3. method according to claim 1, it is characterised in that the sip message includes conversation request message INVITE, institute
Stating sip response message includes success response message 200OK.
4. method according to claim 1, it is characterised in that if the original pre- judged result is bypass functionality opening,
Then the step of generation sip response message according to the sip message includes:
Sub-step S11, judges whether that the registration letter of the calling terminal and terminal called can be inquired from the sip message
Breath;If so, sub-step S12 is then performed, if it is not, then performing sub-step S19;
Sub-step S12, inquires about the calling terminal and whether terminal called is non-roaming note according to the registration status information
Volume;If so, then performing sub-step S13;If it is not, then performing sub-step S19;
Sub-step S13, inquires about whether the calling terminal connects the caller SBC via first network address conversion NAT device;
If so, sub-step S14 is then performed, if it is not, then performing sub-step S16;
Sub-step S14, inquires about whether the terminal called connects the called SBC via the second NAT device;If so, then performing
Sub-step S15, if it is not, then performing sub-step S19;
Sub-step S15, judges whether first NAT device is consistent with second NAT device;If so, then performing sub-step
S17, if it is not, then performing sub-step S19;
Sub-step S16, inquires about whether the terminal called connects the called SBC via the second NAT device;If so, then performing
Sub-step S19, if it is not, then performing sub-step S17;
Sub-step S17, judges whether the calling terminal and terminal called are supervised on SBC according to described in listening state information
Listen;If so, sub-step S19 is then performed, if it is not, then performing sub-step S18;
Sub-step S18, the generation bypass result of decision is to open the sip response message of the bypass functionality;
Sub-step S19, the generation bypass result of decision is the sip response message for closing the bypass functionality.
5. method according to claim 4, it is characterised in that if the original pre- judged result is bypass functionality closing,
Then the step of generation sip response message according to the sip message includes:
The generation bypass result of decision is the sip response message for closing the bypass functionality.
6. the method according to claim 3 or 4, it is characterised in that generate sip response message according to sip message described
The step of before, also include:
Send the sip message to the terminal called;
Before the step of transmission sip message to the terminal called, also include:
Delete the extension header in the sip message.
7. a kind of method that IP multimedia subsystem IMS media service datas are processed, it is characterised in that the IMS includes master
Session border media forwarding unit SBC is, called session border media forwarding unit SBC, calling terminal, and, terminal called,
Described method includes:
Send initial session protocol sip message to the called SBC;The sip message includes original pre- judged result, described
Whether original pre- judged result opens for bypass functionality;The sip message has extension header, and the extension header includes caller SBC
With the log-on message of called SBC, the log-on message includes the listening state information of calling terminal and terminal called in SBC, main
Be the registration status information of terminal and terminal called, and caller SBC original pre- judged result;
Receive the called SBC and generate sip response message according to the sip message;The sip response message includes that bypass is determined
Whether plan result, the bypass result of decision opens for the bypass functionality;
According to the bypass result of decision generation current decision result;
If the current decision result is opened for the bypass functionality, the calling terminal sends media to the terminal called
During business datum, the media service data is sent to the terminal called.
8. method according to claim 7, it is characterised in that also include:
If the current decision result is closed for the bypass functionality, the calling terminal sends media to the terminal called
During business datum, the media service data that the calling terminal sends is received;
Send the media service data to the called SBC;The called SBC be used for by the media service data send to
The terminal called.
9. the method according to claim 7 or 8, it is characterised in that receive the called SBC according to the SIP described
After the step of message generation sip response message, also include:
Send the sip response message to the calling terminal;
The sip response message has extension header, it is described send the sip response message to the calling terminal the step of it
Before, also include:
Delete the extension header in the sip response message.
10. the device that a kind of IP multimedia subsystem IMS media service datas are processed, it is characterised in that the IMS includes master
Session border media forwarding unit SBC is, called session border media forwarding unit SBC, calling terminal, and, terminal called,
Described device includes:
Sip message receiver module, for receiving the initial session protocol sip message that the caller SBC sends;The SIP disappears
Breath includes original pre- judged result, and whether the original pre- judged result opens for bypass functionality;The sip message has expansion
Exhibition head, the extension header includes the log-on message of caller SBC and called SBC, and the log-on message includes calling terminal and is called
Terminal is in the listening state information of SBC, and the registration status information of calling terminal and terminal called, and caller SBC's is original pre-
Judged result;
Sip response message generation module, for generating sip response message according to the sip message;In the sip response message
Including the bypass result of decision;Whether the bypass result of decision opens for the bypass functionality;
Sip response message sending module, for sending the sip response message to the caller SBC;The caller SBC is used for
According to the bypass result of decision generation current decision result;
First point-to-point transfer module, for when the current pre- judged result is that the bypass functionality is opened, the caller
When terminal sends media service data to the terminal called, the media service data is sent to the terminal called.
11. devices according to claim 10, it is characterised in that also include:
First data reception module, for when the current pre- judged result is that the bypass functionality is closed, the caller end
Hold during to terminal called transmission media service data, the media service data is sent to the caller SBC, the master
SBC is for the media service data to be sent to the called SBC;
Second data forwarding module, the media service data is sent to the terminal called.
12. devices according to claim 10, it is characterised in that the sip response message generation module includes:
Inquiry judging submodule, for judging whether that the calling terminal and terminal called can be inquired from the sip message
Log-on message;If so, roaming judging submodule is then called, if it is not, then calling bypass to close decision sub-module;
Roaming judging submodule, for whether being according to the registration status information inquiry calling terminal and terminal called
Non-roaming registration;If so, then calling NAT device to inquire about submodule;If it is not, then calling bypass to close decision sub-module;
Whether first NAT device inquires about submodule, for inquiring about the calling terminal via first network address conversion NAT device
Connect the caller SBC;If so, then calling the second NAT device to inquire about submodule;If it is not, then calling the 3rd NAT device to inquire about son
Module;
Whether the second NAT device inquires about submodule, described called via the connection of the second NAT device for inquiring about the terminal called
SBC;If so, then calling equipment judging submodule;If it is not, then calling bypass to close decision sub-module;
Whether equipment judging submodule is consistent with second NAT device for judging first NAT device;If so, then adjusting
With monitoring judging submodule;If it is not, then calling bypass to close decision sub-module;
Whether the 3rd NAT device inquires about submodule, described called via the connection of the second NAT device for inquiring about the terminal called
SBC;If so, then calling bypass to close decision sub-module;If it is not, then calling monitoring judging submodule;
Monitor judging submodule, for according to judge described in listening state information the calling terminal and terminal called whether
It is monitored on SBC;If so, then call bypass to close decision sub-module, if it is not, then calling bypass to open decision sub-module;
Decision sub-module is opened in bypass, is to open the sip response message of the bypass functionality for generating the bypass result of decision;
Decision sub-module is closed in bypass, is the sip response message for closing the bypass functionality for the generation bypass result of decision.
13. devices according to claim 12, it is characterised in that if the original pre- judged result is closed for bypass functionality
Close, then the sip response message generation module includes:
The generation bypass result of decision is the sip response message for closing the bypass functionality.
14. device according to claim 10 or 12, it is characterised in that also include:
First sip message forwarding module, for sending the sip message to the terminal called;
Second extension header removing module, for deleting the extension header in the sip message.
15. a kind of devices of IP multimedia subsystem IMS media service datas treatment, it is characterised in that the IMS includes master
Session border media forwarding unit SBC is, called session border media forwarding unit SBC, calling terminal, and, terminal called,
Described device includes:
Sip message sending module, for sending initial session protocol sip message to the called SBC;Wrapped in the sip message
Original pre- judged result is included, whether the original pre- judged result opens for bypass functionality;The sip message has extension header,
The extension header includes the log-on message of caller SBC and called SBC, and the log-on message includes that calling terminal and terminal called exist
The registration status information of the listening state information of SBC, calling terminal and terminal called, and the original pre- judgement of caller SBC is tied
Really;
Sip response message receiver module, sip response message is generated for receiving the called SBC according to the sip message;Institute
Stating sip response message includes bypassing the result of decision, and whether the bypass result of decision opens for the bypass functionality;
Update module, for according to the bypass result of decision generation current decision result;
Second point-to-point transfer module, for the current decision result be the bypass functionality open when, the caller end
Hold during to terminal called transmission media service data, the media service data is sent to the terminal called.
16. devices according to claim 15, it is characterised in that also include:
Second data reception module, for the current decision result be the bypass functionality close when, the calling terminal
When sending media service data to the terminal called, the media service data that the calling terminal sends is received;
Second data forwarding module, for sending the media service data to the called SBC;The called SBC is used for will
The media service data is sent to the terminal called.
17. device according to claim 15 or 16, it is characterised in that also include:
First sip message forwarding module, for sending the sip response message to the calling terminal;
Second extension header removing module, for deleting the extension header in the sip response message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310566713.XA CN103685234B (en) | 2013-11-14 | 2013-11-14 | The method and device of IMS media service datas treatment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310566713.XA CN103685234B (en) | 2013-11-14 | 2013-11-14 | The method and device of IMS media service datas treatment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103685234A CN103685234A (en) | 2014-03-26 |
CN103685234B true CN103685234B (en) | 2017-06-13 |
Family
ID=50321549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310566713.XA Active CN103685234B (en) | 2013-11-14 | 2013-11-14 | The method and device of IMS media service datas treatment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103685234B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111756694B (en) * | 2020-05-20 | 2022-06-24 | 珠海高凌信息科技股份有限公司 | Dynamic processing method of session media, storage medium and server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1578080A1 (en) * | 2004-03-18 | 2005-09-21 | Hewlett-Packard Development Company, L.P. | Improvements in or relating to session initiation protocol (SIP) |
CN101529851A (en) * | 2006-10-16 | 2009-09-09 | 法国电信公司 | Method of routing an SIP message in case of unavailability of intermediate nodes |
CN101656715A (en) * | 2008-08-21 | 2010-02-24 | 华为技术有限公司 | Method, system and device for media bypass |
CN103139156A (en) * | 2011-11-28 | 2013-06-05 | 中国移动通信集团公司 | Implement method and implement device of media stream by-path |
-
2013
- 2013-11-14 CN CN201310566713.XA patent/CN103685234B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1578080A1 (en) * | 2004-03-18 | 2005-09-21 | Hewlett-Packard Development Company, L.P. | Improvements in or relating to session initiation protocol (SIP) |
CN101529851A (en) * | 2006-10-16 | 2009-09-09 | 法国电信公司 | Method of routing an SIP message in case of unavailability of intermediate nodes |
CN101656715A (en) * | 2008-08-21 | 2010-02-24 | 华为技术有限公司 | Method, system and device for media bypass |
CN103139156A (en) * | 2011-11-28 | 2013-06-05 | 中国移动通信集团公司 | Implement method and implement device of media stream by-path |
Also Published As
Publication number | Publication date |
---|---|
CN103685234A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7822407B2 (en) | Method for selecting the authentication manner at the network side | |
EP1703746B1 (en) | A method for reducing interface load of home subscriber server | |
Agrawal et al. | IP multimedia subsystems in 3GPP and 3GPP2: overview and scalability issues | |
US20070223462A1 (en) | Enhanced service delivery platform that provides a common framework for use by IMS and Web applications in delivering services | |
US20080170563A1 (en) | Session initiation protocol message content processing method and network | |
US20050259679A1 (en) | Radio link loss management in multimedia domain (MMD) | |
US9525741B2 (en) | Method and system for QOS bearer resource control during access negotiation and release | |
CN101160920A (en) | Method and system for authenticating user terminal | |
JP2010063116A (en) | Distribution of charging identifiers in umts network in particular | |
US9578545B2 (en) | Controlling data sessions in a communication system | |
CN103619006B (en) | Method and system for achieving voice call service | |
Skorin-Kapov et al. | Application-level QoS negotiation and signaling for advanced multimedia services in the IMS | |
CN103647764B (en) | A method for implementing LTE system voice business and a single-chip terminal | |
CN107484224A (en) | A kind of data transmission method and device | |
KR20200102474A (en) | Network Slicing Recognition in IP Multimedia Subsystem | |
CN110035040B (en) | Method and device for signaling addressing | |
WO2017054542A1 (en) | Communication method and apparatus, and terminal | |
TW200526055A (en) | Sessions in a communication system | |
CN101645901B (en) | Method for deciding user authentication mode by IMS network based on terminal capabilities | |
WO2019184717A1 (en) | Communication method and related product | |
CN103685234B (en) | The method and device of IMS media service datas treatment | |
CN106911638A (en) | A kind of processing method of user's registration information, device and ePDG equipment | |
CN104521201B (en) | Processing method, forward node and the control node of forward node | |
US20070064676A1 (en) | Bearer setup for a multimedia service | |
WO2022166742A1 (en) | Network registration method and apparatus, and user equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |