WO2011088795A1 - 一种配置用户接入信息的方法、网元设备及服务器 - Google Patents

一种配置用户接入信息的方法、网元设备及服务器 Download PDF

Info

Publication number
WO2011088795A1
WO2011088795A1 PCT/CN2011/070432 CN2011070432W WO2011088795A1 WO 2011088795 A1 WO2011088795 A1 WO 2011088795A1 CN 2011070432 W CN2011070432 W CN 2011070432W WO 2011088795 A1 WO2011088795 A1 WO 2011088795A1
Authority
WO
WIPO (PCT)
Prior art keywords
access information
user access
user
module
server
Prior art date
Application number
PCT/CN2011/070432
Other languages
English (en)
French (fr)
Inventor
金旭林
汤华宁
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011088795A1 publication Critical patent/WO2011088795A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles

Definitions

  • the present invention relates to the field of network communication security, and in particular, to a method, a network element device, and a server for configuring user access information.
  • the Digital Subscriber Line Access Multiplexer has been used as the primary access device for Digital Subscriber Line (DSL), and its upstream broadband access server (Broadband Remote Access Server) , BRAS) obtains user access information by using a dynamic host allocation protocol (DHCP) option (option) 82 or a point-to-point protocol over Ethernet (PPPo E) plus protocol packet on the Ethernet, thereby Perform unified authentication management on user ports to effectively prevent user accounts from being stolen and implement authentication and accounting.
  • DHCP dynamic host allocation protocol
  • PPPo E point-to-point protocol over Ethernet
  • the format of the requirements of the BRAS is different.
  • the information defined in the TR101 document including the virtual local area network identification number, port number, slot number, and NE name, is used to learn user access. Information is used for authentication and billing, etc.
  • the user access information format of the operator may change according to the application scenario, and the BRAS and the network element device are not devices of the same vendor. Therefore, the user access information reported by the network element device may be inconsistent with the format required by the BRAS, resulting in the device. It can't be well matched and docked. It is mainly between BRAS and optical line terminal (OLT), Optical Network Unit (ONU), and DSLAM.
  • OLT optical line terminal
  • ONU Optical Network Unit
  • DSLAM DSLAM
  • the operator cannot manage the user, the user authentication fails, the access fails, and the Internet cannot be accessed.
  • the usual method is to customize the user access information format by the device manufacturer.
  • the application information changes result in different user information, for example, the DSLAM user and the ONU user are different, or the temporary need to check the fault, and the operator It is not possible to arbitrarily modify the format of the reported information, and it is the inflexibility of the reported information format. It is extremely inconvenient to use with equipment manufacturers.
  • the problem to be solved by the present invention is to provide a method for configuring user access information, a network element device, and a server, so as to implement flexible configuration of user access information reported by port positioning.
  • the present invention provides a method for configuring user access information, the method comprising: the network element device storing a user access information format module required by a corresponding server set by a user; and based on the user access information
  • the format module obtains the corresponding user information parameter, and generates the user access information by using the user information parameter, and reports the user access information to the corresponding server.
  • the step of acquiring the corresponding user information parameter based on the user access information format module includes: parsing a keyword defined by the user access information format module; and acquiring a corresponding user information parameter based on the keyword.
  • the present invention further provides a network element device, comprising: a configuration module, configured to: receive a user access information format module required by a corresponding server set by a user, and configure the user access information format The module is sent to the database module; the database module is configured to: store the user access information format module; and the parsing module is configured to: obtain a corresponding one based on selecting a corresponding user access information format module from the database module The user information parameter is generated, and the user information is generated to generate user access information, and then the user access information is reported to the corresponding server.
  • the parsing module is configured to generate a corresponding user information parameter based on obtaining a corresponding user access information format module from the database module as follows: parsing a keyword defined by the user access information format module; The keyword obtains corresponding user information parameters.
  • the network element device is an optical node device or a digital subscriber line access multiplexer.
  • the present invention further provides a method for configuring user access information, the method comprising: the server storing a user access information format module set by a user; receiving the user access information sent by the network element device After the protocol packet, parsing the user information parameter in the user access information; and generating the user access information in the server required format according to the user access information format module according to the user access information format module.
  • the step of parsing the user information parameter in the user access information includes: parsing a keyword defined by the user access information format module; and acquiring a corresponding user from the user access information based on the keyword Information parameters.
  • the present invention further provides a server, comprising: a configuration module, configured to: receive a user access information format module set by a user, and send the user access information format module to a database module; a database module, configured to: store the user access information format module; and a processing module, configured to: after receiving the user access information sent by the network element device, parsing the user in the user access information Information parameter; generating user access information in the format required by the server according to selecting a corresponding user access information format module from the database module.
  • a configuration module configured to: receive a user access information format module set by a user, and send the user access information format module to a database module
  • a database module configured to: store the user access information format module
  • a processing module configured to: after receiving the user access information sent by the network element device, parsing the user in the user access information Information parameter; generating user access information in the format required by the server according to selecting a corresponding user access information format module from the database module.
  • the processing module is configured to parse the user information parameter in the user access information according to the following manner: parsing a keyword defined by selecting a corresponding user access information format module from the database module, based on the key The word obtains corresponding user information parameters from the user access information.
  • the server is a broadband remote access server.
  • the present invention provides a method for configuring user access information, a network element device, and a server, which can implement flexible configuration of user access information reported by port positioning, which greatly facilitates the use of operators and equipment manufacturers.
  • FIG. 3 is a schematic diagram of a server according to an embodiment of the present invention.
  • a flowchart of a method for configuring user access information according to an embodiment of the present invention is a flowchart of a method for configuring user access information according to another embodiment of the present invention
  • FIG. 6 is a still further embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present invention.
  • the communication system of this embodiment includes: BRAS+OLT+ONU (PON access mode) or BRAS+DSLAM (non-PON access) Mode)
  • BRAS+OLT+ONU PON access mode
  • BRAS+DSLAM non-PON access
  • the BRAS is configured to support PPPoE dial-up access and DHCP to obtain an IP address access mode, and manage access users, such as authentication, authentication, and accounting functions, to prevent unauthorized access by users who have not passed authentication. It is to analyze the user access information carried in the uplink packet of the PPPoE dial-up discovery (discovery) phase, or report the user access information in the option82 field carried in the DHCP uplink packet, and then control the user access.
  • the OLT is set to: Provide fiber access, connect the ONU device or DSLAM to the BRAS through the OLT. If the passive optical network (PON) port is not supported, it is not supported.
  • the NE device can omit the OLT and connect directly to the BRAS.
  • the OLT device supports the port locating function and reports the OLT-related user access information.
  • the implementation mechanism is to add user access information to the uplink packets in the PPPoE dial-up discovery phase or to add user access information to the DHCP uplink packets. You can also disable the port locating function. When the port locating function is disabled, the OLT transparently transmits DHCP messages and PPPoE messages.
  • the ONU is set to: Provide Asynchronous Transfer Mode (ATM) or Ethernet (Ethernet) user access, and connect to the OLT through the PON interface. Supports the port location function and reports user access information.
  • the implementation mechanism is to add user access information to the uplink packets in the PPPoE dialup discovery phase or to add user access information to the DHCP uplink packets.
  • DSALM is set to: Provide ATM or Ethernet user access, directly to the BRAS.
  • the port locating function is used to report user access information.
  • the mechanism is to add user access information to the uplink packets in the PPPoE dial-up discovery phase or to add user access information to the DHCP uplink packets.
  • the ONU, OLT, or DSLAM is a network element device that implements flexible port positioning to perform user access information reporting.
  • the BRAS is a broadband access server that implements user access management.
  • a user access information format module may be set on the server or the network element device to generate user access information conforming to the server requirement format.
  • An implementation scheme of setting a user access information format module on a network element device The user first sets one or more user access information format modules required by the server on the network element device, and connects the user port and the corresponding user access information format module. The name is associated.
  • the discovery 82 field is inserted in the DHCP acquisition IP address phase and the request 82 field is inserted into the message.
  • the ONU or the DSLAM network element device obtains the user information format module corresponding to the port according to the user port configuration information, parses the keyword defined in the user access information module, and obtains the user information parameter according to the keyword, such as the virtual local area network identification number and the port number. Information such as the slot number and the name of the network element, and then generate corresponding user access information according to the user access information format module, and add the generated user access information to The value field of the option82 field.
  • the PPPoE Active Discover Initiation (PADI) and the PPPoE Active Discover Request (PADR) are inserted in the PPPoE discovery phase.
  • PADI PPPoE Active Discover Initiation
  • PADR PPPoE Active Discover Request
  • the corresponding user access information is generated according to the user access information format module, and the value field is added to the value field of the vendor specific field.
  • the network element device of this embodiment includes the following modules.
  • the method includes: a configuration module, configured to: receive a user access information format module required by a corresponding server set by a user, and access the user access information.
  • the format module is sent to the database module;
  • the database module is configured to: store the user access information format module;
  • the parsing module is configured to: generate a corresponding module based on obtaining a corresponding user access information format module from the database module
  • User access information specifically, parsing a keyword defined by the corresponding user access information format module from the database module; acquiring a corresponding user information parameter based on the keyword; and then generating user access information;
  • the user access information is reported to the corresponding server.
  • the implementation scheme of setting the user access information format module on the server The user first sets the user access information format module of the server required format on the server.
  • the server receives the protocol packet with the user access information sent by the network element device, the server parses the keyword defined in the user access information module, and obtains the user information parameter from the protocol packet according to the keyword definition format. For example, the information such as the virtual local area network identification number, the port number, the slot number, and the network element name, and then the user access information obtained by the server in the format required by the user access information format module.
  • the server connects to the corresponding network element device according to the generated user access information, and performs subsequent processing operations.
  • the server (BRAS) of this embodiment includes the following modules, as shown in FIG.
  • a configuration module configured to: receive a user access information format module set by a user, and send the user access information format module to a database module; the database module is configured to: store the user access information format module; a processing module, configured to: after receiving the protocol packet with the user access information sent by the network element device, parsing the user information parameter in the user access information; specifically, parsing the database module from the database Selecting a keyword defined by the corresponding user access information format module, and obtaining a corresponding user information parameter from the user access information based on the keyword definition format; and selecting a corresponding user access according to the database module
  • the information format module generates the user access information in the format required by the server by using the user information parameter, and performs user access control.
  • FIG. 4 is a flowchart of a method for configuring user access information according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
  • the network element device stores user parameter parameters set by the user.
  • the network element device stores a user access information format module required by a corresponding server set by the user.
  • a template for setting the format of user access information required by one or more servers to be accessed on the network element device is referred to as a user access information format module.
  • the network element device parses a keyword defined by the user access information format module.
  • FIG. 5 is a flowchart of a method for configuring user access information according to another embodiment of the present invention. As shown in FIG. 5, the method includes the following steps: Step S201: Add a corresponding user access required by the server in the network element device.
  • Information format configuration module (user access information format module); Specifically, the definition of the user access information format module may use the following rules:
  • [] appears in pairs, and the content other than [] is reported according to the visible string filled in by the user access information format module. It can be a separator. , /, : , ; etc., for example, the content reported by XXX- telecom/[] It is XXX telecom/. 4)
  • the item item and the position of the character string in the user access information format module determine the order in which the user access information is reported.
  • Step S202 applying the set user access information format module to the user port, the specific operation may be: ort-location format flexible-syntax abc telecom, through this command, the input is set to the user port.
  • Step S203 the set user access information format module, user port configuration data, etc.
  • the information is saved to the database.
  • the global table can be used to save the user access information format module data
  • the port table is used to save the user port configuration data.
  • the specific parsing process is as follows: Check whether the string set in the user access information format module reaches the end, and if so, exit; otherwise, further determine whether it is the parameter item "item", if not, process it as a string output, add to the circuit identifier (circuit id If yes, the item is parsed. If the keyword is matched, the corresponding user information parameter is obtained and added to the circuit id. For example, if the port (port) is matched, the port number of the network element device is obtained; To the keyword, the corresponding alarm prompt information is given, and the item item is repeatedly detected until the end.
  • the parsing algorithm is to parse the content in [] into item items.
  • Step S205 Generate corresponding user access information. The process of generating user access information is closely tied to the parsing process as follows:
  • FIG. 6 is a flowchart of a method for configuring user access information according to still another embodiment of the present invention. As shown in FIG. 6, the method includes the following steps:
  • the server stores a user access information format module set by the user.
  • the user sets a user access information format module that meets the server requirement on the server. For details on how to set the definition rules of the user access information format module on the server, see the detailed description in step S201.
  • the server parses the keyword defined by the user access information format module; the keyword defined by the user access information format module may include the parameter item in Table 1. .
  • the device parses the format of the user access information according to the stored user access information, and mainly defines the location of the parameter, the separator between the parameters, and the character width occupied by the parameter output. Specifically, the item item is parsed. The comma is preceded by a keyword in [], followed by the width of the parameter output, where the width is an optional parameter, and the no-width parameter indicates that the width is specified according to the actual value width of the parameter.
  • the user access information field is divided into parameter strings according to the separator defined by the parsed user access information format module;
  • each parameter item into an actual user information parameter value or string, for example, the host name is a string, the port number is a numeric type, and the like.
  • the server interfaces with the corresponding network element device according to the generated user access information.
  • the above embodiments of the present invention provide a flexible and configurable method for port positioning user access information, which is used for user connection between BRAS and ONU/DSLAM/OLT.
  • the information can be selectively reported, including reporting parameters, length, location, etc., to implement flexible configuration of user access information.
  • modules or steps of the present invention can be implemented by a general-purpose computing device (a network element device, a remote access server), and can be concentrated on a single computing device, or Distributed on a network of communication systems comprising a plurality of computing devices, optionally, may be implemented by program code executable by the computing device, such that the modules of the present invention may be stored in the storage device for execution by the computing device.
  • each of the integrated circuit modules may be fabricated separately, or a plurality of modules or steps may be fabricated into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the present invention provides a method for configuring user access information, a network element device, and a server, which can implement flexible configuration of user access information reported by port positioning, which greatly facilitates the use of operators and equipment manufacturers.

Abstract

本发明公开了一种配置用户接入信息的方法,该方法包括:网元设备存储用户设置的相应服务器要求的用户接入信息格式模块;以及基于所述用户接入信息格式模块获取相应的用户信息参数,并将所述用户信息参数生成用户接入信息,将所述用户接入信息上报给相应的服务器。本发明还公开了一种网元设备和一种服务器。本发明可以实现端口定位上报的用户接入信息的灵活配置,极大地便利了运营商和设备制造商的使用。

Description

一种配置用户接入信息的方法、 网元设备及服务器
技术领域 本发明涉及网络通信安全领域, 具体而言, 涉及一种配置用户接入信息 的方法、 网元设备及服务器。
背景技术 随着基于 IP技术的网络建设的日渐普及, 以及用户业务类型的不断丰 富, 运营商需要增强对用户业务数据进行更加精细和灵活的控制能力。 目前
IP数字用户线路接入复用器 (Digital Subscriber Line Access Multiplexer, DSLAM ) 已作为数字用户线(Digital Subscriber Line, DSL ) 的主要接入设 备,其上游的宽带远端接入服务器( Broadband Remote Access Server, BRAS ) 通过动态主机分配协议 ( Dynamic Host Configuration Protocol, DHCP )选项 ( option ) 82 或以太网上的点对点协议 ( Point to Point Protocol over Ethernet, PPPo E ) plus协议报文中获取用户接入信息, 从而对用户端口进行统一的认 证管理, 有效地防范用户账号被盗用, 同时实现鉴权计费。 目前, 由于各运营商对 BRAS要求的格式不尽相同, 一般会参照 TR101 文档定义的格式, 包括虚拟局域网标识号、 端口号、 槽位号、 以及网元名称 等信息, 用于了解用户接入信息并用作鉴权和计费等。 通常运营商的用户接 入信息格式随应用场景不同会有所改变、 且 BRAS和网元设备不是同一厂商 的设备,因而网元设备上报的用户接入信息可能与 BRAS要求的格式不一致, 导致设备不能很好的匹配、及对接,其中主要是 BRAS和光线路终端(Optical Line Terminal, OLT ) 、 光网络单元( Optical Network Unit, ONU ) 、 以及 DSLAM等网元设备之间。 可能导致运营商无法对用户进行管理、 用户认证 失败不能正常接入, 以及无法上网。 通常的做法是设备厂商进行定制用户接 入信息格式; 另外格式一旦确定, 当应用场景的改变导致关注的用户信息不 同, 例如 DSLAM用户和 ONU用户就不同, 或是临时需要查故障, 运营商 则不能随意修改上报信息格式, 而正是上报信息格式的不灵活性, 给运营商 和设备制造商使用造成了极大的不便。
发明内容 本发明要解决的问题在于提供一种配置用户接入信息的方法、 网元设备 及服务器, 以实现端口定位上报的用户接入信息的灵活配置。 为了解决上述技术问题, 本发明提供了一种配置用户接入信息的方法, 该方法包括: 网元设备存储用户设置的相应服务器要求的用户接入信息格式模块; 以 及 基于所述用户接入信息格式模块获取相应的用户信息参数, 并将所述用 户信息参数生成用户接入信息, 将所述用户接入信息上报给相应的服务器。 基于所述用户接入信息格式模块获取相应的用户信息参数的步骤包括: 解析出所述用户接入信息格式模块定义的关键字; 以及 基于所述关键字获取相应的用户信息参数。
为了解决上述技术问题, 本发明还提供了一种网元设备, 其包括, 配置模块, 其设置为: 接收用户设置的相应服务器要求的用户接入信息 格式模块, 将所述用户接入信息格式模块发送给数据库模块; 数据库模块, 其设置为: 存储所述用户接入信息格式模块; 以及 解析模块, 其设置为: 基于从所述数据库模块中选取相应的用户接入信 息格式模块获取相应的用户信息参数, 并将所述用户信息参数生成用户接入 信息, 然后将所述用户接入信息上报给相应的服务器。 所述解析模块是设置为按如下方式基于从所述数据库模块中获取相应的 用户接入信息格式模块生成相应的用户信息参数: 解析出所述用户接入信息 格式模块定义的关键字; 以及基于所述关键字获取相应的用户信息参数。
所述网元设备为光节点设备或数字用户线路接入复用器。 为了解决上述技术问题,本发明还提供了一种配置用户接入信息的方法, 该方法包括: 服务器存储用户设置的用户接入信息格式模块; 接收到网元设备发来的带用户接入信息的协议报文后, 解析出所述用户 接入信息中的用户信息参数; 以及 根据所述用户接入信息格式模块将所述用户信息参数生成所述服务器要 求格式的用户接入信息。 解析出所述用户接入信息中的用户信息参数的步骤包括: 解析出所述用户接入信息格式模块定义的关键字; 以及 基于所述关键字从所述用户接入信息中获取相应的用户信息参数。 为了解决上述技术问题, 本发明还提供了一种服务器, 其包括, 配置模块, 其设置为: 接收用户设置的用户接入信息格式模块, 将所述 用户接入信息格式模块发送给数据库模块; 数据库模块, 其设置为: 存储所述用户接入信息格式模块; 以及 处理模块, 其设置为: 接收到网元设备发来的用户接入信息后, 解析出 所述用户接入信息中的用户信息参数; 根据从所述数据库模块中选取相应的 用户接入信息格式模块将所述用户信息参数生成所述服务器要求格式的用户 接入信息。 所述处理模块是设置为按如下方式解析出所述用户接入信息中的用户信 息参数: 解析出从所述数据库模块中选取相应的用户接入信息格式模块定义 的关键字,基于所述关键字从所述用户接入信息中获取相应的用户信息参数。 所述服务器为宽带远端接入服务器。
综上,本发明提供的一种配置用户接入信息的方法、 网元设备及服务器, 可以实现端口定位上报的用户接入信息的灵活配置, 极大地便利了运营商和 设备制造商的使用。 附图概述 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据本发明实施例的通信系统的示意图; 图 2是根据本发明实施例的网元设备的示意图; 图 3是根据本发明实施例的服务器的示意图; 图 4是根据本发明一实施例的配置用户接入信息的方法的流程图; 图 5是根据本发明另一实施例的配置用户接入信息的方法的流程图; 图 6是根据本发明再一实施例的配置用户接入信息的方法的流程图。
本发明的较佳实施方式 以下结合附图和具体实施例对本发明进行详细描述, 但不作为对本发明 的限定。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中 的特征可以相互任意组合。 图 1是才艮据本发明实施例的通信系统的示意图, 如图 1所示, 本实施例 的通信系统包括: BRAS+OLT+ONU ( PON接入方式)或 BRAS +DSLAM (非 PON接入方式) , 下面对上述结构进行描述。
BRAS设置为:支持 PPPoE拨号方式接入、 DHCP获取 IP地址接入方式, 对接入用户进行管理, 如鉴权、 认证、 以及计费功能, 防止未通过认证的用 户非法接入, 主要实现机制是解析 PPPoE拨号发现(discovery )阶段上行报 文携带的用户接入信息,或者在 DHCP上行报文中携带的 option82字段上报 用户接入信息, 然后对用户接入进行控制。
OLT设置为: 提供光纤接入, 通过 OLT将 ONU设备或 DSLAM连接至 BRAS。 如果不支持无源光网络(Passive Optical Network, PON ) 口上联的 网元设备, 可以省略 OLT, 直接连至 BRAS。 OLT设备支持端口定位功能, 上报 OLT相关用户接入信息, 实现机制是在 PPPoE拨号发现( discovery ) 阶段上行报文中添加用户接入信息, 或者在 DHCP上行报文中添加用户接入 信息。 也可以关闭端口定位功能, 关闭端口定位功能时 OLT对 DHCP报文、 以及 PPPoE ^艮文透传。
ONU设置为: 提供异步传输模式(Asynchronous Transfer Mode, ATM ) 或以太网 ( Ethernet )用户接入, 通过 PON接口上联到 OLT。 支持端口定位 功能, 上报用户接入信息。 实现机制是在 PPPoE拨号发现(discovery )阶段 上行报文中添加用户接入信息,或者在 DHCP上行报文中添加用户接入信息。
DSALM设置为: 提供 ATM或 Ethernet用户接入, 直接连至 BRAS。 支 持端口定位功能, 上报用户接入信息, 实现机制是在 PPPoE 拨号发现 ( discovery ) 阶段上行报文中添加用户接入信息, 或者在 DHCP上行报文中 添加用户接入信息。
ONU、 OLT或 DSLAM是网元设备, 实现灵活配置的端口定位功能, 进 行用户接入信息上报, BRAS是宽带接入服务器, 实现用户接入管理等功能。
在本实施例中, 为了使服务器 (BRAS ) 与网元设备能够正常对接, 可 以在服务器或网元设备上设置用户接入信息格式模块, 以生成符合服务器要 求格式的用户接入信息。 在网元设备上设置用户接入信息格式模块的实现方案: 用户首先在网元设备上设置一个或多个服务器要求的用户接入信息格式 模块, 将用户端口与相应的用户接入信息格式模块名关联起来。
当用户釆用 DHCP 方式接入, 在 DHCP 获取 IP 地址阶段的发现 ( discovery )才艮文和请求( request )才艮文中插入 option82字段。 ONU或 DSLAM 网元设备根据用户端口配置信息获取该端口对应的用户信息格式模块, 解析 出用户接入信息模块中定义的关键字, 根据关键字获取用户信息参数, 例如 虚拟局域网标识号、 端口号、 槽位号、 以及网元名称等信息, 然后按照用户 接入信息格式模块生成对应的用户接入信息, 将生成的用户接入信息添加到 option82字段的值( value )域。 当用户釆用 PPPoE拨号方式接入, 在 PPPoE的 discovery阶段的 PPPoE 激活发现初始化 (PPPoE Active Discover Initiation, PADI )才艮文和 PPPoE激 活发现请求(PPPoE Active Discover Request, PADR )才艮文中插入厂商特定 ( vendor specific )字段, 按照用户接入信息格式模块生成对应的用户接入信 息, 添力口到 vendor specific字段的 value域。
本实施例的网元设备包括下面几个模块, 如图 2所示, 包括: 配置模块, 其设置为: 接收用户设置的相应服务器要求的用户接入信息 格式模块, 将所述用户接入信息格式模块发送给数据库模块; 数据库模块, 其设置为: 存储所述用户接入信息格式模块; 以及 解析模块, 其设置为: 基于从所述数据库模块中获取相应的用户接入信 息格式模块生成相应的用户接入信息; 具体地, 解析出从所述数据库模块中 获取相应的用户接入信息格式模块定义的关键字; 基于所述关键字获取相应 的用户信息参数; 然后生成用户接入信息; 最后将所述用户接入信息上报给 相应的服务器。
在服务器上设置用户接入信息格式模块的实现方案: 用户首先在服务器上设置服务器要求格式的用户接入信息格式模块。 当服务器接收到网元设备发来的带有用户接入信息的协议报文时, 解析 出用户接入信息模块中定义的关键字, 根据关键字定义格式从协议报文中获 取用户信息参数, 例如虚拟局域网标识号、 端口号、 槽位号、 以及网元名称 等信息, 然后按照用户接入信息格式模块将获取的各项用户信息参数生成服 务器要求格式的用户接入信息。 最后, 服务器根据生成的用户接入信息与相 应的网元设备对接, 进行后续的处理操作。 本实施例的服务器(BRAS ) 包括下面几个模块, 如图 3所示, 包括: 配置模块, 其设置为: 接收用户设置的用户接入信息格式模块, 将所述 用户接入信息格式模块发送给数据库模块; 数据库模块, 其设置为: 存储所述用户接入信息格式模块; 以及 处理模块, 其设置为: 接收到网元设备发来的带用户接入信息的协议报 文后, 解析出所述用户接入信息中的用户信息参数; 具体地, 解析出从所述 数据库模块中选取相应的用户接入信息格式模块定义的关键字, 基于所述关 键字定义格式从所述用户接入信息中获取相应的用户信息参数; 根据从所述 数据库模块中选取相应的用户接入信息格式模块将所述用户信息参数生成所 述服务器要求格式的用户接入信息, 进行用户接入控制。
图 4是根据本发明一实施例的配置用户接入信息的方法的流程图, 如图 4所示, 包括下面步骤:
511、 网元设备存储用户设置的用户信息参数;
512、 网元设备存储用户设置的相应服务器要求的用户接入信息格式模 块;
用户在网元设备上设置一条或多条待接入的服务器要求的用户接入信息 的格式的模板, 这里称为用户接入信息格式模块。
513、 网元设备解析所述用户接入信息格式模块定义的关键字;
514、 基于所述关键字获取用户信息参数,
515、 根据相应的用户接入信息格式模块将获取的用户信息参数生成用 户接入信息, 将所述用户接入信息上报给相应的服务器。
图 5是根据本发明另一实施例的配置用户接入信息的方法的流程图, 如 图 5所示, 包括下面步骤: 步骤 S201 , 在网元设备中添加一条相应的服务器要求的用户接入信息 格式的配置模块(用户接入信息格式模块) ; 具体地, 对该用户接入信息格式模块的定义可以釆用如下规则:
1 ) 支持的参数如表 1所示, 可支持扩展。
表 1 上报参数表
2 )对上报参数项用 []括起来, 格式例如 [iteml , widthl] , iteml表示参数 名称, 需要上报该参数的长度为 widthl , 当实际参数宽度小于设置的宽度的 在参数前面补 0 ) ; 其中 widthl可省略, 表示按照实际长度输出。 例如, 若 虚通路号为 8 , 则 [vpi, 2]上报的格式就是 08。
3 ) []成对出现, []以外的内容按照用户接入信息格式模块填写的可见字 符串上报, 可以是分隔符.、 /、 : 、 ; 等, 例如 XXX— telecom/[]上报的内容就 是 XXX telecom/。 4 ) item 项、 以及字符串在用户接入信息格式模块中的位置决定用户接 入信息上报的排列顺序。
5 )配置该用户接入信息格式模块时, 对参数名称 (关键字 )合法性进行 检查(例如, 检查用户输入的参数名称是否符合 TR101定义的及扩展的参数 项) , 正确则生效, 否则给出告警提示并不生效。 例 ^口 , 添力口 abc— telecom 格式的模板配置命令为: port-location flexible-syntax abc— telecom [hostname] [iftype] [slot]/[port]: [vpi,3 ] . [vci,2]„ 步骤 S202 , 将该设置的用户接入信息格式模块应用到用户端口, 具体操 作可为: ort-location format flexible-syntax abc telecom, 通过这条命令西己置 输入。在应用到用户端口时,需要先检测该用户接入信息格式模块是否存在, 若存在, 转入 S204; 若不存在, 则转入步骤 S203。 步骤 S203 , 将该设置的用户接入信息格式模块、 用户端口配置数据等信 息保存到数据库。 这里可以釆用全局表保存将用户接入信息格式模块数据, 釆用端口表保存用户端口配置数据。 步骤 S204, 当网元设备接入服务器时(当用户通过 PPPoE拨号或 DHCP 获取 IP地址时 ) , 网元设备从数据库读取相应的用户接入信息格式模块并进 行解析。 具体解析过程如下: 首先检查用户接入信息格式模块中设置的字符串是 否到达结尾, 若是, 则退出; 否则, 进一步判断是否是参数项 "item" , 若 不是, 则处理为字符串输出, 添加到电路标识 (circuit id ) 中; 若是则进行 解析 item, 如果匹配到关键字, 则获取相应用户信息参数, 添加到 circuit id 中, 例如匹配 "端口 (port ) " , 则获取该网元设备的端口号; 若匹配不到 关键字, 则给出相应告警提示信息, 重复检测 item项直到结束。 以下是解析算法和示例:
A、 解析的算法是将 []中的内容解析为 item项。
B、 对 item项进行解析, []中逗号之前为关键字, 之后为参数输出的宽 度, 其中宽度是可选参数, 无宽度参数则表示按照参数的实际值宽度填报, 例如 [vpi, 5]填充为 00008。
C、 []之外的部分解析为添加的字符串;
D、 解析示例: 例如, 根据 S201步骤中的用户接入信息格式模块生成的 用户接入信息: "Relay-identifier atm 3/0:100.33" , 表示 slot = 3, port = 0, vpi = 100, vci = 33。 步骤 S205 , 生成对应的用户接入信息。 生成用户接入信息的过程是与解析过程紧密联系在一起的, 过程如下所 述:
1 )在解析出用户接入信息格式模块 []外的字符串或分隔符后直接添加到 circuit id 的子选项 ( sub-option ) 中;
2 )对 item项解析后获取相应的参数值, 然后按照定义的字符宽度填充 到 circuit id的 sub-option中。
3 )对用户接入信息格式模块全部解析完成后将生成的 circuit id封装在 PPPoE报文或 DHCP报文中 option中, 上报给 BRAS。 图 6是根据本发明再一实施例的配置用户接入信息的方法的流程图, 如 图 6所示, 包括下面步骤:
S31、 服务器存储用户设置的用户接入信息格式模块; 用户在服务器上设置符合服务器要求的用户接入信息格式模块。 在服务器上设置用户接入信息格式模块的定义规则可以参见步骤 S201 中的详细描述。
S32、 服务器接收到网元设备发来的用户接入信息后, 解析出所述用户 接入信息格式模块定义的关键字; 用户接入信息格式模块定义的关键字可以包括表 1中的参数项。 设备根据存储的用户接入信息置上报模板解析出用户接入信息的格式定 义, 主要是参数的位置、 参数之间的分隔符、 参数输出占用的字符宽度。 具体地, 对 item项进行解析, []中逗号之前为关键字, 之后为参数输出 的宽度, 其中宽度是可选参数, 无宽度参数则表示按照参数的实际值宽度填 报。
533、 基于所述关键字从网元设备发来的带用户接入信息的协议报文中 获取相应的用户信息参数; 具体地,服务器根据解析出的关键字,从带用户接入信息的 DHCP报文、 PPPoE报文中逆向解析出各项用户信息参数。 具体步骤是:
A、 根据解析出用户接入信息格式模块定义的分隔符将用户接入信息字 段分为各项参数项字符串;
B、 将各参数项转换成实际的用户信息参数值或字符串, 例如主机名为 字符串、 端口号就是数值类型等。
534、 根据存储的用户接入信息格式模块将所获取的用户信息参数生成 服务器要求格式的用户接入信息。
服务器根据生成的用户接入信息与相应的网元设备对接。
综上所述, 通过本发明的上述实施例, 提供了一种功能独立、 普适性高 的端口定位用户接入信息的灵活配置方法,用于 BRAS和 ONU/DSLAM/OLT 之间实现用户接入信息可选择性地上报, 包括上报参数、 长度、位置等信息, 实现灵活配置用户接入信息功能。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置 (网元设备、 远端接入服务器)来实现, 可以集中在单 个的计算装置上, 或者分布在多个计算装置所组成的通信系统网络上, 可选 地, 可以用计算装置可执行的程序代码来实现, 从而, 可以将本发明的各模 块存储在存储装置中由计算装置来执行, 或者将分别制作成各个集成电路模 块, 或者将多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
工业实用性 本发明提供的一种配置用户接入信息的方法、 网元设备及服务器, 可以 实现端口定位上报的用户接入信息的灵活配置, 极大地便利了运营商和设备 制造商的使用。

Claims

权 利 要 求 书
1、 一种配置用户接入信息的方法, 该方法包括: 网元设备存储用户设置的相应服务器要求的用户接入信息格式模块; 以 及 基于所述用户接入信息格式模块获取相应的用户信息参数, 并将所述用 户信息参数生成用户接入信息, 将所述用户接入信息上报给相应的服务器。
2、如权利要求 1所述的方法, 其中: 基于所述用户接入信息格式模块获 取相应的用户信息参数的步骤包括: 解析出所述用户接入信息格式模块定义的关键字; 以及 基于所述关键字获取相应的用户信息参数。
3、 一种网元设备, 其包括, 配置模块, 其设置为: 接收用户设置的相应服务器要求的用户接入信息 格式模块, 将所述用户接入信息格式模块发送给数据库模块; 数据库模块, 其设置为: 存储所述用户接入信息格式模块; 以及 解析模块, 其设置为: 基于从所述数据库模块中选取相应的用户接入信 息格式模块获取相应的用户信息参数, 并将所述用户信息参数生成用户接入 信息, 然后将所述用户接入信息上报给相应的服务器。
4、 如权利要求 3所述的网元设备, 其中: 所述解析模块是设置为按如下方式基于从所述数据库模块中获取相应的 用户接入信息格式模块生成相应的用户信息参数: 解析出所述用户接入信息 格式模块定义的关键字; 以及基于所述关键字获取相应的用户信息参数。
5、 如权利要求 3或 4所述的网元设备, 其中: 所述网元设备为光节点设备或数字用户线路接入复用器。
6、 一种配置用户接入信息的方法, 该方法包括: 服务器存储用户设置的用户接入信息格式模块; 接收到网元设备发来的带用户接入信息的协议报文后, 解析出所述用户 接入信息中的用户信息参数; 以及 根据所述用户接入信息格式模块将所述用户信息参数生成所述服务器要 求格式的用户接入信息。
7、如权利要求 6所述的方法, 其中: 解析出所述用户接入信息中的用户 信息参数的步骤包括: 解析出所述用户接入信息格式模块定义的关键字; 以及 基于所述关键字从所述用户接入信息中获取相应的用户信息参数。
8、 一种服务器, 其包括, 配置模块, 其设置为: 接收用户设置的用户接入信息格式模块, 将所述 用户接入信息格式模块发送给数据库模块; 数据库模块, 其设置为: 存储所述用户接入信息格式模块; 以及 处理模块, 其设置为: 接收到网元设备发来的用户接入信息后, 解析出 所述用户接入信息中的用户信息参数; 根据从所述数据库模块中选取相应的 用户接入信息格式模块将所述用户信息参数生成所述服务器要求格式的用户 接入信息。
9、 如权利要求 8所述的服务器, 其中: 所述处理模块是设置为按如下方式解析出所述用户接入信息中的用户信 息参数: 解析出从所述数据库模块中选取相应的用户接入信息格式模块定义 的关键字,基于所述关键字从所述用户接入信息中获取相应的用户信息参数。
10、 如权利要求 8或 9所述的服务器, 其中: 所述服务器为宽带远端接入服务器。
PCT/CN2011/070432 2010-01-20 2011-01-20 一种配置用户接入信息的方法、网元设备及服务器 WO2011088795A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010100028475A CN102130814A (zh) 2010-01-20 2010-01-20 一种配置用户接入信息的方法、网元设备及服务器
CN201010002847.5 2010-01-20

Publications (1)

Publication Number Publication Date
WO2011088795A1 true WO2011088795A1 (zh) 2011-07-28

Family

ID=44268710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070432 WO2011088795A1 (zh) 2010-01-20 2011-01-20 一种配置用户接入信息的方法、网元设备及服务器

Country Status (2)

Country Link
CN (1) CN102130814A (zh)
WO (1) WO2011088795A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812677B (zh) * 2012-11-12 2017-12-01 中国移动通信集团江苏有限公司 一种定位无源光网络设备的方法及装置
CN105323232B (zh) * 2014-08-01 2018-12-04 中国移动通信集团江苏有限公司 账号绑定方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553674A (zh) * 2003-05-26 2004-12-08 广东省电信有限公司科学技术研究院 宽带接入服务器获取宽带用户接入端口号的方法
US7099305B1 (en) * 2002-04-30 2006-08-29 Covad Communications Group, Inc. Systems and method for automated monitoring of availability in xDSL access networks
CN101414998A (zh) * 2007-10-15 2009-04-22 华为技术有限公司 一种基于认证机制转换的通信方法、系统及设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099305B1 (en) * 2002-04-30 2006-08-29 Covad Communications Group, Inc. Systems and method for automated monitoring of availability in xDSL access networks
CN1553674A (zh) * 2003-05-26 2004-12-08 广东省电信有限公司科学技术研究院 宽带接入服务器获取宽带用户接入端口号的方法
CN101414998A (zh) * 2007-10-15 2009-04-22 华为技术有限公司 一种基于认证机制转换的通信方法、系统及设备

Also Published As

Publication number Publication date
CN102130814A (zh) 2011-07-20

Similar Documents

Publication Publication Date Title
US10003405B2 (en) Data over cable service interface specification (DOCSIS) over passive optical network (PON)
CN105228121B (zh) 使用rest式接口的订户管理
US9025951B2 (en) Provisioning network devices in Ethernet-based access networks
WO2012139453A1 (zh) 一种dpoe系统及基于该系统业务自动配置方法和网络
US8005083B1 (en) Applying differentiated services within a cable network using customer-aware network router
JP5876877B2 (ja) 電気通信ネットワーク及び電気通信ネットワークと顧客構内機器との間の接続の効率的な使用のための方法及びシステム
US8681779B2 (en) Triple play subscriber and policy management system and method of providing same
WO2015070681A1 (zh) 接入网虚拟化的方法及代理节点
US20100293233A1 (en) Customer edge device auto-configuration
EP1936883A1 (en) Service provisioning method and system thereof
CN103188107A (zh) 终端设备自动发现和配置部署的系统及方法
EP3148164B1 (en) Packet processing method and device
CN102025792A (zh) 路由器及其ip地址设置方法
US10178085B2 (en) Establishing a secure file transfer session for secure file transfer to a demarcation device
WO2010028578A1 (zh) 一种光网络设备上感知服务提供商的方法、设备和系统
CN103516760B (zh) 一种虚拟网络系统接入方法、装置及系统
US7249186B1 (en) System and method for identifying a subscriber for connection to a communication network
WO2011088795A1 (zh) 一种配置用户接入信息的方法、网元设备及服务器
US9319416B2 (en) Priority based radius authentication
EP2879329B1 (en) Service provisioning method, device and system in coaxial cable system
Cisco Cisco CVA120 Series - Cisco IOS Release 12.2 XA
Cisco Cisco 10000 ESR - Cisco IOS Release 12.0(11)SL1
WO2012079536A1 (zh) 私网服务器访问方法及光网络单元
US9684774B2 (en) Flexible authentication using multiple radius AVPs
US9509693B2 (en) Flexible and generalized authentication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11734377

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11734377

Country of ref document: EP

Kind code of ref document: A1