CN1564529A - Simple detection method for GGSN facilities - Google Patents

Simple detection method for GGSN facilities Download PDF

Info

Publication number
CN1564529A
CN1564529A CNA2004100130143A CN200410013014A CN1564529A CN 1564529 A CN1564529 A CN 1564529A CN A2004100130143 A CNA2004100130143 A CN A2004100130143A CN 200410013014 A CN200410013014 A CN 200410013014A CN 1564529 A CN1564529 A CN 1564529A
Authority
CN
China
Prior art keywords
sgsn
ggsn
simulation
pdp context
address
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
CNA2004100130143A
Other languages
Chinese (zh)
Other versions
CN100518097C (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.)
Beijing Northern Fiberhome Technologies Co Ltd
Original Assignee
Beijing Northern Fiberhome Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Northern Fiberhome Technologies Co Ltd filed Critical Beijing Northern Fiberhome Technologies Co Ltd
Priority to CNB2004100130143A priority Critical patent/CN100518097C/en
Publication of CN1564529A publication Critical patent/CN1564529A/en
Application granted granted Critical
Publication of CN100518097C publication Critical patent/CN100518097C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

General computer (Window environment) simulates computer having function of route simulates MS. SGSN, or router under testing environment is constructed according to relation: simulating MS- simulating SGSN-testing GGSN-PDN. Independent network card connects the above said four parts. Following procedures are carried out in testing: simple protocol of simulating MS and SGSN is followed; simulating communication between MS and SGSN; transmitting and receiving interior messages: enable PDP, disable PDP, PDP deletion and PDP modification. The method does not need special test instrument and actual GSN connectors of SGSN.

Description

The simple test method of GGSN equipment
Affiliated field
What the present invention relates to is the method for testing of GGSN equipment in the 3G system
Background technology
GGSN is the node that the GPRS backbone network links to each other with external data network, and GGSN-GTP is the main processing section in the GGSN subsystem, and it is responsible for foundation, maintenance and the GPRS backbone network of GTP tunnel between GGSN, SGSN and route, the forwarding of outside PDN netting index certificate.Can be divided into GTP-C and GTP-U two parts according to traffic performance GGSN-GTP, signaling process and user data are handled separately, GTP_C is responsible for the external signaling process of whole GGSN system, comprise foundation, modification, the deletion in tunnel between the GSN entity, RADIUS authentication, the DHCP dynamic address allocation, the foundation of ppp link, L2TP Tunnel etc.GTP_U is responsible for the transmission of data, comprises the encapsulation of different types of data such as GRE, L2TP, and GTP_U also is responsible for the forwarding of signaling data to chain of command.Usually, the groundwork that will do of the test of GGSN should following several aspects:
1, whether the signaling process of validation test GGSN GTPC is correct: as foundation, modification, the deletion in tunnel between the GSN entity, user's secondary activating, RADIUS authentication, DHCP dynamic address allocation, the PDP activation of GSN initiation etc. is carried out in the foundation of ppp link, L2TP Tunnel.GTP_C also finishes the active/standby backup of Slave Processing Unit, the N+1 backup of DPU plate together with database; Finish overloading control together with IP stack; Finish communicating by letter of SPU----DPU, SPU----GGIP and data sync together with the corresponding module on DPU, the GGIP plate; In data quick-processing module or IP stack, finish filter function.
2, whether the following function of validation test GGSN GTPU can correctly realize: and database is responsible for user's face, the foundation of user's face tunnel and user plane path between the management GSN entity, modification, deletion together; The PDP that initiates the GGSN side activates (sending out message to GTPC), the contextual maintenance of user's face, the maintenance of user's face echo node, the maintenance of user's face tft; Transmission user grouped data between the GSN entity; And select whether to do modes such as necessary encapsulation gre or 12tp, the collection of metering data etc. according to user's requirement.
3, the PPP﹠amp of validation test GGSN; L2TP functions of modules, whether correct with the interface of OMC, interface, flow control, filter etc. with CG.
(reference: 3G TS 23.060,3G?TS?29。060)
At present, except online detects the GGSN equipment of producing, based on the 3G testing equipment of WCDMA system seldom, and there is not to carry out GGSN the equipment of performance test, the testing equipment of more existing producers can not be tested the testing protocol consistency based on the R4 version, tester producer need expend considerable time and a large amount of funds to the software upgrading of existing tester, can not reflect test result intuitively on the test effect.Therefore, press for a kind of performance test and the visual testing tool that can load greatly to GGSN.
Goal of the invention
In order under the situation that does not have GSN contact equipment such as SGSN, to carry out the session management of single GGSN equipment, access function, the simulation SGSN that utilizes us to provide is provided in the test of route and data forwarding function etc., and simulation MS builds the simple test method that test environment carries out GGSN equipment.
Technical scheme
Technical scheme of the present invention is: the simple test method of GGSN equipment is characterized in that:
A, usefulness common computer (windows environment) simulation MS are with computer that routing function is arranged or router simulation SGSN;
Press: simulation MS---relation of the true outer network PDN of simulation SGSN---GGSN of test---is built test environment, between above-mentioned four with independently network interface card connection;
B, simulation SGSN initialization have enough buffer resources and can use; Simulation SGSN directly catches all packets and the direct network interface card transmission packet to appointment of specifying network interface card; Simulate SGSN simultaneously packet carried out data filter, can stop address certain specific packet MS end IP, even and TCP, udp port number, forbid transmitting the deletion PDP Context;
C, simulation MS realize that by a client-side program that operates on the PC device its gateway is set to simulate the NIC address of SGSN;
Follow the simple protocol between simulation MS and the SGSN, carry out communication between simulation MS and the SGSN, the transmitting-receiving inside story, such as: PDP activates, PDP deactivation, PDP deletion, and the modification of PDP.
The simple test method of aforesaid GGSN equipment is characterized in that: PDN for a router or a common computer of tested GGSN different segment.
The simple test method of aforesaid GGSN equipment is characterized in that:
A) simulation SGSN uplink packet handling process:
1, receive the bag that a MS sends, if non-IP bag, then normal process if IP wraps, directly is sent to the user (simulation SGSN) of UDP;
2, simulation SGSN checks this address, source, if corresponding PDP Context is arranged then encapsulate the GTP head, calls udp and sends function and send it to GGSN; Exist at overanxious table if having corresponding PDP Context and this source IP address, create the PDP Context request to the GGSN transmission immediately, (TEIDC TEIDU), and starts the timer wait for control plane address, user's face address to attach four key elements that go up oneself; Waiting for therebetween the IP buffer memory that MS will be sent here successively.
If 3 timers are full, then remove buffer area, flow process is got back to the state of preparing to carry out 1 step; Create the PDP Context response message if receive GGSN, four key elements of then taking out GGSN are created PDP Context and are preserved it, and the IP bag formation to this PDP Context of buffer area encapsulates the GTP head successively then, and call udp and send function and send it to GGSN;
B) simulation SGSN downstream packets handling process:
1, simulation SGSN opens two port numbers 2123 and 2152 of GTP, handles signaling packet and user's bag from GGSN respectively;
If 2 receive the bag of 2152 ports, look for its PDP Context according to the TEID of its GTP head, directly mail to network interface card if find then remove the GTP head, if can not find, abandon it;
If 3 receive the bag of 2123 ports,, then create the PDP Context list item if create the PDP Context response; If response of deletion PDP Context or request are then deleted the PDP Context list item and also the IP address of this list item correspondence placed in the overanxious table, the request of deletion PDP Context also will send a deletion response; If other message abandon it;
C) PDP delete procedure
1, simulation SGSN provides an interface, accepts the deletion that the manual command carries out certain PDP Context;
2, after simulation SGSN receives certain context instruction of deletion, this IP address is put in filter table; This IP address is removed to remove the deletion action from filter table.
Main technical schemes of the present invention is:
Simulation SGSN initialization has enough buffer resources and can use; Simulation SGSN can realize directly catching all packets of specifying network interface card, also can be directly to the network interface card transmission packet of appointment; Simulating SGSN simultaneously can stop certain specific packet MS end IP address (even and TCP, udp port number) forbidden transmitting (data filter), packet will can not be forwarded to corresponding M S after the deletion PDP Context, thereby just can realize the external manifestation of PDP Context delete function.
Simulation MS is one and realizes that by the client-side program that operates on the PC device its gateway is set to simulate NIC address of SGSN in the actual test environment.Its major function is and our simulation SGSN communication, the transmitting-receiving inside story, such as: PDP activates, PDP deactivation, PDP deletion, and the modification of PDP.These several message are followed the simple protocol between simulation MS and the SGSN.Certainly we also specify this IMSI that simulates MS and NSAPI etc. as required in sending message
Activate successfully simulate MS can the GTP tunnel online between the SGSN by GGSN and simulation, ping leads to outer net, ftp server that can above outer net; Deactivation will be could not get on to the Net later, can not lead to outer net by ping, can not go up the ftp server of outer net.This is to have satisfied session management with regard to the GGSN that proves us, the requirement of access function and data service.
Can certainly be by realizing the function of local area network (LAN) file transfer functions checking GGSN.
The simple protocol of mentioning in the above-mentioned literary composition is meant:
A communication standard that between simulation MS and simulation SGSN, defines, regulation simulation MS must be with type of message in the message of issuing simulation SGSN, IMSI, NSAPI, IP, gateway, type of message is meant activation, upgrade, deactivation, secondary activating, activate failure, activate and successfully wait type of message, IMSI is the IMSI of mobile phone, IP is for filling in the public network IP of oneself when mobile phone static state activates, if dynamically active the time, must fill out 0, the IP address of gateway representative simulation SGSN, this structure is used to simulate SGSN and issues simulation MS, and the IP of test is the address that GGSN distributes to MS.
Beneficial effect
The invention has the beneficial effects as follows, can utilize our simulation SGSN under the situation of having only single GGSN equipment, simulation MS builds test environment.Session management, access function, route and the data forwarding function of test GGSN.
Owing to do not need the tester of specialty, do not need actual GSN contacts such as SGSN, so building of the test environment of this special test GGSN equipment is with low cost, simple and convenient yet.
Description of drawings
Accompanying drawing 1 is a GGSN test environment example of the present invention.
Accompanying drawing 2 is GGSN Design of Test System conceptual schemes of the present invention.
Accompanying drawing 3 is flow charts of simulation MS of the present invention.
Accompanying drawing 4 simulation SGSN uplink packet handling processes.
Accompanying drawing 5 simulation SGSN downstream packets handling processes.
The hardware of simulation MS is a common computer (windows environment) among Fig. 1; The hardware of simulation SGSN is a computer or a router that routing function is arranged; GGSN is GGSN to be tested; PDN is true outer net, or a router or a common computer.
Among Fig. 2: 1 pure IP packet; 2 IP UDP encapsulation GTP packet; 3 pure IP packets; 4 network interface cards independently.
Concrete execution mode
Embodiments of the invention as shown in Figure 1 and Figure 2, in GGSN test environment example, it can be that a plurality of simulation MS connect simulation SGSN simultaneously that actual test environment is built, SGSN is connected with GGSN to be tested, and GGSN inserts true outer network PDN (also can be a computer with the GGSN different segment).
Fig. 3 is the specific implementation of simulation MS in the embodiments of the invention.
Fig. 4, Fig. 5 are the specific implementations of simulation SGSN in the embodiments of the invention:
A) simulation SGSN uplink packet handling process:
1, receive the bag that a MS sends, if non-IP bag, then normal process if IP wraps, directly is sent to the user (simulation SGSN) of UDP.
2, simulation SGSN checks this address, source, if corresponding PDP Context is arranged then encapsulate the GTP head, calls udp and sends function and send it to GGSN; Exist at overanxious table if having corresponding PDP Context and this source IP address, create the PDP Context request to the GGSN transmission immediately, (TEIDC TEIDU), and starts the timer wait for control plane address, user's face address to attach four key elements that go up oneself.Waiting for therebetween the IP buffer memory that MS will be sent here successively.
If 3 timers are full, then remove buffer area, flow process is got back to the state of preparing to carry out 1 step.Create the PDP Context response message if receive GGSN, four key elements of then taking out GGSN are created PDP Context and are preserved it, and the IP bag formation to this PDP Context of buffer area encapsulates the GTP head successively then, and call udp and send function and send it to GGSN.
B) simulation SGSN downstream packets handling process:
1, simulation SGSN opens two port numbers 2123 and 2152 of GTP, handles signaling packet and user's bag from GGSN respectively.
If 2 receive the bag of 2152 ports, look for its PDP Context according to the TEID of its GTP head, directly mail to network interface card if find then remove the GTP head, if can not find then abandon it.
If 3 receive the bag of 2123 ports,, then create the PDP Context list item if create the PDP Context response; If response of deletion PDP Context or request are then deleted the PDP Context list item and also the IP address of this list item correspondence placed in the overanxious table, the request of deletion PDP Context also will send a deletion response; If other message abandon it (wouldn't handle renewal).
C) PDP delete procedure
1, simulation SGSN software provides an interface, accepts the deletion that the manual command carries out certain PDP Context.Accomplish the only corresponding PDP Context in an IP address at present earlier, add classification later on again.
2, simulation SGSN software receives that certain context instruction back of deletion except deleting action, also will be put in filter table with this IP address, in order to avoid trigger the PDP Context request of creating again from its bag at once.Remove to delete to move only this IP address to be removed from filter table and get final product

Claims (3)

1, the simple test method of GGSN equipment is characterized in that:
A, usefulness common computer (windows environment) simulation MS are with computer that routing function is arranged or router simulation SGSN;
Press: simulation MS---relation of the true outer network PDN of simulation SGSN---GGSN of test---is built test environment, between above-mentioned four with independently network interface card connection;
B, simulation SGSN initialization have enough buffer resources and can use; Simulation SGSN directly catches all packets and the direct network interface card transmission packet to appointment of specifying network interface card; Simulate SGSN simultaneously packet carried out data filter, can stop address certain specific packet MS end IP, even and TCP, udp port number, forbid transmitting the deletion PDP Context;
C, simulation MS realize that by a client-side program that operates on the PC device its gateway is set to simulate the NIC address of SGSN;
2, the simple test method of GGSN equipment as claimed in claim 1 is characterized in that: PDN for a router or a common computer of tested GGSN different segment.
3, the simple test method of GGSN equipment as claimed in claim 1 or 2 is characterized in that:
A) simulation SGSN uplink packet handling process:
1, receive the bag that a MS sends, if non-IP bag, then normal process if IP wraps, directly is sent to the user (simulation SGSN) of UDP;
2, simulation SGSN checks this address, source, if corresponding PDP Context is arranged then encapsulate the GTP head, calls udp and sends function and send it to GGSN; Exist at overanxious table if having corresponding PDP Context and this source IP address, create the PDP Context request to the GGSN transmission immediately, (TEIDC TEIDU), and starts the timer wait for control plane address, user's face address to attach four key elements that go up oneself; Waiting for therebetween the IP buffer memory that MS will be sent here successively.
If 3 timers are full, then remove buffer area, flow process is got back to the state of preparing to carry out 1 step; Create the PDP Context response message if receive GGSN, four key elements of then taking out GGSN are created PDP Context and are preserved it, and the IP bag formation to this PDP Context of buffer area encapsulates the GTP head successively then, and call udp and send function and send it to GGSN;
B) simulation SGSN downstream packets handling process:
1, simulation SGSN opens two port numbers 2123 and 2152 of GTP, handles signaling packet and user's bag from GGSN respectively;
If 2 receive the bag of 2152 ports, look for its PDP Context according to the TEID of its GTP head, directly mail to network interface card if find then remove the GTP head, if can not find, abandon it;
If 3 receive the bag of 2123 ports,, then create the PDP Context list item if create the PDP Context response; If response of deletion PDP Context or request are then deleted the PDP Context list item and also the IP address of this list item correspondence placed in the overanxious table, the request of deletion PDP Context also will send a deletion response; If other message abandon it;
C) PDP delete procedure
1, simulation SGSN provides an interface, accepts the deletion that the manual command carries out certain PDP Context;
2, after simulation SGSN receives certain context instruction of deletion, this IP address is put in filter table; This IP address is removed to remove the deletion action from filter table.
CNB2004100130143A 2004-04-12 2004-04-12 Simple detection method for GGSN facilities Expired - Fee Related CN100518097C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100130143A CN100518097C (en) 2004-04-12 2004-04-12 Simple detection method for GGSN facilities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100130143A CN100518097C (en) 2004-04-12 2004-04-12 Simple detection method for GGSN facilities

Publications (2)

Publication Number Publication Date
CN1564529A true CN1564529A (en) 2005-01-12
CN100518097C CN100518097C (en) 2009-07-22

Family

ID=34478131

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100130143A Expired - Fee Related CN100518097C (en) 2004-04-12 2004-04-12 Simple detection method for GGSN facilities

Country Status (1)

Country Link
CN (1) CN100518097C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100486187C (en) * 2006-12-30 2009-05-06 华为技术有限公司 A test method and system for L2TP tunnel specification
CN101174936B (en) * 2006-10-31 2010-07-21 华为技术有限公司 Wireless grouping redundant network system and redundant network equipment
CN102256292A (en) * 2011-08-03 2011-11-23 中国人民解放军91655部队 Heterogeneous network simulation message service end-to-end testing method and system
CN102315981A (en) * 2010-06-29 2012-01-11 大唐移动通信设备有限公司 Equipment and method for testing evolved packet core network equipment
CN101253723B (en) * 2005-06-29 2012-09-05 霍尼韦尔国际公司 Apparatus and method for network error prevention
CN104469822A (en) * 2014-11-26 2015-03-25 大唐移动通信设备有限公司 Testing method, base station and system
CN105634849A (en) * 2014-11-05 2016-06-01 中国移动通信集团公司 Dial measuring method and apparatus for data traffic unified payment services
CN113316180A (en) * 2020-02-27 2021-08-27 大唐移动通信设备有限公司 Method and device for processing exception of service tunnel

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101253723B (en) * 2005-06-29 2012-09-05 霍尼韦尔国际公司 Apparatus and method for network error prevention
CN101174936B (en) * 2006-10-31 2010-07-21 华为技术有限公司 Wireless grouping redundant network system and redundant network equipment
CN100486187C (en) * 2006-12-30 2009-05-06 华为技术有限公司 A test method and system for L2TP tunnel specification
CN102315981A (en) * 2010-06-29 2012-01-11 大唐移动通信设备有限公司 Equipment and method for testing evolved packet core network equipment
CN102315981B (en) * 2010-06-29 2014-08-27 大唐移动通信设备有限公司 Equipment and method for testing evolved packet core network equipment
CN102256292A (en) * 2011-08-03 2011-11-23 中国人民解放军91655部队 Heterogeneous network simulation message service end-to-end testing method and system
CN102256292B (en) * 2011-08-03 2013-08-07 中国人民解放军91655部队 Heterogeneous network simulation message service end-to-end testing method and system
CN105634849A (en) * 2014-11-05 2016-06-01 中国移动通信集团公司 Dial measuring method and apparatus for data traffic unified payment services
CN105634849B (en) * 2014-11-05 2019-01-01 中国移动通信集团公司 A kind of data traffic system pays the dial testing method and device of business
CN104469822A (en) * 2014-11-26 2015-03-25 大唐移动通信设备有限公司 Testing method, base station and system
CN113316180A (en) * 2020-02-27 2021-08-27 大唐移动通信设备有限公司 Method and device for processing exception of service tunnel
CN113316180B (en) * 2020-02-27 2022-05-03 大唐移动通信设备有限公司 Method and device for processing exception of service tunnel

Also Published As

Publication number Publication date
CN100518097C (en) 2009-07-22

Similar Documents

Publication Publication Date Title
TWI244295B (en) Method and system for simulating multiple independent client devices in a wired or wireless network
CN103154897B (en) Core level of abstraction for communication network application
CN101043384A (en) System and method for network test
CN101043666A (en) Maintenance system, maintenance access apparatus and maintenance method of base station
CN101047618A (en) Method and system for acquiring network route information
CN1439213A (en) Method for comunicating audio data in a packet switched network
CN106936875A (en) Improvement TCP agent method based on wide area network data compression
CN102761534A (en) Method and device for realizing transparent proxy of media access control layer
CN1564529A (en) Simple detection method for GGSN facilities
CN100568826C (en) A kind of performance test methods of authentication service and device
CN101035346A (en) Method and device for large traffic simulation test of packet data service
JP5792688B2 (en) Synchronized commands for network inspection
CN101051948A (en) System and method for realizing multiple link point-to-point silent interception by port image
CN100346612C (en) Digital user line broad band business testing method
CN1490995A (en) Apparatus for connecting wireless network with at least one other network
CN102315981B (en) Equipment and method for testing evolved packet core network equipment
CN101447896A (en) TCP connection managing method for internet bypass monitoring system
CN1164065C (en) Universal protocol testing method for embedded system
CN1905496A (en) System and method for testing function of communication apparatus
CN1490994A (en) Method and apparatus for connecting apparatus with wireless network
CN1409546A (en) Verification system and method of mobile phone block calling process operation
CN1716883A (en) Performance testing device and method for wireless network controller
CN1625292A (en) Method for transforing base station environment monitoring information
CN104768176A (en) SFlow sampling method and device in wireless network
CN1717090A (en) Detecting device and method for RNC air interface

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090722

Termination date: 20100412