CN108279980A - Resource allocation methods and system and resource allocation terminal - Google Patents
Resource allocation methods and system and resource allocation terminal Download PDFInfo
- Publication number
- CN108279980A CN108279980A CN201810059124.5A CN201810059124A CN108279980A CN 108279980 A CN108279980 A CN 108279980A CN 201810059124 A CN201810059124 A CN 201810059124A CN 108279980 A CN108279980 A CN 108279980A
- Authority
- CN
- China
- Prior art keywords
- resource
- task
- requirement information
- several
- intended applications
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5021—Priority
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention proposes a kind of resource allocation methods and system and resource allocation terminal, wherein resource allocation methods include:Obtain the resource requirement information of several running intended applications;According to the resource requirement information of several intended applications, the corresponding automatic allocation strategy of resource is determined;Execute the automatic allocation strategy of the resource.Technical solution through the invention, it can be the resource that it is distributed automatically according to the real resource demand of intended application in respectively being run in system, convenient for balancing between each application, the resource service condition between each task, improve each intended application and its under the possibility that can be smoothed out of task, to the whole work efficiency of lifting system.
Description
【Technical field】
The present invention relates to field of computer technology more particularly to a kind of resource allocation methods and system and resource allocation are whole
End.
【Background technology】
In many equipment including Medical Devices, all there is complicated system, often have in system a large amount of
Application run simultaneously.
Currently, system configuration personnel can manually allocate each according to situations such as priority, performance consumption of each task
The resource that business can use, still, this configuration is all static, can not be allocated with the operating status of system, and these
Often non-constant using the resource needed in the different stages, this has resulted in artificial allotment resource and cannot be satisfied in system respectively to answer
Real-time resource requirements.
For example, when occupying vast resources using A, other application No Assets may be caused available, so as to cause other application
Normal work stream can not execute, go out current task delay, interim card or the case where be suspended.
Therefore, how to meet the real-time resource requirements respectively applied in system, become a technical problem to be solved urgently.
【Invention content】
An embodiment of the present invention provides a kind of resource allocation methods and systems and resource allocation terminal, it is intended to solve related skill
The technical issues of resource cannot be satisfied the real-time resource requirements respectively applied in system is manually allocated in art, is capable of providing a kind of new
The mode that resource is distributed automatically distributes resource for it according to the real-time requirement applied in operation, makes each application that can divide
It is fitted on rational resource.
In a first aspect, an embodiment of the present invention provides a kind of resource allocation methods, including:Obtain several running mesh
Mark the resource requirement information of application;According to the resource requirement information of several intended applications, determine that corresponding resource is automatic
Allocation strategy;Execute the automatic allocation strategy of the resource.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
The resource use ratio of each task, the automatic allocation strategy of resource include:According to each under several described intended applications
The resource use ratio of task accounts for the resource of the resource use ratio of total resources for each task distribution.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
The minimum resources demand of each task, under several described intended applications the corresponding resource of minimum resources demand of each task from
Dynamic allocation strategy includes:The minimum resources demand of each task is distributed for each task under several described intended applications
Required resource.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
Multiple tasks between dependence, the corresponding resource of dependence between multiple tasks under several described intended applications from
Dynamic allocation strategy includes:According to the delivery efficiency of each task in several described intended applications, for each task point
With resource.
In the above embodiment of the present invention, optionally, each task according in several described intended applications
Delivery efficiency distributes resource for each task, including:Distributing resource order for each task has the multiple of dependence
The delivery efficiency of task keeps balance.
In the above embodiment of the present invention, optionally, the resource requirement information includes following one or more:If described
The minimum resources of each task need under the resource use ratio of each task, several described intended applications under dry intended application
The dependence between multiple tasks under several described intended applications of summation.
In the above embodiment of the present invention, optionally, before described the step of executing the resource automatic allocation strategy,
Further include:Detect whether total resources are distributed by the automatic allocation strategy of the resource enough;Testing result be the total resources not
In the case of being distributed enough by the automatic allocation strategy of the resource, according to the priority of several intended applications, it is preferably
The automatic allocation strategy of resource described in task execution under the high intended application of priority or the high intended application of the priority.
Second aspect, an embodiment of the present invention provides a kind of resource allocation systems, including:Resource requirement information obtains single
Member obtains the resource requirement information of several running intended applications;Resource allocation policy determination unit, according to described several
The resource requirement information of a intended application determines the corresponding automatic allocation strategy of resource;Resource allocation policy execution unit executes
The automatic allocation strategy of resource.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
The resource use ratio of each task, the automatic allocation strategy of resource include:According to each under several described intended applications
The resource use ratio of task accounts for the resource of the resource use ratio of total resources for each task distribution.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
The minimum resources demand of each task, under several described intended applications the corresponding resource of minimum resources demand of each task from
Dynamic allocation strategy includes:The minimum resources demand of each task is distributed for each task under several described intended applications
Required resource.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
Multiple tasks between dependence, the corresponding resource of dependence between multiple tasks under several described intended applications from
Dynamic allocation strategy includes:According to the delivery efficiency of each task in several described intended applications, for each task point
With resource.
In the above embodiment of the present invention, optionally, the dependence between the multiple tasks under several described intended applications is closed
It is that the corresponding automatic allocation strategy of resource specifically includes:Resource, which is distributed, for each task enables the multiple tasks for having dependence
Delivery efficiency keep balance.
In the above embodiment of the present invention, optionally, the resource requirement information includes following one or more:If described
The minimum resources of each task need under the resource use ratio of each task, several described intended applications under dry intended application
The dependence between multiple tasks under several described intended applications of summation.
In the above embodiment of the present invention, optionally, further include:Detection unit executes list in the resource allocation policy
Before member executes the automatic allocation strategy of resource, whether detection total resources are distributed by the automatic allocation strategy of the resource enough;
The resource allocation policy execution unit is additionally operable to:It is that the total resources are insufficient to be distributed automatically by the resource in testing result
It is preferably the high intended application of priority or institute according to the priority of several intended applications in the case of strategy distribution
State the automatic allocation strategy of resource described in the task execution under the high intended application of priority.
The third aspect, an embodiment of the present invention provides a kind of resource allocation terminal, the resource allocation terminal includes processing
Device and memory;The memory for storing instruction, when described instruction is executed by the processor, leads to the resource point
The method flow as described in any one of above-mentioned first aspect embodiment is realized with terminal.
Above technical scheme cannot be satisfied the real-time money respectively applied in system for artificial allotment resource in the related technology
The technical issues of source demand, can distribute resource according to the real-time requirement applied in operation for it, and specifically, system can obtain
The resource requirement information of several running intended applications is taken, which refers to that intended application can be transported smoothly
The self attributes of task under the condition and/or intended application that meet required for row.
The condition that each intended application is capable of the required satisfaction of trouble-free operation is different, and/or, appointing under each intended application
The self attributes of business are different, are that different resource requirement informations is provided with corresponding resource for these differences, in system
Automatic allocation strategy, to adapt to the actual conditions of each resource requirement information.
Then, system can determine the resource requirement information of each intended application, and select the resource requirement information corresponding
The automatic allocation strategy of resource is that the corresponding intended application of the resource requirement information executes.
Further, system can be spaced at predetermined time intervals, be answered with regard to once being obtained several running targets
The step of resource requirement information, to further determine that the corresponding automatic allocation strategy of resource, to realize in each operation
Intended application real time resources monitoring and distribution, can be assigned to rational money convenient for each running intended application
Source, make each intended application and its under task can be smoothed out, to lifting system whole work efficiency.
Further, system can also be carried out when receiving the inadequate resource early warning of any running intended application
The step of obtaining the resource requirement information of several running intended applications, to further determine that corresponding resource is divided automatically
With strategy, in this way, acquisition and the resource allocation of resource requirement information only can be carried out just in the inadequate resource for having intended application
Automatic distribution, it is possible to reduce wrap count avoids the detection of resource and shares out the work to occupy multi-system resource.
Can be that it is automatic according to the real resource demand of intended application in respectively being run in system by above technical scheme
The resource of distribution, convenient for balancing between each application, the resource service condition between each task, improve each intended application and its under
The possibility that task can be smoothed out, to the whole work efficiency of lifting system.
【Description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field
For those of ordinary skill, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 shows the flow chart of the resource allocation methods of one embodiment of the present of invention;
Fig. 2 shows the schematic diagrames of the resource allocation result of one embodiment of the present of invention;
Fig. 3 shows the block diagram of the resource allocation system of one embodiment of the present of invention;
Fig. 4 shows the block diagram of the Medical Devices of one embodiment of the present of invention;
Fig. 5 shows the block diagram of the resource allocation terminal of one embodiment of the present of invention.
【Specific implementation mode】
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention below in conjunction with the accompanying drawings
It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, is not intended to be limiting
The present invention.In the embodiment of the present invention and "an" of singulative used in the attached claims, " described " and "the"
It is also intended to including most forms, unless context clearly shows that other meanings.
Fig. 1 shows the flow chart of the resource allocation methods of one embodiment of the present of invention.
As shown in Figure 1, the resource allocation methods of one embodiment of the present of invention, including:
Step 102, the resource requirement information of several running intended applications is obtained.The resource requirement of intended application is believed
Breath is known by system from intended application, or is sent to system by intended application, or by system from application manager, history resource
The positions such as assignment record or the network platform obtain automatically.
The condition that each intended application is capable of the required satisfaction of trouble-free operation is different, and/or, appointing under each intended application
The self attributes of business are different, are that different resource requirement informations is provided with corresponding resource for these differences, in system
Automatic allocation strategy, to adapt to the actual conditions of each resource requirement information.
Step 104, according to the resource requirement information of several intended applications, determine that corresponding resource distributes plan automatically
Slightly.
System can determine the resource requirement information of each intended application, and select the corresponding resource of the resource requirement information certainly
Dynamic allocation strategy is that the corresponding intended application of the resource requirement information executes.
Step 106, the automatic allocation strategy of the resource is executed.
Generally speaking, system can obtain the resource requirement information of several running intended applications, resource requirement letter
Breath refers to the self attributes of the task under the condition and/or intended application that intended application can meet required for trouble-free operation.
Can be that it is automatic according to the real resource demand of intended application in respectively being run in system by above technical scheme
The resource of distribution, convenient for balancing between each application, the resource service condition between each task, improve each intended application and its under
The possibility that task can be smoothed out, to the whole work efficiency of lifting system.
Further, system can be spaced at predetermined time intervals, be answered with regard to once being obtained several running targets
The step of resource requirement information, to further determine that the corresponding automatic allocation strategy of resource, to realize in each operation
Intended application real time resources monitoring and adjustment, can be assigned to rational money convenient for each running intended application
Source, make each intended application and its under task can be smoothed out, to lifting system whole work efficiency.
Further, system can also be carried out when receiving the inadequate resource early warning of any running intended application
The step of obtaining the resource requirement information of several running intended applications, to further determine that corresponding resource is divided automatically
With strategy, in this way, acquisition and the resource allocation of resource requirement information only can be carried out just in the inadequate resource for having intended application
Automatic distribution, it is possible to reduce wrap count avoids the detection of resource and shares out the work to occupy multi-system resource.
In a kind of realization method of the present invention, the resource requirement information includes but not limited to following one or more:
Under several described intended applications under the resource use ratio of each task, several described intended applications each task it is minimum
The dependence between multiple tasks under resource requirement and several described intended applications.Below for each resource requirement information
The mode that resource is distributed automatically is further described.
In a kind of realization method of the present invention, the resource requirement information includes each under several described intended applications
The resource use ratio of task.The automatic allocation strategy of resource includes:According to each task under several described intended applications
Resource use ratio, the resource of the resource use ratio of total resources is accounted for for each task distribution.
I.e. according to resource use ratio, the resource of share is corresponded to for the distribution of each task, for example, having in operation in system
Intended application A, intended application B and intended application C, have respectively under intended application A, intended application B and intended application C task a,
Task b and task c are currently running, and task a, task b and task c are respectively necessary for 90% CPU (Central Processing
Unit, central processing unit), the CPU of 50% CPU and 30%, then the resource use ratio of three can be 10:5:3.Work as system
For double-core when, tool is there are two CPU, you can according to 10:5:Two CPU are distributed to task a, task b and task c by 3 ratio.
In a kind of realization method of the present invention, the resource requirement information includes each under several described intended applications
The minimum resources demand of task.The minimum resources demand of each task refers to the minimum money that the task can be needed for trouble-free operation
Source level of supply.
The automatic allocation strategy of the corresponding resource of minimum resources demand of each task includes under several described intended applications:
The resource required by the minimum resources demand of each task is distributed for each task under several described intended applications.Its
In, meeting the resource required by minimum resources demand refers to:When resource adjustment occurs, minimum resources that each task is distributed
Resource required by demand, which is not used in, distributes to other tasks.
For example, running intended application D needs to monopolize a CPU when executing task d, in other words, intended application D is only
Task d can smoothly be executed when monopolizing a CPU by having, at this point it is possible to directly be intended application D be that task d divides in other words
With a CPU.
In a kind of realization method of the present invention, the resource requirement information includes more under several described intended applications
Dependence between a task.
The dependence can refer to the sequencing of task execution, for example, when carrying out image scan to sufferer, due to e
Class ray acts the cells of superficial layer of sufferer, which can influence the detection accuracy of f class rays, and therefore, it is necessary to advanced
Row f class ray scannings, it is rear to carry out e class ray scannings, to ensure the accuracy of scanning result.
The automatic allocation strategy of the corresponding resource of dependence between multiple tasks under several described intended applications includes:
According to the delivery efficiency of each task in several described intended applications, resource is distributed for each task.In other words,
As described each task distribution resource enables the delivery efficiency for the multiple tasks for having dependence keep balance.With reference to Fig. 2
This realization method is further described.
Dependence can also refer to task execution and need based on the operation result of other tasks, as shown in Fig. 2, appointing
Business b1, task b2, task b3 are respectively that image scan, data prediction and Parameter Map generate.Since sweep object is with multiple
Position, task b1 are pre-processed in one position of each intermittent scanning, data of the task b2 at a position of each period pair,
Task b3 generates corresponding Parameter Map in each period according to the preprocessed data at a position.
After task b1 scans first position, the scan data of first position is just sent to task b2, by task b2 into
Line number Data preprocess, at this point, task b1 has started the scanning to second position.Then, task b2 completes the scanning of first position
After the data prediction of data, the data prediction result of first position is sent to task b3, task b3 executes first
The Parameter Map of position generates, at this point, task b2 starts to pre-process the scan data of second position, and task b1 continues to scanning not
The position of scanning.
In this course, if the speed of task b2 is less than the speed of task b1, b3, task b1 completes multiple positions
Scanning sends task b2 pretreatments, but the less efficient scan datas for having little time to handle b1 transmission of task b2 to, and task b3 is complete
At Parameter Map made by the preprocessed data to having received, it is also desirable to which the transmission that continues waiting for task b2 causes resource not busy
It sets.Shown in example as above, task b1, task b2, the delivery efficiency of task b3 are uneven.
This not only causes the waste of resource, also results under entire workflow inefficiencies.Based on this, will can more provide
The lower task of delivery efficiency is distributed in source, holds example, is assigned as 37% CPU, 50% CPU to task b1, b2, b3 respectively
CPU with 13%, enables three be 100ms in the execution period or be similar to 100ms, even three's delivery efficiency keeps flat substantially
Weighing apparatus, avoids mutually waiting between each task, ensures that resource is fully occupied in real time, improves the real-time utilization of resource, from
And promote whole work efficiency.
In addition, as shown in Fig. 2, can also be when operation task b1, b2, b3, while task a and task c are opened, appoint
The execution period that the resource that business a and task c are occupied is 37%CPU, task a and task c is respectively 200ms and 1000ms, is appointed
Being engaged in a and task c can be with the shared CPU of task b1, task b2 and task b3.That is, task b1, b2, b3 summation accounts for about 30%
CPU.
In a kind of realization method of the present invention, the resource requirement information includes each under several described intended applications
The minimum resources demand of each task and several described targets under the resource use ratio of task, several described intended applications
At least two in the dependence between multiple tasks under, wherein the priority of each single item resource requirement information is different.
For example, the resource requirement information include the resource use ratio of each task under several described intended applications,
The minimum resources demand of each task under several described intended applications, wherein the priority of minimum resources demand is higher than resource
The priority of use ratio can be preferably that task j and task k distribution are minimum at this point, when distributing resource for task j and task k
Resource needed for resource requirement further can be according to if total resources are insufficient for task j and the equal work wells of task k
Resource use ratio is task j and the resource of the corresponding ratio of task k distribution, has avoided task because of resource serious loss and injustice
It weighs and executes failure.
In a kind of realization method of the present invention, before step 106, further include:Total resources are detected whether enough by institute
State the automatic allocation strategy distribution of resource;It is that the total resources are insufficient to by the automatic allocation strategy distribution of the resource in testing result
In the case of, it is preferably the high intended application of priority or the priority according to the priority of several intended applications
The automatic allocation strategy of resource described in task execution under high intended application.
It can be preferably the high application of priority in the case where resource is not enough that intended application, which can have priority,
Distribute enough resources, for example, can be arranged system safeguard protection application priority be higher than social networking application, resource not
It is preferably that system safeguard protection application distributes enough resources, to ensure system safety when sufficient.
Fig. 3 shows the block diagram of the resource allocation system of one embodiment of the present of invention.
As shown in figure 3, an embodiment of the present invention provides a kind of resource allocation systems 300, including:Resource requirement information obtains
Unit 302 obtains the resource requirement information of several running intended applications;Resource allocation policy determination unit 304, according to
The resource requirement information of several intended applications determines the corresponding automatic allocation strategy of resource;Resource allocation policy executes
Unit 306 executes the automatic allocation strategy of the resource.
The resource allocation system 300 is using the scheme described in any one of embodiment shown in Fig. 1, therefore, has above-mentioned
All technique effects, details are not described herein.Resource allocation system 300 also has following technical characteristic:
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
The resource use ratio of each task, the automatic allocation strategy of resource include:According to each under several described intended applications
The resource use ratio of task accounts for the resource of the resource use ratio of total resources for each task distribution.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
The minimum resources demand of each task, under several described intended applications the corresponding resource of minimum resources demand of each task from
Dynamic allocation strategy includes:The minimum resources demand of each task is distributed for each task under several described intended applications
Required resource.
In the above embodiment of the present invention, optionally, the resource requirement information includes under several described intended applications
Multiple tasks between dependence, the corresponding resource of dependence between multiple tasks under several described intended applications from
Dynamic allocation strategy includes:According to the delivery efficiency of each task in several described intended applications, for each task point
With resource.
In the above embodiment of the present invention, optionally, the resource requirement information includes following one or more:If described
The minimum resources of each task need under the resource use ratio of each task, several described intended applications under dry intended application
The dependence between multiple tasks under several described intended applications of summation.
In the above embodiment of the present invention, optionally, further include:Detection unit executes list in the resource allocation policy
Before member 306 executes the automatic allocation strategy of resource, whether detection total resources are enough by the automatic allocation strategy of the resource point
Match;The resource allocation policy execution unit is additionally operable to:Testing result be the total resources be insufficient to it is automatic by the resource
It is preferably the high intended application of priority according to the priority of several intended applications in the case that allocation strategy distributes
Or the automatic allocation strategy of resource described in the task execution under the high intended application of the priority.
Fig. 4 shows the block diagram of the Medical Devices of one embodiment of the present of invention.
As shown in figure 4, the Medical Devices 400 of one embodiment of the present of invention, including the resource allocation system shown in Fig. 3
300, therefore, the Medical Devices 400 have and Fig. 3 shown in 300 identical technique effect of resource allocation system, it is no longer superfluous herein
It states.
In addition, an embodiment of the present invention provides a kind of computer readable storage medium, computer executable instructions are stored with,
The computer executable instructions are set as the method flow described in any one of above-mentioned Fig. 1 embodiments.
Fig. 5 shows the block diagram of the resource allocation terminal of one embodiment of the present of invention.
As shown in figure 5, the resource allocation terminal 500 of one embodiment of the present of invention, including processor 502 and memory
504;The memory 504 for storing instruction, when described instruction is executed by the processor 502, leads to the resource allocation
Terminal 500 realizes the method flow described in any one of embodiment as shown in Figure 1.
Technical scheme of the present invention is described in detail above in association with attached drawing, technical solution through the invention being capable of basis
The real resource demand of intended application is its resource for distributing automatically in respectively being run in system, convenient for balancing between each application, each
Resource service condition between business, improve each intended application and its under the possibility that can be smoothed out of task, to
The whole work efficiency of lifting system.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate:Individualism A, exists simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
In several embodiments provided by the present invention, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, for example, multiple units or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown
Or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit it is indirect
Coupling or communication connection can be electrical, machinery or other forms.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
The medium of program code can be stored.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.
Claims (10)
1. a kind of resource allocation methods, which is characterized in that including:
Obtain the resource requirement information of several running intended applications;
According to the resource requirement information of several intended applications, the corresponding automatic allocation strategy of resource is determined;
Execute the automatic allocation strategy of the resource.
2. resource allocation methods according to claim 1, which is characterized in that the resource requirement information includes described several
The resource use ratio of each task under a intended application, the automatic allocation strategy of resource include:
According to the resource use ratio of each task under several described intended applications, total resources are accounted for for each task distribution
The resource use ratio resource.
3. resource allocation methods according to claim 1, which is characterized in that the resource requirement information includes described several
The minimum resources demand of each task under a intended application, the automatic allocation strategy of resource include:
The money required by the minimum resources demand of each task is distributed for each task under several described intended applications
Source.
4. resource allocation methods according to claim 1, which is characterized in that the resource requirement information includes described several
The dependence between multiple tasks under a intended application, the automatic allocation strategy of resource include:
According to the delivery efficiency of each task in several described intended applications, resource is distributed for each task.
5. resource allocation methods according to claim 4, which is characterized in that described according in several described intended applications
Each task delivery efficiency, distribute resource for each task, including:For each task distribute resource order have according to
The delivery efficiency of the multiple tasks for the relationship of relying keeps balance.
6. resource allocation methods according to claim 1, which is characterized in that the resource requirement information includes with the next item down
Or it is multinomial:
Each task under the resource use ratio of each task, several described intended applications under several described intended applications
The dependence between multiple tasks under minimum resources demand and several described intended applications.
7. the resource allocation methods according to any one of claim 2 to 6, which is characterized in that execute the money described
Before the step of automatic allocation strategy in source, further include:
Detect whether total resources are distributed by the automatic allocation strategy of the resource enough;
In the case where testing result is that the total resources are insufficient to allocation strategy distribution automatic by the resource, if according to described
The priority of dry intended application is preferably the task under the high intended application of priority or the high intended application of the priority
Execute the automatic allocation strategy of the resource.
8. a kind of resource allocation system, which is characterized in that including:
Resource requirement information acquiring unit obtains the resource requirement information of several running intended applications;
Resource allocation policy determination unit determines corresponding resource according to the resource requirement information of several intended applications
Automatic allocation strategy;
Resource allocation policy execution unit executes the automatic allocation strategy of the resource.
9. resource allocation system according to claim 8, which is characterized in that the resource requirement information includes described several
The dependence between multiple tasks under a intended application, the automatic allocation strategy of resource include:According to several described mesh
The delivery efficiency of each task in mark application distributes resource for each task.
10. a kind of resource allocation terminal, which is characterized in that the resource allocation terminal includes processor and memory;It is described
Memory for storing instruction, when described instruction is executed by the processor, causes the resource allocation terminal to realize such as right
It is required that the method flow described in any one of 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810059124.5A CN108279980A (en) | 2018-01-22 | 2018-01-22 | Resource allocation methods and system and resource allocation terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810059124.5A CN108279980A (en) | 2018-01-22 | 2018-01-22 | Resource allocation methods and system and resource allocation terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108279980A true CN108279980A (en) | 2018-07-13 |
Family
ID=62804414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810059124.5A Pending CN108279980A (en) | 2018-01-22 | 2018-01-22 | Resource allocation methods and system and resource allocation terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108279980A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111597040A (en) * | 2020-04-30 | 2020-08-28 | 中国科学院深圳先进技术研究院 | Resource allocation method, device, storage medium and electronic equipment |
CN111768071A (en) * | 2020-05-18 | 2020-10-13 | 深圳市第一反应信息科技有限公司 | Method and equipment for allocating emergency response resources based on risk assessment |
CN111767134A (en) * | 2020-05-18 | 2020-10-13 | 鹏城实验室 | Multitask dynamic resource scheduling method |
CN111800877A (en) * | 2020-06-30 | 2020-10-20 | 中国联合网络通信集团有限公司 | Terminal resource allocation method and device and electronic equipment |
CN112925595A (en) * | 2021-01-25 | 2021-06-08 | 北京达佳互联信息技术有限公司 | Resource distribution method and device, electronic equipment and storage medium |
CN113641476A (en) * | 2021-08-16 | 2021-11-12 | 腾讯科技(深圳)有限公司 | Task scheduling method, game engine, equipment and storage medium |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102243598A (en) * | 2010-05-14 | 2011-11-16 | 深圳市腾讯计算机系统有限公司 | Task scheduling method and system in distributed data warehouse |
CN102521056A (en) * | 2011-12-28 | 2012-06-27 | 用友软件股份有限公司 | Task allocation device and task allocation method |
CN103235742A (en) * | 2013-04-07 | 2013-08-07 | 山东大学 | Dependency-based parallel task grouping scheduling method on multi-core cluster server |
CN103729254A (en) * | 2013-12-31 | 2014-04-16 | 国网山东省电力公司 | Virtual server Virtual CPU resource monitoring and dynamic allocation method |
CN104123184A (en) * | 2013-04-28 | 2014-10-29 | 国际商业机器公司 | Method and system for allocating resources for tasks in constructing process |
CN104158841A (en) * | 2014-07-09 | 2014-11-19 | 中电科华云信息技术有限公司 | Computing resource allocation method |
CN105045832A (en) * | 2015-06-30 | 2015-11-11 | 北京奇艺世纪科技有限公司 | Data acquisition method and apparatus |
CN105142226A (en) * | 2015-09-01 | 2015-12-09 | 中国联合网络通信集团有限公司 | Resource distribution method and device |
CN105376111A (en) * | 2015-11-13 | 2016-03-02 | 百度在线网络技术(北京)有限公司 | Resource allocation method and device |
CN105764097A (en) * | 2014-12-18 | 2016-07-13 | 中兴通讯股份有限公司 | Resource allocation method and device |
CN106293950A (en) * | 2016-08-23 | 2017-01-04 | 成都卡莱博尔信息技术股份有限公司 | A kind of resource optimization management method towards group system |
CN106354564A (en) * | 2016-08-31 | 2017-01-25 | 深圳天珑无线科技有限公司 | System resource distribution method and system |
CN106528298A (en) * | 2016-12-29 | 2017-03-22 | 努比亚技术有限公司 | Resource distribution method and device |
CN107045456A (en) * | 2016-02-05 | 2017-08-15 | 华为技术有限公司 | A kind of resource allocation methods and explorer |
CN107122235A (en) * | 2017-04-19 | 2017-09-01 | 中国舰船研究设计中心 | Public infrastructure resource regulating method based on application priority |
CN107239347A (en) * | 2017-06-15 | 2017-10-10 | 杭州迪普科技股份有限公司 | A kind of device resource allocation method and apparatus under virtualization scene |
-
2018
- 2018-01-22 CN CN201810059124.5A patent/CN108279980A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102243598A (en) * | 2010-05-14 | 2011-11-16 | 深圳市腾讯计算机系统有限公司 | Task scheduling method and system in distributed data warehouse |
CN102521056A (en) * | 2011-12-28 | 2012-06-27 | 用友软件股份有限公司 | Task allocation device and task allocation method |
CN103235742A (en) * | 2013-04-07 | 2013-08-07 | 山东大学 | Dependency-based parallel task grouping scheduling method on multi-core cluster server |
CN104123184A (en) * | 2013-04-28 | 2014-10-29 | 国际商业机器公司 | Method and system for allocating resources for tasks in constructing process |
CN103729254A (en) * | 2013-12-31 | 2014-04-16 | 国网山东省电力公司 | Virtual server Virtual CPU resource monitoring and dynamic allocation method |
CN104158841A (en) * | 2014-07-09 | 2014-11-19 | 中电科华云信息技术有限公司 | Computing resource allocation method |
CN105764097A (en) * | 2014-12-18 | 2016-07-13 | 中兴通讯股份有限公司 | Resource allocation method and device |
CN105045832A (en) * | 2015-06-30 | 2015-11-11 | 北京奇艺世纪科技有限公司 | Data acquisition method and apparatus |
CN105142226A (en) * | 2015-09-01 | 2015-12-09 | 中国联合网络通信集团有限公司 | Resource distribution method and device |
CN105376111A (en) * | 2015-11-13 | 2016-03-02 | 百度在线网络技术(北京)有限公司 | Resource allocation method and device |
CN107045456A (en) * | 2016-02-05 | 2017-08-15 | 华为技术有限公司 | A kind of resource allocation methods and explorer |
CN106293950A (en) * | 2016-08-23 | 2017-01-04 | 成都卡莱博尔信息技术股份有限公司 | A kind of resource optimization management method towards group system |
CN106354564A (en) * | 2016-08-31 | 2017-01-25 | 深圳天珑无线科技有限公司 | System resource distribution method and system |
CN106528298A (en) * | 2016-12-29 | 2017-03-22 | 努比亚技术有限公司 | Resource distribution method and device |
CN107122235A (en) * | 2017-04-19 | 2017-09-01 | 中国舰船研究设计中心 | Public infrastructure resource regulating method based on application priority |
CN107239347A (en) * | 2017-06-15 | 2017-10-10 | 杭州迪普科技股份有限公司 | A kind of device resource allocation method and apparatus under virtualization scene |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111597040A (en) * | 2020-04-30 | 2020-08-28 | 中国科学院深圳先进技术研究院 | Resource allocation method, device, storage medium and electronic equipment |
CN111597040B (en) * | 2020-04-30 | 2022-09-16 | 中国科学院深圳先进技术研究院 | Resource allocation method, device, storage medium and electronic equipment |
CN111768071A (en) * | 2020-05-18 | 2020-10-13 | 深圳市第一反应信息科技有限公司 | Method and equipment for allocating emergency response resources based on risk assessment |
CN111767134A (en) * | 2020-05-18 | 2020-10-13 | 鹏城实验室 | Multitask dynamic resource scheduling method |
CN111800877A (en) * | 2020-06-30 | 2020-10-20 | 中国联合网络通信集团有限公司 | Terminal resource allocation method and device and electronic equipment |
CN111800877B (en) * | 2020-06-30 | 2023-04-07 | 中国联合网络通信集团有限公司 | Terminal resource allocation method and device and electronic equipment |
CN112925595A (en) * | 2021-01-25 | 2021-06-08 | 北京达佳互联信息技术有限公司 | Resource distribution method and device, electronic equipment and storage medium |
CN113641476A (en) * | 2021-08-16 | 2021-11-12 | 腾讯科技(深圳)有限公司 | Task scheduling method, game engine, equipment and storage medium |
CN113641476B (en) * | 2021-08-16 | 2023-07-14 | 腾讯科技(深圳)有限公司 | Task scheduling method, game engine, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108279980A (en) | Resource allocation methods and system and resource allocation terminal | |
CN111176852A (en) | Resource allocation method, device, chip and computer readable storage medium | |
CN108052384B (en) | Task processing method, service platform and electronic equipment | |
CN112269641B (en) | Scheduling method, scheduling device, electronic equipment and storage medium | |
WO2020177336A1 (en) | Resource scheduling methods, device and system, and central server | |
CN107968802A (en) | The method, apparatus and filtering type scheduler of a kind of scheduling of resource | |
CN108255707B (en) | Development role creating method, device, equipment and storage medium of test case | |
CN113946431B (en) | Resource scheduling method, system, medium and computing device | |
CN112559147B (en) | Dynamic matching method, system and equipment based on GPU (graphics processing Unit) occupied resource characteristics | |
CN109726005A (en) | Method, server system and computer program product for managing resources | |
CN109376011A (en) | The method and apparatus of resource are managed in virtualization system | |
CN110716800B (en) | Task scheduling method and device, storage medium and electronic equipment | |
CN109257399A (en) | Cloud platform application management method and management platform, storage medium | |
CN112887228A (en) | Cloud resource management method and device, electronic equipment and computer readable storage medium | |
CN109729113A (en) | Method, server system and computer program product for managing dedicated processing resources | |
CN115512814A (en) | Doctor allocation method and device for on-line inquiry | |
CN115658311A (en) | Resource scheduling method, device, equipment and medium | |
CN114724694A (en) | Medical resource processing method and device and readable storage medium | |
CN114066245A (en) | Client information processing method, device and storage medium | |
CN111353662A (en) | Scheduling method, device, equipment and storage medium | |
GB2504812A (en) | Load balancing in a SAP (RTM) system for processors allocated to data intervals based on system load | |
CN111796934B (en) | Task issuing method and device, storage medium and electronic equipment | |
CN113129098B (en) | Order allocation method and device | |
CN111445988B (en) | Medical rescue distribution system and method based on quick response | |
CN111459651B (en) | Load balancing method, device, storage medium and scheduling system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258 Applicant after: Shanghai Lianying Medical Technology Co., Ltd Address before: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258 Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd. |
|
CB02 | Change of applicant information |