CN108881293A - Access gateway, the method and its system of talk path selection - Google Patents
Access gateway, the method and its system of talk path selection Download PDFInfo
- Publication number
- CN108881293A CN108881293A CN201810813366.9A CN201810813366A CN108881293A CN 108881293 A CN108881293 A CN 108881293A CN 201810813366 A CN201810813366 A CN 201810813366A CN 108881293 A CN108881293 A CN 108881293A
- Authority
- CN
- China
- Prior art keywords
- path
- access gateway
- media stream
- call
- paths
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention belongs to fields of communication technology, are related to the method and system of access gateway, talk path selection.This method includes:Terminal identification list is established in media stream access gateway;Media stream access gateway at least sends end message to Softswitch;Obtain the mulitpath that media stream access gateway sends Media Stream;Media stream access gateway sends the IP test bag of preset quantity respectively in preset period of time to transmission Media Stream mulitpath to be selected;The corresponding path evaluation parameter of each path is obtained, path evaluation parameter includes at least time delay, shake and the packet loss of IP test bag;The time delay of the IP test bag in all paths, shake and packet loss parameter are normalized, to calculate path call scoring:By the path the smallest path of call scoring in all paths, it is determined as the optimal path that media stream access gateway sends Media Stream.Using the method and its system of the access gateway, speech quality can be effectively improved.
Description
Technical field
The invention belongs to fields of communication technology, and in particular to access gateway, the method and talk path of talk path selection
The system of selection.
Background technique
In soft switch call flow, usually according to real-time transport protocol (Real-time Transport Protocol,
Abbreviation RTP) Media Stream of the transmission including audio and video data.In current soft switch call flow, when two access gatewaies
Between called, and when two access gatewaies have multiple IP address, have mulitpath, usually randomly choose a road
Diameter carries out the transmission of Media Stream, and cannot actively select path, nor different paths can be selected to carry and send Media Stream
With reception Media Stream;Meanwhile the IP network of carrying is the delivery quality of each paths is dynamic between access gateway in communication process
State variation, access gateway can not carry out rerouting carrying according to variation and send Media Stream and receive Media Stream, because
This may cause call discontinuously, and such low quality call undoubtedly will affect customer experience.
Summary of the invention
The technical problem to be solved by the present invention is to provide access gateway, call road for above-mentioned deficiency in the prior art
The method of diameter selection and the system of talk path selection, to improve speech quality.
The method that technical solution used by present invention problem is talk path selection is solved, for double to call
Side's multipath to be selected carries out preferred disposition, including step:
Terminal identification list is established in media stream access gateway, the terminal identification list includes terminal transmission association
View, mode, jitter cache and voice compression algorithm;
The media stream access gateway at least sends end message to Softswitch, and the end message includes eventually
Hold transport protocol, IP address, the voice compression algorithm of RTP port numbers and use;
Obtain the mulitpath that the media stream access gateway sends Media Stream;
The media stream access gateway is distinguished in preset period of time to the transmission Media Stream a plurality of path to be selected
Send the IP test bag of preset quantity;
The corresponding path evaluation parameter in every path is obtained, the path evaluation parameter is tested including at least the IP
Time delay, shake and the packet loss of packet;
Time delay, shake and the packet loss parameter of the IP test bag in all paths are normalized, in terms of
Calculate path call scoring:
By the smallest path of call scoring of path described in all paths, it is determined as the media stream and connects
The optimal path of function Access Gateway transmission Media Stream.
Optionally, it is to the normalized processing formula in the path:
Di=X* (AiThe time delay maximum value in/all paths)+Y* (BiThe shake maximum value in/all paths)+Z* (Ci/ all
The packet loss maximum value in path);
Wherein:I is integer, and 1≤i≤N;N is number of paths to be selected, for the natural number greater than 1;Ai、Bi、CiRespectively
Time delay, shake and the packet loss of i-th paths;X, Y, Z are respectively the time delay of the i-th paths, the weight parameter of shake and packet loss;Di
It scores for the call of the i-th paths.
Optionally, after determining the optimal path that the media stream access gateway sends Media Stream, further include:
Judgement currently carries the media stream access gateway and sends whether the path of Media Stream is the optimal path;
If currently carrying the media stream access gateway and sending the path of Media Stream is not the optimal path,:
The media stream access gateway issues the request of toggle path;And if receive the request for agreeing to toggle path, matchmaker
Body stream is switched on optimal path and is sent.
Optionally, if currently carrying the media stream access gateway to send the path of Media Stream is the optimal road
Diameter then keeps currently carrying the path that the media stream access gateway sends Media Stream.
Optionally, the step of media stream access gateway sends the mulitpath of Media Stream is obtained, including:
The Softswitch receives the media stream access gateway respectively, Media Stream call receives access gateway hair
Respective all IP address, the RTP port numbers sent;
Access is received according to the IP address of the media stream access gateway, RTP port numbers and Media Stream call
The IP address of gateway, the matching of RTP port numbers, obtain the media stream access gateway and Media Stream call receives access gateway
Between path;
The media stream access gateway and Media Stream call are received into the path between access gateway as the matchmaker
Body stream sends the mulitpath that access gateway sends Media Stream.
It optionally, is 10s-50s to the preset period of time range that the path sends the IP test bag, it is described pre-
If quantitative range is 20-100 item.
Optionally, the media stream access gateway is calling party's access gateway and/or the callee of both call sides
Access gateway.
A kind of access gateway, for sending Media Stream, described send is provided with mark increasing modeling block, terminal letter in access gateway
Sending module, test bag setup module, parameter acquisition module, path call grading module and path determination module are ceased, wherein:
The mark increases modeling block, for establishing terminal identification list, the terminal identification list packet in access gateway
Include terminal transmission agreement, mode, jitter cache and voice compression algorithm;
The end message sending module, at least for sending end message, the terminating packet to Softswitch
Include the voice compression algorithm of terminal transmission agreement, IP address, RTP port numbers and use;
The test bag setup module is configured so that the access gateway is to be selected to Media Stream is sent in preset period of time
The a plurality of path send the IP test bag of preset quantity respectively;
The parameter acquisition module, for obtaining the corresponding path evaluation parameter in every path, the path evaluation
Parameter includes at least time delay, shake and the packet loss of the IP test bag;
The path is conversed grading module, for the IP test bag to all paths time delay, shake and lose
Bag parameter is normalized, to calculate path call scoring;
The path determination module is used for the smallest path that the call of path described in all paths is scored,
It is determined as the optimal path that the access gateway sends Media Stream.
Optionally, it is additionally provided with path judgment module and path switching module in the access gateway, wherein:
The path judgment module, for judging that currently carrying the access gateway sends whether the path of Media Stream is institute
State optimal path;
The path switching module, if for not being described currently carrying the access gateway to send the path of Media Stream
Optimal path, then:The access gateway issues the request of toggle path;And if receiving the request for agreeing to toggle path,
Media Stream is switched on optimal path and is sent.
Optionally, the access gateway is the calling party's access gateway and/or callee's access gateway of both call sides.
A kind of system of talk path selection, carries out preferred disposition, including Media Stream for the multipath to both call sides
Access gateway and Softswitch are sent, the media stream access gateway is above-mentioned access gateway;
The Softswitch at least sends Media Stream mulitpath to be selected for obtaining the access gateway.
The beneficial effects of the invention are as follows:
The method of access gateway, talk path selection of the invention and the system of talk path selection, in communication process,
The path call scoring that IP test bag tests each paths is persistently sent between two access gatewaies, when current carrying sends or connects
When receiving the path call scoring of Media Stream lower than other paths, toggle path of holding consultation between two access gatewaies, from
And speech quality is effectively improved, promote customer experience.
Detailed description of the invention
Fig. 1 is the flow chart of the method for talk path selection in the embodiment of the present invention;
Fig. 2 and Fig. 3 is the structural block diagram of access gateway in the embodiment of the present invention;
Fig. 4 is the call conversation flow diagram of the method including talk path selection in the embodiment of the present invention;
In attached drawing mark:
1- media stream access gateway;11- mark increases modeling block;12- end message sending module;13- test bag is set
Set module;14- parameter acquisition module;The path 15- call grading module;16- path determination module;The path 17- judgment module;
The path 18- switching module;
2- Softswitch;The first access gateway of 101- (AG1);The second access gateway of 102- (AG2).
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, with reference to the accompanying drawing and specific embodiment party
Formula is described in further detail the method for access gateway of the present invention, talk path selection and the system of talk path selection.
Soft switch (Soft Switch) is to provide call control function and media handling using general switching software based on grouping net
The mutually equipment and system of separation.The basic meaning of soft switch is to isolate call control function from Media Gateway (transport layer)
Come, by software realization basic call control function, so that the separation of calling transmission and Call- Control1 is realized, to control, exchanging
Isolated plane is established with software programmable function.
The network of soft-exchange construction mainly includes Softswitch, Tandem Gateway, signaling gateway and access gateway, now to soft
Switching equipment, Tandem Gateway, signaling gateway and access gateway function be described below respectively:
Softswitch mainly provides connection control, translation and routing, gateway management, Call- Control1, Bandwidth Management, letter
It enables, the functions such as safety and call detail record.
Tandem Gateway (TG) completes the functions such as media stream transition under the control of soft switch, is mainly used for relaying access.In
Media mapping and code conversion function are provided between IP network and circuit-switched network (PSTN) after gateway, i.e. termination circuit is handed over
Switching network facility (trunk, loop etc.), by media stream packet and in the Media Stream of grouping transfers on network packetizing.
Signaling gateway (Signaling Gateway, abbreviation SG), complete Circuit Switching Network and packet switching network (being based on IP) it
Between signaling conversion function.Signaling gateway can effectively realize the intercommunication of signaling between Circuit Switching Network and grouping net.Signaling network
It closes and sends and receivees the SS7 signaling message of standard in Circuit Switching Network side, working group is transmitted using IETF signaling in grouping net side
(SIGTRAN) adaptation layer protocol and transport layer protocol of standard, adaptation ability is strong, multiple functional, high reliablity.
Access gateway (Access Gateway, abbreviation AG), it is such as common for user terminal to be directly accessed IP grouping net
Analog subscriber, ISDN etc..Media mapping and code conversion function are provided between IP network and user terminal, by media stream packet
Change and in the Media Stream of grouping transfers on network packetizing.
Under normal conditions, Softswitch has a number of accessing gateway equipment under its command.It is suitable that the present embodiment provides one kind
The method of the access gateway, talk path selection that for calling both sides there is the talk path in multipath (i.e. more paths IP) to select
And its system, the path that Media Stream is wherein sent and received between the access gateway of multipath pass through two accesses in calling procedure
Gateway exchanges IP address by Softswitch, and two access gatewaies send IP test bag to each paths and carry out quality test,
It selects paths call to score best path as carrying transmission Media Stream and receiving Media Stream respectively and improves matter of conversing
Amount.
It is a kind of for sending the access gateway of Media Stream, be provided in sending access gateway mark increase modeling block, terminal letter
Sending module, test bag setup module, parameter acquisition module, path call grading module and path determination module are ceased, wherein:
Mark increases modeling block, and for establishing terminal identification list in access gateway, terminal identification list includes that terminal passes
Defeated agreement, mode, jitter cache and voice compression algorithm;
End message sending module, at least for sending end message to Softswitch, end message includes that terminal passes
Defeated agreement, IP address, the voice compression algorithm of RTP port numbers and use;
Test bag setup module is configured so that access gateway in preset period of time to a plurality of road that transmission Media Stream is to be selected
Diameter sends the IP test bag of preset quantity respectively;
Parameter acquisition module, for obtaining the corresponding path evaluation parameter of each path, path evaluation parameter is included at least
Time delay, shake and the packet loss of IP test bag;
Path call grading module, returns for the time delay of the IP test bag to all paths, shake and packet loss parameter
One change processing, to calculate path call scoring:
Path determination module, for being determined as access gateway hair for the path the smallest path of call scoring in all paths
Send the optimal path of Media Stream.
Optionally, path judgment module and path switching module are additionally provided in access gateway, wherein:
Path judgment module, for judging that currently carrying access gateway sends whether the path of Media Stream is optimal path;
Path switching module, if for not being optimal path currently carrying access gateway sends the path of Media Stream,:
The request of access gateway sending toggle path;And if receiving the request for agreeing to toggle path, Media Stream is switched to optimal
It is sent on path.
It is specific by being combined in the method and its system that following talk paths select for the operating mode of the access gateway
Example is described in detail.
As shown in Figure 1, a kind of method of talk path selection, for preferably being matched to both call sides multipath to be selected
It sets, including step:
Terminal identification list is established in media stream access gateway, terminal identification list includes terminal transmission agreement, mould
Formula, jitter cache and voice compression algorithm;
Media stream access gateway at least sends end message to Softswitch, and end message includes terminal transmission association
View, IP address, the voice compression algorithm of RTP port numbers and use;
Obtain media stream access gateway send Media Stream mulitpath, i.e., acquisition media stream access gateway with
Media Stream call receives the N paths between access gateway;
Media stream access gateway sends in preset period of time to transmission Media Stream mulitpath to be selected default respectively
The IP test bag of quantity sends the IP test bag of preset quantity respectively to N paths.Wherein, IP test bag is sent to path
Preset period of time range be 10s-50s, preferably 30s;Preset quantity range be 20-100 item, preferably 60;
The corresponding path evaluation parameter of each path is obtained, path evaluation parameter includes at least the time delay of IP test bag, trembles
Dynamic and packet loss;
The time delay of the IP test bag in all paths, shake and packet loss parameter are normalized, it is logical to calculate path
Words scoring;
By the path the smallest path of call scoring in all paths, it is determined as media stream access gateway and circulates to media
Words receive the optimal path that access gateway sends Media Stream;
Wherein, N is number of paths to be selected, for the natural number greater than 1.
Wherein, it is to the normalized processing formula in path:
Di=X* (AiThe time delay maximum value in/all paths)+Y* (BiThe shake maximum value in/all paths)+Z* (Ci/ all
The packet loss maximum value in path);
Wherein:I is integer, and 1≤i≤N;Ai、Bi、CiThe respectively time delay of the i-th paths, shake and packet loss;X,Y,Z
The respectively weight parameter of the time delay of the i-th paths, shake and packet loss;DiIt scores for the call of the i-th paths.
Wherein, it obtains media stream access gateway and Media Stream call receives the step of the N paths between access gateway
Suddenly, including:
Softswitch receives media stream access gateway respectively, Media Stream call receives the respective of access gateway transmission
All IP address, RTP port numbers;
The IP of access gateway is received according to the IP address of media stream access gateway, RTP port numbers and Media Stream call
Address, the matching of RTP port numbers obtain the path between media stream access gateway and Media Stream call reception access gateway;
Media stream access gateway and Media Stream call are received into the path between access gateway as media stream
The mulitpath of access gateway transmission Media Stream.
In the method for talk path selection, access net is received determining that media stream access gateway is conversed to Media Stream
After closing the optimal path for sending Media Stream, further include:
The current carrying media stream access gateway of judgement sends whether the path of Media Stream is optimal path;
If it is not optimal path that currently carrying media stream access gateway, which sends the path of Media Stream,:Media Stream hair
It send access gateway to converse to Media Stream and receives the request that access gateway issues toggle path;
And if Media Stream call, which receives access gateway, receives the request for agreeing to toggle path, Media Stream is switched to
It is sent on optimal path.
If the path that should be understood that current carrying media stream access gateway sends Media Stream is optimal path,
Current carrying media stream access gateway is then kept to send the path of Media Stream.
In the method for talk path selection, media stream access gateway is calling party's access gateway of both call sides
And/or callee's access gateway.That is, as call sends or receives the exchange of role, such as both call sides may be caller
Side (active call side) sends voice to callee (called party), it is also possible to send voice, media for called direction calling party
Stream sends the voice-based flow direction of access gateway, in either the access gateway of calling party, the access gateway of callee or double
Side is all ok using the method, here without limitation.
Correspondingly, the present embodiment also provides a kind of system of talk path selection, for the multipath to both call sides into
Row preferred disposition, including the call of media stream access gateway, Media Stream receive access gateway and Softswitch, wherein matchmaker
It is above-mentioned access gateway that body stream, which sends access gateway, and it is to be selected that Softswitch is at least used to obtain access gateway transmission Media Stream
Mulitpath, i.e., media stream access gateway and Media Stream call receive access gateway between N paths.
As shown in Fig. 2, being provided with mark in media stream access gateway 1 increases modeling block 11, end message sending module
12, test bag setup module 13, parameter acquisition module 14, path call grading module 15 and path determination module 16, wherein:
Mark increases modeling block 11, for establishing terminal identification list, terminal identification list in media stream access gateway 1
Including terminal transmission agreement, mode, jitter cache and voice compression algorithm;
End message sending module 12, at least for sending end message to Softswitch, end message includes terminal
Transport protocol, IP address, the voice compression algorithm of RTP port numbers and use;
Test bag setup module 13 is configured so that media stream access gateway 1 in preset period of time to N paths point
Not Fa Song preset quantity IP test bag;
Parameter acquisition module 14, for obtaining the corresponding path evaluation parameter of each path, path evaluation parameter is at least wrapped
Include time delay, shake and the packet loss of IP test bag;
Path call grading module 15, carries out for the time delay of the IP test bag to all paths, shake and packet loss parameter
Normalized, to calculate path call scoring:
Path determination module 16, for being determined as Media Stream hair for the path the smallest path of call scoring in all paths
It send access gateway 1 to converse to Media Stream and receives the optimal path that access gateway sends Media Stream;
Wherein, N is the natural number greater than 1.
As shown in figure 3, being additionally provided with path in the system of talk path selection in media stream access gateway 1 and sentencing
Disconnected module 17 and path switching module 18, wherein:
Path judgment module 17, the path for judging that current carrying media stream access gateway 1 sends Media Stream are
No is optimal path;
Path switching module 18, if for sending the path of Media Stream not in currently carrying media stream access gateway 1
It is optimal path, then:Media stream access gateway 1 is conversed to Media Stream receives the request that access gateway issues toggle path;
And if Media Stream call receives the request that access gateway agrees to toggle path, Media Stream is switched to optimal road
On diameter.
Similarly, media stream access gateway 1 is that calling party's access gateway of both call sides and/or callee access net
It closes.
It will be said below with Fig. 4 as an example, having call flow between the accessing gateway equipment of mulitpath by one
The method and its system of talk path selection in bright the present embodiment, it is specific as follows:
1, Softswitch 2 sends Modify order to the first access gateway 101 (i.e. AG1), i.e., in Null Context
In establish a Termination, wait off-hook event.
2, Softswitch 2 sends Modify order to the second access gateway 102 (i.e. AG2), i.e., in Null Context
In establish a Termination, wait off-hook event.
3, calling subscriber's off-hook, the first access gateway 101 send Notify order to Softswitch 2, report off-hook thing
Part.
4, Softswitch 2 sends Modify order to the first access gateway 101, and user is waited to input called number, main
User is made to hear dialing tone.
5, the first access gateway 101 sends Notify order to Softswitch 2, and called number is sent to Softswitch
2。
6, a new Context is created in the first access gateway 101, and terminal transmission agreement is added in Context,
Wherein mode (Mode) is set as SendReceive, and jitter cache, voice compression algorithm is arranged etc..First access gateway 101
The agreement used, all IP address, RTP port numbers, the voice compression algorithm of use are sent to Softswitch 2.
7, Softswitch 2 sends agreement, all IP that the first access gateway 101 uses to the second access gateway 102
Address, its RTP port numbers, the voice compression algorithm of use.
8, a new Context is created in the second access gateway 102, and RTP is added in Context
Termination, wherein Mode is set as SendReceive, and jitter cache, voice compression algorithm are set etc..Second access
Gateway 102 sends the agreement used, all IP address, RTP port numbers and the compress speech of use to Softswitch 2 and calculates
Method.
9, Softswitch 2 sends agreement, all IP that the second access gateway 102 uses to the first access gateway 101
Address, RTP port numbers, the voice compression algorithm of use, notice send ring-back tone.
10, the first access gateway 101 sends IP to all IP address of the second access gateway 102 in each IP address and surveys
Examination packet, and select a suitable path.
Select routing algorithm as follows:
Assuming that have N paths between the first access gateway 101 and the second access gateway 102, the starting of the first access gateway 101
Timer, sends the IP test bag of preset quantity in preset period of time on this N paths, and the first access gateway 101 is united respectively
Count time delay, shake and the packet loss of all IP test bags on N paths;
Corresponding time delay, shake and packet loss, time delay, shake and the packet loss difference of the first paths are obtained in each path
For A1、B1、C1, time delay, shake and the packet loss of N paths are respectively AN、BN、CN;
All path delays of time, shake and packet loss are normalized:
By taking the first paths as an example
D1=X* (A1The time delay maximum value in/all paths)+Y* (B1The shake maximum value in/all paths)+Z* (C1/ all
The packet loss maximum value in path)
Wherein:X, Y, Z are the weight parameter of time delay, shake and packet loss respectively;
The normalization numerical value for calculating all paths according to the method is D1、D2、……DN;
Take wherein the smallest path of numerical value be the first access gateway 101 send the suitable path of Media Stream.
11, the second access gateway 102 sends IP to all IP address of the first access gateway 101 in each IP address and surveys
Examination packet, and select a suitable path.
Select routing algorithm as follows:
Assuming that have N paths between the first access gateway 101 and the second access gateway 102, the starting of the second access gateway 102
Timer, sends the IP test bag of preset quantity in preset period of time on this N paths, and the second access gateway 102 is united respectively
Count time delay, shake and the packet loss of all IP test bags on N paths;
Corresponding time delay, shake and packet loss, time delay, shake and the packet loss difference of the first paths are obtained in each path
For A1', B1', C1', time delay, shake and the packet loss of N paths are respectively AN', BN', CN';
All path delays of time, shake and packet loss are normalized, by taking the first paths as an example:
D1'=X ' * (A1'/all paths time delay maximum value)+Y ' * (B1'/all paths shake maximum value)+Z ' *
(C1'/all paths packet loss maximum value)
Wherein X ', Y ', Z ' are the weight parameter of time delay, shake and packet loss respectively;
The normalization numerical value for calculating all paths according to the method is D1', D2' ... DN';
Take wherein the smallest path of numerical value be the second access gateway 102 send Media Stream that is to say the first access gateway 101
Receive the suitable path of Media Stream.
12, the first access gateway 101 sends the first access gateway 101 to Softswitch 2 and the second access gateway 102 is adopted
IP address sends the Media Stream of the first access gateway 101 to carry.
13, Softswitch 2 sends the first access gateway 101 to the second access gateway 102 and the second access gateway 102 is adopted
IP address.
14, the second access gateway 102 sends the second access gateway 102 to Softswitch 2 and the first access gateway 101 is adopted
IP address that is to say the received Media Stream of the first access gateway 101 with the Media Stream for carrying the second access gateway 102 of transmission.
15, Softswitch 2 sends the second access gateway 102 to the first access gateway 101 and the first access gateway 101 is adopted
IP address.
16, called subscriber's off-hook, the second access gateway 102 send Notify order to Softswitch 2.
17, Softswitch 2 sends Modify order to the first access gateway 101, cuts off ring-back tone.First access gateway
101 and second access gateway 102 establish connection.
18, in communication process, the first access gateway 101 starts timer, in preset period of time in each IP address
The IP test bag that preset quantity is sent to all IP address of the second access gateway 102 is tested each paths call scoring, and is pressed
The normalization numerical value in all paths is calculated according to algorithm before, if currently the first access gateway 101 of carrying sends Media Stream
When path is not optimal path, the first access gateway 101 issues the request of toggle path to the second access gateway 102.
19, the second access gateway 102 agrees to the request of toggle path, and Media Stream is switched on optimal path.
20, in communication process, the second access gateway 102 starts timer, in preset period of time in each IP address
The IP test bag that preset quantity is sent to all IP address of the first access gateway 101 is tested each paths call scoring, and is pressed
The normalization numerical value in all paths is calculated according to algorithm before, if currently the second access gateway 102 of carrying sends Media Stream
When path namely the path of the first access gateway 101 reception Media Stream are not optimal paths, the second access gateway 102 connects to first
The request of the sending toggle path of function Access Gateway 101.
21, the first access gateway 101 agrees to the request of toggle path, and Media Stream is switched on optimal path.
The method of access gateway, talk path selection in the present embodiment and the system of talk path selection, were conversing
Cheng Zhong persistently sends the path call scoring that IP test bag tests each paths between two access gatewaies, when current carrying hair
When sending or receive the path call scoring of Media Stream lower than other paths, holds consultation between two access gatewaies and switch road
Diameter promotes customer experience to effectively improve speech quality.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (11)
1. a kind of method of talk path selection, for carrying out preferred disposition to both call sides multipath to be selected, feature exists
In, including step:
Terminal identification list is established in media stream access gateway, the terminal identification list includes terminal transmission agreement, mould
Formula, jitter cache and voice compression algorithm;
The media stream access gateway at least sends end message to Softswitch, and the end message includes that terminal passes
Defeated agreement, IP address, the voice compression algorithm of RTP port numbers and use;
Obtain the mulitpath that the media stream access gateway sends Media Stream;
The media stream access gateway is sent in preset period of time to the transmission Media Stream a plurality of path to be selected respectively
The IP test bag of preset quantity;
The corresponding path evaluation parameter in every path is obtained, the path evaluation parameter includes at least the IP test bag
Time delay, shake and packet loss;
Time delay, shake and the packet loss parameter of the IP test bag in all paths are normalized, to calculate road
Diameter call scoring:
By the smallest path of call scoring of path described in all paths, it is determined as the media stream access net
Close the optimal path for sending Media Stream.
2. the method according to claim 1, wherein
Normalized processing formula to the path is:
Di=X* (AiThe time delay maximum value in/all paths)+Y* (BiThe shake maximum value in/all paths)+Z* (Ci/ all paths
Packet loss maximum value);
Wherein:I is integer, and 1≤i≤N;N is number of paths to be selected, for the natural number greater than 1;Ai、Bi、CiRespectively i-th
Time delay, shake and the packet loss in path;X, Y, Z are respectively the time delay of the i-th paths, the weight parameter of shake and packet loss;DiIt is i-th
The call of paths is scored.
3. the method according to claim 1, wherein determining the media stream access gateway transmission media
After the optimal path of stream, further include:
Judgement currently carries the media stream access gateway and sends whether the path of Media Stream is the optimal path;
If currently carrying the media stream access gateway and sending the path of Media Stream is not the optimal path,:It is described
The request of media stream access gateway sending toggle path;And if receive the request for agreeing to toggle path, Media Stream
It is switched on optimal path and is sent.
4. according to the method described in claim 3, it is characterized in that, being sent if currently carrying the media stream access gateway
The path of Media Stream is the optimal path, then keeps currently carrying the road that the media stream access gateway sends Media Stream
Diameter.
5. the method according to claim 1, wherein obtaining media stream access gateway sends the more of Media Stream
The step of paths, including:
The Softswitch receives the media stream access gateway respectively, Media Stream call receives what access gateway was sent
Respectively all IP address, RTP port numbers;
Access gateway is received according to the IP address of the media stream access gateway, RTP port numbers and Media Stream call
IP address, RTP port numbers matching, obtain the media stream access gateway and Media Stream call receive access gateway between
Path;
The media stream access gateway and Media Stream call are received into the path between access gateway as the Media Stream
Send the mulitpath that access gateway sends Media Stream.
6. method according to claim 1-5, which is characterized in that send the IP test bag to the path
The preset period of time range is 10s-50s, and the preset quantity range is 20-100 item.
7. method according to claim 1-5, which is characterized in that the media stream access gateway is call
The calling party's access gateway and/or callee's access gateway of both sides.
8. a kind of access gateway, for sending Media Stream, which is characterized in that described send is provided with mark increasing modeling in access gateway
Block, end message sending module, test bag setup module, parameter acquisition module, path call grading module and path determine mould
Block, wherein:
The mark increases modeling block, and for establishing terminal identification list in access gateway, the terminal identification list includes eventually
Hold transport protocol, mode, jitter cache and voice compression algorithm;
The end message sending module, at least for sending end message to Softswitch, the end message includes eventually
Hold transport protocol, IP address, the voice compression algorithm of RTP port numbers and use;
The test bag setup module is configured so that the access gateway in preset period of time to sending to be selected more of Media Stream
Path described in item sends the IP test bag of preset quantity respectively;
The parameter acquisition module, for obtaining the corresponding path evaluation parameter in every path, the path evaluation parameter
Including at least time delay, shake and the packet loss of the IP test bag;
The path call grading module, joins for the time delay of the IP test bag to all paths, shake and packet loss
Number is normalized, to calculate path call scoring;
The path determination module, for determining the smallest path of call scoring of path described in all paths
The optimal path of Media Stream is sent for the access gateway.
9. access gateway according to claim 8, which is characterized in that be additionally provided with path in the access gateway and judge mould
Block and path switching module, wherein:
The path judgment module, for judge currently to carry the access gateway send Media Stream path whether be it is described most
Shortest path;
The path switching module, if for not being described optimal currently carrying the access gateway to send the path of Media Stream
Path, then:The access gateway issues the request of toggle path;And if receive the request for agreeing to toggle path, media
Stream is switched on optimal path and is sent.
10. according to the described in any item access gatewaies of claim 8-9, which is characterized in that the access gateway is both call sides
Calling party's access gateway and/or callee's access gateway.
11. a kind of system of talk path selection carries out preferred disposition, including Media Stream hair for the multipath to both call sides
Send access gateway and Softswitch, which is characterized in that the media stream access gateway is any one of claim 8-10
The access gateway;
The Softswitch at least sends Media Stream mulitpath to be selected for obtaining the access gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813366.9A CN108881293A (en) | 2018-07-23 | 2018-07-23 | Access gateway, the method and its system of talk path selection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813366.9A CN108881293A (en) | 2018-07-23 | 2018-07-23 | Access gateway, the method and its system of talk path selection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108881293A true CN108881293A (en) | 2018-11-23 |
Family
ID=64304300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810813366.9A Pending CN108881293A (en) | 2018-07-23 | 2018-07-23 | Access gateway, the method and its system of talk path selection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881293A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114143251A (en) * | 2021-12-08 | 2022-03-04 | 北京天融信网络安全技术有限公司 | Intelligent routing method and device, electronic equipment and computer readable storage medium |
CN114363243A (en) * | 2021-06-07 | 2022-04-15 | 中宇联云计算服务(上海)有限公司 | Backbone link optimization method, system and equipment based on cloud network fusion technology |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030156543A1 (en) * | 2002-02-20 | 2003-08-21 | Zafer Sahinoglu | Dynamic optimal path selection in multiple communications networks |
CN1984200A (en) * | 2005-11-14 | 2007-06-20 | 美国博通公司 | Voice communication device supporting internet telephone and operation method thereof |
CN101242300A (en) * | 2007-10-26 | 2008-08-13 | 华为技术有限公司 | An acquisition method, system and device for IP bearing path quality |
CN101547188A (en) * | 2008-03-28 | 2009-09-30 | 中国人民解放军信息工程大学 | System and method for achieving generalized routing protocol of wireless sensor network |
CN102511155A (en) * | 2011-12-05 | 2012-06-20 | 华为技术有限公司 | IP path negotiation method, system and device |
CN103634299A (en) * | 2013-11-14 | 2014-03-12 | 北京邮电大学 | Real-time stream media transmission terminal and method based on multi-connection |
CN103957158A (en) * | 2014-04-14 | 2014-07-30 | 华为技术有限公司 | Determining method and device for flow forwarding path and communication system |
US20140269496A1 (en) * | 2013-03-14 | 2014-09-18 | T-Mobile Usa, Inc. | System and method for optimizing a media gateway selection in mobile switching center pool architecture |
-
2018
- 2018-07-23 CN CN201810813366.9A patent/CN108881293A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030156543A1 (en) * | 2002-02-20 | 2003-08-21 | Zafer Sahinoglu | Dynamic optimal path selection in multiple communications networks |
CN1984200A (en) * | 2005-11-14 | 2007-06-20 | 美国博通公司 | Voice communication device supporting internet telephone and operation method thereof |
CN101242300A (en) * | 2007-10-26 | 2008-08-13 | 华为技术有限公司 | An acquisition method, system and device for IP bearing path quality |
CN101547188A (en) * | 2008-03-28 | 2009-09-30 | 中国人民解放军信息工程大学 | System and method for achieving generalized routing protocol of wireless sensor network |
CN102511155A (en) * | 2011-12-05 | 2012-06-20 | 华为技术有限公司 | IP path negotiation method, system and device |
US20140269496A1 (en) * | 2013-03-14 | 2014-09-18 | T-Mobile Usa, Inc. | System and method for optimizing a media gateway selection in mobile switching center pool architecture |
CN103634299A (en) * | 2013-11-14 | 2014-03-12 | 北京邮电大学 | Real-time stream media transmission terminal and method based on multi-connection |
CN103957158A (en) * | 2014-04-14 | 2014-07-30 | 华为技术有限公司 | Determining method and device for flow forwarding path and communication system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114363243A (en) * | 2021-06-07 | 2022-04-15 | 中宇联云计算服务(上海)有限公司 | Backbone link optimization method, system and equipment based on cloud network fusion technology |
CN114363243B (en) * | 2021-06-07 | 2024-04-12 | 中宇联云计算服务(上海)有限公司 | Backbone link optimization method, system and equipment based on cloud network fusion technology |
CN114143251A (en) * | 2021-12-08 | 2022-03-04 | 北京天融信网络安全技术有限公司 | Intelligent routing method and device, electronic equipment and computer readable storage medium |
CN114143251B (en) * | 2021-12-08 | 2023-10-13 | 北京天融信网络安全技术有限公司 | Intelligent routing method, intelligent routing device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7006490B2 (en) | Method and apparatus for providing efficient circuit switch-to-switch communication | |
US7844039B2 (en) | Methods for providing prepaid telephony service via an internet protocol network system | |
CA2238911C (en) | Method of accessing a scp in an isup network with partial release | |
JP3880867B2 (en) | IP packet access gateway (IPPAG) system and method and computer program product for managing IP bearer paths between IP endpoints | |
US6389119B1 (en) | Dual-circuit telephony | |
JP2001144854A (en) | Method and device for connecting telephone via ip network | |
US7519732B2 (en) | Routing service method in voice over internet protocol system | |
JP2008546245A (en) | System and method for proxy signal manipulation in an IP telephone network | |
US20050105708A1 (en) | Method of routing signals through communication networks | |
CN108881293A (en) | Access gateway, the method and its system of talk path selection | |
EP1672900A1 (en) | Group-hunting service for VOIP terminals | |
KR100722718B1 (en) | Detection of Looping Communication Channels | |
CN101273609B (en) | Telephone call processing method and apparatus | |
CN101030999B (en) | System and method for utilizing narrow-band color bell by wide-band user | |
CN100589506C (en) | System and method for sharing color bell in wide and narrow band network | |
US8121276B2 (en) | Multicast call processing unit for telecommunication devices | |
CN100574349C (en) | Between the subscriber station of the switching system that contains two communication networks, produce the method that communicates to connect | |
CN100373901C (en) | Port dynamic binding module for media gateway and dynamic binding method thereof | |
US7120240B2 (en) | Method for auditory differentiation of forwarded phone calls | |
US20090003561A1 (en) | Systems and methods for a hybrid telephony service | |
CN101106733B (en) | A forward processing method for one-in-two SIM card service in next-generation of network | |
CN1761272B (en) | Method for realizing intellectualized call | |
CN101483702B (en) | Call pickup method and system based on soft switch | |
KR100941753B1 (en) | An IP telephony service system for providing ring-back tone selected by terminated call user and a method thereof | |
CN110198279A (en) | A kind of method and forwarding server of forwarding media packet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |