CN101136943B - System and method for implementing extended Diameter protocol application - Google Patents

System and method for implementing extended Diameter protocol application Download PDF

Info

Publication number
CN101136943B
CN101136943B CN 200710164086 CN200710164086A CN101136943B CN 101136943 B CN101136943 B CN 101136943B CN 200710164086 CN200710164086 CN 200710164086 CN 200710164086 A CN200710164086 A CN 200710164086A CN 101136943 B CN101136943 B CN 101136943B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
bpm
extended
eam
application
module
Prior art date
Application number
CN 200710164086
Other languages
Chinese (zh)
Other versions
CN101136943A (en )
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
Grant date

Links

Abstract

The system includes basic protocol module (BPM), extended application module (EAM), operational administrative and maintenance module (OAMM). Through provided general-purpose interface (GPI), BPM cooperates with EAM and OAMM to realize supporting each extended application. Using GPI of BPM, OAMM is in use for configuration of new added EAM. Using GPI of BPM, EAM logs in BPM. Logging in BPM, and using services provided by BPM, the invention can transmit extended commands between client end and server end reliably except EAM obtains interested information service from extended commands. The invention is convenient for each extended Diameter application to be realized rapidly.

Description

一种实现扩展Diameter协议应用的系统及方法 A system and method for the realization of extended application Diameter Protocol

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及扩展Diameter协议应用的技术领域。 [0001] The present invention relates to communications technologies, and in particular relates to a technical field extended Diameter protocol applications. 背景技术 Background technique

[0002] Diameter协议作为新一代的AAA(鉴权、认证和计费)协议,针对移动IP、NASREQ 等应用的需求,为网络接入用户提供基本的AAA框架。 [0002] Diameter protocol as a new generation of AAA (authentication, authorization and accounting) protocol, the IP for mobile, and other applications demand NASREQ, an AAA framework for providing basic user network access.

[0003] Diameter协议族包括基础协议和各种扩展应用协议。 [0003] Diameter base protocol suite includes various expansion protocols and application protocols. 基础协议提供了作为一个AAA协议的最低需求,是Diameter网络节点都必须实现的功能,包括节点间能力的协商、 Diameter消息的接收及转发、计费信息的实时传输等。 Base protocol provides the minimum requirements as a AAA protocol, Diameter is the network node must implement functions, including the negotiation capacity between nodes, receiving and forwarding Diameter messages, billing information and other real-time transmission. 扩展应用协议则充分利用基础协议提供的消息传送机制,规范相关节点的功能以及其特有的消息内容,来实现应用业务的AAA。 Extended full use application protocol messaging protocol provides the basic mechanism, and regulate their functions associated node specific message content, AAA is the application service.

[0004] Diameter基础协议中定义了扩展Diameter应用的方法,包括:定义新的应用、定义新的AVP (attribute-value pairs,属性值对)、定义新的AVP values 等。 [0004] Diameter base protocol defined in a way to extend the Diameter application, comprising: a new application definition, define a new AVP (attribute-value pairs, the attribute value pairs), and the like to define a new AVP values. 但是,Diameter 基础协议的实现过程中,并不能估计未来到底扩展哪些应用以及如何扩展,因此,在基础协议的实现过程中需要提供一种通用的方式,适应未来对基础协议的扩展需求,可以很方便快捷的实现扩展应用。 However, the implementation process of the Diameter base protocol, and can not be estimated in the end extension which applications and how to extend the future, therefore, the implementation of the underlying protocol is needed to provide a common way to meet future expansion needs for basic agreement, it can be very convenient to achieve extended application. 但是目前,对于如何实现扩展Diameter协议应用,尚没有具体的实现方法。 But now, for how to extend the Diameter protocol applications, there is no specific method.

发明内容 SUMMARY

[0005] 本发明提供一种实现扩展Diameter协议应用的系统及方法,用以解决现有技术中存在的diameter应用扩展方法不统一问题。 [0005] The present invention provides a system and method for the realization of extended application of the Diameter protocol, the application to solve diameter extension method in the prior art is not uniform problems.

[0006] 本发明的目的是通过以下技术方案实现的: [0006] The object of the present invention is achieved by the following technical solution:

[0007] 本发明提供了一种实现扩展Diameter协议应用的系统,包括:基础协议组件、扩展应用组件和操作管理和维护组件,其中, [0007] The present invention provides a system for implementing extended Diameter protocol applications, comprising: a base protocol components, application components and expansion operations administration and maintenance component, wherein

[0008] 所述基础协议组件,通过其提供的通用接口和扩展应用组件、操作管理和维护组件协作,实现对各种扩展应用的支持;所述通用接口包括:注册接口、配置接口、消息服务接口;所述消息服务接口包括:消息分发接口、编解码接口;所述基础协议组件其中设置有应用注册表和消息分发策略表,所述基础协议组件具体用于,根据所述操作管理和维护组件的配置情况和所述扩展应用组件的注册情况,维护应用注册表和消息分发策略表,以及通过消息分发接口在扩展应用组件和基础协议组件之间传递Diameter扩展命令; [0008] The basic protocol component, common interface and extend its application components provided by operation and maintenance management components cooperate to achieve extended support for various applications; the universal interface comprises: an interface register, configure the interface, the message service an interface; the message service interface comprising: an interface message distribution codec interfaces; wherein the base assembly is provided with a application protocol and message distribution policy registry table, particularly for the base protocol component, according to the operation Administration and maintenance assembly configuration and registration of the extended application components, application registry maintenance policy and the message distribution table, and distributed through an interface between the message component and the extended application Diameter base protocol extension command transmission assembly;

[0009] 所述操作管理和维护组件,用于利用所述基础协议组件的配置接口,配置新增的扩展应用组件; [0009] The operation administration and maintenance component for the base protocol by using the configuration interface components, the configuration of the new application components extension;

[0010] 所述扩展应用组件,用于利用基础协议组件提供的注册接口,向所述基础协议组件注册;所述扩展应用组件还用于,通过编解码接口从Diameter扩展命令请求中取出感兴趣的特殊数据信息,并将处理过的数据封装成Diameter扩展命令应答。 [0010] The extended application assembly for use register interface component provides the base protocol, the base protocol to register assembly; said assembly further extended application for the codec via the interface from the Diameter request extension commands interest removed specific data, and the processed data into the package Diameter extended command response.

[0011] 进一步地,所述基础协议组件中设置有应用注册表和消息分发策略表,则所述基础协议组件还用于根据所述操作管理和维护组件的配置情况和所述扩展应用组件的注册情况,维护应用注册表和消息分发策略表。 [0011] Further, the base assembly is provided with the application protocol and message distribution policy registry table is the base protocol for further assembly and application assembly according to the extended configuration of the assembly and maintenance operations management of registration, registry maintenance application and message distribution policy table.

[0012] 进一步地,所述应用注册表包括以下一种或多种信息:扩展应用标识、通讯地址、 支持的主机名、支持的应用标识、支持的策略标识。 [0012] Further, the application registry includes one or more information: Extended application identity, mailing address, host name support, support for application identification, support the policy identifies.

[0013] 进一步地,所述消息分发策略表包括:通过配置接口配置的分发策略和协议栈指定的默认分发策略。 [0013] Further, the message distribution policy table comprising: an interface specified by the configuration and distribution policy distribution policy default protocol stack.

[0014] 本发明还提供了一种利用上述系统实现Diameter协议扩展应用的方法,所述扩展应用组件通过所述基础协议组件和对等端交互, [0014] The present invention also provides a method of using the Diameter protocol extension application system implementation, the extended application protocol component through the base assembly and the end of the interaction and the like,

[0015] 当作为服务端接收请求并返回应答时,具体包括:所述基础协议组件接收对等端发来的Diameter扩展命令请求,将所述对等端发来的Diameter扩展命令请求上发给所述扩展应用组件;所述扩展应用组件根据接收到的Diameter扩展命令请求生成Diameter扩展命令应答,并将所述Diameter扩展命令应答下发给所述基础协议组件;所述基础协议组件将接收到的所述Diameter扩展命令应答转发给对等端; [0015] When the server receives the request and returns a response comprises: receiving protocol component of the basic peer extended commands sent by the Diameter request, the peer sent Diameter request extended commands sent on the extended application assembly; extend the extended application assembly according to the received command request generates a Diameter Diameter extended command response, and extended under the Diameter base protocol command reply sent to the assembly; component of the received base protocol Diameter of the expanded command reply is forwarded to the peer;

[0016] 当作为客户端发送请求并处理应答时,具体包括:所述扩展应用组件产生diameter扩展命令请求并发送到所述基础协议组件;所述基础协议组件对diameter扩展命令请求进行路由分析后,发送到对等端;所述基础协议组件从对等端接收到diameter扩展命令应答并上发给扩展应用组件;所述扩展应用组件根据diameter扩展命令应答消息携带的业务信息处理业务逻辑。 [0016] When a client sends a request and response process, comprises: generating the extended component application diameter extension command request sent to the base protocol component; diameter of the base assembly extended protocol command request routing analysis sent to the peer; protocol component of the received base diameter and the extended command reply extension sent from a peer end application components; the extended application assembly according to diameter expansion processing command reply service logic service information carried in the message.

[0017] 进一步地,所述基础协议组件根据所述操作管理和维护组件的配置情况以及所述扩展应用组件的注册情况,在所述扩展应用组件和对等端之间传递diameter扩展命令时, 根据diameter命令中携带的应用标识、命令码、路由信息、会话标识对diameter扩展命令进行分发,发送到正确的扩展应用组件和对等端。 [0017] Furthermore, the base assembly according to the protocol configuration management and maintenance of the operating components, and the registration of the extended application components, application components between the extended and expanded diameter when peer transfer command, the application identifier carried in diameter command, a command code, routing information, session identification command distribution of diameter expansion, expansion to the correct application components and peers.

[0018] 综上所述,本发明提供了一种实现扩展Diameter协议应用的系统及方法,通过基础协议组件提供的注册接口、配置接口和消息服务接口,可以在客户端和服务端之间可靠传输扩展命令,方便了各种扩展Diameter协议应用的快速实现。 [0018] In summary, the present invention provides a system and method for implementing extended Diameter protocol application registration interface, an interface and messaging services protocol interfaces provided by the base component, can be reliably between the client and server transmission expansion command, to facilitate the rapid expansion of the Diameter protocol to achieve a variety of applications.

附图说明 BRIEF DESCRIPTION

[0019] 图1为本发明实施例所述系统的层次结构示意图; [0019] Fig 1 a schematic structural diagram of the hierarchical system of the embodiment of the present invention;

[0020] 图2为本发明实施例中,基础协议组件上发扩展命令请求的流程示意图; [0020] FIG. 2 embodiment of the present invention, a schematic diagram hair extension process based on the command request protocol component;

[0021] 图3为本发明实施例,扩展应用组件处理Diameter扩展命令请求,下发Diameter 扩展命令应答的流程示意图; [0021] Figure 3 embodiment, a schematic process flow extended application assembly Diameter request extended commands, extended command response issued Diameter of the present invention;

[0022] 图4为本发明实施例中,基础协议组件转发Diameter扩展命令应答的流程示意图。 [0022] FIG. 4 embodiment of the present invention, the component forwards the Diameter base protocol schematic flow diagram extended command response.

具体实施方式 detailed description

[0023] 下面结合附图对本发明实施例所述实现扩展Diameter应用的系统及利用所述系统进行协议扩展的方法进行详细说明。 [0023] The following embodiments of the method of the present invention is implemented using the system and the system will be extended Diameter application protocol extensions described in detail in conjunction with the accompanying drawings.

[0024] 首先结合附图1对本发明实施例所述实现扩展Diameter应用的系统进行详细阐述。 [0024] First DRAWINGS embodiment of the system for implementing the present invention will be extended Diameter application in detail. [0025] 如图1所示,图1为本发明实施例中所述系统的层次结构示意图。 [0025] As shown in FIG. 1, FIG. 1 is a schematic hierarchical structure of the system according to the invention.

[0026] 所述系统主要包括:基础协议组件、扩展应用组件和OAM(操作管理和维护)组件, 其中, [0026] The system mainly comprising: a base protocol component, and application components extend OAM (Operations Administration and Maintenance) components, wherein

[0027] 基础协议组件,通过其提供的注册接口、配置接口、消息服务接口和扩展应用组件、OAM组件协作,从而能够快速、便捷地实现对各种特殊扩展应用的支持。 [0027] base protocol suite, provided through its registration interface, configuration interface, information service interface and extended application components, OAM collaboration components, which can quickly and easily implement support for a variety of special extension applications.

[0028] 当扩展应用组件通过注册接口向基础协议组件注册后,基础协议组件需要维护其中的应用注册表和消息分发策略表,其中, [0028] When the extended application components registered to the base protocol component through registration interface, the underlying protocol elements to be maintained where the application registry and message distribution policy table, which,

[0029] 应用注册表反映了支持扩展应用的情况,包含的信息有:SvcId(扩展应用标识)、 SvcAddr (通讯地址)、支持的HostName (主机名)、支持的ApplicationId (应用标识)、支持的PolicyId(策略标识)。 [0029] apply the registry reflects the situation of extended application support, the information contained there: SvcId (Extended application identification), SvcAddr (mailing address), supported by the HostName (hostname), supported ApplicationId (application identifier), support PolicyId (policy identifies).

[0030] 消息分发策略表中包含有两种策略: [0030] message distribution policy table contains two strategies:

[0031] 一种是通过配置接口配置的分发策略。 [0031] A distribution policy is configured through the configuration interface. 根据扩展应用的特殊分发需求配置,其中包含了策略ID (标识)和支持的Diameter扩展命令。 Extended application of the special distribution requirements according to the configuration, which includes the policy ID (identification) and Diameter support extended commands. 如果扩展应用组件注册时,注册支持该策略ID,即表示该扩展应用组件接收该策略中包含的Diameter扩展命令。 If the extended application component registration, enrollment support the policy ID, it means that the extension of the application component receives Diameter extension command included in the policy.

[0032] 另一种是协议栈指定的默认分发策略。 [0032] Another protocol stack specified default distribution policy. 如果扩展应用注册时,未注册分发策略, 即按照默认分发策略分发命令。 If you extend the application registration, unregistered distribution strategy, that according to the default distribution policy distribution command. 默认分发策略中包含了所有已经注册的扩展应用组件以及其支持的ApplicationID之间的对应关系。 The default distribution policy contains correspondence between all registered ApplicationID extended application components and their supports. 这种对应关系是一种多对多的关系,即一个ApplicationID可能被多个扩展应用组件注册支持,一个扩展应用组件也可以注册支持多个ApplicationID。 This correspondence relationship is a relationship of many to many, may be ApplicationID i.e., a plurality of extended application component registration support, a component application can be extended to support a plurality of register ApplicationID.

[0033] 基础协议组件在进行消息分发时,优先使用通过配置接口配置的分发策略,其次按照默认分发策略,在多个支持同一ApplicationID的扩展应用之间采用平均分发方式。 [0033] When the base protocol message distribution during assembly, the priority distribution policy configured by using the configuration interface, followed by default distribution policy, using the average between a plurality of supports distributed in the same manner ApplicationID extended application.

[0034] 基础协议组件提供的消息服务接口包括:消息分发接口、编解码接口。 Interface Message Service [0034] The basic protocol components include: message distribution interfaces, codec interface. 基础协议组件通过消息分发接口在扩展应用组件和基础协议组件之间传递Diameter扩展命令;通过编解码接口,扩展应用组件可以从Diameter扩展命令请求中取出感兴趣的特殊数据信息, 并将处理过的数据封装成Diameter扩展命令应答。 Base protocol message distribution component through the interface extension commands passing between extended Diameter application components and infrastructure protocol components; Codec via the interface, a special extension that could be extended application data request command taken out from the Diameter of interest, and the treated Diameter command extended data packaged as a response.

[0035] OAM组件,与基础协议组件和扩展应用组件都有交互,主要实现对Diameter协议栈的操作维护功能。 [0035] OAM components, and the underlying protocol components and extensions are application components interact, the main achievement of the operation of the Diameter protocol stack maintenance functions. 例如:数据配置、信令跟踪、失败观察、数据统计等等。 For example: configuration data, tracking signaling, failed to observe, statistics and so on. 针对本发明实施例,OAM组件主要使用了OAM组件的数据配置功能,通过OAM组件和基础协议组件之间的配置接口,根据各种应用扩展需求,配置新增的扩展应用组件、CommandCodd命令码)及其格式、扩展AVP (属性值对)、扩展AVP values等。 For embodiments of the present invention, the main component OAM function configuration data using OAM assembly through an interface between the base assembly and the OAM protocol component, according to various application extension requirements, new extended configuration application components, CommandCodd command code) its format, extended the AVP (attribute value pair), an extended AVP values ​​and the like.

[0036] 扩展应用组件,实现业务的AAA应用,并且使用基础协议组件提供的注册接口,向基础协议组件注册。 [0036] The extended application components, application service for AAA, and using registration protocol interface base component provides, registered to the base protocol component.

[0037] 下面结合附图2到附图4,对利用上述系统实现扩展Diameter协议应用的方法进行详细说明,当作为服务端接收请求并返回应答时,所述方法具体包括。 [0037] DRAWINGS drawings 2 to 4, the method of application extended Diameter protocol implemented using the system described in detail above, when the server receives the request and returns a response, the method comprises.

[0038] 步骤A :当所述基础协议组件接收对等端发来的Diameter扩展命令请求时,将所述对等端发来的Diameter扩展命令请求上发给所述扩展应用组件; [0038] Step A: when said base component receiving protocol peer extended commands sent Diameter request, the peer sent Diameter request extended commands sent on the extended application assembly;

[0039] 步骤B :所述扩展应用组件根据接收到的Diameter扩展命令请求生成Diameter 扩展命令应答,并将所述Diameter扩展命令应答下发给所述基础协议组件; [0039] Step B: Application of the extended component based on the received request command generates a Diameter Diameter expansion extended command response, and extended under the Diameter base protocol command reply sent to the assembly;

[0040] 步骤C :所述基础协议组件将接收到的所述Diameter扩展命令应答转发给对等端。 [0040] Step C: the Diameter base protocol component of the received command reply is forwarded to the expansion peer.

[0041] 下面对本发明实施例所述方法的各个步骤进行详细阐述。 [0041] Hereinafter, the present invention various steps of the method embodiments described in detail.

[0042] 所述步骤A具体包括:所述基础协议组件收到对等端发来的Diamete扩展命令请求,并且经过路由分析在该Diameter物理节点上的动作为LOCAL,即本地处理后,将所述扩展命令请求上发给扩展应用组件;所述上发过程如图2所示,具体包括以下步骤: [0042] The Step A specifically includes: the base assembly received peer protocol sent by the extended command Diamete request, and the route through the analysis operation on the physical node is Diameter LOCAL, i.e. local treatment, The said request extended commands issued to the extended application assembly; on the development process shown in Figure 2, includes the following steps:

[0043] 步骤201 :基础协议组件从所述Diameter扩展命令请求中取出ApplicationID、 Co_andCode (命令码)AessionID (会话标识)等,如果Diameter扩展命令请求中携带了Destination-Host (目的主机)则也取出; [0043] Step 201: The Diameter base protocol component from the extended command request removed ApplicationID, Co_andCode (command code) AessionID (session identifier) ​​or the like, if extended Diameter command request carries a Destination-Host (destination host) is also removed ;

[0044] 步骤202 :基础协议组件从其维护的分发策略表中检查该命令码对应的策略ID, 如果找到对应的策略ID,则执行步骤203 ;否则执行步骤204 ; [0044] Step 202: Check the protocol component from the basic distribution policy table maintained by the policy ID corresponding to the command code, if the policy corresponding to the ID is found, step 203 is performed; if not, step 204;

[0045] 步骤203 :直接把该Diameter扩展命令请求分发给注册了这个策略ID的扩展应用组件; [0045] Step 203: The Diameter extension command directly requesting extension distributed application components registered ID of the policy;

[0046] 步骤204 :基础协议组件检查默认的分发策略=Diameter扩展命令请求中携带的ApplicationID被哪些扩展应用组件支持,如果没有应用支持该ApplicationID的扩展应用组件,则执行步骤205 ;否则进入步骤206 ; [0046] Step 204: the base protocol component checks the default distribution policy = Diameter extended command carries the ApplicationID is what extended application component support request, if there is no application support the ApplicationID extended application component, execute step 205; otherwise, proceed to step 206 ;

[0047] 步骤205 :基础协议组件返回应用不支持错误; [0047] Step 205: base application does not support the protocol component returns an error;

[0048] 步骤206 :找到支持该ApplicationID的扩展应用组件,如果命令请求中没有携带Destination-Host,则执行步骤207 ;否则进入步骤步骤208 ; [0048] Step 206: find the ApplicationID component supports extended application, if the request command does not carry the Destination-Host, execute step 207; otherwise, proceed to Step 208;

[0049] 步骤207 :根据命令请求中携带的会话标识计算hash(哈希)值并对支持该ApplicationID的扩展应用组件的个数取模,在多个扩展应用组件之间平均分发; [0049] Step 207: calculating a hash value (hash) according to the session identifier carried in the request command and the support extension ApplicationID application components modulo the number average distribution between a plurality of extended application components;

[0050] 步骤208 :找到支持该ApplicationID的扩展应用组件,并且命令请求中携带了Destination-Host,则在支持该ApplicationID的扩展应用组件中,比较注册时的主机名和Destination-Host是否一致,一致则执行步骤209 ;否则进入步骤210。 [0050] Step 208: found extended application component supports the ApplicationID, and the command request carries a Destination-Host, the support extended application components of the ApplicationID, the host name of the comparison register and Destination-Host whether identical, then performing step 209; otherwise, proceed to step 210.

[0051] 步骤209 :分发给该扩展应用组件; [0051] Step 209: The extension distributed application components;

[0052] 步骤210 :支持该ApplicationID的扩展应用组件都不是该命令请求的目的地,则基础协议返回目的无法到达错误。 [0052] Step 210: The ApplicationID extension support assembly is not applied to the command request destination, the object does not reach the underlying protocol returns an error.

[0053] 以上对所述步骤A的描述是如何将一条Diameter扩展命令请求上发给扩展应用组件。 [0053] The above description of the step A is how to extend a Diameter request command issued to extend the application components.

[0054] 所述步骤B中,扩展应用组件处理Diameter扩展命令请求的过程如图3所示,具体包括以下步骤: [0054] In the step B, the extended application processing component Diameter command request extension shown in Figure 3, includes the following steps:

[0055] 步骤301 :扩展应用组件通过消息服务接口收到一条Diameter扩展命令请求; [0055] Step 301: the extended message service application components through the extended command interface receives a Diameter request;

[0056] 步骤302 :通过编解码接口,对所述扩展命令请求进行解码; [0056] Step 302: the codec via the interface, for decoding the extended command request;

[0057] 步骤303 :获取处理业务逻辑所需要的数据信息,进行业务逻辑处理,为产生应答消息组织数据,其中,所述处理业务逻辑所需的数据信息是指由具体的扩展应用决定的。 [0057] Step 303: obtain data information required for processing business logic, business logic processing, to generate a reply message organizational data, wherein said data processing service logic required information is determined by the specific application extension. 比如,如果是计费应用,则对一些计费数据感兴趣,要处理计费逻辑;如果是认证应用,则对一些鉴权认证数据感兴趣,由应用个不同而不同。 For example, if a billing application, the number of interested charging data to billing processing logic; if authentication application, the number of authentication of the authentication data of interest, by the application of different different.

[0058] 步骤304 :使用编解码接口,对产生的应答数据进行编码,产生Dimeter扩展命令应答; [0058] Step 304: using a codec interface of the response data generated by encoding the generated Dimeter extended command response;

[0059] 步骤305 :使用消息服务接口,将封装的Diameter扩展命令应答下发给基础协议组件。 [0059] Step 305: using the message service interface, the package will expand a Diameter base protocol delivers the command response component.

[0060] 步骤C中,基础协议组件将扩展应用组件生成的Diameter扩展命令应答转发给对等端,具体过程如图4所示,包括以下步骤: [0060] Step C, the base assembly to extend the Diameter protocol extended commands generated by application component forwards the response to the peer, the specific procedure shown in Figure 4, comprising the steps of:

[0061] 步骤401 :基础协议组件从扩展应用组件下发的Diameter扩展命令应答中取出Session-ID (会话标识); [0061] Step 401: based protocol component from the component delivered by the extended applications extended command response Diameter removed Session-ID (session identifier);

[0062] 步骤402 =Diameter基础协议对从其保存的会话实例中查找匹配的Session-ID, 找不到,则执行步骤403 ;找到,则执行步骤404 ; [0062] Step 402 = Diameter base protocol to find a matching stored session instance from the Session-ID, not found, proceed to step 403; found, step 404 is performed;

[0063] 步骤403 :进入错误处理过程,提示上层扩展应用组件无匹配的会话。 [0063] Step 403: Enter Error processing that the session is no upper extension application components match.

[0064] 步骤404 :从匹配的会话实例中,找到对等端地址及对应的出局链路,将所述扩展命令应答通过出局链路发送到对等端。 [0064] Step 404: matching the instance of the session, the peer address and find the corresponding outgoing link, the extended command response is sent to the peer by the outgoing link.

[0065] 当作为客户端发送请求并处理应答时,所述方法具体包括步骤如下: [0065] When a client sends a request and response process, the method comprises the steps of:

[0066] 所述扩展应用组件产生diameter扩展命令请求并发送到所述基础协议组件; [0066] The extended application protocol component of the base assembly generates a command request sent expanded diameter;

[0067] 步骤所述基础协议组件对diameter扩展命令请求进行路由分析后,发送到对等端; After [0067] the step of assembly of the diameter base protocol extended route request command analysis, sent to the peer;

[0068] 所述基础协议组件从对等端接收到diameter扩展命令应答并上发给扩展应用组件; [0068] The base assembly received from a peer protocol termination diameter and the extended command response sent to extend application components;

[0069] 所述扩展应用组件根据diameter扩展命令应答消息携带的业务信息处理业务逻辑。 [0069] The extended application business logic component service information carried in the response message diameter extended commands.

[0070] 所述作为客户端发送请求并处理应答的具体实现过程,与上述所述作为服务端接收请求并返回应答的具体处理过程类似,本领域普通技术人员根据所述作为客户端发送请求并处理应答的具体实现过程即可实现所述作为服务端接收请求并返回应答的具体处理过程,所以此处就不再赘述。 [0070] The client sends a request and a response to specific implementation process, the above-described specific process receives the server request and returns a response similar to the process of ordinary skill in the art in accordance with the transmission request as a client, and the specific implementation process response can be realized for receiving the request and returns the response to the specific process as a server, so it is not repeated here.

[0071] 综上所述,采用本发明实施例所述的实现扩展Diameter应用的系统及方法,通过向基础协议组件注册,使用基础协议组件提供的服务,可以在客户端和服务端之间可靠传输扩展命令,而扩展应用组件只需要从扩展命令中获取感兴趣的业务信息,方便了各种扩展Diameter应用的快速实现。 [0071] In summary, the present invention is a system and method to achieve extended Diameter application according to the embodiment, by registering the protocol component to the base, using a service provided by the underlying protocol component, can be reliably between the client and server transmission expansion command, and extend the application components just from the extended command in the service of interest to obtain information, to facilitate the rapid expansion of Diameter achieve a variety of applications.

[0072] 以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 [0072] The above are only the preferred specific embodiments of the invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the scope of the invention disclosed can be easily thought variations or replacements shall fall within the protection scope of the present invention. 因此,本发明的保护范围应该以权利要求书的保护范围为准。 Accordingly, the scope of the present invention, the scope of the claims should prevail.

Claims (6)

  1. 1. 一种实现扩展Diameter协议应用的系统,其特征在于,包括:基础协议组件、扩展应用组件和操作管理和维护组件,其中,所述基础协议组件,通过其提供的通用接口和扩展应用组件、操作管理和维护组件协作,实现对各种扩展应用的支持;所述通用接口包括:注册接口、配置接口、消息服务接口; 所述消息服务接口包括:消息分发接口、编解码接口;所述基础协议组件中设置有应用注册表和消息分发策略表,所述基础协议组件具体用于,根据所述操作管理和维护组件的配置情况和所述扩展应用组件的注册情况,维护应用注册表和消息分发策略表,以及通过消息分发接口在扩展应用组件和基础协议组件之间传递Diameter扩展命令;所述操作管理和维护组件,用于利用所述基础协议组件的配置接口,配置新增的扩展应用组件;所述扩展应用组件,用于 1. A system for implementing extended Diameter protocol applications, characterized by comprising: a base protocol component, application components and expansion operations administration and maintenance component, wherein said component base protocol, common interface and extend its application components provided by operation and maintenance management components cooperate to achieve extended support for various applications; the universal interface comprises: an interface register, configure the interface, the service interface message; the message service interface comprising: an interface message distribution codec interfaces; the basic protocol component is provided in the application registry table and message distribution policy, particularly for the base protocol component, according to the configuration of the assembly and maintenance operations management and registration of the extended application assembly, and maintenance applications registry message distribution policy table, and communicating commands between the extended spreading Diameter application components and infrastructure components via the message distribution protocol interfaces; the operation administration and maintenance component for assembly with the base configuration interface protocol, the configuration of the new extension application components; the extended application component, for 用基础协议组件提供的注册接口,向所述基础协议组件注册;所述扩展应用组件还用于,通过编解码接口从Diameter扩展命令请求中取出感兴趣的特殊数据信息,并将处理过的数据封装成Diameter扩展命令应答。 - basic component provides registration interface protocol, the base protocol to register assembly; said assembly further extended application for the extended specific information data request command of interest from the Diameter removed by the codec interface and processed data Diameter encapsulated extended command response.
  2. 2.根据权利要求1所述的系统,其特征在于,所述基础协议组件中设置有应用注册表和消息分发策略表,则所述基础协议组件还用于根据所述操作管理和维护组件的配置情况和所述扩展应用组件的注册情况,维护应用注册表和消息分发策略表。 2. The system according to claim 1, wherein said base assembly is provided with the application protocol and message distribution policy registry table is the base protocol for the further assembly operations administration and maintenance component according configuration and registration of the extension application components, and registry maintenance application message distribution policy table.
  3. 3.根据权利要求2所述的系统,其特征在于,所述应用注册表包括以下一种或多种信息:扩展应用标识、通讯地址、支持的主机名、支持的应用标识、支持的策略标识。 3. The system of claim 2, wherein the application comprises one or more registry information: Extended application identification, communication address, hostname support, the support application identifier, supported policy identifies .
  4. 4.根据权利要求2所述的系统,其特征在于,所述消息分发策略表包括:通过配置接口配置的分发策略和协议栈指定的默认分发策略。 4. The system of claim 2, wherein the message distribution policy table comprising: an interface specified by the configuration and distribution policy distribution policy default protocol stack.
  5. 5.利用权利要求1所述的系统实现扩展Diameter协议应用的方法,其特征在于,所述扩展应用组件通过所述基础协议组件和对等端交互,包括:当作为服务端接收请求并返回应答时,所述基础协议组件接收对等端发来的Diameter 扩展命令请求,将所述对等端发来的Diameter扩展命令请求上发给所述扩展应用组件;所述扩展应用组件根据接收到的Diameter扩展命令请求生成Diameter扩展命令应答,并将所述Diameter扩展命令应答下发给所述基础协议组件;所述基础协议组件将接收到的所述Diameter扩展命令应答转发给对等端;当作为客户端发送请求并处理应答时,所述扩展应用组件产生diameter扩展命令请求并发送到所述基础协议组件;所述基础协议组件对diameter扩展命令请求进行路由分析后,发送到对等端;所述基础协议组件从对等端接收到diameter扩展命令应答并上发给扩 5. Use as claimed in claim 1, the system of the method to achieve extended Diameter protocol application, wherein the extended end of the interactive application component through the base assembly and the peer protocol, comprising: when receiving a request and the server returns a response as a when the base component receiving protocol peer extended commands sent Diameter request, the peer sent Diameter request extended commands sent on the extended application assembly; the extended component based on the received application extended Diameter Diameter command extended command response request generator, and extended under the Diameter base protocol command reply sent to the assembly; the assembly of the base protocol to the received Diameter command extended forwards the response to the peer; deemed when the client sends a request and response process, the extended application component generates a command request sent expanded diameter of the base protocol component; the diameter of the base assembly extended protocol command request routing analysis, sent to the peer; the diameter base protocol component receives said extended command response from the peer end and the distributed spread 应用组件;所述扩展应用组件根据diameter扩展命令应答消息携带的业务信息处理业务逻辑。 Application components; the extended application component service information response message carries a service logic processing according to the diameter of extended commands.
  6. 6.根据权利要求5所述的方法,其特征在于,所述基础协议组件根据所述操作管理和维护组件的配置情况以及所述扩展应用组件的注册情况,在所述扩展应用组件和对等端之间传递diameter扩展命令时,根据diameter命令中携带的应用标识、命令码、路由信息、会话标识对diameter扩展命令进行分发,发送到正确的扩展应用组件和对等端。 6. The method according to claim 5, wherein said base assembly according to the protocol configuration management and maintenance of the operating components, and the registration of the extended application components, application components and in the extended peer when passing between the end extended command diameter, depending on the application identifier carried in diameter command, a command code, routing information, session identification command distribution of diameter expansion, expansion to the correct application components and peers.
CN 200710164086 2007-10-18 2007-10-18 System and method for implementing extended Diameter protocol application CN101136943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710164086 CN101136943B (en) 2007-10-18 2007-10-18 System and method for implementing extended Diameter protocol application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710164086 CN101136943B (en) 2007-10-18 2007-10-18 System and method for implementing extended Diameter protocol application

Publications (2)

Publication Number Publication Date
CN101136943A true CN101136943A (en) 2008-03-05
CN101136943B true CN101136943B (en) 2011-06-22

Family

ID=39160764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710164086 CN101136943B (en) 2007-10-18 2007-10-18 System and method for implementing extended Diameter protocol application

Country Status (1)

Country Link
CN (1) CN101136943B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2534811A4 (en) * 2010-02-12 2014-02-19 Tekelec Inc Methods, systems, and computer readable media for diameter network management
WO2011100603A3 (en) * 2010-02-12 2011-12-15 Tekelec Methods, systems, and computer readable media for providing peer routing at a diameter node
US9647936B2 (en) 2010-02-12 2017-05-09 Tekelec, Inc. Methods, systems, and computer readable media for routing diameter messages at a diameter signaling router
CN101873322A (en) * 2010-06-17 2010-10-27 中兴通讯股份有限公司 Diameter protocol interface system and realization method thereof
US9148388B2 (en) 2013-05-23 2015-09-29 Tekelec, Inc. Methods, systems, and computer readable media for performing enhanced service routing
US9729454B2 (en) 2015-01-21 2017-08-08 Oracle International Corporation Methods, systems, and computer readable media for balancing diameter message traffic received over long-lived diameter connections

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744601A (en) 2004-08-06 2006-03-08 微软公司 System and method for generating selectable extension to media transport protocol
CN1777156A (en) 2005-11-30 2006-05-24 北京邮电大学 Gateway for next-generation network, dynamic extending, and open interface technology
CN1905605A (en) 2005-07-29 2007-01-31 Ut斯达康通讯有限公司 Charging method for cluster communication in IMS/PoC system
KR20070044542A (en) 2005-10-25 2007-04-30 주식회사 케이티 System based on diameter protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744601A (en) 2004-08-06 2006-03-08 微软公司 System and method for generating selectable extension to media transport protocol
CN1905605A (en) 2005-07-29 2007-01-31 Ut斯达康通讯有限公司 Charging method for cluster communication in IMS/PoC system
KR20070044542A (en) 2005-10-25 2007-04-30 주식회사 케이티 System based on diameter protocol
CN1777156A (en) 2005-11-30 2006-05-24 北京邮电大学 Gateway for next-generation network, dynamic extending, and open interface technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周贤伟等.一种集成化的基于Diameter的AAA服务器设计方案.计算机应用研究24 5.2007,24(5),253-255.

Also Published As

Publication number Publication date Type
CN101136943A (en) 2008-03-05 application

Similar Documents

Publication Publication Date Title
US6801528B2 (en) System and method for dynamic simultaneous connection to multiple service providers
US20060117174A1 (en) Method of auto-configuration and auto-prioritizing for wireless security domain
US20040010713A1 (en) EAP telecommunication protocol extension
Perkins Mobile IP joins forces with AAA
US20030079144A1 (en) Service control network, server, network device, service information distribution method, and service information distribution program
Wang et al. ICEBERG: An Internet core network architecture for integrated communications
US20060182123A1 (en) Method for aggregating data traffic over an access domain and nodes therefor
US7870389B1 (en) Methods and apparatus for authenticating mobility entities using kerberos
US7844745B1 (en) Alternate home subscriber server (HSS) node to receive a request if a first HSS node cannot handle said request
CN1553741A (en) Method and system for providing user network roam
US20060288406A1 (en) Extensible authentication protocol (EAP) state server
US20050249176A1 (en) Methods and apparatus for supporting session signaling and mobility management in a communications system
US20050088971A1 (en) Enhanced local aaa redirector
CN1870532A (en) Signalling tracking method and system
CN101146051A (en) An enterprise-level instant communication interconnection system and method for realizing enterprise interconnection
WO2002071720A1 (en) Addressing method and system for using an anycast address
CN101155196A (en) Service-oriented IPv6 address specification and distribution method, terminal and system for implementing the same
US20120221725A1 (en) System and method to control application to application communication over a network
US20100254395A1 (en) Methods and apparatus for routing data to nodes
US20080235768A1 (en) System and method for authentication of a communication device
CN101662511A (en) Network address distributing method, DHCP server, access system and method thereof
JP2008506139A (en) Manage user authentication and service authorization, to achieve single-sign-on, a system and method for accessing a plurality of network interfaces
CN101155030A (en) Network resource integration access method based on registration and authentication
CN101789904A (en) Method and equipment for controlling flow
US20150188769A1 (en) Method and device thereof for automatically finding and configuring virtual network

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted