WO2012041029A1 - 一种服务器处理业务的方法及装置 - Google Patents

一种服务器处理业务的方法及装置 Download PDF

Info

Publication number
WO2012041029A1
WO2012041029A1 PCT/CN2011/070675 CN2011070675W WO2012041029A1 WO 2012041029 A1 WO2012041029 A1 WO 2012041029A1 CN 2011070675 W CN2011070675 W CN 2011070675W WO 2012041029 A1 WO2012041029 A1 WO 2012041029A1
Authority
WO
WIPO (PCT)
Prior art keywords
attribute information
basic
basic attribute
server
service
Prior art date
Application number
PCT/CN2011/070675
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 WO2012041029A1 publication Critical patent/WO2012041029A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • 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/104Grouping of entities

Definitions

  • the present invention relates to the field of communications and networks, and in particular, to a method and apparatus for processing a service by a server. Background technique
  • AAA is short for authentication, authorization, and accounting. It provides three security functions for authentication, authorization and accounting for users.
  • AAA Using the client/server architecture, the client runs on the managed resource side, and the server stores the user information in the collection.
  • the RADIUS (Remote Authentication Dial-In User Service) protocol has become the most widely used AAA protocol because of its support for multiple authentication methods, easy expansion, relative security, and easy implementation.
  • FIG. 1 shows a typical user Internet access mode.
  • the client is directly connected to the access device.
  • Multiple access devices are connected to the NAS (network access server), and the NAS device is connected to the Internet.
  • the centralized management mode is adopted. That is, each NAS device is directly or indirectly connected to the RADIUS server of the NMS, and the client's Internet access request and Internet access information are transmitted to the RADIUS server.
  • the NAS is the client of the RADIUS server, usually a router, switch, or wireless access point.
  • the RADIUS server is usually a monitor running on a UNIX or Windows server.
  • RADIUS server Due to the wide application and scalability of the RADIUS protocol, more than 4 vendors have introduced access devices for various RADIUS servers, enriching the services provided by operators. However, to support these special services, the RADIUS server usually needs to rewrite the code that communicates with the device, and once the access device of a certain vendor is supported, the access device of other vendors may not support it.
  • Each manufacturer's access devices are developed independently or jointly. Each vendor will customize a set of vendor extended RADIUS attributes (ie, vendor attributes), and each vendor's understanding of RADIUS standard attributes will vary. When the access device sends a packet, the attributes it carries vary widely. Therefore, each vendor generally provides a RADIUS server for its own access device.
  • the current RADIUS server can only support one or several specific vendors, specific access methods, and specific services. If you need to add services, vendors, or access methods, the RADIUS server usually needs to rewrite the code that communicates with the device.
  • the existing RADIUS server cannot implement multiple access methods and multiple service functions of multiple vendors. Summary of the invention
  • the present invention provides a method and apparatus for processing a service by a server, which can identify different basic attributes of multiple access devices and achieve compatibility with multiple access devices.
  • a method for a server to process a business including:
  • a device for processing a service by a server comprising:
  • An extraction module configured to parse the received message, and extract the first basic attribute information from the message;
  • the conversion module is configured to convert the first basic attribute information into a correspondence according to the conversion relationship between the first basic attribute information and the application attribute information Application attribute information;
  • the service module is configured to perform service processing according to the service item corresponding to the application attribute information.
  • the server processing service method provided by the embodiment of the present invention can save the conversion relationship between the basic attribute information in the packet sent by the access device and the application attribute information that can be identified by the server in the server, when receiving the packet of the access device
  • the basic attribute information can be converted into application attribute information that the server can recognize, and the business processing is performed according to the application attribute information. Use this hair
  • the method of the embodiment can achieve compatibility between multiple service functions of the server and multiple access devices.
  • FIG. 1 is a schematic structural diagram of a RADIUS service system of the prior art
  • FIG. 2 is a flowchart of a method for processing a service by a server according to Embodiment 1 of the present invention
  • FIG. 3 is a field format of standard attribute information in a RADIUS protocol
  • Figure 4 shows the field format of vendor attribute information in the RADIUS protocol
  • FIG. 5 is a flowchart of a method for processing a service by a server according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic diagram of an apparatus for processing a service by a server according to an embodiment of the present invention. detailed description
  • the server processing service method provided by the embodiment of the present invention can save the conversion relationship between the basic attribute information in the packet sent by the access device and the application attribute information that can be identified by the server in the server, when receiving the packet of the access device
  • the basic attribute information in the packet can be converted into application attribute information that the server can recognize, and the service processing is performed according to the application attribute information.
  • the server and the plurality of access devices can be implemented. Compatible with a variety of business functions.
  • the server in the present invention is not limited to the RADIUS server, and includes an AAA server and all servers capable of authorization, authentication, or accounting.
  • the method for processing a service by a server according to the first embodiment of the present invention includes: S201: Adding a configuration to a RADIUS server in advance (the configuration may be a file, or may be stored in a database, which is referred to as a configuration in the present invention).
  • the configuration includes a conversion relationship between the first basic attribute information and the application attribute information.
  • the conversion relationship includes: converting the first basic attribute information into a conversion relationship of the application attribute information, and converting the processing result of the application attribute information into a response conversion relationship of the second basic attribute information.
  • the first basic attribute information includes standard attribute information or vendor attribute information, that is,
  • Attribute information defined in the RADIUS protocol.
  • vendor attribute information in the RADIUS protocol, including: attribute type, (attribute message) length, vendor identification information, and attribute value (that is, string);
  • the application attribute information is attribute information that the server can recognize (that is, the application attribute information is an attribute format that can be recognized by the server), and directly corresponds to the service item of the server, and the application attribute information is the first basic attribute information and the server. a link to a business item;
  • the conversion relationship may be a custom expression, or a function, which needs to reflect the correspondence between the first basic attribute information and the application attribute information;
  • the conversion relationship corresponding to the first basic attribute information A and the application attribute information B is method C (a function, the function is to extract one segment from a certain string), when A is converted to B, it is A The value is extracted and assigned to B.
  • the application attribute information may include the service item identifier and the service data, and may correspond to the service item according to the application attribute information, and perform service processing on the service data in the application attribute information.
  • the application attribute information directly corresponds to the service items such as binding check, ACL check, and authorization.
  • the RADIUS server performs binding check, ACL check, authorization, and other service processing on the data in the application attribute information according to the service item corresponding to the application attribute information.
  • the RADIUS server can process the packets sent by the access device, and the packets sent by the vendors are saved in the server because the vendor attribute information or standard attribute information is saved in the server.
  • the first basic attribute information of different formats can be converted into application attribute information that the server can recognize, and processed, so that the server can be compatible with multiple access devices.
  • the above steps also include:
  • S205 Convert the service processing result to the second basic attribute information of the response according to the service processing result of the application attribute information and the response conversion relationship of the second basic attribute information, and carry the result in the reply message and send the result.
  • the processing result is converted into the second basic attribute information of the response according to the response attribute of the application attribute information and the second basic attribute information, and is carried in the reply message and sent to the access device. .
  • the RADIUS server converts the authorization information into the second basic attribute information according to the response conversion relationship and carries it in the response packet.
  • the response relationship of the second basic attribute information E corresponding to the response and the processing result D of the application attribute information is method F (a function, the function is to assemble a string or a value into another string), when When the processing result D of the application attribute information is converted to the second basic attribute information E of the response, the value of D is assembled into the second basic attribute information E of the response, and the second basic attribute information of the response is obtained.
  • method F a function, the function is to assemble a string or a value into another string
  • the server is receiving
  • the various attribute information carried in the packet is converted into the application attribute information
  • the service processing is performed, and the server is improved.
  • the processing result may be converted into basic attribute information that can be identified by the corresponding access device, and returned to the access device.
  • the compatibility of the server is improved, and the attribute information that the access device can recognize is carried in the response packet for the different access devices, so that the server can interact with different access devices.
  • the embodiment of the invention further provides a method for a server to process a service, which is compatible with different access modes.
  • the server in order to realize that the server can be connected to different access modes, that is, the server does not make an error when processing any access mode, that is, the server is compatible with different access modes, and the corresponding conversion relationship can also be configured in the configuration. Identify the access method.
  • a flowchart of a method for processing a service by a server according to Embodiment 2 of the present invention includes:
  • the configuration includes the conversion relationship between the first basic attribute information and the application attribute information, and saves the correspondence between the access mode and the conversion relationship.
  • the access mode refers to the protocol used by the client to dial in to the network, including: 802.1x, PPPOE, IPOE, PORTAL, and so on.
  • the first basic attribute information in the same format corresponds to different application attribute information, and the access relationship between the first basic attribute information and the application attribute information is respectively corresponding to each access mode, where
  • the conversion relationship includes: converting the first basic attribute information into a conversion relationship of the application attribute information, and converting the service processing result of the application attribute information into a response conversion relationship of the second basic attribute information of the response.
  • the service processing result is converted into a response basic information information according to the service processing result of the application attribute information and the response basic conversion information of the second basic attribute information of the response, and is carried in the reply message and sent.
  • the processing result is converted into the second basic attribute information of the response according to the response attribute of the application attribute information and the second basic attribute information, and is carried in the reply message and sent to the access device. .
  • the vendor identification information may also be set in the configuration to distinguish the basic attribute information and the application attribute information of different vendors. Conversion relationship.
  • the vendor identification information refers to the code information of the vendor, where the conversion relationship includes: converting the first basic attribute information into a conversion relationship of the application attribute information. And a response conversion relationship that converts the processing result of the application attribute information into the second basic attribute information;
  • step S202 the vendor identifier information is further obtained from the packet, and when the conversion is performed in step S203, the first basic attribute information is converted according to the conversion relationship between the first basic attribute information and the application attribute information corresponding to the vendor identification information. For applying attribute information.
  • step S205 the processing result is converted into the corresponding second basic attribute information according to the service conversion result of the application attribute information and the response conversion relationship of the second basic attribute information of the response.
  • the access mode and the vendor identification information of the corresponding conversion relationship may be set in the configuration to distinguish different access modes and different vendors.
  • the conversion relationship between basic attribute information and application attribute information On the basis of the first embodiment, in the configuration of step S201, the access mode and the correspondence between the vendor identification information and the conversion relationship are also saved, where the conversion relationship includes: converting the first basic attribute information into the conversion relationship of the application attribute information. And a response conversion relationship that converts the processing result of the application attribute information into the second basic attribute information;
  • step S202 the access mode and the vendor identification information are also required to be obtained from the packet, and the conversion relationship between the first basic attribute information and the application attribute information corresponding to the access mode and the vendor identification information is performed when the conversion is performed in step S203. Converting the first basic attribute information into application attribute information.
  • step S205 the processing result is converted into the corresponding second basic attribute information according to the service conversion result of the application attribute information and the response conversion relationship of the second basic attribute information of the response.
  • the method of the embodiment of the present invention increases the application attribute information between the basic attribute information of the RADIUS server and the service item of the RADIUS server, thereby improving the flexibility of the service processing of the RADIUS server.
  • the access mode is added to the new access mode and the corresponding first basic attribute information and application attribute information are converted.
  • the vendor identification information of the newly added device and the corresponding conversion relationship between the first basic attribute information and the application attribute information are added in the configuration.
  • the corresponding relationship between the newly added application attribute information and the newly added service item is established in the server, and the conversion relationship between the first basic attribute information and the application attribute is set in the configuration.
  • An embodiment of the present invention further provides a device for processing a service by using a server.
  • the method includes:
  • the extracting module 61 is configured to parse the received packet, and extract the first basic attribute information from the packet;
  • the conversion module 62 is configured to convert the first basic attribute information into corresponding application attribute information according to the conversion relationship between the first basic attribute information and the application attribute information;
  • the service module 63 is configured to perform service processing according to the service item corresponding to the application attribute information.
  • the above apparatus further includes:
  • the replying module 64 is configured to convert the service processing result according to the processing result of the application attribute information and the response conversion relationship of the second basic attribute information into the second basic attribute information of the response, and carry the second basic attribute information in the reply message. In, and send.
  • the first basic attribute information includes standard attribute information or vendor attribute information.
  • the method of the embodiment of the present invention can save the conversion relationship between the first basic attribute information in the packet sent by the access device and the application attribute information that can be identified by the server in the server, and when receiving the packet of the access device,
  • the first basic attribute information can be converted into application attribute information that can be recognized by the server, and the service processing is performed according to the application attribute information, and the processing result is converted into the second basic attribute information, and assembled into the reply message for transmission.
  • multiple access modes and multiple service functions of multiple access devices of the server and different vendors can be implemented.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及通信及网络领域,公开了一种服务器处理业务的方法及装置,使得服务器能够识别多种接入设备的不同基本属性,实现和多种接入设备的兼容。本发明方法包括:解析接收的报文,并从报文中提取第一基本属性信息;根据第一基本属性信息和应用属性信息的转换关系将第一基本属性信息转换为对应的应用属性信息;根据应用属性信息对应的业务项进行业务处理。

Description

一种服务器处理业务的方法及装置 技术领域
本发明涉及通信及网络领域, 特别涉及一种服务器处理业务的方法及 装置。 背景技术
AAA是 authentication (认证 )、 authorization (授权 )和 accounting (计 费) 的简称。 它提供对用户进行认证、 授权和计费三种安全功能。 AAA— 般釆用客户 /服务器结构, 客户端运行于被管理的资源侧, 服务器上则集 中存放用户信息。 RADIUS ( Remote Access Dial-In User Service, 远程认证 拨号用户服务)协议由于其支持多种认证法方式、 易于扩展、 相对安全、 易于实现等特点, 已成为目前应用最广泛的 AAA协议。
图 1 示了典型的用户上网组网方式, 客户端直接与接入设备相连, 多个接入设备连接至 NAS (网络访问服务器), NAS设备再接入 Internet网。 对客户端上网的认证、 授权和计费, 通常釆用集中管理方式, 即各个 NAS 设备直接或间接与网管中心的 RADIUS服务器相连, 将客户端的上网请求 和上网信息传递到 RADIUS服务器, 由 RADIUS服务器完成客户端的认证 和计费。 其中, NAS是 RADIUS服务器的客户端, 通常是一个路由器、 交 换机或无线访问点, RADIUS服务器通常是在 UNIX或 Windows服务器上 运行的一个监护程序。
由于 RADIUS 协议的广泛应用和可扩展性, 4艮多厂商推出了各种 RADIUS 服务器的接入设备, 丰富了运营商提供的服务。 但是, 为支持这 些特殊的服务, RADIUS 服务器通常需要重写与设备通讯的代码, 并且一 旦支持某家厂商的接入设备, 对别家厂商的接入设备就不一定支持。 目前, 各家厂商的接入设备均釆取自主开发或合作开发, 每个厂商都会自定义一 套厂商扩展的 RADIUS属性(即厂商属性), 并且, 各家厂商对 RADIUS 标准属性的理解各不相同, 导致接入设备在发送报文时, 携带的属性千差 万别。 因此, 一般各个厂商均会为自家的接入设备提供 RADIUS服务器。
综上, 目前的 RADIUS服务器只能支持一个或几个特定厂商、 特定的 接入方式以及特定的业务, 如果需要增加业务、 厂商或者接入方式, 则 RADIUS服务器通常需要重写与设备通讯的代码, 现有的 RADIUS服务器 无法实现多家厂商的多种接入方式、 多种业务功能的兼容。 发明内容
本发明提供一种服务器处理业务的方法和装置, 能够识别多种接入设 备的不同基本属性, 实现和多种接入设备的兼容。
一种服务器处理业务的方法, 包括:
解析接收的报文, 并从报文中提取第一基本属性信息;
根据第一基本属性信息和应用属性信息的转换关系将第一基本属性信 息转换为对应的应用属性信息;
根据应用属性信息对应的业务项进行业务处理。
一种服务器处理业务的装置, 包括:
提取模块, 用于解析接收的报文, 并从报文中提取第一基本属性信息; 转换模块, 用于根据第一基本属性信息和应用属性信息的转换关系将 第一基本属性信息转换为对应的应用属性信息;
业务模块, 用于根据应用属性信息对应的业务项进行业务处理。
本发明实施例提供的服务器处理业务的方法, 能够在服务器中保存接 入设备发送报文中的基本属性信息和服务器能够识别的应用属性信息的转 换关系, 在接收到接入设备的报文时, 能够将基本属性信息转换为服务器 能够识别的应用属性信息, 并根据应用属性信息进行业务处理。 釆用本发 明实施例的方法, 能够实现服务器和多种接入设备的多种业务功能的兼容。 附图说明
图 1为现有技术的 RADIUS服务系统的结构示意图;
图 2为本发明实施例一提供的服务器处理业务的方法流程图; 图 3为 RADIUS协议中标准属性信息的字段格式;
图 4为 RADIUS协议中厂商属性信息的字段格式;
图 5为本发明实施例二提供的服务器处理业务的方法流程图; 图 6为本发明实施例提供的服务器处理业务的装置示意图。 具体实施方式
本发明实施例提供的服务器处理业务的方法, 能够在服务器中保存接 入设备发送报文中的基本属性信息和服务器能够识别的应用属性信息的转 换关系, 在接收到接入设备的报文时, 能够将报文中的基本属性信息转换 为服务器能够识别的应用属性信息, 并根据应用属性信息进行业务处理。
釆用本发明实施例的方法, 由于能够将标准属性信息以及不同厂商的 厂商属性信息都根据配置中对应的转换关系转换为服务器能够识别的应用 属性信息, 因此能够实现服务器和多种接入设备的多种业务功能的兼容。
下面以 RADIUS服务器为例说明本发明的方法, 但本发明中的服务器 并不限定于 RADIUS服务器,还包括 AAA服务器以及能够进行授权、认证 或者计费的所有服务器。
实施例一
本发明实施例一提供的服务器处理业务的方法, 如图 2所示, 包括: S201、 预先在 RADIUS服务器中添加配置 (配置可以是文件, 也可以 存储在数据库中, 本发明中简称配置), 配置中包含第一基本属性信息和应 用属性信息的转换关系。 其中, 转换关系包括: 将第一基本属性信息转换为应用属性信息的转 换关系, 以及将应用属性信息的处理结果转换为第二基本属性信息的响应 转换关系。
其中, 第一基本属性信息包括标准属性信息或者厂商属性信息, 就是
RADIUS协议中定义的属性信息。
如图 3所示, 是 RADIUS协议中标准属性信息的字段格式, 包括属性 类型、 (属性报文)长度、 属性值;
如图 4所示, 是 RADIUS协议中厂商属性信息的字段格式, 包括: 属 性类型、 (属性报文)长度、 厂商标识信息以及属性值(即字符串);
应用属性信息是月良务器能够识别的属性信息 (即应用属性信息是月良务 器能够识别的属性格式), 并直接对应到服务器的业务项, 应用属性信息是 第一基本属性信息和服务器的业务项的一个纽带;
其中, 转换关系可以是一个自定义表达式, 或者函数, 需要体现出第 一基本属性信息和应用属性信息之间的对应关系;
例如: 对应第一基本属性信息 A和应用属性信息 B的转换关系为方法 C (某个函数, 功能是从某个字符串中提取其中一段出来), 当 A转换到 B 的时候, 就是将 A的值提取一段出来赋值给 B。
5202、 解析接收的报文, 并从报文中提取第一基本属性信息。
5203、 根据第一基本属性信息转换为应用属性信息的转换关系将第一 基本属性信息转换为对应的应用属性信息。
5204、 根据应用属性信息对应的业务项进行业务处理。
具体的: 应用属性信息中可以包括业务项标识以及业务数据, 可以根 据应用属性信息对应到业务项, 并对应用属性信息中的业务数据进行业务 处理。
例如: 应用属性信息直接对应到绑定检查、 ACL检查、授权等业务项, 则 RADIUS服务器根据应用属性信息对应的业务项对应用属性信息中的数 据进行绑定检查、 ACL检查、 授权等业务处理。
通过以上步骤, RADIUS 服务器即可实现对接入设备发送的报文进行 处理, 并且, 对于各厂商设备发送的报文, 因为在服务器中均保存了厂商 属性信息或者标准属性信息和服务器能够识别的应用属性信息的转换关 系, 能够将不同格式的第一基本属性信息均转换为服务器能够识别的应用 属性信息, 并进行处理, 使得服务器能够兼容多种接入设备。
上述步骤还包括:
S205、 将业务处理结果根据该应用属性信息的业务处理结果和第二基 本属性信息的响应转换关系转换为响应的第二基本属性信息, 携带在回复 报文中, 并发送。
RADIUS 服务器完成对应的业务处理后, 将处理结果根据该应用属性 信息和第二基本属性信息的响应转换关系转换为响应的第二基本属性信 息, 并携带在回复报文中, 发送给接入设备。
例如: RADIUS 服务器完成授权业务后, 将授权信息根据响应转换关 系转换为第二基本属性信息, 并携带在回复报文中。
例如: 对应响应的第二基本属性信息 E和该应用属性信息的处理结果 D的响应转换关系为方法 F (某个函数, 功能是将一段字符串或值拼装成另 一个字符串),当将应用属性信息的处理结果 D转换到响应的第二基本属性 信息 E的时候, 就是将 D的值拼装成响应的第二基本属性信息 E, 得到响 应的第二基本属性信息。
通过上述方法, 需要预先在服务器中保存各种格式的基本属性信息和 服务器的能够识别的应用属性信息的对应关系 (即转换关系以及处理结果 和基本属性信息的响应转换关系), 则服务器在接收到报文中携带的各种属 性信息时, 均能够转换为应用属性信息, 并进行业务处理, 提高了服务器 的兼容性。 进一步, 处理业务后, 还可以将处理结果转化为对应接入设备 能够识别的基本属性信息, 并回复给接入设备。 提高了服务器的兼容性, 并同时针对不同的接入设备在回复报文中携带接入设备能识别的属性信 息, 使得服务器能够和不同的接入设备进行交互。
本发明实施例还提供一种服务器处理业务的方法, 能够兼容不同接入 方式。
实施例二
较佳地, 为了实现服务器能够和不同接入方式的对接, 即服务器在处 理任何接入方式时不会出错, 也就是实现服务器兼容不同的接入方式, 还 可以在配置中对对应的转换关系标识接入方式。
如图 5所示, 为本发明实施例二提供的服务器处理业务的方法流程图, 包括:
5501、 预先在 RADIUS服务器中添加配置, 配置中包含第一基本属性 信息和应用属性信息的转换关系, 并保存接入方式和转换关系的对应。
接入方式是指客户端拨号接入网络所使用的协议, 包括: 802.1x、 PPPOE、 IPOE、 PORTAL等。
因为不同的接入方式会导致相同格式的第一基本属性信息对应不同的 应用属性信息, 因此, 对每一种接入方式, 分别对应第一基本属性信息和 应用属性信息的转换关系, 其中, 转换关系包括: 将第一基本属性信息转 换为应用属性信息的转换关系, 以及将应用属性信息的业务处理结果转换 为响应的第二基本属性信息的响应转换关系。
5502、 解析接收的报文, 并从报文中提取基本属性信息以及接入方式。 S503、 根据接入方式对应的第一基本属性信息和应用属性信息的转换 关系, 将第一基本属性信息转换为应用属性信息。
根据接入方式对应的第一基本属性信息和应用属性信息的转换关系, 进行转换。
5504、 根据应用属性信息对应的业务项进行业务处理。 .
5505、 将业务处理结果根据该应用属性信息的业务处理结果和响应的 第二基本属性信息的响应转换关系转换为响应的第二基本属性信息, 携带 在回复报文中, 并发送。
RADIUS 服务器完成对应的业务处理后, 将处理结果根据该应用属性 信息和第二基本属性信息的响应转换关系转换为响应的第二基本属性信 息, 并携带在回复报文中, 发送给接入设备。
较佳地, 为了更精确的识别不同厂商的接入设备发送的报文的基本属 性, 还可以在配置中对对应的转换关系设置厂商标识信息, 以区分不同厂 商的基本属性信息和应用属性信息的转换关系。
实施例三
在步骤 S201的配置中还要保存厂商标识信息和转换关系的对应,其中, 厂商标识信息是指厂商的代码信息, 其中, 转换关系包括: 将第一基本属 性信息转换为应用属性信息的转换关系, 以及将应用属性信息的处理结果 转换为第二基本属性信息的响应转换关系;
并且在步骤 S202中,从报文中还需要获得厂商标识信息,在步骤 S203 进行转换时, 根据厂商标识信息对应的第一基本属性信息和应用属性信息 的转换关系, 将第一基本属性信息转换为应用属性信息。
在步骤 S205中, 根据该应用属性信息的业务处理结果和响应的第二基 本属性信息的响应转换关系将处理结果转换为对应的第二基本属性信息。
实施例四
较佳地, 为了实现能够和不同厂商、 不同接入方式的接入设备对接, 还可以在配置中对对应的转换关系设置接入方式以及厂商标识信息, 以区 分不同接入方式、 不同厂商的基本属性信息和应用属性信息的转换关系。 在实施例一的基础上, 在步骤 S201的配置中还要保存接入方式以及厂 商标识信息和转换关系的对应, 其中, 转换关系包括: 将第一基本属性信 息转换为应用属性信息的转换关系, 以及将应用属性信息的处理结果转换 为第二基本属性信息的响应转换关系;
在步骤 S202中, 从报文中还需要获得接入方式以及厂商标识信息, 在 步骤 S203进行转换时, 根据接入方式以及厂商标识信息对应的第一基本属 性信息和应用属性信息的转换关系, 将第一基本属性信息转换为应用属性 信息。
在步骤 S205中, 根据该应用属性信息的业务处理结果和响应的第二基 本属性信息的响应转换关系将处理结果转换为对应的第二基本属性信息。
釆用本发明实施例的方法, 利用配置在 RADIUS服务器的基本属性信 息和 RADIUS服务器的业务项之间增加了应用属性信息, 提高了 RADIUS 服务器的业务处理的灵活性。
例如: 当需要新增一种接入方式, 则在配置中增加接入方式为新增的 接入方式以及对应的第一基本属性信息和应用属性信息的转换关系;
当需要新增厂商设备, 则在配置中增加新增厂商设备的厂商标识信息 以及对应的第一基本属性信息和应用属性信息的转换关系;
当需要在服务器中增加业务项时, 则在服务器中建立新增应用属性信 息与新增业务项的对应关系, 并在配置中设置第一基本属性信息和应用属 性的转换关系。
因此, 釆用本发明实施例的方法, 不管是增加一种或多种接入方式, 不管是增加一个或者多个厂商设备, 不管是增加一个或多个业务项, 只需 要在配置中增加几个应用属性信息的配置, 增加业务项和应用属性信息的 对应关系, 即可实现服务器能够和任意厂商设备、 任意接入方式兼容。
本发明实施例还提供一种服务器处理业务的装置, 如图 6所示, 包括: 提取模块 61 , 用于解析接收的报文, 并从报文中提取第一基本属性信 息;
转换模块 62, 用于根据第一基本属性信息和应用属性信息的转换关系 将第一基本属性信息转换为对应的应用属性信息;
业务模块 63 , 用于根据应用属性信息对应的业务项进行业务处理。 较佳地, 上述装置还包括:
回复模块 64, 用于将业务处理结果根据该应用属性信息的处理结果和 第二基本属性信息的响应转换关系转换为响应的第二基本属性信息, 并将 第二基本属性信息携带在回复报文中, 并发送。
较佳地, 第一基本属性信息包括标准属性信息或者厂商属性信息。 釆用本发明实施例的方法, 能够在服务器中保存接入设备发送报文中 的第一基本属性信息和服务器能够识别的应用属性信息的转换关系, 在接 收到接入设备的报文时, 能够将第一基本属性信息转换为服务器能够识别 的应用属性信息, 并根据应用属性信息进行业务处理, 将处理结果转换为 第二基本属性信息, 并组装到回复报文中发送。 釆用本发明实施例的方法, 能够实现服务器和不同厂商的多种接入设备的多种接入方式、 多种业务功 能的兼容。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的 形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流 程图和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中 的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专 用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个 机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产 生用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方 框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的步骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知 了基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所 附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和 修改。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。

Claims

权利要求书
1、 一种服务器处理业务的方法, 其特征在于, 包括:
解析接收的报文, 并从报文中提取第一基本属性信息;
根据第一基本属性信息和应用属性信息的转换关系将第一基本属性信 息转换为对应的应用属性信息;
根据应用属性信息对应的业务项进行业务处理。
2、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括: 将业务处理结果根据所述应用属性信息的业务处理结果和第二基本属 性信息的响应转换关系转换为响应的第二基本属性信息;
将第二基本属性信息携带在回复报文中, 并发送。
3、 如权利要求 1所述的方法, 其特征在于, 所述从报文中提取第一基 本属性时, 还从报文中获得接入方式; 以及
根据所述接入方式对应的第一基本属性信息和应用属性信息的转换关 系, 将第一基本属性转换为对应的应用属性信息。
4、 如权利要求 1所述的方法, 其特征在于, 所述从报文中提取第一基 本属性时, 还从报文中获得厂商标识信息; 以及
根据所述厂商标识信息对应的第一基本属性信息和应用属性信息的转 换关系, 将第一基本属性转换为对应的应用属性信息。
5、 如权利要求 3所述的方法, 其特征在于, 所述从报文中提取第一基 本属性时, 还从报文中获得厂商标识信息; 以及
根据所述接入方式以及厂商标识信息对应的第一基本属性信息和应用 属性信息的转换关系, 将第一基本属性转换为对应的应用属性信息。
6、 如权利要求 1至 5任一权利要求所述的方法, 其特征在于, 所述第 一基本属性信息包括标准属性信息或者厂商属性信息。
7、 如权利要求 1至 5任一权利要求所述的方法, 其特征在于, 所述服 务器为认证授权计费(AAA )服务器或者远程认证拨号用户 (RADIUS )服 务器。
8、 一种服务器处理业务的装置, 其特征在于, 包括:
提取模块, 用于解析接收的报文, 并从报文中提取第一基本属性信息; 转换模块, 用于根据第一基本属性信息和应用属性信息的转换关系将 第一基本属性信息转换为对应的应用属性信息;
业务模块, 用于根据应用属性信息对应的业务项进行业务处理。
9、 如权利要求 8所述的装置, 其特征在于, 还包括:
回复模块, 用于将业务处理结果根据所述应用属性信息的处理结果和 第二基本属性信息的响应转换关系转换为响应的第二基本属性信息, 并将 第二基本属性信息携带在回复报文中, 并发送。
10、 如权利要求 8所述的装置, 其特征在于, 所述第一基本属性信息 包括标准属性信息或者厂商属性信息。
PCT/CN2011/070675 2010-09-27 2011-01-26 一种服务器处理业务的方法及装置 WO2012041029A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010297098.3 2010-09-27
CN201010297098.3A CN101958900B (zh) 2010-09-27 2010-09-27 一种服务器处理业务的方法及装置

Publications (1)

Publication Number Publication Date
WO2012041029A1 true WO2012041029A1 (zh) 2012-04-05

Family

ID=43486006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070675 WO2012041029A1 (zh) 2010-09-27 2011-01-26 一种服务器处理业务的方法及装置

Country Status (2)

Country Link
CN (1) CN101958900B (zh)
WO (1) WO2012041029A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605543B (zh) * 2013-11-19 2017-06-06 北京国双科技有限公司 验证属性转换方法和装置
CN104660403B (zh) * 2013-11-20 2018-02-23 华为技术有限公司 一种设备授权方法及服务器
CN105704082A (zh) * 2014-11-24 2016-06-22 中兴通讯股份有限公司 报文的接收处理、发送处理方法及装置
CN106559503B (zh) * 2015-09-25 2019-10-25 华为技术有限公司 一种基于物联网的通信方法及装置
CN105553790B (zh) * 2015-12-08 2018-07-13 中国联合网络通信集团有限公司 一种数据处理方法及策略服务器
CN111241180A (zh) * 2020-01-13 2020-06-05 中国建设银行股份有限公司 一种信息处理的方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531300A (zh) * 2003-03-17 2004-09-22 华为技术有限公司 多协议兼容性的实现方法
US7580701B2 (en) * 2005-12-27 2009-08-25 Intel Corporation Dynamic passing of wireless configuration parameters
CN101640685A (zh) * 2009-08-12 2010-02-03 福建星网锐捷网络有限公司 一种传递私有属性信息的方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531300A (zh) * 2003-03-17 2004-09-22 华为技术有限公司 多协议兼容性的实现方法
US7580701B2 (en) * 2005-12-27 2009-08-25 Intel Corporation Dynamic passing of wireless configuration parameters
CN101640685A (zh) * 2009-08-12 2010-02-03 福建星网锐捷网络有限公司 一种传递私有属性信息的方法及系统

Also Published As

Publication number Publication date
CN101958900A (zh) 2011-01-26
CN101958900B (zh) 2014-12-10

Similar Documents

Publication Publication Date Title
US11425047B2 (en) Traffic analysis method, common service traffic attribution method, and corresponding computer system
KR101538424B1 (ko) 결제 및 원격 모니터링을 위한 사용자 단말
US7657612B2 (en) XML schema for network device configuration
CN103580980B (zh) 虚拟网络自动发现和自动配置的方法及其装置
CN103152331B (zh) 通过移动终端进行登录/注册的方法、系统和云端服务器
CN105228121B (zh) 使用rest式接口的订户管理
WO2012041029A1 (zh) 一种服务器处理业务的方法及装置
CN103716333B (zh) 用于管理应用账号的方法、终端、服务器和系统
CN104995891B (zh) 处理业务报文的方法、装置和网关设备
CN103812829B (zh) 一种提高远程桌面安全性的方法、远程桌面服务器及系统
JPWO2014142299A1 (ja) 通信端末と通信制御装置と通信システムと通信制御方法並びにプログラム
US10601830B2 (en) Method, device and system for obtaining local domain name
CN108738019B (zh) 融合网络中的用户认证方法及装置
CN107135190B (zh) 基于传输层安全连接的数据流量归属识别方法及装置
WO2011140844A1 (zh) M2m平台处理报文的方法和m2m平台系统
WO2013170818A2 (zh) 错误码转换方法、系统、PPPoE服务器及移动终端
WO2011116598A1 (zh) 一种对网关实现管理的方法及系统
WO2015014085A1 (zh) 一种协议转换的方法及协议转换器
CN101599834B (zh) 一种认证部署方法和一种管理设备
CN106789905A (zh) 一种网络接入设备及方法
CN102299924A (zh) RADIUS服务器与802.1x客户端信息交互、认证方法及系统
CN103401751B (zh) 因特网安全协议隧道建立方法和装置
WO2010124571A1 (zh) 节点信息获取方法、客户端、服务器
CN104468194B (zh) 一种网络设备的兼容方法及转发服务器
CN112838933B (zh) 一种网络流量分析中的信息同步方法、设备及存储介质

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: 11827925

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: 11827925

Country of ref document: EP

Kind code of ref document: A1