CN101932083B - Method for selecting tunnel establishment mode as well as terminal, server and system - Google Patents

Method for selecting tunnel establishment mode as well as terminal, server and system Download PDF

Info

Publication number
CN101932083B
CN101932083B CN201010247950.6A CN201010247950A CN101932083B CN 101932083 B CN101932083 B CN 101932083B CN 201010247950 A CN201010247950 A CN 201010247950A CN 101932083 B CN101932083 B CN 101932083B
Authority
CN
China
Prior art keywords
tunnel
server
terminal
mode information
establishment mode
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.)
Active
Application number
CN201010247950.6A
Other languages
Chinese (zh)
Other versions
CN101932083A (en
Inventor
康望星
施元庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010247950.6A priority Critical patent/CN101932083B/en
Publication of CN101932083A publication Critical patent/CN101932083A/en
Application granted granted Critical
Publication of CN101932083B publication Critical patent/CN101932083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method for selecting a tunnel establishment mode as well as a terminal, a server and a system. The method comprises the following steps: the terminal selects a tunnel server which needs to carry out tunnel establishment; a corresponding manner is selected to carry out the tunnel establishment with the tunnel server according to a result obtained by negotiating with the tunnel server; and through the negotiation of the terminal and the tunnel server, the proper tunnel establishment mode is selected according to the negotiated result to carry out the tunnel establishment. The method of the invention can correctly and rapidly perform the tunnel establishment with the tunnel server.

Description

Select the method for tunnel establishment mode, terminal, server and system
Technical field
The present invention relates to WLAN (wireless local area network) (Wireless Local Area Network, be called for short WLAN) and third generation cellular mobile communication (3G) technical field, specifically refer to the System and method for selecting tunnel establishment mode in WLAN and 3G UNE.
Background technology
3G technology brings very large hope, and compared with 2G technology, 3G technology mobile communication rate is greatly improved, and can provide colourful mobile multi-media service.But, in above-mentioned technology application, although the transmission rate of 3G technology under static state supports 2Mb/s, in high-speed mobile environment, transmission rate supports 144Kb/s, in the mobile environment of walking at a slow speed, transmission rate supports 384Kb/s, but its carrying mobile multi-media service pressure is still larger: first above transmission rate data are gross data, and actual real speed is much lower, and actual speed rate often will decline about 40%.The second, the transmission rate of these data refers to total transmission rate, shares each user and just may only have K up to a hundred.3rd, data user's number of support very little.The every carrier frequency of 3G can support voice user up to a hundred, but can only support the data user of 7 384K.That is, when a large amount of 3G data users grows up, just there will be the jam situation that the narrow car in road is many, traditional speech business all will be involved, the entertainment service more need not carry and see video, played network game and so on cost source.
And 3G technology and WLAN technology are two kinds of complementary very strong technology.3G technology, as a kind of mobile communication technology, has wide coverage, supports the advantage of high-speed mobility, but speed is relatively low; WLAN technology relative speed is high, but coverage narrow, support limited mobility.WLAN technology has higher bandwidth, compensate for the deficiency that 3G technology speed is lower; WLAN can support more data user relatively, makes up the deficiency of 3G subscription capacity; The terminal equipment with WLAN function is popularized, and provides great convenience for 3G network unloads pressure of eating dishes without rice or wine to wlan network; Wlan network equipment cost is low, and while deployment 3G network, suitably place is supplemented wlan network again, then can obtain the effect of getting twice the result with half the effort.Therefore the integration technology between 3G network and wlan network more and more receives publicity.
Terminal is when accessing 3G/WLAN UNE, first a wlan network is selected to associate, and according to IMSI (the international mobile subscriber identity of terminal, international mobile subscriber identity) construct NAI (Network Access Identifier, Network Access Identifier accords with), then EAP (Extensible Authentication Protocol) identifying procedure of access UNE is initiated, terminal and AAA Server (can process the server program of user access request, there is provided checking to authorize and the server of account service) between method for authenticating generally use EAP-AKA (certification and secret key negotiation mechanism) or EAP-SIM (Identity Management, identifying procedure and security performance mechanism) algorithm.WLAN AN is responsible for forwarding the message of authentication between terminal and 3GPP (third generation partner program) AAA Server and mandate.If terminal passes through certification, IP address and DNS (the Domain Name System of wlan network distribution is then obtained by DHCP (DynamicHost arranges agreement) server, domain name system) server address, terminal can use this IP address directly to access the Internet.Terminal, after access 3G/WLAN UNE, when needing the PS business of accessing 3G network, then will initiate PS access process.Terminal obtains the IP address of tunnel server to dns server inquiry according to the W-APN that will access (WLAN-Access PointName, wireless local network connecting point), then start the tunnel Establishing process between terminal and tunnel server.Tunnel is set up to have come based on various modes, such as based on IKE (Internet Key Exchange Protocol, IKE) or based on SIP (Session Initiation Protocol, the signaling control protocol of an application layer).After secure tunnel is set up, the metropolitan area network IP of this IP and terminal, and to bind to terminal distribution for accessing the IP address of PS (packet domain) business by tunnel server.In current agreement and specification, do not provide method and suggestion to the selection of setting up secure tunnel establishment model, terminal cannot know the tunnel establishment mode that tunnel server is supported, the pattern just supported according to self is gone to initiate tunnel and set up.The initiation tunnel of such blindness is set up, and can cause access PS service fail because the tunnel establishment mode that both sides support does not mate.
Summary of the invention
Main purpose of the present invention is to provide a kind of in UNE, select tunnel establishment mode method, terminal, server and system, can carry out tunnel foundation accurately and rapidly with tunnel server.
The technical solution adopted for the present invention to solve the technical problems is:
The invention provides a kind of method selecting tunnel establishment mode, it comprises:
Terminal selects a tunnel server needing to carry out tunnel foundation;
According to the result of holding consultation with described tunnel server, select to carry out tunnel foundation by corresponding mode and described tunnel server.
Further, described terminal selects a tunnel server needing to carry out tunnel foundation, specifically comprises:
Described terminal selects a tunnel server needing to carry out tunnel foundation according to the network address IP list of tunnel server.
Further, described basis and the result that described tunnel server is held consultation are selected to carry out tunnel foundation by corresponding mode and described tunnel server, specifically comprise:
According to the result of holding consultation with described tunnel server, select to carry out tunnel foundation by the mode of the signaling control protocol SIP of application layer or the mode of SMS platform and described tunnel server.
Further, described terminal according to the IP list of tunnel server select one need to carry out the tunnel server of tunnel foundation before, comprise further:
Terminal sends the request of the IP address list needing to obtain tunnel server to domain name system DNS server, described request carries wireless local network connecting point W-APN information;
Receive the IP address list obtained after dns server carries out domain name mapping according to described W-APN information.
Further, according to the result of holding consultation with described tunnel server, select to carry out tunnel foundation by the mode of the signaling control protocol SIP of application layer and described tunnel server, specifically comprise:
The SIP registration message carrying tunnel establishment mode information is sent to described tunnel server;
Receive the return messages of the tunnel establishment mode information selecting himself to support after described tunnel server resolves described SIP registration message;
Obtain the tunnel establishment mode obtaining described tunnel server and support from described return messages, and carry out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
Further, the result that described basis is held consultation with described tunnel server, select to carry out tunnel foundation by the mode of SMS platform and described tunnel server, specifically comprise:
The SMS platform corresponding to the note number pre-set sends: the short message carrying the tunnel establishment mode information of IP and the described terminal support selecting tunnel server;
Receive return messages that described SMS platform returns, that comprise tunnel server support tunnel establishment mode information;
From described return messages, obtain the tunnel establishment mode information that described tunnel server is supported, and carry out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
The present invention also provides a kind of terminal, and it comprises:
Selecting module, needing the tunnel server carrying out tunnel foundation for selecting one;
Module is set up in first tunnel, for the result that basis and described tunnel server are held consultation, selects to carry out tunnel foundation by corresponding mode and described tunnel server.
Further, described selection module, for selecting a tunnel server needing to carry out tunnel foundation according to the IP list of tunnel server.
Further, module is set up in described first tunnel, for according to and the described tunnel server result of holding consultation, select to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described tunnel server.
Further, described terminal also comprises:
Request sending module, for sending the request of the IP address list needing to obtain tunnel server to dns server, described request carries the W-APN information of access;
List reception module, for receiving the IP address list obtained after dns server carries out domain name mapping according to described W-APN information.
Further, described first tunnel is set up module and is comprised:
Registration submodule, for sending the SIP registration message carrying tunnel establishment mode information to described tunnel server;
First message sink submodule, for receive described tunnel server resolve described SIP registration message after, the return messages of the tunnel establishment mode information of selecting himself to support;
Submodule is set up in first tunnel, for obtaining the tunnel establishment mode that described tunnel server is supported from described return messages, and carries out tunnel foundation by the tunnel establishment mode of this support and described tunnel server.
Further, described first tunnel is set up module and is also comprised:
First message sends submodule, sends for the SMS platform corresponding to the note number pre-set: the short message carrying the tunnel establishment mode information of IP and the described terminal support selecting tunnel server;
Second message sink submodule, for receiving return messages that described SMS platform returns, that comprise tunnel server support tunnel establishment mode information;
Submodule is set up in second tunnel, for obtaining the tunnel establishment mode information that described tunnel server is supported from described return messages, and carries out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
The present invention also provides a kind of tunnel server, and it comprises:
Negotiation module, holds consultation with terminal for basis;
Module is set up in second tunnel, for according to described negotiation result, selects to carry out tunnel foundation by corresponding mode and described terminal.
Further, module is set up in described second tunnel, also for according to and the described terminal result of holding consultation, select to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described terminal.
Further, described second tunnel is set up module and is comprised:
3rd message sink submodule, for the SIP registration message of the tunnel establishment mode information of carrying that receiving terminal sends;
Second message sends submodule, for receive and after resolving described SIP registration message, and the tunnel establishment mode information selecting described tunnel server to support to described terminal return messages;
Submodule is set up in 3rd tunnel, for obtain tunnel establishment mode information that described tunnel server supports from described return messages in described terminal after, carries out tunnel foundation by the tunnel establishment mode information of this support and described terminal.
Further, described second tunnel is set up module and is also comprised:
4th message sink submodule, the short message of the tunnel establishment mode information that what the SMS platform that the note number for receiving terminal is corresponding sended over carry selects the IP of tunnel server and described terminal to support;
3rd message sends submodule, for receiving and resolving described short message, returns the tunnel establishment mode information that described tunnel server supports, so that described tunnel establishment mode information is sent to described terminal by described platform to described SMS platform;
Submodule is set up in 4th tunnel, for obtain tunnel establishment mode information that described tunnel server supports from described return messages in described terminal after, carries out tunnel foundation by the tunnel establishment mode information of this support and described terminal.
The present invention also provides a kind of communication system, and it comprises: terminal, dns server, tunnel server, wherein:
Described terminal, for sending the request of the IP address list needing to obtain tunnel server to dns server, described request carries the W-APN information of access; Select a tunnel server needing to carry out tunnel foundation according to the IP address list that dns server sends, according to the result of holding consultation with described tunnel server, select to carry out tunnel foundation by corresponding mode and described tunnel server;
Described dns server, for send to described terminal carry out domain name mapping according to described W-APN information after the IP address list that obtains;
Described tunnel server, for holding consultation with described terminal, selects to carry out tunnel foundation by the mode of SIP and described tunnel terminal according to negotiation result.
Further, described terminal, for sending the SIP registration message carrying tunnel establishment mode information to described tunnel server;
Described tunnel server, for to receive and after resolving described SIP registration message, the tunnel establishment mode information selecting described tunnel server to support to described terminal return messages, after described terminal obtains the tunnel establishment mode information that described tunnel server supports from described return messages, carry out tunnel foundation by the tunnel establishment mode information of this support and described terminal.
Further, described system also comprises: SMS platform,
Described terminal, for sending to SMS platform corresponding to the note number pre-set: the short message carrying the tunnel establishment mode information that the IP that selects tunnel server and described terminal are supported, and return according to described SMS platform, the tunnel establishment mode information of described tunnel server support and described tunnel server carry out tunnel foundation;
Described SMS platform, for obtaining the tunnel server information that described terminal is selected from described short message, and is sent to described tunnel server by described short message;
Described tunnel server, for receiving and resolving described short message, returns the tunnel establishment mode information that described tunnel server supports, so that described tunnel establishment mode information is sent to described terminal by described SMS platform to described SMS platform.
Implement technical scheme of the present invention, there is following beneficial effect: method provided by the invention, terminal tunnel server and system, held consultation by terminal and tunnel server, result according to consulting selects suitable tunnel establishment mode and tunnel server to carry out tunnel foundation, can carry out tunnel foundation accurately and rapidly with tunnel server.
Accompanying drawing explanation
The method flow diagram of the first selection tunnel establishment mode that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram of the second selection tunnel establishment mode that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of the third selection tunnel establishment mode that Fig. 3 provides for the embodiment of the present invention;
The method flow diagram of the 4th kind of selection tunnel establishment mode that Fig. 4 provides for the embodiment of the present invention;
The first terminal structure schematic diagram that Fig. 5 provides for the embodiment of the present invention;
The second terminal structure schematic diagram that Fig. 6 provides for the embodiment of the present invention;
Modular structure schematic diagram is set up in the first first tunnel that Fig. 7 provides for the embodiment of the present invention;
Modular structure schematic diagram is set up in the second first tunnel that Fig. 8 provides for the embodiment of the present invention;
The structural representation of the tunnel server that Fig. 9 provides for the embodiment of the present invention;
Modular structure schematic diagram is set up in the first first tunnel that Figure 10 provides for the embodiment of the present invention;
Modular structure schematic diagram is set up in the second first tunnel that Figure 11 provides for the embodiment of the present invention;
The structural representation of the first communication system that Figure 12 provides for the embodiment of the present invention;
The structural representation of the second communication system that Figure 13 provides for the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides the method that the first selects tunnel establishment mode, as shown in Figure 1, the method comprising the steps of:
101, terminal selects a tunnel server needing to carry out tunnel foundation;
Concrete:
Described terminal selects a tunnel server needing to carry out tunnel foundation according to the IP list of tunnel server.Described IP list is obtained by dns server, also can obtain in other way.
102, terminal is according to the result of holding consultation with described tunnel server, selects to carry out tunnel foundation by corresponding mode and described tunnel server.
Concrete:
Described terminal, according to the result of holding consultation with described tunnel server, is selected to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described tunnel server.Terminal and tunnel server are held consultation by agreement, select to carry out tunnel foundation by the mode of SIP or the mode of SMS platform or other mode and described tunnel server.
The method that above-described embodiment provides is held consultation by terminal and tunnel server, and the result according to consulting selects suitable tunnel establishment mode and tunnel server to carry out tunnel foundation, can carry out tunnel foundation accurately and rapidly with tunnel server.
The invention provides the second and select the method for tunnel establishment mode, as shown in Figure 2, the step 101 provided at above-described embodiment, terminal select according to the IP list of tunnel server one need to carry out the tunnel server of tunnel foundation before, comprise step further:
99, terminal sends the request of the IP address list needing to obtain tunnel server to dns server, and described request carries the W-APN information of access;
Concrete: terminal, when accessing PS business, first sends a request message to dns server, carries the W-APN that will access, the IP address list of acquisition request tunnel server in this request message.
100, terminal receives the IP address list obtained after dns server carries out domain name mapping according to described W-APN information.
In step, dns server carries out domain name mapping according to described W-APN, obtains IP address list, then returns to terminal by resolving the IP address list obtained by message.
The invention provides the method that the third selects tunnel establishment mode, as shown in Figure 3, the method comprising the steps of:
201, terminal sends the request of the IP address list needing to obtain tunnel server to dns server, and described request carries the W-APN information of access;
202, terminal receives the IP address list obtained after dns server carries out domain name mapping according to described W-APN;
203, terminal selects a tunnel server needing to carry out tunnel foundation from described IP address list;
204, terminal sends the SIP registration message carrying tunnel establishment mode information to described tunnel server;
Before setting up secure tunnel, first send SIP registration message to tunnel server.In this registration message, increase extended field Tunnel-Mode (tunnel establishment mode), the value of this field can be SIP, IKE or other tunnel establishment modes.Registration message fragment is as follows:
REGISTER?sip:xxxx.xx?SIP/2.0
Tunnel-Mode:SIP/IKE
205, terminal receives the return messages of the tunnel establishment mode information selecting himself to support after described tunnel server resolves described SIP registration message;
Tunnel server is resolved after receiving registration message, find to comprise Tunnel-Mode field in this registration message, judge that this registration message is that tunnel establishment mode negotiation is carried out in request, return to terminal so be placed in 200 OK by the tunnel establishment mode that self supports by same field.
206, terminal obtains the tunnel establishment mode obtaining described tunnel server and support from described return messages;
Terminal resolves Tunnel-Mode field from 200 OK, obtains the tunnel establishment mode that tunnel server is supported.
207, terminal carries out tunnel foundation by the tunnel establishment mode of this support and described tunnel server;
Pattern tunnel establishment modes such as (as:) SIP, IKE that terminal selects a kind of both sides all to support is initiated secure tunnel and is set up.
If above-mentioned negotiation result is terminal find the tunnel establishment mode that both sides do not support jointly, so terminal can be selected not initiate secure tunnel foundation, or selects other IP to re-start the foundation of tunnel establishment mode negotiation and secure tunnel the tunnel server IP list that can return from DNS.
The method that the present embodiment provides is held consultation by terminal and tunnel server, and the result according to consulting selects suitable tunnel establishment mode and tunnel server to carry out tunnel foundation, can carry out tunnel foundation accurately and rapidly with tunnel server.
The invention provides the method that the 4th kind is selected tunnel establishment mode, as shown in Figure 4, the method comprising the steps of:
301, terminal sends the request of the IP address list needing to obtain tunnel server to dns server, and described request carries the W-APN information of access;
302, terminal receives the IP address list obtained after dns server carries out domain name mapping according to described W-APN information;
303, terminal selects a tunnel server needing to carry out tunnel foundation from described IP address list;
304, described terminal sends to the SMS platform that the note number pre-set is corresponding: the short message carrying the tunnel establishment mode information of IP and the described terminal support selecting tunnel server;
A special note number must be pre-set in terminal.When terminal is held consultation with short message mode and tunnel server, send SMS message to this note number, comprise the IP of the tunnel server of selection and the tunnel establishment mode of this terminal support in this short message, this short message is sent to SMS platform with set form.Such as:
Tunnel?IP:xxx.xxx.xxx.xxx
Tunnel-Mode:SIP/IKE
305, SMS platform finds the note number of corresponding tunnel server according to described IP address;
This SMS platform saves the IP of tunnel server and the corresponding relation of note number thereof.
When SMS platform receives the short message of the set form of terminal, the note of consulting tunnel establishment mode can be determined whether.If so, from this short message, just parse the IP address of tunnel server, find the note number of its correspondence, so that the tunnel server giving this IP address corresponding this short message.
306, described short message is given described tunnel server by SMS platform;
307, tunnel server resolves described short message, judges whether that tunnel foundation is carried out in negotiation according to described content of short message;
308, tunnel server returns the information of the tunnel establishment mode that this tunnel server described is supported to described SMS platform;
Tunnel server, after receiving note, judges the effect of this short message equally by set form.For the note of consulting tunnel establishment mode, the pattern self supported is returned to SMS platform with short message form by tunnel server equally.Otherwise consult unsuccessfully.
309, SMS platform forwards the information of described tunnel server transmission to terminal;
The short message that tunnel server returns by this SMS platform is again to terminal.
310, described terminal receives return messages that described SMS platform returns, that comprise tunnel server support tunnel establishment mode information; From described return messages, obtain the tunnel establishment mode information that described tunnel server is supported, and carry out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
Terminal resolves the Tunnel-Mode field of this short message from the short message that SMS platform forwards, and obtains the tunnel establishment mode that tunnel server is supported, the pattern then therefrom selecting a kind of both sides all to support is initiated secure tunnel and set up.
If above-mentioned negotiation result is terminal find the tunnel establishment mode that both sides do not support jointly, so terminal can be selected not initiate secure tunnel foundation, or selects other IP to re-start the foundation of tunnel establishment mode negotiation and secure tunnel the tunnel server IP list that can return from DNS.
The method that the present embodiment provides is held consultation by terminal and tunnel server, and the result according to consulting selects suitable tunnel establishment mode and tunnel server to carry out tunnel foundation, can carry out tunnel foundation accurately and rapidly with tunnel server.
The embodiment of the present invention also provides a kind of terminal, and as shown in Figure 5, this terminal comprises:
Selecting module 410, needing the tunnel server carrying out tunnel foundation for selecting one; Concrete, described selection module 410, for selecting a tunnel server needing to carry out tunnel foundation according to the IP list of tunnel server.
Module 420 is set up in first tunnel, for the result that basis and described tunnel server are held consultation, selects to carry out tunnel foundation by corresponding mode and described tunnel server.Concrete, described first tunnel set up module 420 for according to and the described tunnel server result of holding consultation, select to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described tunnel server.
In further embodiment, as shown in Figure 6, this terminal also comprises:
Request sending module 408, for sending the request of the IP address list needing to obtain tunnel server to dns server, described request carries the W-APN information of access;
List reception module 409, for receiving the tunnel server IP address list obtained after dns server carries out domain name mapping according to described W-APN information.
In two embodiments of above-mentioned terminal, module 420 is set up in described first tunnel, and as shown in Figure 7, this first tunnel is set up module 420 and specifically comprised:
Registration submodule 421, for sending the SIP registration message carrying tunnel establishment mode information to described tunnel server;
First message sink submodule 422, for receive described tunnel server resolve described SIP registration message after, the return messages of the tunnel establishment mode information of selecting himself to support;
Submodule 423 is set up in first tunnel, for obtaining the tunnel establishment mode information that described tunnel server is supported from described return messages, and carries out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
Or in two embodiments of above-mentioned terminal, module 420 is set up in described first tunnel, as shown in Figure 8, this first tunnel is set up module 420 and is specifically comprised:
First message sends submodule 424, sends for the SMS platform corresponding to the note number pre-set: the short message carrying the tunnel establishment mode information of IP and the described terminal support selecting tunnel server;
Second message sink submodule 425, for receiving return messages that described SMS platform returns, that comprise tunnel server support tunnel establishment mode information;
Submodule 426 is set up in second tunnel, for obtaining the tunnel establishment mode information that described tunnel server is supported from described return messages, and carries out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
The embodiment of the present invention provides a kind of tunnel server, and as shown in Figure 9, it comprises:
Negotiation module 510, holds consultation with terminal for basis;
Module 520 is set up in second tunnel, for according to described negotiation result, selects to carry out tunnel foundation by corresponding mode and described terminal.In specific embodiment, module 520 is set up in described second tunnel, also for according to and the described terminal result of holding consultation, select to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described terminal.
In the embodiment of above-mentioned tunnel server, as shown in Figure 10, concrete, described second tunnel is set up module 520 and is comprised:
3rd message sink submodule 521, for the SIP registration message of the tunnel establishment mode information of carrying that receiving terminal sends;
Second message sends submodule 522, for receive and after resolving described SIP registration message, and the tunnel establishment mode information selecting described tunnel server to support to described terminal return messages;
Submodule 523 is set up in 3rd tunnel, for obtain tunnel establishment mode information that described tunnel server supports from described return messages in described terminal after, carries out tunnel foundation by the tunnel establishment mode information of this support and described terminal.
Or in the embodiment of above-mentioned tunnel server, as shown in figure 11, concrete, described second tunnel is set up module 520 and is comprised:
4th message sink submodule 524, the short message of the tunnel establishment mode information that what the SMS platform that the note number for receiving terminal is corresponding sended over carry selects the IP of tunnel server and described terminal to support;
3rd message sends submodule 525, for receiving and resolving described short message, returns the tunnel establishment mode information that described tunnel server supports, so that described tunnel establishment mode information is sent to described terminal by described platform to described SMS platform;
Submodule 526 is set up in 4th tunnel, for obtain tunnel establishment mode information that described tunnel server supports from described return messages in described terminal after, carries out tunnel foundation by the tunnel establishment mode information of this support and described terminal.
The first communication system that the embodiment of the present invention provides, as shown in figure 12, this system comprises: terminal 610, dns server 620, tunnel server 630, wherein:
Described terminal 610, for sending the request of the IP address list needing to obtain tunnel server 630 to dns server 620, described request carries the W-APN information of access; A tunnel server 630 needing to carry out tunnel foundation is selected according to the IP address list that dns server 620 sends, according to the result of holding consultation with described tunnel server 630, select to carry out tunnel foundation by corresponding mode and described tunnel server 630;
Described dns server 620, for send to described terminal 610 carry out domain name mapping according to described W-APN information after the IP address list that obtains;
Described tunnel server 630, for holding consultation with described terminal 610, selects to carry out tunnel foundation by the mode of SIP and described terminal 610 according to negotiation result.
In this communication system, held consultation by terminal and tunnel server, the result according to consulting selects suitable tunnel establishment mode and tunnel server to carry out tunnel foundation, can carry out tunnel foundation accurately and rapidly with tunnel server.
The second communication system that the embodiment of the present invention provides as shown in figure 12, is the system more specifically execution mode that above-described embodiment provides in this system, wherein:
Described terminal 610, for sending the SIP registration message carrying tunnel establishment mode information to described tunnel server 630;
Described tunnel server 630, for to receive and after resolving described SIP registration message, the tunnel establishment mode information selecting described tunnel server 630 to support to described terminal 610 return messages, after described terminal 610 obtains the tunnel establishment mode information that described tunnel server 630 supports from described return messages, carry out tunnel foundation by the tunnel establishment mode information of this support and described terminal 610.
In this communication system, held consultation by terminal and tunnel server, the result according to consulting selects suitable tunnel establishment mode and tunnel server to carry out tunnel foundation, can carry out tunnel foundation accurately and rapidly with tunnel server.
The third communication system that the embodiment of the present invention provides, as shown in figure 13, be the first communication system more specifically execution mode that above-described embodiment provides in this system, wherein this communication system also comprises: SMS platform 640,
Described terminal 610, send for the SMS platform 640 corresponding to the note number pre-set: the short message carrying the tunnel establishment mode information selecting the IP of tunnel server 630 and described terminal 610 to support, and return according to described SMS platform 640, tunnel establishment mode information that described tunnel server 630 is supported and described tunnel server 630 carry out tunnel foundation;
Described SMS platform 640, for obtaining tunnel server 630 information that described terminal 610 is selected from described short message, and is sent to described tunnel server 630 by described short message;
Described tunnel server 630, for receiving and resolving described short message, the tunnel establishment mode information that described tunnel server 630 supports is returned, so that described tunnel establishment mode information is sent to described terminal 610 by described SMS platform 640 to described SMS platform 640.
In this communication system, held consultation by terminal and tunnel server, the result according to consulting selects suitable tunnel establishment mode and tunnel server to carry out tunnel foundation, can carry out tunnel foundation accurately and rapidly with tunnel server.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. select a method for tunnel establishment mode, it is characterized in that, comprising:
Terminal sends the request of the IP address list needing to obtain tunnel server to domain name system DNS server, described request carries insertion point of radio local network W-APN information;
Receive the IP address list obtained after dns server carries out domain name mapping according to described W-APN information;
Terminal selects a tunnel server needing to carry out tunnel foundation;
According to the result of holding consultation with described tunnel server, select to carry out tunnel foundation by the mode of the signaling control protocol SIP of application layer or the mode of SMS platform and described tunnel server;
The result that described basis is held consultation with described tunnel server, select to carry out tunnel by the mode of the signaling control protocol SIP of application layer and described tunnel server and set up and specifically comprise:
The SIP registration message carrying tunnel establishment mode information is sent to described tunnel server;
Receive the return messages of the tunnel establishment mode information selecting himself to support after described tunnel server resolves described SIP registration message;
Resolve the return messages of the tunnel establishment mode information selecting himself to support after described SIP registration message from the described tunnel server received the tunnel establishment mode information obtaining described tunnel server and support, and carry out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server;
The result that described basis is held consultation with described tunnel server, select to carry out tunnel by the mode of SMS platform and described tunnel server and set up and specifically comprise:
The short message of the tunnel establishment mode information of IP and the described terminal support carrying and select tunnel server is sent to the SMS platform that the note number pre-set is corresponding;
Receive return messages that described SMS platform returns, that comprise tunnel server support tunnel establishment mode information;
Return from the described SMS platform received, comprise tunnel server and support to obtain the return messages of tunnel establishment mode information the tunnel establishment mode information that described tunnel server supports, and carry out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
2. the method for claim 1, is characterized in that, described terminal selects a tunnel server needing to carry out tunnel foundation, specifically comprises:
Described terminal selects a tunnel server needing to carry out tunnel foundation according to the network address IP list of tunnel server.
3. a terminal, is characterized in that, comprising:
Request sending module, for sending the request of the IP address list needing to obtain tunnel server to dns server, described request carries the W-APN information of access;
List reception module, for receiving the IP address list obtained after dns server carries out domain name mapping according to described W-APN information;
Selecting module, needing the tunnel server carrying out tunnel foundation for selecting one;
Module is set up in first tunnel, for according to and the described tunnel server result of holding consultation, select to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described tunnel server;
Described first tunnel is set up module and is comprised:
Registration submodule, for sending the SIP registration message carrying tunnel establishment mode information to described tunnel server;
First message sink submodule, for receive described tunnel server resolve described SIP registration message after, the return messages of the tunnel establishment mode information of selecting himself to support;
Submodule is set up in first tunnel, for obtaining the tunnel establishment mode information that described tunnel server is supported in the return messages that receive from described first message sink submodule, and carry out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server;
Described first tunnel is set up module and is also comprised:
First message sends submodule, sends the short message of the tunnel establishment mode information of IP and the described terminal support carrying and select tunnel server for the SMS platform corresponding to the note number pre-set;
Second message sink submodule, for receiving return messages that described SMS platform returns, that comprise tunnel server support tunnel establishment mode information;
Submodule is set up in second tunnel, for obtaining the tunnel establishment mode information that described tunnel server is supported in the return messages that receive from described second message sink submodule, and carry out tunnel foundation by the tunnel establishment mode information of this support and described tunnel server.
4. terminal as claimed in claim 3, is characterized in that, described selection module, for selecting a tunnel server needing to carry out tunnel foundation according to the IP list of tunnel server.
5. a tunnel server, is characterized in that, comprising:
Negotiation module, for holding consultation with terminal;
Module is set up in second tunnel, for according to described negotiation result, selects to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described terminal;
Described second tunnel is set up module and is comprised:
3rd message sink submodule, for the SIP registration message of the tunnel establishment mode information of carrying that receiving terminal sends;
Second message sends submodule, for receive and after resolving described SIP registration message, and the tunnel establishment mode information selecting described tunnel server to support to described terminal return messages;
Submodule is set up in 3rd tunnel, after sending the return messages of submodule from described second message in described terminal and obtaining tunnel establishment mode information that described tunnel server supports, carry out tunnel foundation by the tunnel establishment mode information of this support and described terminal;
4th message sink submodule, the short message of the tunnel establishment mode information that what the SMS platform that the note number for receiving terminal is corresponding sended over carry selects the IP of tunnel server and described terminal to support;
3rd message sends submodule, for receiving and resolving described short message, returns the tunnel establishment mode information that described tunnel server supports, so that described tunnel establishment mode information is sent to described terminal by described SMS platform to described SMS platform;
Submodule is set up in 4th tunnel, for obtain tunnel establishment mode information that described tunnel server supports from the tunnel establishment mode information that described SMS platform sends in described terminal after, carry out tunnel foundation by the tunnel establishment mode information of this support and described terminal.
6. a communication system, is characterized in that, comprising: terminal, dns server, tunnel server, wherein:
Described terminal comprises:
Request sending module, for sending the request of the IP address list needing to obtain tunnel server to dns server, described request carries the W-APN information of access;
List reception module, for receiving the IP address list obtained after dns server carries out domain name mapping according to described W-APN information;
Selecting module, needing the tunnel server carrying out tunnel foundation for selecting one;
Module is set up in first tunnel, for according to and the described tunnel server result of holding consultation, select to carry out tunnel foundation by the mode of SIP or the mode of SMS platform and described tunnel server;
Described dns server be used for described terminal send carry out domain name mapping according to described W-APN information after the IP address list that obtains;
Described tunnel server comprises:
Negotiation module, for holding consultation with terminal;
Module is set up in second tunnel, for according to described negotiation result, selects to carry out tunnel foundation by the mode of SIP and described terminal;
Described second tunnel is set up module and is comprised:
3rd message sink submodule, for the SIP registration message of the tunnel establishment mode information of carrying that receiving terminal sends;
Second message sends submodule, for receive and after resolving described SIP registration message, and the tunnel establishment mode information selecting described tunnel server to support to described terminal return messages;
Submodule is set up in 3rd tunnel, after sending the return messages of submodule from described second message in described terminal and obtaining tunnel establishment mode information that described tunnel server supports, carry out tunnel foundation by the tunnel establishment mode information of this support and described terminal.
7. system as claimed in claim 6, is characterized in that, also comprise: SMS platform,
Described terminal, for sending the short message of the tunnel establishment mode information that the IP that carries and select tunnel server and described terminal are supported to SMS platform corresponding to the note number pre-set, and return according to described SMS platform, the tunnel establishment mode information of described tunnel server support and described tunnel server carry out tunnel foundation;
Described SMS platform, for obtaining the tunnel server information that described terminal is selected from described short message, and is sent to described tunnel server by described short message;
Described tunnel server, for receiving and resolving described short message, returns the tunnel establishment mode information that described tunnel server supports, so that described tunnel establishment mode information is sent to described terminal by described SMS platform to described SMS platform.
CN201010247950.6A 2010-08-06 2010-08-06 Method for selecting tunnel establishment mode as well as terminal, server and system Active CN101932083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010247950.6A CN101932083B (en) 2010-08-06 2010-08-06 Method for selecting tunnel establishment mode as well as terminal, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010247950.6A CN101932083B (en) 2010-08-06 2010-08-06 Method for selecting tunnel establishment mode as well as terminal, server and system

Publications (2)

Publication Number Publication Date
CN101932083A CN101932083A (en) 2010-12-29
CN101932083B true CN101932083B (en) 2014-12-31

Family

ID=43370915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010247950.6A Active CN101932083B (en) 2010-08-06 2010-08-06 Method for selecting tunnel establishment mode as well as terminal, server and system

Country Status (1)

Country Link
CN (1) CN101932083B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101948801B1 (en) 2011-04-11 2019-02-18 삼성전자주식회사 Data recieving method and apparatus for user equipment supporting multimedia broadcast multicast service
EP3361685A4 (en) * 2015-10-26 2018-10-31 Huawei Technologies Co., Ltd. Method of selecting negotiation object, method of responding discovery message, and associated device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104999A1 (en) * 2008-02-18 2009-08-27 Telefonaktiebolaget L M Ericsson (Publ) Sip server discovery in an interworking wlan/ims system
CN101753533A (en) * 2008-12-04 2010-06-23 华为终端有限公司 Method, device and system for negotiating authentication methods

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104999A1 (en) * 2008-02-18 2009-08-27 Telefonaktiebolaget L M Ericsson (Publ) Sip server discovery in an interworking wlan/ims system
CN101753533A (en) * 2008-12-04 2010-06-23 华为终端有限公司 Method, device and system for negotiating authentication methods

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP TSG SA.3GPP System to Wireless Local Area Network (WLAN)interworking WLAN User Equipment (WLAN UE) to network protocols Stage3;(Release 8).《3GPP TS 24.234 v8.3.0》.2009, *

Also Published As

Publication number Publication date
CN101932083A (en) 2010-12-29

Similar Documents

Publication Publication Date Title
CN101843145B (en) A system and method for reselection of a packet data network gateway when establishing connectivity
JP3984993B2 (en) Method and system for establishing a connection through an access network
CN101606372B (en) Support of UICC-less calls
US7774828B2 (en) Methods for common authentication and authorization across independent networks
US9219717B2 (en) Methods and systems for registering a packet-based address for a mobile device using a fully-qualified domain name (FQDN) for the device in a mobile communication network
US8233934B2 (en) Method and system for providing access via a first network to a service of a second network
US8914869B2 (en) Gateway system and method for implementing access to various media
CN102917356B (en) Subscriber equipment is accessed the method, apparatus and system of the packet core network of evolution
US20060154645A1 (en) Controlling network access
CN104247505A (en) System and method for andsf enhancement with anqp server capability
CN102026163A (en) Method and device for selecting access to Internet through wireless fidelity access network
CN101984724B (en) Method and system for building tunnel in converged network
CN101835155A (en) Method and system for accessing terminal to fusion network
US11109219B2 (en) Mobile terminal, network node server, method and computer program
CN101932083B (en) Method for selecting tunnel establishment mode as well as terminal, server and system
KR20090121938A (en) Advanced mobile router with strengthened authorization and security, and method and system for tranceiving packet data using the mobile router
WO2023212913A1 (en) Wireless communication methods and apparatuses, and devices, storage medium and program product
JP2008182695A (en) Method and system for providing access to services of second network via first network
CN118120201A (en) Access authentication method and device for private internet of things (PINE)
CN102035811A (en) Method, device and system for realizing IMS (International Mobile Subscriber) registration

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