WO2013029380A1 - 一种用于宽带网络的资源控制方法和系统 - Google Patents

一种用于宽带网络的资源控制方法和系统 Download PDF

Info

Publication number
WO2013029380A1
WO2013029380A1 PCT/CN2012/074555 CN2012074555W WO2013029380A1 WO 2013029380 A1 WO2013029380 A1 WO 2013029380A1 CN 2012074555 W CN2012074555 W CN 2012074555W WO 2013029380 A1 WO2013029380 A1 WO 2013029380A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
control module
resource control
application server
request
Prior art date
Application number
PCT/CN2012/074555
Other languages
English (en)
French (fr)
Inventor
何晓曦
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013029380A1 publication Critical patent/WO2013029380A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Definitions

  • the present invention relates to the field of communications, and in particular, to a resource control method and system applied to a broadband network. Background technique
  • AS Application Server
  • SIP Session Initial Protocol
  • Value-added applications After the AS triggers the service, the service controls the call resources such as incoming, outgoing, and media operations according to the user subscription information.
  • SaaS Software as a Service
  • PaaS PaaS
  • service management/authentication/resource control/billing needs to be performed by tenants, while there are no tenants in the current AS.
  • the concept of the resource cannot be controlled by the tenant. If the service is controlled, the existing service needs to be greatly modified, the cost of service maintenance is increased, and the resource is controlled by using the improved service.
  • the centralized management of resources cannot be realized, and the complexity of resource management and the cost of resource management are increased. Summary of the invention
  • the main technical problem to be solved by the present invention is to provide a resource control method and system for a broadband network, which combines existing ASs in NGN and IMS networks to enable tenants based on SaaS and PaaS models.
  • Resource control improve the versatility of AS, improve the concentration of resource management, and reduce the complexity and cost of resource management.
  • the present invention provides a resource control method for a broadband network, including: The resource control module initiates a resource information registration request to the application server;
  • the application server After receiving the request, the application server determines, according to the resource information, whether resource authentication is required, and if necessary, sends a resource authentication request to the resource control module;
  • the resource control module performs resource authentication according to the received resource authentication request, and feeds back the authentication result to the application server, and allocates resources to the application server when the authentication succeeds; the application server receives the authentication. After the successful authentication result, the current requested operation flow is performed by using the allocated resources;
  • the resource control module when the resource control module registers with the application server, when the resource information cannot be sent to the application server to complete all registrations, the resource control module splits the resource information. Multiple packages are sent to the application server for registration in order.
  • the resource authentication request carries a calling number, a called number, an access code, a service key, and a resource type.
  • the resource information includes a service key and a resource type.
  • the resource types include: an incoming call, an outgoing call resource, and a media operational resource.
  • the method further includes: the resource control module initiating a heartbeat detection process to the application server;
  • the method further includes the step of determining whether the heartbeat detection is successful.
  • the application server initiates the resource authentication request to the resource control module.
  • the resource control module when the heartbeat detection fails, the resource control module resends the resource information to the application server to register, until the registration is successful.
  • the method when the application server sends a resource authentication request to the resource control module, the method further includes:
  • the processing step of suspending the current requested operation flow when the authentication result fed back by the resource control module is successful, the application server resumes the current operation flow; otherwise, the application server stops the current operation flow.
  • the application server sends a resource authentication request to the resource control module, and does not receive the authentication result fed back by the resource management module within a preset time, it is determined as Authentication failed, stopping the current operation process.
  • the resource control module after the resource control module successfully registers with the AS, the resource control module sends a resource query request including the resource identifier to the AS, and the AS performs the corresponding resource according to the resource identifier included in the received resource query request. Query.
  • the invention also provides a resource control system for a broadband network, comprising an interconnected resource control module and an application server:
  • the resource control module is configured to initiate a resource information registration request to the application server; after receiving the resource authentication request sent by the application server, perform resource authentication, send the authentication result to the application server, and authenticate When successful, the resource is allocated to the application server; and is further configured to: after receiving the resource release request sent by the application server, release the corresponding resource; the application server is configured to respond to the registration request of the resource control module; After receiving the registration request, determining, according to the resource information, whether the resource authentication needs to be performed, and if necessary, sending a resource authentication request to the resource control module; and further configured to receive the feedback fed back by the resource control module. After the result, the resource is used to execute the current requested operation flow, and when the current requested operation flow ends, the release resource request is sent to the resource control module.
  • the resource control module is further configured to: after the registration to the application server is successful, initiate a heartbeat detection processing step to the application server, and send the resource to the application server when the heartbeat detection fails.
  • the information is re-registered until the registration is successful.
  • the present invention adds a resource control module to the broadband network, and causes the resource control module to complete the interaction with the AS resource information by registering with the AS. After the AS receives the corresponding operation request, the AS can obtain the resource information according to the resource information.
  • the resource control module Determining whether the resource control module needs to perform resource authentication processing, and when the authentication process is needed, sending an authentication request to the resource control module, and the resource control module performs the authentication process after receiving the authentication request, and feeds back the authentication result to the
  • the AS allocates resources to the AS when the authentication succeeds.
  • the AS After receiving the feedback of the authentication success, the AS performs the current request operation process, and sends a resource release request to the resource control module when the current operation process ends.
  • the resource corresponding to the operation request. Therefore, the resource control module provided by the present invention can be combined with the AS to complete the authentication of the corresponding resources, so that the AS can perform resource control based on the tenant under the SaaS and PaaS models, thereby improving the versatility of the AS and improving the versatility of the AS.
  • the concentration of resource management reduces the complexity and cost of resource management.
  • FIG. 1 is a flowchart of a resource control module registering with an AS according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a resource control module actively querying an AS for a resource according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a resource control system according to an embodiment of the present invention.
  • FIG. 4 is a flow chart of resource control of an incoming call and an outgoing resource by an AS according to an embodiment of the present invention
  • FIG. 5 is a flow chart of resource control of an AS operation resource by an AS according to an embodiment of the present invention. detailed description
  • the invention integrates the resource control module with the SIP-based AS to realize resource authentication and management.
  • the existing AS can also realize resource control based on tenants under the SaaS and PaaS models, improve the versatility of AS, and improve the collection of resource management. Neutral, reducing the complexity and cost of resource management.
  • the resource control method for the broadband network in this example mainly includes the following steps:
  • Step 1 The resource control module registers the resource information with the AS, and determines that the registration is successful after receiving the response of the successful registration of the AS;
  • Step 2 After receiving the operation request, the AS determines, according to the resource information, whether to perform resource authentication processing to the resource control module, and sends a resource authentication request to the resource control module, if necessary;
  • Step 3 The resource control module performs resource authentication processing according to the received resource authentication request, and feeds back the authentication result to the application server, and allocates the resource to the application server when the authentication succeeds;
  • Step 4 The application server receives the authentication After the successful authentication result, the current requested operation flow is performed by using the allocated resource; and when the current requested operation flow ends, the resource release request is sent to the resource control module, and the resource control module is requested to release the applied and the The resource corresponding to the operation request.
  • the resource information in this example includes the service key and resource type that the resource control module registers with the AS.
  • the process of the resource information registration process performed by the resource control module to the AS includes: Step 101: The resource control module initiates a device registration request to the AS;
  • Step 102 After receiving the device registration request, the AS sends a response to the device registration success to the resource control module.
  • Step 103 After receiving the response of the device that is fed back by the AS, the resource control module initiates a service key registration and a resource type registration to the AS.
  • Step 104 After receiving the corresponding service key registration and resource type registration information, the AS feeds back the successfully registered response to the resource control module. After receiving the feedback, the resource control module determines to successfully register with the AS.
  • the resource control module when the resource control module registers with the AS, the resource information cannot be sent at one time.
  • the resource control module can split the resource information into multiple packets and then send them to the AS in order to complete all registrations. In this case, each packet must be sent back to the AS.
  • the package's registration response can continue to be sent. That is, in this example, the resource control module is allowed to initiate multiple resource information registrations. Therefore, the resource control module in this example can support more service keys and resource types for registration, and the service processing capability is stronger.
  • the resource types in this example include the incoming call, the outgoing resource type, and the media operation resource type.
  • the media operations may specifically include TTS (Text To Speech), Fax (Fax), and ASR (Automatic Speech Recognition). Wait for media operations.
  • the AS when the AS determines, according to the foregoing resource information, that the resource control module needs to perform authentication processing on the currently received operation request, the AS suspends the current operation process, and sends a resource authentication request to the resource control module, and then according to the The authentication result fed back by the resource control module processes the current operation flow.
  • the resource authentication request sent by the AS may carry the calling number, the called number, the service key, the resource type, and the access code.
  • the resource control module After receiving the resource authentication request, the resource control module performs authentication processing according to the resource authentication request, and feeds back the authentication processing result to the AS. Specifically, after receiving the resource authentication request, the resource control module receives the resource authentication request according to the service key. Determine the third-party service that needs to perform resource authentication, and determine whether the number of such resources occupied by the service exceeds the configured limit according to the resource type. If it exceeds, the authentication fails. If successful, the authentication succeeds.
  • the calling number, the called number, and the access code in the authentication request are used to determine and release the resources occupied by the service when the resource control module receives the resource release request.
  • the authentication succeeds the resource corresponding to the operation request is allocated to the AS, and after receiving the authentication result successfully verified by the resource control module, the AS resumes the current suspended operation process and continues to execute the subsequent process; J.
  • the authentication result received by the AS is that the authentication fails, the AS stops the current operation process, and rejects the call or reports the failure of the service operation according to the resource type.
  • the AS determines that the authentication fails, stops the current operation process, and The resource type rejects the call or reports the failure of the business operation.
  • the resource control module After the resource control module is successfully registered with the AS, the resource can be queried to the AS according to the actual situation.
  • the resource control module sends a resource query request containing the resource identifier to the AS.
  • the AS performs the query of the corresponding resource according to the resource identifier included in the received resource query request.
  • the resource identifier in this example is a sequence of digits generated by the resource control module, which is used to uniquely identify the resource that the AS applies to the resource control module, and the resource identified by the resource identifier must belong to a registered resource type. .
  • the AS After each resource application is successful, the AS stores the requested resource information, including the resource type, the primary and the called number, the access code, and the service key in the form of the resource identifier in the hash table.
  • the resource identifier is removed from the hash table each time the operation process releases the resource. Therefore, when the AS receives the resource query request, it searches in the hash table according to the resource identifier included in the request, and if the corresponding resource identifier is found, it considers that the queried resource is occupied, and replies to the resource control module that the resource is in use. Medium; otherwise the reply is not used.
  • the active query process can effectively prevent a resource from being occupied for a long time because the AS is not operating normally, and the resource is wasted.
  • the heartbeat detection message is repeatedly sent to the AS according to the preset rule to detect whether the working status of both parties is normal.
  • the AS initiates a resource authentication request to the resource control module when the heartbeat detection succeeds and the resource authentication process needs to be performed to the resource control module. If the heartbeat detection fails, the AS does not perform resource authentication processing on the resource control module when it subsequently receives the operation request, but directly executes the current request process. When the heartbeat detection fails, the resource control module may resend the resource information to the AS for re-registration until the registration is successful.
  • the AS When the AS does not receive the heartbeat detection message for a preset period of time, the AS considers that the resource control module is faulty and considers that the heartbeat detection fails. Therefore, the AS does not initiate a resource authentication request to the resource control module. The flow of all requests to the request will no longer be suspended until The AS re-receives the heartbeat detection message in the subsequent process, and then re-opens the resource authentication function, and continues the authentication process of the corresponding resource according to the above method. For example, if the resource control module does not receive the response of the AS after continuously transmitting the heartbeat detection message for the N times, the AS is determined to be abnormal, and the heartbeat detection is also considered to be failed. At this time, the resource control module resends the resource to the AS. The information is re-registered until the registration is successful.
  • This example also provides a resource control system for a broadband network.
  • the resource control module and the AS are connected to each other.
  • Yes as long as the communication connection is maintained, Yes;
  • the resource control module is configured to: initiate a resource information registration request to the AS; perform resource authentication after receiving the resource authentication request sent by the AS, and send the authentication result to the AS; and when the authentication succeeds, allocate the resource to
  • the AS is further configured to release the corresponding resource after receiving the resource release request sent by the application server;
  • the AS in this example is used to respond to the registration request of the resource control module. After receiving the operation request, it is determined that the resource authentication process needs to be performed to the resource control module according to the resource information, and the resource authentication request is sent to the resource control module. And after receiving the authentication result fed back by the resource control module, performing corresponding processing on the current requested operation flow, and sending a release resource request to the resource control module to request release and operation request when the current operation flow ends Corresponding applied resources.
  • the resource control module is further configured to: after the registration to the application server is successful, initiate a heartbeat detection process to the application server, and receive a resource authentication request initiated by the application server when the heartbeat detection succeeds; Upon failure, the resource information is resent to the application server for registration, until the registration is successful;
  • the application server is further configured to: when determining whether the heartbeat detection is successful, determining that the heartbeat detection is successful, initiating a resource authentication request to the resource control module; and when the heartbeat detection fails, the receiving resource control module resending the resource Information, complete the registration process.
  • the application server is further configured to suspend the current requested operation flow when sending the resource authentication request to the resource control module;
  • the current operation flow is resumed; otherwise, the current operation flow is stopped.
  • the system in this example also includes a service module and a media server MS connected to the AS, and a user terminal A and a user terminal B connected to the AS.
  • a service module and a media server MS connected to the AS
  • a user terminal A and a user terminal B connected to the AS.
  • the AS calls the user B
  • the AS sends a media operation request to the MS
  • the AS needs to send a resource authentication request to the resource control module.
  • the present invention will be further described below by taking an incoming call, an outgoing call operation request, and a media operation request as examples.
  • the figure is a flow chart of the resource control of the incoming and outgoing resources by the AS.
  • the resource control module further includes the following steps:
  • the AS receives the incoming operation request initiated by the user terminal A, and after receiving the request, the AS feeds back to the user terminal A a response to the request;
  • the AS determines, according to the service key and the resource type registered by the resource control module, that the call operation request needs to perform resource authentication processing on the resource control module, and the AS suspends the incoming call operation process, and sends a resource authentication request to the resource control module.
  • the request includes access code, main and called numbers, service keys and resource types.
  • the resource control module performs resource authentication processing according to the received resource authentication request, and feeds back the result of the successful authentication to the AS, and allocates the corresponding incoming resource to the AS;
  • the AS After receiving the successful authentication result, the AS resumes the incoming call operation process
  • the service module sends an operation request of the outbound user terminal B to the AS, and the AS determines, according to the service key and the resource type registered by the resource control module, that the current request for the outgoing call operation needs to be subjected to resource authentication processing by the resource control module, and the AS will The outgoing call process hangs, and sends a resource authentication request to the resource control module, where the request also includes an access code, a primary and a called number, a service key, and a resource type.
  • the service control module feeds back the result of the successful authentication to the AS, and allocates the corresponding outgoing resource to the AS.
  • the AS resumes the outgoing call operation process, and sends a call request connection to the called party, that is, the user terminal B, and the user terminal B receives the call.
  • a response is sent to the AS, and after the user picks up the phone, the message is fed back to the AS that has accepted the call request, and the AS feeds back the message to the user terminal A, and the user terminal A and the user terminal B start to talk;
  • the user terminal A When the call ends, the user terminal A sends a release resource request to the AS, and the AS feeds back a response to the user terminal A, and sends a resource release request to the resource management module to release the requested inbound resource;
  • the AS notifies the user terminal B that the call is over, the user terminal B feeds back a response, and feeds back the resource request to the AS, and the AS sends a resource release request to the resource management module to release the applied outgoing resource.
  • the figure is a flow chart of the resource control of the media operation resource by the AS.
  • the MS may be a SIP or an MGCP.
  • the MS of the SIP is taken as an example for description.
  • the method further includes the following steps: After the user terminal A calls in, the service module plays the user terminal A, and sends a media operation request to the AS;
  • the AS determines that the current media operation request needs to be resource-authenticated by the resource control module according to the service key and the resource type registered by the resource control module, and the AS suspends the media operation process and sends a resource authentication request to the resource control module. ;
  • the resource processing module After receiving the resource authentication request, the resource processing module performs authentication processing, and feeds back the authentication processing result to the AS, and allocates corresponding media operation resources to the AS;
  • the AS resumes the media operation process, and notifies the media server to play the user terminal A;
  • the AS sends a release resource request to the resource control module, requesting to release the The media operation resources for the application.
  • the present invention can increase the resource control module, and enable the resource control module to complete the interaction with the AS resource information by registering with the AS.
  • the AS can determine whether it needs to request the resource control module for resource identification according to the resource information.
  • the AS also sends a resource release request to the resource control module, requesting to release the applied application The resource corresponding to the operation request.
  • the resource control module provided by the present invention can be combined with the AS to complete the authentication of the corresponding resources, so that the AS can perform resource control based on the tenant under the SaaS and PaaS models, improve the versatility of the AS, and improve the resources.
  • the concentration of management reduces the complexity and cost of resource management.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种用于宽带网络的资源控制方法和系统,设置资源控制模块,资源控制模块向应用服务器(AS)注册完成与AS资源信息交互,AS收到操作请求后,根据资源信息判断是否需要向资源控制模块发起资源鉴权请求,并根据资源控制模块鉴权处理的结果对当前请求的操作流程进行相应的处理,并在当前的操作流程结束时,AS还向资源控制模块发送资源释放请求,请求释放已申请的与所述操作请求所对应的资源。因此本发明提供的资源控制模块可与AS有机的结合完成相应资源的鉴权,从而使AS在软件即服务(SaaS)和平台即服务(PaaS)模型下能够基于租户来进行资源控制,提高AS的通用性的同时,也可提高资源管理的集中性,降低资源管理的复杂度和成本。

Description

一种用于宽带网络的资源控制方法和系统 技术领域
本发明涉及通信领域, 具体涉及一种应用于宽带网络的资源控制方法 和系统。 背景技术
在现有的 NGN ( Next Generation Network,下一代网络)和 IMS ( IP Multimedia System, IP多媒体系统) 网络中, AS ( Application Server, 应 用服务器)用于实现基于 SIP ( Session Initial Protocol, 会话初始协议) 的 增值应用。 AS触发业务后, 由业务根据用户签约信息来完成呼入、 呼出和 媒体操作等呼叫资源的控制。但是在 SaaS ( Software as a Service, 软件即服 务)和 PaaS ( Platform as a Service, 平台即服务)模型下, 需要按租户进行业 务管理 /认证 /资源控制 /计费, 而当前的 AS中没有租户的概念, 也无法按租 户进行资源控制, 如果通过业务进行控制的话, 则需要对现有业务进行较 大的改造, 加大了业务维护的成本, 且即使用改进的业务进行使资源控制, 也无法实现资源的集中管理, 加大了资源管理的复杂度和资源管理的成本。 发明内容
本发明要解决的主要技术问题是 , 提供一种用于宽带网络的资源控制 方法和系统,在 NGN和 IMS网络中,结合现有的 AS,使其在 SaaS和 PaaS 模型下能够基于租户来进行资源控制,提高 AS的通用性的同时,提高资源 管理的集中性, 降低资源管理的复杂度和成本。
为解决上述技术问题, 本发明提供一种用于宽带网络的资源控制方法 , 包括: 资源控制模块向应用服务器发起资源信息注册请求;
所述应用服务器收到请求后, 根据所述资源信息判断是否需要进行资 源鉴权, 如需要, 则向所述资源控制模块发送资源鉴权请求;
所述资源控制模块根据接收到的资源鉴权请求进行资源鉴权, 反馈鉴 权结果给所述应用服务器, 并在鉴权成功时分配资源给所述应用服务器; 所述应用服务器接收到鉴权成功的鉴权结果后, 利用分配的资源执行 当前请求的操作流程;
并在当前请求的操作流程结束时, 向资源控制模块发送资源释放请求, 请求资源控制模块释放已申请的与所述请求所对应的资源。
在本发明的一种实施例中, 所述资源控制模块向所述应用服务器注册 过程中, 当所述资源信息不能一次发送给应用服务器完成全部注册时, 资 源控制模块将所述资源信息拆分成多个包按序发送给应用服务器进行注 册。
在本发明的一种实施例中, 所述资源鉴权请求携带有主叫号码、 被叫 号码、 接入码、 业务键、 资源类型。
在本发明的一种实施例中, 所述资源信息包括业务键和资源类型。 在本发明的一种实施例中, 所述资源类型包括: 呼入、 呼出资源和媒 体操作资源。
在本发明的一种实施例中, 当所述资源控制模块向应用服务器注册成 功后, 该方法还包括: 所述资源控制模块向所述应用服务器发起心跳检测 流程; 所述应用服务器向所述资源控制模块发起鉴权请求时, 该方法还包 括判断心跳检测是否成功的步驟, 心跳检测成功时, 所述应用服务器才向 资源控制模块发起资源鉴权请求。
在本发明的一种实施例中, 当心跳检测失败时, 所述资源控制模块向 所述应用服务器重新发送所述资源信息进行注册, 直至注册成功。 在本发明的一种实施例中, 当所述应用服务器向所述资源控制模块发 送资源鉴权请求时, 该方法还包括:
将当前请求的操作流程挂起的处理步驟, 在接收到所述资源控制模块 反馈的鉴权结果为成功时, 所述应用服务器恢复当前操作流程; 否则, 所 述应用服务器停止当前操作流程。
在本发明的一种实施例中, 若所述应用服务器向所述资源控制模块发 送资源鉴权请求后, 在预设的时间内未收到资源管理模块反馈的鉴权结果 时, 则判断为鉴权失败, 停止当前的操作流程。
在本发明的一种实施例中, 资源控制模块在向 AS注册成功后, 资源控 制模块向 AS发送包含资源标识的资源查询请求, AS根据接收到的资源查 询请求内包含的资源标识进行相应资源的查询。
本发明还提供了一种用于宽带网络的资源控制系统, 包括相互连接的 资源控制模块和应用服务器:
所述资源控制模块, 设置为向所述应用服务器发起资源信息注册请求; 接收到所述应用服务器发送的资源鉴权请求后进行资源鉴权, 将鉴权结果 发送给应用服务器, 并在鉴权成功时, 分配资源给所述应用服务器; 还设 置为在接收到所述应用服务器发送的资源释放请求后, 释放相应的资源; 所述应用服务器, 设置为响应所述资源控制模块的注册请求; 在接收 到注册请求后, 根据所述资源信息判断是否需要进行资源鉴权, 确定需要 时, 向所述资源控制模块发送资源鉴权请求; 还设置为接收到所述资源控 制模块反馈的鉴权结果后, 利用所述资源执行当前请求的操作流程, 以及 在当前请求的操作流程结束时, 向所述资源控制模块发送释放资源请求。
在本发明的一种实施例中, 所述资源控制模块还用于在向应用服务器 注册成功之后, 向应用服务器发起心跳检测处理步驟, 并在心跳检测失败 时, 向该应用服务器发送所述资源信息重新进行注册直至注册成功。 本发明的有益效果是: 本发明通过在宽带网络中增加资源控制模块, 并使资源控制模块通过向 AS注册完成与 AS资源信息交互, 当 AS收到相 应的操作请求后, 可根据该资源信息判断是否需向资源控制模块进行资源 鉴权处理, 在需要鉴权处理时, 向资源控制模块发送鉴权请求, 资源控制 模块接收到该鉴权请求后进行鉴权处理, 将鉴权结果反馈给 AS, 并在鉴权 成功时分配资源给 AS, AS收到鉴权成功的反馈后执行当前请求的操作流 程, 并在当前的操作流程结束时, 向资源控制模块发送资源释放请求, 请 求释放已申请的与所述操作请求所对应的资源。 因此, 本发明提供的资源 控制模块可与 AS有机的结合完成相应资源的鉴权, 从而使 AS在 SaaS和 PaaS模型下能够基于租户来进行资源控制, 提高 AS的通用性的同时, 也 提高了资源管理的集中性, 降低了资源管理的复杂度和成本。 附图说明
图 1为本发明一种实施例的资源控制模块向 AS注册的流程图; 图 2为本发明一种实施例的资源控制模块主动向 AS查询资源的流程 图;
图 3为本发明一种实施例的资源控制系统结构示意图;
图 4为本发明一种实施例的 AS对呼入、呼出资源进行资源控制的流程 图;
图 5为本发明一种实施例的 AS对媒体操作资源进行资源控制的流程 图。 具体实施方式
本发明通过增加资源控制模块, 使其与基于 SIP协议的 AS有机结合, 实现资源的鉴权、管理。使现有的 AS在 SaaS和 PaaS模型下也能够实现基 于租户来进行资源控制,提高 AS的通用性的同时,也提高了资源管理的集 中性, 降低了资源管理的复杂度和成本。 下面通过具体实施方式结合附图 对本发明作进一步详细说明。
本例中用于宽带网络的资源控制方法主要可包括以下步驟:
步驟 1 : 资源控制模块向 AS进行资源信息注册, 在收到 AS注册成功 的响应后判断注册成功;
步驟 2: AS接收到操作请求后, 根据上述资源信息判断是否需要向资 源控制模块进行资源鉴权处理, 如需要, 向所述资源控制模块发送资源鉴 权请求;
步驟 3:所述资源控制模块根据接收到的资源鉴权请求进行资源鉴权处 理, 反馈鉴权结果给应用服务器, 并在鉴权成功时分配资源给应用服务器; 步驟 4: 应用服务器接收到鉴权成功的鉴权结果后, 利用上述分配的资 源执行当前请求的操作流程; 并在当前请求的操作流程结束时, 向资源控 制模块发送资源释放请求, 请求资源控制模块释放已申请的与所述操作请 求所对应的资源。
本例中的资源信息包括资源控制模块向 AS注册的业务键和资源类型。 具体的, 请参见图 1 , 资源控制模块向 AS进行资源信息注册的过程包括: 步驟 101 : 资源控制模块向 AS发起设备注册请求;
步驟 102: AS收到设备注册请求后, 反馈设备注册成功的响应给资源 控制模块;
步驟 103: 资源控制模块在接收到 AS反馈的设备注册成功的响应后, 向 AS发起业务键注册和资源类型注册;
步驟 104: AS收到相应的业务键注册和资源类型注册信息后, 反馈注 册成功的响应的给资源控制模块, 资源控制模块收到该反馈后, 确定成功 注册到 AS上。
本例中,在资源控制模块向 AS注册过程中, 当资源信息不能一次性发 送给 AS完成全部注册时, 资源控制模块可将资源信息拆分成多个包, 然后 按序发送给 AS以完成全部注册, 本例中发送每一个包时, 都必须等 AS反 馈完上一个包的注册响应后才能继续发送。 即本例中允许资源控制模块发 起多次资源信息注册, 因此本例中的资源控制模块可支持更多的业务键和 资源类型进行注册, 业务处理能力更强。
本例中的资源类型包括呼入、 呼出资源类型和媒体操作资源类型, 其 中媒体操作具体可包括 TTS ( Text To Speech, 文本语音)、 Fax (传真)、 ASR ( Automatic Speech Recognition, 自动语音识别)等媒体操作。
本例中,当 AS根据上述资源信息判断需要向资源控制模块对当前接收 到的操作请求进行鉴权处理时, AS将当前操作流程挂起, 并向资源控制模 块发送资源鉴权请求, 然后根据资源控制模块反馈的鉴权结果对当前操作 流程进行相应的处理, 本例中 AS发送的资源鉴权请求可携带有主叫号码、 被叫号码、 业务键、 资源类型和接入码。 资源控制模块接收到该资源鉴权 请求后,根据该资源鉴权请求进行鉴权处理,并将鉴权处理结果反馈给 AS, 具体的, 资源控制模块收到资源鉴权请求后, 根据业务键确定需要进行资 源鉴权的第三方业务, 再根据资源类型确定该业务占用的此类资源数量是 否超出配置限额, 若超出则返回鉴权失败, 若成功则返回鉴权成功。
本例中鉴权请求中的主叫号码、 被叫号码和接入码用于在资源控制模 块收到资源释放请求时确定业务所占用的资源并将其释放。 在鉴权成功时 分配与操作请求相对应的资源给 AS, AS收到资源控制模块反馈的鉴权成 功的鉴权结果后, 恢复当前挂起的操作流程, 继续执行后续的流程; 否贝' J , AS接收到的鉴权结果为鉴权失败, AS停止当前操作流程, 并根据资源类 型拒绝呼叫或上报业务操作失败的信息。
本例中, 若 AS向资源控制模块发送了资源鉴权请求后,在预设的时间 内未收到鉴权结果时, 则判断为鉴权失败, 停止当前的操作流程, 并根据 资源类型拒绝呼叫或上报业务操作失败的信息。 采用这种机制, 可更灵活、 有效的控制相应的资源。
本例中, 资源控制模块在向 AS注册成功后, 还可根据实际情况主动 的向 AS查询相应的资源, 请参见图 2, 具体如下: 资源控制模块向 AS发 送包含资源标识的资源查询请求, AS根据接收到的资源查询请求内包含 的资源标识进行相应资源的查询。 本例中的资源标识为一串由资源控制模 块产生的数字序列, 用来唯一标识 AS向资源控制模块申请成功的资源,且 一个资源标识所确定的资源必定属于某一种已注册的资源类型。 AS每次资 源申请成功后, 将已申请的资源信息, 包括资源类型, 主、 被叫号码, 接 入码、 业务键保存以资源标识的形式存储在哈希表中。 每次操作流程结束 释放资源时, 就从哈希表中删除相应资源标识。 因此, 当 AS收到资源查询 请求时, 根据该请求中包含的资源标识在哈希表中查找, 若找到对应的资 源标识, 则认为查询的资源被占用, 向资源控制模块回复该资源正在使用 中; 否则回复未使用。 本例中通过上述主动查询流程可有效的防止某一资 源由于 AS未正常运行而长时间被占用未释放, 从而导致资源浪费。
本例中资源控制模块向 AS注册成功后,按预设的规则持续的向 AS重 复的发送心跳检测消息以检测双方的工作状态是否正常。 在心跳检测成功, 且经判断需要向资源控制模块进行资源鉴权处理时, AS才向资源控制模块 发起资源鉴权请求。 若心跳检测失败, AS在后续接收到操作请求时, 就不 向资源控制模块进行资源鉴权处理了, 而是直接执行当前请求的流程。 在 心跳检测失败时, 资源控制模块还可向该 AS 重发资源信息以进行重新注 册, 直至注册成功。 例如:
当 AS在预设的时间段内一直未收到心跳检测消息时,则认为此时资源 控制模块发生故障,认为心跳检测失败, 因此 AS不再向资源控制模块发起 资源鉴权请求, 此时接收到的所有请求的操作流程不会再被挂起, 直到当 AS在后续过程中又重新接收到心跳检测消息, 才重新打开资源鉴权功能, 按上述方法继续进行相应资源的鉴权流程。 又例如: 当资源控制模块连续 超过预设的 N次发送心跳检测消息后都未收到 AS的响应,则判断该 AS异 常, 也认为心跳检测失败, 此时资源控制模块向该 AS重发资源信息重新进 行注册直至注册成功。
本例还提供了一种用于宽带网络的资源控制系统,请参见图 3 , 包括如 上所述的资源控制模块和 AS, 资源控制模块和 AS相互连接, 本例中二者 只要保持通信连接即可;
所述资源控制模块, 用于向 AS发起资源信息注册请求; 接收到 AS发 送的资源鉴权请求后进行资源鉴权,并将鉴权结果发送给 AS;并在鉴权成功 时, 分配资源给 AS; 还用于在接收到所述应用服务器发送的资源释放请求 后, 释放相应的资源;
本例中的 AS, 用于响应资源控制模块的注册请求; 在接收到操作请求 后根据上述资源信息判断需要向资源控制模块进行资源鉴权处理时, 向所 述资源控制模块发送资源鉴权请求; 还用于接收所述资源控制模块反馈的 鉴权结果后, 对当前请求的操作流程进行相应的处理, 以及在当前操作流 程结束时, 向资源控制模块发送释放资源请求以请求释放与操作请求相对 应的已申请的资源。
其中, 所述资源控制模块, 还用于为在向应用服务器注册成功之后, 向应用服务器发起心跳检测流程, 并在心跳检测成功时, 接收所述应用服 务器发起的资源鉴权请求; 在心跳检测失败时, 向该应用服务器重新发送 所述资源信息进行注册, 直至注册成功;
相应的, 所述应用服务器, 还用于为判断心跳检测是否成功, 确定心 跳检测成功时, 向资源控制模块发起资源鉴权请求; 并在心跳检测失败时, 接收资源控制模块重新发送所述资源信息, 完成注册流程。 其中, 所述应用服务器, 还用于向所述资源控制模块发送资源鉴权请 求时, 将当前请求的操作流程挂起;
收到所述资源控制模块反馈的鉴权成功的结果时, 恢复当前操作流程; 否则, 停止当前操作流程。
本例中的系统还包括与 AS连接的业务模块和媒体服务器 MS, 以及与 AS连接的用户终端 A和用户终端 B。 本例中的用户终端呼入到 AS、 AS呼 出到用户 B以及 AS向 MS发出媒体操作请求时, AS均需向资源控制模块 发送资源鉴权申请。 下面分别以呼入、 呼出操作请求和媒体操作请求为例 对本发明做进一步说明。
请参见图 4, 该图为 AS对呼入、 呼出资源进行资源控制的流程图, 在 经图 1所示的过程之后, 资源控制模块成功的注册到 AS上之后,还包括以 下步驟:
AS收到用户终端 A发起的呼入操作请求 , AS收到该请求后向用户终 端 A反馈收到该请求的响应;
AS根据资源控制模块注册的业务键和资源类型判断出该呼入操作请 求需向资源控制模块进行资源鉴权处理, AS将该呼入操作流程挂起, 向资 源控制模块发送资源鉴权请求, 该请求中包括接入码, 主、 被叫号码, 业 务键和资源类型等信息;
资源控制模块根据接收到的资源鉴权请求进行资源鉴权处理, 并将鉴 权成功的结果反馈给 AS , 同时分配相应的呼入资源给 AS;
AS收到鉴权成功的结果后, 恢复该呼入操作流程;
业务模块下发外呼用户终端 B的操作请求给 AS, AS根据资源控制模 块注册的业务键和资源类型判断出当前请求的呼出操作需由资源控制模块 对其进行资源鉴权处理, AS将该呼出流程挂起, 向资源控制模块发送资源 鉴权请求, 该请求中同样包括接入码、 主、 被叫号码、 业务键和资源类型 等信息;
业务控制模块将鉴权成功的结果反馈给 AS , 并分配相应的呼出资源给 AS, AS收到后恢复该呼出操作流程, 向被叫方即用户终端 B发送呼叫请 求连接, 用户终端 B接收到该请求后, 反馈一个响应给 AS, 并在用户摘机 后, 反馈给 AS已经接受了该通话请求的消息, AS将该消息反馈给用户终 端 A, 用户终端 A和用户终端 B开始通话;
当通话结束时, 用户终端 A向 AS发送释放资源请求, AS反馈一个响 应给用户终端 A, 并向资源管理模块发送资源释放请求, 释放申请的呼入 资源;
同时, AS通知用户终端 B通话结束, 用户终端 B反馈一个响应, 并反 馈释放资源请求给 AS, AS向资源管理模块发送资源释放请求, 释放申请 的呼出资源。
请参见图 5, 该图为 AS对媒体操作资源进行资源控制的流程图, MS 可以是 SIP或 MGCP, 本例以 SIP的 MS为例做进行一步说明, 在经图 1 所示的过程之后,资源控制模块成功的注册到 AS上之后,还包括以下步驟: 在用户终端 A呼入后, 业务模块给用户终端 A放音, 向 AS下发媒体 操作请求;
AS 根据资源控制模块注册的业务键和资源类型判断出当前的媒体操 作请求需由资源控制模块对其进行资源鉴权处理, AS将该媒体操作流程挂 起, 向资源控制模块发送资源鉴权请求;
资源处理模块接收到该资源鉴权请求后, 对其进行鉴权处理, 并将鉴 权处理结果反馈给 AS, 同时分配相应的媒体操作资源给 AS;
AS收到鉴权成功的结果后, 恢复该媒体操作流程, 通知媒体服务器给 用户终端 A放音;
媒体操作结束时, AS向资源控制模块发送释放资源请求, 请求释放已 申请的媒体操作资源。
综上可知, 本发明通过增加资源控制模块, 使资源控制模块通过向 AS 注册完成与 AS资源信息交互, AS收到操作请求后,可根据上述资源信息 判断是否需要向资源控制模块请求进行资源鉴权, 并根据资源控制模块鉴 权处理的结果对当前请求的操作流程进行相应的处理, 并在当前的操作流 程结束时, AS还向资源控制模块发送资源释放请求, 请求释放已申请的与 所述操作请求所对应的资源。因此本发明提供的资源控制模块可与 AS有机 的结合完成相应资源的鉴权,从而使 AS在 SaaS和 PaaS模型下能够基于租 户来进行资源控制,提高 AS的通用性的同时,也提高了资源管理的集中性, 降低了资源管理的复杂度和成本。 能认定本发明的具体实施只局限于这些说明。 对于本发明所属技术领域的 普通技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若干简单 推演或替换, 都应当视为属于本发明的保护范围。

Claims

权利要求书
1、 一种用于宽带网络的资源控制方法, 该方法包括:
资源控制模块向应用服务器发起资源信息注册请求;
所述应用服务器收到请求后, 根据所述资源信息判断是否需要进行资 源鉴权, 如果需要, 则向所述资源控制模块发送资源鉴权请求;
所述资源控制模块根据收到的资源鉴权请求进行资源鉴权, 反馈鉴权 结果给所述应用服务器, 并在鉴权成功时, 分配资源给所述应用服务器; 所述应用服务器收到鉴权成功的鉴权结果后, 利用所述资源执行当前 请求的操作流程; 并在当前请求的操作流程结束时, 向资源控制模块发送 资源释放请求, 请求资源控制模块释放已申请的与所述请求所对应的资源。
2、 如权利要求 1所述的方法, 其中, 所述资源控制模块向所述应用服 务器注册过程中, 当所述资源信息不能一次发送给应用服务器完成全部注 册时, 资源控制模块将所述资源信息拆分成多个包, 按序发送给应用服务 器进行注册。
3、 如权利要求 1所述的方法, 其中, 所述资源鉴权请求携带有主叫号 码、 被叫号码、 接入码、 业务键和资源类型。
4、 如权利要求 1所述的方法, 其中, 所述资源信息包括: 业务键和资 源类型。
5、 如权利要求 4所述的方法, 其中, 所述资源类型包括: 呼入资源、 呼出资源和媒体操作资源。
6、 如权利要求 1-5任一项所述的方法, 其中, 当所述资源控制模块向 应用服务器注册成功后, 该方法还包括: 所述资源控制模块向所述应用服 务器发起心跳检测流程;
相应的, 所述应用服务器向所述资源控制模块发起资源鉴权请求时, 该方法还包括: 判断心跳检测是否成功, 如果心跳检测成功, 所述应用服 务器则向资源控制模块发起资源鉴权请求。
7、 如权利要求 6所述的方法, 其中, 当心跳检测失败时, 所述资源控 制模块向所述应用服务器重新发送所述资源信息进行注册, 直至注册成功。
8、 如权利要求 1-5所述的方法, 其中, 当所述应用服务器向所述资源 控制模块发送资源鉴权请求时, 该方法还包括:
将当前请求的操作流程挂起, 在收到所述资源控制模块反馈的鉴权成 功的结果时, 所述应用服务器恢复当前操作流程; 否则, 所述应用服务器 停止当前操作流程。
9、 如权利要求 1-5任一项所述的方法, 其中, 若所述应用服务器向所 述资源控制模块发送资源鉴权请求后, 在预设的时间内未收到资源管理模 块反馈的鉴权结果时, 则判断为鉴权失败, 停止当前的操作流程。
10、 如权利要求 1-5任一项所述的方法, 其中, 资源控制模块在向应用 服务器注册成功后, 资源控制模块向应用服务器发送包含资源标识的资源 查询请求, 应用服务器根据接收到的资源查询请求内包含的资源标识进行 相应资源的查询。
11、 一种用于宽带网络的资源控制系统, 该系统包括: 相互连接的资 源控制模块和应用服务器:
所述资源控制模块, 设置为向所述应用服务器发起资源信息注册请求; 收到所述应用服务器发送的资源鉴权请求后进行资源鉴权, 将鉴权结果发 送给应用服务器, 并在鉴权成功时, 分配资源给所述应用服务器; 还设置 为在收到所述应用服务器发送的资源释放请求后, 释放相应的资源;
所述应用服务器, 设置为响应所述资源控制模块的注册请求; 在收到 注册请求后, 根据所述资源信息判断是否需要进行资源鉴权, 确定需要时, 向所述资源控制模块发送资源鉴权请求; 还设置为收到所述资源控制模块 反馈的鉴权结果后, 利用所述资源执行当前请求的操作流程, 以及在当前 请求的操作流程结束时, 向所述资源控制模块发送释放资源请求。
12、 如权利要求 11所述的系统, 其中, 所述资源控制模块, 还设置为 在向应用服务器注册成功之后, 向应用服务器发起心跳检测流程, 并在心 跳检测成功时, 接收所述应用服务器发起的资源鉴权请求; 在心跳检测失 败时, 向该应用服务器重新发送所述资源信息进行注册, 直至注册成功; 相应的, 所述应用服务器, 还设置为判断心跳检测是否成功, 确定心 跳检测成功时, 向资源控制模块发起资源鉴权请求; 并在心跳检测失败时, 接收资源控制模块重新发送所述资源信息, 完成注册流程。
13、 如权利要求 11所述的系统, 其中, 所述应用服务器, 还设置为向 所述资源控制模块发送资源鉴权请求时 , 将当前请求的操作流程挂起; 收到所述资源控制模块反馈的鉴权成功的结果时, 恢复当前操作流程; 否则, 停止当前操作流程。
PCT/CN2012/074555 2011-08-26 2012-04-23 一种用于宽带网络的资源控制方法和系统 WO2013029380A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110248124.8 2011-08-26
CN201110248124.8A CN102957674B (zh) 2011-08-26 2011-08-26 一种用于宽带网络的资源控制方法和系统

Publications (1)

Publication Number Publication Date
WO2013029380A1 true WO2013029380A1 (zh) 2013-03-07

Family

ID=47755263

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074555 WO2013029380A1 (zh) 2011-08-26 2012-04-23 一种用于宽带网络的资源控制方法和系统

Country Status (2)

Country Link
CN (1) CN102957674B (zh)
WO (1) WO2013029380A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516215B (zh) * 2014-09-22 2018-11-16 阿里巴巴集团控股有限公司 异步调用方法和装置
CN104980441A (zh) * 2015-06-26 2015-10-14 浪潮软件股份有限公司 一种实现租户鉴权机制的方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026462A (zh) * 2006-02-20 2007-08-29 华为技术有限公司 一种在ngn中实现流媒体业务的方法及其系统
CN101030961A (zh) * 2006-03-02 2007-09-05 华为技术有限公司 一种在基于ngn网络实现时移电视业务的方法及其系统
CN101345750A (zh) * 2007-07-11 2009-01-14 株式会社日立制作所 各服务通信控制装置、系统及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026462A (zh) * 2006-02-20 2007-08-29 华为技术有限公司 一种在ngn中实现流媒体业务的方法及其系统
CN101030961A (zh) * 2006-03-02 2007-09-05 华为技术有限公司 一种在基于ngn网络实现时移电视业务的方法及其系统
CN101345750A (zh) * 2007-07-11 2009-01-14 株式会社日立制作所 各服务通信控制装置、系统及方法

Also Published As

Publication number Publication date
CN102957674B (zh) 2017-07-11
CN102957674A (zh) 2013-03-06

Similar Documents

Publication Publication Date Title
EP1665722B1 (en) Exchange protocol for combinational multimedia services
JP5379167B2 (ja) Sip−httpアプリケーション相関器
WO2013044649A1 (zh) 电信网络向互联网提供会话服务的方法及系统
JP5173607B2 (ja) 通信システム
EP2874366B1 (en) Network gateway implementing an instance manager function
JP2006517064A (ja) 一時的に利用不可能なネットワークユーザーへのメッセージのルーティング方法、システム、およびネットワーク装置
US20070019572A1 (en) SIP server, terminal device, subscriber information management device, and communication control method
WO2007054022A1 (fr) Systeme, procede et dispositif de controle du droit d'usage de l'appelant
WO2011131055A1 (zh) 一种实现安全呼叫转移的方法、系统及装置
WO2010078756A1 (zh) 呼叫控制的方法、装置和系统
WO2008089626A1 (fr) Procédé d'identification d'un appel malveillant
WO2010069176A1 (zh) 实现pc客户端绑定硬终端时召开会议的方法、登录服务器、会议服务器及pc客户端
US9237587B2 (en) Method and system for implementing group message service based on converged service system
WO2010091588A1 (zh) 区分共享同一公共用户标识的多个用户设备的方法及装置
WO2011020343A1 (zh) 应用服务器和媒体资源分配方法
US7899058B2 (en) Using a hash value as a pointer to an application class in a communications device
US9071690B2 (en) Call transfer processing in SIP mode
WO2013029380A1 (zh) 一种用于宽带网络的资源控制方法和系统
WO2008080297A1 (fr) Procédé, équipement et système pour mettre en rapport une session
US20110302245A1 (en) Realization method and system for participating in a predefined group session
CN117294746B (zh) 融合通信方法、装置、终端设备及存储介质
WO2011079709A1 (zh) 会话处理方法及装置
KR100493100B1 (ko) 이동통신 시스템에서 인터넷기반 음성서비스 제공 장치 및방법
CA2607379A1 (en) Method and computer product for switching subsequent messages with higher priority than invite messages in a softswitch
KR101307719B1 (ko) 미디어 릴레이 서버의 자원 관리 방법

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

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

Country of ref document: EP

Kind code of ref document: A1