[go: up one dir, main page]

CN1968266B - A resource management system and method for a media resource server - Google Patents

A resource management system and method for a media resource server Download PDF

Info

Publication number
CN1968266B
CN1968266B CN2006100835478A CN200610083547A CN1968266B CN 1968266 B CN1968266 B CN 1968266B CN 2006100835478 A CN2006100835478 A CN 2006100835478A CN 200610083547 A CN200610083547 A CN 200610083547A CN 1968266 B CN1968266 B CN 1968266B
Authority
CN
China
Prior art keywords
resource
mrs
mrm
processing entity
media
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN2006100835478A
Other languages
Chinese (zh)
Other versions
CN1968266A (en
Inventor
安爽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100835478A priority Critical patent/CN1968266B/en
Publication of CN1968266A publication Critical patent/CN1968266A/en
Application granted granted Critical
Publication of CN1968266B publication Critical patent/CN1968266B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

本发明公开了一种媒体资源服务器的资源管理系统及方法,该系统包括:媒体资源服务器(MRS)、媒体资源管理器(MRM)、媒体处理实体,MRM根据存储的MRS资源状态更新MRS资源,媒体处理实体请求MRM分配合适的资源,MRM依据请求信息及预置策略选择确定的MRS,并将所选择确定的MRS地址信息分配给媒体处理实体,媒体处理实体根据该地址信息请求与该MRS建立连接进行通信,媒体处理实体使用完资源后,MRS将分配出去的资源释放,以便这些资源能够再次使用。

Figure 200610083547

The invention discloses a resource management system and method of a media resource server. The system includes: a media resource server (MRS), a media resource manager (MRM), and a media processing entity. The MRM updates the MRS resource according to the stored MRS resource status, The media processing entity requests the MRM to allocate appropriate resources. The MRM selects the determined MRS according to the request information and the preset policy, and allocates the address information of the selected MRS to the media processing entity. The media processing entity requests to establish a resource with the MRS based on the address information. The connection is used for communication, and after the media processing entity finishes using the resources, the MRS releases the allocated resources so that these resources can be used again.

Figure 200610083547

Description

一种媒体资源服务器的资源管理系统及方法 Resource management system and method for a media resource server

技术领域technical field

本发明涉及语音应用领域,尤其涉及一种媒体资源服务器的资源管理系统及方法。 The invention relates to the field of voice applications, in particular to a resource management system and method of a media resource server. the

背景技术Background technique

近年来,随着彩铃业务取得的巨大成功,业务提供商越来越清楚的认识到在传统的电话基础体系构架上开发业务可以带来更大的利润,但是事实证明无论是从品质还是范围上,所开发的业务都会受到有限的传统交换机资源,甚至是交换机能力的限制,为了扩大和保持用户群,业务提供商除了向用户提供更加具有竞争力的业务之外别无其他选择。 In recent years, with the great success of the CRBT business, service providers have become more and more aware that developing services based on the traditional telephone infrastructure can bring greater profits, but the facts have proved that both in terms of quality and scope , the developed services will be limited by the limited resources of traditional switches, or even the capabilities of switches. In order to expand and maintain the user base, service providers have no choice but to provide users with more competitive services. the

因此,业务提供商不可避免的采用专门的媒体资源服务器,如交互式语音应答系统(IVR)、文本-语音合成(TTS)、和自动语音识别(ASR)。其中,TTS和ASR服务器可以通过限制购买的许可数量来控制资源的使用。在这种情况下,业务提供商就不可避免的对有限的可用资源采用负载分担来提高每个通道的平均收益,而这样就损害了用户的利益,某些厂商已经通过其他方式解决了这个问题,但是不同的厂商的TTS和ASR服务器之间由于缺乏开放的、标准化的资源管理体系而无法平滑融合,导致业务提供商无法便利的使用不同厂商的媒体资源服务器开展大规模的增值业务,因此就需要有一种新的资源管理构架对不同厂商的媒体资源服务器进行合理的管理。 Therefore, service providers inevitably adopt dedicated media resource servers, such as Interactive Voice Response System (IVR), Text-to-Speech Synthesis (TTS), and Automatic Speech Recognition (ASR). Among them, the TTS and ASR servers can control the use of resources by limiting the number of purchased licenses. In this case, it is inevitable for service providers to use load sharing on limited available resources to increase the average income of each channel, and this will damage the interests of users. Some manufacturers have solved this problem in other ways , but due to the lack of an open and standardized resource management system, the TTS and ASR servers of different vendors cannot be smoothly integrated, which makes it impossible for service providers to conveniently use media resource servers of different vendors to carry out large-scale value-added services. A new resource management framework is needed to manage media resource servers of different manufacturers reasonably. the

而事实上,现有的语音业务网络中没有任何已经建立的、开放式资源管理构架,现有的构架无法灵活的使用不同的服务器上的媒体资源。媒体处理实体可以绑定到一个媒体资源服务器上,然后使用其上的资源,如图1所示,有两台MRS,他们具有相似的能力,而且任何一台都可以处理语音合成或语音识别类的请求,现在的问题是无法对这两台MRS进行选择。由于资源的选择取决于媒体处理实体的本地策略,这时就会出现一台服务器忙,而其它的服务器空闲的情况,当多个媒体处理实体共享媒体服务器资源时,这种问题就会更加突出。 In fact, there is no established open resource management framework in the existing voice service network, and the existing framework cannot flexibly use media resources on different servers. The media processing entity can be bound to a media resource server, and then use the resources on it, as shown in Figure 1, there are two MRS, they have similar capabilities, and any one can process speech synthesis or speech recognition The current problem is that the two MRS cannot be selected. Since the selection of resources depends on the local policy of the media processing entity, one server will be busy while the other servers are idle. This problem will be more prominent when multiple media processing entities share media server resources. . the

而当多个媒体处理实体连接到MRS时,MRS将要进行语音合成或语音识别,这就需要进行大量的语音处理,处理的过程会占用大量的CPU资源,限制了服务器同时处理众多请求的能力,而每个媒体资源服务器同时只能处理一定数量的请求,这样就导致资源的利用率低的问题。因此就需要有一种分配方法对资源进行合理分配,从而避免资源的浪费。When multiple media processing entities are connected to the MRS, the MRS will perform speech synthesis or speech recognition, which requires a large amount of speech processing, which will occupy a large amount of CPU resources and limit the ability of the server to process many requests at the same time. However, each media resource server can only handle a certain number of requests at the same time, which leads to the problem of low resource utilization. Therefore, there is a need for an allocation method to allocate resources reasonably, so as to avoid waste of resources.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种媒体资源服务器的资源管理系统及方法,该系统及方法提对资源进行合理的分配,实现了用户对不同服务器上的媒体资源的灵活使用,从而使媒体资源达到负载均衡,进而提高了媒体资源的利用率。 In view of this, the object of the present invention is to provide a resource management system and method for a media resource server. The system and method provide a reasonable allocation of resources, and realize the flexible use of media resources on different servers by users, so that Media resources achieve load balancing, thereby improving the utilization rate of media resources. the

为解决上述技术问题,本发明的目的是通过以下技术方案实现的,本发明提供一种媒体资源服务器的资源管理系统,该系统包括:媒体资源管理器(MRM)、媒体处理实体、媒体资源服务器(MRS),其中: In order to solve the above-mentioned technical problems, the object of the present invention is achieved through the following technical solutions. The present invention provides a resource management system of a media resource server, which system includes: a media resource manager (MRM), a media processing entity, and a media resource server (MRS), where:

MRM,用于存储MRS的资源状态和分配资源时所依据的预置策略;判断存储的MRS资源状态与当前MRS的资源状态是否一致,若不一致,则确定需要更新MRS的资源,并判断MRS是否可到达,如果是则更新MRS的资源,如果否则将该MRS的相关资源信息丢弃;监控和维护MRS的状态,根据媒体处理实体的请求及所选策略,选择MRS的状态为空闲的MRS地址分配给媒体处理实体; MRM is used to store the resource status of MRS and the preset strategy based on resource allocation; judge whether the stored MRS resource status is consistent with the current MRS resource status; Reachable, if yes, update the resources of MRS, otherwise discard the relevant resource information of the MRS; monitor and maintain the status of the MRS, and select the status of the MRS as an idle MRS address allocation according to the request of the media processing entity and the selected strategy to the media processing entity;

媒体处理实体,用于向MRM发送资源分配请求,接收MRM分配的MRS地址信息,并依据该地址信息与MRS建立连接。 The media processing entity is configured to send a resource allocation request to the MRM, receive the address information of the MRS allocated by the MRM, and establish a connection with the MRS according to the address information. the

优选地,所述系统进一步包括与上述MRM连接的备用MRM,在上述MRM不可用时执行对MRS资源的分配。 Preferably, the system further includes a backup MRM connected to the MRM, and allocates MRS resources when the MRM is unavailable. the

优选地,所述MRS定期向MRM发布资源信息或在MRM询问时发布资源信息。 Preferably, the MRS periodically publishes resource information to the MRM or publishes resource information when the MRM inquires. the

优选地,所述媒体处理实体与MRS之间采用媒体资源控制协议(MRCP)。 Preferably, a Media Resource Control Protocol (MRCP) is used between the media processing entity and the MRS. the

本发明还涉及到一种媒体资源服务器的资源管理方法,所述方法包括: The present invention also relates to a resource management method of a media resource server, the method comprising:

MRM判断存储的MRS资源状态与当前MRS的资源状态是否一致,若不一致,则确定需要更新MRS的资源;MRM判断MRS是否可到达,如果是则更新MRS资源,如果否则将该MRS的资源信息丢弃;监控和维护MRS的状态,MRM根据媒体处理实体向MRM发送分配资源的请求及MRM存储的预置策略,选择MRS的状态为空闲的MRS地址分配给媒体处理实体。 The MRM judges whether the stored MRS resource status is consistent with the current MRS resource status, and if not, determines that the MRS resource needs to be updated; MRM judges whether the MRS is reachable, and if so, updates the MRS resource, otherwise discards the MRS resource information ; Monitor and maintain the state of the MRS. The MRM selects the MRS address whose MRS state is idle and allocates it to the media processing entity according to the resource allocation request sent by the media processing entity to the MRM and the preset strategy stored by the MRM. the

优选地,所述方法还包括:媒体处理实体根据MRM分配的地址信息向MRS发送连接请求,并建立连接进行通信。 Preferably, the method further includes: the media processing entity sends a connection request to the MRS according to the address information allocated by the MRM, and establishes a connection for communication. the

优选地,所述方法进一步包括:在资源使用完成后,媒体处理实体请求MRS释放资源并同时向MRM发送释放资源的请求,MRM收到请求后,在数据库中释放分配出去的资源。 Preferably, the method further includes: after the resource is used, the media processing entity requests the MRS to release the resource and sends a resource release request to the MRM at the same time, and the MRM releases the allocated resource in the database after receiving the request. the

优选地,MRM对媒体处理实体的分配请求进行安全认证。 Preferably, the MRM performs security authentication on the allocation request of the media processing entity. the

优选地,MRS对媒体处理实体的连接请求进行安全认证。 Preferably, the MRS performs security authentication on the connection request of the media processing entity. the

以上技术方案可以看出,由于本发明在现有技术中增加了一个新的网元设备,媒体资源管理器,实现了对媒体资源服务器的资源管理,由此带来了以下几点有益的效果: As can be seen from the above technical solutions, since the present invention adds a new network element device, the media resource manager, to the prior art, the resource management of the media resource server is realized, thereby bringing the following beneficial effects :

1、MRM根据预置策略选择MRS地址信息资源分配给媒体处理实体,完成了对资源的合理分配,避免出现一台服务器忙,一台空闲的情况,实现了资源共享和负载均衡。 1. MRM selects the MRS address information resource according to the preset strategy and assigns it to the media processing entity, which completes the reasonable allocation of resources, avoids the situation that one server is busy and the other is idle, and realizes resource sharing and load balancing. the

2、本发明各选择接口间采用现有标准协议,实现了不同厂商的TTS和ASR之间的连接,建立了一个标准的、开放的资源管理体系,使业务提供商能够便利的利用不同厂商的MRS开展增值业务。 2. The present invention adopts the existing standard protocol among the selected interfaces, realizes the connection between TTS and ASR of different manufacturers, and establishes a standard and open resource management system, so that service providers can conveniently use the TTS of different manufacturers. MRS conducts value-added services. the

3、本发明还引入一个新的媒体资源业务模型,电信服务商可以管理媒体资源业务,并向企业出租资源,这样,企业不用掌握维护媒体资源服务器的技术,只需要为租来的资源付费即可,因此减低了维护管理的费用;对服务商来说,该业务模型提供了新的利润来源,通过有效的分享和负载均衡,可以提高平均利润。 3. The present invention also introduces a new media resource business model. Telecom service providers can manage media resource services and rent resources to enterprises. In this way, enterprises do not need to master the technology of maintaining media resource servers, and only need to pay for the rented resources. Yes, so the cost of maintenance and management is reduced; for service providers, this business model provides a new source of profit, and through effective sharing and load balancing, the average profit can be increased. the

附图说明Description of drawings

图1为现有技术中媒体处理实体与媒体资源服务器的构架。 Fig. 1 is a structure of a media processing entity and a media resource server in the prior art. the

图2为本发明媒体资源管理的系统结构图。 Fig. 2 is a system structure diagram of media resource management in the present invention. the

图3为本发明媒体资源管理的工作流程图。 Fig. 3 is a working flowchart of media resource management in the present invention. the

具体实施方式Detailed ways

下面结合附图,对本发明优选实施例进行进一步描述。 The preferred embodiments of the present invention will be further described below in conjunction with the accompanying drawings. the

如图2所示,为本发明系统结构图,本发明涉及一种媒体资源服务器的资源管理系统,该系统包括:媒体资源管理器(MRM)、媒体处理实体、媒体资源服务器(MRS),其中: As shown in Figure 2, it is a system structure diagram of the present invention, and the present invention relates to a resource management system of a media resource server, the system includes: a media resource manager (MRM), a media processing entity, and a media resource server (MRS), wherein :

MRM中存储了当前MRS的资源信息以及分配资源时的预置策略,MRM负责管理媒体资源服务器,用于监控MRS的状态,并维护MRS的空闲或繁忙状态许可; MRM stores the resource information of the current MRS and the preset strategy when allocating resources. MRM is responsible for managing the media resource server, monitoring the status of the MRS, and maintaining the idle or busy state permission of the MRS;

其中,当MRS资源状态处于空闲状态时,MRM将记录MRS当前状态,在遇到媒体处理实体的请求时,MRM将选择空闲状态的MRS地址分配给媒体处理实体,在资源使用过程中,MRM将记录MRS状态为繁忙,当资源使用完成后,MRM将MRS状态记录为空闲。 Among them, when the MRS resource state is in the idle state, the MRM will record the current state of the MRS. When encountering a request from the media processing entity, the MRM will select the MRS address in the idle state and assign it to the media processing entity. During the resource use process, the MRM will Record the MRS status as busy, and when the resource usage is completed, the MRM will record the MRS status as idle. the

媒体处理实体向MRM发送资源分配请求,通过MRM选择资源; The media processing entity sends a resource allocation request to the MRM, and selects resources through the MRM;

其中,当用户需要使用资源时,媒体处理实体将根据用户的要求向MRM发送请求,该请求信息包含有用户的请求许可,MRM将对该请求许可对用户进行安全认证,如果许可通过,MRM则接收媒体处理实体的请求;否则,则拒绝媒体处理实体的请求。 Among them, when the user needs to use resources, the media processing entity will send a request to the MRM according to the user's request. The request information includes the user's request permission, and the MRM will perform security authentication on the user for the request permission. If the permission is passed, the MRM will Receive the request of the media processing entity; otherwise, reject the request of the media processing entity. the

MRS用于向MRM更新自己的资源信息,定期向MRM发布或在MRM询问时发布其资源能力及可用信息,并在媒体处理实体使用完资源后将资源标注为自由状态,以便资源能够得到再次使用。 MRS is used to update its own resource information to MRM, publish its resource capabilities and available information to MRM regularly or when MRM inquires, and mark resources as free after media processing entities use them, so that resources can be used again . the

其中,MRS定期向MRM发布或在MRM询问时发布MRS当前的资源信息,MRM在收到请求后将预存的MRS的资源状态同当前MRS的资源进行比较,当二者资源信息相同时,则不需要更新,当资源信息不同时,MRM则更新MRS的资源信息,保持与当前的MRS信息一致,MRS向MRM发布的信息包括MRS的能力类型,如该MRS具有处理TTS能力,而用户要求处理TTS和ASR,此时MRM就要更新MRS的能力类型。 Among them, the MRS regularly releases the current resource information of the MRS to the MRM or publishes the current resource information of the MRS when the MRM inquires. After receiving the request, the MRM compares the resource status of the pre-stored MRS with the resource status of the current MRS. It needs to be updated. When the resource information is different, the MRM will update the resource information of the MRS to keep it consistent with the current MRS information. The information released by the MRS to the MRM includes the capability type of the MRS. For example, the MRS has the ability to process TTS, and the user requests to process TTS and ASR, at this time the MRM will update the capability type of the MRS. the

媒体处理实体向MRM发送资源分配的请求,MRM根据预置的策略选择一个合适的MRS,并将MRS地址信息,分配给媒体处理实体,媒体处理实体根据该地址信息请求与MRS建立连接进行通信。 The media processing entity sends a resource allocation request to the MRM, and the MRM selects an appropriate MRS according to a preset policy, and allocates the address information of the MRS to the media processing entity, and the media processing entity requests to establish a connection with the MRS for communication based on the address information. the

其中,媒体处理实体根据地址信息请求与MRS建立连接,MRS要对媒体处理实体的连接请求进行安全认证,如果认证通过时,媒体处理实体与MRS建立连接进行通信,如果否,则拒绝媒体处理实体的连接请求。 Among them, the media processing entity requests to establish a connection with the MRS according to the address information, and the MRS needs to perform security authentication on the connection request of the media processing entity. If the authentication is passed, the media processing entity establishes a connection with the MRS to communicate, and if not, rejects the media processing entity. connection request. the

由图2可以看出,该系统包括主用MRM和备用MRM,其中,备用MRM存储有主用MRM的所有数据,当主用MRM出现故障时,系统将自动切换到备用MRM。 It can be seen from Fig. 2 that the system includes an active MRM and a standby MRM, wherein the standby MRM stores all data of the active MRM, and when the active MRM fails, the system will automatically switch to the standby MRM. the

本发明中各个单元之间的连接使用到如下协议: The connection between each unit in the present invention uses following protocol:

MRM与MRS之间的信息交换需要使用一种类似TRIP的协议,其中该协议支持敏感信息的加密。 The information exchange between MRM and MRS needs to use a protocol similar to TRIP, which supports the encryption of sensitive information. the

媒体处理实体和MRS之间的接口有一种标准开放协议媒体资源控制协议(MRCP),用于管理分布式系统架构上的语音识别服务器,该协议已经被语音通信领域的主流供应商所采用,媒体资源控制协议负责管理输入设备/板与语音识别主机之间的客户/服务器数据流的运行。采用该协议后,独立软件商和应用开发商仅需面向MRCP接口撰写程序,而无需顾及语音识别和其电话应用方面的差异。 The interface between the media processing entity and the MRS has a standard open protocol Media Resource Control Protocol (MRCP), which is used to manage the speech recognition server on the distributed system architecture. This protocol has been adopted by mainstream suppliers in the field of voice communication, media The resource control protocol is responsible for managing the operation of the client/server data flow between the input device/board and the speech recognition host. After adopting this protocol, independent software vendors and application developers only need to write programs for the MRCP interface, without taking into account the differences in speech recognition and its telephony applications. the

媒体处理实体和MRM之间的接口采用资源查询协议,其中媒体处理实体将用更多的普通SIP作为MRCP的承载协议,所以这可被视为媒体处理实体和MRM之间的查询协议。 The interface between the media processing entity and MRM adopts the resource query protocol, in which the media processing entity will use more common SIP as the bearer protocol of MRCP, so this can be regarded as a query protocol between the media processing entity and MRM. the

下面对本系统实现资源管理的过程做详细的描述: The following is a detailed description of the process of implementing resource management in this system:

如图2,媒体处理实体101向MRM发送分配TTS的请求,MRM将判断该请求信息许可是否通过安全认证,如果该请求许可不能通过认证,则拒绝该请求,如果是,MRM依据预置的策略选择能够处理TTS的媒体资源服务器201,并将该服务器的地址信息分配给媒体处理实体101,媒体处理实体101根据该地址信息向媒体资源服务器201发送建立连接的请求,媒体资源服务器201则对该请求信息进行安全认证,如果该连接请求许可不能通过认证,则拒绝该请求,如果该连接请求许可通过认证,则媒体处理实体101与媒体资源服务器201建立连接进行通信,此时MRM将媒体资源服务器201标注为繁忙状态,当资源使用完成后,媒体处理实体101请求与媒体资源服务器201断开连 接,媒体资源服务器201释放资源,此时MRM将资源服务器201标注为空闲状态,以便资源能够再次使用。 As shown in Figure 2, the media processing entity 101 sends a request for TTS distribution to the MRM, and the MRM will judge whether the request information permission has passed the security authentication, if the request permission cannot pass the authentication, then reject the request, if so, the MRM will follow the preset strategy Select the media resource server 201 that can handle TTS, and distribute the address information of this server to the media processing entity 101, the media processing entity 101 sends the request of setting up connection to the media resource server 201 according to the address information, and the media resource server 201 then Request information to carry out security authentication, if this connection request permission can not pass authentication, then reject this request, if this connection request permission passes authentication, then media processing entity 101 establishes connection with media resource server 201 and communicates, at this moment MRM will media resource server 201 is marked as a busy state, when the use of resources is completed, the media processing entity 101 requests to disconnect from the media resource server 201, and the media resource server 201 releases the resources. At this time, the MRM marks the resource server 201 as an idle state, so that the resources can be used again use. the

媒体处理实体102向MRM发送分配ASR的请求,MRM将判断该请求信息许可是否通过安全认证,如果该请求许可不能通过认证,则拒绝该请求,如果是,接着MRM依据预置的策略选择具有ASR能力的媒体资源服务器202,并将该服务器地址信息分配给媒体处理实体102,媒体处理实体102根据该地址信息向媒体资源服务器202发送建立连接的请求,媒体资源服务器202则对该请求信息进行安全认证,如果该连接请求许可不能通过认证,则拒绝该请求,如果该连接请求许可通过认证,则媒体处理实体102与媒体资源服务器202建立连接进行通信,此时MRM将媒体资源服务器202标注为繁忙状态,当资源使用完成后,媒体处理实体102请求与媒体资源服务器202断开连接,媒体资源服务器202释放资源,此时MRM将资源服务器202标注为空闲状态,以便资源能够再次使用。 The media processing entity 102 sends a request for assigning an ASR to the MRM, and the MRM will judge whether the request information permission has passed the security authentication. If the request permission cannot pass the authentication, the request will be rejected. capable media resource server 202, and distribute the server address information to the media processing entity 102, the media processing entity 102 sends a request to establish a connection to the media resource server 202 according to the address information, and the media resource server 202 then performs security on the request information Authentication, if the connection request permission cannot pass the authentication, then reject the request, if the connection request permission passes the authentication, then the media processing entity 102 establishes a connection with the media resource server 202 to communicate, and at this moment, the MRM marks the media resource server 202 as busy state, when the resource usage is completed, the media processing entity 102 requests to disconnect from the media resource server 202, and the media resource server 202 releases the resource. At this time, the MRM marks the resource server 202 as an idle state, so that the resource can be used again. the

由图2可以看出,MRM采用热备份模式运行,MRM为该系统核心部件,该部件的任何问题都可能导致整个系统运行的中断。因此,MRM分为两种:一种为主用模式;一种为备用模式。其中备用MRM存储有主用MRM的所有资源,在运行时间内,媒体处理实体必须保持主用媒体资源管理器的状态,以便向当前的主用MRM发送资源分配请求,当主用MRM发生故障时,系统将自动切换到备用MRM,所有的呼叫都将保持,在切换期间,所有新请求可能被拒绝。 It can be seen from Figure 2 that the MRM operates in hot backup mode, and the MRM is the core component of the system. Any problem with this component may cause the interruption of the operation of the entire system. Therefore, MRM is divided into two types: one is the active mode; the other is the standby mode. The standby MRM stores all the resources of the active MRM. During the running time, the media processing entity must maintain the state of the active media resource manager in order to send a resource allocation request to the current active MRM. When the active MRM fails, The system will automatically switch to the standby MRM, all calls will be put on hold, and all new requests may be rejected during the switchover. the

以上所述为本发明的系统结构及连接情况,本发明还涉及一种媒体资源服务器的资源管理方法,下面结合图3对本发明的方法做详细的描述。 The above is the system structure and connection of the present invention. The present invention also relates to a resource management method of a media resource server. The method of the present invention will be described in detail below with reference to FIG. 3 . the

如图3为本发明工作流程图,本发明涉及一种媒体资源服务器的资源管理方法,该方法具体包括: Figure 3 is a work flow diagram of the present invention, the present invention relates to a resource management method of a media resource server, the method specifically includes:

301~304为本发明MRS通过MRM更新自己资源能力的过程; 301-304 is the process of the MRS of the present invention updating its own resource capabilities through the MRM;

301:MRS向MRM发送更新自己资源能力的请求; 301: MRS sends a request to update its resource capabilities to MRM;

其中,MRS通过适当的协议向MRM更新自己的资源能力,见表1,MRS 向MRM发布的信息包括但不限于以下内容: Among them, MRS updates its own resource capabilities to MRM through appropriate protocols, see Table 1. The information released by MRS to MRM includes but is not limited to the following:

               表1    1   资源服务器号   2   能力类型   3   支持的许可证/通道数   4   支持的文本编码   5   支持的语音格式   ……   …… Table 1 1 resource server number 2 Ability type 3 Number of Licenses/Channels Supported 4 Supported text encodings 5 Supported Voice Formats ... ...

如表1所示,MRS向MRM发布的信息包括MRS的能力类型,如该MRS具有处理TTS的能力,而用户要求处理能同时处理TTS和ASR,此时MRM就要更新MRS具有的能力类型,使当前MRS的能力类型与MRM上存储的该MRS能力类型一致,另外MRM还可根据MRS支持的许可证/通道数、文本编码、语音格式等进行更新。 As shown in Table 1, the information released by the MRS to the MRM includes the capability type of the MRS. For example, if the MRS has the capability to process TTS, and the user requests to process TTS and ASR at the same time, then the MRM will update the capability type of the MRS. Make the capability type of the current MRS consistent with the capability type of the MRS stored on the MRM. In addition, the MRM can also be updated according to the number of licenses/channels, text encoding, and voice format supported by the MRS. the

302:MRM收到MRS的请求后,将预存在MRM上的MRS资源状态与当前的MRS的资源状态进行比较,如果二者资源状态一致,则不需要更新,直接执行步骤306;如果二者资源状态不一致,则进入步骤303; 302: After the MRM receives the request from the MRS, it compares the resource status of the MRS pre-stored on the MRM with the resource status of the current MRS. If the status is inconsistent, go to step 303;

其中,MRM预存的MRS的资源状态包括表1中的内容,即MRM存储了MRS的服务器号,能力类型,支持的许可证/通道数、文本编码、语音格式等。 Wherein, the MRS resource status pre-stored by the MRM includes the content in Table 1, that is, the MRM stores the MRS server number, capability type, supported license/channel number, text encoding, voice format, etc. the

303:MRM判断该MRS是否可到达,如果是,则进入步骤305;如果否,进入步骤304; 303: MRM judges whether the MRS is reachable, if yes, go to step 305; if not, go to step 304;

其中,MRS可能会因为出现网络故障,或者自身故障而与MRM失去联系,此时MRS不可达到。 Among them, the MRS may lose contact with the MRM due to a network failure or its own failure, and the MRS cannot be reached at this time. the

304:当MRM发现某一个媒体资源服务器不可到达时,MRM就将此服务器的相关资源信息丢弃; 304: When MRM finds that a certain media resource server is unreachable, MRM discards the relevant resource information of this server;

305:MRS在可到达后向MRM发布自己的资源能力,MRM根据资源状态更新MRS资源; 305: MRS publishes its own resource capabilities to MRM after being reachable, and MRM updates MRS resources according to the resource status;

其中MRS的资源能力包括服务器号、能力类型、支持的许可证/通道数、文本编码、语音格式等。 The resource capability of the MRS includes server number, capability type, supported license/channel number, text encoding, voice format, etc. the

306~308为本发明媒体处理实体通过MRM进行资源选择的过程; 306-308 are the process of resource selection by the media processing entity through MRM in the present invention;

306:MRM获取媒体处理实体资源分配的请求; 306: MRM obtains a request for media processing entity resource allocation;

其中,MRM在获取媒体处理实体前请求前,要对该请求信息进行安全认证,MRM判断该请求信息的许可是否通过,如果是,则接收该请求信息,进入307;如果否,则拒绝该媒体处理实体的请求。 Among them, MRM needs to perform security authentication on the request information before obtaining the request from the media processing entity, MRM judges whether the permission of the request information is passed, if yes, then receives the request information, and enters 307; if not, then rejects the media Handle the entity's request. the

307:MRM依据预置的策略选择确定的MRS; 307: The MRM selects the determined MRS according to the preset strategy;

其中,如表2,MRM所依据的预置策略包括但不限于以下内容,在进行资源选择时,每个媒体处理实体与MRM进行单点联系,MRM根据在收到媒体处理实体的请求后,比如媒体处理实体需要一个能够处理TTS的MRS,则MRM就根据MRS的资源能力进行选择MRS,MRM还可以通过其他因素选择资源,如MRM可以选择一个成本比较低的MRS的地址信息分配给媒体处理实体,又或者根据CPU的占用率,MRM选择CPU占用率最低的MRS进行分配。 Among them, as shown in Table 2, the preset strategy on which the MRM is based includes but is not limited to the following content. When performing resource selection, each media processing entity performs a single point of contact with the MRM. After receiving the request from the media processing entity, the MRM For example, if the media processing entity needs an MRS capable of processing TTS, the MRM will select the MRS according to the resource capability of the MRS. The MRM can also select resources based on other factors. For example, the MRM can select the address information of a relatively low-cost MRS to allocate to the media processing entity, or according to the CPU usage, the MRM selects the MRS with the lowest CPU usage for allocation. the

              表2    1   媒体资源服务器的能力   2   主叫号码   3   成本因素   4   提供的QoS   5   时间   6   负荷分担   7   CPU占用率 Table 2 1 Media Resource Server Capabilities 2 calling number 3 cost factor 4 QoS provided 5 time 6 load sharing 7 CPU usage

308:MRM将选择的资源分配给媒体处理实体;  308: The MRM allocates the selected resources to the media processing entity;

其中,MRM根据配置的策略分配资源,MRM将选择一个最好的MRS资源,MRM分配给媒体处理实体的资源信息中包含有所选择的MRS的地址信息。 Wherein, the MRM allocates resources according to the configured strategy, and the MRM will select a best MRS resource, and the resource information allocated by the MRM to the media processing entity includes the address information of the selected MRS. the

309:媒体处理实体通过MRM返回的资源建立与MRS的连接进行通信; 309: The media processing entity establishes a connection with the MRS through the resources returned by the MRM to communicate;

其中,媒体处理实体根据MRS的地址信息向该MRS发送连接请求,MRS对该请求信息进行安全认证,如果媒体处理实体的许可请求通过,则建立连接并使用适当的协议比如MRCP跟媒体处理实体进行通信;否则,MRS拒绝媒体处理实体的请求。 Among them, the media processing entity sends a connection request to the MRS according to the address information of the MRS, and the MRS performs security authentication on the request information. If the permission request of the media processing entity is passed, a connection is established and an appropriate protocol such as MRCP is used to communicate with the media processing entity. communication; otherwise, the MRS rejects the media processing entity's request. the

310:媒体处理实体使用完资源后,MRS释放资源; 310: After the media processing entity finishes using the resource, the MRS releases the resource;

其中,媒体处理实体向MRS发送释放资源的请求,MRS对媒体处理实体的请求做出响应,并释放资源;接着媒体处理实体向MRM发送取消资源分配的请求,MRM响应媒体处理实体的请求;MRM在数据库中释放分配出去的资源;MRS将分配出去的资源标注成自由状态,以便使这些资源能够再次被使用。 The media processing entity sends a resource release request to the MRS, and the MRS responds to the media processing entity's request and releases the resource; then the media processing entity sends a request to cancel resource allocation to the MRM, and the MRM responds to the media processing entity's request; the MRM Release the allocated resources in the database; MRS marks the allocated resources as free, so that these resources can be used again. the

以上对本发明所提供的一种媒体资源服务器的资源管理系统及方法进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The resource management system and method of a media resource server provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for helping understanding The method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention. the

Claims (9)

1. the resource management system of a Media Resource Server is characterized in that, comprising: managing medium resource device MRM, medium processing entity, Media Resource Server MRS, wherein:
MRM is used for the strategy that presets of the resource status of store M RS and Resources allocation time institute foundation; Whether the MRS resource status of judging storage consistent with the resource status of current MRS, if inconsistent, then determine need renewal MRS resource, and judge whether MRS can arrive, if then upgrade the resource of MRS, if otherwise the related resource information of this MRS is abandoned; Monitor and safeguard the state of MRS, according to the request and the selected strategy of medium processing entity, the state of selecting MRS is that idle MRS address assignment is given medium processing entity;
Medium processing entity is used for sending resource allocation request to MRM, receives the MRS address information that MRM distributes, and connects according to this address information and MRS.
2. the resource management system of Media Resource Server according to claim 1 is characterized in that, described system further comprises the standby MRM that is connected with above-mentioned MRM, carries out the distribution to the MRS resource when above-mentioned MRM is unavailable.
3. the resource management system of Media Resource Server according to claim 1 is characterized in that, described MRS regularly issues resource information or issue resource information when MRM inquires to MRM.
4. the resource management system of Media Resource Server according to claim 1 is characterized in that, adopts media resource control protocol MRCP between described medium processing entity and the MRS.
5. the method for managing resource of a Media Resource Server is characterized in that, described method comprises:
MRM judges whether the MRS resource status of storage is consistent with the resource status of current MRS, if inconsistent, then definite resource that needs to upgrade MRS; MRM judges whether MRS can arrive, if then upgrade the MRS resource, if otherwise the resource information of this MRS is abandoned; Monitoring and safeguard the state of MRS, MRM sends the strategy that presets of the request of Resources allocation and MRM storage according to medium processing entity to MRM, and the state of selecting MRS be that idle MRS address assignment is to medium processing entity.
6. the method for managing resource of Media Resource Server according to claim 5 is characterized in that, described method also comprises: medium processing entity sends connection request according to MRM addresses distributed information to MRS, and connects and communicate.
7. the method for managing resource of Media Resource Server according to claim 6, it is characterized in that, described method further comprises: after resource is used to complete, medium processing entity request MRS discharges resource and sends the request that discharges resource to MRM simultaneously, after MRM receives request, in database, discharge the resource that dispenses.
8. the method for managing resource of Media Resource Server according to claim 5 is characterized in that, MRM carries out safety certification to the request for allocation of medium processing entity.
9. the method for managing resource of Media Resource Server according to claim 6 is characterized in that, MRS carries out safety certification to the connection request of medium processing entity.
CN2006100835478A 2006-06-05 2006-06-05 A resource management system and method for a media resource server Expired - Fee Related CN1968266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100835478A CN1968266B (en) 2006-06-05 2006-06-05 A resource management system and method for a media resource server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100835478A CN1968266B (en) 2006-06-05 2006-06-05 A resource management system and method for a media resource server

Publications (2)

Publication Number Publication Date
CN1968266A CN1968266A (en) 2007-05-23
CN1968266B true CN1968266B (en) 2010-12-08

Family

ID=38076805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100835478A Expired - Fee Related CN1968266B (en) 2006-06-05 2006-06-05 A resource management system and method for a media resource server

Country Status (1)

Country Link
CN (1) CN1968266B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299747A (en) * 2007-04-30 2008-11-05 华为技术有限公司 A media control method, system, device and media service combination equipment
CN101378391B (en) * 2007-08-31 2011-12-21 华为技术有限公司 Method and communication system for implementing medium service as well as relevant equipment
CN102073814B (en) * 2010-12-30 2014-05-07 浪潮集团山东通用软件有限公司 High-availability service terminal license control mode based on dynamic allocation and behavior analysis
CN104461738B (en) * 2014-12-11 2018-02-13 珠海金山网络游戏科技有限公司 The method of resource multiplex, correspondence system and equipment in explorer
CN106878198A (en) * 2015-12-14 2017-06-20 北京信威通信技术股份有限公司 A kind of abnormal processing method of media resource
CN109446439B (en) * 2018-09-30 2022-09-06 青岛海尔科技有限公司 Resource directory selection method, device, system and storage medium
CN110428840B (en) * 2019-07-19 2024-09-24 平安科技(深圳)有限公司 Method and device for realizing load balance in voice recognition system and computer equipment
CN111064618B (en) * 2019-12-20 2023-02-03 北京华胜天成科技股份有限公司 Method, device, equipment and storage medium for realizing high availability of server
CN113612514B (en) * 2021-06-21 2022-11-25 深圳震有科技股份有限公司 Media resource processing system, method and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155122A (en) * 1995-09-01 1997-07-23 计数设备公司 Distribution interactive multi-medium bussiness system
CN1645858A (en) * 2005-02-24 2005-07-27 广东省电信有限公司研究院 Service system for distributed reciprocal flow media and realizing method for requesting programm

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155122A (en) * 1995-09-01 1997-07-23 计数设备公司 Distribution interactive multi-medium bussiness system
CN1645858A (en) * 2005-02-24 2005-07-27 广东省电信有限公司研究院 Service system for distributed reciprocal flow media and realizing method for requesting programm

Also Published As

Publication number Publication date
CN1968266A (en) 2007-05-23

Similar Documents

Publication Publication Date Title
US9432512B2 (en) Cloud agent realizing method and system, and cloud agent server
US7054946B2 (en) Dynamic configuration of network devices to enable data transfers
US20160321112A1 (en) Management system, virtual communication-function management node, and management method
US20120096167A1 (en) Resource allocation using shared resource pools
CN101217558A (en) A business middleware service load balancing method
CN103067293A (en) Method and system for multiplex and connection management of a load balancer
CN102137197B (en) Seat and working method thereof
CN103516759B (en) Cloud system method for managing resource, cloud call center are attended a banquet management method and cloud system
CN101499995A (en) Service scheduling method, system and apparatus for service scheduling
CN1968266B (en) A resource management system and method for a media resource server
CN101467391A (en) Method, equipment and system for distributing medium resource
WO2016095524A1 (en) Resource allocation method and apparatus
CN102984762B (en) IMS function assigning method and device
WO2010078765A1 (en) Method and system for service processing in content distribution network of interactive network tv
CN110225088A (en) A kind of cloud desktop management method and system
CN107426323A (en) Distributed resource service and visual monitoring system and method
JP5661328B2 (en) Efficient and cost-effective distributed call admission control
CN101110947A (en) A Service Scheduling Method in Interactive TV System
CN112616143A (en) Method and device for distributing communication number, electronic equipment and storage medium
CN109413011A (en) Public service resource application method, relevant device and system
CN100484014C (en) Distributed cluster service management system and service management method in intelligent network
CN103841200B (en) A kind of control method and device of software license
CN101167307B (en) Dynamically self-adaptive distributed resource management system and method
CN105491253A (en) Resource distribution method and system for call center
JP2007110411A (en) Access control device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101208