CN1595896A - Method for broadband access server to acquire user location information - Google Patents

Method for broadband access server to acquire user location information Download PDF

Info

Publication number
CN1595896A
CN1595896A CN 03159256 CN03159256A CN1595896A CN 1595896 A CN1595896 A CN 1595896A CN 03159256 CN03159256 CN 03159256 CN 03159256 A CN03159256 A CN 03159256A CN 1595896 A CN1595896 A CN 1595896A
Authority
CN
China
Prior art keywords
broadband access
position information
message
pppoe
access server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 03159256
Other languages
Chinese (zh)
Other versions
CN1265590C (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 CN 03159256 priority Critical patent/CN1265590C/en
Publication of CN1595896A publication Critical patent/CN1595896A/en
Application granted granted Critical
Publication of CN1265590C publication Critical patent/CN1265590C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method for acquiring user position information by wideband access server. The method is: the position information of user accessing to the wideband device is transmitted to BRAS device in the PPPoE message, and the BRAS device receives the position information in the message and certificates the account, realizes control of network position of the user account. Thus, the invention needs not to improve and upgrade the BRAS device or wideband accessing device, it can transmits the position information of the accessed user to the BRAS.

Description

BAS Broadband Access Server obtains the method that inserts customer position information
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of BAS Broadband Access Server and obtain the method that inserts customer position information.
Background technology
In present broadband access network, the method that adopts ADSL (ADSL (Asymmetric Digital Subscriber Line)), VDSL (very-high-bit-rate digital subscriber loop wire), FE (Fast Ethernet) to insert comparatively widely provides the user to insert.The user need authenticate before access network usually, in the broadband access process, the general authentication mode that adopts PPPoE (Ethernet bearing point-to-point protocol), the PPPoE authentication protocol is authorized usually user access network and is realized by BRAS (BAS Broadband Access Server).BRAS is in the processing of termination user PPPoE, except the agreement by PPPoE itself obtains user's account number and password authenticate, also need user position information to realize the business function of expanding, function such as can only on a user access port, use such as certain account number, therefore, need broadband access equipment the physical location information of user access port can be delivered on the BRAS equipment by certain mode.
At present, the method for employing is a kind of based on the authentication of VBAS (virtual broadband access system) realization to customer position information.Concrete processing procedure is: BRAS equipment before user account number is authenticated in to the physical location of the broadband access equipment at the source MAC place of broadband access equipment inquiring user message, the device number that comprises access, the frame of the port of access, the slot number of access, access number etc. insert user position information.
By the description of above-mentioned processing procedure as can be seen, that adopts at present carries out the authentication technology scheme based on VBAS to customer position information and needs to cooperate between BRAS equipment and the broadband access equipment, like this, BRAS equipment and broadband access equipment software all need to upgrade to the query script of supporting described access customer position information, therefore, adopt said method realization customer position information and user account number binding bigger to the conventional network equipment change; And between BRAS equipment and broadband access equipment, need to define new agreement.
Summary of the invention
The purpose of this invention is to provide a kind of BAS Broadband Access Server and obtain the method that inserts customer position information, thereby make under need not to BRAS equipment and the bigger improved situation of broadband access equipment work, guarantee that BRAS can obtain corresponding access user position information reliably, so that carrying out based on the multifunctional service that inserts customer position information.
The objective of the invention is to be achieved through the following technical solutions:
Described a kind of BAS Broadband Access Server obtains the method that inserts customer position information, comprising:
A, access user are by the broadband access equipment access network;
B, broadband access equipment determine to insert user position information, and are carried in PPPoE (based on the peer-peer protocol of the Ethernet) message and send to BAS Broadband Access Server.
Described PPPoE message is: PADI (the PPPoE Active DiscoveryInitiation Packet that finds the stage, PPPoE finds the stage start message), PADO (the PPPoE ActiveDiscovery Request Packet, PPPoE finds the phase requests message) or PADT (ThePPPoE Active Discovery Terminate Packet, PPPoE finds the end message in stage) message; Also can expand to: the PPP LCP of session stage (point-to-point logic), NCP (Network Control Protocol), PAP (password authentication protocol), CHAP (handshake authentication protocol) or Keep Alive (keep-alive) message.
Described broadband access equipment is: IP DSLAM (the Internet Digital Subscriber Line Access Multiplexer), Ethernet switch or CMTS (Cable Modem Terminal System) equipment.
Described user position information comprises: broadband access equipment information, frame number, slot number, port numbers and VPI (VPI)/VCI (virtual circuit identifier).
The coded system of described user position information is:
Broadband access equipment information, frame number, slot number, port numbers respectively adopt 8 encoded recordings respectively, and VPI/VCI then adopts 32 encoded recordings.
Described step B is:
Broadband access equipment is determined user position information, and is carried on PPPoE and finds that the Relay field of stage message sends to BAS Broadband Access Server.
Described step B can also for:
Broadband access equipment is determined user position information, and the field that is used to carry user position information that is carried on redetermination in the PPPoE message sends to BAS Broadband Access Server.
Described step B further comprises:
The broadband access equipment interface board is intercepted and captured the PPPoE message of process, and definite user position information;
Interface board is encoded the user position information of determining, and it is inserted in the PPPoE message as a field;
Interface board sends to BAS Broadband Access Server with the described PPPoE message that is carrying customer position information, and BAS Broadband Access Server obtains user position information from the PPPoE message of receiving.
Described step B further comprises:
The broadband access equipment interface board is intercepted and captured the PPPoE message of process, and sends to master control borad;
Master control borad is determined user position information, and its establishment is the positional information coding;
Master control borad is inserted in the PPPoE message as a field position encoded, and sends it to BAS Broadband Access Server, and BAS Broadband Access Server obtains user position information from the PPPoE message of receiving.
Described step B also comprises:
Behind the response message of the PPPoE message that broadband access equipment reception BAS Broadband Access Server returns, with the user position information of carrying in response message deletion and send to and insert the user, or the user position information of carrying in the response message do not processed directly to be transmitted to insert the user.
As seen from the above technical solution provided by the invention, the present invention sends to BRAS equipment owing to having adopted by inserting user position information based on the Relay field in the message of PPPoE agreement, therefore, need not BRAS equipment or broadband access equipment are carried out bigger upgrading improvement, just can will insert user position information comparatively easily and send to BRAS, thereby make and to carry out multi-functional business based on inserting user position information in the communication network, as the binding that realizes user account number and positional information is stolen etc. to prevent user account number, to satisfy requirements of different users.
Description of drawings
Fig. 1 is the flow chart of method of the present invention.
Embodiment
Broadband access equipment described in the present invention can be IP DSLAM (the Internet Digital Subscriber Line Access Multiplexer) equipment, also can be CMTS (Cable Modem Terminal System) equipment of Ethernet switch or application HFC (hybrid fiber copper cable system).
Be that example is elaborated to the specific embodiment of the present invention as broadband access equipment now to adopt IP DSLAM equipment.IP DSLAM equipment generally includes master control borad and user board, the interface that user board provides various users to insert, comprise ADSL (ADSL (Asymmetric Digital Subscriber Line)), VDSL (very-high-bit-rate digital subscriber loop), FE (Fast Ethernet) etc., user data inserts from user board, after the exchange of inflow-rate of water turbine and converging, transmit by the forwarding module on the master control borad, be up on the network equipment then.
The embodiment of method of the present invention specifically may further comprise the steps referring to Fig. 1:
Step 1: the user passes through the broadband access equipment access network, and sends the PPPoE authentication request packet to BAS Broadband Access Server;
In present network, user access network adopts the access way of PPPoE usually, and PPPoE is the authentication protocol of a Client, and the foundation of PPPoE comprises two stage: Discovery (discovery) stages and Session (session) stage; At Discovery in the stage, the mutual connection of setting up PPPoE by the control message between user and the BRAS; In the Session stage, by carrying out a series of processes such as PPP session negotiation, authentication and address assignment that this connects, the user is authorized, thereby allow the user in the connection of this PPPoE, to transmit data message.
Step 2: broadband access equipment determines to insert user position information;
Described user position information is physical port information that the user inserted, specifically comprises information such as broadband access equipment number, slot number, port numbers, frame number, VPI/VCI.
Step 3: broadband access equipment is about to positional information form establishment in accordance with regulations for the positional information coding, so that send described positional information to BRAS with the user position information coding of determining;
Among the present invention, specifically described positional information can be encoded according to the mode shown in the following form, so that be inserted in Relay (relaying) field of PPPoE discovery stage message:
????????????0x0110 ????????0x0008
Device number (8bit) Slot number (8bit) Port numbers (8bit) Idle
?????????????????????VPI/VCI(32bit)
Wherein:
0x0110 represents that this field is the Relay field of PPPoE;
0x0008 is a length, and the data length of expression back is 8 bytes altogether;
Be the concrete definition of each byte then, as above shown in the table, device number, slot number and port numbers respectively take a byte (8), idle byte, and VPI/VCI takies four bytes (32), to write down concrete positional information content.
Step 4: positional information coding is inserted into the Relay field sends to BRAS in the PPPoE message;
Described PPPoE message is: PADI (the PPPoE Active DiscoveryInitiation Packet that finds the stage, PPPoE finds the stage start message), PADO (the PPPoE ActiveDiscovery Request Packet, PPPoE finds the phase requests message) or PADT (ThePPPoE Active Discovery Terminate Packet, PPPoE finds the stage end message); Also can expand to: the PPP LCP of session stage (point-to-point link control protocol), NCP (Network Control Protocol), PAP (password authentication protocol), CHAP (handshake authentication protocol) or KeepAlive (keep-alive) message;
Described positional information coding also can be inserted in the field of own redetermination in the PPPoE message and send to BRAS equipment, this mode is changed bigger to existing P PPoE agreement, need redefine protocol fields, for this reason, the present invention preferably is inserted into described positional information coding in the Relay field of the agreement regulation in the PPPoE message and sends to BRAS equipment;
Described Relay field is a field information that defines at present in the PPPoE agreement, use as insert some trunk informations to the intermediate equipment between the client and server, the information protocol regulation of Relay field is only used in the Discovery stage, the concrete information content of inserting can be defined by user oneself, therefore, port information and PVC (permanent virtual is connected) information that can be on the IP DSLAM equipment pre-configured user of the present invention inserts, when user access network, then will insert accordingly and be inserted into PPPoE behind the user position information coding and find in the Relay field of stage message;
For this reason, when network service process need insertion position information is encoded, need at first monitor corresponding PPPoE and find the stage message, concrete process is: when the message that the user sends passes through IPDSLAM equipment, the information that IP DSLAM equipment at first writes down by the Etype (Ethernet protocol type) in the Ethernet message, whether judge message is the PPPoE message, and further be judged as discovery stage message or session stage message, the Etype of PPPoE Discovery stage and Session stage correspondence is respectively 0x8863 and 0x8864, like this, just can identify the message in PPPoE Discovery stage according to the information of corresponding Etype record; Therefore, the present invention can be inserted into corresponding positional information coding in the Relay field of message in definite PPPoE Discovery stage and send to BRAS equipment.
Step 5:BRAS equipment obtains the access user position information from the Relay field of the message in PPPoE Discovery stage of receiving;
BRAS equipment is according to after receiving the positional information of carrying in the PPPoE message Relay field, can by with the authentication of account number being carried out position-based information that cooperates of Radius Server authenticating devices such as (remote authentication servers), realize the control of network site that the wide band access user account number is inserted;
Therefore, BRAS equipment can obtain user position information easily, make and in communication network, can carry out new function service according to user position information based on customer position information, as realize the binding of user position information and user account number, stolen etc. to prevent user account number, thus satisfied operator and user's various demands.
Method of the present invention also comprises: can know according to PPPoE agreement regulation, the response message of returning from the BAS Broadband Access Server end still comprises the positional information the Relay field, for this reason, IPDSLAM equipment can detect the response message of the message in the PPPoE Discovery stage that BAS Broadband Access Server sends according to the protocol class model of Ethernet, and is transmitted to the user after the positional information deletion of Relay field that will be wherein; Certainly, even IP DSLAM equipment is not deleted described positional information, client also will be left intact owing to do not understand the implication of this field information, therefore, not influence the normal network communication processing procedure; Usually suggestion is adopted at IP DSLAM equipment and is initiatively deleted Relay field information in the described response message, thereby guarantee to insert the response message that response message that the user receives receives with respect to the invention process before any variation does not take place.
Continue below the embodiment of the present invention in IP DSLAM equipment described:
Interface board in the IP DSLAM equipment is made up of for this reason two parts of hardware and software usually, can cooperate the operation of completing place information coding insertion Relay field by the hardware and software on the user board on the IP DSLAM equipment, concrete processing procedure comprises: user board hardware determines that PPPoE finds the stage message, and send it to interface board software, is to be inserted in the Relay field of message after positional information is encoded by interface board software with the user position information establishment, the interface board software message that will insert customer position information sends to interface board hardware then, by interface board hardware message is sent to BAS Broadband Access Server equipment; Certainly, described processing procedure also can only independently be finished by the hardware of the user board on the IP DSLAM equipment;
The present invention also can cooperate the operation that realizes that the positional information coding inserts the Relay field together by user board on the IP DSLAM equipment and master control borad, concrete processing procedure comprises: user board hardware determines that PPPoE finds the stage message, and send it to master control borad, is to be inserted in the Relay field of message after positional information is encoded by master control borad with the user position information establishment, and master control borad sends to BAS Broadband Access Server equipment with message then.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.

Claims (10)

1, a kind of BAS Broadband Access Server obtains the method that inserts customer position information, it is characterized in that comprising:
A, access user are by the broadband access equipment access network;
B, broadband access equipment determine to insert user position information, and are carried in PPPoE (based on the peer-peer protocol of the Ethernet) message and send to BAS Broadband Access Server.
2, BAS Broadband Access Server according to claim 1 obtains the method that inserts customer position information, it is characterized in that described PPPoE message is: PADI (the PPPoE ActiveDiscovery Initiation Packet that finds the stage, PPPoE finds the stage start message), PADO (thePPPoE Active Discovery Request Packet, PPPoE finds the phase requests message) or PADT (The PPPoE Active Discovery Terminate Packet, PPPoE finds the end message in stage) message; Also can expand to: the PPP LCP of session stage (point-to-point link control protocol), NCP (Network Control Protocol), PAP (password authentication protocol), CHAP (handshake authentication protocol) or Keep Alive (keep-alive) message.
3, BAS Broadband Access Server according to claim 1 and 2 obtains the method that inserts customer position information, it is characterized in that described broadband access equipment is: IP DSLAM (the Internet Digital Subscriber Line Access Multiplexer), Ethernet switch or CMTS (Cable Modem Terminal System) equipment.
4, BAS Broadband Access Server according to claim 1 and 2 obtains the method that inserts customer position information, it is characterized in that described user position information comprises: broadband access equipment information, frame number, slot number, port numbers and VPI (VPI)/VCI (virtual circuit identifier).
5, BAS Broadband Access Server according to claim 4 obtains the method that inserts customer position information, it is characterized in that the coded system of described user position information is:
Broadband access equipment information, frame number, slot number, port numbers respectively adopt 8 encoded recordings respectively, and VPI/VCI then adopts 32 encoded recordings.
6, BAS Broadband Access Server according to claim 1 obtains the method that inserts customer position information, it is characterized in that described step B is:
Broadband access equipment is determined user position information, and is carried on PPPoE and finds that the Relay field of stage message sends to BAS Broadband Access Server.
7, BAS Broadband Access Server according to claim 1 obtains the method that inserts customer position information, it is characterized in that described step B is:
Broadband access equipment is determined user position information, and the field that is used to carry user position information that is carried on redetermination in the PPPoE message sends to BAS Broadband Access Server.
8, obtain the method that inserts customer position information according to claim 1,2,6 or 7 described BAS Broadband Access Servers, it is characterized in that described step B further comprises:
The broadband access equipment interface board is intercepted and captured the PPPoE message of process, and definite user position information;
Interface board is encoded the user position information of determining, and it is inserted in the PPPoE message as a field;
Interface board sends to BAS Broadband Access Server with the described PPPoE message that is carrying customer position information, and BAS Broadband Access Server obtains user position information from the PPPoE message of receiving.
9, obtain the method that inserts customer position information according to claim 1,2,6 or 7 described BAS Broadband Access Servers, it is characterized in that described step B further comprises:
The broadband access equipment interface board is intercepted and captured the PPPoE message of process, and sends to master control borad;
Master control borad is determined user position information, and its establishment is the positional information coding;
Master control borad is inserted in the PPPoE message as a field position encoded, and sends it to BAS Broadband Access Server, and BAS Broadband Access Server obtains user position information from the PPPoE message of receiving.
10, BAS Broadband Access Server according to claim 9 obtains the method that inserts customer position information, it is characterized in that described step B also comprises:
Behind the response message of the PPPoE message that broadband access equipment reception BAS Broadband Access Server returns, with the user position information of carrying in response message deletion and send to and insert the user, or the user position information of carrying in the response message do not processed directly to be transmitted to insert the user.
CN 03159256 2003-09-12 2003-09-12 Method for broadband access server to acquire user location information Expired - Lifetime CN1265590C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03159256 CN1265590C (en) 2003-09-12 2003-09-12 Method for broadband access server to acquire user location information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03159256 CN1265590C (en) 2003-09-12 2003-09-12 Method for broadband access server to acquire user location information

Publications (2)

Publication Number Publication Date
CN1595896A true CN1595896A (en) 2005-03-16
CN1265590C CN1265590C (en) 2006-07-19

Family

ID=34660615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03159256 Expired - Lifetime CN1265590C (en) 2003-09-12 2003-09-12 Method for broadband access server to acquire user location information

Country Status (1)

Country Link
CN (1) CN1265590C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010081369A1 (en) * 2009-01-17 2010-07-22 华为技术有限公司 Method and system for obtaining identification information of peer client, peer client and access device
CN1968279B (en) * 2006-11-27 2010-08-11 华为技术有限公司 Broadband service application authentication method and apparatus
CN1859172B (en) * 2005-09-21 2010-12-08 华为技术有限公司 Method for distributing intelligent terminal service attribute in broad network service processing system
CN101141411B (en) * 2007-10-17 2011-09-21 中兴通讯股份有限公司 Method for implementing user port location in passive optical network access equipment
CN101388907B (en) * 2008-10-28 2012-07-04 中国电信股份有限公司 Internet customer attribute information transmitting method and network apparatus
CN102685667A (en) * 2012-05-07 2012-09-19 中国联合网络通信集团有限公司 Method, device and system for transmitting and acquiring position information of access user
CN104780121A (en) * 2015-04-30 2015-07-15 杭州华三通信技术有限公司 Message transmitting method and device
CN114285656A (en) * 2021-12-28 2022-04-05 广州芯德通信科技股份有限公司 Access security control method, system and platform based on PPPoE

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859172B (en) * 2005-09-21 2010-12-08 华为技术有限公司 Method for distributing intelligent terminal service attribute in broad network service processing system
CN1968279B (en) * 2006-11-27 2010-08-11 华为技术有限公司 Broadband service application authentication method and apparatus
CN101141411B (en) * 2007-10-17 2011-09-21 中兴通讯股份有限公司 Method for implementing user port location in passive optical network access equipment
CN101388907B (en) * 2008-10-28 2012-07-04 中国电信股份有限公司 Internet customer attribute information transmitting method and network apparatus
WO2010081369A1 (en) * 2009-01-17 2010-07-22 华为技术有限公司 Method and system for obtaining identification information of peer client, peer client and access device
CN102685667A (en) * 2012-05-07 2012-09-19 中国联合网络通信集团有限公司 Method, device and system for transmitting and acquiring position information of access user
CN104780121A (en) * 2015-04-30 2015-07-15 杭州华三通信技术有限公司 Message transmitting method and device
CN104780121B (en) * 2015-04-30 2018-05-08 新华三技术有限公司 A kind of file transmitting method and device
CN114285656A (en) * 2021-12-28 2022-04-05 广州芯德通信科技股份有限公司 Access security control method, system and platform based on PPPoE

Also Published As

Publication number Publication date
CN1265590C (en) 2006-07-19

Similar Documents

Publication Publication Date Title
EP1876754B1 (en) Method system and server for implementing dhcp address security allocation
US8125980B2 (en) User terminal connection control method and apparatus
US6282575B1 (en) Routing mechanism for networks with separate upstream and downstream traffic
EP1589705B1 (en) Method and system configured for facilitating residential broadband service
US20010030977A1 (en) Proxy methods for IP address assignment and universal access mechanism
CN1332542C (en) VoIP wireless telephone system and method utilizing wireless LAN
US20080225749A1 (en) Auto-configuration of a network device
JP2002523977A (en) Apparatus and method for remote access server
CN1309233C (en) Method for supporting PPPoA on wideband switch-in equipment
CN100534055C (en) Method for implementing network access through broadband router
CN1553674A (en) Method for wideband connection server to obtain port numbers of its uers
WO2006114053A1 (en) A method, system and apparatus for preventing from counterfeiting the mac address
CN100380902C (en) Method for connection of data terminal devices to data network
CN1277373C (en) Method for transmitting user position information in network communication system
US20070121833A1 (en) Method of Quick-Redial for Broadband Network Users and System Thereof
JP2003179618A (en) METHOD AND APPARATUS FOR PPPoA SPOOFING IN POINT-TO-POINT PROTOCOL OVER ASYNCHRONOUS TRANSMISSION MODE USING xDSL MODEM
CN101374045A (en) Method for implementing user port orientation on GPON access equipment
CN1265590C (en) Method for broadband access server to acquire user location information
US20070162616A1 (en) Method and system for implementing automated service provisioning on a ppp access terminal
CN1592220A (en) Method for controlling wide band network user to access network
JP2010514290A (en) Network device and method for translating media access control address
KR100590875B1 (en) xDSL modem and system including DHCP spoofing server, and PPPoE method for connecting internet using the same
CN100338909C (en) Method for discriminating service flow
EP2073432B1 (en) Method for binding an access terminal to an operator and corresponding access terminal
CN103141072A (en) Ip address obtaining method and network access 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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20060719