Supercharge Your Innovation With Domain-Expert AI Agents!

Resource scheduling method and device

A resource scheduling and resource technology, applied in the field of information processing, can solve problems such as idle resources and low thread resource utilization, and achieve the effect of improving resource utilization

Active Publication Date: 2017-07-28
ADVANCED NEW TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Considering that many applications have such characteristics, the overall thread resource utilization of the system is still low
[0005] In addition to dealing with thread allocation, there are similar resource idle problems in other application scenarios, such as the allocation of limited bandwidth resources, limited cache resources, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource scheduling method and device
  • Resource scheduling method and device
  • Resource scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] In a timed task system, application A needs to run from the 1st to the 10th minute of each hour, application B needs to run from the 6th to 15th minute of each hour, and application C needs to run on each hour From the 11th to 20th minutes of running, 5 processing threads are required for the 3 applications to run. Since the running periods of A and C are completely staggered, and the number of threads required for both A and C to run is the same, it is possible to set A and C to reuse the same processing threads. The following is the initialization scheduling process of thread resources:

[0054] ●The first minute starts:

[0055] Assign 5 processing threads to application A. According to the running rule of A, we know that 3 threads will be released at the end of the 5th minute, and 2 threads will be released at the end of the 10th minute. The five processing threads of application A are divided into two subsets, as shown in Table 1.1:

[0056] subset num...

Embodiment 2

[0074] In the integrated service system, the update time and update cycle of the service data of different servers are different, and after the service data is just updated, the access volume of the service server is relatively large, and it is necessary to provide high access bandwidth to the access side. As time goes on, the amount of access is gradually reduced, and accordingly, the access bandwidth provided to the access side can also be gradually reduced.

[0075] Based on the above basic requirements, it is assumed that a service system includes services A, B, and C that need to periodically allocate access bandwidth resources.

[0076] Server A updates business data at 0:00 and 12:00 every day, and needs to allocate 300M of access bandwidth to it at the update time, and recycle 100M every 4 hours until the next update time to restore its access bandwidth to 300M.

[0077] Server B updates business data at 4:00 and 16:00 every day, and needs to allocate 150M of access ba...

Embodiment 3

[0103] The solution of this application can also be applied in the allocation of financial resources to reduce the idle rate of funds. Taking the lending business as an example, assuming that there is a lender x and a borrower y in a lending relationship: on January 1, x issued a loan to y with a total amount of 12,000 yuan and a term of 3 months, and the repayment method is divided into 3 installments Monthly repayment. After the successful lending, x correspondingly owns a debt with a total amount of 12,000 yuan and a term of 3 months. In order to obtain income as soon as possible, x will quickly sell this debt to z in the form of asset transfer (the actual transaction price can fluctuate within a certain range of the sum of the loan principal and interest, which has nothing to do with this application plan), and agrees that x will be within a period of 3 months After full, the principal and interest will be settled to z.

[0104] If abnormal factors such as overdue are no...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a resource scheduling method and a resource scheduling device. According to the technical scheme of the method and the device provided by the invention, resources distributed by each distribution operation is divided into different resource sub-sets according to different release batches. Therefore, when each resource sub-set is actually recovered, if the sub-set is in a temporary idle state, the occupied sub-set capable of replacing the temporary idle sub-set at the scheduled time can be found from currently occupied resources, and thus the resource in the temporary idle sub-set is replaced with the non-temporary idle resource. The non-temporary idle resource can participate in normal resource distribution without being limited by periodical resource scheduling, so that a whole resource utilization rate is effectively enhanced.

Description

technical field [0001] The present application relates to the technical field of information processing, and in particular to a resource scheduling method and device. Background technique [0002] Resource scheduling is a common concept in the field of computer application technology. It can refer to resource scheduling within a device (such as allocating processing threads, memory resources, etc. for different applications), or it can also refer to multiple devices. Task scheduling (such as allocating bandwidth resources to different devices). In these application scenarios, "resources" are often limited, and resource users' demand for resources is far greater than the total number of resources. Therefore, how to reasonably schedule limited resources to maximize resource utilization, It has always been an important direction that researchers pay attention to. [0003] Periodic scheduling is a common strategy in resource scheduling. This method is suitable for application ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08G06F9/50
CPCG06F9/5022G06F9/5061
Inventor 冯江骆贞轩
Owner ADVANCED NEW TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More