Resource preemption method and device

A technology of resources and target resources, applied in the field of communication, can solve problems such as unreasonable allocation of resources, and achieve the effect of improving flexibility

Inactive Publication Date: 2016-08-10
LETV HLDG BEIJING CO LTD +1
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the embodiments of the present disclosure is to provide a resource preemption method to solve the problem of unreasonable resource allocation

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 preemption method and device
  • Resource preemption method and device
  • Resource preemption method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] The resource preemption method of the embodiment of the present disclosure is introduced in detail.

[0030] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a resource preemption method in the present disclosure, which may specifically include the following steps:

[0031] Step S102, acquiring a target resource role according to task parameters of the target task; wherein, the target resource role corresponds to at least one resource.

[0032] Embodiments of the present disclosure can be applied to resource allocation of various services such as video upload and transcoding services. Since there are multiple resources such as resource machines processing video upload and transcoding services, in order to facilitate the reasonable allocation of resources, multiple resources can be managed through the resource platform. A resource is divided into multiple resource sets corresponding to a specific division type, that is, resource pools, for ...

Embodiment 2

[0042] Another resource preemption method in the embodiment of the present disclosure is introduced in detail.

[0043] refer to figure 2 , which shows a flow chart of the steps of another resource preemption method embodiment of the present disclosure, which may specifically include the following steps:

[0044] Step S202, matching the task parameters with the resource model, and obtaining the matched resource role.

[0045] Step S204, taking the matched resource role as the target resource role.

[0046] Embodiments of the present disclosure can be applied to resource allocation of various services such as video upload and transcoding services. Due to the large number of resources on the resource platform, in order to facilitate the reasonable allocation of resources, in the embodiment of the present disclosure, multiple resources can be managed through the resource platform, and multiple resources can be divided according to different division types. like image 3 As s...

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 embodiment discloses a resource preemption method and device. The method comprises: obtaining a target resource role according to task parameters of a target task, wherein the target resource role corresponds to at least one resource; when the resources corresponding to the target resource role reach a distribution threshold, obtaining the task attribute information of each task in each resource corresponding to the target resource role; according to the task parameters and task attribute information, determining whether resources capable of being preempted exist; and if the resources capable of being preempted exist, distributing the resources capable of being preempted to a resource requester. The method determines resources capable of being preempted according to the task parameters and task attribution information being processed, allowing an urgent task to be processed in priority, thereby improving system resource distribution flexibility.

Description

technical field [0001] The present disclosure relates to the technical field of communications, and in particular, to a resource preemption method and resource preemption device. Background technique [0002] In recent years, with the continuous expansion of the Internet network scale, the video data that the system needs to process has also increased rapidly. The increase in business volume has led to a rapid increase in access volume and data flow in some core parts of the existing network, and its processing capacity and calculation intensity have also increased accordingly. Since the video data runs in their own exclusive resources, some resources have been queued for tasks, waiting to be executed; while other resources have been idle for a long time. Unreasonable resource allocation and low resource utilization have occurred in some centralized large-scale IT infrastructures. Contents of the invention [0003] The technical problem to be solved by the embodiments of...

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): H04N21/258H04N21/6402
CPCH04N21/25808H04N21/25841H04N21/6402
Inventor 杨继伟王孝庆鲍大磊
Owner LETV HLDG BEIJING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products