CN108667667A - Soft switch method of calling and soft switch calling system - Google Patents

Soft switch method of calling and soft switch calling system Download PDF

Info

Publication number
CN108667667A
CN108667667A CN201810487285.4A CN201810487285A CN108667667A CN 108667667 A CN108667667 A CN 108667667A CN 201810487285 A CN201810487285 A CN 201810487285A CN 108667667 A CN108667667 A CN 108667667A
Authority
CN
China
Prior art keywords
access gateway
softswitch
long connection
packet
service device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810487285.4A
Other languages
Chinese (zh)
Other versions
CN108667667B (en
Inventor
张余
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810487285.4A priority Critical patent/CN108667667B/en
Publication of CN108667667A publication Critical patent/CN108667667A/en
Application granted granted Critical
Publication of CN108667667B publication Critical patent/CN108667667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Abstract

The invention belongs to Internet technical fields, and in particular to a kind of soft switch method of calling and soft switch calling system.The soft switch method of calling, including step:Access gateway is registered to main Softswitch;When the access gateway succeeds in registration to the main Softswitch, the address of long Connection Service device is obtained;The access gateway periodically keeps link information packet to the long Connection Service device, and keeps long connection by the long Connection Service device and the main Softswitch;The long Connection Service device periodically sends connection to the main Softswitch and keeps packet.The soft switch method of calling and soft switch calling system, long Connection Service device is separately provided to mitigate the long connection pressure of soft switching server processing, access gateway keeps heartbeat mechanism with long Connection Service device, and long Connection Service device keeps heartbeat mechanism to realize backup with main Softswitch.

Description

Soft switch method of calling and soft switch calling system
Technical field
The invention belongs to Internet technical fields, and in particular to a kind of soft switch method of calling and soft switch calling system.
Background technology
Soft switch (Soft Swi tch) is provided at call control function and media using general switching software based on grouping net Manage the equipment and system of phase separation.The basic meaning of soft switch is the separation from Media Gateway (transport layer) by call control function Out, it by software realization basic call control function, to realize the separation of calling transmission and Call- Control1, in order to control, hands over Change the plane that separation is established with software programmable function.
Soft-exchange construction provides connection control, translation and routing, gateway management, Call- Control1, Bandwidth Management, signaling, peace The full functions such as property and call detail record;At the same time, also Internet resources, network capabilities are encapsulated, pass through standard open Business interface be connected with service application layer, it is convenient to new business is quickly provided on network.
Since audio call is required for realizing by Softswitch, Softswitch should realize backup, work as master After Softswitch breaks down, backup Softswitch bears call control function.It is existing about Softswitch Backup is mainly request of the access gateway with detection cycle to soft switching server transmission corresponding to each user, and according to soft friendship Whether changing server, whether to respond these requests in the given time normal to detect soft switching server, due to its transmission request Detection cycle fix, when the user for being connected to soft switching server is more, link can be caused to block, influence regular traffic.
This mode although extend access gateway to soft switching server send detection request period, but not from Fundamentally change soft switching server to need to handle the pressure of a large amount of detection requests.How soft switching server is fundamentally alleviated The pressure of a large amount of detection requests of processing, becomes a technical problem to be solved urgently.
Invention content
The technical problem to be solved by the present invention is to be directed to above-mentioned deficiency in the prior art, a kind of soft switch caller is provided Method and soft switch calling system, by the way that long Connection Service device is separately provided, access gateway keeps heartbeat machine with long Connection Service device System, and long Connection Service device keeps heartbeat mechanism to realize backup with main Softswitch.
Technical solution is the soft switch method of calling, including step used by solving present invention problem:
Access gateway is registered to main Softswitch;
When the access gateway succeeds in registration to the main Softswitch, the address of long Connection Service device is obtained;
The access gateway periodically keeps link information packet to the long Connection Service device, and passes through the long connection clothes Business device keeps long connection with the main Softswitch;
The long Connection Service device periodically sends connection to the main Softswitch and keeps packet.
Preferably, further include:
The long Connection Service device keeps information according to the connection with the main Softswitch, judges the main soft switch The state of equipment;
When the main Softswitch breaks down, the long Connection Service device is kept to the main Softswitch The access gateway of long connection sends the information for switching to backup Softswitch;
The access gateway is registered to the backup Softswitch;
When the access gateway succeeds in registration to the backup Softswitch, the address of long Connection Service device is obtained;
The access gateway periodically keeps link information packet to the long Connection Service device, and passes through long Connection Service device Long connection is kept with main Softswitch;
The long Connection Service device periodically sends connection to the backup Softswitch and keeps packet.
Preferably, access gateway is registered to the main Softswitch or the backup Softswitch, including:
After the main Softswitch or the backup Softswitch receive the log-on message packet of access gateway, take out Username and password therein is sent to certificate server and is authenticated, after certification passes through, the main Softswitch or described Backup Softswitch sends the packet that succeeds in registration to the access gateway, and the ground of long Connection Service device is provided in packet Location;
Network address translation apparatus sends the information that succeeds in registration to the access gateway, and provides the ground of long Connection Service device Location.
Preferably, the access gateway succeeds in registration to the main Softswitch or the backup Softswitch, The address of long Connection Service device is obtained, including:
The access gateway sends log-on message packet, registration to the main Softswitch or the backup Softswitch Include the device id of the access gateway, the telephone number administered, the user name needed in verification process and close in packet Code;
Network address translation apparatus carries out address conversion to the log-on message packet that the access gateway is sent, by the access The source private network IP address of gateway is converted to the public network IP address of the network address translation apparatus, and log-on message packet is sent to institute State main Softswitch or the backup Softswitch.
Preferably, the access gateway periodically keeps link information packet to the long Connection Service device, and passes through length During Connection Service device keeps long connection with main Softswitch:
What the access gateway received that the main Softswitch or the backup Softswitch send succeeds in registration After packet, the address of the long Connection Service device is extracted from packet, is periodically sent to the long Connection Service device Connection keeps packet;
Network address translation apparatus carries out address conversion, and periodically sending connection to the long Connection Service device keeps information Packet;
The long Connection Service device preserves public ip address of the access gateway on the network address translation apparatus Port numbers pair and corresponding telephone number, and send connection to the access gateway and keep packet;
The network address translation apparatus keeps response message packet to carry out the long Connection Service device connection received Target ip address is converted to the private network IP address of the access gateway by address conversion, and sending connection to the access gateway protects Hold response message packet.
Preferably, the long Connection Service device keeps the long access gateway connected to the main Softswitch The information for switching to backup Softswitch is sent, including:
The long Connection Service device is switched to the backup Softswitch to all accessing gateway equipment transmissions Information;
Network address translation apparatus sends the packet for being switched to the backup Softswitch to the access gateway.
A kind of soft switch calling system, including main Softswitch and access gateway further include long Connection Service device, described Long Connection Service device is configured to keep packet to realize by sending to connect with the access gateway or the main Softswitch Heartbeat mechanism.
Preferably, further include network address translation apparatus, the network address translation apparatus is configured to:
Address conversion is carried out to the log-on message packet that the access gateway is sent, by the source private network IP of the access gateway Location is converted to the public network IP address of the network address translation apparatus, and log-on message packet is sent to the main Softswitch;
And to the main Softswitch be sent to the access gateway succeed in registration packet into row address turn It changes, target ip address is converted to the private network IP address of the access gateway, the information that succeeds in registration is sent to the access gateway It wraps, the address of long Connection Service device is provided in packet;
And the connection of the access gateway to receiving keeps packet to carry out address conversion, by the access gateway Source private network IP address be converted to the public network IP address of the network address translation apparatus, periodically to the long Connection Service device It sends connection and keeps packet;
And keep response message packet to carry out address conversion the long Connection Service device connection received, by target IP address conversion is the private network IP address of access gateway, and sending connection to the access gateway keeps response message packet.
Preferably, further include backup Softswitch, the long Connection Service device is additionally configured to work as the main soft switch When equipment breaks down, notify that the access gateway is switched to backup Softswitch, and respectively with the access gateway or The backup Softswitch keeps packet to realize heartbeat mechanism by sending to connect.
Preferably, the network address translation apparatus is additionally configured to:
The laggard row address conversion of handover information packet that the long Connection Service device is sent out is received, target ip address is converted For the private network IP address of access gateway, the packet for being switched to the backup Softswitch is sent to the access gateway;
And address conversion is carried out to the log-on message packet that the access gateway is sent, the source of the access gateway is private Net IP address conversion is the public network IP address of the network address translation apparatus, and registration letter is sent to the backup Softswitch Breath.
The beneficial effects of the invention are as follows:
The soft switch method of calling and soft switch calling system of the present invention, is specially separately provided long Connection Service device, privately owned Address access gateway keeps long connection with the long Connection Service device, alleviates the pressure of a large amount of detection requests of soft switching server processing Power;Also, it is realized and is backed up according to heartbeat mechanism in the state of keeping long connection in conjunction with soft switching server and access gateway, Ensure regular traffic;
Due to introducing individually long Connection Service device so that do not send connection between access gateway and main Softswitch and protect Packet is held, to preferably solve when main Softswitch breaks down, how access gateway is switched to the soft friendship of backup The problem of exchange device.
Description of the drawings
Fig. 1 is the flow chart of soft switch method of calling in the embodiment of the present invention 1;
Fig. 2 is the detail flowchart of soft switch method of calling in Fig. 1;
Fig. 3 is the flow chart of soft switch method of calling in the embodiment of the present invention 2;
Fig. 4 is the detail flowchart of soft switch method of calling in Fig. 3;
In attached drawing mark:
The main Softswitch of 1-;2- access gatewaies;3- long Connection Service devices;4- network address translation apparatus;5- backups are soft Switching equipment.
Specific implementation mode
To make those skilled in the art more fully understand technical scheme of the present invention, below in conjunction with the accompanying drawings and specific embodiment party Formula is described in further detail soft switch method of calling of the present invention and soft switch calling system.
Softswitch in the network of soft-exchange construction, Tandem Gateway, signaling gateway and access gateway function be situated between respectively It continues as follows:
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 The SS7 signaling messages for sending and receiving standard in circuit switching net side are closed, working group is transmitted using IETF signalings in grouping net side (SIGTRAN) adaptation layer protocol and transport layer protocol of standard, adaptation ability is strong, multiple functional, and reliability is high.
Access gateway (Access Gateway, abbreviation AG) is grouped net for user terminal to be directly accessed IP, such as common 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.
Since IPv4 (Internet Protocol, Internet protocol fourth edition) publicly-owned address quantity remaining is few, therefore Access gateway all distributes private IP address, passes through network address translation apparatus (Network Address Translation, letter Claim NAT) on be linked to Softswitch, when access gateway as it is called when, Softswitch, which needs to be addressed to the access gateway, to be set It is standby, therefore accessing gateway equipment needs to keep long connection with Softswitch.
When the access gateway quantity that a Softswitch has under its command is huger, due to each access gateway be required for Softswitch keeps long connection, Softswitch to need to expend certain processing capacity to keep huge number of long connection, This certainly will be by traffic affecting quality.
The soft switch method of calling and soft switch calling system of the present invention, is specially separately provided long Connection Service device, privately owned Address access gateway keeps long connection with the long Connection Service device, alleviates the pressure of a large amount of detection requests of soft switching server processing Power;Also, it is realized and is backed up according to heartbeat mechanism in the state of keeping long connection in conjunction with soft switching server and access gateway, Ensure regular traffic.That is, when long Connection Service device is separately provided to mitigate the long connection pressure of soft switching server processing, connect Function Access Gateway keeps heartbeat mechanism with long Connection Service device, and long Connection Service device keeps heartbeat mechanism real with main Softswitch Now back up.
Embodiment 1:
As shown in Figure 1, and with reference to Fig. 2, this using under independent long Connection Service device and heartbeat mechanism, this is soft Exchanging method of calling includes:
Step S1):Access gateway 2 is registered to main Softswitch 1.
In this step, access gateway 2 sends log-on message packet to main Softswitch 1, includes to connect in log-on message packet The information such as the username and password needed in the device id of function Access Gateway 2, the telephone number administered, verification process, in corresponding diagram 2 1..
The destination address that access gateway 2 sends log-on message is main Softswitch 1, is during which set by network address translation It is forwarded again after standby 4 progress address conversion, the log-on message of access gateway 2 is sent to main soft switch by network address translation apparatus 4 Equipment 1, and the information exchange between access gateway 2 and main Softswitch 1 is carried out by network address translation apparatus 4.Specifically , network address translation apparatus 4 carries out address conversion to the log-on message packet that access gateway 2 is sent, and the source of access gateway 2 is private Net IP address conversion is the public network IP address of network address translation apparatus 4, and log-on message packet is sent to main Softswitch 1, In corresponding diagram 2 2..
Step S2):When access gateway 2 succeeds in registration to main Softswitch 1, the address of long Connection Service device 3 is obtained.
Access gateway 2 succeeds in registration, and main Softswitch 1 is authenticated the username and password in log-on message packet, After certification passes through, transmission is succeeded in registration packet, and the address of long Connection Service device 3 is provided in packet, i.e. main Softswitch 1 The address of long Connection Service device 3 is provided to access gateway 2.
Specifically, after main Softswitch 1 receives the log-on message packet of access gateway 2, take out user name therein and Password is sent to certificate server and is authenticated, and after certification passes through, main Softswitch 1 succeeds in registration to the transmission of access gateway 2 Packet, provides the address of long Connection Service device 3 in packet, in corresponding diagram 2 3..
Equally, network address translation apparatus 4 sends the information that succeeds in registration to access gateway 2, and provides long Connection Service device 3 Address.Specifically, network address translation apparatus 4 is sent to main Softswitch 1 packet that succeeds in registration of access gateway 2 Address conversion is carried out, target ip address is converted to the private network IP address of access gateway 2, is succeeded in registration to the transmission of access gateway 2 Packet, provides the address of long Connection Service device 3 in packet, in corresponding diagram 2 4..
Step S3):Access gateway 2 periodically keeps link information packet to long Connection Service device 3, and passes through long Connection Service Device 3 keeps long connection with main Softswitch 1.
After access gateway 2 receives the packet that succeeds in registration of the transmission of main Softswitch 1, illustrate to main Softswitch 1 succeeds in registration, and access gateway 2 extracts the address of long Connection Service device 3 from the packet that succeeds in registration, and passes through long Connection Service Device 3 keeps long connection with main Softswitch 1, and is set by the progress of network address translation apparatus 4 access gateway 2, main soft switch Standby information exchange between 1 and long Connection Service device 3.
Specifically, after access gateway 2 receives the packet that succeeds in registration that main Softswitch 1 is sent, from packet The address of long Connection Service device 3 is extracted, periodically sending connection to long Connection Service device 3 keeps packet, is wrapped in packet Containing the telephone number that access gateway 2 has under its command, in corresponding diagram 2 5..
Equally, it is long Connection Service device 3 that access gateway 2, which sends long connection and keeps the destination address of packet, is during which passed through Network address translation apparatus 4 forwards again after carrying out address conversion.Network address translation apparatus 4 carry out address conversion, periodically to Long Connection Service device 3 sends connection and keeps packet.Specifically, network address translation apparatus 4 connects the access gateway 2 received It connects and packet is kept to carry out address conversion, the source private network IP address of access gateway 2 is converted to the public affairs of network address translation apparatus 4 Net IP address periodically sends to long Connection Service device 3 and connects holding packet, in corresponding diagram 2 6..
Long Connection Service device 3 preserve public ip address port numbers pair of the access gateway 2 on network address translation apparatus 4 and Corresponding telephone number, and send connection to access gateway 2 and keep packet.Specifically, long Connection Service device 3 receives access After the connection that gateway 2 is sent keeps packet, public ip address of the access gateway 2 on network address translation apparatus 4, end are preserved Slogan pair and corresponding telephone number, and send to connect to access gateway 2 and keep response message packet, in corresponding diagram 2 7..
Connection is sent to access gateway 2 keep packet again by network address translation apparatus 4.Network address translation is set Standby 4 pairs long Connection Service device 3 connections received keep response message packet to carry out address conversion, and target ip address is converted to and is connect The private network IP address of function Access Gateway 2 sends to access gateway 2 and connects holding response message packet, in corresponding diagram 2 8..
In the step, access gateway 2 periodically keeps link information packet with long Connection Service device 3, realizes heartbeat mechanism.
Step S4):Long Connection Service device 3 periodically sends connection to main Softswitch 1 and keeps packet.
At the same time, long Connection Service device 3 periodically sends connection to main Softswitch 1 and keeps packet, corresponding In Fig. 2 9.;After main Softswitch 1 receives the connection holding packet of long Connection Service device 3, to long Connection Service device 3 It sends to connect and keeps response message packet, in corresponding diagram 2 10..
In the step, main Softswitch 1 periodically keeps link information packet with long Connection Service device 3, realizes heartbeat machine System.
Correspondingly, the present embodiment also provides a kind of soft switch calling system, including main Softswitch 1 and access gateway 2, Further include long Connection Service device 3, long Connection Service device 3 is configured to connect by sending with access gateway 2 or main Softswitch 1 Packet is kept to realize heartbeat mechanism.
Preferably, which further includes network address translation apparatus 4, and network address translation apparatus 4 is matched It is set to:
Address conversion is carried out to the log-on message packet that access gateway 2 is sent, by the source private network IP address conversion of access gateway 2 For the public network IP address of network address translation apparatus 4, log-on message packet is sent to main Softswitch 1;
And the packet progress address conversion that succeeds in registration of access gateway 2 is sent to main Softswitch 1, by mesh The private network IP address that IP address conversion is access gateway 2 is marked, the packet that succeeds in registration is sent to access gateway 2, is carried in packet For the address of long Connection Service device 3;
And the connection of the access gateway 2 to receiving keeps packet to carry out address conversion, the source of access gateway 2 is private Net IP address conversion is the public network IP address of network address translation apparatus 4, and periodically sending connection to long Connection Service device 3 keeps Packet;
And the connection of the long Connection Service device 3 to receiving keeps response message packet to carry out address conversion, by Target IP Location is converted to the private network IP address of access gateway 2, and sending connection to access gateway 2 keeps response message packet.
In the soft switch method of calling and soft switch calling system of the present embodiment 1, at for mitigation soft switching server When reason length connects pressure and long Connection Service device is separately provided, access gateway keeps heartbeat mechanism with long Connection Service device, due to Long Connection Service device can detect main Softswitch by the heartbeat mechanism between main Softswitch and break down, and notice connects Function Access Gateway is switched on backup Softswitch, to be expected to keep heartbeat machine by long Connection Service device and main Softswitch System backs up to realize.
Embodiment 2:
In the handover mechanism of existing access gateway and main Softswitch, access gateway does not know main Softswitch It breaks down, cannot register whereabouts backup Softswitch automatically, soft switch calling system is caused to malfunction.
For the technical solution of the present embodiment on the basis of embodiment 1, soft switching server is keeping long company with access gateway In the state of connecing, is realized and backed up according to heartbeat mechanism.
It keeps ringing when long Connection Service device does not receive the connection that main Softswitch is sent in setting timer time Packet is answered, judges that main Softswitch breaks down, still further comprises accessing gateway equipment at this time from main Softswitch The step of being switched to backup Softswitch.
The specific steps of the soft switch method of calling are with reference to figure 3 and Fig. 4.
Step S1)-step S4) it is same as Example 1.
Step S5):Long Connection Service device 3 keeps information according to the connection with main Softswitch 1, judges that main soft switch is set Standby 1 state.
Setting timer time can be in terms of heart beat cycle, such as when long Connection Service device 3 does not have in ten heart beat cycles There is the connection for receiving the transmission of main Softswitch 1 to keep response message packet, judges that main Softswitch 1 breaks down.
Step S6):When main Softswitch 1 breaks down, long Connection Service device 3 is kept to main Softswitch 1 The access gateway 2 of long connection sends the information for switching to backup Softswitch 5.
When main Softswitch 1 breaks down, long Connection Service device 3 is cut to the transmission of 2 equipment of all access gatewaies first The information of backup Softswitch 5 is changed to, in corresponding diagram 4
Secondly, network address translation apparatus 4 sends the packet for being switched to backup Softswitch 5 to access gateway 2.Tool Body, network address translation apparatus 4 receives the laggard row address conversion of handover information packet that long Connection Service device 3 is sent out, by mesh The private network IP address that IP address conversion is access gateway 2 is marked, the letter for being switched to backup Softswitch 5 is sent to access gateway 2 Breath wraps, in corresponding diagram 4
Step S7):Access gateway 2 sends log-on message to backup Softswitch 5.
Logon mode between access gateway 2 and backup Softswitch 5, with access gateway 2 and main Softswitch 1 it Between logon mode it is identical, during which still by network address translation apparatus 4 to backup Softswitch 5 send log-on message.
Access gateway 2 sends log-on message to backup Softswitch 5, and the equipment of access gateway 2 is included in log-on message The information such as the username and password needed in ID, the telephone number administered, verification process, in corresponding diagram 4
Network address translation apparatus 4 carries out address conversion to the log-on message packet that access gateway 2 is sent, by access gateway 2 Source private network IP address be converted to the public network IP address of network address translation apparatus 4, send registration letter to backup Softswitch 5 It ceases, in corresponding diagram 4
Step S8):When access gateway 2 succeeds in registration to backup Softswitch 5, the address of long Connection Service device 3 is obtained.
In this step, access gateway 2 succeeds in registration to backup Softswitch 5, and access gateway 2 passes through long Connection Service Device 3 keeps long connection with backup Softswitch 5, and carries out access gateway 2, the soft friendship of backup by network address translation apparatus 4 Information exchange between exchange device 5 and long Connection Service device 3.
After backup Softswitch 5 receives the log-on message packet of access gateway 2, username and password hair therein is taken out Certificate server to be given to be authenticated, after certification passes through, backup Softswitch 5 sends the information that succeeds in registration to access gateway 2, The address of long Connection Service device 3 is provided in packet, in corresponding diagram 4
The packet that succeeds in registration that network address translation apparatus 4 is sent to backup Softswitch 5 access gateway 2 carries out Target ip address is converted to the private network IP address of access gateway 2 by address conversion, and the information that succeeds in registration is sent to access gateway 2, The address of long Connection Service device 3 is provided in packet, in corresponding diagram 4
Step S9):Access gateway 2 periodically keeps link information packet to long Connection Service device 3, and passes through long Connection Service Device 3 keeps long connection with backup Softswitch 5.
After access gateway 2 receives the packet that succeeds in registration of the transmission of backup Softswitch 5, illustrate to backup soft switch Equipment 5 succeeds in registration, and access gateway 2 extracts the address of long Connection Service device 3 from the packet that succeeds in registration, and is connected by long Server 3 keeps long connection with backup Softswitch 5, and carries out access gateway 2, backup by network address translation apparatus 4 Information exchange between Softswitch 5 and long Connection Service device 3.
Specifically, after access gateway 2 receives the packet that succeeds in registration that backup Softswitch 5 is sent, from packet In extract the address of long Connection Service device 3, periodically sending connection to long Connection Service device 3 keeps packet, in packet Including the telephone number that access gateway 2 has under its command, in corresponding diagram 4
Equally, it is long Connection Service device 3 that access gateway 2, which sends long connection and keeps the destination address of packet, is during which passed through Network address translation apparatus 4 forwards again after carrying out address conversion.Network address translation apparatus 4 carry out address conversion, periodically to Long Connection Service device 3 sends connection and keeps packet.Specifically, network address translation apparatus 4 connects the access gateway 2 received It connects and packet is kept to carry out address conversion, the source private network IP address of access gateway 2 is converted to the public affairs of network address translation apparatus 4 Net IP address periodically sends to long Connection Service device 3 and connects holding packet, in corresponding diagram 4
Long Connection Service device 3 preserve public ip address port numbers pair of the access gateway 2 on network address translation apparatus 4 and Corresponding telephone number, and send connection to access gateway 2 and keep packet.Specifically, long Connection Service device 3 receives access After the connection that gateway 2 is sent keeps packet, public ip address of the access gateway 2 on network address translation apparatus 4, end are preserved Slogan pair and corresponding telephone number, and send to connect to access gateway 2 and keep response message packet, in corresponding diagram 4
Connection is sent to access gateway 2 keep packet again by network address translation apparatus 4.Network address translation is set Standby 4 pairs long Connection Service device 3 connections received keep response message packet to carry out address conversion, and target ip address is converted to and is connect The private network IP address of function Access Gateway 2 sends to access gateway 2 and connects holding response message packet, in corresponding diagram 4
Step S10):Long Connection Service device 3 periodically sends connection to backup Softswitch 5 and keeps packet.
Long Connection Service device 3, which periodically sends to connect to backup Softswitch 5, keeps packet, in corresponding diagram 4;Backup Softswitch 5, which sends to connect, keeps packet, in corresponding diagram 4
Correspondingly, the present embodiment also provides a kind of soft switch calling system, further include backup on the basis of embodiment 1 Softswitch 5, long Connection Service device 3 are additionally configured to when main Softswitch 1 breaks down, and notice access gateway 2 switches To backup Softswitch 5, and packet is kept by sending to connect with access gateway 2 or backup Softswitch 5 respectively Realize heartbeat mechanism.
Preferably, network address translation apparatus is additionally configured to:
The laggard row address conversion of handover information packet that long Connection Service device 3 is sent out is received, target ip address is converted to The private network IP address of access gateway 2 sends the packet for being switched to backup Softswitch 5 to access gateway 2;
And address conversion is carried out to the log-on message packet that access gateway 2 is sent, by the source private network IP of access gateway 2 Location is converted to the public network IP address of network address translation apparatus 4, and log-on message is sent to backup Softswitch 5.
In the soft switch method of calling and soft switch calling system of the present embodiment, access gateway 2 therein and the soft friendship of backup Exchange device 5 periodically keeps link information packet with long Connection Service device 3 respectively, realizes heartbeat mechanism, therefore can effectively realize soft The Auto-Sensing that switching equipment breaks down.The mode of the switching backup Softswitch is applicable to multiple backup soft switch and sets In standby system.
In the soft switch method of calling and soft switch calling system of the present embodiment, after main Softswitch breaks down, Find that the connection for not receiving main Softswitch keeps packet by heartbeat mechanism in access gateway in compared with prior art, The case where sending log-on message to backup Softswitch, due to introducing individually long Connection Service device so that access gateway It does not send to connect between main Softswitch and keeps packet, break down in main Softswitch to preferably solve When, the problem of how access gateway is switched to backup Softswitch.
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, in the essence for not departing from the present invention In the case of refreshing 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 (10)

1. a kind of soft switch method of calling, which is characterized in that including step:
Access gateway is registered to main Softswitch;
When the access gateway succeeds in registration to the main Softswitch, the address of long Connection Service device is obtained;
The access gateway periodically keeps link information packet to the long Connection Service device, and passes through the long Connection Service device Long connection is kept with the main Softswitch;
The long Connection Service device periodically sends connection to the main Softswitch and keeps packet.
2. according to the method described in claim 1, it is characterized in that, further including:
The long Connection Service device keeps information according to the connection with the main Softswitch, judges the main Softswitch State;
When the main Softswitch breaks down, the long Connection Service device keeps long company to the main Softswitch The access gateway connect sends the information for switching to backup Softswitch;
The access gateway is registered to the backup Softswitch;
When the access gateway succeeds in registration to the backup Softswitch, the address of long Connection Service device is obtained;
The access gateway periodically keeps link information packet to the long Connection Service device, and passes through long Connection Service device and master Softswitch keeps long connection;
The long Connection Service device periodically sends connection to the backup Softswitch and keeps packet.
3. method according to claim 1 or 2, which is characterized in that access gateway is to the main Softswitch or described Backup Softswitch is registered, including:
After the main Softswitch or the backup Softswitch receive the log-on message packet of access gateway, take out wherein Username and password be sent to certificate server and be authenticated, after certification passes through, the main Softswitch or the backup Softswitch sends the packet that succeeds in registration to the access gateway, and the address of long Connection Service device is provided in packet;
Network address translation apparatus sends the information that succeeds in registration to the access gateway, and provides the address of long Connection Service device.
4. method according to claim 1 or 2, which is characterized in that the access gateway to the main Softswitch or The backup Softswitch succeeds in registration, and obtains the address of long Connection Service device, including:
The access gateway sends log-on message packet, log-on message to the main Softswitch or the backup Softswitch Include the username and password needed in the device id of the access gateway, the telephone number administered, verification process in packet;
Network address translation apparatus carries out address conversion to the log-on message packet that the access gateway is sent, by the access gateway Source private network IP address be converted to the public network IP address of the network address translation apparatus, log-on message packet is sent to the master Softswitch or the backup Softswitch.
5. method according to claim 1 or 2, which is characterized in that the access gateway is periodically to the long connection clothes Device of being engaged in keeps link information packet, and during keeping long connection by long Connection Service device and main Softswitch:
The access gateway receives the information that succeeds in registration that the main Softswitch or the backup Softswitch are sent Bao Hou extracts the address of the long Connection Service device from packet, periodically sends connection to the long Connection Service device Keep packet;
Network address translation apparatus carries out address conversion, and periodically sending connection to the long Connection Service device keeps packet;
The long Connection Service device preserves public ip address port of the access gateway on the network address translation apparatus Number pair and corresponding telephone number, and to the access gateway send connection keep packet;
The network address translation apparatus keeps response message packet into row address the long Connection Service device connection received Target ip address, is converted to the private network IP address of the access gateway by conversion, and sending connection to the access gateway keeps ringing Answer packet.
6. according to the method described in claim 2, it is characterized in that, the long Connection Service device to the main Softswitch The access gateway of long connection is kept to send the information for switching to backup Softswitch, including:
The long Connection Service device sends the information for being switched to the backup Softswitch to all accessing gateway equipments;
Network address translation apparatus sends the packet for being switched to the backup Softswitch to the access gateway.
7. a kind of soft switch calling system, including main Softswitch and access gateway, which is characterized in that further include long connection clothes Business device, the long Connection Service device are configured to pass through to send to connect with the access gateway or the main Softswitch to keep letter Breath packet realizes heartbeat mechanism.
8. system according to claim 7, which is characterized in that further include network address translation apparatus, the network address Conversion equipment is configured to:
Address conversion is carried out to the log-on message packet that the access gateway is sent, the source private network IP address of the access gateway is turned It is changed to the public network IP address of the network address translation apparatus, log-on message packet is sent to the main Softswitch;
And the packet progress address conversion that succeeds in registration of the access gateway is sent to the main Softswitch, it will Target ip address is converted to the private network IP address of the access gateway, and the packet that succeeds in registration, letter are sent to the access gateway The address of long Connection Service device is provided in breath packet;
And the connection of the access gateway to receiving keeps packet to carry out address conversion, by the source of the access gateway Private network IP address is converted to the public network IP address of the network address translation apparatus, is periodically sent to the long Connection Service device Connection keeps packet;
And keep response message packet to carry out address conversion the long Connection Service device connection received, by Target IP Location is converted to the private network IP address of access gateway, and sending connection to the access gateway keeps response message packet.
9. system according to claim 8, which is characterized in that further include backup Softswitch, the long Connection Service Device is additionally configured to, when the main Softswitch breaks down, the access gateway be notified to be switched to backup Softswitch, And packet is kept to realize heartbeat mechanism by sending to connect with the access gateway or the backup Softswitch respectively.
10. system according to claim 9, which is characterized in that the network address translation apparatus is additionally configured to:
The laggard row address conversion of handover information packet that the long Connection Service device is sent out is received, target ip address is converted to and is connect The private network IP address of function Access Gateway sends the packet for being switched to the backup Softswitch to the access gateway;
And address conversion is carried out to the log-on message packet that the access gateway is sent, by the source private network IP of the access gateway Address conversion is the public network IP address of the network address translation apparatus, and log-on message is sent to the backup Softswitch.
CN201810487285.4A 2018-05-21 2018-05-21 Soft switch method of calling and soft switch calling system Active CN108667667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810487285.4A CN108667667B (en) 2018-05-21 2018-05-21 Soft switch method of calling and soft switch calling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810487285.4A CN108667667B (en) 2018-05-21 2018-05-21 Soft switch method of calling and soft switch calling system

Publications (2)

Publication Number Publication Date
CN108667667A true CN108667667A (en) 2018-10-16
CN108667667B CN108667667B (en) 2019-11-01

Family

ID=63776278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810487285.4A Active CN108667667B (en) 2018-05-21 2018-05-21 Soft switch method of calling and soft switch calling system

Country Status (1)

Country Link
CN (1) CN108667667B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946058A (en) * 2006-10-28 2007-04-11 武汉市中光通信公司 Soft exchange device allopatric disaster recovery solution system and its method for software exchange network
US20070160058A1 (en) * 2006-01-09 2007-07-12 Weiqiang Zhou Method and system for implementing backup based on session border controllers
CN102611750A (en) * 2012-03-15 2012-07-25 中兴通讯股份有限公司 Double-protocol-stack accessing method and system
CN107634954A (en) * 2017-09-25 2018-01-26 中国联合网络通信集团有限公司 A kind of soft switch method of calling and system
CN107770175A (en) * 2017-10-23 2018-03-06 中国联合网络通信集团有限公司 A kind of soft switch method of calling and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070160058A1 (en) * 2006-01-09 2007-07-12 Weiqiang Zhou Method and system for implementing backup based on session border controllers
CN1946058A (en) * 2006-10-28 2007-04-11 武汉市中光通信公司 Soft exchange device allopatric disaster recovery solution system and its method for software exchange network
CN102611750A (en) * 2012-03-15 2012-07-25 中兴通讯股份有限公司 Double-protocol-stack accessing method and system
CN107634954A (en) * 2017-09-25 2018-01-26 中国联合网络通信集团有限公司 A kind of soft switch method of calling and system
CN107770175A (en) * 2017-10-23 2018-03-06 中国联合网络通信集团有限公司 A kind of soft switch method of calling and system

Also Published As

Publication number Publication date
CN108667667B (en) 2019-11-01

Similar Documents

Publication Publication Date Title
US7369544B2 (en) Internet telephone system with hunting diversion
US7016343B1 (en) PSTN call routing control features applied to a VoIP
CN107567703A (en) Media path is established in real-time Communication for Power
US8457117B1 (en) Static, dynamic and intelligent VRF routing for services traffic
CA2341378A1 (en) Apparatus and method for a remote access server
CN106911664A (en) Session initiation protocol (sip) router
WO2006068417A1 (en) Method and system for providing private voice call service to mobile subscriber and wireless soft switch apparatus therefor
US8582590B2 (en) Method and apparatus for providing disaster recovery using network peering arrangements
CN107454104A (en) A kind of multifunctional network system and its disaster recovery method based on IMS
CN100499501C (en) Method for multi service access node access device sharing public network IP address
US6795430B1 (en) Service-related signaling between voice over internet protocol servers
US8908542B2 (en) Voice quality analysis device and method thereof
US7302054B1 (en) System and method for integrated telephony switching
ES2328627T3 (en) PROCEDURE TO IMPLEMENT MAINTENANCE ONLINE IN A COMMUNICATION NETWORK.
CN100466641C (en) System for supporting multi ITSP based on SIP and realizing method
JP4599424B2 (en) Telephone system, exchange device thereof, and transmission control method
CN108667667B (en) Soft switch method of calling and soft switch calling system
US8644299B2 (en) Method and apparatus for efficiently routing packets across disparate networks
US7533174B1 (en) Media gateway connection information recovery
Cisco Cisco IOS Voice, Video, and Fax Commands: Si through Z
Cisco Call Admission Control for H.323 VoIP Gateways
Cisco Call Admission Control for H.323 VoIP Gateways
Cisco Commands: debug tarp events through debug voip settlement transaction
Cisco Index
Cisco New Features and Important Notes

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
GR01 Patent grant
GR01 Patent grant