WO2010127635A1 - 提供设备资源的方法和设备资源管理装置 - Google Patents

提供设备资源的方法和设备资源管理装置 Download PDF

Info

Publication number
WO2010127635A1
WO2010127635A1 PCT/CN2010/072520 CN2010072520W WO2010127635A1 WO 2010127635 A1 WO2010127635 A1 WO 2010127635A1 CN 2010072520 W CN2010072520 W CN 2010072520W WO 2010127635 A1 WO2010127635 A1 WO 2010127635A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
service
resources
amount
current application
Prior art date
Application number
PCT/CN2010/072520
Other languages
English (en)
French (fr)
Inventor
王小飞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010127635A1 publication Critical patent/WO2010127635A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/781Centralised allocation of resources

Definitions

  • the present invention relates to the field of device resource management technologies, and in particular, to a method device resource management apparatus for providing device resources.
  • IP Internet Protocol
  • IPTV Internet Protocol Television
  • resource boards usually have one or more functions, and the resource boards used to implement each function provide different types and amounts of resources, such as: Universal Service Server (USS).
  • USB Universal Service Server
  • IPTV's multimedia service service platform provides media storage and forwarding for IPTV
  • MSTU Media Storage Transmit Unit
  • the MSTU board can provide multiple services. For example: storage, reading, streaming, transcoding, etc. of media files, and the types and quantities of resources used in implementing various services are different, for example: CPU resources, file 10 resources, and network are required to implement storage. Port bandwidth resources, which require CPU resources, file 10 resources, and network port bandwidth resources for reading. File 10 resources are also required for storage and reading. However, the resources required for different services are usually different.
  • the devices 10 that provide services are classified into a service receiving module 11, a resource management module 12, and a resource module 13 according to functions.
  • the service receiving module 11 determines whether the application is legal. If it is legal, it sends the service application information to the resource management module 12, and the resource management module 12 returns the information of the successful application; otherwise, the information of the application failure is returned;
  • the resource management module 12 tells the resource module 13 which resources are specifically needed, and the resource module 13 provides services to external users.
  • a resource board When a resource board provides resources, it usually exchanges the number of services at the cost of the degradation of service quality. That is, when a service request is received, the current resource board accepts the service. Applying for and implementing the corresponding service, when the number of received business applications is large and the business is busy, the service quality of each service will decrease. For example, when the download service is implemented, when there are many download users, the device still provides a new download service, but at this time each user's download speed is low. If the user's requirements for quality of service are relatively high, then the current approach is difficult to meet their needs. Therefore, in the prior art, the device cannot guarantee the quality of service when implementing the service.
  • the main object of the present invention is to provide a method for providing device resources and a device resource management device to solve the problem that the device in the prior art cannot guarantee the quality of service when implementing the service.
  • a method of providing device resources including:
  • the corresponding configuration information is saved for each service provided by the device, and the configuration information includes the resource amount of each resource required for each service provided by the device. After each time the device allocates the functional resources, the recording device uses each resource of the resource. Resources;
  • the resource amount of each resource required for the current application service is obtained;
  • the step of determining whether the device can provide the service of the current application includes:
  • the determining step further includes: if the device is capable of providing the currently applied service, saving a correspondence between the currently applied service and the resource amount of each resource required by the service;
  • the method further includes:
  • the resource amount of each resource required for the service specified by the service termination information is determined according to the correspondence relationship, and then the service specified by the service termination information is required.
  • the amount of resources for each resource modifies the amount of resources that are currently used by each resource on the device.
  • the method further includes:
  • the amount of resources currently used by each resource of the recorded device is modified and/or a prompt message is issued.
  • a device resource management device includes:
  • the storage module is configured to: save corresponding configuration information for each service provided by the device, where the configuration information includes a resource quantity of each resource required for each service provided by the device;
  • the recording module is set to: record the amount of resources used by each resource of the device after the device allocates the functional resources each time;
  • the analysis module is configured to: when receiving the service application information, obtain the resource quantity of each resource required for the current application service according to the resource type and the corresponding configuration information required by the current application;
  • the determining module is configured to: determine, according to the resource quantity of each resource required by the currently applied service, and the amount of resources currently used by each resource of the recorded device, whether the device can provide the currently applied service, and if yes, notify the device to provide the current The business applied for, if not, refuses to provide the business of the current application.
  • the determining module includes:
  • the determining unit is configured to: determine whether the resource quantity of the at least one resource in the resource quantity of each resource required for the service of the current application is greater than the total quantity of the resource of the device and the currently used resource of the recorded resource The difference in resources;
  • the sending unit is configured to: if the resource quantity of each resource required for the currently applied service is greater than the total amount of the resource of the device and the currently used resource of the recorded resource If it is not, send a message rejecting the service of the current application; if it is not greater than, send it A message asking the device to provide the service of the current application.
  • the determining module includes:
  • the determining unit is configured to: determine whether the resource quantity of the at least one resource in the resource quantity of each resource required for the current application service is greater than the resource available quantity of the preset device and the recorded resource The difference in the amount of resources currently in use;
  • a sending unit configured to: if the resource quantity of the at least one resource in the resource quantity of each resource required by the currently applied service is greater than the resource available quantity of the preset device and the recorded current resource If the difference between the used resources is different, a message is sent to refuse to provide the service of the current application; if not, a message is sent to the device requesting the service of the current application.
  • the device further includes a second recording module, where the second recording module is configured to: if the device is capable of providing the service currently requested, saving the current application service and the resource amount of each resource required by the service Correspondence; and
  • the analyzing module is further configured to: when receiving the information of the service termination, determine, according to the correspondence, the resource quantity of each resource required for the service specified by the information,
  • the recording module is further configured to: modify the amount of resources currently used by each resource of the recorded device according to the resource amount of each resource required by the service specified by the service termination information.
  • the device further includes a verification module, and the verification module is configured to: confirm whether the amount of resources currently used by each resource of the recorded device is consistent with the amount of resources used by each device of the device; the recording module is further configured For: When the recorded device does not match the amount of resources currently used by each resource and the amount of resources that each device actually uses, the device is modified according to the amount of resources that each device actually uses. The amount of resources used.
  • the service since the amount of resources required by the service is configured, and the amount of resources used by each resource of the device is recorded, and the remaining resources are sufficient for the currently applied resources, the service can be implemented.
  • the business has sufficient resources to support and guarantee the quality of service of the business achieved.
  • 1 is a schematic diagram of internal functional modules of a device providing services
  • 2 is a flowchart of processing a service application in an embodiment of the present application
  • FIG. 3 is a flowchart of a device processing service application for assembling a resource circuit board in the embodiment of the present application
  • FIG. 4 is a flowchart of releasing resources of a device for assembling a resource circuit board according to an embodiment of the present application
  • FIG. 6 is a schematic structural diagram of an apparatus for device resource management in the embodiment of the present application.
  • Step 21 Save corresponding configuration information for each service provided by the device.
  • the main content of the configuration information is the amount of resources of each resource required for each service provided by the device. For example, for the download service, set the network port bandwidth value provided to each download thread to 2Mbit/S, and the maximum file I/O speed to 20Mbit/S.
  • This step is preparatory work and should be completed before starting to receive service application information, and then enter the state of waiting for service application information. If the device has resources in use at this time, the amount of resources used by each resource of the device should be recorded. If no resources are used at this time, the amount of resources used by each resource of the device should be recorded as zero.
  • Step 22 Receive business application information.
  • the business application information includes the business of the current application.
  • Step 23 Analyze the amount of resources for each resource required for the current application.
  • the specific service of the current application can be obtained according to the resource type required for the service and the content of the resource amount of each resource required for each service included in the configuration information. The amount of resources for each resource required for the current application business.
  • Step 24 Determine whether the device can provide the service for the current application. If yes, go to step 25, otherwise go to step 26.
  • the judgment in this step is based on the resource amount of each resource required for the business of the current application obtained in step 23 and the amount of resources currently used by each resource of the recorded device.
  • the specific form of the judgment may be: determining whether the resource quantity of the at least one resource in each resource quantity required for the current application service is greater than the total quantity of the resource of the device and the currently used resource quantity of the recorded resource. Difference. If the result of the determination is yes, it is determined that the device is unable to provide the service of the current application.
  • the specific form of the judgment in this step may further be: determining whether the resource quantity of the at least one resource in the resource quantity of each resource required for the currently applied service is greater than the resource available quantity of the device and the recorded resource. The difference in the amount of resources currently in use. Similarly, if the result of the determination is yes, it is determined that the device is unable to provide the service of the current application.
  • the resource usage of the device is preset. For each resource of the device, a ratio of the available amount to the total amount of the resource of the device may be set, and the ratio is multiplied by the total amount of the resource. The amount of resources that can be used.
  • Step 25 Let the device provide the business of the current application.
  • the device 10 shown in FIG. 1 may be a command to send a service to the resource module 13 therein. Then, proceed to step 22, continue receiving service application information, and proceed to step 27.
  • Step 26 Refuse to provide the business of the current application.
  • the device 10 shown in FIG. 1 may send a message to the service receiving module 11 to reject the provision of services. Continue to receive business application information. Although the service currently applied for is refused, the remaining resources in the device may satisfy other services, so the service application information can continue to be received.
  • Step 27 Save the amount of resources used by each resource of the device. After the new service is executed, the resources of the device are further occupied, and the amount of resources used has changed. Therefore, the amount of resources used by each resource of the device at this time should be modified and saved.
  • This step can be performed after the device allocates the functional resources, that is, after the service is started, and the above modification is performed according to the actual usage of the device resources.
  • the resources provided by the device include the network port bandwidth of 2 Mbit/s. In actual downloading, the actual network port bandwidth is 500 Kbit/s due to the possible download terminal side. In this case, the used bandwidth of the device bandwidth should be recorded according to the remaining bandwidth of the network port being occupied by 500 Kbit/s.
  • the resources allocated to it are pre-defined, so that sufficient resources can be allocated to the service in the implementation of the service, thereby ensuring the service quality of the service.
  • this guarantee is from the perspective of the service side, for example, it can guarantee to provide a 2Mbit/S download service to a terminal device.
  • the new service application is rejected at this time, which is different from the prior art in that the service quality is reduced and the price is "reluctant". The practice of providing services. In this way, the user can switch to other devices as soon as possible without having to find the quality in the process of realizing the business and then re-finding it. His equipment helps save users time.
  • Figure 2 shows the processing flow when there is a new service application. Accordingly, when the service termination information is received, the amount of resources used by each resource of the device should be modified. In order to be able to make correct changes, the device should record the resources after the resources are allocated. Specifically, if the device can provide the services currently applied for, the current application service and the resources of each resource required for the service are saved. Correspondence relationship, such that when the information of the service termination is received, the resource amount of each resource required for the service specified by the information is determined according to the correspondence relationship, and then each resource required for the service specified according to the information is used. The resource quantity modifies the amount of resources currently used by each resource of the device, that is, the amount of resources of each resource required for the service specified by the information from the amount of resources currently used by each resource of the device.
  • Devices typically contain multiple resource boards, distinguished by a "resource board number.”
  • Resources on the resource board can be divided into two categories, one is used to implement media processing channels, for example, to implement a network telephony service.
  • the device is physically implemented by a specific function circuit.
  • the implementation of multiple media processing channels is accomplished using a plurality of such circuits, which are referred to below as “circuit resources.”
  • the other type is other resources, including CPU resources, file I/O resources, network port transmission resources, etc., hereinafter referred to as "non-circuit resources".
  • the technical solution of this embodiment mainly improves the allocation of non-circuit resources.
  • the new service application is also rejected, and the quality of service provided by the occupied circuit is mainly determined by the nature of the circuit itself.
  • the correspondence between the service and the resource amount of each resource required for the service is stored in the service attribute table shown in Table 1, and the "service type” is a service supported by the circuit resource, for example, voice over the Internet (Voice over Internet) Protocol, VOIP) services and services supported by non-circuit resources such as download services.
  • “Resource type” such as VOIP circuit resources, CPU resources, network port bandwidth resources
  • the information content of each entry is the pre-set service and the resources required for the service.
  • the resources that can be preset are given in Table 1, such as the network port bandwidth allocated for each download service.
  • each service corresponds to one circuit, and the information of the service is recorded in the circuit table shown in Table 2, for example, the VoIP service of the network telephone shown in the table with the sequence number 1 in the table. .
  • Each circuit in the circuit table corresponds to one entry. For example, if board 1 contains 10 circuits, then 10 entries should correspond to the 10 circuits.
  • the service can be virtualized into a circuit, for example, a download service, which uses CPU resources, file I/O resources, and network port transmission resources, and uses the resources.
  • the record is also in an entry in the circuit table, such as the one shown in the table with the sequence number 5.
  • CPU0.5 indicates that the service occupies 0.1% of the CPU usage.
  • I/05Mbit/S indicates that the service occupies 5 Mbit/s of file I/O resources.
  • Net2Mbit/S indicates that the service occupies 2 Mbit/s network port. bandwidth.
  • the "resource board number” is the resource board number that needs to be managed by the resource management system; the “resource type” is the non-circuit resource; the “maximum resource amount” is the maximum capacity supported by this resource type; the “usable ratio” is The proportion of resources allocated by the resource board to the service; “used” The amount of such resources that the device has used at this moment, which can be modified in real time according to the actual usage during the execution of the business.
  • Step 301 Receive a service application.
  • Step 302 Determine whether the device supports the service type. Query whether the service type is in the "service attribute table" according to the service type included in the information of the service application. If yes, go to step 303, otherwise go to step 311.
  • Step 303 Determine whether a non-circuit resource is needed according to the service type. If yes, go to step 305, otherwise go to step 304.
  • Step 304 Determine whether there are enough circuit resources. In this step, find out if there is still an idle actual circuit in the circuit table. If yes, go to step 308, otherwise go to step 311.
  • Step 305 Determine whether there are enough non-circuit resources.
  • the resource control table is searched, and the resource boards of each resource whose resources are larger than the resources required for the current application are found in the order of the resource board number.
  • the resources required for the current application can be found in the service attribute table.
  • the remaining resources of each resource of the resource board can be obtained by multiplying the maximum value of the resources in the resource control table by the available ratio and then subtracting the used amount. If a resource board that satisfies the condition can be found, then step 306 is entered, otherwise step 311 is entered.
  • Step 306 Generate an entry of a virtual circuit in the circuit table and fill in the content thereof.
  • Step 307 Modify the resource control table. Specifically modify the "used" column.
  • Step 308 Fill in the contents of an idle actual circuit entry in the circuit table. An item with content cannot be filled in again.
  • Step 309 Record the circuit number and the resource circuit board number in the entry of the circuit table filled in the service application process.
  • Step 310 Send a response message indicating that the service application is successful. This information contains the circuit number and resource board number in the entry of the circuit table filled out during the business application process. Then, returning to step 301, continue to receive the business application.
  • Step 311 Send a response message that the service request fails. Then, returning to step 301, continue to receive the business application.
  • the response information of the service application success includes the resource circuit board number of the resource used to implement the service and the corresponding circuit number.
  • the identifier of the service user for example, the IP address or the user name of the user, is used as the distinguishing flag of each service.
  • the resource circuit board number of the resource and the corresponding circuit number are used. Correlation with the identifier of the user who uses the resource, which establishes the correspondence between the service and the amount of resources required by the service.
  • the signaling from the user side includes the user identifier, so the service is completed.
  • the resource board number and the corresponding circuit number of the resource used to implement the service are determined according to the correspondence here.
  • the resource release process mainly includes the following steps: Step 401: Receive information of service termination.
  • Step 402 Determine whether the circuit exists. Specifically, according to the information in the service termination information for the real circuit to exist in an entry of the circuit table, the process proceeds to step 403; otherwise, the process proceeds to step 407.
  • Step 403 Determine whether the item queried in step 402 is occupied. If the entry is filled with content, it is occupied, or after the content is filled, the item is marked as "occupied". According to the label, the entry is confirmed to be occupied. If yes, go to step 404, otherwise go to step 407.
  • Step 404 Modify the resource control table. Specifically, according to the content of the table item queried in step 402, modify the "used" column in the resource control table, and subtract the amount of such resources used by the service from the used value.
  • Step 405 Delete the content in the table item queried in step 402.
  • Step 406 Send a message that the resource release succeeds. Then, returning to step 401, continue to receive the information of the service termination.
  • Step 407 Send a message that the resource release fails. Then, returning to step 401, continue to receive the information of the service termination.
  • the resource check can be performed periodically, mainly including the steps:
  • Step 51 The resource check timer expires and a resource check is initiated.
  • Step 52 Determine whether the verification is legal at this moment, if yes, proceed to step 53, otherwise enter the step
  • Step 53 Calculate the total amount of resources used by the resource board according to the circuit on each resource board.
  • Step 54 The usage amount of the various resources calculated in the comparison step 53 is the same as the usage amount of the various resources recorded in the resource control table. If yes, the process proceeds to step 56; otherwise, the process proceeds to step 55.
  • Step 55 Modify the resource control table. Specifically, the resource types of the two types of usage in the comparison in step 54 are found out, and then the values of the inconsistent resource usage amounts in the resource control table are reset according to the usage amounts of the various resources calculated in step 53. In addition, in this step, you can also print the alarm and issue an alarm for manual intervention.
  • Step 56 Set the timer. Then return to step 51 to perform a new round of resource timing verification. Based on the above method, the device in this embodiment is as shown in FIG. 6.
  • the device resource management device 60 includes a storage module 61, a recording module 62, an analysis module 63, and a determination module 64, where:
  • the storage module 61 is configured to save corresponding configuration information for each service provided by the device, where the configuration information includes a resource quantity of each resource required for each service provided by the device, and the storage module 61 may use the method shown in Table 1.
  • the form of the business attribute table is stored;
  • the recording module 62 is configured to record, after each time the device allocates the functional resources, the amount of resources used by each resource of the device, and may record in the form of a circuit table shown in Table 2;
  • the analyzing module 63 is configured to: when receiving the service application information, obtain the resource quantity of each resource required by the currently applied service according to the resource type and the corresponding configuration information required by the current application; the determining module 64, Determining whether the device can provide the service currently requested, and if not, notifying the device to provide the service currently applied, according to the resource amount of each resource required for the service of the current application and the amount of resources currently used by each resource of the recorded device. Otherwise refuse to provide the business of the current application. Specifically, it can be judged by combining the contents in Table 3.
  • the judging module 64 may be configured to include a judging unit and a sending unit, where the judging unit is configured to determine whether the resource amount of the at least one resource in the resource quantity of each resource required for the currently applied service is greater than the resource of the device. The difference between the total amount and the recorded amount of resources currently used by the resource; the sending unit, wherein the resource amount of the at least one resource in the resource amount of each resource required for the currently applied service is greater than the device If the total amount of resources is different from the recorded amount of resources currently used by the resource, a message is sent to refuse to provide the service of the current application; otherwise, the device is requested to provide the service of the currently applied service.
  • the determining unit may be further configured to determine whether the resource quantity of the at least one resource in the resource quantity of each resource required by the service of the current application is greater than the resource available quantity of the preset device and the recorded quantity.
  • the difference between the amount of resources currently used by the resource in this case, the sending unit is configured to use at least one resource in the resource amount of each resource required for the currently applied service, and the resource amount is greater than the preset device. If the difference between the resource usage amount and the recorded resource amount currently used by the resource is sent, a message denying the service of the current application is sent; otherwise, the device is requested to provide the service of the currently applied service.
  • 6 may further include a second recording module, configured to save the current application service and resources of each resource required by the service if the device is capable of providing the service currently requested.
  • Corresponding relationship between the quantities; and the analyzing module 63 is further configured to: when the information of the service termination is received, determine the resource quantity of each resource required for the service specified by the information according to the correspondence, and the recording module 62 is further used for The amount of resources currently used by each resource of the recorded device is modified according to the amount of resources of each resource required by the service specified by the service terminated information.
  • the device resource management apparatus 60 in FIG. 6 may further include a verification module for confirming whether the amount of resources currently used by each resource of the recorded device matches the amount of resources actually used by each device of the device; thus, recording
  • the module 62 is further configured to: when the amount of resources currently used by each resource of the recorded device does not match the amount of resources used by each device, save the device modified according to the amount of resources that each device actually uses. The amount of resources currently used by a resource.
  • the service since the amount of resources required by the service is configured, and the amount of resources used by each resource of the device is recorded, and the remaining resources are sufficient for the currently applied resources, the service can be implemented.
  • the business has sufficient resources to support and guarantee the quality of service of the business achieved. And release the occupied resources in time after the completion of the service and record the usage of the device resources at this time, so that the recorded device resources have been used in accordance with the actual situation, and compare the recorded content with the actual situation of the device, and may appear in the timely processing record.
  • the error further improves the accuracy of device resource management.
  • the service since the amount of resources required for the service is configured, and the amount of resources used by each resource of the device is recorded, and the remaining resources are sufficient for the currently applied resources, the service can be guaranteed.
  • the resources are supported to ensure the quality of service of the business achieved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供一种提供设备资源的方法和设备资源管理装置,该方法包括,对设备提供的每项业务保存相应的配置信息,该配置信息包括设备提供的每项业务所需的每种资源的资源量,在设备每次分配功能资源之后,记录设备每种资源已使用的资源量;收到业务申请信息后,根据当前申请的业务所需的资源种类和相应的配置信息,得出当前申请的业务所需的每种资源的资源量;以及根据当前申请的业务所需的每种资源的资源量以及记录的设备每种资源当前已使用的资源量判断设备是否能够提供当前申请的业务,若是,则提供当前申请的业务,若不是,则拒绝提供当前申请的业务。本发明能够保证实现的业务有足够的资源作支持,保证了所实现业务的服务质量。

Description

提供设备资源的方法和设备资源管理装置
技术领域
本发明涉及设备资源管理技术领域, 特别地涉及一种提供设备资源的方 法设备资源管理装置。
背景技术
在通信行业, 各种各样的设备都是为了提供某种或某些功能, 比如: 互 联网( Internet Protocol, IP )电话、交互式网络电视( Internet Protocol Television, IPTV )等, 而实现这些功能的都是某种或某些特殊的资源电路板。
这些资源电路板的功能通常有一种或多种, 而在实现各项功能时所使用 的资源电路板提供的资源的种类、 数量又各不相同, 比如: 通用服务器 ( Universal Service Server, USS )作为 IPTV的多媒体业务服务平台为 IPTV 提供媒体的存储和转发, 而 USS 中的媒体存储传输单元 (Media Storage Transmit Unit, MSTU )板又是提供这些功能的主要资源电路板, MSTU板能 提供多种服务, 比如: 媒体文件的存储、 读取、 流化、 转码等, 而在实现各 种业务时所使用的资源种类和数量又不相同, 比如: 实现存储时需要 CPU资 源、文件 10资源、 网口带宽资源, 实现读取时需要 CPU资源、文件 10资源、 网口带宽资源,存储和读取同样需要文件 10资源,但是通常不同的业务所需 要的资源的资源量又不相同。
如图 1所示, 目前各种提供业务的设备 10中, 根据功能可以划分为业务 接收模块 11、 资源管理模块 12和资源模块 13。 业务接收模块 11接收到业务 申请之后, 判断该申请是否合法, 如果合法则向资源管理模块 12发送业务申 请信息, 资源管理模块 12返回申请成功的信息, 否则返回申请失败的信息; 当申请成功时, 资源管理模块 12告诉资源模块 13具体需要哪些资源, 资源 模块 13向外部用户提供服务。
目前的资源电路板在提供资源时, 通常是以服务质量的下降为代价换取 服务的数量, 也就是说, 当接收到业务申请时, 目前的资源电路板会接受该 申请并实现相应的业务, 当接收到的业务申请数量较多导致业务较为繁忙时, 每种业务的服务质量就会下降。 例如, 在实现下载业务时, 当下载用户较多 时, 设备仍然提供新的下载服务, 但此时每个用户的下载速度较低。 如果用 户对服务质量的要求比较高, 那么目前的做法难以满足其需求。 所以, 在现 有技术中设备在实现业务时不能保证其服务质量。
发明内容
本发明的主要目的是给出一种提供设备资源的方法和设备资源管理装 置, 以解决现有技术中设备在实现业务时不能保证其服务质量的问题。
为解决上述问题, 本申请提供如下的技术方案:
一种提供设备资源的方法, 包括:
对设备提供的每项业务保存相应的配置信息, 该配置信息包括设备提供 的每项业务所需的每种资源的资源量, 在设备每次分配功能资源之后, 记录 设备每种资源已使用的资源量;
收到业务申请信息后, 根据当前申请的业务所需的资源种类和相应的配 置信息, 得出当前申请的业务所需的每种资源的资源量; 以及
根据当前申请的业务所需的每种资源的资源量以及记录的设备每种资源 当前已使用的资源量判断设备是否能够提供当前申请的业务, 若是, 则提供 当前申请的业务, 若不是, 则拒绝提供当前申请的业务。
所述判断设备是否能够提供当前申请的业务的步骤包括:
判断所述当前申请的业务所需的每种资源的资源量中是否存在至少一种 资源的资源量大于设备的该种资源总量与记录的该种资源当前已使用的资源 量之差; 或者
判断所述当前申请的业务所需的每种资源的资源量中是否存在至少一种 资源的资源量大于预设的设备的该种资源可使用量与记录的该种资源当前已 使用的资源量之差。
所述判断步骤还包括: 若所述设备能够提供当前申请的业务, 则保存所 述当前申请的业务与该业务所需的每种资源的资源量之间的对应关系; 所述方法还包括:
当收到业务终止的信息时, 才艮据所述对应关系确定所述业务终止的信息 指定的业务所需的每种资源的资源量, 然后根据所述业务终止的信息指定的 业务所需的每种资源的资源量修改记录的设备每种资源当前已使用的资源 量。
所述记录设备每种资源已使用的资源量之后, 该方法还包括:
当确认记录的设备每种资源当前已使用的资源量与设备实际每种资源已 使用的资源量不相符合时, 修改记录的设备每种资源当前已使用的资源量和 / 或发出提示消息。
一种设备资源管理装置, 包括:
存储模块, 设置为: 对设备提供的每项业务保存相应的配置信息, 该配 置信息包括设备提供的每项业务所需的每种资源的资源量;
记录模块, 设置为: 在设备每次分配功能资源之后, 记录设备每种资源 已使用的资源量;
分析模块, 设置为: 当收到业务申请信息时, 根据当前申请的业务所需 的资源种类和相应的配置信息, 得出当前申请的业务所需的每种资源的资源 量; 以及
判断模块, 设置为: 根据当前申请的业务所需的每种资源的资源量以及 记录的设备每种资源当前已使用的资源量判断设备是否能够提供当前申请的 业务, 若是, 则通知设备提供当前申请的业务, 若不是, 则拒绝提供当前申 请的业务。 所述判断模块包括:
判断单元, 设置为: 判断所述当前申请的业务所需的每种资源的资源量 中是否存在至少一种资源的资源量大于设备的该种资源总量与记录的该种资 源当前已使用的资源量之差; 以及
发送单元, 设置为: 若当前申请的业务所需的每种资源的资源量中存在 至少一种资源的资源量大于设备的该种资源总量与记录的该种资源当前已使 用的资源量之差, 则发出拒绝提供当前申请的业务的消息; 若不大于, 则发 出要求设备提供当前申请的业务的消息。
所述判断模块包括:
判断单元, 设置为: 判断所述当前申请的业务所需的每种资源的资源量 中是否存在至少一种资源的资源量大于预设的设备的该种资源可使用量与记 录的该种资源当前已使用的资源量之差; 以及
发送单元, 设置为: 若所述当前申请的业务所需的每种资源的资源量中 存在至少一种资源的资源量大于预设的设备的该种资源可使用量与记录的该 种资源当前已使用的资源量之差, 则发出拒绝提供当前申请的业务的消息; 若不大于, 则发出要求设备提供当前申请的业务的消息。
该装置还包括第二记录模块, 所述第二记录模块设置为: 若所述设备能 够提供当前申请的业务, 则保存所述当前申请的业务与该业务所需的每种资 源的资源量之间的对应关系; 并且
所述分析模块还设置为: 当收到业务终止的信息时, 根据所述对应关系 确定该信息指定的业务所需的每种资源的资源量,
所述记录模块还设置为: 根据业务终止的信息指定的业务所需的每种资 源的资源量修改记录的设备每种资源当前已使用的资源量。
该装置还包括校验模块, 所述校验模块设置为: 确认记录的设备每种资 源当前已使用的资源量与设备实际每种资源已使用的资源量是否相符合; 所述记录模块还设置为: 当记录的设备每种资源当前已使用的资源量与 设备实际每种资源已使用的资源量不相符合时, 保存根据设备实际每种资源 已使用的资源量修改的设备每种资源当前已使用的资源量。
根据本申请实施例中的技术方案, 因为配置了业务所需资源量, 并对设 备每种资源已使用的资源量进行记录, 在确认剩余资源足够当前申请的资源 时实现业务, 因此能够保证实现的业务有足够的资源作支持, 保证了所实现 业务的服务质量。
附图概述
图 1为提供业务的设备的内部功能模块示意图; 图 2为本申请实施例中处理业务申请的流程图;
图 3为本申请实施例中装配资源电路板的设备处理业务申请的流程图; 图 4为本申请实施例中装配资源电路板的设备释放资源的流程图; 图 5为本申请实施例中装配资源电路板的设备资源校验的流程图; 图 6为本申请实施例中用于设备资源管理的装置的结构示意图。
本发明的较佳实施方式
为了使设备在实现业务时能够保证其服务质量, 在本实施例中, 记录设 备当前已使用的资源量, 并当有新的业务申请时, 根据设备当前已使用的资 源量决定是否提供申请的业务。 该方法具体流程如图 2, 主要包括以下步骤: 步骤 21 : 对设备提供的每项业务保存相应的配置信息。 这里配置信息的 主要内容是设备提供的每项业务所需的每种资源的资源量。 例如, 针对下载 业务, 设置提供给每个下载线程的网口带宽数值为 2Mbit/S, 文件 I/O的最大 速度为 20Mbit/S。 本步骤为准备工作, 应当在开始接收业务申请信息之前完 成, 然后进入等待业务申请信息的状态。 如果此时设备已有资源被使用, 应 当记录设备每种资源已使用的资源量; 如果此时设备没有资源被使用, 应当 记录设备每种资源已使用的资源量为零。
步骤 22: 接收业务申请信息。 该业务申请信息中包含当前申请的业务。 步骤 23: 分析当前申请的业务所需的每种资源的资源量。
因为在步骤 21中已经保存了配置信息, 所以对于当前申请的具体业务, 能够根据该业务所需的资源种类和配置信息中包含的每项业务所需的每种资 源的资源量的内容得出当前申请的业务所需的每种资源的资源量。
步骤 24: 判断设备是否能够提供当前申请的业务。 若是, 进入步骤 25, 否则进入步骤 26。
本步骤中的判断是基于步骤 23 中得出的当前申请的业务所需的每种资 源的资源量以及记录的设备每种资源当前已使用的资源量。 判断的具体形式 可以是判断当前申请的业务所需的每种资源的资源量中是否存在至少一种资 源的资源量大于设备的该种资源总量与记录的该种资源当前已使用的资源量 之差。 如果判断结果为是, 则判定设备不能够提供当前申请的业务。
本步骤中的判断的具体形式还可以是判断当前申请的业务所需的每种资 源的资源量中是否存在至少一种资源的资源量大于设备的该种资源可使用量 与记录的该种资源当前已使用的资源量之差。 同样地, 如果判断结果为是, 则判定设备不能够提供当前申请的业务。 这里设备的该种资源可使用量是预 先设定的, 对于设备的每种资源, 可以设置一个可使用量占设备该种资源总 量的比例, 该比例乘以该种资源的总量即为该种资源可使用量。
步骤 25: 令设备提供当前申请的业务。 例如图 1所示的设备 10, 可以是 向其中资源模块 13发送提供业务的命令。 然后进入步骤 22, 继续接收业务 申请信息, 并且进入步骤 27。
步骤 26: 拒绝提供当前申请的业务。 例如图 1所示的设备 10, 可以是向 其中业务接收模块 11发送拒绝提供业务的消息。 继续接收业务申请信息。 这 里虽然拒绝提供了当前申请的业务,但设备中的剩余资源可能满足其他业务, 因此可以继续接收业务申请信息。
步骤 27: 保存设备每种资源已使用的资源量。 在执行了新业务之后, 设 备的资源被进一步占用, 已经使用的资源量发生改变, 所以应当修改并保存 此时设备每种资源使用的资源量。 该步骤可以在设备分配功能资源即开始执 行业务后进行, 并根据设备资源的实际使用量进行上述修改。 例如配置信息 中对于下载线程, 设备提供的资源包括 2Mbit/S 的网口带宽, 而在实际下载 过程中由于可能存在的下载终端侧的原因,实际使用的网口带宽为 500Kbit/S, 在这种情况下应当按网口剩余带宽被占用 500Kbit/S 来记录设备带宽的已使 用量。
从图 2所示的流程可以看出, 对于每种业务, 预先规定了对其分配的资 源, 从而在实现业务中能够保证有足够的资源分配给该业务, 从而能够保证 业务的服务质量。 当然这种保证是从服务侧的角度来说, 例如能够保证向某 终端设备提供 2Mbit/S 的下载服务。 另一方面, 当业务申请较多而导致设备 资源不够时, 按本实施例的方案, 此时会拒绝新的业务申请, 这有别于现有 技术中以服务质量下降为代价从而 "勉强" 提供服务的做法。 这样用户可以 尽快地转向其他设备, 而不必在业务实现过程中发现质量不够再重新寻找其 他设备, 有助于节省用户的时间。
图 2是当有新的业务申请时的处理流程, 相应地, 当收到业务终止的信 息时, 应当修改设备每种资源已使用的资源量。 为了能够做到正确修改, 应 当在设备分配资源之后作相应的记录, 具体来说, 如果设备能够提供当前申 请的业务, 则保存当前申请的业务与该业务所需的每种资源的资源量之间的 对应关系, 这样, 当收到业务终止的信息时, 根据这种对应关系确定该信息 指定的业务所需的每种资源的资源量, 然后根据该信息指定的业务所需的每 种资源的资源量修改记录的设备每种资源当前已使用的资源量, 也就是从设 备每种资源当前已使用的资源量中减除该信息指定的业务所需的每种资源的 资源量。
如果为了避免记录的设备每种资源当前已使用的资源量与实际使用量不 符, 可以对二者进行定期或不定期的比较, 当发现二者不一致时可以釆取修 改记录的设备每种资源当前已使用的资源量、 发出提示消息、 打印日志等措 施。
下面以通信行业中常用的资源电路板为例, 对本实施例中的技术方案作 进一步说明。
设备通常包含多个资源电路板, 用 "资源电路板号" 加以区分。 资源电 路板上的资源可以分为两类, 一类是用于实现媒体处理通道, 例如实现一次 网络电话业务, 此时设备中在物理上通常由一个特定功能的电路来实现这种 业务, 对于实现多条媒体处理通道, 则使用多个这样的电路来实现, 以下将 这类资源称作 "电路资源" 。 另一类是其他资源, 主要包括 CPU资源、 文件 I/O资源、 网口传输资源等, 以下称作 "非电路资源" 。 本实施例的技术方案 主要针对非电路资源的分配作出改进。 在现有技术中由于电路资源的物理特 性, 当资源电路板上所有电路被占用后, 同样拒绝新的业务申请, 而已占用 的电路提供的服务质量主要由电路本身性质决定。
业务与该业务所需的每种资源的资源量之间的对应关系保存在表 1所示 的业务属性表中, "业务类型" 为电路资源支持的业务例如在因特网上传输 话音( Voice over Internet Protocol, VOIP )业务以及非电路资源支持的业务例 如下载业务。 "资源类型" 例如 VOIP电路资源、 CPU资源、 网口带宽资源 等电路资源或非电路资源, 每一表项的信息内容即为预先设置的业务与该业 务所需的资源。 对于有些资源例如 CPU资源无法预设, 所以表 1中给出的是 能够预设的资源, 例如为每个下载业务分配的网口带宽。
表 1
Figure imgf000010_0001
如果资源电路板以电路资源实现业务, 则每项业务对应一个电路, 将该 业务的信息记录在表 2所示的电路表中, 例如表中序号为 1的表项所示的网 络电话 VOIP业务。 电路表中每个电路对应一个表项, 例如电路板 1包含 10 个电路, 则应当有 10个表项分别对应于这 10个电路。 当资源电路板以非电 路资源实现业务, 则可以将该业务虚拟为一个电路, 例如一项下载业务, 需 使用 CPU资源、 文件 I/O资源和网口传输资源, 则将这些资源的使用量记录 同样在电路表的一个表项中, 例如表中序号为 5 的表项所示的内容。 其中 CPU0.5表示该业务占用了 CPU使用率的 0.1%, I/05Mbit/S表示该业务占用 了 5Mbit/S的文件 I/O资源, Net2Mbit/S表示该业务占用了 2Mbit/S的网口带 宽。 这些内容是业务在实现时的实际数据。 其中文件 I/O资源和网口传输资 源的分配预先保存在配置信息中, 实际占用数值可能与配置信息中的相等。 由于釆用了虚拟电路的方式, 所以电路表中的表项数目可以多于资源电路板 上实际电路资源的电路数并且可以不断增加,多出来的这些电路为虚拟电路; 并且对于每一表项, 可能是记录实际电路的信息, 也可能是记录虚拟电路的 信息。 该表的内容在分配资源时生成, 包含了业务与该业务所需的每种资源 的资源量之间的对应关系。
表 2
Figure imgf000010_0002
3 电路板 1 电路 3
4
CPU0.5; I/05Mbit/S;
5 电路板 2 电路 1
Net2Mbit/S
6 电路板 2 电路 2
7 电路板 2 电路 3 对于非电路资源, 使用表 3所示的资源控制表进行记录。 "资源电路板 号" 为需要资源管理系统管理的资源电路板号; "资源类型" 为各项非电路 资源; "资源最大量" 为此种资源类型支持的最大能力; "可使用比例" 为 资源电路板分配给业务使用的比例; "已使用 " 为此刻设备已经使用的这种 资源的量, 业务执行过程中可以根据实际使用量实时修改。
表 3
Figure imgf000011_0001
结合表 1-表 3 , 资源申请的详细流程如图 3所示, 主要包括如下步骤: 步骤 301 : 接收业务申请。
步骤 302: 判断此设备是否支持此种业务类型。 根据业务申请的信息中 包含的业务类型查询该业务类型是否在 "业务属性表" 中, 如果是, 则进入 步骤 303 , 否则进入步骤 311。
步骤 303 : 根据业务类型判断是否需要非电路资源, 如果是, 进入步骤 305 , 否则进入步骤 304。 步骤 304: 判断是否有足够的电路资源。 本步骤中, 查找电路表中是否 还有空闲实际电路。 若是, 进入步骤 308, 否则进入步骤 311。
步骤 305: 判断是否有足够的非电路资源。 本步骤中, 查找资源控制表, 按资源电路板号的顺序找到每项资源的剩余资源都大于当前申请的业务所需 资源的资源电路板。 当前申请的业务所需资源可以从业务属性表中查得, 资 源电路板每项资源的剩余资源可以根据资源控制表中的资源最大值乘以可使 用比例再减去已使用量得出。 若能够找到满足条件的资源电路板, 则进入步 骤 306, 否则进入步骤 311。
步骤 306: 在电路表中生成一个虚拟电路的表项并填写其内容。
步骤 307: 修改资源控制表。 具体修改其中 "已使用" 一栏。
步骤 308: 填写电路表中的一个空闲实际电路表项的内容。 具有内容的 表项则不能被再次填写。
步骤 309: 记录本次业务申请过程中填写的电路表的表项中的电路号和 资源电路板号。
步骤 310: 发送业务申请成功的响应信息。 该信息中包含本次业务申请 过程中填写的电路表的表项中的电路号和资源电路板号。 然后返回步骤 301 , 继续接收业务申请。
步骤 311 : 发送业务申请失败的响应信息。 然后返回步骤 301 , 继续接收 业务申请。
根据图 3的流程, 业务申请成功之后, 业务申请成功的响应信息中包含 用于实现该业务的资源所在的资源电路板号和相应的电路号。 现有的系统中 一般都会保存业务用户的标识, 例如用户的 IP地址或用户名, 作为所实现的 各业务的区别标志, 本实施例中, 将资源所在的资源电路板号和相应的电路 号与使用该资源的用户的标识进行关联, 这样也就建立了业务与该业务所需 资源量之间的对应关系, 在业务完成之后来自于用户侧的信令中包含用户标 识, 所以在业务完成时, 才艮据这里的对应关系确定用于实现该业务的资源所 在的资源电路板号和相应的电路号。 如图 4所示, 资源释放流程主要包括如 下步骤: 步骤 401 : 接收业务终止的信息。
步骤 402: 判断电路是否存在。 具体是根据业务终止的信息中的用于实 若电路存在于电路表的一个表项中, 则进入步骤 403 , 否则进入步骤 407。
步骤 403 : 判断步骤 402 中查询到的表项是否为占用。 如果该表项填写 有内容则为占用, 或者在填写内容之后在表项中标注 "已占用" , 则根据该 标注可确认该表项为占用。 若是, 进入步骤 404 , 否则进入步骤 407。
步骤 404: 修改资源控制表。 具体是根据步骤 402 中查询到的表项的内 容, 修改资源控制表中的 "已使用" 一栏, 在已使用值上减去这次业务所使 用的这种资源的数量。
步骤 405: 删除步骤 402中查询到的表项中的内容。
步骤 406: 发送资源释放成功的消息。 然后返回步骤 401 , 继续接收业务 终止的信息。
步骤 407: 发送资源释放失败的消息。 然后返回步骤 401 , 继续接收业务 终止的信息。
如图 5所示, 资源校验可以定时进行, 主要包括步骤:
步骤 51 : 资源校验定时器超时, 发起资源校验。
步骤 52: 判断此刻校验是否合法, 若是, 进入步骤 53 , 否则进入步骤
56。
步骤 53 : 根据每块资源电路板上的电路计算这块资源电路板的各种资源 的使用总量。
步骤 54: 比较步骤 53 中计算出的各种资源的使用量与资源控制表中记 录的各种资源的使用量是否相同, 若是, 进入步骤 56 , 否则进入步骤 55。
步骤 55: 修改资源控制表。 具体是找出步骤 54 中的比较中的两种使用 量不相同的资源类型,然后根据步骤 53中计算出的各种资源的使用量重新设 置资源控制表中不一致的资源使用量的值。另外在本步骤中还可以打印曰志、 发出告警, 以便人工进行干预。 步骤 56: 设置定时器。 然后返回步骤 51 , 进行新一轮资源定时校验。 基于上述方法, 本实施例中的装置如图 6所示, 设备资源管理装置 60包 括存储模块 61、 记录模块 62、 分析模块 63以及判断模块 64, 其中:
存储模块 61 , 用于对设备提供的每项业务保存相应的配置信息, 该配置 信息包括设备提供的每项业务所需的每种资源的资源量,存储模块 61可以釆 用表 1所示的业务属性表的形式进行存储;
记录模块 62, 用于在设备每次分配功能资源之后, 记录设备每种资源已 使用的资源量, 可以釆用表 2所示的电路表的形式进行记录;
分析模块 63 , 用于当收到业务申请信息时, 根据当前申请的业务所需的 资源种类和相应的配置信息,得出当前申请的业务所需的每种资源的资源量; 判断模块 64 , 用于根据当前申请的业务所需的每种资源的资源量以及记 录的设备每种资源当前已使用的资源量判断设备是否能够提供当前申请的业 务, 若是, 则通知设备提供当前申请的业务, 否则拒绝提供当前申请的业务。 具体可以结合表 3中的内容进行判断。
判断模块 64的结构可以是包括判断单元和发送单元, 其中判断单元, 用 于判断当前申请的业务所需的每种资源的资源量中是否存在至少一种资源的 资源量大于设备的该种资源总量与记录的该种资源当前已使用的资源量之 差; 发送单元, 用于若当前申请的业务所需的每种资源的资源量中存在至少 一种资源的资源量大于设备的该种资源总量与记录的该种资源当前已使用的 资源量之差, 则发出拒绝提供当前申请的业务的消息; 否则发出要求设备提 供当前申请的业务的消息。
上述判断单元也可以用于判断所述当前申请的业务所需的每种资源的资 源量中是否存在至少一种资源的资源量大于预设的设备的该种资源可使用量 与记录的该种资源当前已使用的资源量之差; 在这种情况下, 上述的发送单 元用于若当前申请的业务所需的每种资源的资源量中存在至少一种资源的资 源量大于预设的设备的该种资源可使用量与记录的该种资源当前已使用的资 源量之差, 则发出拒绝提供当前申请的业务的消息; 否则发出要求设备提供 当前申请的业务的消息。 图 6中的设备资源管理装置 60还可以进一步包括第二记录模块,用于若 所述设备能够提供当前申请的业务, 则保存所述当前申请的业务与该业务所 需的每种资源的资源量之间的对应关系;并且分析模块 63进一步用于当收到 业务终止的信息时, 根据所述对应关系确定该信息指定的业务所需的每种资 源的资源量,记录模块 62进一步用于才艮据业务终止的信息指定的业务所需的 每种资源的资源量修改记录的设备每种资源当前已使用的资源量。
图 6中的设备资源管理装置 60还可以进一步包括校验模块,用于确认记 录的设备每种资源当前已使用的资源量与设备实际每种资源已使用的资源量 是否相符合; 这样, 记录模块 62进一步用于当记录的设备每种资源当前已使 用的资源量与设备实际每种资源已使用的资源量不相符合时, 保存根据设备 实际每种资源已使用的资源量修改的设备每种资源当前已使用的资源量。
根据本申请实施例中的技术方案, 因为配置了业务所需资源量, 并对设 备每种资源已使用的资源量进行记录, 在确认剩余资源足够当前申请的资源 时实现业务, 因此能够保证实现的业务有足够的资源作支持, 保证了所实现 业务的服务质量。 并且在业务完成之后及时释放占用的资源并记录此时设备 资源使用量, 使记录的设备资源已使用量与实际相符, 并对记录的内容与设 备的实际情况进行比较, 及时处理记录中可能出现的错误, 进一步提高了设 备资源管理的准确性。
发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 工业实用性
本发明的技术方案, 因为配置了业务所需资源量, 并对设备每种资源已 使用的资源量进行记录, 在确认剩余资源足够当前申请的资源时实现业务, 因此能够保证实现的业务有足够的资源作支持, 保证了所实现业务的服务质 量。

Claims

权 利 要 求 书
1、 一种提供设备资源的方法, 包括:
对设备提供的每项业务保存相应的配置信息, 该配置信息包括设备提供 的每项业务所需的每种资源的资源量, 在设备每次分配功能资源之后, 记录 设备每种资源已使用的资源量;
收到业务申请信息后, 根据当前申请的业务所需的资源种类和相应的配 置信息, 得出当前申请的业务所需的每种资源的资源量; 以及
根据当前申请的业务所需的每种资源的资源量以及记录的设备每种资源 当前已使用的资源量判断设备是否能够提供当前申请的业务, 若是, 则提供 当前申请的业务, 若不是, 则拒绝提供当前申请的业务。
2、 根据权利要求 1所述的方法, 其中, 所述判断设备是否能够提供当前 申请的业务的步骤包括:
判断所述当前申请的业务所需的每种资源的资源量中是否存在至少一种 资源的资源量大于设备的该种资源总量与记录的该种资源当前已使用的资源 量之差; 或者
判断所述当前申请的业务所需的每种资源的资源量中是否存在至少一种 资源的资源量大于预设的设备的该种资源可使用量与记录的该种资源当前已 使用的资源量之差。
3、 根据权利要求 1或 2所述的方法, 其中, 所述判断步骤还包括: 若所 述设备能够提供当前申请的业务, 则保存所述当前申请的业务与该业务所需 的每种资源的资源量之间的对应关系; 所述方法还包括:
当收到业务终止的信息时, 才艮据所述对应关系确定所述业务终止的信息 指定的业务所需的每种资源的资源量, 然后根据所述业务终止的信息指定的 业务所需的每种资源的资源量修改记录的设备每种资源当前已使用的资源 量。
4、 根据权利要求 1或 2所述的方法, 其中, 所述记录设备每种资源已使 用的资源量之后, 该方法还包括:
当确认记录的设备每种资源当前已使用的资源量与设备实际每种资源已 使用的资源量不相符合时, 修改记录的设备每种资源当前已使用的资源量和 / 或发出提示消息。
5、 一种设备资源管理装置, 其包括:
存储模块, 设置为: 对设备提供的每项业务保存相应的配置信息, 该配 置信息包括设备提供的每项业务所需的每种资源的资源量;
记录模块, 设置为: 在设备每次分配功能资源之后, 记录设备每种资源 已使用的资源量;
分析模块, 设置为: 当收到业务申请信息时, 根据当前申请的业务所需 的资源种类和相应的配置信息, 得出当前申请的业务所需的每种资源的资源 量; 以及
判断模块, 设置为: 根据当前申请的业务所需的每种资源的资源量以及 记录的设备每种资源当前已使用的资源量判断设备是否能够提供当前申请的 业务, 若是, 则通知设备提供当前申请的业务, 若不是, 则拒绝提供当前申 请的业务。
6、 根据权利要求 5所述的装置, 其中, 所述判断模块包括:
判断单元, 设置为: 判断所述当前申请的业务所需的每种资源的资源量 中是否存在至少一种资源的资源量大于设备的该种资源总量与记录的该种资 源当前已使用的资源量之差; 以及
发送单元, 设置为: 若当前申请的业务所需的每种资源的资源量中存在 至少一种资源的资源量大于设备的该种资源总量与记录的该种资源当前已使 用的资源量之差, 则发出拒绝提供当前申请的业务的消息; 若不大于, 则发 出要求设备提供当前申请的业务的消息。
7、 根据权利要求 5所述的装置, 其中, 所述判断模块包括:
判断单元, 设置为: 判断所述当前申请的业务所需的每种资源的资源量 中是否存在至少一种资源的资源量大于预设的设备的该种资源可使用量与记 录的该种资源当前已使用的资源量之差; 以及 发送单元, 设置为: 若所述当前申请的业务所需的每种资源的资源量中 存在至少一种资源的资源量大于预设的设备的该种资源可使用量与记录的该 种资源当前已使用的资源量之差, 则发出拒绝提供当前申请的业务的消息; 若不大于, 则发出要求设备提供当前申请的业务的消息。
8、 根据权利要求 5、 6或 7所述的装置, 该装置还包括第二记录模块, 所述第二记录模块设置为: 若所述设备能够提供当前申请的业务, 则保存所 述当前申请的业务与该业务所需的每种资源的资源量之间的对应关系; 并且 所述分析模块还设置为: 当收到业务终止的信息时, 根据所述对应关系 确定该信息指定的业务所需的每种资源的资源量,
所述记录模块还设置为: 根据业务终止的信息指定的业务所需的每种资 源的资源量修改记录的设备每种资源当前已使用的资源量。
9、 根据权利要求 5、 6或 7所述的装置, 该装置还包括校验模块, 所述 校验模块设置为: 确认记录的设备每种资源当前已使用的资源量与设备实际 每种资源已使用的资源量是否相符合;
所述记录模块还设置为: 当记录的设备每种资源当前已使用的资源量与 设备实际每种资源已使用的资源量不相符合时, 保存根据设备实际每种资源 已使用的资源量修改的设备每种资源当前已使用的资源量。
PCT/CN2010/072520 2009-05-07 2010-05-07 提供设备资源的方法和设备资源管理装置 WO2010127635A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910137696.1 2009-05-07
CNA2009101376961A CN101557345A (zh) 2009-05-07 2009-05-07 提供设备资源的方法和设备资源管理装置

Publications (1)

Publication Number Publication Date
WO2010127635A1 true WO2010127635A1 (zh) 2010-11-11

Family

ID=41175295

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072520 WO2010127635A1 (zh) 2009-05-07 2010-05-07 提供设备资源的方法和设备资源管理装置

Country Status (2)

Country Link
CN (1) CN101557345A (zh)
WO (1) WO2010127635A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557345A (zh) * 2009-05-07 2009-10-14 中兴通讯股份有限公司 提供设备资源的方法和设备资源管理装置
CN102065115B (zh) * 2010-05-31 2012-11-28 百度在线网络技术(北京)有限公司 基于系统性能来调整获取网络资源的方式的方法和设备
CN102137091B (zh) * 2010-11-15 2013-11-06 华为技术有限公司 一种过负荷控制方法、装置、系统及客户端
CN102547818B (zh) * 2012-01-04 2016-06-15 大唐移动通信设备有限公司 资源标识分配方法和设备
CN103068069A (zh) * 2013-01-25 2013-04-24 大唐移动通信设备有限公司 一种在ims中进行业务释放的方法及装置
EP2990973A1 (en) * 2014-08-27 2016-03-02 F. Hoffmann-La Roche AG Method for validating a resource for a lab task schedule of a laboratory device
CN105589750B (zh) * 2015-07-07 2019-01-25 新华三技术有限公司 一种cpu资源调度方法和服务器
CN106254154B (zh) * 2016-09-19 2020-01-03 新华三技术有限公司 一种资源共享方法和装置
CN106686069A (zh) * 2016-12-13 2017-05-17 天津逐帜科技发展有限公司 提供设备资源的方法和设备资源管理装置
CN109298913A (zh) * 2018-09-26 2019-02-01 武芮 一种多容器系统间调度系统资源的方法及装置
CN113836148A (zh) * 2021-11-29 2021-12-24 青岛通产智能科技股份有限公司 制证控制方法、装置、储存介质以及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1370010A1 (en) * 2002-06-06 2003-12-10 Lucent Technologies Inc. A method for estimating the radio resource consumed by a service and its application for overload control
CN1538317A (zh) * 2003-10-24 2004-10-20 中兴通讯股份有限公司 多业务平台多种资源综合调度的方法
CN1620036A (zh) * 2003-11-20 2005-05-25 华为技术有限公司 一种分配abis接口带宽资源的方法
US20050147122A1 (en) * 2004-01-06 2005-07-07 Alcatel Physical layer session resource broker
CN1859250A (zh) * 2006-01-20 2006-11-08 华为技术有限公司 保障多业务服务质量的资源管理设备、接入系统及方法
CN101217484A (zh) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 资源分配方法及系统
CN101557345A (zh) * 2009-05-07 2009-10-14 中兴通讯股份有限公司 提供设备资源的方法和设备资源管理装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1370010A1 (en) * 2002-06-06 2003-12-10 Lucent Technologies Inc. A method for estimating the radio resource consumed by a service and its application for overload control
CN1538317A (zh) * 2003-10-24 2004-10-20 中兴通讯股份有限公司 多业务平台多种资源综合调度的方法
CN1620036A (zh) * 2003-11-20 2005-05-25 华为技术有限公司 一种分配abis接口带宽资源的方法
US20050147122A1 (en) * 2004-01-06 2005-07-07 Alcatel Physical layer session resource broker
CN1859250A (zh) * 2006-01-20 2006-11-08 华为技术有限公司 保障多业务服务质量的资源管理设备、接入系统及方法
CN101217484A (zh) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 资源分配方法及系统
CN101557345A (zh) * 2009-05-07 2009-10-14 中兴通讯股份有限公司 提供设备资源的方法和设备资源管理装置

Also Published As

Publication number Publication date
CN101557345A (zh) 2009-10-14

Similar Documents

Publication Publication Date Title
WO2010127635A1 (zh) 提供设备资源的方法和设备资源管理装置
CN107872489B (zh) 一种文件切片上传方法、装置及云存储系统
US10715456B2 (en) Network device, controller, queue management method, and traffic management chip
EP1981219B1 (en) An apparatus for providing the end-to-end qos guarantee and a method thereof
US20010025378A1 (en) Video content transmitting system and method
JP5010677B2 (ja) グループトークQoEを実現する方法、システム及び装置
US20200045168A1 (en) Method and Apparatus to Identify Spam/Fraudulent/Robo Calls
US9271331B2 (en) Conditional execution of commands
US20020146102A1 (en) Method and system for multi-provider competitive telecommunications services
WO2013185655A1 (zh) 移动座席呼叫的分配方法和装置
WO2010031335A1 (zh) 一种媒体服务器的控制方法和系统
CN110933180A (zh) 一种通信建立方法、装置、负载设备及存储介质
WO2009094890A1 (fr) Procédé de programmation d'un service et système associé, appareil de programmation de services
WO2008065534A2 (en) Communication system
CN109831647A (zh) 一种调取监控的方法和装置
CN100484013C (zh) 一种接入设备、会议接入方法和会议业务系统
CN101911664A (zh) 服务控制装置、服务控制系统及方法
US20080118043A1 (en) Call Control Apparatus and Method for Controlling Call Control Apparatus
US20060069783A1 (en) Program, method and device for managing information shared among components, recording medium and communication apparatus
CN110392119B (zh) 一种数据传输方法及基站
CN114979084A (zh) 一种呼叫方法、装置及系统
CN110336752A (zh) 一种提高局部广播推送效率的方法及系统
EP2030409A2 (en) Method and apparatus for maintaining state information on a client device configured for voip communication
CN114915656A (zh) 一种车联网终端接入方法、装置、存储介质及电子设备
JP2003303174A (ja) 端末認証方法および装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10772038

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10772038

Country of ref document: EP

Kind code of ref document: A1