WO2011020343A1 - 应用服务器和媒体资源分配方法 - Google Patents

应用服务器和媒体资源分配方法 Download PDF

Info

Publication number
WO2011020343A1
WO2011020343A1 PCT/CN2010/072639 CN2010072639W WO2011020343A1 WO 2011020343 A1 WO2011020343 A1 WO 2011020343A1 CN 2010072639 W CN2010072639 W CN 2010072639W WO 2011020343 A1 WO2011020343 A1 WO 2011020343A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
call
application server
media resource
resource allocation
Prior art date
Application number
PCT/CN2010/072639
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 中兴通讯股份有限公司
Priority to BR112012003692A priority Critical patent/BR112012003692A2/pt
Priority to SG2012009130A priority patent/SG178342A1/en
Publication of WO2011020343A1 publication Critical patent/WO2011020343A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/822Collecting or measuring resource availability data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/781Centralised allocation of resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an application server and a media resource allocation method. Background technique
  • NTN Next Generation Network
  • IMS IP-based Multimedia Subsystem
  • AS Application Server
  • MS Media Server
  • AS Application Server
  • MS Media Server
  • the application server is used to implement business logic of various value-added services or intelligent services.
  • the media server is used to provide media processing functions such as playback, number collection, recording, fax, and conference for various types of multimedia services under the control of the application server. .
  • media resources are not adequately allocated.
  • an operator provides media resources for enterprise users
  • the media resources need to be allocated reasonably, so that the application of each enterprise user can be guaranteed, which is of great significance for the operator to improve the service quality.
  • a plurality of media servers can be connected to a primary media server, and the primary media server uniformly allocates media resources of a plurality of media servers connected thereto.
  • the media cannot be mediated according to user requirements.
  • the allocation of resources, and the networking mode of the primary media server and multiple media servers are also difficult to deploy. Summary of the invention
  • an embodiment of the present invention provides an application server and a media resource allocation method, which can reasonably allocate media resources according to user requirements.
  • an embodiment of the present invention provides an application server, including: a triggering module, configured to trigger a service application corresponding to the call when receiving a call of the user terminal;
  • An analysis module configured to analyze the number of media resources that the call needs to occupy
  • An obtaining module configured to acquire an upper limit of the media resources in the service application and a current occupation number
  • a determining module configured to determine, according to the number of media resources that the call needs to occupy, the upper limit of the media resources in the service application, and the current occupied number, whether the media resource allocation condition is met;
  • a processing module configured to: when the media resource allocation condition is met, control the media server to provide a media resource for the call, and when the media resource allocation condition is not met, end the call.
  • the determining module includes:
  • a summation unit configured to sum the number of media resources that need to be occupied by the call and the current occupied number of media resources in the service application, to obtain a sum value
  • a comparing unit configured to determine whether the sum value exceeds an upper limit of the media resource in the service application, and if the upper limit is exceeded, determining that the media resource allocation condition is met; and when the upper limit is not exceeded, determining that the media resource allocation condition is not met.
  • the application server further includes:
  • the configuration module is configured to connect to the obtaining module, and configured to allocate an upper limit for a media resource to be used for each service application that can be supported.
  • the application server further includes:
  • a release module connected to the processing module, for releasing the call when the call is ended Call the occupied media resources.
  • the application server further includes:
  • an update module configured to connect the acquiring module and the releasing module, to update the current occupied number of the media resources in the service application corresponding to the call when releasing the media resource occupied by the call.
  • An embodiment of the present invention further provides a media resource allocation method, including the following steps: When an application server receives a call of a user terminal, the application server triggers a service application corresponding to the call;
  • the application server analyzes the number of media resources that the call needs to occupy
  • the application server acquires an upper limit of the occupation of the media resources in the service application and the current occupation number
  • the application server determines whether the media resource allocation condition is met according to the number of media resources that the call needs to occupy, the upper limit of the media resources occupied by the service application, and the current occupied number;
  • the application server When the application server satisfies the media resource allocation condition, the application server controls the media server to provide the media resource for the call; when the media resource allocation condition is not met, the call ends.
  • Whether the determining whether the media resource allocation condition is met is specifically:
  • the application server sums the number of media resources that the call needs to occupy and the current occupied number of media resources in the service application, and obtains a sum value
  • the application server determines whether the sum value exceeds an upper limit of the media resource usage in the service application, and if so, determines that the media resource allocation condition is satisfied; otherwise, determines that the media resource allocation condition is not satisfied.
  • the method further includes: before the determining, by the application server, the number of the media resources to be occupied by the call, the upper limit of the media resources in the service application, and the current number of occupied media, and determining whether the media resource allocation condition is met, the method further includes:
  • the application server is configured to have a media resource configuration upper limit that needs to be used for each service application that can be supported.
  • the media resource allocation method further includes:
  • the media resource occupied by the call is released.
  • the method further includes:
  • the application server updates the current occupied number of the media resources in the service application corresponding to the call.
  • the application server configures an upper limit for the media resources to be used for each service application according to the requirements of the user.
  • the number of media resources occupied by the call and the media resource in the service application corresponding to the call are received by the application server.
  • the upper limit of the occupation and the current number of occupations are used to determine whether media resources are allocated for the call, so that the service application of each user can be guaranteed, which helps the operator to improve the service quality.
  • the application server can charge the user according to the upper limit of the media resource configured for the service application, and improve the charging method of the operator.
  • the application server allocates media resources to multiple media servers, and does not need to make any changes to the media server's networking mode to implement the package.
  • FIG. 1 is a schematic structural diagram of an NGN/IMS network system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an application server according to an embodiment of the present invention.
  • FIG. 3 is another schematic structural diagram of an application server according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a media resource allocation method according to an embodiment of the present invention.
  • FIG. 5 is another schematic flowchart of a media resource allocation method according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention are based on an NGN or IMS network system, and the following is a brief introduction to a network system structure diagram of NGN/IMS.
  • FIG. 1 is a schematic structural diagram of an NGN/IMS network system according to an embodiment of the present invention.
  • the NGN/IMS network system mainly includes the following network elements: a user terminal (UE, User Equipment), an NGN/IMS network, an application server, and a media server. .
  • UE User Equipment
  • an application server an application server
  • media server a media server.
  • FIG. 2 is a schematic structural diagram of an application server according to an embodiment of the present invention, where the application server includes:
  • the triggering module 101 is configured to trigger a service application corresponding to the call when receiving the call of the user terminal.
  • the user terminal can access the NGN/IMS network by means of a wired or wireless manner, and when the user terminal initiates a call, the application server is triggered by using a Session Initiation Protocol (SIP) message through the NGN/IMS network.
  • SIP Session Initiation Protocol
  • the corresponding business application on the business application line can be a customer service hotline.
  • the analyzing module 102 is configured to analyze the number of media resources that the call needs to occupy.
  • the number of media resources can include: number of ports, playback, receiving, recording, faxing, and conferencing.
  • the obtaining module 103 is configured to obtain an upper limit of the media resources in the service application and a current occupation number.
  • the determining module 104 is configured to determine whether the media resource allocation condition is met according to the number of media resources that need to be occupied by the call, the upper limit of the media resources occupied by the service application, and the current occupied number.
  • the processing module 105 is configured to control the media server to provide a media resource for the call when the media resource allocation condition is met, otherwise the call is ended.
  • the specific form of ending the call may be to directly end the call, or to end the call after playing the prompt tone, etc., according to various industries.
  • the business logic of the application is self-defining.
  • FIG. 3 is another schematic structural diagram of the application server according to the embodiment of the present invention.
  • the application server further includes: a configuration module 106, and a connection obtaining module 103, configured to configure an upper limit for the media resources that need to be used for each service application that can be supported. For example, in a service application of a corporate customer service hotline, you can configure the upper limit of the number of media resources that the service application uses for port resources, playback resources, or conference resources.
  • the configured media resource limit can be updated according to the user's needs.
  • the enterprise user has purchased 200 playback resources, 200 recording resources, and 50 conference resources.
  • the upper limit of the media resources allocated by the application server for the service application of the enterprise customer service hotline is as follows: For example, the upper limit of the recording resource is 200, and the upper limit of the conference resource is 50, which limits the classification of all media resources in the service application.
  • the application server analyzes that the destination number of the call is the customer service hotline of the enterprise, the triggering module 101 triggers the service application of the enterprise customer service hotline, and the analyzing module 102 analyzes the media resource that the user calls need to occupy.
  • the maximum number of playback resources occupied by the acquisition module is 200, and the upper limit of the recording resource is 200, and the number of playback resources currently occupied by the enterprise application is 200. 60, the recording resource is 55.
  • the determining module 104 determines that the media resource allocation condition is still satisfied, and the processing module 105 controls the media server to provide the playback resource and the recording resource for the call. .
  • the acquisition module 103 obtains the number of the playback resources currently occupied by the enterprise application is 200, the recording resource is 110. At this time, because the playback resource is insufficient, the determination module 104 determines that the media resource allocation condition is not currently met. , Processing module 105 then ends the call.
  • the determining module 104 may sum the number of media resources that the user calls need to be occupied, and the current number of media resources in the service application corresponding to the call, and The obtained sum value is compared with the upper limit of the media resources in the service application, and it is determined whether the sum value exceeds the upper limit of the media resources in the service application, thereby determining whether the media resource allocation condition is met.
  • the determining module 104 includes:
  • a summation unit 1041 configured to sum the number of media resources that need to be occupied by the call and the current occupied number of media resources in the service application, to obtain a sum value
  • the comparing unit 1042 is configured to determine whether the sum value exceeds the occupation limit of the media resource in the service application, and if yes, determine that the media resource allocation condition is met, otherwise, determine that the media resource allocation condition is not satisfied.
  • the application server when the user's call ends, the application server also needs to release the media resources occupied by the call. Therefore, as shown in FIG. 3, the application server further includes:
  • the release module 107 is configured to release the media resource occupied by the call when the call is ended.
  • the application server needs to release all the media resources occupied by the call.
  • the application server may initiate a BYE message to the media server, instructing the media server to release the media resources occupied by the user call, where
  • the BYE message is a type of SIP signaling.
  • the application server further includes: an update module 108, a connection obtaining module 103, and a release module 107, for releasing, after the media resource occupied by the current call is released, and the current number of media resources in the service application is also changed.
  • an update module 108 for releasing, after the media resource occupied by the current call is released, and the current number of media resources in the service application is also changed.
  • the current occupied number of media resources in the service application corresponding to the call is updated.
  • the application server provided by the foregoing embodiment can configure an upper limit for the media resources to be used for each service application according to the requirements of the user, and when receiving the call of the user terminal, Determining whether to allocate media resources for the call according to the number of media resources that the call needs to occupy, the upper limit of the media resources in the service application corresponding to the call, and the current occupied number, thereby enabling each user's service application to be enabled. It is guaranteed to help operators improve service quality.
  • the application server can charge the user according to the upper limit of the media resource configured for the service application, and improve the charging mode of the operator, and distinguish the charging method according to the number of media resources actually occupied by the user in the prior art.
  • the application server allocates media resources to multiple media servers, and does not need to make any changes to the media server's networking mode to implement the package.
  • FIG. 4 is a schematic flowchart of a media resource allocation method according to an embodiment of the present invention, where the media resource allocation method includes the following steps:
  • Step 401 The application server triggers a service application corresponding to the call when receiving the call of the user terminal.
  • the corresponding service application on the application server is triggered by the SIP message through the NGN/IMS network.
  • Step 402 The application server analyzes the number of media resources that the call needs to occupy.
  • the number of media resources can include: number of ports, playback, number, recording, fax, and conference.
  • Step 403 The application server obtains an upper limit of the media resources occupied by the service application and the current occupied number.
  • Step 404 The application server determines, according to the number of media resources that the call needs to occupy, the upper limit of the media resources in the service application, and the current occupied number, whether the media resource allocation condition is met. If yes, go to step 405; otherwise, perform steps. 406.
  • Step 405 The application server controls the media server to provide a media resource for the call.
  • Step 406 the application server ends the call.
  • the judging module 104 can determine the number of media resources that the user needs to occupy, and the current number of media resources in the service application corresponding to the call, and determine the current media resource allocation condition.
  • the sum value to be obtained and the media resources in the business application The upper limit of the source is compared, and it is determined whether the sum exceeds the upper limit of the media resources in the service application, thereby determining whether the media resource allocation condition is met.
  • step 404 may further include the following steps:
  • Step 1 The application server sums the number of media resources that the call needs to occupy and the current occupied number of media resources in the service application, and obtains a sum value;
  • Step 2 The application server determines whether the sum exceeds the upper limit of the media resource in the service application. If yes, it determines that the media resource allocation condition is met; otherwise, determines that the media resource allocation condition is not met.
  • the usage limit of the media resource to be used for each service application needs to be configured according to the requirements of the user.
  • the foregoing step 404 may further include: the application server is configured to support each service application requirement.
  • the used media resource configures an upper limit step.
  • the foregoing media resource allocation method further includes: the step of releasing the media resource occupied by the call when the application server ends the call.
  • the step of releasing the media resource occupied by the call is further The method includes: the step of the application server updating the current occupied number of media resources in the service application corresponding to the call.
  • Step 501 The user terminal invokes an NGN/IMS network, and uses a request (INVITE) message to trigger a service application on the application server, where the INVITE message carries a media description information (SDP, Session Description Protocol) of the user terminal, where the media The description information is used to describe information such as streaming initialization parameters.
  • Step 502 The application server analyzes the number of media resources that need to be occupied by the current user call, and obtains the upper limit of the media resources occupied by the service application and the current occupied number, and determines whether to allocate the media resource.
  • Step 503 indicating that the current playback media resource is insufficient, the application server returns an error message to the NGN/IMS network, and forwards the message to the user terminal.
  • the error information may be specified by the service application, for example, 480 message, and then the entire call process is ended.
  • Step 504 indicating that the current playback media resource is sufficient, the application server sends an INVITE message to the media server, and carries the SDP of the user terminal.
  • Step 505 The media server replies with a 200 OK message to the application server, where the 200 OK message carries the SDP of the media server, and the application server forwards the 200 OK message to the NGN/IMS network, and responds to the user terminal.
  • Step 506 After obtaining the confirmation of the user terminal, the NGN/IMS network sends an acknowledgement (ACK) message to the application server, and the application server forwards the ACK message to the media server.
  • ACK acknowledgement
  • Step 507 The application server sends an INFO (Information) message to the media server, where the message carries a playback command.
  • INFO Information
  • Step 508 The media server returns a 200 OK message to the application server for the INFO message.
  • Step 509 The media server performs a normal playback process.
  • Step 510 When the call ends, the user terminal sends a BYE message to the application server through the NGN/IMS network, and the application server releases the media resource, and recalculates the current occupied number of the playback media resources in the service application, and Send a BYE message to the media server.
  • the INVITE, 480, 200 OK, ACK, and INFO messages are all SIP signaling.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Multi Processors (AREA)

Description

应用 艮务器和媒体资源分配方法 技术领域
本发明涉及通信技术领域, 尤其涉及一种应用服务器和媒体资源分配 方法。 背景技术
在下一代网络( NGN, Next Generation Network )或 IP多媒体系统( IMS , IP-based Multimedia Subsystem )网络环境中, 应用服务器( AS , Application Server )和媒体服务器(MS , Media Server )是比较关键的网络设备。 应用 服务器用于实现各种增值业务或智能业务的业务逻辑, 媒体服务器用于在 应用服务器的控制下, 为各种类型的多媒体业务提供放音、 收号、 录音、 传真、 会议等媒体处理功能。
由于媒体服务器能够提供的媒体资源有限, 因此, 在有些情况下, 可 能会出现媒体资源不够分配的情况。 例如, 在运营商为企业用户提供媒体 资源的应用中, 经常会出现有些企业用户的应用占用过多的媒体资源, 而 导致其他企业用户的应用媒体资源不够。 基于上述情况, 需要对媒体资源 进行合理分配, 使得每个企业用户的应用都能够得到保障, 这对运营商改 善服务质量方面有重要意义。
现有技术中, 可以通过将多个媒体服务器与一主媒体服务器连接, 该 主媒体服务器对与其连接的多个媒体服务器的媒体资源进行统一分配, 然 而, 该种方式并不能根据用户需求进行媒体资源的分配, 且主媒体服务器 与多个媒体服务器的组网模式也很难部署。 发明内容
有鉴于此, 本发明实施例提供一种应用服务器和媒体资源分配方法, 能够根据用户需求合理分配媒体资源。
为解决上述问题, 本发明实施例提供一种应用服务器, 包括: 触发模块, 用于在接收到用户终端的呼叫时, 触发所述呼叫对应的业 务应用;
分析模块, 用于分析所述呼叫需要占用的媒体资源个数;
获取模块, 用于获取所述业务应用中媒体资源的占用上限以及当前占 用个数;
判断模块, 用于根据所述呼叫需要占用的媒体资源个数、 所述业务应 用中媒体资源的占用上限以及当前占用个数, 判断是否满足媒体资源分配 条件;
处理模块, 用于在满足媒体资源分配条件时, 控制媒体服务器为所述 呼叫提供媒体资源, 不满足媒体资源分配条件时, 结束所述呼叫。
所述判断模块包括:
求和单元, 用于对所述呼叫需要占用的媒体资源个数与所述业务应用 中媒体资源的当前占用个数求和, 得到和值;
比较单元, 用于判断所述和值是否超过所述业务应用中媒体资源的占 用上限, 超过占用上限时,, 判定满足媒体资源分配条件; 未超过占用上限 时, 判定不满足媒体资源分配条件。
所述应用服务器还包括:
配置模块, 连接所述获取模块, 用于为能够支持的每一业务应用需要 使用的媒体资源配置占用上限。
所述应用服务器还包括:
释放模块, 连接所述处理模块, 用于在结束所述呼叫时, 释放所述呼 叫占用的媒体资源。
所述应用服务器还包括:
更新模块, 连接所述获取模块和释放模块, 用于在释放所述呼叫占用 的媒体资源时, 更新所述呼叫对应的业务应用中所述媒体资源的当前占用 个数。
本发明实施例还提供一种媒体资源分配方法, 包括以下步骤: 应用服务器在接收到用户终端的呼叫时, 触发所述呼叫对应的业务应 用;
所述应用服务器分析所述呼叫需要占用的媒体资源个数;
所述应用服务器获取所述业务应用中媒体资源的占用上限以及当前占 用个数;
所述应用服务器根据所述呼叫需要占用的媒体资源个数、 所述业务应 用中媒体资源的占用上限以及当前占用个数, 判断是否满足媒体资源分配 条件;
所述应用服务器在满足媒体资源分配条件时, 控制媒体服务器为所述 呼叫提供媒体资源; 不满足媒体资源分配条件时, 结束所述呼叫。
所述判断是否满足媒体资源分配条件, 具体为:
所述应用服务器对所述呼叫需要占用的媒体资源个数与所述业务应用 中媒体资源的当前占用个数求和, 得到和值;
所述应用服务器判断所述和值是否超过所述业务应用中媒体资源的占 用上限, 如果是, 判定满足媒体资源分配条件; 否则, 判定不满足媒体资 源分配条件。
在所述应用服务器根据所述呼叫需要占用的媒体资源个数、 所述业务 应用中媒体资源的占用上限以及当前占用个数, 判断是否满足媒体资源分 配条件之前, 该方法还包括: 所述应用服务器配为能够支持的每一业务应用需要使用的媒体资源配 置占用上限。
所述媒体资源分配方法还包括:
所述应用服务器在结束呼叫时, 释放所述呼叫占用的媒体资源。
所述应用服务器在结束呼叫时, 释放所述呼叫占用的媒体资源之后, 该方法还包括:
所述应用服务器更新所述呼叫对应的业务应用中所述媒体资源的当前 占用个数。
本发明的实施例具有以下有益效果:
应用服务器根据用户需求, 为每一业务应用需要使用的媒体资源配置 一占用上限, 在接收到用户终端的呼叫时, 根据呼叫需要占用的媒体资源 个数、 呼叫对应的业务应用中所述媒体资源的占用上限以及当前占用个数, 来判断是否为该呼叫分配媒体资源, 从而, 使得每个用户的业务应用都能 够得到保障, 有助于运营商改善服务质量。
同时, 应用服务器可以根据为业务应用配置的媒体资源占用上限, 对 用户进行收费, 改进了运营商的收费方式。
另外, 通过应用服务器为多个媒体服务器分配媒体资源, 不需要对媒 体服务器的组网模式作任何改动, 实现筒单。 附图说明
图 1为本发明实施例的 NGN/IMS网络系统的结构示意图;
图 2为本发明实施例的应用服务器的一结构示意图;
图 3为本发明实施例的应用服务器的另一结构示意图;
图 4为本发明实施例的媒体资源分配方法的流程示意图;
图 5为本发明实施例的媒体资源分配方法的另一流程示意图。 具体实施方式 本发明实施例基于 NGN或 IMS网络系统,下面筒单介绍 NGN/IMS的 网络系统结构图。如图 1所示为本发明实施例的 NGN/IMS网络系统的结构 示意图, NGN/IMS 网络系统主要包括以下网元: 用户终端 (UE, User Equipment ), NGN/IMS网络、 应用服务器和媒体服务器。 在用户终端发起 呼叫时, 通过 NGN/IMS网络将该呼叫触发至应用服务器上,应用服务器控 制媒体服务器为该呼叫分配媒体资源。
下面结合附图和实施例, 对本发明的具体实施方式作进一步详细描述。 如图 2所示为本发明实施例的应用服务器的一结构示意图, 该应用服 务器包括:
触发模块 101 , 用于在接收到用户终端的呼叫时, 触发该呼叫对应的业 务应用。 本发明实施例中, 用户终端可以通过有线或无线的方式接入 NGN/IMS网络, 在用户终端发起呼叫时, 通过 NGN/IMS网络, 使用会话 初始化协议(SIP, Session Initiation Protocol ) 消息触发应用服务器上的相 应的业务应用, 该业务应用可以为企业客服热线等。
分析模块 102, 用于分析该呼叫需要占用的媒体资源个数。 该媒体资源 个数可以包括: 端口数、 放音、 收号、 录音、 传真和会议等。
获取模块 103 ,用于获取该业务应用中媒体资源的占用上限以及当前占 用个数。
判断模块 104, 用于根据该呼叫需要占用的媒体资源个数、该业务应用 中媒体资源的占用上限以及当前占用个数, 判断是否满足媒体资源分配条 件。
处理模块 105, 用于在满足媒体资源分配条件时,控制媒体服务器为该 呼叫提供媒体资源, 否则结束该呼叫。 结束呼叫的具体体现形式可以是直 接结束呼叫, 也可以是播放提示音后结束呼叫等, 具体的可以按照各个业 务应用的业务逻辑自行定义。
另外, 在分配媒体资源之前, 还需要根据用户的需求, 为每一业务应 用需要使用的媒体资源配置一占用上限, 如图 3所示为本发明实施例的应 用服务器的另一结构示意图, 在图 2所示的实施例的基础上, 该应用服务 器还包括: 配置模块 106, 连接获取模块 103 , 用于为能够支持的每一业务 应用需要使用的媒体资源配置一占用上限。 例如, 在一个企业客服热线的 业务应用中, 可以配置该业务应用对端口资源、 放音资源或会议资源等多 种媒体资源的占用上限。 另外, 在用户的需求发生变化时, 可以根据用户 的需求, 对配置的媒体资源上限进行更新。
以某企业客服热线的业务应用为例, 对上述实施例中的应用服务器进 行详细说明。
殳设该企业用户购买了 200个放音资源、 200个录音资源、 50个会议 资源, 该应用服务器为该企业客服热线的业务应用配置的媒体资源的占用 上限分别为: 放音资源的占用上限为 200, 录音资源的占用上限为 200, 会 议资源的占用上限为 50, 即对业务应用中的所有媒体资源分类进行限制。
假设当前有一用户呼叫呼入, 应用服务器分析出该呼叫的目的号码为 该企业的客服热线, 触发模块 101 则触发该企业客服热线的业务应用, 分 析模块 102 分析出该用户呼叫需要占用的媒体资源为: 一个放音资源和一 个录音资源, 另外, 获取模块 103获取到该业务应用的放音资源占用上限 为 200, 录音资源占用上限为 200, 该企业应用中当前占用的放音资源的个 数为 60, 录音资源为 55 , 此时, 由于放音资源和录音资源足够, 因此, 判 断模块 104判断出当前仍满足媒体资源分配条件, 处理模块 105控制媒体 服务器为呼叫提供放音资源和录音资源。 如果获取模块 103获取到该企业 应用中当前占用的放音资源的个数为 200, 录音资源为 110, 此时, 由于放 音资源不足, 因此, 判断模块 104判断出当前不满足媒体资源分配条件, 处理模块 105则结束该呼叫。
上述实施例中, 判断模块 104在判断当前是否满足媒体资源分配条件 时, 可以将用户呼叫需要占用的媒体资源个数, 与呼叫对应的业务应用中 媒体资源的当前占用个数求和, 并将求得的和值与业务应用中媒体资源的 占用上限进行比较, 判断该和值是否超过业务应用中媒体资源的占用上限, 从而判断出是否满足媒体资源分配条件。
如图 3所示, 判断模块 104包括:
求和单元 1041 , 用于对呼叫需要占用的媒体资源个数与业务应用中媒 体资源的当前占用个数求和, 得到一和值;
比较单元 1042, 用于判断和值是否超过业务应用中媒体资源的占用上 限, 如果是, 判定满足媒体资源分配条件, 否则, 判定不满足媒体资源分 配条件。
另外, 在用户呼叫结束时, 应用服务器还需要释放呼叫占用的媒体资 源, 因此, 如图 3所示, 该应用服务器还包括:
释放模块 107, 连接处理模块 105, 用于在结束呼叫时, 释放该呼叫占 用的媒体资源。 用户呼叫结束时, 应用服务器需要将该呼叫所占用的各种 媒体资源全部释放,具体的,应用服务器可以向媒体服务器发起结束(BYE ) 消息, 指示媒体服务器释放用户呼叫所占用的媒体资源, 其中, BYE消息 是 SIP信令的一种。
由于在释放当前呼叫占用的媒体资源后, 业务应用中媒体资源的当前 占用个数也会发生变化, 因此, 应用服务器还包括: 更新模块 108, 连接获 取模块 103和释放模块 107, 用于在释放该呼叫占用的媒体资源时, 更新该 呼叫对应的业务应用中媒体资源的当前占用个数。
通过上述实施例提供的应用服务器, 可以根据用户需求, 为每一业务 应用需要使用的媒体资源配置一占用上限, 在接收到用户终端的呼叫时, 根据该呼叫需要占用的媒体资源个数、 该呼叫对应的业务应用中媒体资源 的占用上限以及当前占用个数, 来判断是否为该呼叫分配媒体资源, 从而, 使得每个用户的业务应用都能够得到保障, 有助于运营商改善服务质量。
同时, 应用服务器可以根据为业务应用配置的媒体资源占用上限, 对 用户进行收费, 改进了运营商的收费方式, 区别与现有技术中根据用户实 际占用的媒体资源个数进行收费的方式。
另外, 通过应用服务器为多个媒体服务器分配媒体资源, 不需要对媒 体服务器的组网模式作任何改动, 实现筒单。
如图 4所示为本发明实施例的媒体资源分配方法的一流程示意图, 该 媒体资源分配方法包括以下步骤:
步骤 401 ,应用服务器在接收到用户终端的呼叫时, 触发该呼叫对应的 业务应用。 在用户终端发起呼叫时, 通过 NGN/IMS网络, 使用 SIP消息触 发应用服务器上的相应的业务应用。
步骤 402,应用服务器分析该呼叫需要占用的媒体资源个数。 该媒体资 源个数可以包括: 端口数、 放音、 收号、 录音、 传真和会议等。
步骤 403 ,应用服务器获取该业务应用中媒体资源的占用上限以及当前 占用个数。
步骤 404,应用服务器根据该呼叫需要占用的媒体资源个数、该业务应 用中媒体资源的占用上限以及当前占用个数, 判断是否满足媒体资源分配 条件, 如果是, 执行步骤 405; 否则, 执行步骤 406。
步骤 405 , 应用服务器控制媒体服务器为该呼叫提供媒体资源。
步骤 406, 应用服务器结束该呼叫。
上述实施例中, 判断模块 104在判断当前是否满足媒体资源分配条件 时, 可以将用户呼叫需要占用的媒体资源个数, 与该呼叫对应的业务应用 中媒体资源的当前占用个数求和, 并将求得的和值与该业务应用中媒体资 源的占用上限进行比较, 判断该和值是否超过该业务应用中媒体资源的占 用上限, 从而判断出是否满足媒体资源分配条件。
因此, 上述步骤 404还可以包括以下步骤:
步骤一, 应用服务器对该呼叫需要占用的媒体资源个数与该业务应用 中媒体资源的当前占用个数求和, 得到一和值;
步骤二, 应用服务器判断该和值是否超过该业务应用中媒体资源的占 用上限, 如果是, 判定满足媒体资源分配条件; 否则, 判定不满足媒体资 源分配条件。
另外, 在分配媒体资源之前, 还需要根据用户的需求, 为每一业务应 用需要使用的媒体资源配置一占用上限, 上述步骤 404之前还可以包括: 应用服务器配为能够支持的每一业务应用需要使用的媒体资源配置一占用 上限的步骤。
另外, 在用户呼叫结束时, 应用服务器还需要释放该呼叫占用的媒体 资源, 因此, 上述媒体资源分配方法还包括: 应用服务器在结束呼叫时, 释放该呼叫占用的媒体资源的步骤。
由于在释放当前呼叫占用的媒体资源后, 该业务应用中所述媒体资源 的当前占用个数也会发生变化, 因此, 应用服务器在结束该呼叫时, 释放 该呼叫占用的媒体资源的步骤之后还包括: 应用服务器更新该呼叫对应的 业务应用中媒体资源的当前占用个数的步骤。
下面以分配放音资源为例, 详细描述应用服务器分配媒体资源的方法 的处理流程, 如图 5所示, 可以具体包括如下步骤:
步骤 501 , 用户终端通过 NGN/IMS网络呼入, 使用请求( INVITE )消 息触发应用服务器上的一业务应用, 其中, INVITE消息中携带用户终端的 媒体描述信息 (SDP, Session Description Protocol ), 该媒体描述信息用于 描述流媒体初始化参数等信息。 步骤 502,应用服务器分析当前用户呼叫需要占用的媒体资源个数, 并 获取该业务应用中媒体资源的占用上限以及当前占用个数, 依此判断是否 分配媒体资源。
假设, 当前用户呼叫需要占用的放音媒体资源为 M个, 应用服务器上 为该业务应用配置的放音媒体资源上限为 R个, 该业务应用中当前已使用 的放音媒体资源的个数为 N个, 求 M与 N之和, 如果大于 R, 则执行步骤 503, 否则, 执行步骤 504。
步骤 503, 表示当前放音媒体资源不足, 应用服务器回复错误信息给 NGN/IMS网络,并转发至用户终端,该错误信息可以由业务应用自行指定, 比如 480消息, 然后结束整个呼叫流程。
步骤 504, 表示当前放音媒体资源足够, 应用服务器发送 INVITE消息 到媒体服务器, 携带用户终端的 SDP。
步骤 505 , 媒体服务器回复 200 OK消息给应用服务器, 该 200 OK消 息中携带媒体服务器的 SDP ,应用服务器将此 200 OK消息转发至 NGN/IMS 网络, 并响应给用户终端。
步骤 506 , 得到用户终端的确认后, NGN/IMS网络发送确认( ACK ) 消息给应用服务器, 应用服务器将该 ACK消息转发至媒体服务器。
步骤 507, 应用服务器发送 INFO ( Information ) 消息至媒体服务器, 消息中携带放音指令。
步骤 508, 媒体服务器针对该 INFO消息, 返回 200 OK消息至应用服 务器。
步骤 509, 媒体服务器执行正常的放音流程。
步骤 510,呼叫结束时, 用户终端通过 NGN/IMS网络发送结束( BYE ) 消息给应用服务器, 应用服务器进行媒体资源的释放, 并重新计算该业务 应用中的放音媒体资源当前占用个数, 并对媒体服务器发送 BYE消息。 上述实施例中, 所述 INVITE、 480、 200 OK、 ACK、 INFO消息均为 SIP信令。
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的 普通技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进 和润饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权利要求书
1、 一种应用服务器, 其特征在于, 包括:
触发模块, 用于在接收到用户终端的呼叫时, 触发所述呼叫对应的业 务应用;
分析模块, 用于分析所述呼叫需要占用的媒体资源个数;
获取模块, 用于获取所述业务应用中媒体资源的占用上限以及当前占 用个数;
判断模块, 用于根据所述呼叫需要占用的媒体资源个数、 所述业务应 用中媒体资源的占用上限以及当前占用个数, 判断是否满足媒体资源分配 条件;
处理模块, 用于在满足媒体资源分配条件时, 控制媒体服务器为所述 呼叫提供媒体资源, 不满足媒体资源分配条件时, 结束所述呼叫。
2、根据权利要求 1所述应用服务器,其特征在于,所述判断模块包括: 求和单元, 用于对所述呼叫需要占用的媒体资源个数与所述业务应用 中媒体资源的当前占用个数求和, 得到和值;
比较单元, 用于判断所述和值是否超过所述业务应用中媒体资源的占 用上限, 超过占用上限时, 判定满足媒体资源分配条件; 未超过占用上限 时, 判定不满足媒体资源分配条件。
3、 根据权利要求 1或 2所述应用服务器, 其特征在于, 所述应用服务 器还包括:
配置模块, 连接所述获取模块, 用于为能够支持的每一业务应用需要 使用的媒体资源配置占用上限。
4、 根据权利要求 3所述应用服务器, 其特征在于, 所述应用服务器还 包括:
释放模块, 连接所述处理模块, 用于在结束所述呼叫时, 释放所述呼 叫占用的媒体资源。
5、 根据权利要求 4所述的应用服务器, 其特征在于, 所述应用服务器 还包括:
更新模块, 连接所述获取模块和释放模块, 用于在释放所述呼叫占用 的媒体资源时, 更新所述呼叫对应的业务应用中所述媒体资源的当前占用 个数。
6、 一种媒体资源分配方法, 其特征在于, 包括以下步骤:
应用服务器在接收到用户终端的呼叫时, 触发所述呼叫对应的业务应 用;
所述应用服务器分析所述呼叫需要占用的媒体资源个数;
所述应用服务器获取所述业务应用中媒体资源的占用上限以及当前占 用个数;
所述应用服务器根据所述呼叫需要占用的媒体资源个数、 所述业务应 用中媒体资源的占用上限以及当前占用个数, 判断是否满足媒体资源分配 条件;
所述应用服务器在满足媒体资源分配条件时, 控制媒体服务器为所述 呼叫提供媒体资源; 不满足媒体资源分配条件时, 结束所述呼叫。
7、 根据权利要求 6所述媒体资源分配方法, 其特征在于, 所述判断是 否满足媒体资源分配条件, 具体为:
所述应用服务器对所述呼叫需要占用的媒体资源个数与所述业务应用 中媒体资源的当前占用个数求和, 得到和值;
所述应用服务器判断所述和值是否超过所述业务应用中媒体资源的占 用上限, 如果是, 判定满足媒体资源分配条件; 否则, 判定不满足媒体资 源分配条件。
8、 根据权利要求 6或 7所述媒体资源分配方法, 其特征在于, 在所述 应用服务器根据所述呼叫需要占用的媒体资源个数、 所述业务应用中媒体 资源的占用上限以及当前占用个数, 判断是否满足媒体资源分配条件之前, 该方法还包括:
所述应用服务器配为能够支持的每一业务应用需要使用的媒体资源配 置占用上限。
9、 根据权利要求 8所述媒体资源分配方法, 其特征在于, 该方法还包 括:
所述应用服务器在结束呼叫时, 释放所述呼叫占用的媒体资源。
10、 根据权利要求 9所述媒体资源分配方法, 其特征在于, 所述应用 服务器在结束呼叫时, 释放所述呼叫占用的媒体资源之后, 该方法还包括: 所述应用服务器更新所述呼叫对应的业务应用中所述媒体资源的当前 占用个数。
PCT/CN2010/072639 2009-08-20 2010-05-11 应用服务器和媒体资源分配方法 WO2011020343A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
BR112012003692A BR112012003692A2 (pt) 2009-08-20 2010-05-11 "servidor de aplicação e método de alocação de recursos de mídia".
SG2012009130A SG178342A1 (en) 2009-08-20 2010-05-11 Application server and media resource allocation method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910091408.3 2009-08-20
CN200910091408A CN101631120A (zh) 2009-08-20 2009-08-20 应用服务器和媒体资源分配方法

Publications (1)

Publication Number Publication Date
WO2011020343A1 true WO2011020343A1 (zh) 2011-02-24

Family

ID=41576066

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072639 WO2011020343A1 (zh) 2009-08-20 2010-05-11 应用服务器和媒体资源分配方法

Country Status (4)

Country Link
CN (1) CN101631120A (zh)
BR (1) BR112012003692A2 (zh)
SG (1) SG178342A1 (zh)
WO (1) WO2011020343A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856449A (zh) * 2012-11-30 2014-06-11 上海贝尔股份有限公司 一种用于创建多个虚拟接入节点的接入底盘节点

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631120A (zh) * 2009-08-20 2010-01-20 中兴通讯股份有限公司 应用服务器和媒体资源分配方法
CN103139182B (zh) * 2011-12-01 2016-04-06 北大方正集团有限公司 一种允许用户访问的方法、客户端、服务器以及系统
KR102147676B1 (ko) * 2014-03-28 2020-08-26 삼성전자주식회사 멀티미디어 시스템에서 자원 할당 방법 및 장치
CN107194680B (zh) * 2016-03-14 2020-07-03 阿里巴巴集团控股有限公司 一种可配置化资源数量控制方法及装置
CN106487925A (zh) * 2016-11-29 2017-03-08 用友网络科技股份有限公司 服务访问控制方法和服务访问控制系统
WO2020103076A1 (zh) * 2018-11-22 2020-05-28 深圳市欢太科技有限公司 音频播放处理方法、装置、终端和计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905478A (zh) * 2006-07-29 2007-01-31 华为技术有限公司 媒体资源分配的方法、装置和系统
CN101132379A (zh) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 用于在接入网关中实现预定呼叫的方法和装置
US7570587B1 (en) * 2000-12-14 2009-08-04 Nortel Networks Limited Resource allocation for multi-service gateways
CN101631120A (zh) * 2009-08-20 2010-01-20 中兴通讯股份有限公司 应用服务器和媒体资源分配方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7570587B1 (en) * 2000-12-14 2009-08-04 Nortel Networks Limited Resource allocation for multi-service gateways
CN1905478A (zh) * 2006-07-29 2007-01-31 华为技术有限公司 媒体资源分配的方法、装置和系统
CN101132379A (zh) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 用于在接入网关中实现预定呼叫的方法和装置
CN101631120A (zh) * 2009-08-20 2010-01-20 中兴通讯股份有限公司 应用服务器和媒体资源分配方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856449A (zh) * 2012-11-30 2014-06-11 上海贝尔股份有限公司 一种用于创建多个虚拟接入节点的接入底盘节点
CN103856449B (zh) * 2012-11-30 2017-03-15 上海贝尔股份有限公司 一种用于创建多个虚拟接入节点的接入底盘节点

Also Published As

Publication number Publication date
SG178342A1 (en) 2012-03-29
BR112012003692A2 (pt) 2016-03-29
CN101631120A (zh) 2010-01-20

Similar Documents

Publication Publication Date Title
JP4001813B2 (ja) テレコミュニケーションシステムにおけるユーザターミナルへの接続の監視
JP4685938B2 (ja) マルチメディア用通信セッションの確立方法及び装置
JP5529129B2 (ja) 電気通信ネットワーク内の媒体属性に基づく選択的な呼転送のための方法およびシステム
WO2011020343A1 (zh) 应用服务器和媒体资源分配方法
JP5450444B2 (ja) マルチメディア通話を処理するための方法及び装置
EP2184945A1 (en) Redirection during call set-up in a communication network
WO2009024006A1 (fr) Contrôleur de session locale, sous-système multimédia ip et procédé d'enregistrement de session
JP2010515311A (ja) パケット交換ドメインの状態を変化させるための方法、端末及びネットワークデバイス
KR100727069B1 (ko) Sip 기반의 무선 패킷 교환망 시스템에서의 타망 연동방법 및 그 시스템
KR100657617B1 (ko) Sip 기반의 무선 패킷 교환망 시스템
WO2011107001A1 (zh) 呼叫的处理方法和装置
EP2509272B1 (en) Method and system for implementing call by media gateway
KR20170078426A (ko) 스마트폰 착신 전환 제공 시스템 및 그 방법
WO2009056041A1 (fr) Procédé, système et dispositif de transmission d'informations d'attribut de frais
WO2007085199A1 (fr) Procédé, application et appareil permettant d'identifier l'état utilisateur dans des réseaux
KR100680290B1 (ko) Sip 기반의 무선 패킷 교환망 시스템에서의 착신 라우팅방법 및 그 시스템
KR100462026B1 (ko) 이동 멀티미디어 서비스를 위한 프록시 서버 장치 및폴리시 제어 방법
KR100727067B1 (ko) Sip 기반의 무선 패킷 교환망 시스템에서의 타망 연동방법 및 그 시스템
KR101383031B1 (ko) 음성메시지 서비스 제공 방법, 이를 위한 패킷 서비스 시스템 및 부가서비스 제어기
KR100913601B1 (ko) Sip 기반 사업자 망 간의 호 연동을 위한 호 수락 제어방법
KR101105087B1 (ko) mVoIP 네트워크에서 착신 단말의 착신불가 시 통화 연결 방법
WO2012171290A1 (zh) 询问转接实现方法、应用服务器、业务终端和系统
JP6898568B2 (ja) 通信制御装置、メディア送出方法、およびメディア送出プログラム
KR101145519B1 (ko) mVoIP 통신망에서 사전 제공 서비스 플로우를 이용한 QoS 제공 방법
KR100706339B1 (ko) Sip 기반의 무선 패킷 교환망 시스템에서의 타망 연동방법 및 그 시스템

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

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

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112012003692

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112012003692

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20120217