CN1549540A - Routing searching method of soft exchange equipment - Google Patents
Routing searching method of soft exchange equipment Download PDFInfo
- Publication number
- CN1549540A CN1549540A CNA031365205A CN03136520A CN1549540A CN 1549540 A CN1549540 A CN 1549540A CN A031365205 A CNA031365205 A CN A031365205A CN 03136520 A CN03136520 A CN 03136520A CN 1549540 A CN1549540 A CN 1549540A
- Authority
- CN
- China
- Prior art keywords
- route
- softswitch
- routing table
- destination
- local routing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The method is as the follows: local route list is set in soft switch equipment (SSE) in advance, route of the destination end soft switch equipment (DESSE) is inquired in local route list when SSE requires to issue calling to DESSE, calling is directly issued to DESSE according to the route if route is found, other wise the route is to be inquired in position server, it is kept in local route list by SSE if the route is found and calling is issued to DESSE as per the route, route is refreshed by utilizing life period of route and statistical counts of calling failure.
Description
Technical field
The present invention relates to the call technology field of next generation network, be meant a kind of Softswitch method for searching route especially.
Background technology
Next generation network (NGN) based on soft switch (Soft Switch) technology, adopt H323 gateway, session initiation protocol (SIP, Session Initiation Protocol) Softswitch such as gateway is realized the transmission that speech, image, data etc. are professional, and storage comprises in location server (LS, Location Server): the route of Softswitch among the NGN such as number segment, gateway ip address, port numbers.When a Softswitch makes a call to the destination Mobile Station International ISDN Number of another Softswitch, to know the other side's route earlier, this moment, Softswitch made a call after can inquiring the other side's route to the LS by certain vlan query protocol VLAN again.
In RFC2871 Section10.2, mention, can comprise with the vlan query protocol VLAN of coming the last inquiry of LS route: location-based service agreement (SLP, Service Location Protocol), open settlement protocol (OSP, Open Settlements Protocol), light directory access protocol (LDAP, Lightweight DirectoryAccess Protocol), webpage (Web Page) technology, IP phone route (TRIP, TelephonyRouting over IP) etc.
Briefly introduce two kinds of route querying modes that generally adopt at present among the NGN below.
A kind of mode is that the every initiation call of Softswitch all will arrive and searches route on the LS.Its implementation procedure is as follows:
Softswitch at first will be determined the destination Softswitch route of calling out before making a call, it is by the routing inquiry agreement between Softswitch and the LS, searched the destination address of calling to the LS.After LS receives query requests, the route of in the phone routing database of oneself, searching the destination Softswitch, and lookup result returned to Softswitch by the routing inquiry agreement between Softswitch and the LS.If found the route corresponding to call number, Softswitch is just according to the gateway ip address and the port numbers of this route, to destination Softswitch telephone calling.
The shortcoming of this solution is: in this technical scheme, do not preserve any route that is found by the routing inquiry agreement that goes up from LS on the Softswitch.Under the situation that Softswitch is called out in a large number, Softswitch will send a large amount of routing inquiry request to LS.Because the processing of inquiry request message needs a period of time, so can postpone the time that Softswitch makes a call, speed of route lookup is slower.LS will handle a large amount of routing inquiry request simultaneously, needs the high processing performance.Between Softswitch and LS, a large amount of routing inquiry request and response have taken Softswitch and more CPU processing time and the system resource of LS, and the disposal ability of equipment all needs to improve.If short-duration failure takes place LS, or soft switch and LS communication temporarily interrupt, all the route that will cause Softswitch to can not get calling out.
The another kind of mode that adopts is all routing iinformations of preserving in Softswitch on the LS at present, and upgrades routing information base at any time with LS, and the route of Softswitch and the route on the LS are reached fully synchronously.Its implementation is as follows:
The Softswitch operation is used for being configured to the TRIP peer-to-peer with the TRIP agreement of propagating route mutually from LS acquisition route and corresponding LS alternately between the LS.Deng Softswitch be connected with TRIP between the LS set up successfully after, Softswitch can be obtained all routing iinformations on the LS by the TRIP agreement.When the routing information base on the LS changes, can be by the TRIP agreement the information notice Softswitch that changes, renewable oneself the routing information base of Softswitch.Owing to have all the elements that LS goes up the route information bank on the Softswitch, can directly search the destination Softswitch route that local routing information base obtains calling out when Softswitch makes a call.
Yet the shortcoming of this scheme is: Softswitch need be supported complicated TRIP agreement, to have the mutual function of route, has increased the weight of the burden of Softswitch.Simultaneously, all need to preserve a large amount of routes on each Softswitch, additionally taken a large amount of internal memories, wasted system resource.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of Softswitch method for searching route, make Softswitch need not to support complicated TRIP agreement, just can improve the speed of route lookup of soft switch, alleviate the processing burden of Softswitch and LS, and make Softswitch when short duration failure takes place LS, also can find the route that part is called out.
Further purpose of the present invention is the memory space and the system resource of as far as possible saving Softswitch.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of Softswitch method for searching route may further comprise the steps:
A) local routing table is set in Softswitch;
B) Softswitch search purposes end Softswitch route in local routing table;
C) if find the route of this destination Softswitch, then according to this route direct calling, otherwise, in the server of position, inquire about route, enter step d);
D) if location server finds this destination Softswitch route in the routing information base of self, then this route that finds is returned to Softswitch, enter step e), otherwise the notice Softswitch is searched failure, finishes;
E) Softswitch destination Softswitch route record that location server is returned is in local routing table, and directly makes a call to the destination Softswitch according to this route;
This method further is provided with the status items of upgrading route, then step c) and e in the Softswitch local routing table) further comprise after described the making a call: according to the success or the failure of calling out, upgrade the status items of each route in the local routing table.
The status items of the described route of this method is the life cycle item of route, when the destination Softswitch makes a call success, the life cycle that this destination Softswitch route is set is the maximum lifetime value, if the route in the local routing table still was not used when its life cycle finishes, then this route is deleted from local routing table.
This method step e) described in the record be meant local routing table less than the time, when local routing table is expired, then from local routing table, find out a shortest route of life cycle value, replace the shortest route of this life cycle value with the destination Softswitch route of current acquisition.
This method step e) described in route record behind local routing table, further comprise: the life cycle that this destination Softswitch route is set is the maximum lifetime value.
The status items of the described route of this method is the call failure statistical counting item of route, when making a call failure to the destination Softswitch, the call failure statistical counting of this destination Softswitch route is added 1, when the call failure statistical counting of route in the routing table reaches rated value, then this route is deleted from local routing table.
This method step e) described in route record is further comprised behind local routing table: the call failure statistical counting that this destination Softswitch route is set is 0.
This method further comprises after making a call success to the destination Softswitch: judge that whether non-the error statistics counting of this route 0, if then the call failure statistical counting value with this route subtracts 1, otherwise, finish.
From such scheme as can be seen, a kind of Softswitch method for searching route of the present invention, by local routing table is set, to be kept at Softswitch from the part route that LS finds, and before per call, go to search the route of preserving on the Softswitch earlier, thereby avoid each calling all will arrive and search route on the LS, reduce Softswitch and searched the number of times of route to the position server, accelerated the speed that soft switch is called out, save CPU processing time and the system resource of LS, when the LS short duration failure, also can find the route that part is called out.In addition, Softswitch can be searched route to LS by common routing inquiry agreement, need not to support complicated TRIP agreement, the memory space and the system resource of further saving Softswitch.And also further life cycle and the call failure statistical counting by route in the local routing table is set in time removed the aging and wrong route in the local routing table, saved the memory space of Softswitch, improved resource utilization ratio.
Description of drawings
Fig. 1 is the flow chart of the preferable embodiment of the present invention;
Fig. 2 is that the preferable embodiment of the present invention is to route life cycle process chart in the local routing table.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Overall plan of the present invention is: the routing table that the local cache form is set in Softswitch in advance.If Softswitch need make a call to certain destination Softswitch, at first in local routing table, inquire about the route of the destination Softswitch of being called out; If find the route of this destination Softswitch, then directly make a call to the destination Softswitch according to this route; Otherwise, by the routing inquiry agreement between Softswitch and the LS, send the query requests of searching this destination Softswitch route to LS, if LS has found this route in the routing information base of self, then return to Softswitch, Softswitch is kept at local routing table with this route, and directly makes a call to the destination Softswitch according to this route.If LS does not find this destination Softswitch route, then can return the information of searching failure to Softswitch.
Below in conjunction with flow process shown in Figure 1, the complete skill scheme of better embodiment of the present invention is described:
In the present embodiment, routing table is kept in the internal memory of Softswitch, and, improve routing table lookup efficient in order to save Softswitch memory space and system resource, also establish the following status items that is used to limit the local routing table size, prevents the route that routing table data is aging:
In order in time to eliminate route aging in the local routing table, for every the route that deposits in the local routing table is set up the life cycle item, for example 60 minutes.When the life cycle of route finishes, Softswitch will be deleted this route from the buffer memory routing table of this locality.
Full when the buffer memory routing table of Softswitch this locality, find a new route from LS again simultaneously, need from the buffer memory routing table, find a shortest route of life cycle, cover this route with new route.
And in order to remove wrong route in the routing table, further save memory headroom, improve the route access efficiency, in local routing table, set up the call failure statistical counting for every route.In the buffer memory routing table of Softswitch, find the destination route, but when calling out with this route in this locality, as if call failure, just increase this cache way by the call failure statistical counting.
When cache way by the call failure statistical counting reach certain value, for example when for 2 the time, just from the local cache routing table this cache way of deletion by.
In the buffer memory routing table of Softswitch, find route in this locality, and during access success, revise this cache way by life cycle be maximum lifetime, simultaneously, if the call failure statistical counting non-zero of this route then subtracts 1 to the call failure statistical counting of this route.
Referring to shown in Figure 1, present embodiment specifically may further comprise the steps:
Softswitch to the life cycle processing procedure of route in the local routing table referring to shown in Figure 2, after the life cycle of initialization route, along with the Softswitch clock is walked about, the life cycle value of route reduces gradually, when the life cycle value of certain route reduces to 0, this route of deletion from the routing table of buffer memory.
Use the invention described above technical scheme, Softswitch can be provided with the size of buffer memory routing table flexibly according to disposal ability and the system resource size of oneself, and what preserve in the buffer memory routing table of Softswitch only is up-to-date, the most frequently used calling route.After calling out a period of time, because calling out, the most frequently used major part can in the buffer memory routing table of this locality, find route, needn't all to LS, search route at every turn, so can accelerate the speed that soft switch is called out, improve the disposal ability of Softswitch.Simultaneously, because routing inquiry request message and routing inquiry response message between Softswitch and the LS reduce in a large number, also can save CPU processing time and the system resource of Softswitch and LS.
Softswitch of the present invention can be H323 gateway, SIP gateway etc., and can also be used for the route querying between H323 gateway and the H323 gatekeeper.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1, a kind of Softswitch method for searching route is characterized in that, may further comprise the steps:
A) local routing table is set in Softswitch;
B) Softswitch search purposes end Softswitch route in local routing table;
C) if find the route of this destination Softswitch, then according to this route direct calling, otherwise, in the server of position, inquire about route, enter step d);
D) if location server finds this destination Softswitch route in the routing information base of self, then this route that finds is returned to Softswitch, enter step e), otherwise the notice Softswitch is searched failure, finishes;
E) Softswitch destination Softswitch route record that location server is returned is in local routing table, and directly makes a call to the destination Softswitch according to this route;
2, according to the described method of claim 1, it is characterized in that, the status items of upgrading route is set, then step c) and e in the Softswitch local routing table) further comprise after described the making a call: according to the success or the failure of calling out, upgrade the status items of each route in the local routing table.
3, according to the described method of claim 2, it is characterized in that, the status items of described route is the life cycle item of route, when the destination Softswitch makes a call success, the life cycle that this destination Softswitch route is set is the maximum lifetime value, if the route in the local routing table still was not used when its life cycle finishes, then this route is deleted from local routing table.
4, according to the described method of claim 3, it is characterized in that, described in the step e) record be meant local routing table less than the time, when local routing table is expired, then from local routing table, find out a shortest route of life cycle value, replace the shortest route of this life cycle value with the destination Softswitch route of current acquisition.
5, according to the described method of claim 3, it is characterized in that, described in the step e) with route record behind local routing table, further comprise: the life cycle that this destination Softswitch route is set is the maximum lifetime value.
6, according to the described method of claim 2, it is characterized in that, the status items of described route is the call failure statistical counting item of route, when making a call failure to the destination Softswitch, the call failure statistical counting of this destination Softswitch route is added 1, when the call failure statistical counting of route in the routing table reaches rated value, then this route is deleted from local routing table.
7, according to the described method of claim 6, it is characterized in that, described in the step e) route record is further comprised behind local routing table: the call failure statistical counting that this destination Softswitch route is set is 0.
8, according to the described method of claim 6, it is characterized in that, after making a call success, further comprise: the error statistics counting of judging this route whether non-0 to the destination Softswitch, if, then the call failure statistical counting value with this route subtracts 1, otherwise, finish.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031365205A CN100536443C (en) | 2003-05-22 | 2003-05-22 | Routing searching method of soft exchange equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031365205A CN100536443C (en) | 2003-05-22 | 2003-05-22 | Routing searching method of soft exchange equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1549540A true CN1549540A (en) | 2004-11-24 |
CN100536443C CN100536443C (en) | 2009-09-02 |
Family
ID=34323356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031365205A Expired - Fee Related CN100536443C (en) | 2003-05-22 | 2003-05-22 | Routing searching method of soft exchange equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100536443C (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100433732C (en) * | 2006-09-25 | 2008-11-12 | 中兴通讯股份有限公司 | Method for realizing differentiated service according to routequality selection in soft exchange network |
CN101137209B (en) * | 2006-08-30 | 2010-07-07 | 华为技术有限公司 | Location routing based system and location routing device and method thereof |
CN1870641B (en) * | 2005-12-05 | 2010-07-28 | 华为技术有限公司 | Method for inquiring route data |
WO2012022142A1 (en) * | 2010-08-18 | 2012-02-23 | 中兴通讯股份有限公司 | Method and system for server iterative search and server thereof |
CN102571863A (en) * | 2010-12-30 | 2012-07-11 | 国际商业机器公司 | Method and device for realizing content sharing between mobile terminals |
CN112532546A (en) * | 2020-11-24 | 2021-03-19 | 上海浦东发展银行股份有限公司 | Call route selection method based on soft switch |
CN115883440A (en) * | 2021-09-27 | 2023-03-31 | 成都鼎桥通信技术有限公司 | Data processing method, device, equipment and storage medium |
-
2003
- 2003-05-22 CN CNB031365205A patent/CN100536443C/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1870641B (en) * | 2005-12-05 | 2010-07-28 | 华为技术有限公司 | Method for inquiring route data |
CN101137209B (en) * | 2006-08-30 | 2010-07-07 | 华为技术有限公司 | Location routing based system and location routing device and method thereof |
CN100433732C (en) * | 2006-09-25 | 2008-11-12 | 中兴通讯股份有限公司 | Method for realizing differentiated service according to routequality selection in soft exchange network |
WO2012022142A1 (en) * | 2010-08-18 | 2012-02-23 | 中兴通讯股份有限公司 | Method and system for server iterative search and server thereof |
CN102571863A (en) * | 2010-12-30 | 2012-07-11 | 国际商业机器公司 | Method and device for realizing content sharing between mobile terminals |
US9154997B2 (en) | 2010-12-30 | 2015-10-06 | International Business Machines Corporation | Content sharing among mobile terminals |
US9264511B2 (en) | 2010-12-30 | 2016-02-16 | International Business Machines Corporation | Content sharing among mobile terminals |
CN112532546A (en) * | 2020-11-24 | 2021-03-19 | 上海浦东发展银行股份有限公司 | Call route selection method based on soft switch |
CN112532546B (en) * | 2020-11-24 | 2022-08-12 | 上海浦东发展银行股份有限公司 | Call route selection method based on soft switch |
CN115883440A (en) * | 2021-09-27 | 2023-03-31 | 成都鼎桥通信技术有限公司 | Data processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100536443C (en) | 2009-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100459723C (en) | Method for realizing routing for next-generation network | |
CN101047548A (en) | Communication in multiple NAT private network | |
CN1232135C (en) | An end-to-end routing method of voice core network in wireless internet protocol | |
CN1878164A (en) | E.164 number domain name storing and searching method | |
CN1549540A (en) | Routing searching method of soft exchange equipment | |
EP2027701A1 (en) | Name-address management in communication networks | |
Pitoura et al. | An efficient hierarchical scheme for locating highly mobile users | |
CN1809177A (en) | Method of implementing central subscriber exchange in WAN | |
CN1897560A (en) | Method for improving routing list capacity | |
CN1402488A (en) | Routing table compression method | |
CN1625146A (en) | Method and system for realizing sharing intelligent route | |
CN1842171A (en) | A method of call connection | |
CN1933450A (en) | Interplate communicating method and interface plate | |
CN1842170A (en) | Cross-service control point call forwarding method | |
CN1767509A (en) | Method for realizing external network user crossing NAT equipment | |
CN1484414A (en) | Changeable calling method for IP network telephone | |
CN1223158C (en) | Method for interactive access between digital terminal and speech terminal | |
CN1929518A (en) | Method, system and device for realizing NP business | |
CN1835470A (en) | Opposite rutes fast finding method of network and route search system | |
CN1870766A (en) | Voice transmission method and system | |
CN1156120C (en) | Method for providing intelligent net service, network nodal net gate and storage medium | |
CN1889610A (en) | Large-capacity distributing signalling processing equipment and method thereof | |
CN1815999A (en) | Method for increasing mobile IPv4 other place agent transmission property | |
CN1306779C (en) | Medium flow processing method in IP network | |
CN1735052A (en) | System and method for realizing mapping from telephone number to IP network address based on existing DNS (domain name service) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090902 |
|
CF01 | Termination of patent right due to non-payment of annual fee |