CN101167307B - Dynamically self-adaptive distributed resource management system and method - Google Patents
Dynamically self-adaptive distributed resource management system and method Download PDFInfo
- Publication number
- CN101167307B CN101167307B CN2005800495200A CN200580049520A CN101167307B CN 101167307 B CN101167307 B CN 101167307B CN 2005800495200 A CN2005800495200 A CN 2005800495200A CN 200580049520 A CN200580049520 A CN 200580049520A CN 101167307 B CN101167307 B CN 101167307B
- Authority
- CN
- China
- Prior art keywords
- resource
- real
- resources
- resource management
- virtual
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Hardware Redundancy (AREA)
Abstract
一种可动态自适应的分布式资源管理系统和方法,包括多个具有资源监控模块和管理模块的资源管理板和多个具有一个或多个实资源实例的资源板。先配置所有的实资源和每块资源管理板需要的虚资源并加以标识;资源管理板上电后,监控为其配置的实资源状态并作上状态标记,并定时从其他资源管理板获取其可用实资源的信息;资源管理板对于本板还没有同实资源映射的虚资源,在本板及其它资源管理板为其寻找状态为可用的同类实资源,找到后记录两者的映射关系,并将该实资源的状态置为已映射,余下的可用实资源为全局共享;申请资源时,资源管理板分配可用的虚资源并返回对应的实资源标识。本发明申请资源的流程大大简化,速度大大提高。
A dynamically adaptive distributed resource management system and method, comprising multiple resource management boards with resource monitoring modules and management modules and multiple resource boards with one or more real resource instances. First configure and mark all the real resources and virtual resources required by each resource management board; after the resource management board is powered on, monitor the status of the real resources configured for it and mark the status, and obtain other resource management boards regularly Information about available real resources; the resource management board searches for virtual resources of the same kind that are available on the board and other resource management boards for virtual resources that have not been mapped to real resources on the board, and records the mapping relationship between the two after finding them. And set the state of the real resource as mapped, and the remaining available real resources are shared globally; when applying for resources, the resource management board allocates available virtual resources and returns the corresponding real resource identifiers. The process of resource application in the present invention is greatly simplified and the speed is greatly improved.
Description
技术领域 technical field
本发明涉及分布式资源管理,尤其涉及一种可动态自适应的分布式资源管理的系统和方法。The invention relates to distributed resource management, in particular to a system and method for dynamically adaptive distributed resource management.
背景技术 Background technique
在一个现代分布式计算机系统中,不同的CPU单板实现不同的功能,通过这些单板的分工协作来实现设计者设计整个系统的功能的目的。比如一个有众多用户的电信系统,部分单板提供资源处理能力,为叙述方便将这种具有实现某种功能的资源处理板简称为资源板(RSB),部分单板用于监控、分配和管理资源板,这类单板被称为资源管理板(RMB),RMB中包括资源监控模块和资源管理模块,还可以包括资源使用模块。通过RMB来实现RSB板资源的全局共享。In a modern distributed computer system, different CPU single boards implement different functions, and the purpose of the designer to design the functions of the entire system is realized through the division of labor of these single boards. For example, in a telecommunications system with many users, some boards provide resource processing capabilities. For the convenience of description, this kind of resource processing board with certain functions is referred to as resource board (RSB), and some boards are used for monitoring, distribution and management. The resource board is called a resource management board (RMB). The RMB includes a resource monitoring module and a resource management module, and may also include a resource usage module. Global sharing of RSB board resources is realized through RMB.
图1所示是一种分布式资源的网络结构示意图,包括多个RMB和RSB。每个RMB配置有数目不等的RSB单板,这些RSB单板的状态由RMB中的资源监控模块来监控,文中也把监控RSB的RMB称为该RSB所属的RMB。图中用实线来描述这种对应关系,具体比如资源板RSB11~RSB1p的状态由RMB1中的资源监控模块来监控;RSB21~RSB1k的状态由RMB2中的资源监控模块来监控。资源使用模块要使用资源时需要向的资源管理模块提出申请,资源管理模块可以为它分配其它RMB监控的RSB,图1中用虚线来描述资源使用关系,可以看出使用该RSB资源的RMB未必是监控该RSB的RMB。FIG. 1 is a schematic diagram of a network structure of distributed resources, including multiple RMB and RSB. Each RMB is equipped with a different number of RSB boards. The status of these RSB boards is monitored by the resource monitoring module in the RMB. In this paper, the RMB monitoring the RSB is also referred to as the RMB to which the RSB belongs. The corresponding relationship is described by solid lines in the figure. Specifically, for example, the status of resource boards RSB11-RSB1p is monitored by the resource monitoring module in RMB1; the status of RSB21-RSB1k is monitored by the resource monitoring module in RMB2. When the resource use module wants to use resources, it needs to apply to the resource management module. The resource management module can allocate other RMB monitoring RSBs for it. In Figure 1, the dotted line is used to describe the resource use relationship. It can be seen that the RMB that uses the RSB resource is not necessarily is the RMB that monitors the RSB.
如何实现这些RSB单板资源的全局共享,一直是业内考虑解决的问题,以前对资源的管理主要有以下几种管理方式。How to realize the global sharing of these RSB single board resources has always been a problem considered by the industry. Previously, there were mainly the following management methods for resource management.
第一种方式:各个RMB只管理属于自己的资源,也就是监控和管理合一。这种方式存在的问题是资源不能共享,当某个MB的资源全部不能工作了,尽管其他的RMB有空闲的资源,RMB需要资源时也不能满足。在这种管理模式下,为了要保证可靠性需要配置较多的RSB板进行备份,开局的硬件成本增加,也不利于以后的维护。The first method: each RMB only manages its own resources, that is, monitoring and management are integrated. The problem with this method is that resources cannot be shared. When all the resources of a certain MB cannot work, even though other RMB has free resources, the RMB cannot meet the resource needs. In this management mode, in order to ensure reliability, more RSB boards need to be configured for backup, which increases the hardware cost of the initial deployment and is not conducive to future maintenance.
第二种方式:采用集中式资源管理方式,如专利申请号为96117990.2的专利(公开号为CN1156362A)公开的方案就是集中式资源管理的一个代表。该方案把所有的资源放在一个RMB上进行统一管理,其他RMB需要资源必须到此RMB上申请。此方法存在的问题是一旦统一集中管理资源的RMB宕机,那么整个系统就将是瘫局的情况出现,非常危险。另外RMB间的资源申请存在跨板消息,不可避免会导致申请资源时间的较长和有丢消息的危险。The second method: adopting a centralized resource management method. For example, the disclosed scheme of the patent application number 96117990.2 (publication number CN1156362A) is a representative of centralized resource management. This solution puts all resources on one RMB for unified management, and other RMB needs resources to apply for this RMB. The problem with this method is that once the RMB that centrally manages resources goes down, the entire system will be paralyzed, which is very dangerous. In addition, there are cross-board messages in the resource application between RMB, which will inevitably lead to a long time for resource application and the risk of message loss.
第三种方式:资源不在一个RMB上集中管理,也采用分布式的管理,在一个RMB的资源不够或资源出现问题时,依次向其他的RMB申请资源。该方法存在的问题是存在不确定性,软件流程复杂,难以实现。而且申请资源的时间的不确定,有的时间长有的时间短,不利于RMB上申请资源部分的软件设计。The third method: resources are not managed centrally on one RMB, but distributed management is also adopted. When resources in one RMB are insufficient or resources have problems, resources are applied to other RMB in turn. The problem of this method is that there is uncertainty, the software process is complicated, and it is difficult to realize. Moreover, the time for applying for resources is uncertain, some are long and some are short, which is not conducive to the software design of the part of applying for resources on the RMB.
下面就以DTMF(Dual Tone Multi-Frequency,多音双频)资源为例来详细说明上述第三种分布式资源管理方法。DTMF的资源是在电信设备中为了实现一个固定电话用户与其他用户间的通话而需要的一种资源。The following takes DTMF (Dual Tone Multi-Frequency) resources as an example to describe the above third distributed resource management method in detail. The DTMF resource is a kind of resource needed in the telecommunication equipment in order to realize the conversation between a fixed-line user and other users.
图2中的两个虚框分别表示两个RMB,左侧RMB1的呼叫处理模块(即资源使用模块)向资源管理模块发送申请DTMF资源的请求,资源管理模块先在本RMB上检查有没有可用的DTMF,如果发现有可用的,就立即申请占用,并将占用的DTMF的编号返回给呼叫处理模块;当本RMB已经没有可用的DTMF时,资源管理模块就向其他的RMB发跨板的借用资源请求,如右侧的RMB2。RMB2收到该请求后,也先在本RMB上查找,如果没有可用的DTMF资源就再向下一个RMB发借用资源请求,依次类推,直到申请到可用的DTMF资源并占用返回或者将所有的RMB都请求一遍。The two virtual boxes in Fig. 2 represent two RMB respectively, and the call processing module (i.e. the resource usage module) of RMB1 on the left sends a request for applying for DTMF resources to the resource management module, and the resource management module first checks whether it is available on this RMB If the DTMF is found available, it will apply for occupation immediately, and return the number of the occupied DTMF to the call processing module; when the RMB has no available DTMF, the resource management module will send cross-board borrowing to other RMB Resource request, such as RMB2 on the right. After RMB2 receives the request, it will also search on this RMB first. If there is no available DTMF resource, it will send a resource borrowing request to the next RMB, and so on, until the available DTMF resource is applied for and returned or all the RMB is used. Ask for it all.
这种处理流程非常的繁琐,呼叫处理模块(资源使用模块)由于很难确定需要多少次的这种跨板调用因而也就很难确定超时保护的时间,处理上就很难抉择。另外由于存在多次的跨板调用,呼叫处理模块不知是板间的消息丢失还是跨板调用这种正常的处理流程的延误,考虑到每一次的呼叫处理是有时间限制的,所以可能会出现尽管有可用的资源,但由于不能太多次的跨板调用导致呼叫失败,导致呼损。为了避免这种情况的出现,一般是采用给每个RMB配置较多的备份资源板来规避,这样导致硬件成本的升高。This processing flow is very cumbersome, and the call processing module (resource usage module) is difficult to determine the time of overtime protection because it is difficult to determine how many such cross-board calls are needed, and it is difficult to make a decision in processing. In addition, due to the existence of multiple cross-board calls, the call processing module does not know whether it is a message loss between boards or a delay in the normal processing flow of cross-board calls. Considering that each call processing has a time limit, it may occur Although there are available resources, the call fails due to not being able to make too many cross-board calls, resulting in call loss. In order to avoid this situation, it is generally used to configure more backup resource boards for each RMB, which leads to an increase in hardware costs.
发明内容 Contents of the invention
本发明要解决的技术问题是提供一种可动态自适应的分布式资源管理系统和方法,在实现共享全局资源的同时,大大简化了资源申请的处理,缩短了资源申请的时间。The technical problem to be solved by the present invention is to provide a dynamically adaptive distributed resource management system and method, which greatly simplifies resource application processing and shortens resource application time while realizing global resource sharing.
通过对已知技术的分析可以发现,现有的RMB对资源的管理方法都是被动的,即实际申请资源时才进行查找。如果提供一种方法,可以主动监测资源的状态,一旦发现资源可能不可用就立即主动去找可用的资源,将会简化资源申请的处理和缩短资源申请的时间。本发明基于此思路提出了先对虚资源进行配置,利用虚资源与实资源的映射,通过自适应达到全局共享资源的一种实现方法。Through the analysis of known technologies, it can be found that the existing RMB resource management methods are all passive, that is, searching is performed when resources are actually applied for. If a method is provided to actively monitor the status of resources, and to immediately find available resources once the resources are found to be unavailable, it will simplify the processing of resource applications and shorten the time for resource applications. Based on this idea, the present invention proposes an implementation method of configuring virtual resources first, utilizing the mapping between virtual resources and real resources, and achieving global shared resources through self-adaptation.
先对本发明用到的一些名词定义如下:Some nouns used in the present invention are defined as follows:
资源:包括硬件资源(也称为物理资源)和软件资源,硬件资源是指在分布式系统内能够进行分配利用的物理实体,比如一块具体的单板,一个串口等;而软件资源是指通过软件描述和标示的具有某种功能的软件代码。硬件资源在软件程序中通过一个软件资源来描述。Resources: including hardware resources (also called physical resources) and software resources. Hardware resources refer to physical entities that can be allocated and utilized in a distributed system, such as a specific single board, a serial port, etc.; The software code that has a certain function described and marked by the software. A hardware resource is described in a software program by a software resource.
实资源:指直接用来描述某一硬件资源的软件资源,如实现DTMF功能的软件代码。一个RSB板可提供一个或多个实资源实例。背景技术部分提到的三种现有管理方法都可以归结为是实资源的管理方法。Real resource: refers to the software resource directly used to describe a certain hardware resource, such as the software code to realize the DTMF function. An RSB board can provide one or more instances of real resources. The three existing management methods mentioned in the background art section can all be attributed to the management methods of real resources.
虚资源:指根据需要在程序中定义的逻辑资源,可以通过配置的方式获得。虚资源与实资源之间没有固定的对应关系,可能在某一时刻同某个实资源相联系,在另一个时刻则同另一个实资源建立联系,或者不同实资源建立联系。Virtual resource: refers to the logical resource defined in the program according to the needs, which can be obtained through configuration. There is no fixed corresponding relationship between virtual resources and real resources. It may be connected with a certain real resource at a certain moment, and establish a connection with another real resource at another moment, or establish a connection with different real resources.
映射:指虚资源同实资源之间建立的一一对应关系,一旦建立了映射关系,那么根据虚资源编号就可以唯一地确定一个实资源。映射关系包括直接的映射关系和间接的映射关系。直接映射是指某个虚资源同某个实资源直接对应,没有中介。间接映射是指某个虚资源先与其他的虚资源进行映射,再由其他的虚资源映射到某个实资源。Mapping: Refers to the one-to-one correspondence between virtual resources and real resources. Once the mapping relationship is established, a real resource can be uniquely determined according to the number of the virtual resource. The mapping relationship includes direct mapping relationship and indirect mapping relationship. Direct mapping means that a virtual resource directly corresponds to a real resource without an intermediary. Indirect mapping means that a virtual resource is first mapped with other virtual resources, and then other virtual resources are mapped to a real resource.
基于以上思路,本发明提供了一种可动态自适应的分布式资源管理系统,包括多个资源管理板和多个资源板,所述资源管理板包括资源监控模块和资源管理模块,所述资源板具有一个或多个实资源的实例,其特征在于:Based on the above ideas, the present invention provides a dynamically adaptive distributed resource management system, including multiple resource management boards and multiple resource boards, the resource management board includes a resource monitoring module and a resource management module, and the resource Boards have one or more instances of real resources, characterized by:
所述资源监控模块,用于监控为本资源管理板配置的若干资源板上实资源的状态并通知本资源管理板的资源管理模块;The resource monitoring module is used to monitor the status of real resources on several resource boards configured for the resource management board and notify the resource management module of the resource management board;
所述资源管理模块,用于记录本资源管理板监控的实资源状态和使用情况,定时获取和记录各个资源管理板上可用实资源的信息,并为本资源管理板配置的虚资源寻找可用的同类实资源和建立两者的映射关系,在收到资源申请时分配可用的虚资源并返回与其映射的实资源的信息。The resource management module is used to record the status and usage of real resources monitored by the resource management board, regularly acquire and record the information of available real resources on each resource management board, and find available virtual resources for the virtual resources configured by the resource management board. The same kind of real resources and the establishment of the mapping relationship between the two, when the resource application is received, the available virtual resource is allocated and the information of the real resource mapped to it is returned.
进一步地,上述分布式资源管理系统还可具有以下特点:所述资源管理模块进一步包括以下单元:Further, the above-mentioned distributed resource management system may also have the following characteristics: the resource management module further includes the following units:
资源信息存储单元,用于记录本资源管理板监控的每个实资源的状态和使用该实资源的资源管理板的信息,本资源管理板配置的每个虚资源和其映射的实资源的信息,以及系统中各个资源管理板监控的可用实资源信息;The resource information storage unit is used to record the status of each real resource monitored by the resource management board and the information of the resource management board using the real resource, and the information of each virtual resource configured by the resource management board and its mapped real resource , and available real resource information monitored by each resource management board in the system;
共享资源信息维护单元,用于定时向从其他资源管理板获取其可用实资源的信息,实现对全局共享资源的定时更新,同时在本板实资源和虚资源的映射建立完成后,将余下的可用实资源作为全局共享资源发布或供查询;The shared resource information maintenance unit is used to regularly obtain the information of available real resources from other resource management boards, and realize the regular update of the global shared resources. Available real resources can be published or queried as global shared resources;
资源分配单元,用于在收到资源使用模块的资源申请时,为其分配可用的虚资源并返回该虚资源对应的实资源标识,如果没有可用的虚资源就返回失败消息;The resource allocation unit is configured to allocate an available virtual resource and return the real resource identifier corresponding to the virtual resource when receiving a resource application from the resource usage module, and return a failure message if there is no available virtual resource;
映射建立处理单元,用于为本资源管理板配置的虚资源在全局范围内寻找可用的同类实资源并建立两者的映射关系;The mapping establishment processing unit is used to search for available real resources of the same type globally for the virtual resources configured by the resource management board and establish the mapping relationship between them;
资源管理控制单元,用于对本资源管理模块的各个单元进行协调和控制,完成资源管理模块的各项功能。The resource management control unit is used to coordinate and control each unit of the resource management module to complete various functions of the resource management module.
进一步地,上述分布式资源管理系统还可具有以下特点:所述资源信息存储单元中保存了以下列表:Further, the above-mentioned distributed resource management system may also have the following characteristics: the following list is stored in the resource information storage unit:
实资源表,记录了本资源管理板监控的每个实资源的标识、状态标志,以及使用该实资源的其它资源管理板的标识;The real resource table records the identifier and status flag of each real resource monitored by the resource management board, as well as the identifiers of other resource management boards using the real resource;
虚资源表,记录了本资源管理板配置的每个虚资源的标识、映射标志及所映射的实资源标识;The virtual resource table records the identification, mapping identification and mapped real resource identification of each virtual resource configured by the resource management board;
全局共享资源表,记录了系统中各个资源管理板的标识及其所监控的可用实资源的数量和类型。The global shared resource table records the identification of each resource management board in the system and the quantity and type of available real resources monitored.
进一步地,上述分布式资源管理系统还可具有以下特点:所述映射建立处理单元进一步包括:Further, the above-mentioned distributed resource management system may also have the following characteristics: the mapping establishment processing unit further includes:
板内映射建立子单元,用于对还没有建立映射的虚资源,在本资源管理板的实资源表中寻找可用的同类实资源,将找到的实资源的状态置为已映射并记录该虚资源和该实资源的映射关系;The on-board mapping establishment subunit is used to search for the available real resources of the same type in the real resource table of the resource management board for the virtual resources that have not been mapped, set the status of the found real resources as mapped and record the virtual resources. The mapping relationship between the resource and the real resource;
板间映射建立子单元,用于查找保存的全局共享资源,寻找其它资源管理板上可用的实资源,找到后向该资源管理板发出借用请求,得到确认后记录该虚资源和该实资源的映射关系,收到拒绝借用的消息时删除该实资源对应的记录或置其为无效;Inter-board mapping establishes a subunit, which is used to search for saved global shared resources, search for real resources available on other resource management boards, send a borrowing request to the resource management board after finding it, and record the virtual resource and the real resource after confirmation Mapping relationship, delete the record corresponding to the real resource or invalidate it when receiving a message of refusal to borrow;
板间映射确认子单元,用于在收到其它资源管理板发来的借用实资源的请求时,判断这些实资源的当前状态,在确实可用时返回确认消息,并将这些实资源的状态置为已映射,否则返回拒绝借用的消息。The inter-board mapping confirmation subunit is used to judge the current status of these real resources when receiving requests for borrowing real resources from other resource management boards, return confirmation messages when they are indeed available, and set the status of these real resources to Mapped, otherwise a borrow rejection message is returned.
进一步地,上述分布式资源管理系统还可具有以下特点:所述资源管理控制单元包括上电控制子单元,用于在系统上电后,设置一定时器以等待本资源管理板所属资源板正常运行,并启动获取全局共享资源的进程,在定时器超时后再启动映射建立的过程。Further, the above-mentioned distributed resource management system may also have the following features: the resource management control unit includes a power-on control subunit, which is used to set a timer to wait for the resource board to which the resource management board belongs to be normal after the system is powered on. Run, and start the process of obtaining global shared resources, and start the process of mapping establishment after the timer expires.
进一步地,上述分布式资源管理系统还可具有以下特点:所述资源管理控制单元包括实资源变化处理子单元,用于在实资源不能正常运行或收到其它资源管理板发来的实资源不能正常运行的通知时,将该实资源状态置为不可用,在该实资源已映射时,还通知使用该实资源的资源管理板解除其虚资源与该实资源的映射关系,并尝试为该虚资源建立新的映射。Further, the above-mentioned distributed resource management system may also have the following features: the resource management control unit includes a real resource change processing subunit, which is used for when the real resource fails to operate normally or when it receives a notification from other resource management boards that the real resource cannot When notified of normal operation, the status of the real resource is set as unavailable. When the real resource has been mapped, it also notifies the resource management board using the real resource to release the mapping relationship between its virtual resource and the real resource, and tries to provide virtual resource to create a new mapping.
进一步地,上述分布式资源管理系统还可具有以下特点:所述实资源变化处理子单元还用于在可用的实资源增加时,将这些实资源的状态置为可用,为本资源管理板上还未映射的同类虚资源建立与这些实资源的映射,并将多余的可用实资源加入全局共享资源表。Further, the above-mentioned distributed resource management system may also have the following features: the real resource change processing subunit is also used to set the status of these real resources as available when the available real resources increase. Create mappings between virtual resources of the same kind that have not yet been mapped and these real resources, and add redundant available real resources to the global shared resource table.
进一步地,上述分布式资源管理系统还可具有以下特点:所述资源管理控制单元包括实资源变化处理子单元,用于在配置的虚资源增加时,尝试为其建立和实资源间的映射关系;在配置的虚资源减少时,解除该虚资源已有的映射关系并删除该虚资源,原映射的实资源在本资源管理板时,将其状态置为可用并加入全局共享资源表,该实资源不在本资源管理板时,通知其资源管理板将其状态置为可用。Further, the above-mentioned distributed resource management system may also have the following features: the resource management control unit includes a real resource change processing subunit, which is used to try to establish a mapping relationship with real resources when the configured virtual resources increase ; When the configured virtual resources decrease, cancel the existing mapping relationship of the virtual resources and delete the virtual resources. When the real resource is not in the resource management board, notify the resource management board to set its status as available.
进一步地,上述分布式资源管理系统还可具有以下特点:所述资源管理模块进一步包括映射关系调整单元,用于定时检查本资源管理板的虚资源的使用率,如果某个已映射虚资源的使用率低于某个设定值,就将该虚资源与实资源的映射关系解除,将该实资源状态置为可用,如果某个未映射的虚资源的使用率大于某个设定值,则为其寻找可用的实资源建立映射关系。Furthermore, the above-mentioned distributed resource management system may also have the following features: the resource management module further includes a mapping relationship adjustment unit, which is used to regularly check the utilization rate of the virtual resources of the resource management board, if a certain mapped virtual resource If the utilization rate is lower than a certain set value, the mapping relationship between the virtual resource and the real resource will be released, and the state of the real resource will be made available. If the utilization rate of an unmapped virtual resource is greater than a certain set value, Then establish a mapping relationship for it to find available real resources.
基于以上思路,本发明还提供了一种可动态自适应的分布式资源管理方法,应用于包括多个资源管理板和多个资源板的分布式资源管理系统,包括以下步骤:Based on the above ideas, the present invention also provides a dynamically adaptive distributed resource management method, which is applied to a distributed resource management system including multiple resource management boards and multiple resource boards, including the following steps:
(a)在系统中配置所有的实资源和每块资源管理板需要的虚资源,对这些资源加以标识并保存在资源管理板中;(a) All real resources and virtual resources required by each resource management board are configured in the system, and these resources are identified and stored in the resource management board;
(b)资源管理板上电成功后,监控为其配置的每个实资源的状态并作上状态标记,并定时从其他资源管理板获取其可用的实资源的信息,实现对全局共享资源的定时更新;(b) After the resource management board is successfully powered on, it monitors the status of each real resource configured for it and marks the status, and regularly obtains the information of its available real resources from other resource management boards to realize global shared resources. regular update;
(c)资源管理板对于本板配置的还没有同实资源映射的虚资源,在本板及其它资源管理板为其寻找状态为可用的同类实资源,找到后记录两者的映射关系,并将该实资源的状态置为已映射,处理完成后,将余下的可用实资源作为全局共享资源;(c) The resource management board searches for virtual resources of the same type that are available on the board and other resource management boards for the virtual resources configured on the board that have not been mapped to real resources, and records the mapping relationship between the two after finding it, and Set the state of the real resource as mapped, and after the processing is completed, use the remaining available real resources as global shared resources;
(d)申请资源时,资源管理板为资源使用模块分配可用的虚资源并返回该虚资源对应的实资源标识,如果没有可用的虚资源就返回失败消息。(d) When applying for resources, the resource management board allocates available virtual resources to the resource usage module and returns the real resource identifier corresponding to the virtual resources, and returns a failure message if there is no available virtual resource.
进一步地,上述分布式资源管理方法还可具有以下特点:所述资源管理板中通过保存以下列表来记录实资源、虚资源和全局共享资源的信息和信息间的关联关系:实资源表,记录了本资源管理板监控的每个实资源的标识、状态标志,以及使用该实资源的其它资源管理板的标识;虚资源表,记录了本资源管理板配置的每个虚资源的标识、映射标志及所映射的实资源标识;以及全局共享资源表,记录了系统中各个资源管理板的标识及其所监控的可用实资源的数量和类型。Further, the above-mentioned distributed resource management method may also have the following characteristics: the resource management board records the information of real resources, virtual resources and global shared resources and the association between information by saving the following list: real resource table, record The identifier and status flag of each real resource monitored by the resource management board, and the identifiers of other resource management boards using the real resource; the virtual resource table records the identifier and mapping of each virtual resource configured by the resource management board flags and mapped real resource identifiers; and a global shared resource table, which records the identifiers of each resource management board in the system and the quantity and type of available real resources monitored.
进一步地,上述分布式资源管理方法还可具有以下特点:所述建立虚资源与实资源的映射,是指在虚资源表中该虚资源的记录中写入对应实资源的编号,并在使用该实资源的资源管理板上的实资源表中将该实资源的状态置为已映射,同时记录使用该实资源的资源管理板信息。Further, the above-mentioned distributed resource management method may also have the following characteristics: the establishment of the mapping between the virtual resource and the real resource refers to writing the serial number of the corresponding real resource in the record of the virtual resource in the virtual resource table, and using In the real resource table on the resource management board of the real resource, the status of the real resource is set as mapped, and at the same time, the information of the resource management board using the real resource is recorded.
进一步地,上述分布式资源管理方法还可具有以下特点:所述步骤(b)中,所述资源管理板定时从其他资源管理板发送获取全局资源表请求消息,其他资源管理板收到该消息后,返回本板监控的可用的实资源的类型和数量;或者,所述资源管理模块定时向其他模块广播本板可用的实资源信息。Further, the above-mentioned distributed resource management method may also have the following characteristics: in the step (b), the resource management board regularly sends a request message for obtaining a global resource table from other resource management boards, and other resource management boards receive the message After that, return the type and quantity of available real resources monitored by the board; or, the resource management module regularly broadcasts the real resource information available on the board to other modules.
进一步地,上述分布式资源管理方法还可具有以下特点:所述步骤(b)中,资源管理板在上电时设置了一个定时器,在该定时器到时之后,再执行步骤(c),并且在该定时器到时前,不将本板的可用实资源作为全局共享资源发送或供查询。Further, the above-mentioned distributed resource management method may also have the following characteristics: in the step (b), the resource management board sets a timer when it is powered on, and after the timer expires, the step (c) is performed , and before the timer expires, the real resources available on this board will not be sent or queried as global shared resources.
进一步地,上述分布式资源管理方法还可具有以下特点:所述步骤(c)中,所述资源管理板先在本板寻找状态为可用的同类实资源,在本板没有找到时,再在本板保存的全局共享资源信息中查找可用的实资源,找到时再向相应的资源管理板发送资源借用请求,在得到确认后建立该虚资源和允许借用的实资源之间的映射关系。Further, the above-mentioned distributed resource management method may also have the following characteristics: in the step (c), the resource management board first searches for the same kind of real resources whose state is available on the board; Search for available real resources in the global shared resource information saved by this board, and send a resource borrowing request to the corresponding resource management board when found, and establish a mapping relationship between the virtual resource and the real resource that is allowed to be borrowed after confirmation.
进一步地,上述分布式资源管理方法还可具有以下特点:还包括以下步骤:所述资源管理板在监测到实资源不能正常运行或收到其它资源管理板发来的实资源不能正常运行的通知时,将该实资源状态置为不可用,在该实资源已映射时,还通知使用该实资源的资源管理板解除其虚资源与该实资源的映射关系,并尝试为该虚资源建立新的映射。Further, the above-mentioned distributed resource management method may also have the following characteristics: it also includes the following step: the resource management board detects that the real resource cannot operate normally or receives a notification from other resource management boards that the real resource cannot operate normally , set the status of the real resource as unavailable. When the real resource has been mapped, it also notifies the resource management board using the real resource to release the mapping relationship between its virtual resource and the real resource, and tries to establish a new resource for the virtual resource. mapping.
进一步地,上述分布式资源管理方法还可具有以下特点:还包括以下步骤:所述资源管理板在监测到可用的实资源增加时,将这些实资源的状态置为可用,为本资源管理板上还未映射的同类虚资源建立与这些实资源的映射,并将多余的可用实资源加入全局共享资源表。Further, the above-mentioned distributed resource management method may also have the following characteristics: it also includes the following step: when the resource management board detects that the available real resources increase, the status of these real resources is set as available, and the resource management board Create mappings between virtual resources of the same type that have not yet been mapped on the network and these real resources, and add redundant available real resources to the global shared resource table.
进一步地,上述分布式资源管理方法还可具有以下特点:还包括以下步骤:所述资源管理板配置的虚资源增加时,尝试为其建立和实资源间的映射关系;在配置的虚资源减少时,解除该虚资源已有的映射关系并删除该虚资源,原映射的实资源在本资源管理板时,将其状态置为可用并加入全局共享资源表,该实资源不在本资源管理板时,通知其所属资源管理板将其状态置为可用。Further, the above-mentioned distributed resource management method may also have the following characteristics: it also includes the following steps: when the virtual resources configured by the resource management board increase, try to establish a mapping relationship with real resources; when the configured virtual resources decrease , cancel the existing mapping relationship of the virtual resource and delete the virtual resource. When the original mapped real resource is in the resource management board, set its status as available and add it to the global shared resource table. The real resource is not in the resource management board. , notify the resource management board to which it belongs to make its status available.
进一步地,上述分布式资源管理方法还可具有以下特点:还包括以下步骤:所述资源管理板定时检查本资源管理板的虚资源的使用率,如果某个已映射虚资源的使用率低于某个设定值,就将该虚资源与实资源的映射关系解除,将该实资源状态置为可用,如果某个未映射的虚资源的使用率大于某个设定值,则为其寻找可用的实资源建立映射关系。Further, the above-mentioned distributed resource management method may also have the following features: it also includes the following step: the resource management board regularly checks the usage rate of the virtual resources of the resource management board, if the usage rate of a certain mapped virtual resource is lower than If a certain setting value is set, the mapping relationship between the virtual resource and the real resource will be released, and the status of the real resource will be made available. If the usage rate of an unmapped virtual resource is greater than a certain setting value, it will find The available real resources establish a mapping relationship.
由上可知,本发明所述系统和方法的最大特点先对虚资源进行配置(是通过抽象出虚资源的概念),利用虚资源与实资源的映射,通过自适应达到全局共享资源的目的。此发明保证需要使用资源的软件实现部分只需在本RMB上向资源管理模块申请资源,不存在跨板的借资源问题,所以每次申请资源的时间是固定的,并且非常快速。从而使得申请使用资源的软件在处理流程上就大大的简化,提高了系统的效率,也增强了系统的可靠性。It can be seen from the above that the biggest feature of the system and method of the present invention is to firstly configure virtual resources (by abstracting the concept of virtual resources), and use the mapping between virtual resources and real resources to achieve the purpose of global shared resources through self-adaptation. This invention ensures that the software implementation part that needs to use resources only needs to apply for resources from the resource management module on this RMB, and there is no problem of borrowing resources across boards, so the time for each resource application is fixed and very fast. Thus, the processing flow of the software for resource application is greatly simplified, the efficiency of the system is improved, and the reliability of the system is also enhanced.
另外,由于采用了虚资源来分配,增强了上层软件的通用性。尽管实资源在不停的使用,释放。但只要映射关系不变,对业务(上层软件)是没有影响的,因为只要将虚资源的状态打上可用即可。In addition, due to the use of virtual resources for allocation, the versatility of the upper layer software is enhanced. Although real resources are constantly being used and released. But as long as the mapping relationship remains unchanged, there is no impact on the business (upper-layer software), because it only needs to mark the status of the virtual resource as available.
附图概述Figure overview
图1是本发明实施例中分布式资源的网络结构示意图。FIG. 1 is a schematic diagram of a network structure of distributed resources in an embodiment of the present invention.
图2是现有的分布式资源管理的资源申请流程示意图。FIG. 2 is a schematic diagram of a resource application process of existing distributed resource management.
图3是本发明实施例中虚资源条件下资源申请流程示意图。FIG. 3 is a schematic diagram of a resource application process under a virtual resource condition in an embodiment of the present invention.
图4是本发明一个实例中DTMF(Dual Tone Multi-Frequency,多音双频)虚资源与实资源的映射示意图。Fig. 4 is a schematic diagram of mapping between DTMF (Dual Tone Multi-Frequency, multi-tone dual-frequency) virtual resources and real resources in an example of the present invention.
图5是上述实例中RMB1向其他RMB获取全局共享资源表的流程示意图。FIG. 5 is a schematic flow diagram of RMB1 acquiring global shared resource tables from other RMB in the above example.
图6是上述实例中RMB1向其他RMB借用实资源的流程示意图。Fig. 6 is a schematic flow chart of RMB1 borrowing real resources from other RMB in the above example.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
下面结合附图和具体实施方式对本发明作进一步描述。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
本实施例的分布式资源管理系统的网络结构和图1相同,每块RMB中包括资源监控模块、资源管理模块和资源使用模块,其中:The network structure of the distributed resource management system of the present embodiment is the same as that in Fig. 1, and each block of RMB includes a resource monitoring module, a resource management module and a resource usage module, wherein:
资源监控模块,用于时刻监控为其所在RMB配置的RSB板实资源的状态,在状态变化时通知本RMB的资源管理模块进行修改,这些状态包括:RSB是否在位,是否能正常运行,RSB上的实资源是否有损坏等。The resource monitoring module is used to monitor the status of the real resources of the RSB board configured for its RMB at all times, and notify the resource management module of the RMB to modify when the status changes. These statuses include: whether the RSB is in place, whether it can run normally, whether the RSB Whether the real resources on the server are damaged or not.
资源使用模块,用于向本RMB上的资源管理模块申请资源。The resource usage module is used to apply for resources from the resource management module on this RMB.
资源管理模块,用于记录本RMB监控的实资源状态和使用情况并定时获取和记录各RMB板的可用实资源信息,为本RMB配置的虚资源寻找可用的实资源并为两者建立映射关系,以及在收到资源申请时分配可用的虚资源并返回相应实资源编号。其进一步包括以下单元:The resource management module is used to record the status and usage of the real resources monitored by the RMB, obtain and record the available real resource information of each RMB board regularly, find available real resources for the virtual resources configured by the RMB, and establish a mapping relationship between them , and allocate available virtual resources and return corresponding real resource numbers when resource applications are received. It further includes the following units:
资源信息存储单元,用于保存实资源表、虚资源表和全局共享资源表。The resource information storage unit is used to save the real resource table, the virtual resource table and the global shared resource table.
实资源表,记录了本RMB监控的每个实资源的编号、状态、使用该实资源的RMB编号(为本RMB使用时可缺省)等内容。实资源用编号来标识,每个RSB板编一个号,RSB板上提供多个实资源实例时,给实资源实例也分配一个编号,这样通过编号就可以唯一确定是哪一个RSB板上的哪一个实资源实例。The real resource table records the serial number and status of each real resource monitored by this RMB, the RMB serial number using this real resource (it can be defaulted when used by this RMB), etc. Real resources are identified by numbers. Each RSB board is assigned a number. When multiple real resource instances are provided on the RSB board, a number is also assigned to the real resource instance. In this way, the number can be used to uniquely determine which RSB board is which. A real resource instance.
虚资源表,记录了本RMB配置的每个虚资源的编号、映射标志和已映射的实资源编号。RMB的虚资源可以根据需要进行配置,也就是需要多少就配置多少,配置可以通过手工方式或注册方式来实现。The virtual resource table records the number of each virtual resource configured in this RMB, the mapping flag and the mapped real resource number. RMB virtual resources can be configured according to needs, that is, as many as needed can be configured, and the configuration can be realized manually or through registration.
全局共享资源表,记录了系统中本RMB和其它RMB的编号及其监控资源类型和可用的实资源数量,表中可用的实资源是正常运行且没有同虚资源建立映射关系,可以被所有RMB使用的实资源。The global shared resource table records the number of this RMB and other RMB in the system, its monitoring resource type, and the number of available real resources. The available real resources in the table are in normal operation and have no mapping relationship with virtual resources, and can be used by all RMB Real resources used.
共享资源信息维护单元,用于定时向其他RMB发送获取全局共享资源的消息或者在收到该消息后返回本RMB可用的实资源数量和类型,根据从其他RMB获取的信息实现对全局共享资源表的定时更新,同时在本RMB完成板内映射且还有可用的实资源时,将这些可用实资源加入全局资源共享表以备查询。这样,在RMB上实现了虚资源与实资源的快速映射。The shared resource information maintenance unit is used to regularly send messages to other RMB to obtain global shared resources or return the real resource quantity and type available to the RMB after receiving the message, and realize the global shared resource list according to the information obtained from other RMB At the same time, when the local RMB has completed the on-board mapping and there are available real resources, these available real resources will be added to the global resource sharing table for query. In this way, fast mapping of virtual resources and real resources is realized on the RMB.
映射建立处理单元,用于为本RMB配置的虚资源寻找可用的同类实资源并建立两者的映射关系。包括:The mapping establishment processing unit is used to find available real resources of the same kind for the virtual resources configured by the RMB and establish a mapping relationship between them. include:
板内映射建立子单元,用于对还没有建立映射的虚资源,在本RMB的实资源表中寻找同一类型的可用的实资源,则将该实资源的状态置为已映射并在该虚资源的记录中填上该实资源的编号。The on-board mapping establishment subunit is used to search for the available real resources of the same type in the real resource table of this RMB for virtual resources that have not yet been mapped, then set the state of the real resources as mapped and create Fill in the real resource number in the resource record.
板间映射建立子单元,用于在本RMB没有可用的实资源时,查找全局共享资源表寻找其它RMB上可用的实资源,找到后向该RMB发出请求,得到确认后在该虚资源的记录中填上该实资源的编号,收到拒绝借用的消息时删除该实资源对应的记录或置其为无效。The inter-board mapping subunit is used to search the global shared resource table to find available real resources on other RMB when there is no real resource available in this RMB, send a request to the RMB after finding it, and record it in the virtual resource after confirmation Fill in the serial number of the real resource in , and delete the record corresponding to the real resource or invalidate it when receiving a message of refusal to borrow.
板间映射确认子单元,用于在收到其它RMB发来的借用实资源的请求时,判断这些实资源的当前状态,在可用时返回确认消息,并将这些实资源的状态置为已映射,否则返回拒绝借用的消息。The inter-board mapping confirmation subunit is used to judge the current status of these real resources when receiving requests for borrowing real resources from other RMB, return a confirmation message when available, and set the status of these real resources as mapped , otherwise return a message rejecting the borrow.
资源分配单元,用于在收到资源申请时,为其分配可用的虚资源(虚资源只有在同实资源映射后才是可用的),并返回通过虚资源表获得的该虚资源对应的实资源编号,如果没有可用的虚资源就返回失败消息。The resource allocation unit is used to allocate available virtual resources (virtual resources are only available after mapping with real resources) when receiving resource applications, and return the corresponding real resources obtained through the virtual resource table. The resource number, if no virtual resources are available, a failure message will be returned.
资源管理控制单元,用于对各个单元进行协调和控制,完成对分布式资源的自适应管理,进一步包括:The resource management control unit is used to coordinate and control each unit and complete the adaptive management of distributed resources, further including:
上电控制子单元,用于在系统上电后,设置一定时器以等待本RMB所属RSB正常运行,并启动获取全局共享资源的进程,在定时器超时后启动映射建立的过程。The power-on control subunit is used to set a timer to wait for the normal operation of the RSB to which the RMB belongs after the system is powered on, and start the process of obtaining global shared resources, and start the process of mapping establishment after the timer expires.
实资源变化处理子单元,用于在实资源减少或收到其它RMB发来的实资源不能正常运行的通知时,将该实资源状态置为不可用,在该实资源已映射时,还通知使用该实资源的RMB解除其虚资源与该实资源的映射关系,并尝试为该虚资源建立新的映射。在可用的实资源增加时,将这些实资源的状态置为可用,为本RMB上未映射同类的虚资源建立与这些实资源的映射,并将多余的可用实资源加入全局共享资源表。The real resource change processing subunit is used to set the state of the real resource as unavailable when the real resource decreases or receives a notification from other RMB that the real resource cannot operate normally, and also notifies when the real resource has been mapped The RMB using the real resource cancels the mapping relationship between its virtual resource and the real resource, and tries to establish a new mapping for the virtual resource. When the available real resources increase, set the status of these real resources as available, establish mappings with these real resources for unmapped virtual resources of the same kind on this RMB, and add redundant available real resources to the global shared resource table.
虚资源变化处理子单元,用于在配置的虚资源增加时,尝试为其建立和实资源间的映射关系。在配置的虚资源减少时,解除该虚资源已有的映射关系(如果有的话),从虚资源表中删除该虚资源,原映射的实资源在本RMB时,将其状态置为可用并加入全局共享资源表,该实资源不在本RMB时,通知其RMB将其状态置为可用。The virtual resource change processing subunit is used to try to establish a mapping relationship with real resources when the configured virtual resources increase. When the configured virtual resource is reduced, cancel the existing mapping relationship of the virtual resource (if any), delete the virtual resource from the virtual resource table, and set the status of the original mapped real resource as available when it is in this RMB And join the global shared resource table, when the real resource is not in this RMB, notify its RMB to set its status as available.
基于以上分布式资源管理的系统,在系统运行前需要先配置所有的实资源和每块RMB需要的虚资源,为这些资源编号并写入所属RMB中各自的列表中。本实施例假定可用的实资源多于配置的虚资源。Based on the above distributed resource management system, it is necessary to configure all real resources and virtual resources required by each RMB before the system runs, number these resources and write them into their respective lists in the RMB. This embodiment assumes that available real resources are more than configured virtual resources.
系统上电后,RMB1完成最初的资源映射的流程包括以下步骤:After the system is powered on, RMB1 completes the initial resource mapping process including the following steps:
步骤一,RMB1上电成功后,首先向其他RMB的监控模块发获取全局共享资源的事件消息以便获取其他RMB在全局共享资源表中的相应记录,同时设置一个延迟定时器(Ti,i可根据编程需要任意设定),等待RMB1上的监控模块监控的RSB板的正常运行;Step 1, after RMB1 is powered on successfully, at first send the event message that obtains global shared resource to the monitoring module of other RMB so as to obtain the corresponding record of other RMB in the global shared resource table, set a delay timer simultaneously (Ti, i can be according to Programming needs to be set arbitrarily), waiting for the normal operation of the RSB board monitored by the monitoring module on RMB1;
步骤二,在RMB1上的定时器(Ti)超时前,当RMB1的监控模块发现自己监控的RSB正常运行后就立即在该RSB对应的实资源表中的标志位(或者叫状态位)中置上可用的标志;Step 2, before the timer (Ti) on the RMB1 expires, when the monitoring module of RMB1 finds that the RSB it monitors is running normally, it immediately sets the flag (or status bit) in the corresponding real resource table of the RSB available on the logo;
在延迟定时器(Ti)的超时消息到之前,其他RMB向RMB1发获取全局共享资源的事件消息时RMB1有以下两种处理方法:1)不响应;2)回应请求者RMB1在全局共享资源表中暂无可用的共享资源。两种方法可以任选一种,目的是保证其他RMB在RMB1的定时器(Ti)超时前不会在他们的全局共享资源表中有RMB1的可用资源信息。Before the timeout message of the delay timer (Ti) arrives, when other RMB sends an event message to RMB1 to acquire global shared resources, RMB1 has the following two processing methods: 1) Not responding; 2) Responding to the requester RMB1 in the global shared resource table There are currently no shared resources available in . One of the two methods can be selected, and the purpose is to ensure that other RMB will not have available resource information of RMB1 in their global shared resource table before the timer (Ti) of RMB1 expires.
步骤三,在RMB1收到自己的定时器(Ti)超时的事件后,依次从虚资源表中找到还没有同实资源映射的虚资源,然后从实资源表中找到状态位是可用状态且为同一类型的实资源,接着在虚资源表中该虚资源的记录中填上该实资源的编号,并将在实资源表中此实资源的状态位的状态设置为已映射,从而实现RMB1监控的RSB资源同RMB1的虚资源的映射;Step 3: After RMB1 receives the event that its own timer (Ti) times out, it finds the virtual resources that have not been mapped to the real resources from the virtual resource table in turn, and then finds that the status bit is available and is the same from the real resource table. type of real resource, then fill in the number of the real resource in the record of the virtual resource in the virtual resource table, and set the state of the status bit of the real resource in the real resource table as mapped, so as to realize RMB1 monitoring The mapping between RSB resources and RMB1 virtual resources;
步骤四,判断RMB1配置的所有虚资源是否都已经有实资源与之映射,如果是,执行步骤五,否则,执行步骤六;Step 4, determine whether all the virtual resources configured by RMB1 have been mapped with real resources, if yes, perform step 5, otherwise, perform step 6;
步骤五,检查RMB1上是否还有状态位为可用标志的实资源,如果有就将剩下的所有可用的实资源放入RMB1上的全局共享资源表中,等待其他RMB定时获取相应的信息,结束;Step 5, check whether there are real resources whose status bit is an available flag on RMB1, and if so, put all the remaining available real resources into the global shared resource table on RMB1, and wait for other RMB to obtain corresponding information regularly. Finish;
步骤六,此时,RMB1上还有虚资源没有进行映射,并且RMB1监控的RSB已经没有可用的了,则从RMB1的全局共享资源表查找是否别的RMB还有同一类型的可用实资源,如果有,执行步骤七,否则,执行步骤十一;Step 6. At this time, there are still virtual resources on RMB1 that have not been mapped, and the RSB monitored by RMB1 is no longer available, then check whether other RMB has the same type of available real resources from the global shared resource table of RMB1. If Yes, go to step 7, otherwise go to step 11;
步骤七,RMB1向监控该实资源的其它RMB(假定为RMB2)发送借用实资源请求消息;Step 7, RMB1 sends a request message to borrow a real resource to other RMB (assumed to be RMB2) monitoring the real resource;
步骤八,RMB2收到借用实资源请求消息后,判断当前是否真的有实资源可用,如果是,执行步骤九,否则,返回失败消息,RMB1将该实资源相关的记录删除(或置为无效),然后返回步骤六,即在全局共享资源表中寻找其它可用的实资源;Step 8: After RMB2 receives the request message to borrow real resources, it judges whether there are real resources available at present, if yes, executes step 9, otherwise, returns a failure message, and RMB1 deletes (or invalidates) the records related to the real resources ), and then return to step six, that is, to search for other available real resources in the global shared resource table;
步骤九,RMB2确定要与该虚资源建立映射的实资源,在实资源表中将这些实资源的状态置为已映射,并记录借用的RMB1的编号,然后向RMB1返回允许借用实资源的确认消息,并提供借用的实资源编号;Step 9: RMB2 determines the real resources to be mapped with the virtual resource, sets the status of these real resources as mapped in the real resource table, and records the number of the borrowed RMB1, and then returns to RMB1 a confirmation that the real resource is allowed to be borrowed message, and provide the borrowed real resource number;
步骤十,RMB1收到借用实资源的应答消息后,建立虚资源与借用的实资源的映射关系,结束;Step ten, RMB1 establishes the mapping relationship between the virtual resource and the borrowed real resource after receiving the response message of borrowing the real resource, and ends;
步骤十一,此时,还有虚资源找不到对应的实资源,则通知操作值班人员处理。Step eleven, at this time, if there are still virtual resources that cannot find the corresponding real resources, the operator on duty is notified to handle it.
可以看出,为了避免流程的复杂和不确定性,以上流程在对RMB上的虚资源进行资源映射时优选本RMB监控的资源,特别是在刚上电的情况下,RMB需要等待一小段时间确认本RMB监控的资源成功运行,在等待的时间内本RMB监控的资源仍然不能运行的情况下才允许映射其他RMB监控的空闲的资源。It can be seen that in order to avoid the complexity and uncertainty of the process, the above process selects the resources monitored by the RMB when performing resource mapping on the virtual resources on the RMB, especially when the RMB is just powered on, the RMB needs to wait for a short period of time Confirm that the resources monitored by this RMB are successfully running. Only when the resources monitored by this RMB are still unable to run within the waiting period can the idle resources monitored by other RMB be mapped.
在系统已经稳定运行中(指完成上述初步映射的流程后),需要进行全局共享资源表的维护和进行资源分配。另外,在实资源增加或减少,以及虚资源的配置增加或减少时,还需要对两者的映射关系进行处理。When the system is running stably (after completing the above preliminary mapping process), it is necessary to maintain the global shared resource table and perform resource allocation. In addition, when real resources increase or decrease, and virtual resource allocation increases or decreases, the mapping relationship between the two needs to be processed.
全局共享资源表的维护Maintenance of the global shared resource table
为了维护每个RMB上全局共享资源表,实现实时刷新,RMB在上电完成后从其他RMB(根据配置可以知道共有多少个RMB)第一次获取全局共享资源表所需的信息后就设定一个定时器,定时向其他RMB发获取全局资源表请求消息,其他RMB板返回本板监控的可用的实资源的类型和数量,该RMB再根据这些信息填写全局共享资源表,包括具有监控模块的RMB的编号、资源类别和可用实资源的数量等字段。In order to maintain the global shared resource table on each RMB and realize real-time refresh, after the RMB is powered on, it will set A timer, which regularly sends request messages to other RMB boards to obtain the global resource table, and other RMB boards return the type and quantity of available real resources monitored by this board, and the RMB fills in the global shared resource table according to these information, including those with monitoring modules Fields such as RMB number, resource category, and the number of available real resources.
还可以通过其它多种方式来实现全局共享资源表数据的更新,如:由资源管理模块定时向其他模块广播本模块上可用的实资源信息。The update of the global shared resource table data can also be implemented in other ways, such as: the resource management module regularly broadcasts the real resource information available on this module to other modules.
实资源减少时的处理Handling when real resources decrease
系统运行时,RMB的监控模块时刻监控着所属RSB的运行状态,假定RMB1检测到本RMB监控的RSB或RSB上的部分实资源实例不能正常工作,导致实资源减少时,执行以下处理流程:When the system is running, the monitoring module of RMB monitors the running status of its RSB at all times. Suppose RMB1 detects that the RSB monitored by this RMB or some real resource instances on the RSB cannot work normally, resulting in a decrease in real resources, and execute the following processing flow:
步骤A,RMB1将所有不能正常工作的实资源实例在实资源表中对应的状态位标示不可用状态;Step A, RMB1 marks the corresponding status bits in the real resource table of all real resource instances that cannot work normally as unavailable;
步骤B,RMB1查找本地的实资源表,判断该实资源是否同虚资源有映射关系,如果没有,直接结束,否则执行下一步;Step B, RMB1 searches the local real resource table, and judges whether the real resource has a mapping relationship with the virtual resource, if not, end it directly, otherwise execute the next step;
步骤C,RMB1根据实资源表的记录判断使用该实资源的RMB是否本RMB,如果是,直接解除其虚资源与该实资源的映射关系,即删除RMB1虚资源表相应记录中的该实资源编号,执行下一步;如果不是本RMB监控的实资源,立即通知使用该实资源的RMB,该RMB收到通知后,立即将虚资源表中此实资源实例与虚资源的映射关系解除,执行下一步;Step C, RMB1 determines whether the RMB using the real resource is the original RMB according to the record in the real resource table, and if so, directly cancels the mapping relationship between its virtual resource and the real resource, that is, deletes the real resource in the corresponding record of the RMB1 virtual resource table If it is not the real resource monitored by this RMB, immediately notify the RMB using the real resource. After receiving the notification, the RMB will immediately cancel the mapping relationship between the real resource instance and the virtual resource in the virtual resource table, and execute Next step;
步骤E,使用该实资源的RMB检查是否有资源使用模块占用该虚资源,如果有,立即通知该资源使用模块作相应的处理,执行下一步,否则,直接执行下一步;Step E, use the RMB of the real resource to check whether there is a resource usage module occupying the virtual resource, if so, immediately notify the resource usage module to perform corresponding processing, and execute the next step, otherwise, directly execute the next step;
步骤F,使用该实资源的RMB在本地为该虚资源寻找可用的实资源建立映射关系,如果没有找到,再按步骤六到步骤十一的方法尝试建立该虚资源同其他RMB监控的RSB资源的映射关系。Step F, use the RMB of the real resource to find the available real resource for the virtual resource locally to establish a mapping relationship, if not found, then try to establish the virtual resource and the RSB resource monitored by other RMB according to the method from step 6 to step 11 mapping relationship.
如果是RSB板减少引起实资源减少,步骤A中可直接从将该实资源从实资源表中删除。If the reduction of real resources is caused by the reduction of RSB boards, in step A, the real resources can be directly deleted from the real resource table.
可用的实资源增加时的处理Handling when available real resources increase
系统运行时,假定RMB1检测到本RMB监控的RSB又有能正常运行的单板或实资源实例,比如,定时器(Ti)超时前本RMB监控的RSB没有正常运行,而该RSB在定时器(Ti)超时后启动运行,导致可用的实资源增加,执行以下处理流程:When the system is running, assume that RMB1 detects that the RSB monitored by this RMB has a single board or real resource instance that can run normally. For example, the RSB monitored by this RMB does not run normally before the timer (Ti) (Ti) starts running after a timeout, resulting in an increase in available real resources, and executes the following processing flow:
步骤H,RMB1在实资源表中将这些实资源的状态置为可用;Step H, RMB1 sets the status of these real resources as available in the real resource table;
步骤I,RMB1检查虚资源表中是否有还未同实资源建立映射的同一类型的虚资源,如果有,执行步骤J,否则,执行步骤K;Step I, RMB1 checks whether there are virtual resources of the same type that have not yet been mapped with real resources in the virtual resource table, if there is, execute step J, otherwise, execute step K;
步骤J,RMB1建立该虚资源和新增实资源间的映射关系,如果还有多余的新增实资源,再执行下一步,否则,结束;Step J, RMB1 establishes the mapping relationship between the virtual resource and the new real resource, if there are redundant new real resources, go to the next step, otherwise, end;
步骤K,将还未映射的新增实资源放入本RMB的全局共享资源表中,等待其他RMB的定时来获取相应的信息。Step K: put the newly added real resources that have not been mapped into the global shared resource table of the current RMB, and wait for the timing of other RMB to obtain corresponding information.
配置的虚资源增加时的处理Processing when the configured virtual resources increase
系统运行时,假定为RMB1配置的虚资源增加,则按以下流程处理:RMB1首先到本板实资源表中查找是否有可用的实资源,如果有,建立两者的映射关系;如果没有可用的实资源或者还有部分虚资源没有建立映射,则按步骤六到步骤十一的方法尝试建立该虚资源同其他RMB监控的RSB资源的映射关系。When the system is running, assuming that the virtual resource configured for RMB1 increases, it will be processed according to the following process: RMB1 first checks whether there is any available real resource in the real resource table of this board, and if so, establishes the mapping relationship between the two; if there is no available real resource If the real resource or some virtual resources have not been mapped, try to establish the mapping relationship between the virtual resource and other RSB resources monitored by RMB according to the method from step 6 to step 11.
配置的虚资源减少时的处理Processing when the configured virtual resources decrease
系统运行时,假定为RMB1配置的虚资源减少,则按以下流程处理:RMB1直接解除该虚资源同原有实资源的映射关系,然后在虚资源表中删除该虚资源,如果该原有实资源是本地的实资源,则直接将其状态改为可用,如果是其它RMB监控的实资源,则通知该RMB,由该RMB将该原有实资源的状态改为可用。When the system is running, assuming that the virtual resources configured for RMB1 decrease, the process will be processed as follows: RMB1 directly releases the mapping relationship between the virtual resources and the original real resources, and then deletes the virtual resources in the virtual resource table. If the original real resources If the resource is a local real resource, its status will be directly changed to available. If it is a real resource monitored by another RMB, then the RMB will be notified, and the RMB will change the status of the original real resource to available.
申请资源的流程The process of applying for resources
图3是本实施例采用虚资源的资源管理方式下的资源申请流程。RMB的资源管理模块只管理本RMB的虚资源,这样资源使用模块(如呼叫处理模块)在本RMB上向资源管理模块申请资源时,申请的是可用的虚资源(虚资源只有在同实资源映射后才是可用的),资源管理模块判断本RMB就是否有可用的虚资源,如果没有,给资源使用模块返回失败消息。如果有,为其分配一个虚资源,并通过虚资源表获得该虚资源对应的唯一的实资源的编号,返回给资源使用模块。FIG. 3 is a resource application process in the resource management mode using virtual resources in this embodiment. The resource management module of the RMB only manages the virtual resources of this RMB, so that when a resource usage module (such as a call processing module) applies for resources from the resource management module on this RMB, what it applies for is an available virtual resource (virtual resources are only available when they are the same as real resources) Only available after mapping), the resource management module judges whether the RMB has available virtual resources, and if not, returns a failure message to the resource usage module. If yes, assign a virtual resource to it, obtain the number of the unique real resource corresponding to the virtual resource through the virtual resource table, and return it to the resource usage module.
因此,本实施例通过映射关系的自动维护就不需要进行跨板的借资源了,这样每次资源使用模块申请资源的时间是固定的,非常快速。并且资源使用模块的处理流程大大的简化,提高了效率。Therefore, in this embodiment, through the automatic maintenance of the mapping relationship, there is no need to borrow resources across boards, so that the time for each resource usage module to apply for resources is fixed and very fast. Moreover, the processing flow of the resource usage module is greatly simplified and the efficiency is improved.
下面通过一个应用实例来详细说明上述实施例的方法。The method in the above embodiment will be described in detail below through an application example.
图4所示是本应用实例虚资源与实资源的映射关系。现在共有10个实的DTMF资源,分别编号为DTMF1~DTMF10,3个资源管理板RMB,编号为RMB1~RMB3,每个资源管理板RMB配置有3个虚DTMF资源,其中RMB1的监控模块配置了2个实资源(DTMF1和DTMF2),RMB2的监控模块配置了4个实资源(DTMF3~DTMF6),RMB3的监控模块配置了4个实资源(DTMF7~DTMF10),如图4中的实线标示了这种配置关系。Figure 4 shows the mapping relationship between virtual resources and real resources in this application example. Now there are 10 real DTMF resources, respectively numbered DTMF1~DTMF10, 3 resource management boards RMB, numbered RMB1~RMB3, each resource management board RMB is configured with 3 virtual DTMF resources, and the monitoring module of RMB1 is configured 2 real resources (DTMF1 and DTMF2), the monitoring module of RMB2 is configured with 4 real resources (DTMF3~DTMF6), and the monitoring module of RMB3 is configured with 4 real resources (DTMF7~DTMF10), as indicated by the solid line in Figure 4 this configuration relationship.
按照约定规则:监控RMB上的虚资源在进行资源映射时优选本RMB监控的资源,在所有的单板都正常上电运行情况下,RMB1、RMB2和RMB3启动,实资源DTMF1~DTMF10也正常启动,那么RMB2的虚DTMF资源与实资源DTMF3~DTMF5一一映射,同理RMB3的虚DTMF资源与实资源DTMF7~DTMF9一一映射,如图4中的虚线所示;假定RMB2的实DTMF6是还处于可用状态,RMB3监控的实DTMF10也处于可用状态。RMB1配置3个虚DTMF资源首先与本RMB监控的实资源DTMF1和DTMF2进行映射,仍然有一个虚DTMF3资源没有进行映射,只能暂为空,虚DTMF3资源不可用。According to the agreed rules: monitor the virtual resources on the RMB and select the resources monitored by this RMB when performing resource mapping. When all the boards are powered on and running normally, RMB1, RMB2 and RMB3 will start, and the real resources DTMF1~DTMF10 will also start normally. , then the virtual DTMF resources of RMB2 are mapped one-to-one with the real resources DTMF3-DTMF5, and similarly the virtual DTMF resources of RMB3 are mapped one-to-one with the real resources DTMF7-DTMF9, as shown by the dotted line in Figure 4; assuming that the real DTMF6 of RMB2 is still In the available state, the real DTMF10 monitored by RMB3 is also in the available state. RMB1 configures 3 virtual DTMF resources to map with the real resources DTMF1 and DTMF2 monitored by this RMB. There is still a virtual DTMF3 resource that has not been mapped, so it can only be temporarily empty, and the virtual DTMF3 resource is unavailable.
由于RMB1上电成功后首先向其他RMB发获取全局资源表请求消息以获取全局共享资源表相应的记录,于是在RMB1上的全局共享资源表中可能有这样两条记录,即RMB2有一个可用的实资源DTMF6,RMB3上有一个可用的实资源DTMF10。为了维护每个RMB上全局共享资源表的刷新,RMB在上电完成后从其他RMB(根据配置可以知道共有多少个RMB)第一次获取全局共享资源表相应的记录后就设定一个定时器,定时向其他RMB发获取全局资源表请求消息去获取其他RMB全局共享资源表,见图5,也就是RMB1向RMB2和RMB3发获取全局资源表请求消息,将全局共享资源表中的RMB2和RMB3对应的信息获取到RMB1,同样RMB2也从RMB1和RMB3中获得的信息填入本板上的全局共享资源表,RMB3也从RMB1和RMB2中获得的信息填入本板上的全局共享资源表。After RMB1 is successfully powered on, it first sends a global resource table request message to other RMB to obtain the corresponding records in the global shared resource table, so there may be two records in the global shared resource table on RMB1, that is, RMB2 has an available Real resource DTMF6, there is a real resource DTMF10 available on RMB3. In order to maintain the refresh of the global shared resource table on each RMB, the RMB sets a timer after obtaining the corresponding record of the global shared resource table for the first time from other RMB (according to the configuration, how many RMB can be known in total) after power-on , periodically send a global resource table request message to other RMB to obtain other RMB global shared resource tables, as shown in Figure 5, that is, RMB1 sends a global resource table request message to RMB2 and RMB3, and transfers RMB2 and RMB3 in the global shared resource table The corresponding information is obtained from RMB1, and RMB2 also fills in the global shared resource table on this board with the information obtained from RMB1 and RMB3, and RMB3 also fills in the global shared resource table on this board with the information obtained from RMB1 and RMB2.
图6所示,当RMB1从全局共享资源表中发现RMB2上有可用的实资源DTMF6以及RMB3上有可用的实资源DTMF10,假定RMB1先向RMB2发借用实资源请求消息,RMB2收到借用实资源请求消息后,就扫描本RMB监控的实DTMF资源是否是真的富余并且没有被其他的RMB借用,结果发现DTMF6可用,于是就在DTMF6的资源上标示被RMB1管理,然后向RMB1回借用实资源的应答消息,RMB1收到借用实资源的应答消息后完成虚资源DTMF3与实资源DTMF6的映射关系。As shown in Figure 6, when RMB1 finds from the global shared resource table that there is an available real resource DTMF6 on RMB2 and that there is an available real resource DTMF10 on RMB3, it is assumed that RMB1 first sends a request message to borrow real resources to RMB2, and RMB2 receives the borrowed real resource After requesting the message, scan whether the real DTMF resource monitored by this RMB is really surplus and not borrowed by other RMB. It turns out that DTMF6 is available, so it is marked on the DTMF6 resource that it is managed by RMB1, and then the real resource is borrowed from RMB1 After receiving the response message of borrowing the real resource, RMB1 completes the mapping relationship between the virtual resource DTMF3 and the real resource DTMF6.
在运行的过程中RMB2发现自己监控的DTMF6不能正常工作了,于是RMB2从DTMF资源中发现DTMF6是被RMB1管理的,于是立即通知RMB1说DTMF6不可用,RMB1收到消息后立即将虚DTMF资源与DTMF6间的映射关系解除,并检查是否有呼叫处理模块占用,如果有,就立即通知相应的呼叫处理模块作相应的处理;然后在到全局共享资源表中检查是否有可用的DTMF了,如果有,则重复图5的流程,如果没有可以通过声、光等告警来通知操作值班人员,表示有虚资源没有实资源对应,由操作值班人员进行干预处理。比如替换不能工作的RSB或者配置新的RSB,来预先解决问题,而不是等到资源真的不可用时才告警,保证系统的可靠性。During the running process, RMB2 finds that the DTMF6 it monitors cannot work normally, so RMB2 finds that DTMF6 is managed by RMB1 from the DTMF resource, so it immediately notifies RMB1 that DTMF6 is unavailable, and RMB1 immediately connects the virtual DTMF resource with the DTMF resource after receiving the message. The mapping relationship between DTMF6 is removed, and check whether there is a call processing module to occupy, if there is, immediately notify the corresponding call processing module to do corresponding processing; then check whether there is available DTMF in the global shared resource table, if there is , then repeat the process in Figure 5, if not, the operator on duty can be notified through sound, light and other alarms, indicating that there are virtual resources but no corresponding real resources, and the operator on duty will intervene. For example, replace the RSB that cannot work or configure a new RSB to solve the problem in advance, instead of waiting until the resource is really unavailable to give an alarm, so as to ensure the reliability of the system.
第二实施例second embodiment
第一实施例在整个系统配置的实资源多于配置的虚资源,并且配置的实资源都已正常工作的条件下,其处理流程已经能够完全保证系统的可靠运行。但是在配置的虚资源多余配置的实资源,或者有太多的实资源不能工作,导致能工作的实资源少于配置的虚资源时,如资源使用不均,会出现某些RMB上的虚资源因使用率较低,导致映射的实资源被占而不用,其他的RMB上因虚资源没有映射到实资源而导致虚资源不可用,进而导致资源使用模块在有实资源没有被使用的情况下申请不到资源的情况出现。In the first embodiment, under the condition that the real resources configured in the whole system are more than the configured virtual resources, and the configured real resources are all working normally, the processing flow can fully guarantee the reliable operation of the system. However, when the configured virtual resources exceed the configured real resources, or there are too many real resources that cannot work, resulting in fewer working real resources than the configured virtual resources, if the resources are used unevenly, some virtual resources on RMB will appear. Due to the low utilization rate of resources, the mapped real resources are occupied and not used. On other RMB, virtual resources are not mapped to real resources, resulting in virtual resources being unavailable, which in turn causes resource usage modules to have real resources that are not used. The following situation occurs that the resources cannot be applied for.
为了克服这种情况,本实施例在第一实施例方法和系统的基础上,提出了一种完全动态自适应的机制,即根据系统稳定运行情况下虚资源的使用率来动态调整映射关系。在资源管理模块中增加一个映射关系调整单元,用于执行以下处理:在RMB单板的系统稳定运行后设置一个定时器Tj(定时时间可根据编程需要任意设定),定时器Tj定时到,检查本RMB的虚资源的使用率,如果某个虚资源的使用率低于某个设定值,就将该虚资源与实资源的映射关系解除,释放被本RMB暂时占而未用的实资源,将其状态置为可用,并通过对全局共享资源表的定时更新而填加到该表中;如果某个虚资源的使用率大于设定值且没有与实资源建立映射,则重新为其寻找可用实资源建立映射关系,以增加可用虚资源的数量。这种动态自适应的方式只在能工作的实资源少于配置的虚资源的情况下才启用,正常情况下没有必要启用。In order to overcome this situation, on the basis of the method and system in the first embodiment, this embodiment proposes a fully dynamic adaptive mechanism, that is, dynamically adjusts the mapping relationship according to the usage rate of virtual resources when the system is running stably. Add a mapping relation adjustment unit in the resource management module, be used to carry out following processing: set a timer Tj after the stable operation of the system of RMB single board (timing time can be arbitrarily set according to programming needs), timer Tj is timed, Check the utilization rate of the virtual resources of this RMB. If the utilization rate of a virtual resource is lower than a certain set value, the mapping relationship between the virtual resource and the real resource will be released, and the real resource temporarily occupied by the RMB will be released. resources, set its status as available, and add it to the global shared resource table through regular updates; if the usage rate of a virtual resource is greater than the set value and there is no mapping with the real resource, it will be re-created It looks for available real resources to establish a mapping relationship to increase the number of available virtual resources. This dynamic adaptive method is only enabled when the real resources that can work are less than the configured virtual resources, and it is not necessary to enable it under normal circumstances.
综上所述,采用本发明提供的利用虚资源的资源管理方式,由于有自适应的处理流程,并且是在非呼叫流程中实现自动的虚资源和实资源的映射,就不会出现上面例子出现的多次跨板调用资源而导致呼损。To sum up, with the resource management method using virtual resources provided by the present invention, since there is an adaptive processing flow, and the automatic mapping between virtual resources and real resources is realized in the non-call flow, the above example will not appear Multiple cross-board resource calls lead to call loss.
工业实用性Industrial Applicability
本发明可用于分布式计算机系统,通过虚资源的配置实现对分布式资源的管理,大大简化了申请使用资源的软件处理流程。The invention can be used in a distributed computer system, realizes the management of distributed resources through the configuration of virtual resources, and greatly simplifies the software processing flow of applying for using resources.
Claims (19)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2005/001661 WO2007041899A1 (en) | 2005-10-10 | 2005-10-10 | A system and method of managing the dynamic adaptive distributed resource |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101167307A CN101167307A (en) | 2008-04-23 |
CN101167307B true CN101167307B (en) | 2010-04-21 |
Family
ID=37942293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2005800495200A Expired - Fee Related CN101167307B (en) | 2005-10-10 | 2005-10-10 | Dynamically self-adaptive distributed resource management system and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101167307B (en) |
WO (1) | WO2007041899A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350647B (en) * | 2007-07-16 | 2013-04-03 | 电信科学技术研究院 | Method and system for processing multi-antenna signal |
CN101262506B (en) * | 2008-04-21 | 2012-05-23 | 杭州华三通信技术有限公司 | Allocation method and system for network address conversion port resource under distributed architecture |
CA2792532C (en) * | 2010-03-29 | 2020-06-30 | Amazon Technologies, Inc. | Managing committed request rates for shared resources |
CN102263665B (en) * | 2011-08-15 | 2018-07-31 | 中兴通讯股份有限公司 | A kind for the treatment of method and apparatus of resource, veneer and equipment |
CN102325050B (en) * | 2011-09-19 | 2018-04-17 | 上海佑译信息科技有限公司 | The method and main control device of distribution detection resource |
CN103391212B (en) * | 2012-05-11 | 2016-08-24 | 中兴通讯股份有限公司 | The fault-tolerance approach of a kind of resource management and device |
CN107168777B (en) * | 2016-03-07 | 2021-04-30 | 阿里巴巴集团控股有限公司 | Method and device for scheduling resources in distributed system |
CN108073453B (en) * | 2016-11-11 | 2022-05-10 | 阿里巴巴集团控股有限公司 | Method and device for scheduling CPU (Central processing Unit) resources in distributed cluster |
CN108628775B (en) * | 2017-03-22 | 2021-02-12 | 华为技术有限公司 | Resource management method and device |
CN107547445B (en) * | 2017-07-31 | 2020-04-03 | 新华三技术有限公司 | Resource allocation method and device |
CN110839141A (en) * | 2018-08-17 | 2020-02-25 | 视联动力信息技术股份有限公司 | Resource acquisition method and device |
CN109510877B (en) * | 2018-12-21 | 2022-03-15 | 中国航空工业集团公司西安航空计算技术研究所 | Method and device for maintaining dynamic resource group and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674479A (en) * | 2005-05-09 | 2005-09-28 | 北京北方烽火科技有限公司 | Method for distributing graded distribution type ascending scramble in wideband code division multiple access |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4018900B2 (en) * | 2001-11-22 | 2007-12-05 | 株式会社日立製作所 | Virtual computer system and program |
US8776050B2 (en) * | 2003-08-20 | 2014-07-08 | Oracle International Corporation | Distributed virtual machine monitor for managing multiple virtual resources across multiple physical nodes |
-
2005
- 2005-10-10 WO PCT/CN2005/001661 patent/WO2007041899A1/en active Application Filing
- 2005-10-10 CN CN2005800495200A patent/CN101167307B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674479A (en) * | 2005-05-09 | 2005-09-28 | 北京北方烽火科技有限公司 | Method for distributing graded distribution type ascending scramble in wideband code division multiple access |
Also Published As
Publication number | Publication date |
---|---|
WO2007041899A1 (en) | 2007-04-19 |
CN101167307A (en) | 2008-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105933444B (en) | Based on the service discovery method that registration center and caching mechanism are cooperateed with | |
EP4167539A1 (en) | Resource management method and system, proxy server, and storage medium | |
CN101167307B (en) | Dynamically self-adaptive distributed resource management system and method | |
CN102387222B (en) | Address distribution method, apparatus and system thereof | |
CN102025630A (en) | Load balancing method and load balancing system | |
CN114327858A (en) | Cloud-side-terminal distributed computing power coordination method and system based on control domain | |
CN114070822B (en) | Kubernetes Overlay IP address management method | |
WO2012083669A1 (en) | Method and apparatus for switching between primary-standby devices based on access gateway | |
CN107786680B (en) | Method and device for managing IP address resources | |
EP4345614A1 (en) | Pod deployment method and apparatus | |
WO2016095524A1 (en) | Resource allocation method and apparatus | |
WO2018082658A1 (en) | Method, device, and system for assigning mac address | |
CN108282526B (en) | Dynamic allocation method and system for servers between double clusters | |
CN107370895B (en) | Number hiding device, number hiding method and number hiding system | |
CN111274022A (en) | Server resource allocation method and system | |
CN114448937A (en) | Method and device for responding to access request, and storage medium | |
CN112134964B (en) | Controller allocation method, computer equipment, storage media and network business system | |
CN1972276A (en) | A management method and system for protocol access | |
CN100416542C (en) | Load distribution system and method | |
CN114039945B (en) | User IP address allocation management method, device and session management function entity | |
WO2015067051A1 (en) | Test agent method and device thereof | |
WO2009012694A1 (en) | Network address processing method and router node | |
CN111045830B (en) | Multi-cluster uniform resource distribution system and method | |
CN113452729A (en) | Serial number determination method, equipment and storage medium | |
CN111698311A (en) | Node control method and device of distributed storage cluster and electronic equipment |
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 |
Granted publication date: 20100421 Termination date: 20191010 |
|
CF01 | Termination of patent right due to non-payment of annual fee |