CN1328881C - Method for point-to-point protocol service detection of wide band cut-in server - Google Patents
Method for point-to-point protocol service detection of wide band cut-in server Download PDFInfo
- Publication number
- CN1328881C CN1328881C CNB2004100647037A CN200410064703A CN1328881C CN 1328881 C CN1328881 C CN 1328881C CN B2004100647037 A CNB2004100647037 A CN B2004100647037A CN 200410064703 A CN200410064703 A CN 200410064703A CN 1328881 C CN1328881 C CN 1328881C
- Authority
- CN
- China
- Prior art keywords
- session
- uniq
- host
- pppoe
- grouping
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The present invention relates to a method for point-to-point protocol testing of a broadband access server. The present invention comprises the steps that PPPoE sessions are allocated on an Ethernet card of a testing PC computer according to Host-Uniq; the parameters of each PPPoE session are configured; the PPPoE sessions in a finding stage are carried out, and a corresponding relationship between the Host-Uniq and Session-Id is built; PPP sessions are carried out; PPP data transmission is carried out; PPP session resources and the corresponding relationship between the Host-Uniq to the Session-Id are released. The method solves the problem of testing large-capacity PPP service of the broadband access server; because one PC computer is used, the testing expenses of the broadband access server is lowered, and the testing progress of the broadband access server is accelerated.
Description
Technical field:
The present invention relates to the BAS Broadband Access Server of data communication communication field, be specifically related to carry out PPP (peer-peer protocol) service test method.
Background technology:
Present most broadband access method is based on PPPoE (peer-peer protocol on the Ethernet) agreement.The PPP business of testing broad-band access server, the method that adopts has two kinds usually:
A kind of is to utilize a PC that pppoe client software is installed, and carries out the test of PPP business.The pppoe client software that adopts has Enternet300, WinPoET, RASPPPoE etc.Enternet300 has partly realized ppp protocol and PPPoE agreement, no longer uses the support of the dial-up networking assembly of Microsoft, has saved system resource, but it can only initiate 10 sessions.The ppp protocol support that WinPoET and RASPPPoE have then utilized Dial-up Network to provide, the session number that they are initiated is at most 10 sessions.They can not satisfy the requirement of big capacity BAS Broadband Access Server test.
Another kind is to adopt SmartBits, but the SmartBits apparatus expensive, and normally several projects are share, the resource anxiety.
The patent No. is a kind of method of utilizing virtual network card technology to carry out broad-band insertion service apparatus dialing testing of patent proposition of 02111925.2.Utilize this technology, adopt a test computer and a network interface card, can simulate the situation of tens even up to a hundred user's online simultaneously.In order to carry out the test of big capacity PPP business, just need to adopt more test computers.
Summary of the invention:
The objective of the invention is to propose the method that a kind of new BAS Broadband Access Server carries out the PPP operational trials.Make in this way, not needing many test computers to become can test big capacity PPP business, and reduces the testing expense of BAS Broadband Access Server, accelerates the testing progress of BAS Broadband Access Server.
Technical scheme of the present invention is::
The first step: distribute pppoe session
On the Ethernet card of test on the PC, utilize the value of the Host-Uniq TAG (mark) of PPPoE to be used as the sign of the session that pppoe client initiates, the scope of Host-Uniq is identical with the scope of PPPoE Session-Id.
Second step: the parameter that disposes each pppoe session
Parameters such as configure user name and password.
The 3rd step: initiate pppoe session, set up the corresponding relation of Host-Uniq and Session-Id
By the PPPoE session in discovery stage, obtain Session-Id, and set up the corresponding relation of Host-Uniq and Session-Id.
The 4th step: carry out the PPP session stage
Utilize PPPoE Session-Id to carry out the negotiation of PPP session.
The 5th step: carry out the PPP information transmission
The 6th step: user offline
End session, the corresponding relation of release PPP Session Resources and corresponding Host-Uniq and Session-Id.
Carry out above step repeatedly, come the big capacity PPP business of BAS Broadband Access Server is tested.
Adopt the method for the invention, solved the problem that the big capacity PPP business of BAS Broadband Access Server is tested,, reduced the testing expense of BAS Broadband Access Server, improved the testing progress of BAS Broadband Access Server owing to only use a PC device.
Description of drawings:
Fig. 1 is the PPPoE communication flow diagram.
Fig. 2 is the protocol stack diagram of Point-to-Point Protocol over Ethernet Test PC.
Fig. 3 is the flow chart of one embodiment of the present of invention.
Embodiment:
Below in conjunction with accompanying drawing enforcement of the present invention is described in detail.
Fig. 1 is the PPPoE communication flow diagram, and communication process is as follows:
1, main frame sends the PADI grouping.
2, after BAS Broadband Access Server receives the PADI grouping, respond the PADO grouping to main frame.
3, after main frame receives the PADO grouping, send the PADR grouping.
4, after BAS Broadband Access Server receives the PADR grouping, distribute PPPoE SESSION_ID and PPP
Session entity is responded the PADS grouping to main frame then.
The 4th step: carry out the PPP session stage
The 5th step: session termination phase
Main frame or BAS Broadband Access Server divide into groups to stop pppoe session by sending PADT.
Fig. 2 is the protocol stack diagram of Point-to-Point Protocol over Ethernet Test PC.Be network interface card, packet distribution, PPPoE, PPP and IP from the bottom up successively.Wherein the packet distribution module is between network interface card and PPPoE protocol stack, and its function is as follows: find the stage at PPPoE, distribute PPPoE according to Host-Uniq and find grouping; In the pppoe session stage, distribute the PPP conversation according to PPPoE Session-Id.
One embodiment of the present of invention as shown in Figure 3.
The first step: distribute pppoe session
On the Ethernet card of test on the PC, utilize the value of the Host-Uniq TAG of PPPoE to be used as the sign of the session that pppoe client initiates, the scope of Host-Uniq is identical with the scope of PPPoE Session-Id.
This method realizes ppp protocol and PPPoE agreement fully, no longer uses the support of the dial-up networking assembly of Microsoft.Owing to walked around the conversion of NdisWan in the Dial-up Network, can control preferably, saved system resource, can on an Ethernet card, initiate the pppoe session more than 2,000.
Second step: the parameter that disposes each pppoe session
Parameters such as configure user name and password.Owing to realized can the protocol parameter of ppp protocol and PPPoE agreement being configured ppp protocol and PPPoE agreement fully, come the PPP business of BAS Broadband Access Server is carried out more in detail and test completely.
The 3rd step: initiate pppoe session, set up the corresponding relation of Host-Uniq and Session-Id
Carry out the session in discovery (Discovery) stage of PPPoE, the response of BAS Broadband Access Server (PADO (PPPoE initiatively finds to provide) or PADS (PPPoE initiatively finds to confirm)) certain unique specific request (PADI (PPPoE initiatively finds to start) or PADR (PPPoE active discovery request)) with PC is connected by Host-Uniq.
By the PPPoE session in discovery stage, obtain Session-Id, and set up the corresponding relation of Host-Uniq and Sessi on-Id.
1, main frame sends the PADI grouping.The Host-Uniq that comprises initiation session among the PADI.
2, after BAS Broadband Access Server receives the PADI grouping, respond the PADO grouping to main frame.Comprise Host-Uniq in the PADI grouping that main frame sends among the PADO.
3, after main frame receives the PADO grouping, send the PADR grouping.
Main frame checks whether the Host-Uniq that comprises among the PADO is the Host-Uniq of initiation session, if not, then abandon, otherwise send the PADR grouping.Comprise the Host-Uniq among the PADO among the PADR.
4, after BAS Broadband Access Server receives the PADR grouping, distribute PPPoE SESSION_ID and PPP session entity, respond the PADS grouping to main frame then.
Main frame checks whether the Host Uniq that comprises among the PADS is the Host-Uniq of initiation session, if not, then abandon, otherwise set up the corresponding relation of Host-Uniq and Session-Id.
The 4th step: carry out the PPP session stage
Utilize PPPoE Session-Id to carry out the negotiation of PPP session.Whether the Session-Id that comprises in the PPP conversation that the main frame inspection receives is the Session-Id of initiation session, if not, then abandon, otherwise proceed the PPP session stage.
The 5th step: carry out the PPP information transmission
The 6th step: user offline
End session, the corresponding relation of release PPP Session Resources and corresponding Host-Uniq and Session-Id.
Carry out above step repeatedly, can test the big capacity PPP business of BAS Broadband Access Server.
Claims (3)
1, a kind of method of point-to-point protocol service detection of wide band cut-in server may further comprise the steps:
1.1 on the Ethernet card on the test PC, according to the value Host-Uniq distribution pppoe session of Host-Uniq TAG among the PPPoE;
1.2 dispose the parameter of each pppoe session;
1.3 carry out the session that PPPoE finds the stage, set up the corresponding relation of Host-Uniq and Session-Id, the scope of Host-Uniq is identical with the scope of PPPoE Session-Id;
1.4 carry out the PPP session;
1.5 carry out the PPP information transmission;
1.6 discharge the corresponding relation of PPP Session Resources and corresponding Host-Uniq and Session-Id.
2, the method for the described point-to-point protocol service detection of wide band cut-in server of claim 1 is characterized in that, the configuration session parameter in the described step 1.2 is meant configure user name and password.
3, the method for the described point-to-point protocol service detection of wide band cut-in server of claim 1 is characterized in that, the described corresponding relation of setting up Host-Uniq and Session-Id comprises:
3.1 main frame sends the PADI grouping, comprises the Host-Uniq of initiation session among the PADI;
3.2 after BAS Broadband Access Server receives PADI grouping, respond the PADO grouping, comprise Host-Uniq in the PADI grouping that main frame sends among the PADO to main frame;
3.3 after main frame receives the PADO grouping, send the PADR grouping; Main frame checks whether the Host-Uniq that comprises among the PADO is the Host-Uniq of initiation session, if not, then abandon; Otherwise, send the PADR grouping, comprise the Host-Uniq among the PADO among the PADR;
3.4 BAS Broadband Access Server distributes PPPoE SESSION_ID and PPP session entity after receiving the PADR grouping, responds the PADS grouping to main frame then; Main frame checks whether the Host-Uniq that comprises among the PADS is the Host-Uniq of initiation session, if not, then abandon, otherwise set up the corresponding relation of Host-Uniq and Session-Id.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100647037A CN1328881C (en) | 2004-09-15 | 2004-09-15 | Method for point-to-point protocol service detection of wide band cut-in server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100647037A CN1328881C (en) | 2004-09-15 | 2004-09-15 | Method for point-to-point protocol service detection of wide band cut-in server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1750483A CN1750483A (en) | 2006-03-22 |
CN1328881C true CN1328881C (en) | 2007-07-25 |
Family
ID=36605751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100647037A Expired - Fee Related CN1328881C (en) | 2004-09-15 | 2004-09-15 | Method for point-to-point protocol service detection of wide band cut-in server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1328881C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100446484C (en) * | 2006-07-06 | 2008-12-24 | 华为技术有限公司 | Method and device for pressure detection of wideband network cut-in device |
CN101917307A (en) * | 2010-08-24 | 2010-12-15 | 北京星网锐捷网络技术有限公司 | System, method and test device for testing maximum number of PPP connection |
CN103220276B (en) * | 2013-03-29 | 2016-09-28 | 深圳创维数字技术有限公司 | A kind of method of network insertion, gateway and system |
CN103490950B (en) * | 2013-09-03 | 2017-12-22 | 深圳市迈腾电子有限公司 | A kind of router PPTP session capacity analogy methods |
CN112887168B (en) * | 2021-01-22 | 2023-04-07 | 深圳市吉祥腾达科技有限公司 | Method for testing PPPoEV6 access performance of router |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1462131A (en) * | 2002-05-30 | 2003-12-17 | 深圳市中兴通讯股份有限公司 | Broad-band insertion service apparatus dialing testing method |
CN1516408A (en) * | 2003-08-29 | 2004-07-28 | 北京港湾网络有限公司 | Method for implementing verification and termination by connecting digital subscriber loop into hub |
GB2398978A (en) * | 2003-02-12 | 2004-09-01 | Samsung Electronics Co Ltd | PPPoE client which experiences abnormal disconnection, terminates an open pre-disconnection session before starting new session, upon reconnection |
-
2004
- 2004-09-15 CN CNB2004100647037A patent/CN1328881C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1462131A (en) * | 2002-05-30 | 2003-12-17 | 深圳市中兴通讯股份有限公司 | Broad-band insertion service apparatus dialing testing method |
GB2398978A (en) * | 2003-02-12 | 2004-09-01 | Samsung Electronics Co Ltd | PPPoE client which experiences abnormal disconnection, terminates an open pre-disconnection session before starting new session, upon reconnection |
CN1516408A (en) * | 2003-08-29 | 2004-07-28 | 北京港湾网络有限公司 | Method for implementing verification and termination by connecting digital subscriber loop into hub |
Non-Patent Citations (1)
Title |
---|
PPPoE技术及其在宽带接入系统中的应用 乐德广,郭东辉,吴伯僖,计算机应用研究 第3期 2003 * |
Also Published As
Publication number | Publication date |
---|---|
CN1750483A (en) | 2006-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1323520C (en) | Broad-band insertion service apparatus dialing testing method | |
CN1323535C (en) | Method and apparatus for dynamic change of MAC address | |
CN100486200C (en) | USB mapping method | |
US6041356A (en) | Method and apparatus for detecting network traffic and initiating a dial-up connection using separate upstream and downstream devices | |
CN102572912B (en) | Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system | |
CN102027732B (en) | Providing access over ip network to server application program | |
CN101222354A (en) | Intelligent terminal management method | |
CN1309233C (en) | Method for supporting PPPoA on wideband switch-in equipment | |
US7457875B2 (en) | Access server with function of collecting communication statistics information | |
CN101374045B (en) | Method for implementing user port orientation on GPON access equipment | |
EP2525531B1 (en) | Method and network access device for enabling data forwarding between different physical media | |
CN1553674A (en) | Method for wideband connection server to obtain port numbers of its uers | |
CN1328881C (en) | Method for point-to-point protocol service detection of wide band cut-in server | |
CN1299471C (en) | Broadband insertion server testing gating and testing method | |
CN101064733B (en) | Method and apparatus for controlling user equipment access based on data packet package types | |
CN101087232B (en) | An access method, system and device based on Ethernet point-to-point protocol | |
KR100590875B1 (en) | xDSL modem and system including DHCP spoofing server, and PPPoE method for connecting internet using the same | |
US20060227703A1 (en) | Operating method for dynamic physical network layer monitoring | |
US20130250970A1 (en) | Network dial-up method and apparatus | |
JP2005505975A (en) | Subnet pooling | |
US20050021760A1 (en) | PPPoE network system and reconnection method thereof | |
CN107566476B (en) | Access method, SDN controller, forwarding equipment and user access system | |
CN100401694C (en) | System and method for testing wideband network access server PPP/VPN performance | |
CN1609819B (en) | Test method for computer external equipment interface | |
CN100442735C (en) | Dynamic configuration insertion terminal realizing method |
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: 20070725 Termination date: 20140915 |
|
EXPY | Termination of patent right or utility model |