CN100389570C - Method and system for testing functions of forwarding actual services at communication nodes - Google Patents

Method and system for testing functions of forwarding actual services at communication nodes Download PDF

Info

Publication number
CN100389570C
CN100389570C CNB200410097063XA CN200410097063A CN100389570C CN 100389570 C CN100389570 C CN 100389570C CN B200410097063X A CNB200410097063X A CN B200410097063XA CN 200410097063 A CN200410097063 A CN 200410097063A CN 100389570 C CN100389570 C CN 100389570C
Authority
CN
China
Prior art keywords
message
protocol
main frame
conversion unit
ppp
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.)
Expired - Fee Related
Application number
CNB200410097063XA
Other languages
Chinese (zh)
Other versions
CN1798070A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB200410097063XA priority Critical patent/CN100389570C/en
Publication of CN1798070A publication Critical patent/CN1798070A/en
Application granted granted Critical
Publication of CN100389570C publication Critical patent/CN100389570C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a method and a system for testing the functions of forwarding real services at communication nodes. In the method, a protocol converting unit is arranged between a host computer which runs the real services through a client and the communication nodes, when the host computer which causes the client to run the real services initiates the real services, the services forwarded during the test of the communication nodes are real services. The system comprises the host computer at the client running the real services, the protocol converting unit, the communication nodes and a host computer running the real services at the application service end. Therefore, the services forwarded by the communication nodes are real IP services or PPP services during the test of the communication nodes. The method causes the communication nodes not to need a whole network environment to carry out the test and the demonstration of end-to-end services of the whole system independently, and the method has the advantages of small investment, low cost, comprehensive test coverage, high test efficiency, etc., so that the method makes up for the deficiency of the prior art.

Description

A kind of testing functions of forwarding actual services at communication nodes method and system
Technical field
The present invention relates to the network communications technology, particularly Gateway GPRS Support Node and group data service node testing functions of forwarding actual services method are a kind of testing functions of forwarding actual services at communication nodes method specifically.
Background technology
Gateway GPRS Support Node (GGSN) is the equipment of the core network of global mobile communication system (GPRS/UMTS), the critical point function of packet radio domain core net and Packet Data Network (for example Internet) is provided, between the main frame or router on mobile phone and the internet, the effect of playing carrying and transmitting the IP operation message.The position of GGSN in the GPRS/UMTS network as shown in Figure 1, its external interface is as shown in Figure 2.
The GGSN product needed through system design validation (SDV), System Integration Test a series of tests such as (SIT) before the merchant that formally goes into operation.Wherein, SDV, SIT often need carry out in the laboratory of equipment manufacturers.These test activities will be verified fully and test all functions characteristic of GGSN product and performance.
GGSN is transmitted the test of mobile phone IP operation message functional characteristic, and to the content charging of GGSN and Qos etc. and the test that is forwarded the closely-related functional characteristic of IP message, usual way is: by the testing tool of equipment manufacturers oneself exploitation, or commercial instrument, as K1297, Smartbits etc., or business software, as Sniffer, NetXRay etc., the equipment of simulation and GGSN interface:, construct concurrent capable GTP (GPRS Tunnel Protocol) data message of serving at serving GPRS support node (SGSN) equipment of gn interface artificial antenna core net; Main frame or router on Gi interface simulation internet, structure also sends the downstream IP data message.Observe described GGSN then and whether correctly uplink message has been forwarded to described Gi interface, downlink message has been forwarded to described gn interface.Encapsulation format in the uplink data messages of described gn interface structure is generally: " L2/IP/UDP/GTP/IP/ data " (for simplifying text description, use the protocol hierarchy of "/" symbolic representation protocol massages.In the message, the protocol stack level in "/" left side is lower than the level of its right side protocol stack.In addition, L2 refers to arbitrarily the link layer protocol encapsulation, such as, can be the Ethernet encapsulation), wherein, by " IP/ data " layer message emulating of " GTP " layer encapsulation cellphone subscriber's practical IP service message.Encapsulation format at the downlink data message of described Gi interface structure is generally: " L2/IP/ data ", wherein, time emulation of " IP/ data " layer message main frame on the internet or the practical IP service message of router.In the uplink data messages encapsulation of described gn interface structure, " IP/ data " message that is carried by GTP is also by testing tool, instrument, software construction, or derive from the message that several simple real IP are used, such as the message of PING program (a kind of Software tool of test network connectedness).Use the gn interface of this emulation that the IP operation message is tested following shortcoming: to be difficult to simulate fully real IP service message miscellaneous actual on the existing network, no matter be class of business (such as FTP, HTTP, VOD, Email or the like), or the message transmitting spped rate etc. of message length and variation thereof, IP message, the defective that exists in the GGSN forwarding capability that can't find to have only the application-specific business just can trigger; More can't experience of the influence of the data forwarding function of GGSN conscientiously to the real IP business, such as, of short duration time-delay and slight packet loss when GGSN E-Packets can cause that the VOD demonstration is professional significant the broadcast to be occurred and pause, and allow the people recognize existing problems immediately.But in not having the laboratory tests environment of whole network equipment, of short duration time-delay and slight packet loss also can not cause tester's concern.
At present in order to solve the problem that exists in the above-mentioned method of testing, build the whole network test environment of CPRS/UMTS, purchase the whole network equipment of equipment such as comprising mobile phone, NodeB, radio network controller (RNC), attaching position register (HLR:Home Location Register), SGSN.After normal operation of all devices and the correct configuration,,, start the real IP business, whether judge normally by the execution of observing application program whether the data forwarding function of GGSN is correct such as the internet browser by the application program on the mobile phone.This method of testing shortcoming is to have high input, the cost height, and often have various resource limit, such as quantity of mobile phone or the like, cause test activity and range limited, not exclusively be adapted at carrying out in the laboratory tests in stages such as SDV, SIT.
GGSN is handled the test of PPP (PPP:Point-to-Point Protocol) signaling, IP datagram literary composition functional characteristic, usual way is: by the testing tool of equipment manufacturers oneself exploitation, or commercial instrument, as K1297, Smartbits etc., or business software, as Sniffer, NetXRay etc., the equipment of simulation and GGSN interface:, construct the concurrent capable GTP data message (being divided into GTP/PPP signaling and GTP/PPP/IP data) of serving at the SGSN equipment of gn interface artificial antenna core net; Main frame or router on Gi interface simulation internet, structure also sends the downstream IP data message.Observe the ability of GGSN processing PPP signaling message then, whether correctly up PPP+IP data message is peeled off the PPP head, the IP data forwarding has been arrived the Gi interface, downlink message is added that the PPP encapsulate forwarded has arrived gn interface.
Encapsulation format in the uplink data messages of gn interface structure is generally: " L2/IP/UDP/GTP/PPP/IP/ data ", wherein, by " PPP/IP/ data " layer message emulating of " GTP " layer encapsulation cellphone subscriber's actual PPP service message.
Encapsulation format at the downlink data message of Gi interface structure is generally: " L2/IP/ data ", wherein, " IP/ data " layer message emulating main frame on the internet or the practical IP service message of router.There is following defective in this method of testing: in the uplink data messages encapsulation of gn interface structure, " PPP/IP/ data " and " PPP signaling " message that is carried by GTP is also by testing tool, instrument, software construction.Use the gn interface of this emulation that the PPP service message is tested, be difficult to simulate fully miscellaneous true PPP service message actual on the existing network, no matter be the IP message length that carries of PPP and variation thereof, IP message class of business (such as FTP, HTTP, VOD, Email or the like), or message transmitting spped rate, or the like, thereby the defective that exists in the GGSN forwarding capability that can't find to have only the application-specific business just can trigger; Do not reach simultaneously the purpose of the compatibility of test GGSN and different operating system ppp protocol stack yet.
In order to solve the problem that exists in the above-mentioned method of testing, build the whole network test environment of GPRS/UMTS at present, purchase the whole network equipment of equipment such as comprising mobile phone, NodeB, RNC, HLR, SGSN.After normal operation of all devices and the correct configuration,,, start the PPP business, observe the response condition of dial-up program such as dial-up program by the application program on the mobile phone.After treating dial-up success, start the IP operation program,, start the PPP bearer IP service, whether judge normally by the execution of observing application program whether the data forwarding function of GGSN is correct such as IE, FTP.The shortcoming of this method is: have high input, cost height, and often have various resource limit such as quantity of mobile phone or the like, causes test activity and range limited, not exclusively is adapted at carrying out in the laboratory tests in stages such as SDV, SIT.
As Fig. 9 and shown in Figure 10, the network reference model of CDMA2000 (a kind of 3G (Third Generation) Moblie standard) packet subsystem comprises based on the network reference model of simple IP with based on two kinds of the network reference model of mobile IP.Wherein packet data serving node (PDSN:Packet Data Serving Node) between packet-based core networks and CDMA2000 wireless access network, is in charge of User Status, transmits user data, and is portable terminal distributing IP address.
As shown in Figure 9, the packet core network based on simple IP mainly comprises packet data serving node (PDSN:Packet Data Serving Node), remote authentication dial access service (RADIUS:Remote Authentication Dial In User Service) server etc.Radius server is arranged in packet-based core networks, mainly finishes the function of authentication, acts on behalf of radius server and is responsible for transmitting the authentication and the charge information of visiting between radius server and the ownership radius server.
As shown in figure 10, the packet subsystem based on mobile IP also should comprise home agent (HA:Home Agent) except comprising PDSN and radius server.HA is responsible for to user's distributing IP address grouped data being sent to the mobile subscriber by tunneling technique, and realizes the macro-mobility between the PDSN.Simultaneously, PDSN also should increase visit agency's (FA:Foreign Agent) function, is responsible for providing tunnel exit, and will mails to travelling carriage after the data decapsulation.
The PDSN product needed a series of tests through aspects such as performance and pressure before the merchant that formally goes into operation.PDSN is carried out the test of performance and pressure aspect, and the test of carrying out service quality (QoS:Qualityof Service) effect, flow jitter etc., usual way is: the own development and testing instrument of equipment producer, analogue mobile phone activates and the up-downgoing data forwarding, finishes the test of PDSN performance and pressure aspect with this.Whether have following shortcoming but be to use the method to test: the function of testing tool often is confined to analogue mobile phone and activates, construct several common IP packet test PDSN and can normally transmit; Be difficult to simulate fully real IP service message miscellaneous actual on the existing network, no matter be class of business (such as FTP, HTTP, VOD, Email or the like), or the message transmitting spped rate or the like of message length and variation thereof, IP message, thus the problem that exists in the PDSN forwarding capability that can't find to have only the application-specific business just can trigger; And the test effect is relatively poor.
At present in order to solve the problem that exists in the above-mentioned method of testing, build the whole network test environment of CDMA2000 in the laboratory, purchase equipment such as mobile phone, radius server, Packet Control Function (PCF:Packet ControlFunction), attaching position register (HLR:Home Location Register), router, utilize mobile phone PDSN to be carried out functional test after the networking is finished in conjunction with the whole network environment.This method of testing shortcoming is to have high input, and cost height, and often have various resource limit such as quantity of mobile phone or the like, can only carry out the test of simple functions to PDSN, can't carry out the test of performance, pressure and unusual flow process; Be not suitable for the product test of equipment producer.
Summary of the invention
The invention provides a kind of testing functions of forwarding actual services at communication nodes method and system, wherein said communication node is Gateway GPRS Support Node and group data service node.
Make GGSN need not the whole network environment by this method and can independently carry out total system operational trials end to end and demonstration; GGSN is supported that the content note is taken, Q OSDeng be forwarded professional closely-related functional characteristic and carry out high efficiency test, can carry out the tests such as compatibility of GGSN and various types of traffic, various operating systems easily, have drop into little, cost is low, test specification is comprehensive, the testing efficiency advantages of higher, thereby remedied the deficiencies in the prior art.
Make PDSN need not to carry out under the situation of CDMA2000 the whole network environment the test of actual services by this method, both can test the abundant IP operation of existing network, can carry out sufficient pressure and performance test again, have drop into little, cost is low, test specification is comprehensive, the testing efficiency advantages of higher, thereby remedied the deficiencies in the prior art.
The present invention is a kind of testing functions of forwarding actual services at communication nodes method, and this method is passed through client
The conversion unit of protocol that is provided with between the main frame of operation actual services and the communication node, when making the main frame initiation actual services of client operation actual services, the business that described communication node was transmitted in when test is an actual services, and the situation of the actual services of transmitting by described communication node is tested described communication node.
Described communication node is a Gateway GPRS Support Node.
Described communication node is a group data service node.
Described conversion unit of protocol has two interfaces at least, and one of them interface connects the main frame of client operation actual services, and another interface connects the gn interface of described Gateway GPRS Support Node.
Described conversion unit of protocol can be connected with the main frame of a plurality of client operation actual services, thereby multi-user's forwarding capability of described Gateway GPRS Support Node is tested.
The main frame of described client operation actual services is the main frame of client operation real IP business.
When the forwarding capability of Gateway GPRS Support Node was tested, step comprised:
Described conversion unit of protocol is initiated the tunnel protocol GTP tunnel to the gn interface of described Gateway GPRS Support Node and is activated request;
The main frame of described client operation real IP business is initiated the real IP business, sends up real IP service message to described conversion unit of protocol;
Described conversion unit of protocol is converted to the gn interface that the GTP message sends to described Gateway GPRS Support Node with this message after receiving this real IP service message;
Equally, after described conversion unit of protocol receives descending GTP message, be converted into the main frame that the IP message sends to described client operation real IP business.
Main frame in described client operation real IP business is initiated the real IP business, sends in the up real IP service message step to described conversion unit of protocol, comprising:
The main frame of described client operation real IP business and described conversion unit of protocol be by the link layer rules, obtains the hardware address that described conversion unit of protocol and described client are moved the interface that main frame was connected of real IP business;
After the main frame of described client operation real IP business obtains described hardware address, send up real IP service message to described conversion unit of protocol.
Described IP operation message is encapsulated as the L2/IP/ data; Described GTP message is encapsulated as: the L2/IP/UDP/GTP/IP/ data.
The IP operation message is converted to the GTP message, and step is:
Peel off the link layer packaging of IP operation message;
For the described IP operation message of peeling off link layer packaging adds the L2/IP/UDP/GTP encapsulation;
The GTP message is converted to the IP operation message, and step is:
Peel off the L2/IP/UDP/GTP encapsulation of GTP message;
The GTP message that encapsulates for the described L2/IP/UDP/GTP of peeling off adds link layer packaging.
When described conversion unit of protocol is connected with the main frame of a plurality of operation real IP business:
In the inner GTP tunnel context table that realizes of described conversion unit of protocol, the information of preserving the different GTP tunnel; And set up the hash index table according to the host identification TEID that local terminal distributes, and be used for TEID or TID field according to descending GTP heading, search the list item of coupling fast;
In described context table, preserve the information that comprises hardware address and IP address of the client host of different operation real IP business simultaneously; And set up the hash index table according to the IP address of the client host of operation real IP business, be used for searching the list items of context of coupling fast according to up IP message source IP address.
The main frame of described client operation actual services is the main frame that client is moved true PPP business, and the ppp negotiation or the PPP information transmission of described Gateway GPRS Support Node are tested.
When the forwarding capability of Gateway GPRS Support Node is tested:
Move in described client on the main frame of true PPP business and move dial-up program;
Described conversion unit of protocol is set up a physical vlan link at the main frame and the described Gateway GPRS Support Node of the true PPP business of described operation;
After the physical vlan link establishment, described client is moved the main frame and the described Gateway GPRS Support Node of true PPP business and is initiated the PPP actual services to the other side separately;
Described conversion unit of protocol is converted to the GTP message with this message after receiving this PPP service message, and described GTP message is the IP datagram literary composition of PPP signaling message or PPP carrying, sends to the gn interface of described Gateway GPRS Support Node then;
Equally, described conversion unit of protocol is converted to the main frame that the PPP service message sends to the true PPP business of described operation with this message after receiving descending GTP message.
Described conversion unit of protocol is set up a physical vlan link at the main frame and the described Gateway GPRS Support Node of the true PPP business of described operation, and step is:
Described conversion unit of protocol detects described client move the physical layer instruction of the professional main frame of true PPP after, initiate GTP tunnel to the described gn interface of described Gateway GPRS Support Node and activate request;
Described conversion unit of protocol is set up in the process physical layer of setting up simultaneously with described client is moved the main frame of true PPP business at GTP tunnel and is connected.
Described physical layer is for supporting the physical layer of the point-to-point protocol PPPoE on the Ethernet, and described conversion unit of protocol is set up a physical vlan link at the main frame and the described Gateway GPRS Support Node of the true PPP business of described operation, and step is:
The PPPOE server module that described conversion unit of protocol sends PADI (PPPoE Active Discovery Initiation, PPPoE activate and find initialization) start of heading and described conversion unit of protocol carries out the negotiation of PPPOE agreement, sets up the PPPOE session;
Described conversion unit of protocol is after receiving the PADI message, judge that this client has been configured to after analogue mobile phone carries out GGSN actual services test, respond PADO (PPPoE Active Discovery Offer, PPPoE activate and find to reply), further carry out PPPOE and consult;
Described conversion unit of protocol is initiated GTP tunnel to the gn interface of described Gateway GPRS Support Node and is activated request, for follow-up true PPP business packet provides GTP tunnel;
Described Gateway GPRS Support Node is responded the GTP tunnel activation and is replied when receiving that this GTP tunnel of conversion unit of protocol activates request;
The main frame that described client is moved true PPP business sends PADR (PPPoE Active Discovery Request, PPPoE activates the request of discovery) bag to described conversion unit of protocol;
Described conversion unit of protocol is set up the back at GTP tunnel and is received that described client moves the PADR bag that the main frame of true PPP business sends simultaneously again, responds PADS (PPPoE Active Discovery Session, PPPoE activate and find session).
Described IP operation message is encapsulated as the L2/IP/ data; The PPP signaling message is encapsulated as:
The L2/IP/UDP/GTP/PPP signaling; The IP datagram literary composition of PPP carrying is encapsulated as:
The L2/IP/UDP/GTP/PPP/IP/ data.
With PPP service message conversion GTP message, step is:
Search corresponding GTP tunnel according to physical layer information;
Add the L2/IP/UDP/GTP encapsulation according to GTP tunnel information for the PPP service message;
The GTP message is converted to the PPP service message, and step is:
According to the tunnel information of having set up, peel off the L2/IP/UDP/GTP encapsulation of GTP message.
Described conversion unit of protocol can be connected with the main frame of a plurality of client operation actual services, thereby multi-user's forwarding capability of described group data service node is tested.
Described conversion unit of protocol can be supported a plurality of group data service nodes to set up Radio Link-packet data serving node R-P (PDSN with PCF between) to be connected.
The main frame of described client operation actual services moves the main frame of actual services for the client that Ethernet bearing PPP (PPPoE:PPPOver Ethernet) dialer software is installed.
Ppp negotiation to described group data service node is tested, and step is:
Dial-up success on the main frame of described client operation actual services;
The main frame of described client operation actual services is initiated true PPP business;
After described conversion unit of protocol receives described true PPP service message, this message is converted to GRE (Generic Routing Encapsulation, generic route encapsulation) message, and issues described group data service node;
Equally, after described conversion unit of protocol receives the GRE message that described group data service node sends, this message is converted to the main frame that the PPP service message sends to described client operation actual services.
The main frame of described group data service node and application service end operation real IP business is connected the PPP information transmission of described group data service node is tested, step comprises;
Dial-up success on the main frame of described client operation actual services;
The main frame of described client operation actual services is initiated true PPP business;
Described conversion unit of protocol is converted to the GRE message with this message after receiving described true PPP service message, and issues described group data service node;
Equally, after described conversion unit of protocol receives descending GRE message, this message is converted to the main frame that the PPP service message sends to described client operation actual services.
Dial-up success on the main frame of described client operation actual services, step is:
On the main frame of described client operation actual services, move dial-up program;
The main frame and the conversion unit of protocol of described client operation actual services consult to set up pppoe session;
Simultaneously, described conversion unit of protocol and described group data service node are consulted to set up the A10 session of the foundation of A11 signaling (between PCF and the PDSN by) and are connected, wherein, and PCF:Packet ControlFunction, Packet Control Function; Signaling between A11:PCF and the PDSN;
Described pppoe session is connected all with described A10 to be set up successfully.
The main frame and the conversion unit of protocol of described client operation actual services consult to set up pppoe session, and step is:
The main frame of described client operation actual services sends the PADI message, carries out the negotiation of PPPoE agreement with the PPPoE server of described conversion unit of protocol, sets up pppoe session;
Described conversion unit of protocol is after receiving the PADI message, judge that this client has been configured to after analogue mobile phone carries out PDSN actual services test, respond PADO (PPPoE Active Discovery Offer, PPPoE activate and find to reply), further carry out PPPoE and consult.
Described conversion unit of protocol is consulted to set up A10 with described group data service node and is connected, and step is:
Described conversion unit of protocol is initiated the A10 register requirement to described group data service node;
Described group data service node is responded A10 registration response after receiving the A10 register requirement.
Described pppoe session is connected with described A10 all to be set up successfully, and step is:
The main frame of described client operation actual services sends the PADR bag to described conversion unit of protocol;
Described conversion unit of protocol described A10 connect set up after, and receive the PADR bag that the main frame of described operation actual services sends again, respond PADS for the main frame of described client operation actual services.
Described PPP service message is encapsulated as: physical layer/PPPoE/PPP signaling; Described IP operation message is encapsulated as: physical layer/link layer/IP/ data; Described GRE message is encapsulated as: physical layer/R-P/PPP signaling.
Described PPP service message is encapsulated as: physical layer/PPPoE/PPP/IP/ data; Described IP operation message is encapsulated as: physical layer/link layer/IP/ data; Described GRE message is encapsulated as: physical layer/R-P/PPP/IP/ data.
The PPP service message is converted to the GRE message, and step is:
Peel off the PPPoE heading;
Add physical layer/R-P encapsulation;
The GRE message is converted to the PPP service message, and step is:
Peel off physical layer/R-P encapsulation; Add the PPPoE heading.
The physical address of the main frame of the described client operation of configuration actual services in the described conversion unit of protocol.
Described conversion unit of protocol is safeguarded the host-physical address of described client operation actual services and the correspondence table of described group data service node R-P address;
Described conversion unit of protocol determines that according to corresponding relation the main frame and the corresponding described group data service node of client operation actual services connect, and gives corresponding described group data service node with data forwarding.
A kind of testing functions of forwarding actual services at communication nodes system comprises:
The main frame of client operation actual services is used to initiate actual services;
One conversion unit of protocol is used to carry out protocol conversion, and when making the main frame initiation actual services of described client operation actual services, the business that described communication node is transmitted when test is an actual services;
Described communication node is by the master of described conversion unit of protocol and described client operation actual services
Machine coupling, the situation of the actual services of transmitting by described communication node is tested described communication node;
The main frame of application service end operation real IP business is connected with described communication node, is used to the main frame of described client operation actual services that service is provided.Described communication node is a Gateway GPRS Support Node.Described communication node is a group data service node.The main frame of described client operation actual services is the main frame of client operation real IP business or the main frame that client is moved true PPP business.
The main frame of described client operation actual services is a plurality of.Described conversion unit of protocol has two interfaces at least, and one of them interface connects the main frame of described client operation actual services, and another interface connects the gn interface of described Gateway GPRS Support Node; The interface that connects the described conversion unit of protocol of described gn interface is simulated serving GPRS support node;
The Gi interface of described Gateway GPRS Support Node is connected with the main frame of described application server end operation real IP business.
Described conversion unit of protocol can support a plurality of group data service nodes to set up the R-P connection.
The invention enables GGSN to need not the whole network environment and can independently carry out total system operational trials end to end and demonstration; If GGSN supports content charging, Qos etc. and is forwarded professional closely-related functional characteristic, then provides high efficiency method of testing for its function, performance test; Can carry out the compatibility test of GGSN and various types of traffic, various operating systems easily, be unlikely to inter-communicating problem and just be found on the net; Abundant protocol test instrument can be applied to GGSN test (such as via the multicast protocol/Routing Protocol of Gn mouth etc.) by BRIDGE in the data communication; The extensive work amount is readily solved, is save to the logical protocol test means problem of a large amount of numbers via the Gn mouth among the GGSN that makes; Can cross over the bandwidth bottleneck of air interface, directly GGSN be carried out the pressure test that teleservice is used; And can carry out tests such as qos effect, flow jitter easily.
The invention enables GGSN to need not the whole network environment and can independently carry out total system PPP operational trials end to end and demonstration; If GGSN supports content charging, Qos etc. and is forwarded professional closely-related functional characteristic, then provides high efficiency method of testing for its function, performance test; Can carry out the compatibility test of GGSN and various operating system ppp protocol stacks easily, comprise various ppp negotiation options and compression algorithm, be unlikely to inter-communicating problem and just be found on the net.
Description of drawings
Fig. 1 is the position view of Gateway GPRS Support Node in the GPRS/UMTS network;
Fig. 2 is the interface schematic diagram of Gateway GPRS Support Node;
Fig. 3 is the measurement system diagram when the use agreement converting unit is tested in the embodiment of the invention 1;
Fig. 4 is the protocol stack level figure of test macro when the use agreement converting unit is tested in the embodiment of the invention 1;
Fig. 5 is control and the data flowchart when the use agreement converting unit is tested in the embodiment of the invention 1;
Fig. 6 is the measurement system diagram when the use agreement converting unit is tested in the embodiment of the invention 2;
Fig. 7 is the protocol stack level figure of test macro when the use agreement converting unit is tested in the embodiment of the invention 2;
Fig. 8 is control and the data flowchart when the use agreement converting unit is tested in the embodiment of the invention 2;
Fig. 9 is a group data service node based on the position view in the simple IP network;
Figure 10 is a group data service node based on the position view in the mobile IP network;
Figure 11 is the measurement system diagram when the use agreement converting unit is tested in the embodiment of the invention 3;
Figure 12 is the flow chart when the use agreement converting unit is tested in the embodiment of the invention 3;
Figure 13 is the protocol stack level figure of test macro when the use agreement converting unit is tested in the embodiment of the invention 3.
Embodiment
Embodiment 1
3,4,5 useful embodiment that describe a kind of Gateway GPRS Support Node IP operation of the present invention testing functions of forwarding method and system in detail with reference to the accompanying drawings.
As shown in Figure 3, the professional testing functions of forwarding of the Gateway GPRS Support Node real IP of present embodiment system comprise client operation real IP business main frame TE1, tested device gateway GPRS Support Node GGSN, application service end operation real IP business host A ppServer and between the main frame TE1 of described client operation real IP business and Gateway GPRS Support Node GGSN, build a conversion unit of protocol BRIDGE, be used for replacing the all-network equipment from the mobile phone to SGSN;
The main frame of described client operation real IP business, its hardware can provide any computer equipment of at least one network interface.Such as: desktop computer, notebook computer, SUN work station or the like; Its software can be any operating system of supporting the ICP/IP protocol stack.Such as: windows98/NT/2000/XP, Solaris, Linux or the like.Initiate the real IP business by the application program on the main frame TE1 of described client operation real IP business during test, test;
Described conversion unit of protocol BRIDGE has two interface A and B; Described A interface is connected with the main frame TE1 of described client operation real IP business, main frame TE1 for described client operation real IP business, described A interface is a gateway (port of router), and all real IP service messages that the main frame TE1 of described client operation real IP business mails to the host A ppServer of described application service end operation real IP business all will pass through the A interface; The described B interface of described conversion unit of protocol BRIDGE is connected with the gn interface of described tested device gateway GPRS Support Node GGSN, and for described tested device gateway GPRS Support Node GGSN, described B interface is exactly SGSN;
The gn interface of described tested device gateway GPRS Support Node GGSN is connected with the SGSN equipment of wireless core network, the SGSN equipment of described gn interface side in this test macro by the B interface emulation of described conversion unit of protocol BRIDGE; The Gi interface of described tested device gateway GPRS Support Node GGSN is connected with main frame or the router of internet, and the main frame of the operation real IP business of described Gi interface side or router are replaced by the host A ppServer of described operation real IP business;
The host A ppServer of described application service end operation real IP business is as the server end of real IP business, for the last real IP service customer end that moves of the main frame TE1 of described operation real IP business provides service.
Dispose on TE1: next jumping of arriving the route of AppServer is the A interface IP address of BRIDGE; Dispose on AppServer: next jumping of arriving the route of TE1 is the Gi interface IP address of GGSN; GGSN has carried out correct business configuration and routing configuration.
As shown in Figure 5, described Gateway GPRS Support Node IP operation testing functions of forwarding method step is as follows:
Described conversion unit of protocol is initiated GTP tunnel to the gn interface of described Gateway GPRS Support Node GGSN and is activated request, for follow-up real IP business packet provides GTP tunnel;
The main frame TE1 of described client operation real IP business and described conversion unit of protocol BRIDGE are by the link layer rules, adopt the ARP agreement flow process of Ethernet in the present embodiment, obtain the hardware address of the interface A that described conversion unit of protocol is connected with the main frame TE1 of described client operation real IP business, step is that the main frame TE1 of client operation real IP business initiates the ARP request to the A of described conversion unit of protocol interface, described conversion unit of protocol is receiving that the main frame TE1 of ARP request back to described client operation real IP business sends hardware address in interior arp reply message, corresponding hardware address, promptly described A interface IP address;
After the main frame TE1 of described client operation real IP business is known the hardware address of described A interface, send up real IP service message to described conversion unit of protocol, the purpose IP address of described message is the host A ppServer of described application service end operation real IP business, and described message is encapsulated as: the MAC/IP/ data;
After described conversion unit of protocol receives this real IP service message, peel off two layers of Ethernet message encapsulation; Searching corresponding GTP tunnel according to source IP address then, is that the described real IP service message that removes the Ethernet encapsulation adds " MAC/IP/UDP/GTP " encapsulation according to GTP tunnel information; Wherein, the source ethernet address is filled to the hardware address of the B interface of described conversion unit of protocol, and source IP address is filled to the IP layer address of the B interface of described conversion unit of protocol; The purpose ethernet address is filled to the hardware address of the gn interface of described Gateway GPRS Support Node, and purpose IP address is filled to the IP address of the gn interface of described Gateway GPRS Support Node; Then, the GTP message that described conversion unit of protocol will add encapsulation sends to the gn interface of described Gateway GPRS Support Node, and described message is encapsulated as: the MAC/IP/UDP/GTP/IP/ data;
Described Gateway GPRS Support Node is transmitted up GTP message according to GTP tunnel information of having set up and the configuration informations such as route of self, and the message that sends from the Gi interface is the IP message, and described message is encapsulated as: the L2/IP/ data;
After the main frame of described application service end operation real IP business is received the up real IP service message that the main frame of the described operation actual services of client sends, main frame to client operation actual services sends descending IP operation message, and described message is encapsulated as: the L2/IP/ data;
Tunnel information that described Gateway GPRS Support Node basis has been set up and the configuration informations such as route of self, the IP message of converting downlink, the message that sends from gn interface is the GTP message, described message is encapsulated as: the MAC/IP/UDP/GTP/IP/ data;
After the B interface of described conversion unit of protocol BRIDGE receives descending GTP message,, peel off the MAC/IP/UDP/GTP encapsulation of GTP message, add the Ethernet encapsulation for the described message that goes to encapsulate again according to the tunnel information of having set up; Wherein, the purpose ethernet address is the hardware address of the main frame TE1 of described client operation real IP business, and the source ethernet address is the hardware address of the A interface that is connected of the main frame TE1 with described client operation real IP business of described conversion unit of protocol BRIDGE.
The described Gateway GPRS Support Node IP operation of present embodiment testing functions of forwarding method, thereby described conversion unit of protocol BRIDGE can support the connection of the main frame TE1 of a plurality of client operation real IP business that multi-user's forwarding capability of described tested equipment GGSN is tested simultaneously, and step is as follows:
Conversion unit of protocol BRIDGE is connected with the main frame of a plurality of operation real IP business;
In the inner GTP tunnel context table that realizes of described conversion unit of protocol, the information of preserving the different GTP tunnel; And TEID (the corresponding GTPv0 that distributes according to local terminal; Perhaps TID, corresponding GTPv1) set up the hash index table, be used for TEID or TID field according to descending GTP heading, search the list item of coupling fast;
In described context table, preserve the information of the client host of different operation real IP business simultaneously, include but not limited to hardware address and IP address; And set up the hash index table according to the IP address of the client host of operation real IP business, be used for searching the coupling list items of context fast according to up IP message source IP address.
The described Gateway GPRS Support Node IP operation of present embodiment testing functions of forwarding method when described conversion unit of protocol activates GTP tunnel, adopts static allocation address mode distributing IP address, the steps include:
When transmitting up real IP service message, peel off the Ethernet encapsulation, and keep original IP content of message;
When the GTP of converting downlink message, peel off the MAC/IP/UDP/GTP encapsulation, and keep original IP content of message.
When the described Gateway GPRS Support Node IP operation of present embodiment testing functions of forwarding method activated GTP tunnel when described conversion unit of protocol, described Gateway GPRS Support Node adopted dynamically allocate address mode distributing IP address, the steps include:
The host IP address of operation actual services is kept in the GTP tunnel context in advance;
Activating this GTP context, the IP address that record is assigned to also is saved in this GTP tunnel context;
Described conversion unit of protocol is peeled off the Ethernet encapsulation, and is used the described IP address that is assigned to replace the source IP address field of up real IP service message when transmitting up real IP service message, recomputates relevant checksum field;
Described conversion unit of protocol is when the GTP of converting downlink message, peel off the MAC/IP/UDP/GTP encapsulation, and use the IP address of the operation actual services main frame of described preservation to replace the purpose IP address field of descending IP operation message, and recomputate relevant checksum field.
Adopt the described method of present embodiment to make tested device gateway GPRS Support Node GGSN need not the whole network environment and can independently carry out total system operational trials end to end and demonstration; If GGSN supports content charging, Qos etc. and is forwarded professional closely-related functional characteristic, then provides high efficiency method of testing for its function, performance test; Use described method can carry out the compatibility test of GGSN and various types of traffic, various operating systems easily; Abundant protocol test instrument can be applied to GGSN test (as via the multicast protocol/Routing Protocol of gn interface etc.) by BRIDGE in the data communication; The extensive work amount is readily solved, is saved to the logical protocol test means problem of a large amount of numbers via gn interface among the GGSN that makes; Can cross over the bandwidth bottleneck of air interface, directly GGSN be carried out the pressure test that teleservice is used; And can carry out Q easily OSTest such as effect, flow jitter.
Embodiment 2
Shown in Fig. 6,7, the professional testing functions of forwarding equipment of the Gateway GPRS Support Node PPP of present embodiment comprises that client is moved the host A ppServer of the main frame TE2 of true PPP business, tested device gateway GPRS Support Node GGSN, application service end operation real IP business and moves between the main frame TE2 of true PPP business and the Gateway GPRS Support Node GGSN in described client builds a conversion unit of protocol BRIDGE, is used for replacing the all-network equipment from the mobile phone to SGSN;
The main frame TE2 hardware that described client is moved true PPP business can provide any computer equipment of at least one network interface, such as: desktop computer, notebook computer, SUN work station or the like; Software can be any operating system of supporting PPPOE and ICP/IP protocol stack.Such as: windows98/NT/2000/XP, Solaris, Linux or the like.During test, described client is moved the client of the main frame TE2 of true PPP business as true PPP business, initiates true PPP business by the application program on the TE2, tests;
Described conversion unit of protocol BRIDGE has two interfaces; Its interface connects the main frame TE2 that described client is moved true PPP business, abbreviates the A interface as; It is the physical layer of supporting the ppp link layer protocol that described conversion unit of protocol BRIDGE and described client are moved being connected between the main frame TE2 of true PPP business, can be: serial ports, ISDN, PPPoE, PPPoA.Present embodiment adopts PPPoE to connect.
Move the main frame TE2 of true PPP business for described client, the A interface is a PPPOE_SERVER end, and all true PPP service messages that TE2 mails to described Gateway GPRS Support Node GGSN are all stamped the PPPOE encapsulation and mail to the A interface; Another interface of described conversion unit of protocol BRIDGE connects the gn interface of tested Gateway GPRS Support Node GGSN equipment, abbreviates B interface as; For described Gateway GPRS Support Node GGSN, B interface is exactly SGSN;
The gn interface of described tested device gateway GPRS Support Node GGSN is connected with the SGSN equipment of wireless core network, the SGSN equipment of described gn interface side in this test macro by the B interface emulation of described conversion unit of protocol BRIDGE.The Gi interface of described Gateway GPRS Support Node GGSN is connected with main frame or the router of Internet, and the main frame of described Gi interface side or router are replaced by the host A ppServer of described application service end operation real IP business;
The host A ppServer of described application service end operation real IP business, hardware can provide any computer equipment of at least one network interface, such as: desktop computer, notebook computer, SUN work station or the like; Software can be any operating system of supporting the ICP/IP protocol stack, such as windows98/NT/2000/XP, Solaris, Linux or the like.During test, the host A ppServer of described application service end operation real IP business is as the server end of real IP business, and the real IP service customer end that moves the last operation of main frame TE2 of true PPP business for described client provides service.
Dispose on AppServer: next jumping to the TE2 route is the Gi interface IP address of GGSN; GGSN has carried out correct business configuration and routing configuration.
As shown in Figure 8, described Gateway GPRS Support Node IP operation testing functions of forwarding method step is as follows: move in client on the main frame TE2 of true PPP business and move dial-up program, setting up PPPOE with described conversion unit of protocol BRIDGE is connected, after the foundation to be connected, TE2 just initiates real PPP business; TE2 at first sends the PPPOE_Server module of PADI (relevant PPPOE, can with reference to RFC2516) start of heading and BRIDGE and carries out the negotiation of PPPOE agreement, sets up PPPOE Session;
Described conversion unit of protocol BRIDGE can judge after receiving the PADI message whether this client has been configured to analogue mobile phone and has carried out the test of GGSN actual services, and determination methods is whether the source MAC in the PADI message disposes in the testing tool script; If be configured, then respond PADO, further carry out PPPOE and consult;
Described conversion unit of protocol BRIDGE initiates GTP tunnel to the gn interface of Gateway GPRS Support Node GGSN and activates request simultaneously, for follow-up true PPP business packet provides GTP tunnel; If do not dispose then the PADI message directly abandons, do not do further processing;
Described Gateway GPRS Support Node GGSN is receiving that conversion unit of protocol BRIDGE initiates to respond when GTP tunnel activates request the GTP tunnel activation to the gn interface of GGSN and replys;
The main frame TE2 that described client is moved true PPP business sends the PADR bag to the PPPOE_SERVER end of oneself selecting (certain conversion unit of protocol);
Described conversion unit of protocol BRIDGE sets up the back at GTP tunnel and receives that described client moves the PADR bag that the main frame TE2 of true PPP business sends simultaneously again, can respond to TE2 and show that PPPOE passage and GTP tunnel all set up success behind the PADS, described conversion unit of protocol BRIDGE has just set up a tunnel at main frame TE2 and the described Gateway GPRS Support Node GGSN that client is moved true PPP business at this moment;
After described conversion unit of protocol BRIDGE receives this true PPP service message, peel off two layers of Ethernet message encapsulation and PPPOE encapsulation; Then, search corresponding GTP tunnel,, add the MAC/IP/UDP/GTP encapsulation for the PPP service message that just removes Ethernet encapsulation and PPPOE encapsulation according to GTP tunnel information if GTP tunnel can be used according to the source ethernet address; Wherein, the source ethernet address is filled to the B interface hardware address of described conversion unit of protocol BRIDGE, and source IP address is filled to the IP address of the B interface of described conversion unit of protocol BRIDGE; The purpose ethernet address is filled to the hardware address of the gn interface of described Gateway GPRS Support Node GGSN, and purpose IP address is filled to the IP address of the gn interface of described Gateway GPRS Support Node GGSN; Then, described conversion unit of protocol BRIDGE sends to the described GTP message that adds encapsulation the gn interface of described Gateway GPRS Support Node GGSN; Message is encapsulated as: MAC/IP/UDP/GTP/PPP signaling or MAC/IP/UDP/GTP/PPP/IP/ data;
Described Gateway GPRS Support Node GGSN is according to tunnel information of having set up and the configuration informations such as route of self, according to receive from described conversion unit of protocol BRIDGE message be correspondingly processed, if PPP signaling message, then move the main frame of true PPP business and carry out ppp negotiation by sending descending ppp negotiation message and described client, message is encapsulated as: the MAC/IP/UDP/GTP/PPP signaling; If up GTP message then transmitted in the IP datagram literary composition of PPP carrying, the message that sends from the Gi interface is the IP message.Message is encapsulated as the L2/IP/ data;
Server end as true PPP bearer IP service, after the host A ppServer of described application service end operation real IP business receives that described client is moved the up real IP service message that the main frame T2E of true PPP business sends, also can send descending IP operation message to TE2, message is encapsulated as the L2/IP/ data;
Described Gateway GPRS Support Node GGSN is according to configuration information such as route of self and the tunnel information of having set up, the IP message of converting downlink, but must add PPP and the encapsulation of bottom GTP tunnel, the message that sends from gn interface is the GTP message; Message is encapsulated as: the MAC/IP/UDP/GTP/PPP/IP/ data;
After the B interface of described conversion unit of protocol BRIDGE receives descending GTP message,, peel off the MAC/IP/UDP/GTP encapsulation of GTP message, add Ethernet encapsulation and PPPOE encapsulation for the PPP information message of being stripped from encapsulation again according to the tunnel information of having set up; Wherein, the purpose ethernet address is the hardware address that described client is moved the main frame TE2 of true PPP business, and the source ethernet address is the hardware address of the A interface of described conversion unit of protocol BRIDGE.
The described Gateway GPRS Support Node PPP of present embodiment bearer IP service testing functions of forwarding method, thereby the connection that described conversion unit of protocol BRIDGE can support a plurality of clients to move the main frame TE2 of true PPP business is simultaneously tested multi-user's forwarding capability of described tested device gateway GPRS Support Node GGSN, and step is as follows:
Conversion unit of protocol BRIDGE is connected with the main frame TE2 of the true PPP business of a plurality of operations;
In the inner GTP tunnel context table that realizes of described conversion unit of protocol, the information of preserving the different GTP tunnel; And TEID (the corresponding GTPv1 that distributes according to local terminal; Perhaps TID, corresponding GTPv0) set up the hash index table, be used for TEID or TID field according to descending GTP heading, search the list item of coupling fast:
In described context table, preserve the information of the main frame of the different true PPP business of operation simultaneously, include but not limited to hardware address; And set up the hash index table according to the hardware address of main frame of the true PPP business of operation, be used for searching fast the list items of context of coupling according to up PPP message.
Adopt the described method of present embodiment to make GGSN need not the whole network environment and can independently carry out total system PPP operational trials end to end and demonstration; GGSN is supported that the content note is taken, Q OSDeng be forwarded professional closely-related functional characteristic and carry out high efficiency test; The compatibility test of GGSN and various operating system ppp protocol stacks be can carry out easily, various ppp negotiation options and compression algorithm comprised; Have drop into little, cost is low, test specification is comprehensive, the testing efficiency advantages of higher, thereby remedied the deficiencies in the prior art.
Embodiment 3
11,12,13 useful embodiment that describe the present invention's a kind of group data service node actual services method of testings and system in detail with reference to the accompanying drawings.
As shown in figure 11, the group data service node actual services test macro of the embodiment of the invention, comprise the host PC 2 of the host PC 1 of client operation actual services, tested device packets data service node PDSN, application service end operation real IP business and between the host PC 1 of described client operation actual services and described group data service node, build a conversion unit of protocol, be used for replacing the all-network equipment from the mobile phone to PDSN;
The host PC 1 of described client operation actual services can be desktop computer, notebook computer, server etc., and the pppoe client dialer software is installed, initiate actual services by the application program on the host PC 1 of described client operation actual services during test, test;
Described conversion unit of protocol one end is connected with the host PC 1 of described client operation actual services, the other end is connected with the end of described tested device packets data service node PDSN, described conversion unit of protocol is carried out the conversion between PPPoE and the A11 agreement, has finished and has utilized the PC1 analogue mobile phone that the PPPoE dialer software is installed to carry out PDSN actual services test function.
The other end of described tested device packets data service node PDSN is connected with the host PC 2 of described application service end operation real IP business, the host ip of described application service end operation real IP business is as the server end of real IP business, for the actual services client of moving on the host PC 1 of described operation real IP business provides service.
The protocol stack level figure of flow chart when as shown in Figure 12 and Figure 13, the use agreement converting unit is tested in the embodiment of the invention and test macro.
Analogue mobile phone activation, the host PC 1 of promptly described client operation actual services is tested with the ppp negotiation of described group data service node PDSN, and step is:
On the main frame of described client operation actual services, move dial-up program;
The host PC 1 of described client operation actual services sends PADI start of heading and carries out the negotiation of PPPoE agreement with the PPPoE server of described conversion unit of protocol, sets up pppoe session (concrete negotiations process can referring among the RFC2516 about the description of PPPoE agreement);
Described conversion unit of protocol can judge after receiving the PADI message whether this client has been configured to analogue mobile phone and has carried out the test of PDSN actual services, and determination methods is whether the source MAC in the PADI message disposes in the testing tool script.If be configured, then respond PADO, further carry out PPPoE and consult;
Can simulate PCF simultaneously and consult to set up A10 with described group data service node PDSN and be connected, step is:
Described conversion unit of protocol is initiated the A10 register requirement to described group data service node;
Described group data service node is responded A10 registration response after receiving the A10 register requirement.
The host PC 1 of described client operation actual services sends the PADR bag to described conversion unit of protocol;
Described conversion unit of protocol is after described A10 connects foundation, and the PADR bag that the host PC 1 of receiving described client operation actual services again sends, respond PADS for the host PC 1 of described client operation actual services, show that described pppoe session is connected all with described A10 to set up successfully.Enter the ppp negotiation stage this moment,
The main frame of described client operation actual services is initiated true PPP business, and message is encapsulated as physical layer/PPPoE/PPP signaling;
After described conversion unit of protocol receives described true PPP service message, the PPP message that described client is moved host PC 1 side of actual services removes the PPPoE heading, GRE heading in the encapsulation, be physical layer/R-P, and issue described group data service node PDSN, message is encapsulated as: physical layer/R-P/PPP signaling;
Equally, after described conversion unit of protocol receives the ppp negotiation message (being the GRE message) that described group data service node sends, with this message remove add the PPPoE heading behind the GRE heading after, send to the host PC 1 of described client operation actual services, message is encapsulated as physical layer/PPPoE/PPP signaling.
See in fact that from the outside ppp negotiation is to carry out between the host PC 1 of described client operation actual services and PDSN, pppoe client and PDSN test are depended in the ppp negotiation success or not, and tool only is responsible for transparent transmission in the test.
After mobile phone activates successfully, promptly on the host PC 1 of described client operation actual services, just can carry out actual services such as web page browsing, FTP, TELNET, PING and operate.The operating process of simulation practical business, that is, the host PC 1 of described client operation actual services is tested with the PPP information transmission of described group data service node PDSN, and step is:
On the main frame of described client operation actual services, move dial-up program;
The host PC 1 of described client operation actual services sends PADI start of heading and carries out the negotiation of PPPoE agreement with the PPPoE server of described conversion unit of protocol, sets up pppoe session (concrete negotiations process can referring among the RFC2516 about the description of PPPoE agreement);
Described conversion unit of protocol can judge after receiving the PADI message whether this client has been configured to analogue mobile phone and has carried out the test of PDSN actual services, and determination methods is whether the source MAC in the PADI message disposes in the testing tool script.If be configured, then respond PADO, further carry out PPPoE and consult;
Can simulate PCF simultaneously and consult to set up A10 with described group data service node PDSN and be connected, step is:
Described conversion unit of protocol is initiated the A10 register requirement to described group data service node;
Described group data service node is responded A10 registration response after receiving the A10 register requirement.
The host PC 1 of described client operation actual services sends the PADR bag to described conversion unit of protocol;
Described conversion unit of protocol is after described A10 connects foundation, and the PADR bag that the host PC 1 of receiving described client operation actual services again sends, respond PADS for the host PC 1 of described client operation actual services, show that described pppoe session is connected all with described A10 to set up successfully.
The main frame of described client operation actual services is initiated true PPP business, and described PPP is professional to be that PPP information is transmitted, and message is encapsulated as physical layer/PPPoE/PPP/IP/ data;
After described conversion unit of protocol receives described true PPP service message, judge whether the A10 connection of this user's correspondence sets up, if the foundation meeting is removed the PPPoE heading with this data message, be transmitted to described group data service node PDSN after adding the GRE encapsulation, message is encapsulated as physical layer/R-P/PPP/IP/ data;
After described group data service node PDSN removes GRE, PPP heading with this message, transmit the host PC 2 of this message to application service end operation real IP business, the message that sends from described packet data node PDSN is the IP operation message, and message is encapsulated as: physical layer/link layer/IP/ data;
After the host PC 2 of described application service end operation real IP business is received up real IP service message, send descending IP operation message;
The IP message of described group data service node PDSN converting downlink, the message that sends from described group data service node is the GRE message;
After described conversion unit of protocol receives descending GRE message, judge whether the pppoe session of this user's correspondence is set up, if foundation can be peeled off the GRE head, PPPoE heading in the encapsulation, send to the host PC 1 of described client operation actual services, message is encapsulated as: physical layer/PPPoE/PPP/IP/ data.
Described conversion unit of protocol can be supported the main frame of a plurality of clients operation actual services, determines whether legal foundation is: the physical address of the main frame of the described client operation of configuration actual services in the described conversion unit of protocol for the main frame of described client operation actual services.
Described conversion unit of protocol can be supported to connect with a plurality of described group data service node PDSN, and the general down protocol conversion instrument of installation that only needs of laboratory environment gets final product; Described conversion unit of protocol is safeguarded the host-physical address of a described client operation actual services and the correspondence table of described group data service node R-P address;
Described conversion unit of protocol determines that according to corresponding relation the main frame and the corresponding described group data service node of client operation actual services connect, and gives corresponding described group data service node with data forwarding.
By said method and system, make PDSN need not to carry out under the situation of CDMA2000 the whole network environment the test of actual services, both can test the abundant IP operation of existing network, can carry out sufficient pressure and performance test again, input is little, cost is low, test specification is comprehensive, the testing efficiency advantages of higher has remedied the deficiencies in the prior art thereby have.
Above embodiment only is used to illustrate the present invention, but not is used to limit the present invention.

Claims (38)

1. testing functions of forwarding actual services at communication nodes method is characterized in that:
The conversion unit of protocol that is provided with between main frame by client operation actual services and the communication node, when making the main frame of client operation actual services initiate actual services, the business that described communication node is transmitted when test is an actual services;
The situation of the actual services of transmitting by described communication node is tested described communication node.
2. method according to claim 1 is characterized in that:
Described communication node is a Gateway GPRS Support Node.
3. method according to claim 1 is characterized in that:
Described communication node is a group data service node.
4. method according to claim 2 is characterized in that, described conversion unit of protocol has two interfaces at least, and one of them interface connects the main frame of client operation actual services, and another interface connects the gn interface of described Gateway GPRS Support Node.
5. method according to claim 2 is characterized in that, described conversion unit of protocol can be connected with the main frame of a plurality of client operation actual services, thereby multi-user's forwarding capability of described Gateway GPRS Support Node is tested.
6. method according to claim 4 is characterized in that, the main frame of described client operation actual services is the main frame of client operation real IP business.
7. method according to claim 6 is characterized in that, when the forwarding capability of Gateway GPRS Support Node was tested, step comprised:
Described conversion unit of protocol is initiated the tunnel protocol GTP tunnel to the gn interface of described Gateway GPRS Support Node and is activated request;
The main frame of described client operation real IP business is initiated the real IP business, sends up real IP service message to described conversion unit of protocol;
Described conversion unit of protocol is converted to the gn interface that the GTP message sends to described Gateway GPRS Support Node with this message after receiving this real IP service message;
Equally, after described conversion unit of protocol receives descending GTP message, be converted into the main frame that the IP message sends to described client operation real IP business.
8. method according to claim 7 is characterized in that, initiates the real IP business at the main frame of described client operation real IP business, sends in the up real IP service message step to described conversion unit of protocol, comprising:
The main frame of described client operation real IP business and described conversion unit of protocol be by the link layer rules, obtains the hardware address that described conversion unit of protocol and described client are moved the interface that main frame was connected of real IP business;
After the main frame of described client operation real IP business obtains described hardware address, send up real IP service message to described conversion unit of protocol.
9. according to claim 7 or 8 described methods, it is characterized in that described IP operation message is encapsulated as the L2/IP/ data; Described GTP message is encapsulated as: the L2/IP/UDP/GTP/IP/ data.
10. method according to claim 9 is characterized in that,
The IP operation message is converted to the GTP message, and step is:
Peel off the link layer packaging of IP operation message;
For the described IP operation message of peeling off link layer packaging adds the L2/IP/UDP/GTP encapsulation;
The GTP message is converted to the IP operation message, and step is:
Peel off the L2/IP/UDP/GTP encapsulation of GTP message;
The GTP message that encapsulates for the described L2/IP/UDP/GTP of peeling off adds link layer packaging.
11. method according to claim 5 is characterized in that, when described conversion unit of protocol is connected with the main frame of a plurality of operation real IP business:
In the inner GTP tunnel context table that realizes of described conversion unit of protocol, the information of preserving the different GTP tunnel; And set up the hash index table according to the host identification TEID that local terminal distributes, and be used for TEID or TID field according to descending GTP heading, search the list item of coupling fast;
In described context table, preserve the information that comprises hardware address and IP address of the client host of different operation real IP business simultaneously; And set up the hash index table according to the IP address of the client host of operation real IP business, be used for searching the list items of context of coupling fast according to up IP message source IP address.
12. method according to claim 4 is characterized in that, the main frame of described client operation actual services is the main frame that client is moved true PPP business, and the ppp negotiation or the PPP information transmission of described Gateway GPRS Support Node are tested.
13. method according to claim 12 is characterized in that,
When the forwarding capability of Gateway GPRS Support Node is tested:
Move in described client on the main frame of true PPP business and move dial-up program;
Described conversion unit of protocol is set up a physical vlan link at the main frame and the described Gateway GPRS Support Node of the true PPP business of described operation;
After the physical vlan link establishment, described client is moved the main frame and the described Gateway GPRS Support Node of true PPP business and is initiated the PPP actual services to the other side separately;
Described conversion unit of protocol is converted to the GTP message with this message after receiving this PPP service message, and described GTP message is the IP datagram literary composition of PPP signaling message or PPP carrying, sends to the gn interface of described Gateway GPRS Support Node then;
Equally, described conversion unit of protocol is converted to the main frame that the PPP service message sends to the true PPP business of described operation with this message after receiving descending GTP message.
14. method according to claim 13 is characterized in that, described conversion unit of protocol is set up a physical vlan link at the main frame and the described Gateway GPRS Support Node of the true PPP business of described operation, and step is:
Described conversion unit of protocol detects described client move the physical layer instruction of the professional main frame of true PPP after, initiate GTP tunnel to the described gn interface of described Gateway GPRS Support Node and activate request;
Described conversion unit of protocol is set up in the process physical layer of setting up simultaneously with described client is moved the main frame of true PPP business at GTP tunnel and is connected.
15. method according to claim 14, it is characterized in that, described physical layer is for supporting the physical layer of the point-to-point protocol PPPoE on the Ethernet, described conversion unit of protocol is set up a physical vlan link at the main frame and the described Gateway GPRS Support Node of the true PPP business of described operation, and step is:
Described conversion unit of protocol sends the PPPoE activation and finds that the PPPOE server module of initialization PADI start of heading and described conversion unit of protocol carries out the negotiation of PPPOE agreement, sets up the PPPOE session;
Described conversion unit of protocol judges that this client has been configured to after analogue mobile phone carries out the test of GGSN actual services after receiving that PPPoE activate to find initialization PADI message, respond PPPoE and activate and find to reply the PADO message, further carries out PPPOE and consults;
Described conversion unit of protocol is initiated GTP tunnel to the gn interface of described Gateway GPRS Support Node and is activated request, for follow-up true PPP business packet provides GTP tunnel;
Described Gateway GPRS Support Node is responded the GTP tunnel activation and is replied when receiving that this GTP tunnel of conversion unit of protocol activates request;
The main frame that described client is moved true PPP business sends PPPoE activation discovery request PADR bag to described conversion unit of protocol;
Described conversion unit of protocol is set up the back at GTP tunnel and is received that described client moves the PADR bag that the main frame of true PPP business sends simultaneously again, responds PPPoE and activates and find session PADS.
16. method according to claim 13 is characterized in that, described IP operation message is encapsulated as the L2/IP/ data; The PPP signaling message is encapsulated as: the L2/IP/UDP/GTP/PPP signaling; The IP datagram literary composition of PPP carrying is encapsulated as: the L2/IP/UDP/GTP/PPP/IP/ data.
17. method according to claim 16 is characterized in that,
With PPP service message conversion GTP message, step is:
Search corresponding GTP tunnel according to physical layer information;
Add the L2/IP/UDP/GTP encapsulation according to GTP tunnel information for the PPP service message;
The GTP message is converted to the PPP service message, and step is:
According to the tunnel information of having set up, peel off the L2/IP/UDP/GTP encapsulation of GTP message.
18. method according to claim 3 is characterized in that:
Described conversion unit of protocol can be connected with the main frame of a plurality of client operation actual services, thereby multi-user's forwarding capability of described group data service node is tested.
19. method according to claim 3 is characterized in that, described conversion unit of protocol can support a plurality of group data service nodes to set up Radio Link-packet data serving node R-P connection.
20. method according to claim 3 is characterized in that, the main frame of described client operation actual services is the main frame that the client operation actual services of PPPoE dialer software is installed.
21. method according to claim 20 is characterized in that, the ppp negotiation of described group data service node is tested, step is:
Dial-up success on the main frame of described client operation actual services;
The main frame of described client operation actual services is initiated true PPP business;
Described conversion unit of protocol is converted to the GRE message with this message after receiving described true PPP service message, and issues described group data service node;
Equally, after described conversion unit of protocol receives the GRE message that described group data service node sends, this message is converted to the main frame that the PPP service message sends to described client operation actual services.
22. method according to claim 20 is characterized in that, the PPP information transmission of described group data service node is tested, step comprises;
Dial-up success on the main frame of described client operation actual services;
The main frame of described client operation actual services is initiated true PPP business;
Described conversion unit of protocol is converted to generic route encapsulation GRE message with this message after receiving described true PPP service message, and issues described group data service node;
Equally, after described conversion unit of protocol receives descending GRE message, this message is converted to the main frame that the PPP service message sends to described client operation actual services.
23. according to claim 21 or 22 described methods, it is characterized in that, described on the main frame of described client operation actual services dial-up success, step is:
On the main frame of described client operation actual services, move dial-up program;
The main frame and the conversion unit of protocol of described client operation actual services consult to set up pppoe session;
Simultaneously, described conversion unit of protocol is consulted to set up A10 with described group data service node and is connected;
Described pppoe session is connected all with described A10 to be set up successfully.
24. method according to claim 23 is characterized in that, the main frame and the conversion unit of protocol of described client operation actual services consult to set up pppoe session, and step is:
The main frame of described client operation actual services sends the PADI message, carries out the negotiation of PPPoE agreement with the PPPoE server of described conversion unit of protocol, sets up pppoe session;
Described conversion unit of protocol judges that this client has been configured to respond PADO after analogue mobile phone carries out PDSN actual services test after receiving the PADI message, further carry out PPPoE and consult.
25. method according to claim 23 is characterized in that, described conversion unit of protocol is consulted to set up A10 with described group data service node and is connected, and step is:
Described conversion unit of protocol is initiated the A10 register requirement to described group data service node;
Described group data service node is responded A10 registration response after receiving the A10 register requirement.
26. method according to claim 23 is characterized in that, described pppoe session is connected with described A10 all to be set up successfully, and step is:
The main frame of described client operation actual services sends the PADR bag to described conversion unit of protocol;
Described conversion unit of protocol described A10 connect set up after, and receive the PADR bag that the main frame of described operation actual services sends again, respond PADS for the main frame of described client operation actual services.
27. method according to claim 21 is characterized in that, described PPP service message is encapsulated as: physical layer/PPPoE/PPP signaling; Described IP operation message is encapsulated as: physical layer/link layer/IP/ data; Described GRE message is encapsulated as: physical layer/R-P/PPP signaling.
28. method according to claim 22 is characterized in that, described PPP service message is encapsulated as: physical layer/PPPoE/PPP/IP/ data; Described IP operation message is encapsulated as: physical layer/link layer/IP/ data; Described GRE message is encapsulated as: physical layer/R-P/PPP/IP/ data.
29. according to claim 27 or 28 described methods, it is characterized in that,
The PPP service message is converted to the GRE message, and step is:
Peel off the PPPoE heading;
Add physical layer/R-P encapsulation;
The GRE message is converted to the PPP service message, and step is:
Peel off physical layer/R-P encapsulation;
Add the PPPoE heading.
30. method according to claim 18 is characterized in that, the physical address of the main frame of the described client operation of configuration actual services in the described conversion unit of protocol.
31. method according to claim 19 is characterized in that,
Described conversion unit of protocol is safeguarded the host-physical address of described client operation actual services and the correspondence table of described group data service node R-P address;
Described conversion unit of protocol determines that according to corresponding relation the main frame and the corresponding described group data service node of client operation actual services connect, and gives corresponding described group data service node with data forwarding.
32. a testing functions of forwarding actual services at communication nodes system is characterized in that, comprising:
The main frame of client operation actual services is used to initiate actual services;
One conversion unit of protocol is used to carry out protocol conversion, and when making the main frame initiation actual services of described client operation actual services, the business that described communication node is transmitted when test is an actual services;
Described communication node, by the main frame coupling of described conversion unit of protocol and described client operation actual services, the situation of the actual services of transmitting by described communication node is tested described communication node;
The main frame of application service end operation real IP business is connected with described communication node, is used to the main frame of described client operation actual services that service is provided.
33. system according to claim 32 is characterized in that: described communication node is a Gateway GPRS Support Node.
34. system according to claim 32 is characterized in that: described communication node is a group data service node.
35. system according to claim 33 is characterized in that:
The main frame of described client operation actual services is the main frame of client operation real IP business or the main frame that client is moved true PPP business.
36. according to claim 33 or 34 described systems, it is characterized in that: the main frame of described client operation actual services is a plurality of.
37. system according to claim 35, it is characterized in that, described conversion unit of protocol has two interfaces at least, and one of them interface connects the main frame of described client operation actual services, and another interface connects the gn interface of described Gateway GPRS Support Node;
The interface that connects the described conversion unit of protocol of described gn interface is simulated serving GPRS support node;
The Gi interface of described Gateway GPRS Support Node is connected with the main frame of described application server end operation real IP business.
38. system according to claim 34 is characterized in that: described conversion unit of protocol can support a plurality of group data service nodes to set up the R-P connection.
CNB200410097063XA 2004-12-21 2004-12-21 Method and system for testing functions of forwarding actual services at communication nodes Expired - Fee Related CN100389570C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410097063XA CN100389570C (en) 2004-12-21 2004-12-21 Method and system for testing functions of forwarding actual services at communication nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410097063XA CN100389570C (en) 2004-12-21 2004-12-21 Method and system for testing functions of forwarding actual services at communication nodes

Publications (2)

Publication Number Publication Date
CN1798070A CN1798070A (en) 2006-07-05
CN100389570C true CN100389570C (en) 2008-05-21

Family

ID=36818862

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410097063XA Expired - Fee Related CN100389570C (en) 2004-12-21 2004-12-21 Method and system for testing functions of forwarding actual services at communication nodes

Country Status (1)

Country Link
CN (1) CN100389570C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083118A (en) * 2009-11-26 2011-06-01 中兴通讯股份有限公司 Large-telephone-traffic test device, system and method
CN102315981B (en) * 2010-06-29 2014-08-27 大唐移动通信设备有限公司 Equipment and method for testing evolved packet core network equipment
CN102571466A (en) * 2010-12-16 2012-07-11 中国移动通信集团安徽有限公司 Method, device and system for testing service
CN102769862B (en) * 2012-08-16 2016-02-10 重庆重邮汇测通信技术有限公司 Point-to-point protocol VJ packed data method of reducing
CN104077212B (en) * 2013-03-26 2017-03-01 阿里巴巴集团控股有限公司 pressure testing system and method
CN103595592B (en) * 2013-11-29 2017-01-18 迈普通信技术股份有限公司 Method and system for testing consistency of WAN (Wide Area Network) interface protocols
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
CN107995646A (en) * 2017-11-29 2018-05-04 中国人民解放军陆军工程大学 A kind of system and method for the wireless network test assessment based on commercial analogue system
CN113098727A (en) * 2019-12-23 2021-07-09 上海云盾信息技术有限公司 Data packet detection processing method and device
CN111193641B (en) * 2019-12-27 2021-11-23 京信网络系统股份有限公司 Terminal network testing method, device, base station equipment and storage medium
CN111371650B (en) * 2020-03-06 2022-03-25 中国银行股份有限公司 Flow forwarding-based quasi-production equipment testing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093259A1 (en) * 2001-11-12 2003-05-15 Andreas Kolbe Protocol test device including a network processor
WO2003069935A1 (en) * 2002-02-15 2003-08-21 Validitas Oy Device for testing packet-switched cellular radio network
CN1489306A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Measuring device
CN1509016A (en) * 2002-12-19 2004-06-30 ��ʽ����Ntt����Ħ Agreement test system and method thereof
CN1540892A (en) * 2003-11-03 2004-10-27 中国科学院计算技术研究所 Transmission method for testing computer network protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093259A1 (en) * 2001-11-12 2003-05-15 Andreas Kolbe Protocol test device including a network processor
WO2003069935A1 (en) * 2002-02-15 2003-08-21 Validitas Oy Device for testing packet-switched cellular radio network
CN1489306A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Measuring device
CN1509016A (en) * 2002-12-19 2004-06-30 ��ʽ����Ntt����Ħ Agreement test system and method thereof
CN1540892A (en) * 2003-11-03 2004-10-27 中国科学院计算技术研究所 Transmission method for testing computer network protocol

Also Published As

Publication number Publication date
CN1798070A (en) 2006-07-05

Similar Documents

Publication Publication Date Title
TWI244295B (en) Method and system for simulating multiple independent client devices in a wired or wireless network
CN101964826B (en) Method and apparatus for supporting wireless data services on a TE2 device using an IP-based interface
EP1916803B1 (en) Radio communication system, radio access method, access point and gateway
CN100389570C (en) Method and system for testing functions of forwarding actual services at communication nodes
US20090213784A1 (en) System, node, and method optimizing data connections for packet services
CN103546984A (en) Method and equipment for accessing mobile communication system
CN103004155B (en) Process is through the Network of fixing access
CN103368949A (en) A method of configuring a communication device
CN101378573B (en) System and method for testing access gateway performance
CN101150497A (en) Multi-data packet transmission method, system and device in mobile communication
CN105025044A (en) Device control method and device control system
JP3604378B2 (en) Private wireless internet packet data communication apparatus and method
KR20050103065A (en) The method and apparatus for tunnel producing of merging sgsn and ggsn in umts network
CN206313803U (en) A kind of router for realizing network game acceleration
Lin et al. General Packet Radio Service (GPRS): architecture, interfaces, and deployment
CN101557386A (en) Method and device for sending data and method and device for receiving data
CN101069404B (en) Method, device, system and networking connection equipment for opening a network link
CN101155107A (en) Method, device and system for bearing P2P protocol on elastic grouping ring
US7209464B2 (en) Verification system and method for packet call processing operation of mobile telephone
CN100518097C (en) Simple detection method for GGSN facilities
CN107231704A (en) Method for connecting network and device
CN101237372B (en) Packet data service transmission method and wireless terminal
CN100396019C (en) Method for simulating terminal data and method for simulating data source of mobile terminal
US20080311901A1 (en) Method and Apparatus for Evaluating the Performance of a Radiomobile Transmission System
CN107171972B (en) Multilink-based data transmission method and device

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

Granted publication date: 20080521

CF01 Termination of patent right due to non-payment of annual fee