CN103259791A - Traversal communication routing method, terminal and system - Google Patents
Traversal communication routing method, terminal and system Download PDFInfo
- Publication number
- CN103259791A CN103259791A CN2013101574969A CN201310157496A CN103259791A CN 103259791 A CN103259791 A CN 103259791A CN 2013101574969 A CN2013101574969 A CN 2013101574969A CN 201310157496 A CN201310157496 A CN 201310157496A CN 103259791 A CN103259791 A CN 103259791A
- Authority
- CN
- China
- Prior art keywords
- territory
- under
- calling party
- callee
- described calling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a traversal communication routing method, terminal and system. The traversal communication routing method comprises the following steps of receiving communication requests sent by a calling party, obtaining topology information of a domain where the calling party belongs according to the communication requests sent by the calling party, confirming dedicated network connection existing between the domain where the calling party belongs and a domain where a called party belongs according to the topology information of the domain where the calling party belongs and topology information of the domain where the called party belongs, and building communication connection between the calling party and the called party according to the dedicated network connection between the domain where the calling party belongs and the domain where the called party belongs. According to the traversal communication routing method, terminal and system, communication among the domains can be preferentially built by means of the dedicated network connection, communication delay is reduced, and user experience is improved.
Description
Technical field
The present invention relates to the communications field, relate in particular to a kind of communication route selecting method, terminal and system of passing through.
Background technology
Adopt NAT(Network Address Translation, Network address translators) or FW(firewall, fire compartment wall) to insert the Internet be company, the main network access of colleges and universities and government bodies.By in the local area network (LAN) exit NAT or FW being set, can save IP(InternetProtocol, Internet protocol on the one hand) address resource, can guarantee the safety of local area network (LAN) inside on the other hand and control internal staff's access rights.But the existence of NAT/FW has also become the obstacle of general network communication simultaneously, and it requires communication software must possess the ability of passing through NAT/FW, could realize transfer of data end to end.The communication that realizes at present passing through NAT/FW all is the solution that the filtering rule of external packet is proposed at address mapping and fire compartment wall, but when NAT/FW limited the PORT COM of going out or agreement, general passed through communication plan all with helpless.
Pass through in the scene at NAT/FW equipment commonly used, the user can be by disposing public network server STUN/TURN Server(Session Traversal Utilities for NAT/Traversal Using Relays around NAT, pass through function/penetrate function based on the NAT of Relay at the session of NAT) to guarantee that any connection that client is initiated can be by STUN/TURN Server success cross-over NAT equipment, the called mechanism of following that generally can only adopt is set up in cross-domain communication, be that the callee gets access to the STUN/TURN Server public network IP address IP0 that the calling party uses, then directly to this public network address IP0 request service, thereby guarantee in any case, the calling and called user can be linked on the same STUN/TURN Server, thereby avoids the problem that relay address under cross-domain can't intercommunication.Yet existing pass through after the called follow-up strategy that adopts in the communication plan can be because the internet network itself bring very big time-delay, and can't use the low delay characteristic that the proprietary network that may exist between the communicating pair domain server provides.
Summary of the invention
The embodiment of the invention provides a kind of communication route selecting method, terminal and system of passing through, and can realize using as much as possible special line capability improving communication experiences, effectively reduces communication delay.
Embodiment of the invention first aspect provides a kind of communication route selecting method that passes through, and it is characterized in that, the described communication route selecting method that passes through comprises:
Receive the communication request that the calling party sends;
The communication request that sends according to described calling party is obtained the topology information in territory under the described calling party;
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee;
By the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
In first kind of embodiment of the invention first aspect possible implementation, the topology information in territory comprises under the described calling party: the special line ability in territory under the described calling party, and the special line ability in territory comprises under the described calling party: with the domain identifier in the territory that exists private network to be connected under the described calling party between the territory;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described according to territory under the described calling party topology information and the callee under the topology information in territory determine that existing private network to be connected between the territory under the territory and callee under the described calling party comprises:
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the described callee.
In second kind of embodiment of the invention first aspect possible implementation, the topology information in territory comprises under the described calling party: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the special line ability in territory under the described callee, and the special line ability in territory comprises under the described callee: with the domain identifier in the territory that exists private network to be connected under the described callee between the territory;
Described according to the topology information in territory under the described calling party and under self the topology information in territory determine that existing private network to be connected between the territory under the territory and callee under the described calling party comprises:
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the special line ability in territory under the domain identifier in territory under the described calling party and the described callee.
In the third possible implementation of embodiment of the invention first aspect, the topology information in territory comprises under the described calling party: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described according to territory under the described calling party topology information and the callee under the topology information in territory determine that existing private network to be connected between the territory under the territory and callee under the described calling party comprises:
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the domain identifier in territory under the calling party and the callee.
In the 4th kind of possible implementation of embodiment of the invention first aspect, the topology information in territory comprises under the described calling party: the special line ability in territory under the domain identifier in territory and the described calling party under the described calling party;
Described according to territory under the described calling party topology information and described callee under the topology information in territory determine to exist before the private network step of connecting between the territory under the territory and callee under the described calling party, described method also comprises:
According to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party determine described calling party current under the territory during with access network under the territory identical.
In conjunction with the 4th kind of possible implementation of embodiment of the invention first aspect, in the 5th kind of possible implementation, the topology information in territory also comprises under the described calling party: the address of territory corresponding server under the described calling party;
If according to the special line ability in territory under the described calling party during with described calling party's access network under the domain identifier in territory determine described calling party current under the territory during with access network under the territory different, described method also comprises:
According to the address of territory corresponding server under described calling party territory corresponding server under the described calling party initiate to set up and described calling party between communicating to connect.
In conjunction with the arbitrary implementation in first to the 5th kind of possible implementation of embodiment of the invention first aspect and first aspect, in the 6th kind of possible implementation, described method also comprises:
The territory corresponding server is obtained the topology information in territory under the described callee under the callee.
In conjunction with the 6th kind of possible implementation of embodiment of the invention first aspect, in the 7th kind of possible implementation, described under the described callee territory corresponding server obtain that the topology information in territory comprises under the described callee:
By mutual with name server, obtain the address information of the affiliated territory of described callee corresponding server;
Carry out the address according to the address information of territory corresponding server under the described callee and survey, the territory corresponding server is obtained the topology information in territory under the described callee under the described callee.
In conjunction with the arbitrary implementation in first to the 7th kind of possible implementation of embodiment of the invention first aspect and first aspect, in the 8th kind of possible implementation, the described communication request that sends according to described calling party obtains that the topology information in territory comprises under the described calling party:
From the communication request that described calling party sends, obtain the third party's signaling that carries the topology information in territory under the described calling party, and from the described third party's signaling that carries the topology information in territory under the described calling party, extract the topology information in territory under the described calling party.
In the 9th kind of possible implementation of embodiment of the invention first aspect, the topology information in territory comprises under the described calling party: the address of territory corresponding server under the described calling party;
If according to the topology information in territory under the described calling party and under self the topology information in territory determine not exist private network to be connected between the territory under the territory and callee under the described calling party, described method also comprises:
According to the address of territory corresponding server under described calling party territory corresponding server under the described calling party initiate to set up and described calling party between communicating to connect.
Accordingly, embodiment of the invention second aspect provides a kind of communication route selecting method that passes through, and it is characterized in that described method comprises:
Initiate communication request to the callee;
The topology information in territory initiate in the communication request procedure to send to described callee the calling party to described callee under so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee and by the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
In first kind of embodiment of the invention second aspect possible implementation, described callee's topology information comprises the special line ability in territory under the described callee, under the described callee special line ability in territory comprise with described callee under have the domain identifier in the territory that private network is connected between the territory;
The topology information in territory comprises under the described calling party who sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the special line ability in territory under the domain identifier in territory under the described calling party and the callee.
In second kind of embodiment of the invention second aspect possible implementation, described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the described calling party who sends to described callee: the special line ability in territory under the described calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the callee, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory.
In the third possible implementation of embodiment of the invention second aspect, described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the described calling party who sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the domain identifier in territory under the described calling party and the callee.
First arbitrary implementation to the third possible implementation in conjunction with embodiment of the invention second aspect and second aspect, in the 4th kind of possible implementation, before the described step that sends the topology information in territory under the calling party to described callee, described method also comprises:
The territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party.
In conjunction with the 4th kind of possible implementation of embodiment of the invention second aspect, in the 5th kind of possible implementation, described under the described calling party territory corresponding server obtain that the topology information in territory comprises under the described calling party:
By mutual with name server, obtain the address information of the affiliated territory of described calling party corresponding server;
Carry out the address according to the address information of territory corresponding server under the described calling party and survey, the territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party.
In conjunction with the 4th kind of possible implementation of embodiment of the invention second aspect, in the 6th kind of possible implementation, described under the described calling party territory corresponding server obtain that the topology information in territory comprises under the described calling party:
When access network, the territory corresponding server is obtained the special line ability/domain identifier in territory under the calling party under the described calling party;
When initiating communication request to the callee, the territory corresponding server is obtained the domain identifier/special line ability in territory under the described calling party under the described calling party;
The topology information in territory comprises under the described calling party who sends to described callee: the domain identifier in territory under the special line ability in territory and the described calling party under the described calling party so that described callee when determining to exist between the territory under the territory and callee under the described calling party private network to determine the current affiliated territory of described calling party and access network according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party before connecting according to the topology information in territory under the topology information in territory under the described calling party and the callee under the territory identical.
In conjunction with the arbitrary implementation in first to the 6th kind of possible implementation of embodiment of the invention second aspect and second aspect, in the 7th kind of possible implementation, described initiate in the communication request procedure to send to described callee the calling party to described callee under the topology information in territory comprise:
Initiating in the communication request procedure to send to described callee the third party's signaling that carries the topology information in territory under the described calling party to described callee, so that described callee extracts the topology information in territory under the described calling party from described third party's signaling.
In the 8th kind of possible implementation of embodiment of the invention second aspect, the topology information in territory comprises the address of territory corresponding server under the described calling party under the described calling party so that the topology information in described callee territory under according to described calling party and when the topology information in territory is determined not exist private network to be connected between the territory under the territory and callee under the described calling party under self according to described calling party under the address of territory corresponding server communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
Correspondingly, the embodiment of the invention third aspect also provides a kind of terminal equipment, and described terminal equipment comprises:
Caller topology acquisition module is used for obtaining according to the communication request that described calling party sends the topology information in territory under the described calling party;
The private network judge module, be used for according to the topology information in territory under the described calling party and under self the topology information in territory judge under the described calling party whether exist private network to be connected between the territory under the territory and callee;
The private network communication module, when being used under described private network judge module is judged described calling party, existing private network to be connected between the territory and the affiliated territory of callee, be connected communicating to connect between foundation and the calling party by the private network between the territory under territory under the described calling party and the callee.
In first kind of possible implementation of the embodiment of the invention third aspect, the topology information in territory comprises under the calling party that described caller topology acquisition module gets access to: the special line ability in territory under the described calling party, and the special line ability in territory comprises under the described calling party: with the domain identifier in the territory that exists private network to be connected under the described calling party between the territory;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described private network judge module specifically is used for:
Judge under the described calling party whether exist private network to be connected between the territory under the territory and callee according to the domain identifier in territory under the special line ability in territory under the described calling party and the described callee.
In second kind of possible implementation of the embodiment of the invention third aspect, the topology information in territory comprises under the calling party that described caller topology acquisition module gets access to: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the special line ability in territory under the described callee, and the special line ability in territory comprises under the described callee: with the domain identifier in the territory that exists private network to be connected under the described callee between the territory;
Described private network judge module specifically is used for:
Judge under the described calling party whether exist private network to be connected between the territory under the territory and callee according to the special line ability in territory under the domain identifier in territory under the described calling party and the described callee.
In the third possible implementation of the embodiment of the invention third aspect, the topology information in territory comprises under the calling party that described caller topology acquisition module gets access to: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described private network judge module specifically is used for:
Judge under the described calling party whether exist private network to be connected between the territory under the territory and callee according to the domain identifier in territory under the domain identifier in territory under the described calling party and the described callee.
In the 4th kind of possible implementation of the embodiment of the invention third aspect, the topology information in territory comprises under the described calling party: the special line ability in territory under the domain identifier in territory and the described calling party under the described calling party;
Described terminal equipment also comprises:
Caller network judge module, be used for according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party judge described calling party current under the territory during with access network under the territory whether identical, determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the described callee if then trigger described private network judge module.
In conjunction with the 4th kind of possible implementation of the embodiment of the invention third aspect, in the 5th kind of possible implementation, the topology information in territory also comprises the address of the affiliated territory of described calling party corresponding server under the calling party that described caller topology acquisition module gets access to;
Described terminal equipment also comprises:
The called module of following, be used for when described caller network judge module according to described calling party under under the special line ability in territory and the described calling party domain identifier in territory determine described calling party current under the territory during with access network under the territory not simultaneously, according to the address of territory corresponding server under the described calling party communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
In conjunction with the arbitrary implementation in first to the 5th kind of possible implementation of the embodiment of the invention third aspect and the third aspect, in the 6th kind of possible implementation, described terminal equipment also comprises:
Self topological acquisition module is used for the topology information that under callee territory corresponding server is obtained territory under the described callee.
In conjunction with the 6th kind of possible implementation of the embodiment of the invention third aspect, in the 7th kind of possible implementation, described self topological acquisition module comprises:
Address acquisition unit is used for by mutual with name server, obtains the address information of the affiliated territory of described callee corresponding server;
The address probe unit is used for carrying out the address according to the address information of territory corresponding server under the described callee and surveys, and the territory corresponding server is obtained the topology information in territory under the described callee under the described callee.
In conjunction with the arbitrary implementation in first to the 7th kind of possible implementation of the embodiment of the invention third aspect and the third aspect, in the 8th kind of possible implementation,
Described caller topology acquisition module specifically is used for:
From the communication request that described calling party sends, obtain the third party's signaling that carries the topology information in territory under the described calling party, and from the described third party's signaling that carries the topology information in territory under the described calling party, extract the topology information in territory under the described calling party.
In the 9th kind of possible implementation of the embodiment of the invention third aspect, the topology information in territory comprises under the described calling party that described caller topology acquisition module gets access to: the address of territory corresponding server under the described calling party;
Described terminal equipment comprises:
The called module of following, when being used under the private network judge module is determined described calling party, not existing private network to be connected between the territory under the territory and callee, according to the address of territory corresponding server under the described calling party communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
Accordingly, embodiment of the invention fourth aspect also provides a kind of terminal equipment, and described terminal equipment comprises:
The communication request initiation module is used for initiating communication request to the callee;
The topology information sending module, be used for initiating communication request procedure sends topology information from territory under the calling party to described callee to described callee, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee and be connected communicating to connect between foundation and the calling party by the private network between the territory under territory under the described calling party and the callee.
In first kind of possible implementation of embodiment of the invention fourth aspect, described callee's topology information comprises the special line ability in territory under the described callee, under the described callee special line ability in territory comprise with described callee under have the domain identifier in the territory that private network is connected between the territory;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the special line ability in territory under the domain identifier in territory under the described calling party and the callee.
In second kind of possible implementation of embodiment of the invention fourth aspect, described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the special line ability in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the callee, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory.
In the third possible implementation of embodiment of the invention fourth aspect, described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the domain identifier in territory under the described calling party and the callee.
In conjunction with first arbitrary implementation to the third possible implementation of embodiment of the invention fourth aspect and fourth aspect, in the 4th kind of possible implementation, described terminal equipment also comprises:
Self topological acquisition module is used for the topology information that under described calling party territory corresponding server is obtained territory under the described calling party.
In conjunction with the 4th kind of possible implementation of embodiment of the invention fourth aspect, in the 5th kind of possible implementation, described self topological acquisition module comprises:
Address acquisition unit is used for by mutual with name server, obtains the address information of the affiliated territory of described calling party corresponding server;
The address probe unit is used for carrying out the address according to the address information of territory corresponding server under the described calling party and surveys, and the territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party.
In conjunction with the 4th kind of possible implementation of embodiment of the invention fourth aspect, in the 6th kind of possible implementation, described self topological acquisition module specifically is used for:
The territory corresponding server is obtained the special line ability/domain identifier in territory under the described calling party under the described calling party when access network, and when initiating communication request to the callee under the described calling party territory corresponding server obtain the domain identifier/special line ability in territory under the described calling party;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the domain identifier in territory under the special line ability in territory and the described calling party under the described calling party so that described callee when determining to exist between the territory under the territory and callee under the described calling party private network to determine the current affiliated territory of described calling party and access network according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party before connecting according to the topology information in territory under the topology information in territory under the described calling party and the callee under the territory identical.
In conjunction with the arbitrary implementation in first to the 6th kind of possible implementation of embodiment of the invention fourth aspect and fourth aspect, in the 7th kind of possible implementation, described topology information sending module specifically is used for:
Initiating in the communication request procedure to send to described callee the third party's signaling that carries the topology information in territory under the described calling party to described callee, so that described callee extracts the topology information in territory under the described calling party from described third party's signaling.
In the 8th kind of possible implementation of embodiment of the present invention fourth aspect, under the described calling party that described topology information sending module sends, the topology information in territory comprises the address of the server that territory under described calling party is corresponding, if so that described callee according to the topology information in territory under described calling party and under self the topology information in territory determine under described calling party not exist between territory under territory and callee address that private network connects the server corresponding according to territory under described calling party to initiate communication connection between foundation and described calling party to server corresponding to territory under described calling party.
Accordingly, the embodiment of the invention the 5th aspect also provides a kind of communication system of passing through, and the described communication system of passing through comprises calling party and callee, wherein:
Described calling party is as the described terminal equipment of fourth aspect present invention, is used for initiating communication request to the callee; The topology information in territory initiate in the communication request procedure to send to described callee the calling party to described callee under;
Described callee is as the described terminal equipment of third aspect present invention, is used for receiving calling party's communication request; The communication request that sends according to described calling party is obtained the topology information in territory under the described calling party; Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee; By the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
As seen, callee in the embodiment of the invention by obtaining territory under the calling party topology information and judge under the communicating pair whether exist private network to connect between the territory in conjunction with the topology information in territory under the callee, and then dynamic routing is carried out in realization, thereby can preferentially utilize private network to connect and set up inter-domain communication, reduce communication delay, promote the user and experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet that passes through the communication route selecting method in the embodiment of the invention;
Fig. 2 is the schematic flow sheet that the another kind in the embodiment of the invention passes through the communication route selecting method;
Fig. 3 is the schematic flow sheet that in the embodiment of the invention another passed through the communication route selecting method;
Fig. 4 is the schematic flow sheet that in the embodiment of the invention another passed through the communication route selecting method;
Fig. 5 is the schematic flow sheet that in the embodiment of the invention another passed through the communication route selecting method;
Fig. 6 is the structural representation of a kind of terminal equipment in the embodiment of the invention;
Fig. 7 is the structural representation of self topological acquisition module in the terminal equipment in the embodiment of the invention;
Fig. 8 is as the another kind of structural representation of callee's terminal equipment in the embodiment of the invention;
Fig. 9 is the structural representation of another kind of terminal equipment in the embodiment of the invention;
Figure 10 is as the another kind of structural representation of calling party's terminal equipment in the embodiment of the invention;
Figure 11 is a kind of structural representation that passes through communication system in the embodiment of the invention;
Figure 12 realizes passing through the Sample Scenario figure of communication in the embodiment of the invention;
Figure 13 is the structural representation of terminal equipment embodiment two of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is a kind of schematic flow sheet that passes through the communication route selecting method in the embodiment of the invention, passing through communication route selecting method in the embodiment of the invention example can be implemented in the communication of passing through between as shown in figure 12 cross-domain, TRS(Turn Redirect Server, Redirect Server) is used for carrying out the load balancing that resource is handled in intra-area communication, the scene that special line ability and the intercommunication of assurance private net address are arranged between the corresponding server of communicating pair territory, Figure 12 is the example of application scenarios, should be understood that, the present invention does not limit application scenarios, as shown in Figure 1 passing through communication route selecting method flow process and can comprise in the present embodiment:
S101, reception calling party's communication request.Concrete, the calling party can pass through SIP/XMPP Jingle(Session Initiation Protocol, signaling control protocol/The Extensible Messaging and Presence Protocol Jingle, can expand the Extended Protocol of communication and presentation protocol) etc. third party's signaling initiate communication request to the callee, the mentioned communication request of the embodiment of the invention can be the speech communication request, the video communication request, data communication request etc.
S102, the communication request that sends according to described calling party is obtained the topology information in territory under the described calling party.Concrete, under the described calling party topology information in territory can be the calling party when its access network, surveys obtain or after initiating this communication request, obtain to the detection of affiliated territory corresponding server, be used for offering the callee passes through communication according to described topology information dynamic routing, described topology information can comprise that the STUN/TURN Server address that the calling party inserts (is the territory public network address nearby, as IP0) and domain identifier (as 001), the calling party surveys the special line ability in the affiliated territory that obtains by carry out the address to affiliated territory corresponding server, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory, as (001,002), (001,003) etc., last position is encoded to the domain identifier of territory corresponding server self under the calling party, back one be encoded to described calling party under have the domain identifier in the territory that private network is connected between the territory.In the specific implementation, the calling party can be by the expansion of third party's signalings such as SIP/XMPP Jingle, send third party's signaling of carrying the topology information in territory under the described calling party to the callee in the communication request procedure that sends to the callee, the callee obtains the third party's signaling that carries the topology information in territory under the described calling party from the communication request that described calling party sends, and extracts the topology information in territory under the described calling party from the described third party's signaling that carries the topology information in territory under the described calling party.
S103 determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee.Concrete, described under self the topology information in territory can be the callee when access network, survey in advance obtain or under this receives the calling party after the topology information in territory under the callee territory corresponding server survey and obtain, described topology information can comprise that the STUN/TURN Server address that the callee inserts (is the territory public network address nearby, as IP1), domain identifier (as 002) and callee are by the special line ability in territory under the callee who obtains to the detection of affiliated territory corresponding server, under the described callee special line ability in territory comprise with described callee under have the domain identifier in the territory that private network is connected between the territory, as (002,001).The callee can determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee, as whether existing private network to be connected between the territory under territory under the calling party as described in the domain identifier in territory under the domain identifier in territory under the calling party and the callee territory corresponding server or other special line competence management systems under the callee are inquired about and the callee, or just under the calling party under the domain identifier in territory and the callee domain identifier in territory in the special line ability information that gets access in advance, inquire about under the both sides between the territory whether the private network connection is arranged; The special line ability in territory under and for example comprising in the topology information in territory under the calling party, the domain identifier that comprises the affiliated territory of callee under the callee in the topology information in territory, so can be under the calling party search the domain identifier that whether has territory under the callee in the special line ability in territory, if exist, then represent to exist private network to be connected between the territory and the affiliated territory of callee under the calling party; The domain identifier in territory under and for example comprising in the topology information in territory under the calling party, the special line ability that comprises the affiliated territory of callee under the callee in the topology information in territory, so can be under self search the domain identifier that whether has territory under the calling party in the special line ability in territory, if exist, then represent to exist private network to be connected between the territory and the affiliated territory of callee under the calling party.
S104, by the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.Concrete, under the communication scenes as shown in figure 12, if the callee determines the affiliated territory (IP0 of calling party, 001) with the affiliated territory (IP1 of callee, 002) exist private network to connect between, then the callee can initiate to establish a communications link to territory corresponding server under the callee, and then be connected IP0:port1-IP1:port1 by private network between the territory under territory and the calling party under the callee and set up the relaying connection, final by communicating to connect between territory corresponding server and the calling party under the calling party, realize that foundation obtains communicating to connect between calling party and the callee.If the callee determines not exist private network to be connected between the territory and the affiliated territory of callee under the calling party, then can adopt called follow-up strategy and calling party to establish a communications link according to the address ip 0 of territory corresponding server under the calling party, thereby still can communicate can guarantee under communicating pair, not exist between the territory private network connection time.
In the present embodiment as callee's terminal equipment by obtaining territory under the calling party topology information and judge under the communicating pair whether exist private network to connect between the territory in conjunction with the topology information in territory under the callee, and then dynamic routing is carried out in realization, thereby can preferentially utilize private network to connect and set up inter-domain communication, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
Fig. 2 is the schematic flow sheet that the another kind in the embodiment of the invention passes through the communication route selecting method, as shown in the figure passing through communication route selecting method flow process and can comprise in the present embodiment:
S201 initiates communication request to the callee.Concrete, the calling party in the embodiment of the invention can initiate communication request to the callee by third party's signalings such as SIP/XMPP Jingle.
S202, the topology information in territory initiate in the communication request procedure to send to described callee the calling party to described callee under so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee and by the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.In the specific implementation, the calling party can be by the expansion of third party's signalings such as SIP/XMPP Jingle, send third party's signaling of carrying the topology information in territory under the described calling party to the callee in the communication request procedure that sends to the callee, the callee obtains the third party's signaling that carries the topology information in territory under the described calling party from the communication request that described calling party sends, and extracts the topology information in territory under the described calling party from the described third party's signaling that carries the topology information in territory under the described calling party.Under the described calling party topology information in territory can be the calling party when access network, surveys obtain or after initiating this communication request, obtain to the detection of affiliated territory corresponding server, being specifically as follows: by DNS Server(Domain Name System) name server obtains the address of territory corresponding server under the described calling party, and then carry out the address according to the address of territory corresponding server under the described calling party and survey, the territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party, the topology information in territory can comprise the address of the affiliated territory of calling party corresponding server under the described calling party, domain identifier, the special line ability that can also comprise the affiliated territory of calling party, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory, as (001,002), (001,003) etc., last position is encoded to the domain identifier of territory corresponding server under the calling party, back one be encoded to described calling party under have the domain identifier in the territory that private network is connected between the territory.
In initiating communication request procedure, send the topology information in territory under the calling party in the present embodiment to the callee as calling party's terminal equipment, allow the callee judge whether exist under the communicating pair private network to connect between the territory with it and in conjunction with the topology information in territory under the callee, and then dynamic routing is carried out in realization, thereby can preferentially utilize private network to connect and set up inter-domain communication, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
Fig. 3 is the schematic flow sheet that the another kind in the embodiment of the invention passes through the communication route selecting method, as shown in the figure passing through communication route selecting method flow process and can comprise in the present embodiment:
S301, calling party are under inserting the calling party during territory, and the territory corresponding server is obtained the special line ability in territory under the described calling party under the calling party.Concrete, when the calling party inserts affiliated territory first or inserts current affiliated territory again, can by with the address that obtains territory corresponding server under the described calling party alternately of name server, and then carry out the address according to the address of territory corresponding server under the described calling party and survey, the territory corresponding server is obtained the special line ability in territory under the described calling party under the described calling party.
S302, callee are when access network, and the territory corresponding server is obtained the topology information in territory under the described callee under the callee.Similar with the calling party, the callee can be when access network, territory corresponding server or survey the topology information that under callee territory corresponding server is obtained territory under the described callee by the address when inserting current affiliated territory corresponding server again under for example inserting first.The topology information in territory can comprise the domain identifier in the affiliated territory of callee at least under the described callee, optionally can also comprise address and the special line ability of the affiliated territory of callee corresponding server.
S303, the calling party initiates communication request to the callee.Concrete, the calling party can initiate communication request to the callee by third party's signalings such as SIP/XMPP Jingle.
S304, calling party territory corresponding server under the described calling party is obtained the domain identifier in territory under the described calling party.Concrete, the calling party after initiating communication request to the callee, can by with S301 in similar address survey domain identifier and the address that mechanism territory corresponding server under the described calling party is obtained territory under the described calling party.In other optional embodiment, the calling party also can be in S301 under the calling party territory corresponding server obtain the domain identifier in territory under the calling party, corresponding in S304 under the calling party territory corresponding server obtain the special line ability in territory under the calling party, in like manner do not influence and realize follow-up flow process of the present invention.
S305, calling party send the topology information in territory under the calling party to the callee.Concrete, the calling party can be after described domain server gets access to the domain identifier in territory under the described calling party from the calling party, by the expansion of third party's signalings such as SIP/XMPP Jingle, send the third party's signaling carry the topology information in territory under the calling party to the callee.Under the calling party described in the present embodiment topology information in territory can comprise the calling party the special line ability in territory under the calling party that S301 gets access to and under the calling party that S304 gets access to domain identifier and the address in territory.
The territory corresponding server did not change behind access network under S306, callee determined the calling party.Concrete, the territory corresponding server did not change behind access network under the callee can determine described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party, the special line ability in territory is as (001 under the described calling party, 002), (001,003) etc., last position is encoded to the domain identifier of the affiliated territory of calling party corresponding server, soon more whether the domain identifier of the special line ability in territory is consistent with the domain identifier that the calling party obtains when making a call under the calling party, if the territory corresponding server did not change under unanimity was then determined the calling party, and then carry out S307 behind access network; Otherwise the affiliated territory corresponding server when the territory corresponding server was with its access network under the expression calling party was current is different, at this moment the success of setting up in order to ensure communication, can adopt called follow-up strategy and calling party to establish a communications link according to the address of territory corresponding server under the calling party, if in fact the private network connection of adopting dynamic routing then may cause selecting for use can't arrive transmit leg.
S307, callee determine to exist private network to be connected between the territory and the affiliated territory of callee under the described calling party.Concrete, the territory corresponding server is not after changing behind the access network under determining the calling party, the callee can according to the topology information in territory under the described calling party and under self the topology information in territory determine to exist private network to be connected between the territory under the territory and callee under the described calling party, search the domain identifier that whether has territory under the callee in can the special line ability for territory under the calling party in the present embodiment, if exist, then represent to exist private network to be connected between the territory and the affiliated territory of callee under the calling party.
S308, the callee connects communicating to connect between foundation and the calling party by described private network.Concrete, if the callee determines to exist private network to be connected between the territory and the affiliated territory of callee under the calling party, then the callee can establish a communications link to territory corresponding server under the callee, and then be connected by described private network between the corresponding server of territory under territory corresponding server and the calling party under the callee and set up the relaying connection, final by communicating to connect between territory corresponding server and the calling party under the calling party, realize communicating to connect between calling party and the callee.If the callee determines not exist private network to be connected between the territory and the affiliated territory of callee under the calling party, then the callee can adopt called follow-up strategy and calling party to establish a communications link according to the address of territory corresponding server under the calling party.
In the present embodiment, the calling party is respectively when access network and initiate to get access to after the communication request topology information of the part in territory under the calling party, the territory is identical under when the callee at first judges the current affiliated territory of described calling party with access network according to the topology information of different piece, if identically then carry out dynamic routing according to the topology information in territory under the topology information in territory under the described calling party and the callee, otherwise can directly adopt called follow-up strategy and calling party to establish a communications link in order to ensure the success that communication is set up, thereby realized under the prerequisite of setting up of guaranteeing to communicate by letter setting up inter-domain communication preferentially utilizing private network to connect, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
Fig. 4 is the schematic flow sheet that in the embodiment of the invention another passed through the communication route selecting method, as shown in the figure passing through communication route selecting method flow process and can comprise in the present embodiment:
S401, the calling party initiates communication request to the callee.Concrete, the calling party can initiate communication request to the callee by third party's signalings such as SIP/XMPP Jingle.
S402, calling party territory corresponding server under the calling party is obtained the topology information in territory under the described calling party.Concrete, the calling party is after initiating communication request to the callee, can obtain the address of territory corresponding server under the described calling party by name server, and then carry out the address according to the address of territory corresponding server under the described calling party and survey, the territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party, the topology information in the affiliated territory of calling party comprises the special line ability in the affiliated territory of calling party at least in the present embodiment, can also comprise domain identifier and the server address in the affiliated territory of calling party.
S403, the topology information in calling party territory initiate in the communication request procedure to send to the callee calling party to described callee under.Concrete, the calling party can be after described domain server gets access to the topology information in territory under the described calling party from the calling party, by the expansion of third party's signalings such as SIP/XMPP Jingle, send the third party's signaling carry the topology information in territory under the calling party to the callee.The topology information in territory can comprise the special line ability in calling party territory under the calling party who gets access to after the initiation communication request under the calling party described in the present embodiment, can also comprise the address of the affiliated territory of calling party corresponding server.
S404, callee obtain the topology information in the affiliated territory of described callee.Concrete, similar with the calling party, the callee can be after receiving the topology information that the calling party sends, and surveys the topology information that under callee territory corresponding server is obtained territory under the described callee by the address.The topology information in territory can comprise the domain identifier in the affiliated territory of callee at least under the described callee, optionally can also comprise address and the special line ability of the affiliated territory of callee corresponding server.
S405, callee determine to exist private network to be connected between the territory and the affiliated territory of callee under the described calling party.Concrete, search the domain identifier that whether has territory under the callee in can the special line ability for territory under the calling party in the present embodiment, if exist, then represent to exist private network to be connected between the territory and the affiliated territory of callee under the calling party.
S406, the callee connects communicating to connect between foundation and the calling party by described private network.Similar with the S308 among the preamble embodiment, repeat no more in the present embodiment.
Terminal equipment as the calling party in the present embodiment obtains the topology information in current affiliated territory and sends to the callee after the initiation communication request, the callee realizes judging under the communicating pair whether have the private network connection between the territory by the domain identifier of searching territory under the callee in the territory special line ability under the calling party, and then dynamic routing is carried out in realization, thereby can preferentially utilize private network to connect and set up inter-domain communication, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
Fig. 5 is the schematic flow sheet that in the embodiment of the invention another passed through the communication route selecting method, as shown in the figure passing through communication route selecting method flow process and can comprise in the present embodiment:
S501, the calling party initiates communication request to the callee.Concrete, the calling party can initiate communication request to the callee by third party's signalings such as SIP/XMPP Jingle.
S502, calling party territory corresponding server under the calling party is obtained the topology information in territory under the described calling party.Concrete, the calling party is after initiating communication request to the callee, can obtain the address of territory corresponding server under the described calling party by name server, and then carry out the address according to the address of territory corresponding server under the described calling party and survey, the territory corresponding server is obtained the topology information in the affiliated territory in territory under the described calling party under the described calling party, the topology information in the affiliated territory of calling party comprises the domain identifier in the affiliated territory of calling party at least in the present embodiment, can also comprise special line ability and the server address in the affiliated territory of calling party.
S503, the topology information in calling party territory initiate in the communication request procedure to send to the callee calling party to described callee under.Concrete, the calling party can send the topology information in territory under the calling party by third party's signalings such as SIP/XMPP Jingle to the callee.The topology information in territory can comprise the domain identifier in calling party territory under the calling party who gets access to after the initiation communication request under the calling party described in the present embodiment, can also comprise the address of the affiliated territory of calling party corresponding server.
S504, callee obtain the topology information in the affiliated territory of described callee.Concrete, similar with the calling party, the callee can be after receiving the topology information that the calling party sends, and surveys the topology information that under callee territory corresponding server is obtained territory under the described callee by the address.The topology information in territory can comprise the special line ability in the affiliated territory of callee at least under the described callee, optionally can also comprise address and the domain identifier of the affiliated territory of callee corresponding server.
S505, callee determine to exist private network to be connected between the territory and the affiliated territory of callee under the described calling party.Concrete, search the domain identifier that whether has territory under the calling party in can the special line ability for territory under the callee in the present embodiment, if exist, then represent to exist private network to be connected between the territory and the affiliated territory of callee under the calling party.
S506, the callee connects communicating to connect between foundation and the calling party by described private network.Similar with the S308 among the preamble embodiment, repeat no more in the present embodiment.
Terminal equipment as the calling party in the present embodiment obtains the topology information in current affiliated territory and sends to the callee after the initiation communication request, the domain identifier of searching territory under the calling party in the special line ability of callee by territory under the callee realizes judging under the communicating pair whether have the private network connection between the territory, and then dynamic routing is carried out in realization, thereby can preferentially utilize private network to connect and set up inter-domain communication, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
Fig. 6 is the structural representation of a kind of terminal equipment 600 in the embodiment of the invention, and as the callee, the terminal equipment 600 as the callee can comprise the terminal equipment 600 in the present embodiment at least in the embodiment of the invention as shown in the figure in passing through communication scenes:
Communication request receiver module 610 is for the communication request that receives the calling party.In the specific implementation, communication request receiver module 610 can obtain calling party's communication requests by third party's signalings such as SIP/XMPP Jingle, the mentioned communication request of the embodiment of the invention can be speech communication request, video communication request, data communication request etc.
Caller topology acquisition module 620 is used for obtaining according to the communication request that described calling party sends the topology information in territory under the described calling party.In the specific implementation, caller topology acquisition module 620 can obtain the topology information in territory under the calling party that the calling party sends by third party's signalings such as SIP/XMPP Jingle, under the described calling party topology information in territory can be the calling party when its access network, surveys obtain or after initiating this communication request, obtain to the detection of affiliated territory corresponding server, be used for offering the callee passes through communication according to described topology information dynamic routing, described topology information can comprise that the STUN/TURN Server address that the calling party inserts (is the domain server address nearby, as IP0) and domain identifier (as 001), can also comprise that optionally the calling party is by surveying the special line ability in the affiliated territory that obtains to affiliated territory corresponding server, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory, as (001,002), (001,003) etc., last position is encoded to the domain identifier of territory corresponding server under the calling party, back one be encoded to described calling party under have the domain identifier in the territory that private network is connected between the territory.In the specific implementation, the calling party can be by the expansion of third party's signalings such as SIP/XMPP Jingle, send third party's signaling of carrying the topology information in territory under the described calling party to the callee in the communication request procedure that sends to the callee, the callee obtains the third party's signaling that carries the topology information in territory under the described calling party from the communication request that described calling party sends, and extracts the topology information in territory under the described calling party from the described third party's signaling that carries the topology information in territory under the described calling party.
Private network judge module 630 is used for judging under the described calling party whether exist private network to be connected between the territory under the territory and callee according to the topology information in territory under the topology information in territory under the described calling party and the callee.In the specific implementation, described topology information can comprise that the STUN/TURN Server address that the callee inserts (is the domain server address nearby, as IP1) and domain identifier (as 002), can also comprise the callee by surveying the special line ability in territory under the callee obtain to affiliated territory corresponding server, under the described callee special line ability in territory comprise with described callee under have the domain identifier in the territory that private network is connected between the territory.Private network judge module 630 can be determined to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee, whether exist private network to be connected between the territory under territory and the callee under the calling party as described in inquiring about according to the domain identifier in territory under the domain identifier in territory under the calling party and the callee territory corresponding server or other special line competence management systems under the callee as private network judge module 630, or just under the calling party under the domain identifier in territory and the callee domain identifier in territory in the special line ability information that gets access in advance, inquire about under the both sides between the territory whether the private network connection is arranged; The special line ability in territory under and for example comprising in the topology information in territory under the calling party, the domain identifier that comprises the affiliated territory of callee under the callee in the topology information in territory, private network judge module 630 can be under the calling party be searched the domain identifier that whether has territory under the callee in the special line ability in territory so, if exist, then represent to exist private network to be connected between the territory and the affiliated territory of callee under the calling party; The domain identifier in territory under and for example comprising in the topology information in territory under the calling party, the special line ability that comprises the affiliated territory of callee under the callee that the callee gets access in the topology information in territory, private network judge module 630 can be under the callee be searched the domain identifier that whether has territory under the calling party in the special line ability in territory so, if exist, then represent to exist private network to be connected between the territory and the affiliated territory of callee under the calling party.
Private network communication module 640, be used for judging when existing private network to be connected between the territory and the affiliated territory of callee under the described calling partys when described private network judge module 630, be connected communicating to connect between foundation and the calling party by the private network between the territory under territory under the described calling party and the callee.In the concrete realization, passing through communication route selecting method in the embodiment of the invention example can be implemented in the communication of passing through between as shown in figure 12 cross-domain, have between the corresponding server of communicating pair territory under the communication scenes of special line ability and the intercommunication of assurance private net address, if private network judge module 630 is determined the affiliated territory (IP0 of calling party, 001) with the affiliated territory (IP1 of callee, 002) exist private network to connect between, private network communication module 640 can be initiated to establish a communications link to territory corresponding server under the callee, and then be connected IP0:port1-IP1:port1 by described private network between the territory under territory and the calling party under the callee and set up the relaying connection, final by communicating to connect between territory corresponding server and the calling party under the calling party, realize setting up and obtain communicating to connect between calling party and the callee, realized dynamic routing, preferentially utilize private network to connect and set up inter-domain communication, reduce communication delay.
Further, the terminal equipment 600 as the callee can also comprise in the embodiment of the invention:
Self topological acquisition module 650 is used under described callee territory corresponding server and obtains the described topology information in territory under self.In the specific implementation, self topological acquisition module 650 can be surveyed when the terminal equipment access network and obtain all or part of described topology information in territory under self, or under this receives the calling party after the topology information in territory under the callee territory corresponding server survey and obtain all or part of described topology information in territory under self.And then optional, self topological acquisition module 650 of terminal equipment may further include in the embodiment of the invention as shown in Figure 6:
Further, the terminal equipment 600 as the callee can also comprise in the embodiment of the invention:
The called module 660 of following, be used for according to the address of territory corresponding server under the described calling party set up by territory corresponding server under the described calling party and the calling party between communicating to connect.In the specific implementation, when not existing private network to be connected between the territory under territory and the callee under private network judge module 630 is determined described calling partys, the called module 660 of following can be according to the address of territory corresponding server under the described calling party communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
Further, the terminal equipment 600 as the callee can also comprise in the embodiment of the invention:
Caller network judge module 670, whether the territory corresponding server does not change behind access network under being used for judging described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party, if then trigger described private network judge module 630 according to the topology information in territory under the described calling party and described under self the topology information in territory determine to exist private network to be connected between the territory under the territory and callee under the described calling party.In the specific implementation, the calling party it can be got access to the special line ability/domain identifier in territory under self when the access network and the callee that after initiating this communication request, gets access under the domain identifier/special line ability of territory corresponding server send in the present embodiment terminal equipment as the callee, the territory corresponding server did not change behind access network under thereby the callee can determine described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party, the special line ability in territory is as (001 under the described calling party, 002), (001,003) etc., last position is encoded to the domain identifier of the affiliated territory of calling party corresponding server self, more whether the domain identifier in the special line ability in the affiliated territory that gets access to during for example with calling party's access network is consistent with the domain identifier that the calling party obtains when making a call, if the territory corresponding server did not change behind access network under unanimity was then determined the calling party, otherwise the affiliated territory corresponding server when the territory corresponding server was with its access network under the expression calling party was current is different, in fact can't arrive transmit leg if still adopt private network to communicate then may to cause the private network of selecting for use to connect, then caller network judge module 670 success of setting up in order to ensure communication can trigger the called module 660 of following and adopts called follow-up strategy and calling party to establish a communications link according to the address of territory corresponding server under the calling party
Need to prove that in actual applications, the terminal equipment 600 in the embodiment of the invention can have the equipment that passes through communication function for mobile phone, panel computer, PC etc.
In the present embodiment as callee's terminal equipment 600 by obtaining territory under the calling party topology information and judge under the communicating pair whether exist private network to connect between the territory in conjunction with the topology information in territory under the callee, and then dynamic routing is carried out in realization, thereby realized under the prerequisite of setting up of guaranteeing to communicate by letter setting up inter-domain communication preferentially utilizing private network to connect, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
The embodiment of the invention also discloses a kind of computer-readable storage medium, this computer-readable storage medium has program stored therein, and this program comprises the part or all of step of passing through the communication route selecting method that method embodiment puts down in writing shown in above-mentioned Fig. 1,3~5 when carrying out.
Fig. 8 has described a kind of structure of the terminal equipment 800 as the callee, terminal equipment in the present embodiment 800 comprises as shown in the figure: at least one processor 801, CPU for example, at least one network interface 804 or other user interfaces 803, memory 805, at least one communication bus 802.Communication bus 802 is used for the connection communication between these assemblies of realization.This HOST600 optionally comprises user interface 803, comprises display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch sensitive display screen).Memory 605 may comprise the high-speed RAM memory, also may also comprise non-unsettled memory (non-volatile memory), for example at least one magnetic disc store.Memory 805 optionally can comprise at least one and be positioned at storage device away from aforementioned processing device 801.
In some embodiments, memory 805 has been stored following element, executable module or data structure, perhaps their subclass, perhaps their superset:
Operating system 8051 comprises various system programs, is used for realizing various basic businesses and handling hardware based task;
Include but not limited to communication request receiver module 610, caller topology acquisition module 620, private network judge module 630, private network communication module 640, self topological acquisition module 650, called module 660 and the caller network judge module 670 of following in the application module 8052.
The specific implementation of each module is not given unnecessary details at this referring to the corresponding module in embodiment illustrated in fig. 6 in the application module 8052.
Particularly, processor 801 can be used for: receive the communication request that the calling party sends; The communication request that sends according to described calling party is obtained the topology information in territory under the described calling party; Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee, the topology information in territory comprises the domain identifier in territory under self under the described callee; By the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
Fig. 9 is the structural representation of another kind of terminal equipment 900 in the embodiment of the invention.As the calling party, the terminal equipment 900 as the calling party can comprise terminal equipment 900 in the present embodiment at least in the embodiment of the invention as shown in the figure in passing through communication scenes:
Communication request initiation module 910 is used for initiating communication request to the callee.In the specific implementation, the communication request initiation module 810 in the embodiment of the invention can be initiated communication request to the callee by third party's signalings such as SIP/XMPP Jingle.
Topology information sending module 920, be used for initiating communication request procedure sends topology information from territory under the calling party to described callee to described callee, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee and be connected communicating to connect between foundation and the calling party by the private network between the territory under territory under the described calling party and the callee.In the specific implementation, the calling party can be by the expansion of third party's signalings such as SIP/XMPP Jingle, send third party's signaling of carrying the topology information in territory under the described calling party to the callee in the communication request procedure that sends to the callee, the callee obtains the third party's signaling that carries the topology information in territory under the described calling party from the communication request that described calling party sends, and extracts the topology information in territory under the described calling party from the described third party's signaling that carries the topology information in territory under the described calling party.Under the described calling party topology information in territory can be the calling party can when access network, survey obtain or after initiating this communication request, obtain to the detection of affiliated territory corresponding server.The topology information in territory can comprise address, the domain identifier of the affiliated territory of calling party corresponding server under the described calling party, the special line ability that can also comprise the affiliated territory of calling party, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory, as (001,002), (001,003) etc., last position is encoded to the domain identifier of territory corresponding server self under the calling party, back one be encoded to described calling party under have the domain identifier in the territory that private network is connected between the territory.
Further, the terminal equipment 900 as the calling party can also comprise in the embodiment of the invention:
Self topological acquisition module 930 is used for the topology information that under described calling party territory corresponding server is obtained territory under the described calling party.In the specific implementation, self topological acquisition module 930 can be when calling party's access network or after initiating this communication request be surveyed the topology information of obtaining territory under the described calling party to affiliated territory corresponding server, for example described self topological acquisition module 930 is when calling party's access network, in the time of can being under inserting described calling party the territory corresponding server, the territory corresponding server is obtained the special line ability in territory under the described calling party under the described calling party, and when communication request initiation module 910 was initiated communication request to the callee, the territory corresponding server was obtained the domain identifier in territory under the described calling party under the described calling party.And then self the topological acquisition module 930 in the present embodiment can be similar as the topological acquisition module of self of callee's terminal equipment 650 with preamble, further comprises address acquisition unit and address probe unit, wherein:
Address acquisition unit is used for by mutual with name server, obtains the address of the affiliated territory of described calling party corresponding server.
The address probe unit is used for carrying out the address according to the address of territory corresponding server under the described calling party to be surveyed, and the territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party.
Need to prove that in actual applications, the terminal equipment 900 in the embodiment of the invention can have the equipment that passes through communication function for mobile phone, panel computer, PC etc.
In initiating communication request procedure, send the topology information in territory under the calling party in the present embodiment to the callee as calling party's terminal equipment 900, allow the callee judge whether exist under the communicating pair private network to connect between the territory with it and in conjunction with the topology information in territory under the callee, and then dynamic routing is carried out in realization, thereby realized under the prerequisite of setting up of guaranteeing to communicate by letter setting up inter-domain communication preferentially utilizing private network to connect, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
The embodiment of the invention also discloses a kind of computer-readable storage medium, this computer-readable storage medium has program stored therein, and this program comprises the part or all of step of passing through the communication route selecting method that method embodiment puts down in writing shown in above-mentioned Fig. 2~5 when carrying out.
Figure 10 has described a kind of structure of the terminal equipment 1000 as the calling party, terminal equipment in the present embodiment 1000 comprises as shown in the figure: at least one processor 1001, CPU for example, at least one network interface 1004 or other user interfaces 1003, memory 1005, at least one communication bus 1002.Communication bus 1002 is used for the connection communication between these assemblies of realization.This HOST600 optionally comprises user interface 1003, comprises display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch sensitive display screen).Memory 1005 may comprise the high-speed RAM memory, also may also comprise non-unsettled memory (non-volatile memory), for example at least one magnetic disc store.Memory 1005 optionally can comprise at least one and be positioned at storage device away from aforementioned processing device 1001.
In some embodiments, memory 1005 has been stored following element, executable module or data structure, perhaps their subclass, perhaps their superset:
Include but not limited in the application module 10052: communication request initiation module 910, topology information sending module 920, self topological acquisition module 930.
The specific implementation of each module is not given unnecessary details at this referring to the corresponding module in embodiment illustrated in fig. 6 in the application module 10052.
Particularly, processor 1001 can be used for: initiate communication request to the callee; The topology information in territory initiate in the communication request procedure to send to described callee the calling party to described callee under so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee and by the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
As shown in figure 11, the embodiment of the invention also provides a kind of communication system 1100 of passing through, and the described communication system 1100 of passing through comprises calling party 1101 and callee 1102, wherein:
Described calling party 1101 is as preamble embodiment terminal equipment described in conjunction with Figure 8, is used for initiating communication request to callee 1102; Send the topology information in territory under the calling partys to described callee 1102;
Described callee 1102 is in conjunction with Fig. 6 and 7 described terminal equipments, for the communication request that receives calling party 1101 as preamble embodiment; Obtain the topology information in the affiliated territory of described calling party; Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee; By the private network between the territory under territory under the described calling party and the callee be connected set up and calling party 1101 between communicating to connect.
Passing through communication route selecting method flow process and can realize passing through in the communication system of providing of the embodiment of the invention shown in Fig. 3 of the present invention~5.
The callee who passes through in the communication system 1100 of the embodiment of the invention judges under the communicating pair whether exist private network to connect between the territory by the topology information by obtaining territory under the calling party and in conjunction with the topology information in territory under the callee, and then dynamic routing is carried out in realization, thereby can preferentially utilize private network to connect and set up inter-domain communication, reduce communication delay, the lifting telex network is experienced, promote the network utilization of private network between the territory simultaneously, reduce network resources waste.
Figure 13 is the structural representation of terminal equipment embodiment two of the present invention, as shown in figure 13, Figure 13 shows a kind of specific embodiment of terminal equipment, in this embodiment, terminal equipment 130 comprises radiating circuit 1302, receiving circuit 1303, power controller 1304, processor 1306, memory 1307 and antenna 1301.The operation of processor 1306 control terminals 130.Memory 1307 can comprise read-only memory and random access memory, and provides instruction and data to processor 1306.The part of memory 1307 can also comprise non-volatile capable random access memory (NVRAM).In the concrete application, terminal equipment 130 can embed or itself can be exactly the Wireless Telecom Equipment of mobile phone and so on for example, can also comprise the carrier that holds radiating circuit 1302 and receiving circuit 1303, transmit and receive to allow carrying out data between terminal equipment 130 and the remote location.Radiating circuit 1302 and receiving circuit 1303 can be coupled to antenna 1301.Each assembly of terminal equipment 130 is coupled by bus system 3130, and wherein bus system 3130 also comprises power bus, control bus and status signal bus in addition except comprising data/address bus.But for the purpose of clearly demonstrating, in the drawings various buses all are designated as bus system 3130.Terminal equipment 130 can also comprise decoding processor 1305.
The method that the invention described above embodiment discloses can be applied in the processor 1306, in other words by processor 1306 to realize, terminal equipment among the invention described above embodiment can be specially above-mentioned terminal equipment shown in Figure 13 and realize, the processing module in the above-mentioned terminal equipment can be understood as the processor in the terminal equipment 1306 among Figure 13.Processor 1306 may be a kind of integrated circuit (IC) chip, has the executive capability of instruction and data, and the Signal Processing ability.In implementation procedure, each step of said method can be finished by the integrated logic circuit of the hardware in the processor 1306 or the instruction of software form.Above-mentioned processor can be general processor (CPU), digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), ready-made programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic device, discrete hardware components.Can realize or carry out disclosed each method, step and logic diagram in the embodiment of the invention.General processor can be that microprocessor or this processor also can be the processors of any routine etc.Step in conjunction with the disclosed method of the embodiment of the invention can be presented as directly that hardware processor is complete, and is perhaps complete with the hardware in the processor and software module combination.Software module can be positioned at random asccess memory, and flash memory, read-only memory are in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable memory, register.This storage medium is positioned at memory 1307, and processor reads the information in the memory 1307, finishes the step of said method in conjunction with its hardware.
Should be understood that the terminal equipment of the embodiment of the invention can both have calling party's function, also had callee's function.Execution mode repeats no more this here referring to front embodiment in detail.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize with hardware, or the firmware realization, or their compound mode realizes.When using software to realize, above-mentioned functions can be stored in the computer-readable medium or as one or more instructions or code on the computer-readable medium and transmit.Computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium of being convenient to transmit from a place to another place computer program.Storage medium can be any usable medium that computer can access.As example but be not limited to: computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus or can be used in and carries or store program code with instruction or expectation of data structure form and can be by any other medium of computer access.In addition.Any connection can be suitable become computer-readable medium.For example, if software be to use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (DSL) or the wireless technology such as infrared ray, radio and microwave from the website, server or other remote source transmission, under coaxial cable, optical fiber cable, twisted-pair feeder, DSL or the wireless technology such as infrared ray, wireless and microwave are included in so in the photographic fixing of medium.As used in the present invention, dish (Disk) and dish (disc) comprise compression laser disc (CD), laser dish, laser disc, digital universal laser disc (DVD), floppy disk and Blu-ray Disc, the copy data of the common magnetic of its mid-game, dish then come the copy data of optics with laser.Top combination also should be included within the protection range of computer-readable medium.
Above disclosed is preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.
Claims (39)
1. one kind is passed through the communication route selecting method, it is characterized in that, the described communication route selecting method that passes through comprises:
Receive the communication request that the calling party sends;
The communication request that sends according to described calling party is obtained the topology information in territory under the described calling party;
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee;
By the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
2. the communication route selecting method that passes through as claimed in claim 1, it is characterized in that, the topology information in territory comprises under the described calling party: the special line ability in territory under the described calling party, and the special line ability in territory comprises under the described calling party: with the domain identifier in the territory that exists private network to be connected under the described calling party between the territory;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described according to territory under the described calling party topology information and the callee under the topology information in territory determine that existing private network to be connected between the territory under the territory and callee under the described calling party comprises:
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the described callee.
3. the communication route selecting method that passes through as claimed in claim 1 is characterized in that, the topology information in territory comprises under the described calling party: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the special line ability in territory under the described callee, and the special line ability in territory comprises under the described callee: with the domain identifier in the territory that exists private network to be connected under the described callee between the territory;
Described according to the topology information in territory under the described calling party and under self the topology information in territory determine that existing private network to be connected between the territory under the territory and callee under the described calling party comprises:
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the special line ability in territory under the domain identifier in territory under the described calling party and the described callee.
4. the communication route selecting method that passes through as claimed in claim 1 is characterized in that, the topology information in territory comprises under the described calling party: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described according to territory under the described calling party topology information and the callee under the topology information in territory determine that existing private network to be connected between the territory under the territory and callee under the described calling party comprises:
Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the domain identifier in territory under the calling party and the callee.
5. the communication route selecting method that passes through as claimed in claim 1 is characterized in that, the topology information in territory comprises under the described calling party: the special line ability in territory under the domain identifier in territory and the described calling party under the described calling party;
Described according to territory under the described calling party topology information and described callee under the topology information in territory determine to exist before the private network step of connecting between the territory under the territory and callee under the described calling party, described method also comprises:
According to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party determine described calling party current under the territory during with access network under the territory identical.
6. the communication route selecting method that passes through as claimed in claim 5 is characterized in that, the topology information in territory also comprises under the described calling party: the address of territory corresponding server under the described calling party;
If according to the special line ability in territory under the described calling party during with described calling party's access network under the domain identifier in territory determine described calling party current under the territory during with access network under the territory different, described method also comprises:
According to the address of territory corresponding server under described calling party territory corresponding server under the described calling party initiate to set up and described calling party between communicating to connect.
7. as each described communication route selecting method that passes through of claim 1 to 6, it is characterized in that described method also comprises:
The territory corresponding server is obtained the topology information in territory under the described callee under the callee.
8. the communication route selecting method that passes through as claimed in claim 7 is characterized in that, described under the described callee territory corresponding server obtain that the topology information in territory comprises under the described callee:
By mutual with name server, obtain the address information of the affiliated territory of described callee corresponding server;
Carry out the address according to the address information of territory corresponding server under the described callee and survey, the territory corresponding server is obtained the topology information in territory under the described callee under the described callee.
9. as each described communication route selecting method that passes through of claim 1 to 8, it is characterized in that the described communication request that sends according to described calling party obtains that the topology information in territory comprises under the described calling party:
From the communication request that described calling party sends, obtain the third party's signaling that carries the topology information in territory under the described calling party, and from the described third party's signaling that carries the topology information in territory under the described calling party, extract the topology information in territory under the described calling party.
10. the communication route selecting method that passes through as claimed in claim 1 is characterized in that, the topology information in territory comprises under the described calling party: the address of territory corresponding server under the described calling party;
If according to the topology information in territory under the described calling party and under self the topology information in territory determine not exist private network to be connected between the territory under the territory and callee under the described calling party, described method also comprises:
According to the address of territory corresponding server under described calling party territory corresponding server under the described calling party initiate to set up and described calling party between communicating to connect.
11. one kind is passed through the communication route selecting method, it is characterized in that, described method comprises:
Initiate communication request to the callee;
The topology information in territory initiate in the communication request procedure to send to described callee the calling party to described callee under so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee and by the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
12. the communication route selecting method that passes through as claimed in claim 11, it is characterized in that, described callee's topology information comprises the special line ability in territory under the described callee, under the described callee special line ability in territory comprise with described callee under have the domain identifier in the territory that private network is connected between the territory;
The topology information in territory comprises under the described calling party who sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the special line ability in territory under the domain identifier in territory under the described calling party and the callee.
13. the communication route selecting method that passes through as claimed in claim 11 is characterized in that described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the described calling party who sends to described callee: the special line ability in territory under the described calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the callee, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory.
14. the communication route selecting method that passes through as claimed in claim 11 is characterized in that described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the described calling party who sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the domain identifier in territory under the described calling party and the callee.
15., it is characterized in that before the described step that sends the topology information in territory under the calling party to described callee, described method also comprises as each described communication route selecting method that passes through in the claim 11~14:
The territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party.
16. the communication route selecting method that passes through as claimed in claim 15 is characterized in that, described under the described calling party territory corresponding server obtain that the topology information in territory comprises under the described calling party:
By mutual with name server, obtain the address information of the affiliated territory of described calling party corresponding server;
Carry out the address according to the address information of territory corresponding server under the described calling party and survey, the territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party.
17. the communication route selecting method that passes through as claimed in claim 15 is characterized in that, described under the described calling party territory corresponding server obtain that the topology information in territory comprises under the described calling party:
When access network, the territory corresponding server is obtained the special line ability/domain identifier in territory under the calling party under the described calling party;
When initiating communication request to the callee, the territory corresponding server is obtained the domain identifier/special line ability in territory under the described calling party under the described calling party;
The topology information in territory comprises under the described calling party who sends to described callee: the domain identifier in territory under the special line ability in territory and the described calling party under the described calling party so that described callee when determining to exist between the territory under the territory and callee under the described calling party private network to determine the current affiliated territory of described calling party and access network according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party before connecting according to the topology information in territory under the topology information in territory under the described calling party and the callee under the territory identical.
18. as each described communication route selecting method that passes through in the claim 11~17, it is characterized in that, described initiate in the communication request procedure to send to described callee the calling party to described callee under the topology information in territory comprise:
Initiating in the communication request procedure to send to described callee the third party's signaling that carries the topology information in territory under the described calling party to described callee, so that described callee extracts the topology information in territory under the described calling party from described third party's signaling.
19. the communication route selecting method that passes through as claimed in claim 11, it is characterized in that, the topology information in territory comprises the address of territory corresponding server under the described calling party under the described calling party so that the topology information in described callee territory under according to described calling party and when the topology information in territory is determined not exist private network to be connected between the territory under the territory and callee under the described calling party under self according to described calling party under the address of territory corresponding server communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
20. a terminal equipment is characterized in that, described terminal equipment comprises:
The communication request receiver module is for the communication request that receives the calling party;
Caller topology acquisition module is used for obtaining according to the communication request that described calling party sends the topology information in territory under the described calling party;
The private network judge module, be used for according to the topology information in territory under the described calling party and under self the topology information in territory judge under the described calling party whether exist private network to be connected between the territory under the territory and callee;
The private network communication module, when being used under described private network judge module is judged described calling party, existing private network to be connected between the territory and the affiliated territory of callee, be connected communicating to connect between foundation and the calling party by the private network between the territory under territory under the described calling party and the callee.
21. terminal equipment as claimed in claim 20, it is characterized in that, the topology information in territory comprises under the calling party that described caller topology acquisition module gets access to: the special line ability in territory under the described calling party, and the special line ability in territory comprises under the described calling party: with the domain identifier in the territory that exists private network to be connected under the described calling party between the territory;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described private network judge module specifically is used for:
Judge under the described calling party whether exist private network to be connected between the territory under the territory and callee according to the domain identifier in territory under the special line ability in territory under the described calling party and the described callee.
22. terminal equipment as claimed in claim 20 is characterized in that, the topology information in territory comprises under the calling party that described caller topology acquisition module gets access to: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the special line ability in territory under the described callee, and the special line ability in territory comprises under the described callee: with the domain identifier in the territory that exists private network to be connected under the described callee between the territory;
Described private network judge module specifically is used for:
Judge under the described calling party whether exist private network to be connected between the territory under the territory and callee according to the special line ability in territory under the domain identifier in territory under the described calling party and the described callee.
23. terminal equipment as claimed in claim 20 is characterized in that, the topology information in territory comprises under the calling party that described caller topology acquisition module gets access to: the domain identifier in territory under the described calling party;
The topology information in territory comprises under the described callee: the domain identifier in territory under the described callee;
Described private network judge module specifically is used for:
Judge under the described calling party whether exist private network to be connected between the territory under the territory and callee according to the domain identifier in territory under the domain identifier in territory under the described calling party and the described callee.
24. terminal equipment as claimed in claim 20 is characterized in that, the topology information in territory comprises under the described calling party: the special line ability in territory under the domain identifier in territory and the described calling party under the described calling party;
Described terminal equipment also comprises:
Caller network judge module, be used for according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party judge described calling party current under the territory during with access network under the territory whether identical, determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the described callee if then trigger described private network judge module.
25. terminal equipment as claimed in claim 24 is characterized in that, the topology information in territory also comprises the address of the affiliated territory of described calling party corresponding server under the calling party that described caller topology acquisition module gets access to;
Described terminal equipment also comprises:
The called module of following, be used for when described caller network judge module according to described calling party under under the special line ability in territory and the described calling party domain identifier in territory determine described calling party current under the territory during with access network under the territory not simultaneously, according to the address of territory corresponding server under the described calling party communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
26. as each described terminal equipment in the claim 20~25, it is characterized in that described terminal equipment also comprises:
Self topological acquisition module is used for the topology information that under callee territory corresponding server is obtained territory under the described callee.
27. terminal equipment as claimed in claim 26 is characterized in that, described self topological acquisition module comprises:
Address acquisition unit is used for by mutual with name server, obtains the address information of the affiliated territory of described callee corresponding server;
The address probe unit is used for carrying out the address according to the address information of territory corresponding server under the described callee and surveys, and the territory corresponding server is obtained the topology information in territory under the described callee under the described callee.
28., it is characterized in that described caller topology acquisition module specifically is used for as each described terminal equipment in the claim 20~27:
From the communication request that described calling party sends, obtain the third party's signaling that carries the topology information in territory under the described calling party, and from the described third party's signaling that carries the topology information in territory under the described calling party, extract the topology information in territory under the described calling party.
29. terminal equipment as claimed in claim 20 is characterized in that, the topology information in territory comprises under the described calling party that described caller topology acquisition module gets access to: the address of territory corresponding server under the described calling party;
Described terminal equipment comprises:
The called module of following, when being used under the private network judge module is determined described calling party, not existing private network to be connected between the territory under the territory and callee, according to the address of territory corresponding server under the described calling party communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
30. a terminal equipment is characterized in that, described terminal equipment comprises:
The communication request initiation module is used for initiating communication request to the callee;
The topology information sending module, be used for initiating communication request procedure sends topology information from territory under the calling party to described callee to described callee, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee and be connected communicating to connect between foundation and the calling party by the private network between the territory under territory under the described calling party and the callee.
31. terminal equipment as claimed in claim 30, it is characterized in that, described callee's topology information comprises the special line ability in territory under the described callee, under the described callee special line ability in territory comprise with described callee under have the domain identifier in the territory that private network is connected between the territory;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the special line ability in territory under the domain identifier in territory under the described calling party and the callee.
32. terminal equipment as claimed in claim 30 is characterized in that, described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the special line ability in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the special line ability in territory under the described calling party and the callee, under the described calling party special line ability in territory comprise with described calling party under have the domain identifier in the territory that private network is connected between the territory.
33. the communication route selecting method that passes through as claimed in claim 30 is characterized in that described callee's topology information comprises: the domain identifier in territory under the described callee;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the domain identifier in territory under the calling party, so that described callee determines to exist private network to be connected between the territory under the territory and callee under the described calling party according to the domain identifier in territory under the domain identifier in territory under the described calling party and the callee.
34. as each described terminal equipment in the claim 30~33, it is characterized in that described terminal equipment also comprises:
Self topological acquisition module is used for the topology information that under described calling party territory corresponding server is obtained territory under the described calling party.
35. terminal equipment as claimed in claim 34 is characterized in that, described self topological acquisition module comprises:
Address acquisition unit is used for by mutual with name server, obtains the address information of the affiliated territory of described calling party corresponding server;
The address probe unit is used for carrying out the address according to the address information of territory corresponding server under the described calling party and surveys, and the territory corresponding server is obtained the topology information in territory under the described calling party under the described calling party.
36. terminal equipment as claimed in claim 34 is characterized in that, described self topological acquisition module specifically is used for:
The territory corresponding server is obtained the special line ability/domain identifier in territory under the described calling party under the described calling party when access network, and when initiating communication request to the callee under the described calling party territory corresponding server obtain the domain identifier/special line ability in territory under the described calling party;
The topology information in territory comprises under the calling party that described topology information sending module sends to described callee: the domain identifier in territory under the special line ability in territory and the described calling party under the described calling party so that described callee when determining to exist between the territory under the territory and callee under the described calling party private network to determine the current affiliated territory of described calling party and access network according to the domain identifier in territory under the special line ability in territory under the described calling party and the described calling party before connecting according to the topology information in territory under the topology information in territory under the described calling party and the callee under the territory identical.
37., it is characterized in that described topology information sending module specifically is used for as each described terminal equipment in the claim 30~36:
Initiating in the communication request procedure to send to described callee the third party's signaling that carries the topology information in territory under the described calling party to described callee, so that described callee extracts the topology information in territory under the described calling party from described third party's signaling.
38. terminal equipment as claimed in claim 30, it is characterized in that, the topology information in territory comprises the address of territory corresponding server under the described calling party under the described calling party that described topology information sending module sends so that described callee if according to the topology information in territory under the described calling party and under self the topology information in territory determine not exist between the territory under the territory and callee under the described calling party private network to be connected then according to the address of territory corresponding server under the described calling party communicating to connect between territory corresponding server initiation foundation and the described calling party under the described calling party.
39. one kind is passed through communication system, it is characterized in that, the described communication system of passing through comprises calling party and callee, wherein:
Described calling party is as each described terminal equipment in the claim 30~38, is used for initiating communication request to the callee; The topology information in territory initiate in the communication request procedure to send to described callee the calling party to described callee under;
Described callee is as each described terminal equipment in the claim 20~29, is used for receiving calling party's communication request; The communication request that sends according to described calling party is obtained the topology information in territory under the described calling party; Determine to exist private network to be connected between the territory under the territory and callee under the described calling party according to the topology information in territory under the topology information in territory under the described calling party and the callee; By the private network between the territory under territory under the described calling party and the callee be connected set up and the calling party between communicating to connect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310157496.9A CN103259791B (en) | 2013-04-28 | 2013-04-28 | One passes through communication route selecting method, terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310157496.9A CN103259791B (en) | 2013-04-28 | 2013-04-28 | One passes through communication route selecting method, terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103259791A true CN103259791A (en) | 2013-08-21 |
CN103259791B CN103259791B (en) | 2016-03-09 |
Family
ID=48963488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310157496.9A Active CN103259791B (en) | 2013-04-28 | 2013-04-28 | One passes through communication route selecting method, terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103259791B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702062A (en) * | 2013-12-27 | 2014-04-02 | Tcl集团股份有限公司 | Audio and video communication method, device and system |
CN109347904A (en) * | 2018-08-29 | 2019-02-15 | 乐蜜有限公司 | The method for building up and system of communication link |
CN109672567A (en) * | 2019-01-10 | 2019-04-23 | 南京极域信息科技有限公司 | A kind of realization network follow-up strategy method |
CN109951562A (en) * | 2019-03-29 | 2019-06-28 | 深圳市网心科技有限公司 | NAT penetrating method and system, electronic equipment and storage medium |
CN115580449A (en) * | 2022-09-23 | 2023-01-06 | 中国电信股份有限公司 | Holographic communication method, device, system, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060021017A1 (en) * | 2004-07-21 | 2006-01-26 | International Business Machines Corporation | Method and system for establishing federation relationships through imported configuration files |
CN101030865A (en) * | 2006-02-28 | 2007-09-05 | 西门子通信技术(北京)有限公司 | Network address conversion and/or firewall spanning platform, system and method |
CN101360037A (en) * | 2007-08-03 | 2009-02-04 | 中国移动通信集团公司 | Data service network system and access method of data service |
CN101431511A (en) * | 2007-11-09 | 2009-05-13 | 友讯科技股份有限公司 | Method for penetrating fire wall and establishing on-line channel between network terminal apparatus |
CN101834775A (en) * | 2009-03-13 | 2010-09-15 | 中国移动通信集团公司 | Media stream transmission method, system and user terminal |
CN102710518A (en) * | 2012-05-31 | 2012-10-03 | 福建升腾资讯有限公司 | Method and system for realizing NAT (Network Address Translator) traversal under wide area network |
-
2013
- 2013-04-28 CN CN201310157496.9A patent/CN103259791B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060021017A1 (en) * | 2004-07-21 | 2006-01-26 | International Business Machines Corporation | Method and system for establishing federation relationships through imported configuration files |
CN101030865A (en) * | 2006-02-28 | 2007-09-05 | 西门子通信技术(北京)有限公司 | Network address conversion and/or firewall spanning platform, system and method |
CN101360037A (en) * | 2007-08-03 | 2009-02-04 | 中国移动通信集团公司 | Data service network system and access method of data service |
CN101431511A (en) * | 2007-11-09 | 2009-05-13 | 友讯科技股份有限公司 | Method for penetrating fire wall and establishing on-line channel between network terminal apparatus |
CN101834775A (en) * | 2009-03-13 | 2010-09-15 | 中国移动通信集团公司 | Media stream transmission method, system and user terminal |
CN102710518A (en) * | 2012-05-31 | 2012-10-03 | 福建升腾资讯有限公司 | Method and system for realizing NAT (Network Address Translator) traversal under wide area network |
Non-Patent Citations (1)
Title |
---|
蔡闻怡等: "基于代理的SIP穿越NAT和防火墙方案", 《计算机工程》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702062A (en) * | 2013-12-27 | 2014-04-02 | Tcl集团股份有限公司 | Audio and video communication method, device and system |
CN109347904A (en) * | 2018-08-29 | 2019-02-15 | 乐蜜有限公司 | The method for building up and system of communication link |
CN109347904B (en) * | 2018-08-29 | 2022-01-25 | 卓米私人有限公司 | Method and system for establishing communication link |
CN109672567A (en) * | 2019-01-10 | 2019-04-23 | 南京极域信息科技有限公司 | A kind of realization network follow-up strategy method |
CN109672567B (en) * | 2019-01-10 | 2021-10-29 | 南京极域信息科技有限公司 | Method for realizing network following strategy |
CN109951562A (en) * | 2019-03-29 | 2019-06-28 | 深圳市网心科技有限公司 | NAT penetrating method and system, electronic equipment and storage medium |
CN115580449A (en) * | 2022-09-23 | 2023-01-06 | 中国电信股份有限公司 | Holographic communication method, device, system, electronic equipment and storage medium |
CN115580449B (en) * | 2022-09-23 | 2023-11-21 | 中国电信股份有限公司 | Holographic communication method, device, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103259791B (en) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10536490B2 (en) | Apparatus and method for communications involving a legacy device | |
CN103108089B (en) | Connection establishment management method of network system and related system thereof | |
CN103259791B (en) | One passes through communication route selecting method, terminal and system | |
EP3364609B1 (en) | Communication system, address notification device, communication control device, terminal, communication method, and program | |
CN105228150A (en) | A kind of mobile device carries out the method and apparatus of relaying | |
CN104869101A (en) | Channel establishing method and device | |
GB2482268A (en) | Mobile terminal and peer-to-peer mode based data transmission method thereof | |
CN103107983A (en) | Data management method of network system and related system thereof | |
CN105227693A (en) | The collocation method of a kind of DNS of mobile device and device | |
CN105323229A (en) | CPE-based data transmission method, network element, platform and system | |
WO2022002069A1 (en) | Method for accessing network, media gateway, electronic device, and storage medium | |
CN114666306B (en) | WebRTC network connection establishment method, server, electronic device and computer readable storage medium | |
CN103152444B (en) | The network address translation of trunking scheme and message transmitting method and device, system | |
CN109474646B (en) | Communication connection method, device, system and storage medium | |
CN102547553A (en) | Method, system and device for accessing service based on wireless application protocol (WAP) | |
US20160065746A1 (en) | Peer-to-peer, internet protocol telephone system with proxy interface for configuration data | |
US11659012B2 (en) | Relayed communication channel establishment | |
CN105611608A (en) | Wireless local area network communication method, terminal and system | |
CN104168302A (en) | Device control realizing method, device control realizing system and proxy gateway | |
CN116566765A (en) | Network access method, device and storage medium | |
CN104518959B (en) | A kind of method and device of communication between devices | |
CN112019641B (en) | Data transmission method and device | |
CN105556921B (en) | The agency based on mobile device of regulation is originated for browser | |
CN104158884A (en) | Voice communication method based on mobile Internet | |
CN112969199A (en) | Data acquisition method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |