Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Resource isolation method, distributed platform, computer equipment and storage medium

A distributed platform, computer program technology, applied in the direction of resource allocation, calculation, program control design, etc., can solve the problems of resource conflict, full resource, etc., and achieve the effect of avoiding the conflict of resource application

Pending Publication Date: 2020-12-22
SHANGHAI BILIBILI TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the inventor found that the current method of over-segmenting physical devices divides one physical device into two, so that one physical device is over-divided into two logical devices, and the two logical devices are assigned to two task instances When , it is equivalent to two task instances sharing the same physical device. This shared scheduling method still has the following problems: some processes of a task instance in the prior art will occupy all of some resources on a physical device, then Conflicts of this type of resource arise when other task instances are assigned to the physical device

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 isolation method, distributed platform, computer equipment and storage medium
  • Resource isolation method, distributed platform, computer equipment and storage medium
  • Resource isolation method, distributed platform, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034]Embodiment 1 of the present invention provides a resource isolation method. In an application scenario, the execution subject of the resource isolation method may be the resource processing device in the processing node of the distributed platform. When the management node of the distributed platform assigns the task When dispatching to a certain processing node, the task creation device in the processing node creates a task instance. During the execution of the task instance, the resource processing device allocates the target resources required by each process of each task instance to realize the task instance Resource isolation between. specifically, figure 1 A flow chart of the resource isolation method provided by the embodiment of the present invention, such as figure 1 As shown, the resource isolation method provided in this embodiment includes the following steps S101 to S105.

[0035] Step S101: Obtain the processes to be run in the task instance.

[0036] A ...

Embodiment 2

[0070] Corresponding to the above-mentioned first embodiment, the second embodiment of the present invention provides a resource isolation module, and the corresponding technical features and technical effects are not described in detail in this embodiment, and the above-mentioned first embodiment can be referred to for related matters. specifically, image 3 The block diagram of the resource isolation module provided for the embodiment of the present invention, such as image 3 As shown, the module includes a first acquiring unit 301 , a first judging unit 302 , a second judging unit 303 and a processing unit 304 .

[0071] Wherein, the first obtaining unit 301 is used to obtain the process to be run in the task instance; the first judging unit 302 is used to judge whether the process to be run needs to consume target resources, wherein the task instance includes one or more processes; the second judging unit 303 is used to determine whether the sum of the first resource amo...

Embodiment 3

[0079] Embodiment 3 of the present invention provides a distributed platform, Figure 4 The block diagram of the distributed platform provided for the embodiment of the present invention, such as Figure 4 As shown, the distributed platform includes: a management node 41 and several processing nodes 42, the processing node 42 includes a target resource 421, a task creation device 422 and a resource processing device 423, and the resource processing device 423 includes a resource isolation module 4231 and a resource management module 4232 .

[0080] Among them, the management node 41 is used to schedule tasks to the processing nodes 42 according to the information of the target resource on each processing node 42; the task creation device 422 is used to create a task instance when it is scheduled on the processing node 42 where it is located; the resource management module 4232 It is used to report the information of the target resource on the processing node 42 where it is lo...

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 provides a resource isolation method, a distributed platform, computer equipment and a storage medium. The resource isolation method comprises the following steps: acquiring a to-be-runprocess in a task instance; judging whether the to-be-run process needs to consume a target resource or not, wherein the task instance comprises one or more processes; when the to-be-operated processneeds to consume the target resource, judging whether the sum of a first resource quantity and a second resource quantity is greater than a resource application quantity or not; when the sum of the first resource quantity and the second resource quantity is greater than the resource application quantity, returning identification information representing that the to-be-run process resource application fails to the task instance; and when the sum of the first resource quantity and the second resource quantity is smaller than or equal to the resource application quantity, allocating a target resource of the second resource quantity to the to-be-run process. According to the method, resource conflicts can be avoided.

Description

technical field [0001] The present invention relates to the technical field of distributed platforms, in particular to a resource isolation method, a distributed platform, computer equipment and storage media. Background technique [0002] In order to improve the task processing capability and task processing reliability of a single node, the prior art proposes a distributed platform, which centrally manages resources in several physical server nodes or virtual machine nodes, and responds to task requests. Among them, in order to improve the resource utilization rate of the distributed platform, there are related researches in the prior art to over-segregate the physical devices in the nodes, so that the logical number of physical devices in the nodes is greater than the actual number of physical devices, and the shared scheduling of physical devices is realized. . [0003] However, the inventor found that the current method of over-segmenting physical devices divides one p...

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
IPC IPC(8): G06F9/50G06F9/48G06F9/448
CPCG06F9/5072G06F9/5077G06F9/5027G06F9/4806G06F9/4482
Inventor 刘鑫龚亚辉孙英男涂中英王炜煜
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products