WO2011009256A1 - Distributed access gateway system - Google Patents

Distributed access gateway system Download PDF

Info

Publication number
WO2011009256A1
WO2011009256A1 PCT/CN2009/075312 CN2009075312W WO2011009256A1 WO 2011009256 A1 WO2011009256 A1 WO 2011009256A1 CN 2009075312 W CN2009075312 W CN 2009075312W WO 2011009256 A1 WO2011009256 A1 WO 2011009256A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
resource
user
unit
service
Prior art date
Application number
PCT/CN2009/075312
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011009256A8 (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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011009256A1 publication Critical patent/WO2011009256A1/en
Publication of WO2011009256A8 publication Critical patent/WO2011009256A8/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers

Abstract

The present invention discloses a distributed access gateway system. The system includes: one or more access nodes, which are used to monitor and report the status information and event information of both the terminal devices and the resource channels; user/resource management unit, which is used to manage the user and resource corresponding to the one or more access nodes; node control unit, which is used to maintain the status information reported by the one or more access nodes, and perform data exchange with access nodes and/or service process unit respectively; service configuration unit, which is used to store the configuration information of the user and resource corresponding to the one or more access nodes; service process unit, which is used to process the event information from the node control unit and/or access protocol unit; access protocol unit, which is used to provide access protocol interface for the access gateway system. According to the solution provided by the present invention, the amount of media gateways can be reduced, and convenience is brought to the service management of the telecommunication operating management.

Description

分布式接入网关系统 技术领域  Distributed Access Gateway System Technical Field
本发明涉及接入网关技术, 尤其涉及一种分布式接入网关系统。 背景技术  The present invention relates to access gateway technologies, and in particular, to a distributed access gateway system. Background technique
在通常的通过 H.248 协议和 /或媒体网关控制协议 (MGCP , Media Gateway Control Protocol )协议接入的 VoIP接入系统中, 媒体网关 ( MG, Media Gateway )是一个 IP网络节点。基于 IP网络的语音传输( VoIP, Voice Over Internet Protocol ) 的用户和媒体资源作为媒体网关的一部分, 通过媒 体网关所提供的 H.248协议和 /或 MGCP协议接入到核心网软交换系统。  In a typical VoIP access system accessed through the H.248 protocol and/or the Media Gateway Control Protocol (MGCP), the Media Gateway (MG) is an IP network node. The user and media resources of Voice over Internet Protocol (VoIP) are used as part of the media gateway to access the core network softswitch system through the H.248 protocol and/or MGCP protocol provided by the media gateway.
由于媒体网关既负责媒体资源的管理和控制, 又负责用户的接入, 所 以媒体网关又可以看作接入网关 (AG, Access Gateway )„  Since the media gateway is responsible for the management and control of media resources and is responsible for user access, the media gateway can be regarded as an access gateway (AG, Access Gateway).
相关技术中, 对于把媒体管理、 控制与用户接入紧紧耦合在一起的媒 体网关系统而言, 随着媒体网关容量越来越微型化、 媒体网关的数量越来 越多, 业务网络上将会出现大量的媒体网关节点。 因此, 对电信运营的业 务管理带来不便。 并且, 媒体网关都是定制化的嵌入式设备, 每个媒体网 关都需要实现接入协议和进行本地业务处理和配置等复杂逻辑计算, 对媒 体网关设备的硬件配置要求较高, 当媒体网关数量大大增加时, 建网成本 也会大大增长。 发明内容  In the related art, for a media gateway system that tightly couples media management, control, and user access, as the capacity of the media gateway becomes more and more miniaturized, and the number of media gateways increases, the service network will A large number of media gateway nodes will appear. Therefore, it is inconvenient for the business management of telecommunications operations. Moreover, the media gateways are all customized embedded devices, and each media gateway needs to implement complex logic calculations such as access protocols and local service processing and configuration, and has high requirements on hardware configuration of media gateway devices, when the number of media gateways When the number is greatly increased, the cost of network construction will also increase greatly. Summary of the invention
针对相关技术中随着媒体网关数量越来越多, 对电信运营的业务管理 带来不便以及建网成本较高的问题而提出本发明, 为此, 本发明的主要目 的在于提供一种改进的分布式接入网关系统, 以解决上述问题至少之一。 根据本发明, 提供了一种分布式接入网关系统。 The present invention has been made in view of the increasing number of media gateways in the related art, the inconvenience to the service management of telecommunication operations, and the high cost of network construction. To this end, the main object of the present invention is to provide an improved A distributed access gateway system to solve at least one of the above problems. According to the present invention, a distributed access gateway system is provided.
该分布式接入网关系统包括: 一个或多个接入节点、 用户 /资源管理单 元、 节点控制单元、 业务配置单元、 业务处理单元、 接入协议单元, 其中, 一个或多个接入节点, 与终端设备相连接, 用于监测并上报终端设备的状 态信息和事件信息、 以及资源通道的状态信息和事件信息; 用户 /资源管理 单元, 分别与节点控制单元和业务处理单元相连接, 用于管理一个或多个 接入节点相对应的用户和资源; 节点控制单元, 与一个或多个接入节点和 业务处理单元相连接, 用于维护一个或多个接入节点上报的状态信息和事 件信息, 并分别与接入节点和 /或业务处理单元进行数据交互; 业务配置单 元, 分别与节点控制单元和业务处理单元相连接, 用于存储一个或多个接 入节点相对应的用户和资源的配置信息; 业务处理单元, 与节点控制单元 相连接, 用于对来自于节点控制单元和 /或接入协议单元的事件信息进行处 理; 接入协议单元, 与业务处理单元相连接, 用于为接入网关系统提供接 入协议接口。 这里需要指出的是: 所述一个或多个接入节点上报的状态信 息中的 "状态信息"指: 接入节点的状态信息。 所述一个或多个接入节点相 对应的用户和资源的配置信息中的 "资源的配置信息" 区别于 "资源通道 的状态信息", "资源的配置信息"是静态的, 而 "资源通道的状态信息" 是 动态的。  The distributed access gateway system includes: one or more access nodes, a user/resource management unit, a node control unit, a service configuration unit, a service processing unit, and an access protocol unit, where one or more access nodes, Connected with the terminal device, used for monitoring and reporting status information and event information of the terminal device, and status information and event information of the resource channel; the user/resource management unit is respectively connected to the node control unit and the service processing unit, and is used for Management of one or more access nodes corresponding to users and resources; a node control unit, connected to one or more access nodes and service processing units, for maintaining status information and events reported by one or more access nodes Information, and respectively interacting with the access node and/or the service processing unit; the service configuration unit is respectively connected to the node control unit and the service processing unit, and is configured to store corresponding users and resources of one or more access nodes Configuration information; business processing unit, with node control unit Then, the event information for the node from the control unit and / or access protocol unit performs processing; access protocol unit, connected with the service processing unit, for providing access to an access protocol interface gateway system. It should be noted here that the "status information" in the status information reported by the one or more access nodes refers to: status information of the access node. The "resource configuration information" in the configuration information of the user and resource corresponding to the one or more access nodes is different from the "resource channel state information", "resource configuration information" is static, and "resource channel" The status information" is dynamic.
通过本发明, 将分布于 IP网络上的多个节点通过统一的接入网关和接 入协议接入到核心网软交换系统, 解决了随着媒体网关数量越来越多, 对 电信运营的业务管理带来不便以及建网成本较高的问题, 进而可以减少媒 体网关的数量, 为电信运营管理中的业务管理带来便利, 并且, 通过把大 计算量的接入事务处理和资源管理工作部署到通用计算机或分布式计算集 群上, 降低了对接入节点硬件设备的性能要求, 从而有效降低建网成本。  Through the invention, multiple nodes distributed on the IP network are connected to the core network softswitch system through a unified access gateway and an access protocol, and the service for the telecommunication operation is solved with the increasing number of media gateways. The inconvenience of management and the high cost of network construction can reduce the number of media gateways, facilitate business management in telecom operation management, and deploy large-volume access transaction processing and resource management work. On a general-purpose computer or a distributed computing cluster, the performance requirements of the access node hardware devices are reduced, thereby effectively reducing the network construction cost.
本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从 说明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其 他优点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结 构来实现和获得。 附图说明 Other features and advantages of the present invention will be set forth in the description which follows, and, in part, It will be apparent from the description or the description of the invention. The objectives and other advantages of the invention will be realized and attained by the <RTI DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一 部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发 明的不当限定。 在附图中:  The drawings described herein are intended to provide a further understanding of the present invention, and are intended to be a part of the present invention, and the description of the present invention is not intended to limit the invention. In the drawing:
图 1为根据本发明实施例的分布式接入网关系统的架构图;  1 is a block diagram of a distributed access gateway system according to an embodiment of the present invention;
图 2为根据本发明实施例的分布式接入网关系统的结构框图; 图 3为根据本发明优选实施例的分布式接入网关系统的结构框图; 图 4为根据本发明实例一的接入节点上线处理的流程图;  2 is a structural block diagram of a distributed access gateway system according to an embodiment of the present invention; FIG. 3 is a structural block diagram of a distributed access gateway system according to a preferred embodiment of the present invention; FIG. 4 is an access according to an example 1 of the present invention. Flowchart of node online processing;
图 5为根据本发明实例二的用户端口事件处理的流程图;  5 is a flowchart of user port event processing according to Example 2 of the present invention;
图 6为根据本发明实例三的资源分配处理的流程图;  6 is a flowchart of resource allocation processing according to Example 3 of the present invention;
图 7为根据本发明实例四的资源归还处理的流程图;  7 is a flow chart of resource return processing according to Example 4 of the present invention;
图 8为根据本发明实例五的协议事务处理的流程图。 具体实施方式  Figure 8 is a flow diagram of protocol transaction processing in accordance with Example 5 of the present invention. detailed description
考虑到相关技术中随着媒体网关数量越来越多, 对电信运营的业务管 理带来不便以及建网成本较高的问题, 本发明实施例提供了一种分布式接 入网关系统, 该系统包括: 一个或多个接入节点、 用户 /资源管理单元、 节 点控制单元、 业务配置单元、 业务处理单元、 接入协议单元, 其中, 一个 或多个接入节点, 与终端设备相连接, 用于监测并上报终端设备的状态信 息和事件信息以及资源通道的状态信息和事件信息; 用户 /资源管理单元, 分别与节点控制单元和业务处理单元相连接, 用于管理一个或多个接入节 点相对应的用户和资源; 节点控制单元, 与一个或多个接入节点和业务处 理单元相连接, 用于维护一个或多个接入节点上报的状态信息, 并分别与 接入节点和 /或业务处理单元进行数据交互; 业务配置单元, 分别与节点控 制单元和业务处理单相连接, 用于存储一个或多个接入节点相对应的用户 和资源的配置信息; 业务处理单元, 分别与节点控制单元相连接, 用于对 来自于节点控制单元和 /或接入协议单元的事件信息进行处理; 接入协议单 元, 与业务处理单元相连接, 用于为接入网关系统提供接入协议接口。 根 据本发明实施例, 将接入协议和本地业务处理和配置部署到成本较低的接 入网关上, 接入网关可以釆用通用计算机或低成本计算集群(Cluster ), 降 低了对接入节点设备的硬件配置要求, 可有效降低建网成本。 其中, 通用 计算机可以为个人计算机( PC )或小型工作站( Work Station )。 The present invention provides a distributed access gateway system, which provides a problem of inconvenience to the service management of the telecommunication operation and a high cost of network construction, in view of the increasing number of media gateways in the related art. The method includes: one or more access nodes, a user/resource management unit, a node control unit, a service configuration unit, a service processing unit, and an access protocol unit, where one or more access nodes are connected to the terminal device, Monitoring and reporting status information and event information of the terminal device and status information and event information of the resource channel; the user/resource management unit is respectively connected to the node control unit and the service processing unit for managing one or more access nodes Corresponding users and resources; node control unit, with one or more access nodes and service offices The management unit is connected to maintain state information reported by one or more access nodes, and performs data interaction with the access node and/or the service processing unit respectively; the service configuration unit is separately associated with the node control unit and the service processing single phase a connection, configured to store configuration information of a user and a resource corresponding to one or more access nodes; a service processing unit, respectively connected to the node control unit, for accessing the node control unit and/or the access protocol unit The event information is processed; the access protocol unit is connected to the service processing unit and is configured to provide an access protocol interface for the access gateway system. According to the embodiment of the invention, the access protocol and the local service processing and configuration are deployed to the lower cost access gateway, and the access gateway can use a general-purpose computer or a low-cost computing cluster to reduce the access node. The hardware configuration requirements of the device can effectively reduce the cost of network construction. The general purpose computer can be a personal computer (PC) or a small work station (Work Station).
需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的 特征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。  It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
本发明提供了一种分布式接入网关系统。 为了更好地理解本发明的技 术方案, 首先结合图 1 描述分布式接入网关系统的架构。 其中, 上述系统 包括但不限于 VoIP接入网关系统。图 1为根据本发明实施例的分布式 VoIP 接入网关系统的架构图。 如图 1 所示, 根据本发明实施例的分布式接入网 关系统主要包括以下几个组成部分:  The present invention provides a distributed access gateway system. In order to better understand the technical solution of the present invention, the architecture of the distributed access gateway system will first be described in conjunction with FIG. The above system includes but is not limited to a VoIP access gateway system. 1 is a block diagram of a distributed VoIP access gateway system in accordance with an embodiment of the present invention. As shown in FIG. 1, a distributed access gateway system according to an embodiment of the present invention mainly includes the following components:
1、 接入节点 10 - lx  1, access node 10 - lx
语音用户的终端通过电话线缆连接到接入节点 10 _ lx (表示 X个接入 节点), 接入节点 10 - lx提供包括但不限于铃流、 放音、 按键检测、 主叫 号码信息识别及传送( CID, Calling Identity Delivery )显示、媒体流等资源, 为本接入节点的用户的呼叫建立过程的提供信号服务, 并在呼叫建立后为 用户提供媒体流服务。 接入节点 10 - lx提供用户和资源的控制接口。 如果 接入节点内部有比较复杂的时隙交换网络, 还应当完成内部从资源到用户 和 /或从用户到资源的时隙接续。 其中, 针对按键检测而言, 包括: 双音多 频(DTMF , Dual-tone Multifrequency )信号或脉冲信号的检测。 当接入节点 10 - lx上线时, 需要向分布式节点控制单元报告本节点的 所有用户、 资源的状态, 以便对接入节点 10 - lx上的用户进行业务控制, 并且对接入节点上的资源进行管理和操作。 The voice user's terminal is connected to the access node 10 _ lx (representing X access nodes) through a telephone cable, and the access node 10 - lx provides, but is not limited to, ringing, playback, button detection, and calling number information identification. And the CID (Calling Identity Delivery) display, media stream and other resources provide signal services for the call setup process of the user of the access node, and provide the media stream service for the user after the call is established. Access nodes 10 - lx provide control interfaces for users and resources. If there is a relatively complex time slot switching network inside the access node, the internal time slot from the resource to the user and/or from the user to the resource should also be completed. Among them, for the button detection, including: Detection of DTMF (Dual-tone Multifrequency) signals or pulse signals. When the access node 10 - lx goes online, it is required to report the status of all users and resources of the node to the distributed node control unit, so as to perform service control on the users on the access nodes 10 - lx, and on the access node Resources are managed and operated.
接入节点 10 - lx上的用户端口和资源的基本配置信息可以本地持有, 也可以从业务配置单元获取。 当需要从业务配置单元获取时, 接入节点在 线时, 应当可以接收节点控制单元下达的关于本节点用户的一些端口属性 配置信息, 其中, 该信息包括但不限于端口增益、 振铃模式、 初始振铃设 置等。 接入节点在线时, 还应当可以接收节点控制单元下达的媒体资源的 通道基本属性配置信息, 其中, 该信息包括但不限于回声抑制、 传真模式 配置等。  The basic configuration information of the user port and resources on the access nodes 10 - lx can be held locally or obtained from the service configuration unit. When the access node needs to be obtained from the service configuration unit, the access node should be able to receive some port attribute configuration information about the user of the node issued by the node control unit, where the information includes but is not limited to port gain, ringing mode, initial Ringing settings, etc. When the access node is online, it should also receive the channel basic attribute configuration information of the media resource issued by the node control unit, where the information includes but is not limited to echo suppression, fax mode configuration, and the like.
接入节点 10 - lx还须负责本接入节点上的用户端口事件和资源通道事 件的观察和上报。 用户端口事件包括但不限于用户的摘机、 挂机、 拍叉簧、 按键等事件。 资源通道事件包括但不限于通道故障、 媒体流 QoS报告等事 件。 接入节点 10 - lx观察到用户端口事件和资源通道事件后, 上报给相应 单元处理。  The access nodes 10 - lx are also responsible for the observation and reporting of user port events and resource channel events on the access node. User port events include, but are not limited to, user off-hook, on-hook, hook hook, button, and the like. Resource channel events include, but are not limited to, channel failures, media stream QoS reports, and more. After the access node 10 - lx observes the user port event and the resource channel event, it reports it to the corresponding unit for processing.
2、 节点控制单元 20  2, node control unit 20
节点控制单元负责维护本分布式 VoIP接入网关系统的所有接入节点的 状态信息。 接入节点 10 - lx上线时, 需要向节点控制单元发送上线请求消 息, 并上报接入节点上所有用户和资源的状态。 接入节点 10 - lx上线后, 节点控制单元实时监督节点的状态,如接入节点状态发生变化(譬如离线), 则告知相关单元进行处理。  The node control unit is responsible for maintaining state information of all access nodes of the distributed VoIP access gateway system. When the access node 10 - lx goes online, it needs to send an online request message to the node control unit, and report the status of all users and resources on the access node. After the access node 10 - lx goes online, the node control unit supervises the state of the node in real time. If the status of the access node changes (for example, offline), the relevant unit is notified to perform processing.
节点控制单元还负责与本分布式 VoIP接入网关系统的所有接入节点通 信, 包括向所有接入节点下达用户和 /或资源的控制命令, 以及接收所有接 入节点上报的用户端口和 /或资源通道事件。 向所有接入节点下达用户和 / 或资源的控制命令包括: ( 1 )根据业务配置单元 40中的配置给接入节点 10 - lx下达用户与资源基本配置信息; (2 )业务处理单元的指示给接入节点 10 - lx的用户或资源下达控制命令。节点控制单元收到接入节点 10 - lx上 >¾的用户端口和 /或资源通道事件后, 转发相关单元处理。 The node control unit is also responsible for communicating with all access nodes of the distributed VoIP access gateway system, including issuing control commands for users and/or resources to all access nodes, and receiving user ports and/or all user ports reported by the access nodes. Resource channel event. Release users and / to all access nodes The control command of the resource or the resource includes: (1) releasing basic configuration information of the user and the resource to the access node 10 - lx according to the configuration in the service configuration unit 40; (2) indicating the service processing unit to the user of the access node 10 - lx Or the resource releases a control command. After receiving the user port and/or resource channel event of >3⁄4 on the access node 10 - lx, the node control unit forwards the relevant unit for processing.
3、 用户 /资源管理单元 30  3. User / Resource Management Unit 30
用户 /资源管理单元 30负责本分布式 VoIP接入网关系统的所有接入节 点下的资源的管理, 资源包括但不限于铃流、 放音、 按键检测 (DTMF 或 脉冲)、 CID显示、 媒体流等资源。  The user/resource management unit 30 is responsible for the management of resources under all access nodes of the distributed VoIP access gateway system, including but not limited to ringing, playback, button detection (DTMF or pulse), CID display, media stream. And other resources.
接入节点 10 - lx上线时,会报告本接入节点下的所有用户和资源信息。 所有资源信息最终被送到用户 /资源管理单元 30进行登记。 本分布式 VoIP 接入网关系统中的每一个用户和资源都有一个唯一的标识, 以便进行统一 管理。 用户 /资源管理单元 30对资源进行登记时, 需记录资源的可用范围、 功能、 标识等信息。  When the access node 10 - lx goes online, it reports all user and resource information under the access node. All resource information is ultimately sent to the user/resource management unit 30 for registration. Each user and resource in the distributed VoIP access gateway system has a unique identifier for unified management. When the user/resource management unit 30 registers the resource, it needs to record the available range, function, and identifier of the resource.
在用户语音业务进行过程中, 需要资源对用户进行服务, 用户 /资源管 理单元 30将根据需要为用户分配必要的资源。 一旦资源被分配给用户, 资 源管理单元将记录资源的占用信息。 当用户所需服务完成时, 会向用户 /资 源管理单元 30归还所占用的资源。  During the progress of the user voice service, resources are required to serve the user, and the user/resource management unit 30 will allocate necessary resources to the user as needed. Once the resource is assigned to the user, the resource management unit will record the occupancy information of the resource. When the user's required service is completed, the occupied resources are returned to the user/resource management unit 30.
4、 业务配置单元 40  4. Business Configuration Unit 40
业务配置单元 40 负责本分布式 VoIP接入网关系统的所有用户和资源 的基本配置信息的维护。 用户的基本配置信息包括但不限于用户端口属性 配置、 用户本地特殊业务配置等信息。 资源的基本配置信息包括但不限于 资源的通道基本属性配置、 资源分配策略配置等信息。  The service configuration unit 40 is responsible for maintaining basic configuration information of all users and resources of the distributed VoIP access gateway system. The basic configuration information of the user includes, but is not limited to, user port attribute configuration, user local special service configuration, and other information. The basic configuration information of the resource includes, but is not limited to, the channel basic attribute configuration of the resource, and the resource allocation policy configuration.
5、 业务处理单元 50  5, business processing unit 50
业务处理单元 50 负责根据用户 /资源的业务状态来实现本分布式 VoIP 接入网关系统的所有用户的语音业务的处理流程。 业务处理单元 50持有本 分布式 VoIP接入网关系统的所有用户的业务状态机, 根据当前业务状态, 对用户端口事件和协议事务做出响应。 业务处理单元 50还对异常事件做出 响应。 异常事件包括但不限于定时器超时、 用户端口异常等事件。 The service processing unit 50 is responsible for implementing the processing flow of the voice service of all users of the distributed VoIP access gateway system according to the service status of the user/resource. Business processing unit 50 holds this The service state machine of all users of the distributed VoIP access gateway system responds to user port events and protocol transactions according to the current service state. The business processing unit 50 also responds to an abnormal event. Abnormal events include, but are not limited to, timer timeouts, user port exceptions, and the like.
业务处理单元 50还负责为本分布式 VoIP接入网关系统的所有用户提 供号码分析和其他逻辑运算服务。  The service processing unit 50 is also responsible for providing number analysis and other logical computing services for all users of the distributed VoIP access gateway system.
6、 接入协议单元 60  6, access protocol unit 60
接入协议单元 60 负责为本分布式 VoIP接入网关系统向核心网软交换 系统提供统一的接入协议接口。 接入协议接口是指 H.248协议和 /或 MGCP 协议。 在核心网侧的业务网络视图上, 本分布式 VoIP接入网关系统只表现 为一个接入网关。  The access protocol unit 60 is responsible for providing a unified access protocol interface to the core network softswitch system for the distributed VoIP access gateway system. The access protocol interface refers to the H.248 protocol and/or the MGCP protocol. The distributed VoIP access gateway system only acts as an access gateway on the service network view of the core network.
接入协议单元 60保持与软交换系统的协议连接, 实现与软交换系统的 H.248协议和 /或 MGCP协议信令艮文交互。  The access protocol unit 60 maintains a protocol connection with the softswitch system and interacts with the H.248 protocol and/or the MGCP protocol signaling of the softswitch system.
接入协议单元 60接收软交换的信令报文, 将其解析成协议事务, 根据 协议实体找到对应的业务实体, 并交给业务处理单元 50处理。 协议实体指 H.248协议和 /或 MGCP协议中的终结点、 上下文等。 业务实体指本分布式 VoIP接入网关系统内部的用户标识、 资源标识、 会话标识等。  The access protocol unit 60 receives the signaling packet of the softswitch, parses it into a protocol transaction, finds a corresponding service entity according to the protocol entity, and hands it to the service processing unit 50 for processing. A protocol entity refers to an endpoint, context, etc. in the H.248 protocol and/or the MGCP protocol. The service entity refers to the user identifier, resource identifier, and session identifier of the distributed VoIP access gateway system.
接入协议单元 60还接收业务处理单元 50上报的用户事件和协议事务 执行应答。 业务处理单元 50在恰当的用户业务状态接收到恰当的用户端口 事件后,会上报给接入协议单元 60,接入协议单元 60根据业务实体找到对 应的协议实体, 将用户端口事件作为协议实体相关的事务报告到软交换系 统。 业务处理单元 50在执行了接入协议单元 60下达的协议事务后, 也会 将执行结果报告给接入协议单元 60,接入协议单元 60根据业务实体找到对 应的协议实体, 将协议事务响应^艮告到软交换系统。  Access protocol unit 60 also receives user events and protocol transaction execution responses reported by service processing unit 50. After receiving the appropriate user port event in the appropriate user service state, the service processing unit 50 reports the event to the access protocol unit 60. The access protocol unit 60 finds the corresponding protocol entity according to the service entity, and associates the user port event as a protocol entity. The transaction is reported to the softswitch system. After performing the protocol transaction issued by the access protocol unit 60, the service processing unit 50 also reports the execution result to the access protocol unit 60. The access protocol unit 60 finds the corresponding protocol entity according to the service entity, and responds to the protocol transaction. Report to the softswitch system.
图 1中所示的各个组成部分,单元 10 - lx为各分布式于 IP网络上的接 入节点, 单元 20 -单元 60为分布式 VoIP接入业务所需各部分, 上述部分 可以运行在 IP网络中单一的节点上,也可以分布式运行在 IP网络的多个节 点上, 但与上述各个接入节点不分布在同一个节点上。 The various components shown in Figure 1, the units 10 - lx are the access nodes distributed on the IP network, and the units 20 - 60 are the parts required for the distributed VoIP access service, the above parts It can run on a single node in the IP network, or it can be distributed on multiple nodes of the IP network, but it is not distributed on the same node as the above-mentioned access nodes.
本发明提供的分布式接入网关系统, 各接入节点与接入处理、 本地业 务配置的单元,分布于不同的 IP网络节点上。上述 IP网络节点或节点指 IP 网络上具有独立 IP的网络单元。  In the distributed access gateway system provided by the present invention, each access node and the unit for access processing and local service configuration are distributed on different IP network nodes. The above IP network node or node refers to a network element with an independent IP on the IP network.
图 2为根据本发明实施例的分布式接入网关系统的结构框图。 图 3为 根据本发明优选实施例的分布式接入网关系统的结构框图。 如图 2所示, 根据本发明实施例的分布式接入网关系统包括: 一个或多个接入节点 10-lx、 节点控制单元 20、 用户 /资源管理单元 30、 业务配置单元 40、 业务 处理单元 50、 以及接入协议单元 60, 以下结合图 3进行描述。  2 is a structural block diagram of a distributed access gateway system according to an embodiment of the present invention. 3 is a block diagram showing the structure of a distributed access gateway system in accordance with a preferred embodiment of the present invention. As shown in FIG. 2, a distributed access gateway system according to an embodiment of the present invention includes: one or more access nodes 10-lx, a node control unit 20, a user/resource management unit 30, a service configuration unit 40, and a service processing. Unit 50, and access protocol unit 60, are described below in connection with FIG.
( 1 )一个或多个接入节点 10-lx, 可以为一个或多个, 与终端设备相 连接, 用于监测并上报终端设备的状态信息和事件信息以及资源通道的状 态信息和事件信息。  (1) One or more access nodes 10-lx, which may be one or more, connected to the terminal device, for monitoring and reporting status information and event information of the terminal device, and status information and event information of the resource channel.
优选地, 接入节点 10 - lx可以为分布于 IP网络上的各个拥有独立 IP 的嵌入式设备, 与 VoIP用户终端可以通过电话线连接, 拥有呼叫业务所必 须的各种资源, 包括 VoIP媒体通道资源。 在接入节点 10 - lx上不实现资 源管理、 用户业务配置和处理以及接入协议处理。 接入节点上的所有用户、 资源都由本分布式 VoIP接入网关系统的相关模块统一管理。 接入节点上的 所有用户的业务配置和业务处理以及接入协议都由其他节点上的相关模块 实现。  Preferably, the access nodes 10 - lx may be embedded devices with independent IPs distributed on the IP network, and the VoIP user terminals may be connected through a telephone line, and have various resources necessary for calling services, including VoIP media channels. Resources. Resource management, user service configuration and processing, and access protocol processing are not implemented on the access nodes 10 - lx. All users and resources on the access node are managed by the relevant modules of the distributed VoIP access gateway system. The service configuration and service processing and access protocols of all users on the access node are implemented by related modules on other nodes.
优选地, 接入节点 10 - lx上线时, 向节点控制模块 20发送节点上线 请求, 该请求被通过后, 上报本接入节点的所有用户和资源信息。 具体可 以参见图 4。  Preferably, when the access node 10 - lx goes online, the node control module 20 sends a node online request, and after the request is passed, reports all user and resource information of the access node. See Figure 4 for details.
实例一  Example one
图 4为根据本发明实例一的接入节点上线处理的流程图。 如图 4所示, 根据本发明实例一的接入节点上线处理包括以下步骤 (步骤 S401-步骤 S409 ): 4 is a flow chart of an access node online processing according to an example 1 of the present invention. As shown in Figure 4, The access node uplink processing according to the first embodiment of the present invention includes the following steps (step S401 - step S409):
步骤 S401 : 节点控制模块 20监听到某个接入节点的上线请求。查询节 点配置信息, 判断该请求是否来自于一个合法的接入节点。 如果否, 则执 行步骤 S403 , 如果是, 则执行步骤 S405。  Step S401: The node control module 20 listens to an online request of an access node. Query the node configuration information to determine whether the request is from a legitimate access node. If not, step S403 is performed, and if so, step S405 is performed.
其中, 上述节点配置信息, 包括有合法的接入节点的可识别特性的配 置项。  The node configuration information includes a configuration item of a identifiable characteristic of a legal access node.
步骤 S403 : 丟弃接入节点的上线请求, 拒绝其上线。  Step S403: Discarding the online request of the access node, and rejecting the online call.
步骤 S405: 向接入节点发送节点用户 /资源信息的查询请求, 并等待接 入节点返回响应。 如果在规定时间内接收到查询应答, 则执行步骤 S407 , 否则, 执行步骤 S403。  Step S405: Send a query request of the node user/resource information to the access node, and wait for the access node to return a response. If the inquiry response is received within the specified time, step S407 is performed, otherwise, step S403 is performed.
步骤 S407 : 节点控制单元 20将查询到的接入节点的用户 /资源信息发 送给用户 /资源管理单元 30, 用户 /资源管理单元 30将该信息保存。 处理完 毕后查询节点配置信息或询问接入节点 , 判断是否需要下达用户端口属性 / 媒体通道属性的配置。如果否,则上线处理完成;如果是,则执行步骤 S409。  Step S407: The node control unit 20 sends the queried user/resource information of the access node to the user/resource management unit 30, and the user/resource management unit 30 saves the information. After the processing is complete, query the node configuration information or query the access node to determine whether the configuration of the user port attribute/media channel attribute needs to be released. If not, the online processing is completed; if yes, step S409 is performed.
步骤 S409:向业务配置单元 40查询新上线的接入节点的用户端口属性 /媒体通道属性的配置信息, 并下达给该接入节点。 流程结束。  Step S409: Query the service configuration unit 40 for the configuration information of the user port attribute/media channel attribute of the newly-online access node, and release the configuration information to the access node. The process ends.
优选地, 接入节点 10 - lx上线后, 扫描用户端口事件和 VoIP媒体通 道资源的状态, 并上报给节点控制单元 20, 再由节点控制单元 20交由相关 模块处理。 接入节点 10 - lx还提供节点内用户端口和资源的控制接口, 节 点控制单元 20通过上述控制接口来操作用户端口和资源。  Preferably, after the access nodes 10 - lx go online, the status of the user port event and the VoIP media channel resource are scanned and reported to the node control unit 20, and then processed by the node control unit 20 to the relevant module. The access nodes 10 - lx also provide control interfaces for user ports and resources within the nodes, and the node control unit 20 operates the user ports and resources through the control interfaces described above.
( 2 )节点控制单元 20,与一个或多个接入节点和业务处理单元相连接, 用于维护一个或多个接入节点上报的状态信息, 并分别与接入节点和 /或业 务处理单元进行数据交互;  (2) The node control unit 20 is connected to one or more access nodes and service processing units for maintaining state information reported by one or more access nodes, and respectively associated with the access node and/or the service processing unit. Perform data interaction;
优选地, 如图 3所示, 节点控制单元 20包括: 监测模块 200、 第一发 送模块 202、 第一接收模块 204, 其中, 监测模块 200, 用于实时监测一个 或多个接入节点的状态信息; 第一发送模块 202, 用于向一个或多个接入节 点发送用户和 /或资源的控制命令, 和 /或, 向业务处理单元发送事件信息; 第一接收模块 204,用于接收一个或多个接入节点上报的终端设备和资源通 道的事件信息, 和 /或, 接收来自于业务处理单元的操作命令。 Preferably, as shown in FIG. 3, the node control unit 20 includes: a monitoring module 200, and a first sending The sending module 202, the first receiving module 204, wherein the monitoring module 200 is configured to monitor status information of one or more access nodes in real time; the first sending module 202 is configured to send the user to one or more access nodes. And/or a control command of the resource, and/or, sending the event information to the service processing unit; the first receiving module 204 is configured to receive event information of the terminal device and the resource channel reported by the one or more access nodes, and/or Receive operational commands from the business processing unit.
优选地, 节点控制单元 20可以与接入节点 10 - lx进行通信, 节点控 制单元 20接收接入节点 10 - lx的上线请求, 并监督接入节点 10 - lx的状 态。 节点控制单元 20接收在线的接入节点的用户端口事件和流媒体通道事 件, 并向在线的接入节点的用户和资源统一下达控制指令。 具体参见图 5。  Preferably, the node control unit 20 can communicate with the access nodes 10 - lx, and the node control unit 20 receives the online request of the access nodes 10 - lx and supervises the status of the access nodes 10 - lx. The node control unit 20 receives the user port event and the streaming channel event of the online access node, and uniformly issues control commands to the users and resources of the online access node. See Figure 5 for details.
实例二  Example two
图 5为根据本发明实例二的用户端口事件处理的流程图。 如图 5所示, 根据本发明实例二的用户端口事件处理包括以下步骤 (步骤 S501-步骤 S509 ):  5 is a flow chart of user port event processing in accordance with Example 2 of the present invention. As shown in FIG. 5, the user port event processing according to the second embodiment of the present invention includes the following steps (step S501 - step S509):
步骤 S501 :接入节点 10 - lx观察到用户端口事件,发送给节点控制单 元 20。  Step S501: The access node 10 - lx observes the user port event and sends it to the node control unit 20.
其中, 上述用户端口事件, 应包含用户位置信息、 事件 ID等信息。 步骤 S503 , 根据上报的用户端口事件的用户的位置信息, 向用户 /资源 管理单元 30查询用户的标识, 将用户事件 ID和用户标识一起发送给业务 处理单元 50进行处理。 业务处理单元接收到用户端口事件后, 根据用户当 前业务状态, 判断所收到的事件是否为可以处理的正常事件: 如果是, 则 执行步骤 S505; 如果否, 则丟弃该用户事件, 处理流程结束。  The user port event includes information such as user location information and event ID. Step S503: Query the user/resource management unit 30 for the identifier of the user according to the location information of the user of the reported user port event, and send the user event ID and the user identifier to the service processing unit 50 for processing. After receiving the user port event, the service processing unit determines whether the received event is a normal event that can be processed according to the current service status of the user: if yes, step S505 is performed; if not, the user event is discarded, and the processing flow is End.
步骤 S505: 业务处理单元 50进行相应业务处理,进行用户业务状态变 迁, 如果需要使用本地资源为该用户服务, 则向用户 /资源管理模块发送资 源分配请求, 并根据请求结果进行响应处理。 业务处理完毕后, 如果有必 要,就将用户事件发送给接入协议单元 60。接入协议单元 60执行步骤 S507。 步骤 S507 :接入协议单元 60查询业务实体与协议实体对应表, 查找出 用户标识对应的协议实体标识, 并将用户事件转换为协议事件描述。 Step S505: The service processing unit 50 performs corresponding service processing to perform user service state transition. If the local resource needs to be used for the user, the resource allocation request is sent to the user/resource management module, and the response processing is performed according to the request result. After the service is processed, the user event is sent to the access protocol unit 60 if necessary. The access protocol unit 60 performs step S507. Step S507: The access protocol unit 60 queries the correspondence table between the service entity and the protocol entity, finds the protocol entity identifier corresponding to the user identifier, and converts the user event into a protocol event description.
优选地, 上述查询可以通过查找对照表来实现, 也可以通过一定规则 换算来实现。 例如, 用户标识为 " {0,0,1 } " , 对应的协议实体标识为 "USER000001 "。  Preferably, the above query may be implemented by looking up a comparison table, or by a certain rule conversion. For example, the user ID is "{0,0,1 } " and the corresponding protocol entity ID is "USER000001".
步骤 S509: 将协议实体标识和协议事件描述打包成协议报文, 发送给 核心网软交换系统。 流程结束。  Step S509: Packet the protocol entity identifier and the protocol event description into a protocol packet, and send the packet to the core network softswitch system. The process ends.
( 3 )用户 /资源管理单元 30 , 分别与节点控制单元和业务处理单元相 连接, 用于管理一个或多个接入节点相对应的用户和资源;  (3) a user/resource management unit 30, which is respectively connected to the node control unit and the service processing unit, and is configured to manage users and resources corresponding to one or more access nodes;
优选地, 如图 3所示, 用户 /资源管理单元 30包括: 存储模块 300 , 用 于存储一个或多个接入节点相对应的资源信息和 /或资源占用信息; 资源分 配模块 302, 用于按照预定策略为终端设备和资源通道分配相应的资源; 资 源归还模块 304, 用于注销一个或多个接入节点相对应的资源占用信息, 并 恢复资源的空闲状态。  Preferably, as shown in FIG. 3, the user/resource management unit 30 includes: a storage module 300, configured to store resource information and/or resource occupation information corresponding to one or more access nodes; and a resource allocation module 302, configured to: The terminal device and the resource channel are allocated corresponding resources according to a predetermined policy. The resource returning module 304 is configured to cancel the resource occupation information corresponding to the one or more access nodes, and restore the idle state of the resource.
用户 /资源管理单元 30记录了所有在线用户和可用资源。对每一个用户 和资源, 记录了其标识、 位置等信息。 对于每一条资源, 记录了其标识、 位置、 功能、 可用范围等信息。 用户 /资源管理单元 30为节点控制单元 20 提供从用户或资源的位置到标识的查询, 以及从标识到位置的查询服务。  User/Resource Management Unit 30 records all online users and available resources. For each user and resource, information such as its identity, location, etc. is recorded. For each resource, information such as its identity, location, function, and available range is recorded. The user/resource management unit 30 provides the node control unit 20 with a query from the location of the user or resource to the identity, and a query service from the identity to the location.
优选地,用户 /资源管理单元 30接收业务处理单元 50的资源分配请求, 为用户分配资源。 资源分配请求, 包含用户标识、 服务类别等信息。 服务 类别, 是指示分配资源用于进行何种类型的服务。 用户 /资源管理单元 30 根据用户标识和服务类别信息查询一条当前空闲且可提供该类别服务的资 源, 分配给该用户, 并记录用户 /资源的占用情况。 在为用户查询到多条当 前空闲且可提供该类别服务的资源时, 可釆用某种资源分配策略, 这种资 源分配策略是可配置的。 当所分配资源为用户服务完毕时, 业务处理单元 50会向用户 /资源管理单元 30发送资源归还消息, 用户 /资源管理单元 30 注销掉该用户 /资源占用记录, 恢复资源的空闲状态。 关于资源的分配和归 还流程, 具体可以参见图 6和图 7。 Preferably, the user/resource management unit 30 receives the resource allocation request of the service processing unit 50 to allocate resources to the user. Resource allocation request, including user ID, service category, and other information. The service category is an indication of what type of service is being allocated for the resource. The user/resource management unit 30 queries a resource that is currently idle and can provide the service of the category according to the user identifier and the service category information, allocates the resource to the user, and records the occupancy of the user/resource. When a user is queried for a plurality of resources that are currently idle and can provide services of the category, a resource allocation policy may be employed, and the resource allocation policy is configurable. Service processing unit when the allocated resource is serviced by the user 50 will send a resource return message to the user/resource management unit 30, and the user/resource management unit 30 will log out the user/resource occupation record and restore the idle state of the resource. For details on the process of resource allocation and return, see Figure 6 and Figure 7.
实例三  Example three
图 6为根据本发明实例三的资源分配处理的流程图。 如图 6所示, 根 据本发明实例三的资源分配处理包括以下步骤(步骤 S601-步骤 S611 ): 步骤 S601 : 用户 /资源管理单元 30接收到业务处理单元 50的资源分配 请求。  6 is a flow chart of resource allocation processing according to Example 3 of the present invention. As shown in FIG. 6, the resource allocation process according to Example 3 of the present invention includes the following steps (step S601 - step S611): Step S601: The user/resource management unit 30 receives the resource allocation request of the service processing unit 50.
其中, 上述资源分配请求包括但不限于用户标识、 服务类别等信息。 上述服务类别, 是分配资源用于进行何种类型的服务的信息。  The resource allocation request includes, but is not limited to, a user identifier, a service category, and the like. The above service category is information that allocates resources for what type of service to perform.
步骤 S603 : 用户 /资源管理单元 30查找资源分配策略, 找出当前指定 的资源分配策略。 资源分配策略确定根据何种方式来选中一条资源, 例如, 可以轮流选择空闲的资源, 也可以优先选择该用户正在使用的多功能资源。 多功能资源是指一条资源可以同时完成多种服务。 为了保持系统的灵活性, 用户可以配置合适的资源分配策略。  Step S603: The user/resource management unit 30 searches for a resource allocation policy to find a currently assigned resource allocation policy. The resource allocation policy determines the manner in which a resource is selected. For example, the idle resource may be selected in turn, or the multi-function resource that the user is using may be preferentially selected. A multi-functional resource is a resource that can perform multiple services at the same time. To maintain system flexibility, users can configure appropriate resource allocation policies.
步骤 S605 : 用户 /资源管理单元 30根据当前资源分配策略, 去查找资 源状态表, 查看是否有可以完成所请求服务的资源。 如果否, 则返回 "资 源分配失败"消息给业务处理单元 50 ,流程结束;如果是,则执行步骤 S607。  Step S605: The user/resource management unit 30 searches the resource status table according to the current resource allocation policy to check whether there is a resource that can complete the requested service. If not, a "resource allocation failed" message is returned to the service processing unit 50, and the process ends; if yes, step S607 is performed.
步骤 S607 : 用户 /资源管理单元 30修改资源状态表中选定的资源状态 为 "已占用"。  Step S607: The user/resource management unit 30 modifies the selected resource status in the resource status table to be "occupied".
步骤 S609: 用户 /资源管理单元 30在用户 /资源占用表中记录当前分配 资源的一条用户 /资源占用信息。 用户 /资源占用信息, 包含用户标识, 资源 标识, 服务类别等信息。  Step S609: The user/resource management unit 30 records a user/resource occupation information of the currently allocated resource in the user/resource occupation table. User/resource occupation information, including user ID, resource ID, service category, and other information.
步骤 S611 : 用户 /资源管理单元 30向业务处理单元 50返回所分配到的 资源的资源标识。 流程结束。 实例四 Step S611: The user/resource management unit 30 returns the resource identification of the allocated resource to the service processing unit 50. The process ends. Example four
图 7为根据本发明实例四的资源归还处理的流程图。 如图 7所示, 根 据本发明实例四的资源归还处理包括以下步骤 (步骤 S701-步骤 S707):  7 is a flow chart of resource return processing according to Example 4 of the present invention. As shown in Fig. 7, the resource return processing according to the fourth embodiment of the present invention includes the following steps (step S701 - step S707):
步骤 S701 : 用户 /资源管理单元 30收到业务处理单元 50的资源归还消 息。  Step S701: The user/resource management unit 30 receives the resource return message of the service processing unit 50.
其中, 上述资源归还消息包括但不限于用户标识、 资源标识等信息。 步骤 S703 : 用户 /资源管理单元 30查询用户 /资源占用表, 查看该用户 使用该资源是否同时在执行不止一种服务。 如果是, 则执行步骤 S707 , 如 果否, 则执行步骤 S705。  The foregoing resource return message includes but is not limited to information such as a user identifier and a resource identifier. Step S703: The user/resource management unit 30 queries the user/resource occupation table to check whether the user is using more than one service at the same time. If yes, step S707 is performed, and if no, step S705 is performed.
步骤 S705 : 用户 /资源管理单元 30将资源状态表中该资源的状态信息 设置为 "空闲"。  Step S705: The user/resource management unit 30 sets the state information of the resource in the resource status table to "idle".
步骤 S707 : 用户 /资源管理单元 30将用户 /资源占用表中该用户、 该资 源、 该服务类别的记录注销掉。 流程结束。  Step S707: The user/resource management unit 30 cancels the record of the user, the resource, and the service category in the user/resource occupation table. The process ends.
( 4 )业务配置单元 40 , 分别与节点控制单元和业务处理单相连接, 用 于存储一个或多个接入节点相对应的用户和资源的配置信息;  (4) The service configuration unit 40 is respectively connected to the node control unit and the service processing unit, and is configured to store configuration information of the user and the resource corresponding to the one or more access nodes;
优选地,业务配置单元 40保存本地用户和资源的必要的基本配置信息, 如果接入节点上线后需要对用户端口或资源通道进行基本属性设置, 业务 配置单元 40可以提供此类信息。 业务配置单元 40还保存跟用户业务有关 的其他信息, 以及资源分配策略的配置等信息, 供用户业务运行过程中相 关单元查询。  Preferably, the service configuration unit 40 stores the necessary basic configuration information of the local user and the resource. If the access node needs to perform basic attribute setting on the user port or the resource channel after the online node is online, the service configuration unit 40 can provide such information. The service configuration unit 40 also stores other information related to the user's service, and information such as the configuration of the resource allocation policy, for the relevant unit to query during the user's business operation.
( 5 )业务处理单元 50 , 分别与节点控制单元相连接, 用于对来自于节 点控制单元和 /或接入协议单元的事件信息进行处理;  (5) a service processing unit 50, which is respectively connected to the node control unit, and configured to process event information from the node control unit and/or the access protocol unit;
优选地, 如图 3所示, 上述业务处理单元 50包括: 第二接收模块 500、 处理模块 502、 第二发送模块 504。 其中, 第二接收模块 500 , 用于接收节 点控制单元上报的用户事件信息, 和 /或, 接收来自于接入协议单元的协议 事务信息; 处理模块 502 , 用于对用户事件信息和 /或协议事务信息进行处 理; 第二发送模块 504 , 用于向节点控制模块发送用户和资源操作命令, 和 /或, 向接入协议单元发送处理结果。 Preferably, as shown in FIG. 3, the service processing unit 50 includes: a second receiving module 500, a processing module 502, and a second sending module 504. The second receiving module 500 is configured to receive user event information reported by the node control unit, and/or receive a protocol from the access protocol unit. The transaction module 502 is configured to process user event information and/or protocol transaction information. The second sending module 504 is configured to send a user and resource operation command to the node control module, and/or to the access protocol unit. Send the processing result.
优选地, 上述第二发送模块 504 , 还用于向用户 /资源管理单元发送资 源分配请求或者资源归还消息;  Preferably, the foregoing second sending module 504 is further configured to send a resource allocation request or a resource return message to the user/resource management unit;
优选地, 上述业务处理单元 50 , 还用于为接入网关系统提供号码分析 和還辑运算。  Preferably, the service processing unit 50 is further configured to provide a number analysis and a reconciliation operation for the access gateway system.
在具体实施过程中, 业务处理单元 50还进行异常逻辑的处理和业务过 程中的相关逻辑运算。 异常逻辑指定时超时或异常事件的处理。 相关逻辑 运算指号码分析等需要大计算量的处理。  In a specific implementation process, the business processing unit 50 also performs processing of exception logic and related logic operations in the business process. The exception logic specifies the timeout or the processing of the exception event. Correlation logic operation refers to processing that requires a large amount of calculation, such as number analysis.
在具体实施过程中, 上述业务处理单元 50实现用户呼叫业务的处理, 维护用户的呼叫业务状态机, 对对于用户业务产生驱动和影响的所有事件 做出响应。 在用户呼叫业务运行的过程中, 业务处理单元与其他所有单元 均有交互: 接收节点控制单元 20上报的用户端口事件, 并向节点控制单元 20下达用户和资源操作指令; 向用户 /资源管理单元 30发送资源分配请求 和资源归还消息, 并对请求结果做出相应的处理; 向业务配置单元 40查询 用户业务过程的个性化配置; 接收接入协议单元 60的协议事务指示, 进行 处理并向接入协议单元 60返回协议事务处理结果, 向接入协议单元 60报 告用户事件。  In a specific implementation process, the service processing unit 50 implements the processing of the user's call service, maintains the call service state machine of the user, and responds to all events that generate and affect the user's service. During the operation of the user's call service, the service processing unit interacts with all other units: receives the user port event reported by the node control unit 20, and issues a user and resource operation instruction to the node control unit 20; to the user/resource management unit 30, sending a resource allocation request and a resource return message, and performing corresponding processing on the result of the request; querying the service configuration unit 40 for the personalized configuration of the user service process; receiving the protocol transaction indication of the access protocol unit 60, processing and forwarding The incoming protocol unit 60 returns the result of the protocol transaction and reports the user event to the access protocol unit 60.
( 6 )接入协议单元 60 , 与业务处理单元 50相连接, 用于为接入网关 系统提供接入协议接口。  (6) An access protocol unit 60, connected to the service processing unit 50, for providing an access protocol interface for the access gateway system.
优选地, 如图 3所示, 上述接入协议单元 60包括: 第三接收模块 600、 解析模块 602、查找模块 604、第三发送模块 606 ,其中,第三接收模块 600 , 用于接收来自于接入网关系统需要接入的系统的信令报文, 并接收来自于 业务处理单元上>¾的处理结果; 解析模块 602 , 用于将信令 文解析成协议 事务; 查找模块 604, 用于根据协议实体查找对应的业务实体, 或者, 根据 业务实体查找对应的协议实体; 第三发送模块 606, 用于向业务处理单元发 送业务实体以进行处理, 并将处理结果发送至接入网关系统需要接入的系 统。 Preferably, as shown in FIG. 3, the foregoing access protocol unit 60 includes: a third receiving module 600, a parsing module 602, a searching module 604, and a third sending module 606, wherein the third receiving module 600 is configured to receive from the third receiving module 600. The access gateway system needs to access the signaling message of the system, and receives the processing result from the service processing unit >3⁄4; the parsing module 602 is configured to parse the signaling message into a protocol a search module 604, configured to search for a corresponding service entity according to the protocol entity, or search for a corresponding protocol entity according to the service entity; a third sending module 606, configured to send the service entity to the service processing unit for processing, and process The result is sent to the system that the access gateway system needs to access.
在具体实施过程中, 接入协议单元 60可以为本分布式 VoIP接入网关 系统提供面向核心网软交换系统的统一接入协议接口。 上述接入协议接口 包括但不限于 H.248和 /或 MGCP协议。 接入协议单元 60与核心网软交换 系统进行协议报文交互。 接入协议单元 60实现协议事务与内部业务操作的 相互转换, 实现协议实体与内部业务实体的相互转换。 协议实体指 H.248 协议和 /或 MGCP协议中的终结点、 上下文等。 业务实体指本分布式 VoIP 接入网关系统内部的用户标识、 资源标识、 会话标识等。  In a specific implementation process, the access protocol unit 60 may provide a unified access protocol interface for the distributed VoIP access gateway system to the core network softswitch system. The above access protocol interfaces include, but are not limited to, H.248 and/or MGCP protocols. The access protocol unit 60 interacts with the core network softswitch system for protocol packets. The access protocol unit 60 implements mutual conversion between the protocol transaction and the internal business operation, and realizes mutual conversion between the protocol entity and the internal business entity. A protocol entity refers to an endpoint, context, etc. in the H.248 protocol and/or the MGCP protocol. The service entity refers to the user identifier, resource identifier, and session identifier of the distributed VoIP access gateway system.
接入协议单元 60 将核心网软交换的协议事务指示解析成内部业务操 作, 发送给业务处理单元 50处理。 接入协议单元 60还将协议事务处理的 结果和用户事件打包成协议 ^艮文, 发送到核心网软交换系统, 以完成用户 VoIP业务的接入。 具体可以参见图 8。  The access protocol unit 60 parses the protocol transaction indication of the core network softswitch into an internal service operation and sends it to the service processing unit 50 for processing. The access protocol unit 60 also packages the result of the protocol transaction and the user event into a protocol, and sends it to the core network softswitch system to complete the access of the user VoIP service. See Figure 8 for details.
实例五  Example five
图 8为根据本发明实例五的协议事务处理的流程图。 如图 8所示, 根 据本发明实例五的协议事务处理包括以下步骤(步骤 S801-步骤 S813 ): 步骤 S801 : 接入协议单元 60接收到核心网软交换系统的协议信令报 文, 报文中携带有需要媒体网关处理的事务。  Figure 8 is a flow diagram of protocol transaction processing in accordance with Example 5 of the present invention. As shown in FIG. 8, the protocol transaction according to the fifth embodiment of the present invention includes the following steps (step S801 - step S813): Step S801: The access protocol unit 60 receives the protocol signaling packet of the core network softswitch system, and the packet It carries transactions that need to be processed by the media gateway.
步骤 S803 :接入协议单元 60解析出信令报文中的协议实体标识和待处 理的事务。 协议实体标识是指 H.248协议或 MGCP协议中的上下文 ID或 / 和终结点 ID。  Step S803: The access protocol unit 60 parses out the protocol entity identifier in the signaling message and the transaction to be processed. The protocol entity identifier refers to the context ID or / and the endpoint ID in the H.248 protocol or the MGCP protocol.
步骤 S805:接入协议单元 60查询业务实体与协议实体对应表,找出协 议实体标识对应的业务实体标识, 并将协议事务转换为内部业务指令。 步骤 S807:接入协议单元 60将业务实体标识和内部业务指令发送给业 务处理单元 50。 Step S805: The access protocol unit 60 queries the correspondence table between the service entity and the protocol entity, finds the service entity identifier corresponding to the protocol entity identifier, and converts the protocol transaction into an internal service instruction. Step S807: The access protocol unit 60 sends the service entity identifier and the internal service command to the service processing unit 50.
步骤 S809: 业务处理单元 50执行业务指令, 并将执行结果返回给接入 协议单元 60。在业务处理单元 50执行业务指令的过程中, 或许涉及到本地 资源使用的过程, 则业务处理单元 50向用户 /资源管理单元 30发送资源分 配请求以分配执行业务指令必要的资源, 资源使用完毕后向用户 /资源管理 单元 30发送资源归还的消息。  Step S809: The service processing unit 50 executes the service instruction, and returns the execution result to the access protocol unit 60. In the process of executing the service instruction by the service processing unit 50, perhaps involving the process of using the local resource, the service processing unit 50 sends a resource allocation request to the user/resource management unit 30 to allocate the resources necessary for executing the service instruction, after the resource is used. A message of resource return is sent to the user/resource management unit 30.
步骤 S811 : 接入协议单元 60收到业务处理单元 50的业务指令执行的 结果后, 将执行结果转换为协议事务响应事件, 并查询业务实体与协议实 体对应表, 找出业务实体对应的协议实体。  Step S811: After receiving the result of the execution of the service instruction of the service processing unit 50, the access protocol unit 60 converts the execution result into a protocol transaction response event, and queries the correspondence table between the service entity and the protocol entity to find the protocol entity corresponding to the service entity. .
步骤 S813 :接入协议单元 60将协议事务响应事件和协议实体打包为协 议报文, 通过信令连接发送到核心网软交换系统。 流程结束。  Step S813: The access protocol unit 60 packages the protocol transaction response event and the protocol entity into a protocol packet, and sends the packet to the core network softswitch system through the signaling connection. The process ends.
本发明提供的分布式接入网关系统包括但不限于 VoIP接入网关系统, 该分布式接入网关系统需要接入的系统也不限于核心网软交换系统。  The distributed access gateway system provided by the present invention includes, but is not limited to, a VoIP access gateway system, and the system that the distributed access gateway system needs to access is not limited to the core network softswitch system.
通过上述实例一至实例五, 提供的分布式接入网关系统, 将分布于 IP 网络上的多个节点通过统一的接入网关和接入协议接入到核心网软交换系 统, 可以便利地对接入节点进行业务管理, 并可以有效降低对媒体网关硬 件配置要求。  Through the foregoing example one to the fifth embodiment, the distributed access gateway system provides multiple nodes distributed on the IP network to the core network softswitch system through a unified access gateway and access protocol, which can be conveniently docked. The ingress node performs service management and can effectively reduce the hardware configuration requirements of the media gateway.
综上所述, 通过本发明的上述实施例, 提供的分布式接入网关系统, 通过将 VoIP接入处理中的各个环节分解到分布式的 IP网络节点上完成,增 加了系统的灵活性,使得一个接入网关可以接入多个接入节点的 VoIP业务, 减少了业务网络中接入网关的数量, 并且将大量处理从接入节点设备上转 移到分布式网络设备上, 降低了对接入节点硬件配置的要求, 达到了简化 业务网络管理, 降低建网成本的目的。  In summary, the distributed access gateway system provided by the above embodiments of the present invention completes the decomposition of each link in the VoIP access processing process to a distributed IP network node, thereby increasing system flexibility. Enables one access gateway to access VoIP services of multiple access nodes, reduces the number of access gateways in the service network, and transfers a large amount of processing from the access node device to the distributed network device, reducing the docking The requirements for hardware configuration of the ingress node simplify the management of the service network and reduce the cost of network construction.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执 行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来 执行, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特 定的硬件和软件结合。 It will be apparent to those skilled in the art that the various modules or steps of the invention described above are apparent. It can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they can be implemented by program code executable by the computing device. They may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be implemented as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求书 Claim
1.一种分布式接入网关系统, 其特征在于, 该系统还包括:  A distributed access gateway system, the system further comprising:
一个或多个接入节点, 与终端设备相连接, 用于监测并上报所述终端 设备的状态信息和事件信息、 以及资源通道的状态信息和事件信息;  One or more access nodes, connected to the terminal device, for monitoring and reporting status information and event information of the terminal device, and status information and event information of the resource channel;
用户 /资源管理单元, 分别与节点控制单元和业务处理单元相连接, 用 于管理所述一个或多个接入节点相对应的用户和资源;  a user/resource management unit, which is respectively connected to the node control unit and the service processing unit, for managing users and resources corresponding to the one or more access nodes;
节点控制单元, 与所述一个或多个接入节点和所述业务处理单元相连 接, 用于维护所述一个或多个接入节点上报的状态信息和事件信息, 并分 别与所述接入节点和 /或所述业务处理单元进行数据交互;  a node control unit, connected to the one or more access nodes and the service processing unit, for maintaining status information and event information reported by the one or more access nodes, and respectively performing the access The node and/or the service processing unit perform data interaction;
业务配置单元, 分别与所述节点控制单元和所述业务处理单元相连接, 用于存储所述一个或多个接入节点相对应的用户和资源的配置信息;  a service configuration unit, which is respectively connected to the node control unit and the service processing unit, and configured to store configuration information of a user and a resource corresponding to the one or more access nodes;
业务处理单元, 与所述节点控制单元相连接, 用于对来自于节点控制 单元和 /或接入协议单元的事件信息进行处理;  a service processing unit, coupled to the node control unit, for processing event information from the node control unit and/or the access protocol unit;
接入协议单元, 与所述业务处理单元相连接, 用于为所述接入网关系 统提供接入协议接口。  An access protocol unit, coupled to the service processing unit, is configured to provide an access protocol interface for the access network relationship.
2.根据权利要求 1所述的系统, 其特征在于, 所述节点控制单元包括: 监测模块, 用于实时监测所述一个或多个接入节点的状态信息和事件 信息;  The system according to claim 1, wherein the node control unit comprises: a monitoring module, configured to monitor status information and event information of the one or more access nodes in real time;
第一发送模块, 用于向所述一个或多个接入节点发送用户和 /或资源的 控制命令, 和 /或向所述业务处理单元发送所述事件信息;  a first sending module, configured to send a control command of a user and/or a resource to the one or more access nodes, and/or send the event information to the service processing unit;
第一接收模块, 用于接收所述一个或多个接入节点上报的所述终端设 备和资源通道的所述事件信息, 和 /或接收来自于所述业务处理单元的操作 命令。  The first receiving module is configured to receive the event information of the terminal device and the resource channel reported by the one or more access nodes, and/or receive an operation command from the service processing unit.
3.根据权利要求 1所述的系统, 其特征在于, 所述用户 /资源管理单元 包括: 存储模块, 用于存储所述一个或多个接入节点相对应的资源信息和 /或 资源占用信息; The system according to claim 1, wherein the user/resource management unit comprises: a storage module, configured to store resource information and/or resource occupation information corresponding to the one or more access nodes;
资源分配模块, 用于按照预定策略为所述终端设备和所述资源通道分 配相应的资源;  a resource allocation module, configured to allocate corresponding resources to the terminal device and the resource channel according to a predetermined policy;
资源归还模块, 用于注销所述一个或多个接入节点相对应的资源占用 信息, 恢复该资源的状态为空闲状态。  And a resource returning module, configured to cancel the resource occupation information corresponding to the one or more access nodes, and restore the state of the resource to an idle state.
4.根据权利要求 1所述的系统, 其特征在于, 所述业务处理单元包括: 第二接收模块, 用于接收所述节点控制单元上报的用户事件信息, 和 / 或接收来自于所述接入协议单元的协议事务信息;  The system according to claim 1, wherein the service processing unit comprises: a second receiving module, configured to receive user event information reported by the node control unit, and/or receive from the connection Protocol transaction information into the protocol unit;
处理模块,用于对所述用户事件信息和 /或所述协议事务信息进行处理; 第二发送模块, 用于向所述节点控制单元发送用户和资源操作命令 , 和 /或向所述接入协议单元发送所述处理模块的处理结果。  a processing module, configured to process the user event information and/or the protocol transaction information; a second sending module, configured to send a user and resource operation command to the node control unit, and/or to the access The protocol unit sends the processing result of the processing module.
5.根据权利要求 4所述的系统, 其特征在于, 所述第二发送模块, 还  The system according to claim 4, wherein the second transmitting module further
6.根据权利要求 5 所述的系统, 其特征在于, 所述业务处理单元, 还 用于为所述接入网关系统提供号码分析和 /或逻辑运算。 The system according to claim 5, wherein the service processing unit is further configured to provide number analysis and/or logic operations for the access gateway system.
7.根据权利要求 1所述的系统, 其特征在于, 所述接入协议单元包括: 第三接收模块, 用于接收来自于所述接入网关系统需要接入的系统的 信令报文, 和 /或接收来自于所述业务处理单元上报的处理结果;  The system according to claim 1, wherein the access protocol unit comprises: a third receiving module, configured to receive a signaling message from a system that the access gateway system needs to access, And/or receiving processing results reported from the service processing unit;
解析模块, 用于将所述信令"¾文解析成协议事务;  a parsing module, configured to parse the signaling "3" into a protocol transaction;
查找模块, 用于根据协议实体查找对应的业务实体, 和 /或, 根据业务 实体查找对应的协议实体;  a searching module, configured to search for a corresponding service entity according to the protocol entity, and/or, to find a corresponding protocol entity according to the service entity;
第三发送模块, 用于向所述业务处理单元发送所述业务实体以进行处 理, 和 /或将所述处理结果发送至所述接入网关系统需要接入的系统。  And a third sending module, configured to send the service entity to the service processing unit for processing, and/or send the processing result to a system that the access gateway system needs to access.
PCT/CN2009/075312 2009-07-21 2009-12-04 Distributed access gateway system WO2011009256A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910160092.9 2009-07-21
CN200910160092.9A CN101965005B (en) 2009-07-21 2009-07-21 Distributed access gateway system

Publications (2)

Publication Number Publication Date
WO2011009256A1 true WO2011009256A1 (en) 2011-01-27
WO2011009256A8 WO2011009256A8 (en) 2011-03-03

Family

ID=43498722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075312 WO2011009256A1 (en) 2009-07-21 2009-12-04 Distributed access gateway system

Country Status (2)

Country Link
CN (1) CN101965005B (en)
WO (1) WO2011009256A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302523A (en) * 2016-09-21 2017-01-04 北京邦天信息技术有限公司 A kind of device and method making smart machine support Multi-protocol coexisting cooperation

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332382A (en) * 2015-06-18 2017-01-11 东林科技股份有限公司 Wired/wireless control system and data bridging method therefor
CN110535713B (en) * 2018-05-24 2021-08-03 中国人民财产保险股份有限公司 Monitoring management system and monitoring management method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1179047A (en) * 1996-10-01 1998-04-15 国际商业机器公司 Load balancing in distributed enterprise computer environment
WO2003019885A1 (en) * 2001-08-28 2003-03-06 Surf Communication Solutions, Ltd. Distributed gateway for combined communication services
US6738470B1 (en) * 2000-04-29 2004-05-18 Sun Microsystems, Inc. Distributed gateway system for telephone communications
CN1545281A (en) * 2003-11-12 2004-11-10 中兴通讯股份有限公司 A method and system for H.248 message processing in distributed processing gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1179047A (en) * 1996-10-01 1998-04-15 国际商业机器公司 Load balancing in distributed enterprise computer environment
US6738470B1 (en) * 2000-04-29 2004-05-18 Sun Microsystems, Inc. Distributed gateway system for telephone communications
WO2003019885A1 (en) * 2001-08-28 2003-03-06 Surf Communication Solutions, Ltd. Distributed gateway for combined communication services
CN1545281A (en) * 2003-11-12 2004-11-10 中兴通讯股份有限公司 A method and system for H.248 message processing in distributed processing gateway

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302523A (en) * 2016-09-21 2017-01-04 北京邦天信息技术有限公司 A kind of device and method making smart machine support Multi-protocol coexisting cooperation

Also Published As

Publication number Publication date
CN101965005A (en) 2011-02-02
WO2011009256A8 (en) 2011-03-03
CN101965005B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
EP1989866B1 (en) Remote control of device by telephone or other communication devices
JP3522118B2 (en) Gateway device for Internet telephone
JP4236032B2 (en) Internet communication system, Internet communication method, session management server, and communication adapter
WO2008116421A1 (en) Customer service system, customer service method and transfer server based on instant communication
JP2003524905A (en) System and method for transmitting voice and data using intelligent bridge TDM and packet bus
JP2009543452A (en) Method and apparatus for a single chassis communication server having a connection only interface
WO2021063129A1 (en) Core network capability calling method and system
US20050201359A1 (en) Dynamically establishing media channels between resources of an emergency services network and conforming emergency systems
WO2011009256A1 (en) Distributed access gateway system
KR102185260B1 (en) Relay device for handling call, call handling method performed by relay device and storage medium storing computer program for executing call handling method
WO2010127626A1 (en) Call connection method of relation call between networks and service broker system
WO2012022148A1 (en) Method and gateway for cross-gateway self-exchange based on session initiation protocol
CN100473179C (en) Apparatus and method for implementing full decentralized control queuing service
WO2012000337A1 (en) Method and device for implementing voice signaling tracking
JP3664718B2 (en) IP phone gateway device outgoing and incoming call processing, recording medium recording the program, and IP phone system
JP2003273899A (en) PRIVATE BRANCH EXCHANGE COMPATIBLE WITH VoIP AND TELEPHONE EXCHANGE SYSTEM COMPATIBLE WITH VoIP USING THE SAME AND METHOD FOR DYNAMICALLY ALLOCATION OF IP ADDRESS
JP2020078000A (en) Call recording system and call recording method
JP3622692B2 (en) Transmission path control method in multimedia communication, communication system and program therefor
JP4230797B2 (en) Switching network system and telephone switching device
JP3047903B1 (en) Network
JP4088175B2 (en) Switching network system and telephone switching device
JP2001156856A (en) Method and system for information communication between networks
WO2009086680A1 (en) Method and system for scheduling access network hairpin connection transaction
KR100540836B1 (en) System And Method For Processing Call Event And Call Control In Access Gateway
KR20060035081A (en) Method of internet protocol terminals for providing a plurality of call services and ip terminals enabling the method

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

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

Country of ref document: EP

Kind code of ref document: A1