CN102075594A - Network environment identification method, access method and base station - Google Patents

Network environment identification method, access method and base station Download PDF

Info

Publication number
CN102075594A
CN102075594A CN2011100333383A CN201110033338A CN102075594A CN 102075594 A CN102075594 A CN 102075594A CN 2011100333383 A CN2011100333383 A CN 2011100333383A CN 201110033338 A CN201110033338 A CN 201110033338A CN 102075594 A CN102075594 A CN 102075594A
Authority
CN
China
Prior art keywords
base station
address
control device
network
network environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100333383A
Other languages
Chinese (zh)
Other versions
CN102075594B (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 CN201110033338.3A priority Critical patent/CN102075594B/en
Publication of CN102075594A publication Critical patent/CN102075594A/en
Priority to PCT/CN2011/078224 priority patent/WO2012100521A1/en
Application granted granted Critical
Publication of CN102075594B publication Critical patent/CN102075594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • H04L41/0897Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

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

Abstract

The invention discloses a network environment identification method, a network environment access method and a base station. The base station acquires an internet protocol (IP) address of the base station, a virtual private network (VPN) tunnel is established by using the IP address, and if the VPN tunnel is successfully established, the network environment is determined to be a public network, otherwise, the network environment is determined to be a private network. By the invention, the deployment of the wireless base station under the complicated network environment is adapted, the flexibility and adaptivity of the base station are improved and a blank of accessing the wireless base station to a complicated network is filled.

Description

The recognition methods of network environment, cut-in method and base station
Technical field
The present invention relates to communication field, relate in particular to a kind of recognition methods, cut-in method and base station of network environment.
Background technology
In existing skill, when being linked into the base station in the network, need the precognition network environment usually, be public network or private network such as what insert.
Wherein, the private network scene is meant that base station and base station control device all in private local area network, do not cross over public network (not striding router).As shown in Figure 1, be CDMA (Code Division Multiple Access, code division multiple access inserts) system's private network application scenarios schematic diagram, wherein, the base station is BTS (BaseTransceiver Station, base transceiver station), the base station control device of base station access is BSC (BaseStation Controller, a base station controller).
As shown in Figures 2 and 3, be cdma system public network applied environment schematic diagram.Base station and base station control device have been crossed over public network.
After the precognition network environment, can be according to the IP address of the default base station of network environment, perhaps, difference according to network environment, take DHCP (Dynamic Host Configuration Protocol, DHCP) or PPPOE (Point-to-Point Protocol Over Ethernet, carrying point-to-point connection protocol on the Ethernet) technology obtain the IP address.
But, in the network environment of base station deployment extremely under the complicated background, access may be private network, also might be public network.Do not have in the base station under the situation of configuration of IP address, be difficult to directly judge public network or the private network that is inserted.Under the situation of not knowing network environment, how to automatically identify public and private net environment, and then carry out relevant the access, be the problem of needing solution badly.
Summary of the invention
The technical problem to be solved in the present invention proposes a kind of recognition methods, cut-in method and base station of network environment, how to automatically identify public and private net problem of environment to solve.
In order to address the above problem, the invention provides a kind of recognition methods of network environment, comprising:
The base station obtains its own IP address, uses described IP address to set up VPN (virtual private network) (VPN) tunnel, if vpn tunneling is set up successfully, judges that then network environment is a public network, otherwise is private network.
Preferably, said method has following characteristics:
The step that the base station obtains its own IP address comprises:
Carrying point-to-point connection protocol (PPPOE) negotiation and DHCP (DHCP) negotiation on the Ethernet are carried out in the base station, consult successfully when one of them, then obtain its own IP address.
Preferably, said method has following characteristics:
Described base station is base transceiver station (BTS) or Node B (NodeB).
In order to address the above problem, the invention provides a kind of method of access, comprising:
The base station obtains its own IP address, use described IP address to set up vpn tunneling, if vpn tunneling is set up successfully, judge that then network environment is a public network, the vpn tunneling and the base station control device that pass through to be set up connect, otherwise the judgement network environment is a private network, use two-way socket between foundation of described IP address and the base station control device, connect with base station control device.
Preferably, said method has following characteristics:
The step that the base station obtains its own IP address comprises:
The PPPOE negotiation is carried out in the base station and DHCP consults, and consults successfully when one of them, then obtains its own IP address.
Preferably, said method has following characteristics:
Described base station is BTS, and described base station control device is base station controller (BSC); Perhaps, described base station is a Node B, and described base station control device is radio network controller (RNC); Perhaps described base station is a Node B, and described base station control device is IAD (AGW).
In order to address the above problem, the invention provides a kind of base station, comprise IP address acquisition module, vpn tunneling module and judge module,
Described IP address acquisition module is used to obtain the IP address of described base station, and informs described vpn tunneling module;
Described vpn tunneling module is used to use described IP address to set up vpn tunneling, and will whether set up the described judge module of successful information notification;
Described judge module is used for whether setting up successful information according to vpn tunneling, judges network environment, wherein, if vpn tunneling is set up successfully, judges that then network environment is a public network, otherwise is private network.
Preferably, above-mentioned base station also comprises access module, wherein,
Described access module is used for when judge module judges that network environment is public network, and the vpn tunneling and the base station control device that pass through to be set up connect; When judge module judges that network environment is private network, use two-way socket between foundation of described IP address and the base station control device, connect with base station control device.
Preferably, above-mentioned base station has following characteristics:
Described IP address acquisition module is further used for carrying out the PPPOE negotiation and DHCP consults, and consults successfully when one of them, then obtains the IP address of described base station.
Preferably, above-mentioned base station has following characteristics:
Described base station is BTS, and described base station control device is BSC; Perhaps, described base station is a Node B, and described base station control device is RNC; Perhaps described base station is a Node B, and described base station control device is AGW.
Adopt the present invention, adapt to the deployment of wireless base station under complex network environment, improved the flexibility and the adaptivity of base station, filled up the blank of the complicated networking model of access of wireless base station.
Description of drawings
Fig. 1 is a private network application scenarios schematic diagram;
Fig. 2 is a public network PPPOE application scenarios schematic diagram;
Fig. 3 is a public network DHCP application scenarios schematic diagram;
Fig. 4 is the private network environment access deployment schematic diagram that the present invention uses example;
Fig. 5 is that the public network environment that Modem (modulator-demodulator) that the present invention uses example inserts is disposed schematic diagram
Fig. 6 is that the public network environment that the router of the present invention's band Dynamic Host Configuration Protocol server of using example inserts is disposed schematic diagram;
Fig. 7 is the flow chart that the present invention uses example.
Embodiment
Hereinafter will be elaborated to embodiments of the invention in conjunction with the accompanying drawings.Need to prove that under the situation of not conflicting, embodiment among the application and the feature among the embodiment be combination in any mutually.
In the present invention, whether successful according to setting up VPN (Virtual Private Network, VPN (virtual private network)) tunnel, judge network environment.
Particularly, the base station obtains its own IP address, uses described IP address to set up vpn tunneling, if vpn tunneling is set up successfully, judges that then network environment is a public network, otherwise is private network.
Wherein, the PPPOE negotiation can be carried out in the base station and DHCP consults, and consults successfully when one of them, then obtains its own IP address.
The PPPOE requirements of process is with AC (Authenticator Center, authentication center) carries out packet switching, dynamic negotiation is obtained data messages such as IP address, be applicable to that the base station is linked into the network scenarios of network dial authentication, referring to Fig. 2, in this scene, adopt PPPOE dial mode access network by Cable Modem or XDSL Modem equipment.The DHCP requirements of process is carried out message interaction with Dynamic Host Configuration Protocol server, and dynamic negotiation is obtained data messages such as IP address, is applicable to that the base station is linked in the router network scene of having opened Dynamic Host Configuration Protocol server, referring to Fig. 3.
In embodiments of the present invention, the mode that can adopt PPPOE and DHCP to attempt simultaneously, no matter the base station directly is to connect with Modem, still tape splicing has the router of dhcp server functionality, no matter PPPOE or DHCP, as long as a trial can be successful, and begin trial and security gateway and set up vpn tunneling, if the tunnel is set up successfully, just think that network environment is a public network, otherwise be private network.
In other embodiments, also can adopt and attempt earlier a kind of among PPPOE and the DHCP, reattempt the mode of another.
After judging that network environment is public network, the vpn tunneling and the base station control device that can pass through to be set up connect; After judging that network environment is private network, use two-way socket between foundation of described IP address and the base station control device, connect with base station control device.
Correspondingly, the base station of the embodiment of the invention comprises IP address acquisition module, vpn tunneling module, judge module and access module,
Described IP address acquisition module is used to obtain the IP address of described base station, and informs described vpn tunneling module;
Described vpn tunneling module is used to use described IP address to set up vpn tunneling, and will whether set up the described judge module of successful information notification;
Described judge module is used for whether setting up successful information according to vpn tunneling, judges network environment, wherein, if vpn tunneling is set up successfully, judges that then network environment is a public network, otherwise is private network.
Described access module is used for when judge module judges that network environment is public network, and the vpn tunneling and the base station control device that pass through to be set up connect; When judge module judges that network environment is private network, use two-way socket between foundation of described IP address and the base station control device, connect with base station control device.
Wherein, described IP address acquisition module can be further used for carrying out the PPPOE negotiation and DHCP consults, and consults successfully when one of them, then obtains the IP address of described base station.
In the embodiment of the invention and application example, the employing cdma network is described, at this moment, the base station is BTS, base station control device is BSC, but the invention is not restricted to this, other network formats, as GSM (Global System for Mobile Communications, global system for mobile communications) BTS and BSC, WCDMA (Wideband Code Division Multiple Access, the Wideband Code Division Multiple Access (WCDMA) access) NodeB (Node Base station, Node B) and RNC (Radio Network Controller, radio network controller), the NodeB of LTE/Wimax (Long Time Evolution/WorldwideInteroperability for Microwave Access, Long Term Evolution/worldwide interoperability for microwave inserts) and AGW (Access Gateway inserts webmaster) etc. are applicable to the present invention too.
With concrete application example the present invention is described in further detail below.
With different network environments is example:
As shown in Figure 4, be the private network environment, wherein, the ABES FE mouth of the Abis mouth of BTS and BSC is connected with switch respectively.Wherein, BTS can connect Dynamic Host Configuration Protocol server (DHCP Server), and this DHCP Server is used for distributing private network IP address to BTS.
As shown in Figure 5, be the public network environment that inserts by Modem, wherein the Abis mouth of BTS is connected with ADSLModem, and BSC links to each other with switch, and switch is connected with the Trust mouth of SSG security gateway, and the Untrust mouth of security gateway is connected with Ethernet.
As shown in Figure 6, be the public network environment that inserts by router, wherein, the Abis mouth of BTS is connected with the router of DHCP Server, BSC links to each other with switch, and switch is connected with the Trust mouth of SSG security gateway, and the Untrust mouth of security gateway is connected with Ethernet.
As shown in Figure 7, the present invention uses example and comprises the steps:
Step 701, base station are provided with the IP address of Dynamic Host Configuration Protocol server, the user name and the password of PPPOE dialing, set DHCP and PPPOE run timing device, start timer;
Step 702 starts DHCP and PPPOE negotiation packet and sends, the parallel trial;
Step 703 is if one of them trial and success then stops (killing) timer, execution in step 704; If timer time arrives, DHCP and PPPOE consult all failure, then process ends;
Wherein, DHCP is carried out when consulting in the base station, initiates to consult in the time of by 4094 DHCP negotiation packets (VLAN is designated 1~4094) of band VLAN (Virtual Local Area Network) sign and not with the DHCP negotiation packet of VLAN;
Step 704, the IP by DHCP or PPPOE get access to the base station sends IKE (Internet KeyExchange, IKE) data message and security gateway are set up vpn tunneling, if set up successfully, then are judged as the public network environment, execution in step 705 denys the person, execution in step 706;
Step 705 connects by vpn tunneling and BSC, process ends (at the scene of Fig. 5 and Fig. 6).
Step 706, use the IP address of consulting to obtain by DHCP set up and BSC between two-way socket, (at the scene of Fig. 4) connects with BSC.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize, correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the recognition methods of a network environment comprises:
The base station obtains its own IP address, uses described IP address to set up VPN (virtual private network) (VPN) tunnel, if vpn tunneling is set up successfully, judges that then network environment is a public network, otherwise is private network.
2. the method for claim 1 is characterized in that,
The step that the base station obtains its own IP address comprises:
Carrying point-to-point connection protocol (PPPOE) negotiation and DHCP (DHCP) negotiation on the Ethernet are carried out in the base station, consult successfully when one of them, then obtain its own IP address.
3. method as claimed in claim 1 or 2 is characterized in that,
Described base station is base transceiver station (BTS) or Node B (NodeB).
4. the method for an access comprises:
The base station obtains its own IP address, use described IP address to set up vpn tunneling, if vpn tunneling is set up successfully, judge that then network environment is a public network, the vpn tunneling and the base station control device that pass through to be set up connect, otherwise the judgement network environment is a private network, use two-way socket between foundation of described IP address and the base station control device, connect with base station control device.
5. method as claimed in claim 4 is characterized in that,
The step that the base station obtains its own IP address comprises:
The PPPOE negotiation is carried out in the base station and DHCP consults, and consults successfully when one of them, then obtains its own IP address.
6. as claim 4 or 5 described methods, it is characterized in that,
Described base station is BTS, and described base station control device is base station controller (BSC); Perhaps, described base station is a Node B, and described base station control device is radio network controller (RNC); Perhaps described base station is a Node B, and described base station control device is IAD (AGW).
7. a base station is characterized in that, comprises IP address acquisition module, vpn tunneling module and judge module,
Described IP address acquisition module is used to obtain the IP address of described base station, and informs described vpn tunneling module;
Described vpn tunneling module is used to use described IP address to set up vpn tunneling, and will whether set up the described judge module of successful information notification;
Described judge module is used for whether setting up successful information according to vpn tunneling, judges network environment, wherein, if vpn tunneling is set up successfully, judges that then network environment is a public network, otherwise is private network.
8. base station as claimed in claim 7 is characterized in that, also comprises access module, wherein,
Described access module is used for when judge module judges that network environment is public network, and the vpn tunneling and the base station control device that pass through to be set up connect; When judge module judges that network environment is private network, use two-way socket between foundation of described IP address and the base station control device, connect with base station control device.
9. as claim 7 or 8 described base stations, it is characterized in that,
Described IP address acquisition module is further used for carrying out the PPPOE negotiation and DHCP consults, and consults successfully when one of them, then obtains the IP address of described base station.
10. base station as claimed in claim 8 is characterized in that,
Described base station is BTS, and described base station control device is BSC; Perhaps, described base station is a Node B, and described base station control device is RNC; Perhaps described base station is a Node B, and described base station control device is AGW.
CN201110033338.3A 2011-01-30 2011-01-30 The recognition methods of network environment, cut-in method and base station Active CN102075594B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110033338.3A CN102075594B (en) 2011-01-30 2011-01-30 The recognition methods of network environment, cut-in method and base station
PCT/CN2011/078224 WO2012100521A1 (en) 2011-01-30 2011-08-10 Method for identifying network environment, access method and base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110033338.3A CN102075594B (en) 2011-01-30 2011-01-30 The recognition methods of network environment, cut-in method and base station

Publications (2)

Publication Number Publication Date
CN102075594A true CN102075594A (en) 2011-05-25
CN102075594B CN102075594B (en) 2016-03-02

Family

ID=44033934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110033338.3A Active CN102075594B (en) 2011-01-30 2011-01-30 The recognition methods of network environment, cut-in method and base station

Country Status (2)

Country Link
CN (1) CN102075594B (en)
WO (1) WO2012100521A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100521A1 (en) * 2011-01-30 2012-08-02 中兴通讯股份有限公司 Method for identifying network environment, access method and base station
CN106604323A (en) * 2015-10-14 2017-04-26 财团法人工业技术研究院 Gateway, system and method for multiple radio access technology services
EP3496461A3 (en) * 2012-05-16 2019-07-03 Juniper Networks, Inc. Methods and apparatus for virtual soft handoff
CN111565438A (en) * 2020-04-15 2020-08-21 中国联合网络通信集团有限公司 Communication method and access network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2798428Y (en) * 2005-06-10 2006-07-19 深圳市科迈通讯技术有限公司 Virtual network system
US20070030826A1 (en) * 2005-08-03 2007-02-08 Toshiba America Research, Inc. Seamless network interface selection, handoff and management in multi-IP network interface mobile devices
CN101083565A (en) * 2006-05-29 2007-12-05 腾讯科技(深圳)有限公司 Method and system for detecting network types

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100384168C (en) * 2005-12-30 2008-04-23 四川长虹电器股份有限公司 Method for multimedium session transition NAT equipment of IL323 system
KR20090016322A (en) * 2007-08-10 2009-02-13 삼성전자주식회사 Mobile wimax network including private network and the control method
CN102075594B (en) * 2011-01-30 2016-03-02 中兴通讯股份有限公司 The recognition methods of network environment, cut-in method and base station

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2798428Y (en) * 2005-06-10 2006-07-19 深圳市科迈通讯技术有限公司 Virtual network system
US20070030826A1 (en) * 2005-08-03 2007-02-08 Toshiba America Research, Inc. Seamless network interface selection, handoff and management in multi-IP network interface mobile devices
CN101083565A (en) * 2006-05-29 2007-12-05 腾讯科技(深圳)有限公司 Method and system for detecting network types

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100521A1 (en) * 2011-01-30 2012-08-02 中兴通讯股份有限公司 Method for identifying network environment, access method and base station
EP3496461A3 (en) * 2012-05-16 2019-07-03 Juniper Networks, Inc. Methods and apparatus for virtual soft handoff
CN106604323A (en) * 2015-10-14 2017-04-26 财团法人工业技术研究院 Gateway, system and method for multiple radio access technology services
CN106604323B (en) * 2015-10-14 2020-03-17 财团法人工业技术研究院 Gateway, system and method for multiple radio access technology services
CN111565438A (en) * 2020-04-15 2020-08-21 中国联合网络通信集团有限公司 Communication method and access network equipment

Also Published As

Publication number Publication date
CN102075594B (en) 2016-03-02
WO2012100521A1 (en) 2012-08-02

Similar Documents

Publication Publication Date Title
US11849009B2 (en) Wireless device capability information
US20200404548A1 (en) Mobile network operator (mno) control of wifi qos via eap/diameter
EP2658301B1 (en) Non-mobile authentication for mobile network gateway connectivity
EP1804434B1 (en) Method for interworking between a 3GPP mobile communications network and a WIMAX wireless communications network operating according to the IEEE 802.16 standard
JP4557968B2 (en) Tight coupling signaling connection management for connecting wireless and cellular networks
CN107070755A (en) Method and device for providing network insertion for user subject
WO2015042389A1 (en) Mobile network operator (mno) control of wifi qos based on traffic detection and dscp mapping in trusted wlan access and networks
CN101645814B (en) Method, equipment and system for enabling access points to access mobile core network
WO2009115132A1 (en) Method and apparatus for use in a communications network
CN102204306A (en) Method, device and system for machine type communication (mtc) terminal communicating with network through gateway
WO2013185678A1 (en) Method, ue and access network device for implementing data transmission of convergence network
EP2373091B1 (en) Communication device and method
CN102075594B (en) The recognition methods of network environment, cut-in method and base station
CN102056141B (en) System and method for realizing local access
KR102104844B1 (en) Data transmission method, first device and second device
CN112567812B (en) Location reporting for mobile devices
CN101577915B (en) Method and system for identifying DSL network access
CN104521166A (en) Method, device, and system for data transmission
CN103687049B (en) The method and system that multi-connection is established
CN103249041A (en) Method and device for integrating wireless local area network and wireless cellular network
CN102752736B (en) The implementation method of CS business and equipment
JP5287493B2 (en) Mobile terminal device, call connection program, and call connection method
WO2023212913A1 (en) Wireless communication methods and apparatuses, and devices, storage medium and program product
Doyle et al. IP mobility scheme for multi-hop WiMAX
Lee et al. A point-to-point protocol improvement to reduce data call setup latency in Cdma2000 system

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