CN108933733A - Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway - Google Patents

Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway Download PDF

Info

Publication number
CN108933733A
CN108933733A CN201810749413.8A CN201810749413A CN108933733A CN 108933733 A CN108933733 A CN 108933733A CN 201810749413 A CN201810749413 A CN 201810749413A CN 108933733 A CN108933733 A CN 108933733A
Authority
CN
China
Prior art keywords
gateway
protocol address
communication path
path
sent
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
Application number
CN201810749413.8A
Other languages
Chinese (zh)
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 CN201810749413.8A priority Critical patent/CN108933733A/en
Publication of CN108933733A publication Critical patent/CN108933733A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/72Routing based on the source address
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between a kind of gateway.Scheme provided by the invention includes: that the first gateway according to first network protocol address, the second internet protocol address determines destinations traffic path;And destinations traffic path is sent to the second gateway by Softswitch, so that the first gateway and the second gateway, which are based on destinations traffic path, establishes connection.In addition, the first gateway can also be according to first network protocol address, the second internet protocol address real-time update communication path after the first gateway and the second gateway establish connection.Therefore, method, apparatus, equipment and readable storage medium storing program for executing provided by the invention can actively select communication path according to demand, and it can be based on the communication path between the first gateway of communication quality real-time update of communication path and the second gateway, to improve the network resource utilization of IP network.

Description

Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway
Technical field
The present invention relates between gateway between the communication technology more particularly to gateway the determination method, apparatus, equipment of communication path and Readable storage medium storing program for executing belongs to the communications field.
Background technique
Soft switch is a kind of functional entity, provides the calling control of the business with requirement of real-time for next generation network System and connection control function.Soft switch is located at network control layer, preferably realizes and is provided based on grouping net using general switching software The function that call control function is mutually separated with media handling.
It include the equipment such as Softswitch, Tandem Gateway, signaling gateway, access gateway in flexible exchanging network framework, it is each Gateway is used to terminal device access IP being grouped net;Softswitch also accesses IP grouping net, for completing call treatment Control function, access protocol adaption function, business interface provide function, interconnection and interflow function, application support system function etc..
In the prior art, when two terminal devices are communicated by two gateways, and have between two gateways more When the path IP may be selected, then randomly chooses the path IP and carry out data transmission.Therefore, it is communicated between gateway in the prior art Mode flexibility is poor, cannot efficiently utilize the Internet resources of IP network.
Summary of the invention
The present invention provides determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between a kind of gateway, to solve The technical issues of communication mode flexibility is poor between gateway in the prior art, cannot efficiently utilize the Internet resources of IP networking.
The first aspect of the invention is to provide a kind of determination method of communication path between gateway, comprising:
Receive the first network protocol address of first gateway of the first gateway transmission;
Receive the second internet protocol address of second gateway of the second gateway transmission;
Second internet protocol address is sent to first gateway;
Receive the destinations traffic path that first gateway is sent, wherein the destinations traffic path is first net It closes and is determined according to the first network protocol address, second internet protocol address;
The destinations traffic path is sent to second gateway, so that first gateway is based on second gateway Connection is established in the destinations traffic path.
The second aspect of the invention is to provide a kind of determination method of communication path between gateway, comprising:
First network protocol address is sent to Softswitch;
Receive the second internet protocol address that the Softswitch is sent, wherein second internet protocol address is Second gateway is sent to the Softswitch;
Destinations traffic path is determined according to the first network protocol address, second internet protocol address;
The destinations traffic path is sent to the Softswitch, so that the Softswitch is by the destinations traffic Path is sent to second gateway, and establishes connection according to the destinations traffic path and second gateway.
The third aspect of the invention is to provide a kind of determining device of communication path between gateway, comprising:
Address receiving module, the first network protocol address of first gateway for receiving the transmission of the first gateway;
The address receiving module is with being also used to receive the second network protocol of second gateway of the second gateway transmission Location;
Address sending module, for second internet protocol address to be sent to first gateway;
Path receiving module, the destinations traffic path sent for receiving first gateway, wherein the destinations traffic Path is that first gateway is determined according to the first network protocol address, second internet protocol address;
Path sending module, for sending the destinations traffic path to second gateway, so that first gateway The destinations traffic path, which is based on, with second gateway establishes connection.
The fourth aspect of the invention is to provide a kind of determining device of communication path between gateway, comprising:
Address sending module, for sending first network protocol address to Softswitch;
Address receiving module, the second internet protocol address sent for receiving the Softswitch, wherein described the Two internet protocol addresses are that the second gateway is sent to the Softswitch;
Determining module, for determining that target is logical according to the first network protocol address, second internet protocol address Believe path;
Path sending module, for sending the destinations traffic path to the Softswitch, so that the soft switch The destinations traffic path is sent to second gateway by equipment;
Link block, for establishing connection according to the destinations traffic path and second gateway.
The fifth aspect of the invention is to provide between a kind of gateway communication path locking equipment really, comprising:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured to be executed by the processor to realize The determination method of communication path between gateway as described in above-mentioned first aspect.
The sixth aspect of the invention is to provide between a kind of gateway communication path locking equipment really, comprising:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured to be executed by the processor to realize The determination method of communication path between gateway as described in above-mentioned second aspect.
The seventh aspect of the invention is to provide a kind of readable storage medium storing program for executing, is stored thereon with computer program, the meter Calculation machine program is executed by processor the determination method of communication path between the gateway with realization as described in above-mentioned first aspect.
The eighth aspect of the invention is to provide a kind of readable storage medium storing program for executing, is stored thereon with computer program, the meter Calculation machine program is executed by processor the determination method of communication path between the gateway with realization as described in above-mentioned second aspect.
The determination method, apparatus, equipment of communication path and the technology of readable storage medium storing program for executing effect between gateway provided by the invention Fruit is:
Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway provided in this embodiment, including connect Receive the first network protocol address of the first gateway of the first gateway transmission;Receive the second net of the second gateway of the second gateway transmission Network protocol address;Second internet protocol address is sent to the first gateway;The destinations traffic path of the first gateway transmission is received, In, destinations traffic path is that the first gateway is determined according to first network protocol address, the second internet protocol address;To the second net It closes and sends destinations traffic path, so that the first gateway and the second gateway establish connection.Communication lines between gateway provided in this embodiment In the determination method, apparatus of diameter, equipment and readable storage medium storing program for executing, the first gateway can be based on itself IP address and the second net The IP address of pass determines destinations traffic path in multiple selectable communication paths, to make the first gateway and the second net Pass can be communicated on the destinations traffic path, therefore, method, apparatus, equipment and readable storage provided in this embodiment Medium can actively select communication path according to demand, to improve the network resource utilization of IP network.
Detailed description of the invention
The flow chart of Fig. 1 determination method of communication path between the gateway shown in an exemplary embodiment of the invention;
The flow chart of Fig. 2 determination method of communication path between the gateway shown in another exemplary embodiment of the present invention;
The flow chart of Fig. 3 determination method of communication path between the gateway shown in another exemplary embodiment of the present invention;
The flow chart of Fig. 4 determination method of communication path between the gateway shown in the another exemplary embodiment of the present invention;
The structure chart of Fig. 5 determining device of communication path between the gateway shown in an exemplary embodiment of the invention;
The structure chart of Fig. 6 determining device of communication path between the gateway shown in another exemplary embodiment of the present invention;
The structure chart of Fig. 7 determining device of communication path between the gateway shown in another exemplary embodiment of the present invention;
The structure chart of Fig. 8 determining device of communication path between the gateway shown in the another exemplary embodiment of the present invention;
Fig. 9 is the structure chart of communication path locking equipment really between gateway shown in an of the invention exemplary embodiment;
Figure 10 is the structure chart of communication path locking equipment really between gateway shown in another exemplary embodiment of the present invention.
Specific embodiment
The flow chart of Fig. 1 determination method of communication path between the gateway shown in an exemplary embodiment of the invention.
As shown in Figure 1, the determination method of communication path includes: between gateway provided in this embodiment
Step 101, the first network protocol address for the first gateway that the first gateway is sent is received.
Wherein, the equipment for executing method provided in this embodiment is the Softswitch in flexible exchanging network framework.First IP network in gateway accessing flexible exchanging network framework, Softswitch can receive the number of the first gateway transmission based on the IP network According to.First gateway can be the access gateway AG in flexible exchanging network framework, be also possible to Tandem Gateway TG.
Specifically, the first network protocol address that first gateway of Softswitch reception the first gateway transmission is all (IP address).
Further, while Softswitch receives the first IP address, the first of the first gateway transmission can also be received Agreement, the first voice compression algorithm, the first RTP port numbers.First agreement is agreement used by the first gateway, the first voice Compression algorithm is the voice compression algorithm that the first gateway uses, and first end slogan is RTP port numbers of first gateway for communication. RTP (Real-time Transport Protocol) is a network transmission protocol, and the port RTP refers to be carried out using the agreement The port of data transmission.
Step 102, the second internet protocol address of the second gateway that the second gateway is sent is received.
When practical application, before step 102, the of the first gateway can also be sent from Softswitch to the second gateway One agreement, first port and the first voice compression algorithm, so that the second gateway can be based on the first agreement and the first voice Agreement and algorithm inside compression algorithm setting, can also be after the first gateway determines destinations traffic path, according to first end Mouth is attached with the first gateway.
Wherein, the second gateway is also the gateway for accessing IP network.
All the second internet protocol addresses (IP address) of the second gateway that Softswitch the second gateway of reception is sent.
Wherein, Softswitch can also receive the transmission of the second gateway when receiving the second IP address of the second gateway Second protocol, second port and the second voice compression algorithm.
Step 103, the second internet protocol address is sent to the first gateway.
After Softswitch receives the second internet protocol address, the first gateway is sent it to, determines the first gateway The address for the gateway for needing to connect.
Softswitch can also send the second protocol of the second gateway, second port and the second voice compression algorithm To the first gateway, so that the first gateway determines that it is communicated with whether the agreement that the second gateway uses is able to carry out, additionally it is possible to make One gateway determines if can to decompress the data of the second gateway transmission, and whether the second gateway can decompress the transmission of the first gateway Data, the first gateway can also be attached based on second port with the second gateway.
First gateway after receiving the second internet protocol address, can according to the first network protocol address of itself with And the second internet protocol address connected is needed to determine destinations traffic path.
Step 104, the destinations traffic path that the first gateway is sent is received, wherein destinations traffic path is the first gateway root It is determined according to first network protocol address, the second internet protocol address.
Wherein, the first gateway can send it to Softswitch after destinations traffic path has been determined.
Specifically, since the first gateway, the second gateway all include multiple internet protocol addresses, the two is communicated Just there are many selections, such as the first gateway to have address ip 1, IP2, IP3 for used communication path, and the second gateway has address IP4, IP5, then at least 6 selectable paths at this time.
It further, may include many nodes in the IP network of the first gateway, the second gateway accessing, such as node can be handed over It changes planes, the network equipments such as router, these nodes build composition IP network by connection.So in this case, the first gateway The optional path that communication is able to carry out between the second gateway will be more.
When practical application, the first gateway can be determined according to the first IP address, the second IP address can be with the second gateway All optional communication paths communicated, then destinations traffic path is determined wherein.It can be according to each optional communication lines Call duration time spent by diameter determines destinations traffic path, can also determine mesh according to the number of nodes that optional communication path is crossed over Mark communication path etc..
Optionally, the first gateway can also send test bag on each optional communication path, and obtain in each path Corresponding time delay, shake, packet loss parameter, then destinations traffic path is determined based on these parameters.
Step 105, destinations traffic path is sent to the second gateway, so that the first gateway and the second gateway are based on destinations traffic Connection is established in path.
Wherein, destinations traffic path is sent to the second gateway after receiving destinations traffic path by Softswitch, So that the second gateway knows the destinations traffic path that the first gateway determines, to make the first gateway, the second gateway in destinations traffic Connection is established on path.For example, destinations traffic path may is that the IP2 of the first gateway, node a, node b, node c, the second net The IP4 of pass may include the IP address of the first gateway, the second gateway in destinations traffic path, can also include each of approach The path that these nodes connect is exactly the path that the first gateway is used to communicate with the second gateway by a node.
Specifically, the first gateway and the second gateway can port numbers based on the two and agreement be attached, first When gateway and the second gateway carry out data transmission, the first voice compression algorithm, the second voice compression algorithm are also based on to biography Transmission of data is handled.
Method provided in this embodiment is for determining the communication path communicated between gateway, and this method is by being equipped with the present embodiment The equipment of the method for offer executes, which realizes usually in a manner of hardware and/or software.
The determination method of communication path between gateway provided in this embodiment, the first gateway sent including receiving the first gateway First network protocol address;Receive the second internet protocol address of the second gateway of the second gateway transmission;Second network is assisted View address is sent to the first gateway;Receive the destinations traffic path of the first gateway transmission, wherein destinations traffic path is the first net It closes and is determined according to first network protocol address, the second internet protocol address;Destinations traffic path is sent to the second gateway, so that First gateway and the second gateway are based on destinations traffic path and establish connection.The determination of communication path between gateway provided in this embodiment In method, the first gateway can based on itself IP address and the second gateway IP address, in multiple selectable communication lines Destinations traffic path is determined in diameter, so that the first gateway be enable to be led on the destinations traffic path with the second gateway Letter, therefore, method provided in this embodiment can actively select communication path according to demand, to improve the Internet resources of IP network Utilization rate.
The flow chart of Fig. 2 determination method of communication path between the gateway shown in another exemplary embodiment of the present invention.
Wherein, before executing method provided in this embodiment, Softswitch can send Modify to the first gateway Order makes the first gateway wait off-hook thing to establish a Termination in the Null Context of the first gateway Part.Softswitch can also send Modify order to the second gateway, to build in the Null Context of the second gateway A Termination is found, the second gateway is made to wait off-hook event.Pass through the first gateway or the second gateway in no user terminal When communication, the first gateway or the second gateway can be made to be in the state for waiting off-hook event by Softswitch.
Specifically, the first gateway sends Notify order to Softswitch after the first gateway detects user's off-hook, To report the off-hook event to Softswitch.If the first gateway is access gateway AG, Softswitch can also be to One gateway sends Modify order, and the first gateway is made to send the instruction for playing dialing tone to user terminal.At this point, calling terminal is broadcast Put dialing tone.
Further, after user inputs called number by calling terminal, the first gateway receives what calling terminal was sent Called number, at this point, called number can be sent to Softswitch by the first gateway, so that Softswitch executes step 201。
As shown in Fig. 2, between gateway provided in this embodiment communication path determination method, comprising:
Step 201, the called number that the first gateway is sent is received, the second gateway is determined according to called number.
When practical application, which is the number that user is inputted by calling terminal, and calling terminal is again by called number Code is sent to the first gateway, sends it to Softswitch by the first gateway.
Wherein, Softswitch can determine its second gateway currently connected according to called number, such as can basis The communication data that called terminal is periodically reported to base station determines the gateway of its connection.
Step 202, the first network protocol address for the first gateway that the first gateway is sent is received.
Step 203, the second internet protocol address of the second gateway that the second gateway is sent is received.
Step 204, the second internet protocol address is sent to the first gateway.
Step 205, the destinations traffic path that the first gateway is sent is received, wherein destinations traffic path is the first gateway root It is determined according to first network protocol address, the second internet protocol address.
Step 206, destinations traffic path is sent to the second gateway, so that the first gateway and the second gateway are based on destinations traffic Connection is established in path.
Step 201-206 is similar with the concrete principle of step 101-105 and implementation, and details are not described herein again.
The flow chart of Fig. 3 determination method of communication path between the gateway shown in another exemplary embodiment of the present invention.
As shown in figure 3, between gateway provided in this embodiment communication path determination method, comprising:
Step 301, first network protocol address is sent to Softswitch.
Wherein, the equipment for executing method provided in this embodiment is the first gateway in flexible exchanging network framework.First net The IP network in access soft handoff network framework is closed, flexible exchanging network framework further includes Softswitch, and Softswitch being capable of base The data of the first gateway transmission are received in the IP network.First gateway can be the access gateway AG in flexible exchanging network framework, It is also possible to Tandem Gateway TG.
Specifically, the first network protocol address (IP address) that the first gateway is sent to Softswitch is first net Close the all-network protocol address having.
It further, can also be to Softswitch while the first gateway sends the first IP address to Softswitch Send its first agreement, the first voice compression algorithm, the first RTP port numbers for using.First agreement is that the first gateway is adopted Agreement, the first voice compression algorithm are the voice compression algorithms that the first gateway uses, and first end slogan is that the first gateway is used In the RTP port numbers of communication.RTP (Real-time Transport Protocol) is a network transmission protocol, the port RTP Refer to the port carried out data transmission using the agreement.
Step 302, the second internet protocol address that Softswitch is sent is received, wherein the second internet protocol address is Second gateway is sent to Softswitch.
When practical application, before step 302, the of the first gateway can also be sent from Softswitch to the second gateway One agreement, first port and the first voice compression algorithm, so that the second gateway can be based on the first agreement and the first voice Compression algorithm setting inside agreement, voice compression algorithm, and can after the first gateway determines destinations traffic path, according to First port is attached with the first gateway.
Wherein, the second gateway is also the gateway for accessing IP network.
Second gateway, can by all second network protocols of its own after the relevant information for receiving the first gateway Location (IP address) is sent to Softswitch, then the second internet protocol address is transmitted to the first gateway by Softswitch, with The first gateway is set to receive the second internet protocol address that Softswitch is sent.
Wherein, the second gateway, can also be to soft switch while sending the second internet protocol address to Softswitch Equipment sends second protocol, second port and the second voice compression algorithm.Correspondingly, Softswitch is sent out to the first gateway When sending the second internet protocol address, second protocol, second port and the second voice compression algorithm can also be sent to first Gateway communicates so that the first gateway determines that it is able to carry out with the agreement that the second gateway uses, additionally it is possible to determine the first gateway Its data that can decompress the transmission of the second gateway, the second gateway can also decompress the data of the first gateway transmission, and make the first net Closing can be attached based on second port with the second gateway.
Step 303, destinations traffic path is determined according to first network protocol address, the second internet protocol address.
Wherein, the first gateway is after receiving the second internet protocol address, can be according to its own the first protocol address And second protocol address determines destinations traffic path.First gateway can be interpreted as to starting point, the second gateway is destination, And first network protocol address is exactly the address of starting point, the second internet protocol address is exactly the address of destination, obtains mesh Way address after, so that it may according to setting out dot address and destination-address determines reasonable destination path.
Specifically, since the first gateway, the second gateway all include multiple internet protocol addresses, the two is communicated Just there are many selections, such as the first gateway to have address ip 1, IP2, IP3 for used communication path, and the second gateway has address IP4, IP5, then at least 6 selectable paths at this time.
It further, may include many nodes in the IP network of the first gateway, the second gateway accessing, such as node can be handed over It changes planes, the network equipments such as router, is attached between these nodes, builds composition IP network.So in this case, the first net The optional path that communication is able to carry out between pass and the second gateway will be more.
When practical application, the first gateway can be determined according to the first IP address, the second IP address can be with the second gateway All optional communication paths communicated, then destinations traffic path is determined wherein.It can be according to each optional communication lines Call duration time spent by diameter determines destinations traffic path, can also determine mesh according to the number of nodes that optional communication path is crossed over Mark communication path etc..
Optionally, the first gateway can also send test bag on each optional communication path, and obtain in each path Corresponding time delay, shake, packet loss parameter, then destinations traffic path is determined based on these parameters.
Step 304, destinations traffic path is sent to Softswitch, so that Softswitch sends destinations traffic path Connection is established to the second gateway, and according to destinations traffic path and the second gateway.
Wherein, the first gateway can send it to Softswitch after destinations traffic path has been determined.Again by soft friendship Destinations traffic path is transmitted to the second gateway by exchange device, so that the second gateway knows the destinations traffic road that the first gateway determines Diameter, so that the first gateway, the second gateway be made to establish connection on destinations traffic path.For example, destinations traffic path may is that The IP2 of one gateway, node a, node b, node c, the second gateway IP4, i.e., may include in destinations traffic path the first gateway, The IP address of second gateway can also include each node of approach, be exactly the first net by the path that these nodes connect Close the path for being used to communicate with the second gateway.
Specifically, the first gateway and the second gateway can port numbers based on the two and agreement be attached, first When gateway and the second gateway carry out data transmission, the first voice compression algorithm, the second voice compression algorithm are also based on to biography Transmission of data is handled.
Method provided in this embodiment is for determining the communication path communicated between gateway, and this method is by being equipped with the present embodiment The equipment of the method for offer executes, which realizes usually in a manner of hardware and/or software.
The determination method of communication path between gateway provided in this embodiment, including first network association is sent to Softswitch Discuss address;Receive the second internet protocol address that Softswitch is sent, wherein the second internet protocol address is the second gateway hair Give Softswitch;Destinations traffic path is determined according to first network protocol address, the second internet protocol address;To soft friendship Exchange device sends destinations traffic path, so that destinations traffic path is sent to the second gateway by Softswitch, and according to target Communication path and the second gateway establish connection.Between gateway provided in this embodiment in the determination method of communication path, the first gateway Can based on itself IP address and the second gateway IP address, determine that target is logical in multiple selectable communication paths Believe path, so that the first gateway be enable to be communicated on the destinations traffic path with the second gateway, therefore, the present embodiment is mentioned The method of confession can actively select communication path according to demand, to improve the network resource utilization of IP network.
The flow chart of Fig. 4 determination method of communication path between the gateway shown in the another exemplary embodiment of the present invention.
Wherein, before executing method provided in this embodiment, Softswitch can send Modify to the first gateway Order makes the first gateway wait off-hook thing to establish a Termination in the Null Context of the first gateway Part.Softswitch can also send Modify order to the second gateway, to build in the Null Context of the second gateway A Termination is found, the second gateway is made to wait off-hook event.Pass through the first gateway or the second gateway in no user terminal When communication, the first gateway or the second gateway can be made to be in the state for waiting off-hook event by Softswitch.
Specifically, the first gateway sends Notify order to Softswitch after the first gateway detects user's off-hook, To report the off-hook event to Softswitch.If the first gateway is access gateway AG, Softswitch can also be to One gateway sends Modify order, and the first gateway is made to send the instruction for playing dialing tone to user terminal.At this point, calling terminal is broadcast Put dialing tone.
Further, after user inputs called number by calling terminal, the first gateway receives what calling terminal was sent Called number, at this point, the first gateway can execute step 401.
As shown in figure 4, between gateway provided in this embodiment communication path determination method, comprising:
Step 401, called number is sent to Softswitch, so that Softswitch determines the second net according to called number It closes.
When practical application, which is that user is inputted by calling terminal, and calling terminal again sends out called number It send to the first gateway, Softswitch is sent it to by the first gateway.
Wherein, Softswitch can determine its second gateway currently connected according to called number, such as can basis The communication data that called terminal is periodically reported to base station determines the gateway of its connection.
Step 402, first network protocol address is sent to Softswitch.
Step 403, the second internet protocol address that Softswitch is sent is received, wherein the second internet protocol address is Second gateway is sent to Softswitch.
Step 402-403 is similar with the concrete principle of step 301-302 and implementation, and details are not described herein again.
Step 404, it according to first network protocol address, the second internet protocol address, is determined to carry out with the second gateway The available communication path of communication.
Wherein it is possible to first obtain the first node that can be communicated with first network protocol address, then obtaining can be with The second node that second internet protocol address is communicated, then be determined to be connected to second node from first node in IP network All paths.
Specifically, the node connection relationship in the first agreement and IP network that the first gateway can be used according to it, determines First node out connect with first network protocol address for example, can choose and is determined as first using the node of the first agreement Node.Alternatively, it is also possible to the second protocol of the second gateway based on the received, corresponding second node is determined.
Further, the node connecting with first node can be traversed, and energy is found according to the connection relationship of these nodes Enough it is connected to the communication path of second node.First network protocol address, the second network finally is added in the both ends in these paths Protocol address, it will be able to obtain available communication path.For example, first network protocol address is connect with node a1, node a1 and section Point a2 connection, node a1 are also connect with node a3, and node a2 can be connect with the second internet protocol address, but node a3 cannot It is connect with the second internet protocol address, then first network protocol address, node a1, node a2, the second internet protocol address are then For an optional communication path.Here node is also possible to the address of the network equipment.
Step 405, test bag is sent to the second gateway according to available communication path and obtains test result.
When practical application, the first gateway all sends test bag to the second gateway on every available communication path, and every The data of corresponding time delay, shake and packet loss are obtained on available communication path.
Wherein, time delay refers to that test bag from counting when leaving the first gateway, has altogether until when arriving at the second gateway Experienced how long.That is the delay of test bag just refer to test bag receiving time and test bag sending time it is poor.It can be with After sending test bag, its time for receiving test bag is obtained from the second gateway by every available communication path, thus The time delay of test bag can be calculated.
Specifically, shake data are the variable quantity of network delay, any two phase that can be sent in same communication path Adjacent data packet, and determine the corresponding time delay of the two data packets, the difference by calculating two time delay values determines shake data.May be used also To calculate jitter rate, obtained by the adjacent data packet delay time difference divided by data packet serial number difference.
Further, packet loss data refer to that lost data packet number in test accounts for the ratio of transmitted data packet.
Step 406, destinations traffic path is determined in available communication path according to test result.
Wherein it is possible to which the better communication path of communication quality is determined in available communication path according to test result.
Specifically, the normalization numerical value in every available communication path can be determined according to the data of time delay, shake and packet loss, The better communication path of communication quality is determined in available communication path further according to normalization numerical value.For example, the first gateway and There is N available communication path between second gateway, the first gateway sends test bag on this N available communication path respectively, Corresponding time delay, shake and packet loss are obtained in each path, time delay, shake and the packet loss in first available communication path are respectively A1、B1、C1, time delay, shake and the packet loss in the N articles available communication path are respectively AN、BN、CN, to all available communication paths Time delay, shake and packet loss are normalized, and obtain normalization score.By taking the N articles available communication path as an example, DN=X × (ANTime delay maximum value on/all available communication paths)+Y × (BNShake maximum value on/all available communication paths)+Z × (CNPacket loss maximum value on/all available communication paths), wherein X, Y, Z are the weight parameter of time delay, shake and packet loss respectively, The normalization numerical value for calculating all available communication paths according to the method is D1、D2、...DN... it takes and wherein normalizes numerical value The smallest available communication path is destinations traffic path.
Step 407, destinations traffic path is sent to Softswitch, so that Softswitch sends destinations traffic path Connection is established to the second gateway, and according to destinations traffic path and the second gateway.
Step 407 is similar with the concrete principle of step 304 and implementation, and details are not described herein again.
Step 408, the first communication path is determined according to first network protocol address, the second internet protocol address.
It further, can be in real time according to first network agreement after the first gateway and the second gateway successful connection Address, the second internet protocol address determine the first communication path.The specific method for determining the first communication path and determining target are logical The method for believing path is identical.
When practical application, the available communication path that can also be determined in step 404 according to the mode in step 405,406 Middle the first communication path of determination, details are not described herein again for specific determining method.
Step 409, it compares the current communication path currently connecting with the second gateway and whether the first communication path is identical, if It is no, then it sends to the second gateway and is requested for the update of more new communication path.
First gateway can compare the current communication path being currently attached with the second gateway and determine in real time first Whether communication path is identical, for example, can then compare the destinations traffic path and first when current path is destinations traffic path Whether communication path is identical.If it is different, then illustrating that the communication quality of the first communication path is more excellent, then it is used for the transmission of the second gateway The update of more new communication path is requested.
Wherein, method provided in this embodiment can adjust in real time after the first gateway and the second gateway establish connection Communication path between the two, therefore, the current communication path that the first gateway is connect with the second gateway are not necessarily destinations traffic Path.
Step 410, the instruction that the agreement that the second gateway is sent updates request is received, and according to the first communication path and second Gateway connection.
After the second gateway receives update request, it can be requested to determine whether switching communication lines according to the update Diameter.It may include the first communication path in updating request, the second gateway confirm the communication path.
If the confirmation of the second gateway can switch communication path, is sent to the first gateway and agree to instruction, so that the first gateway The agreement that the transmission of the second gateway can be received updates the instruction of request.After the first gateway receives agreement instruction, first Gateway is attached with the second gateway by the first communication path, that is to say, that the number transmitted between the first gateway, the second gateway It is transmitted according to by the first communication path.
The determination method of communication path between gateway provided in this embodiment can be determined most based on the mode for sending test bag Excellent communication path, additionally it is possible to after establishing connection with the second gateway, determine optimal first communication lines of communication quality in real time Diameter, and when current communication path is not optimal path, the first communication path is switched to, therefore, side provided in this embodiment Method can guarantee to be communicated between the better communication path of communication quality between the first gateway, the second gateway, to make Communication quality between one gateway, the second gateway is more preferable.
The structure chart of Fig. 5 determining device of communication path between the gateway shown in an exemplary embodiment of the invention.
As shown in figure 5, between gateway provided in this embodiment communication path determining device, comprising:
Address receiving module 51, the first network protocol address of first gateway for receiving the transmission of the first gateway;
The address receiving module 51 is also used to receive the second network protocol of second gateway of the second gateway transmission Address;
Address sending module 52, for second internet protocol address to be sent to first gateway;
Path receiving module 53, the destinations traffic path sent for receiving first gateway, wherein the target is logical Letter path is that first gateway is determined according to the first network protocol address, second internet protocol address;
Path sending module 54, for sending the destinations traffic path to second gateway, so that first net It closes and connection is established based on the destinations traffic path with second gateway.
The determining device of communication path between gateway provided in this embodiment, comprising: address receiving module, for receiving first The first network protocol address for the first gateway that gateway is sent;Address receiving module is also used to receive the second of the second gateway transmission Second internet protocol address of gateway;Address sending module, for the second internet protocol address to be sent to the first gateway;Path Receiving module, for receiving the destinations traffic path of the first gateway transmission, wherein destinations traffic path is the first gateway according to the One internet protocol address, the second internet protocol address determine;Path sending module, for sending destinations traffic to the second gateway Path, so that the first gateway and the second gateway, which are based on destinations traffic path, establishes connection.It is communicated between gateway provided in this embodiment In the determination in path, the device can based on itself IP address and the second gateway IP address, multiple selectable logical Letter determines destinations traffic path in path, thus can be communicated on the destinations traffic path with the second gateway, therefore, Device provided in this embodiment can actively select communication path according to demand, to improve the network resource utilization of IP network.
The concrete principle and implementation of the determining device of communication path provided in this embodiment with implementation shown in FIG. 1 Example is similar, and details are not described herein again.
The structure chart of Fig. 6 determining device of communication path between the gateway shown in another exemplary embodiment of the present invention.
As shown in fig. 6, on the basis of the above embodiments, communication path determines dress between gateway provided in this embodiment It sets, further includes:
Number receiving module 55, the called number sent for receiving first gateway are true according to the called number Fixed second gateway.
The concrete principle and implementation of the determining device of communication path provided in this embodiment with implementation shown in Fig. 2 Example is similar, and details are not described herein again.
The structure chart of Fig. 7 determining device of communication path between the gateway shown in another exemplary embodiment of the present invention.
As shown in fig. 7, between gateway provided in this embodiment communication path determining device, comprising:
Address sending module 71, for sending first network protocol address to Softswitch;
Address receiving module 72, the second internet protocol address sent for receiving the Softswitch, wherein described Second internet protocol address is that the second gateway is sent to the Softswitch;
Determining module 73, for determining target according to the first network protocol address, second internet protocol address Communication path;
Path sending module 74, for sending the destinations traffic path to the Softswitch, so that the soft friendship The destinations traffic path is sent to second gateway by exchange device;
Link block 75, for establishing connection according to the destinations traffic path and second gateway.
The concrete principle and implementation of the determining device of communication path provided in this embodiment with implementation shown in Fig. 3 Example is similar, and details are not described herein again.
The structure chart of Fig. 8 determining device of communication path between the gateway shown in the another exemplary embodiment of the present invention.
As shown in figure 8, on the basis of the above embodiments, communication path determines dress between gateway provided in this embodiment It sets, further includes: number sending module 76, for sending called number to the Softswitch, so that the Softswitch Second gateway is determined according to the called number.
Optionally, the determining module 73 is also used to according to the first network protocol address, second network protocol Address determines the first communication path;
Described device further include:
Comparison module 77 is communicated for comparing the current current communication path connecting with second gateway with described first Whether path is identical, requests if it is not, then sending to second gateway for the update of more new communication path;
Receiving module 78, for receiving the agreement instruction for updating request that second gateway is sent, and according to institute The first communication path is stated to connect with second gateway.
Optionally, the determining module 73, comprising:
Determination unit 731, for determining energy according to the first network protocol address, second internet protocol address Enough available communication paths communicated with second gateway;
Test cell 732, for sending test bag to second gateway according to the available communication path and being surveyed Test result;
The determination unit 731 is also used to determine that target is logical in the available communication path according to the test result Believe path.
The concrete principle and implementation of the determining device of communication path provided in this embodiment with implementation shown in Fig. 4 Example is similar, and details are not described herein again.
Fig. 9 is the structure chart of communication path locking equipment really between gateway shown in an of the invention exemplary embodiment.
As shown in figure 9, locking equipment includes: communication path really between gateway provided in this embodiment
Memory 91;
Processor 92;And
Computer program;
Wherein, the computer program is stored in the memory 91, and be configured to by the processor 92 execute with The determination method of communication path between the gateway of realization as shown in the figures 1 and 2.
Figure 10 is the structure chart of communication path locking equipment really between gateway shown in another exemplary embodiment of the present invention.
As shown in Figure 10, locking equipment includes: communication path really between gateway provided in this embodiment
Memory 1001;
Processor 1002;And
Computer program;
Wherein, the computer program is stored in the memory 1001, and is configured to be held by the processor 1002 Row is to realize the determination method of communication path between the gateway as shown in figure 3 or 4.
The present embodiment also provides a kind of readable storage medium storing program for executing, is stored thereon with computer program,
The computer program is executed by processor to realize communication path between the gateway as shown in the figures 1 and 2 Determine method.
The present embodiment also provides a kind of readable storage medium storing program for executing, is stored thereon with computer program,
The computer program is executed by processor to realize communication path between the gateway as shown in figure 3 or 4 Determine method.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (16)

1. a kind of determination method of communication path between gateway characterized by comprising
Receive the first network protocol address of first gateway of the first gateway transmission;
Receive the second internet protocol address of second gateway of the second gateway transmission;
Second internet protocol address is sent to first gateway;
Receive the destinations traffic path that first gateway is sent, wherein the destinations traffic path is the first gateway root It is determined according to the first network protocol address, second internet protocol address;
The destinations traffic path is sent to second gateway, so that first gateway and second gateway are based on described Connection is established in destinations traffic path.
2. the method according to claim 1, wherein the method also includes:
The called number that first gateway is sent is received, second gateway is determined according to the called number.
3. a kind of determination method of communication path between gateway characterized by comprising
First network protocol address is sent to Softswitch;
Receive the second internet protocol address that the Softswitch is sent, wherein second internet protocol address is second Gateway is sent to the Softswitch;
Destinations traffic path is determined according to the first network protocol address, second internet protocol address;
The destinations traffic path is sent to the Softswitch, so that the Softswitch is by the destinations traffic path It is sent to second gateway, and connection is established according to the destinations traffic path and second gateway.
4. according to the method described in claim 3, it is characterized in that, described send first network protocol address to Softswitch Before, further includes:
Called number is sent to the Softswitch, so that the Softswitch determines described the according to the called number Two gateways.
5. the method according to claim 3 or 4, which is characterized in that described according to the destinations traffic path and described the Two gateways are established after connection, further includes:
The first communication path is determined according to the first network protocol address, second internet protocol address;
It compares the current communication path currently connecting with second gateway and whether first communication path is identical, if it is not, It then sends to second gateway and is requested for the update of more new communication path;
Receive the agreement instruction for updating request that second gateway is sent, and according to first communication path with it is described The connection of second gateway.
6. the method according to claim 3 or 4, which is characterized in that it is described according to the first network protocol address, it is described Second internet protocol address determines destinations traffic path, comprising:
According to the first network protocol address, second internet protocol address, it is determined to carry out with second gateway The available communication path of communication;
Test bag is sent to second gateway according to the available communication path and obtains test result;
Destinations traffic path is determined in the available communication path according to the test result.
7. the determining device of communication path between a kind of gateway characterized by comprising
Address receiving module, the first network protocol address of first gateway for receiving the transmission of the first gateway;
The address receiving module is also used to receive the second internet protocol address of second gateway of the second gateway transmission;
Address sending module, for second internet protocol address to be sent to first gateway;
Path receiving module, the destinations traffic path sent for receiving first gateway, wherein the destinations traffic path It is that first gateway is determined according to the first network protocol address, second internet protocol address;
Path sending module, for sending the destinations traffic path to second gateway, so that first gateway and institute It states the second gateway and connection is established based on the destinations traffic path.
8. device according to claim 7, which is characterized in that described device further include:
Number receiving module, the called number sent for receiving first gateway, according to called number determination Second gateway.
9. the determining device of communication path between a kind of gateway characterized by comprising
Address sending module, for sending first network protocol address to Softswitch;
Address receiving module, the second internet protocol address sent for receiving the Softswitch, wherein second net Network protocol address is that the second gateway is sent to the Softswitch;
Determining module, for determining destinations traffic road according to the first network protocol address, second internet protocol address Diameter;
Path sending module, for sending the destinations traffic path to the Softswitch, so that the Softswitch The destinations traffic path is sent to second gateway;
Link block, for establishing connection according to the destinations traffic path and second gateway.
10. device according to claim 9, which is characterized in that further include:
Number sending module, for sending called number to the Softswitch, so that the Softswitch is according to Called number determines second gateway.
11. device according to claim 9 or 10, which is characterized in that the determining module is also used to according to described first Internet protocol address, second internet protocol address determine the first communication path;
Described device further include:
Comparison module is for comparing the current current communication path connecting with second gateway and first communication path It is no identical, it is requested if it is not, then being sent to second gateway for the update of more new communication path;
Receiving module, for receiving the agreement instruction for updating request that second gateway is sent, and according to described first Communication path is connect with second gateway.
12. device according to claim 9 or 10, which is characterized in that the determining module, comprising:
Determination unit, for according to the first network protocol address, second internet protocol address, be determined to it is described The available communication path that second gateway is communicated;
Test cell, for sending test bag to second gateway according to the available communication path and obtaining test result;
The determination unit is also used to determine destinations traffic path in the available communication path according to the test result.
13. communication path locking equipment really between a kind of gateway characterized by comprising
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured to be executed by the processor to realize such as power Benefit requires any method of 1-2.
14. communication path locking equipment really between a kind of gateway characterized by comprising
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured to be executed by the processor to realize such as power Benefit requires any method of 3-6.
15. a kind of readable storage medium storing program for executing, which is characterized in that it is stored thereon with computer program,
The computer program is executed by processor to realize the method as described in claim 1-2 is any.
16. a kind of readable storage medium storing program for executing, which is characterized in that it is stored thereon with computer program,
The computer program is executed by processor to realize the method as described in claim 3-6 is any.
CN201810749413.8A 2018-07-10 2018-07-10 Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway Pending CN108933733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810749413.8A CN108933733A (en) 2018-07-10 2018-07-10 Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810749413.8A CN108933733A (en) 2018-07-10 2018-07-10 Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway

Publications (1)

Publication Number Publication Date
CN108933733A true CN108933733A (en) 2018-12-04

Family

ID=64448028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810749413.8A Pending CN108933733A (en) 2018-07-10 2018-07-10 Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway

Country Status (1)

Country Link
CN (1) CN108933733A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110234115A (en) * 2019-05-23 2019-09-13 深圳和而泰家居在线网络科技有限公司 More facility communication systems and data communications method
CN110868348A (en) * 2019-10-17 2020-03-06 深圳绿米联创科技有限公司 Multi-gateway communication method, device and system and electronic equipment
CN111934936A (en) * 2020-09-10 2020-11-13 广州虎牙科技有限公司 Network state detection method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050243805A1 (en) * 2004-04-30 2005-11-03 Matsushita Electric Industrial Co., Ltd. IP telephone system, IP telephone apparatus and calling method
US20100046515A1 (en) * 2003-06-27 2010-02-25 Broadcom Corporation Selecting a path for a packet
CN101820651A (en) * 2009-02-27 2010-09-01 华为技术有限公司 Communication path selection method, network conversion equipment, load bearing equipment and communication system
CN102511155A (en) * 2011-12-05 2012-06-20 华为技术有限公司 IP path negotiation method, system and device
CN103428031A (en) * 2013-08-05 2013-12-04 浙江大学 Inter-domain link fast failure recovery method based on software defined network
CN107395683A (en) * 2017-06-26 2017-11-24 网宿科技股份有限公司 The system of selection of a kind of time source path and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046515A1 (en) * 2003-06-27 2010-02-25 Broadcom Corporation Selecting a path for a packet
US20050243805A1 (en) * 2004-04-30 2005-11-03 Matsushita Electric Industrial Co., Ltd. IP telephone system, IP telephone apparatus and calling method
CN101820651A (en) * 2009-02-27 2010-09-01 华为技术有限公司 Communication path selection method, network conversion equipment, load bearing equipment and communication system
CN102511155A (en) * 2011-12-05 2012-06-20 华为技术有限公司 IP path negotiation method, system and device
CN103428031A (en) * 2013-08-05 2013-12-04 浙江大学 Inter-domain link fast failure recovery method based on software defined network
CN107395683A (en) * 2017-06-26 2017-11-24 网宿科技股份有限公司 The system of selection of a kind of time source path and server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110234115A (en) * 2019-05-23 2019-09-13 深圳和而泰家居在线网络科技有限公司 More facility communication systems and data communications method
CN110868348A (en) * 2019-10-17 2020-03-06 深圳绿米联创科技有限公司 Multi-gateway communication method, device and system and electronic equipment
CN111934936A (en) * 2020-09-10 2020-11-13 广州虎牙科技有限公司 Network state detection method and device, electronic equipment and storage medium
CN111934936B (en) * 2020-09-10 2023-07-18 广州虎牙科技有限公司 Network state detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3278514B1 (en) Data transmission
US6938179B2 (en) Socket extensions for redundancy
CN112152921B (en) Method for establishing routing table, electronic equipment and network
CN109218186A (en) A kind of multi-path data method for transmission processing and the network equipment
CN107801249A (en) The resource allocation methods and its equipment and system of wireless communication system
KR20080091131A (en) Digital object routing
EP2932653A2 (en) Method and apparatus for augmenting twamp
JP2005516435A (en) Mechanisms for policy-based UMTS QoS and IP QoS management in mobile IP networks
WO2007142719A2 (en) Routing protocol with packet network attributes for improved route selection
CN108933733A (en) Determination method, apparatus, equipment and the readable storage medium storing program for executing of communication path between gateway
CN108234309A (en) A kind of transmission method of network data
CN104852855B (en) Jamming control method, device and equipment
JP2006506845A (en) How to select a logical link for a packet in a router
CN107534608A (en) Method and apparatus for processing data stream within a wireless communication network
CN108667746B (en) Method for realizing service priority in deep space delay tolerant network
CN107509222A (en) Communication means, gateway device and computer-readable recording medium
CN106464670A (en) Network entity and service policy management method
CN103475595A (en) System and method for overload control of Parlay X gateway
CN108809549A (en) A kind of method and apparatus of transmission data
US20140192654A1 (en) Network of media servers and a method of dynamically routing calls over the network of media servers
CN107196856A (en) A kind of method and apparatus for determining routing forwarding path
CN114124787A (en) Data sending method, device, equipment and hybrid network
CN106454201B (en) Video conference access service quality assurance method based on IMS network
WO2022037097A1 (en) Communication method, apparatus and system
CN105812272A (en) Processing method of service chain, device and system

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: 20181204