Correction method and device for task resources of cluster system

文档序号:1398628 发布日期:2020-03-03 浏览:5次 中文

阅读说明:本技术 一种集群系统的任务资源的纠正方法及装置 (Correction method and device for task resources of cluster system ) 是由 王志杰 周伟 浦世亮 王鹏 于 2018-08-23 设计创作,主要内容包括:本申请实施例提供了一种集群系统的任务资源的纠正方法及装置,应用于集群系统中的计算节点,该方法包括:将待处理任务的任务属性作为待匹配的任务属性,并在预设的任务资源表格中查找与该待匹配的任务属性相匹配的任务属性,任务资源表格中的任务属性对应有标准任务资源;将相匹配的任务属性对应的标准任务资源与预设任务资源进行比较;如果相匹配的任务属性对应的标准任务资源与预设任务资源不相等,将相匹配的任务属性对应的标准任务资源上传至集群系统中的管理节点,以使管理节点将预设任务资源更新为相匹配的任务属性对应的标准任务资源。这样避免了人为设定的任务资源存在一定误差的情况,进而提高计算节点的资源的利用率。(The embodiment of the application provides a method and a device for correcting task resources of a cluster system, which are applied to computing nodes in the cluster system, and the method comprises the following steps: taking the task attribute of the task to be processed as the task attribute to be matched, and searching the task attribute matched with the task attribute to be matched in a preset task resource table, wherein the task attribute in the task resource table corresponds to a standard task resource; comparing the standard task resources corresponding to the matched task attributes with preset task resources; and if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute. Therefore, the situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing nodes is improved.)

1. A method for correcting task resources of a cluster system, applied to a computing node in the cluster system, is characterized in that the method comprises:

acquiring preset task resources and task attributes of a task to be processed, and taking the task attributes as task attributes to be matched;

matching the task attributes to be matched with task attributes in a preset task resource table, wherein the task resource table comprises a plurality of task attributes and standard task resources corresponding to the plurality of task attributes respectively, and the standard task resources are resources required when tasks with different task attributes are processed, and are obtained through historical tests or calculation;

if the task attribute matched with the task attribute to be matched exists in the task resource table, comparing the standard task resource corresponding to the matched task attribute with the preset task resource;

and if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute.

2. The method according to claim 1, wherein if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system, includes:

and if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system.

3. The method of claim 2, further comprising:

if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, setting the task state of the task to be processed as an error state, and setting the type of the error state as a resource mismatch type;

and if the standard task resource corresponding to the matched task attribute is equal to or smaller than the preset task resource, setting the task state of the task to be processed to be a normal state.

4. The method according to claim 3, further comprising, after setting the task state of the task to be processed:

and uploading the task state of the task to be processed to the management node, so that the management node judges that the task state is an error state, and when the type of the error state is a resource mismatch type, updating the preset task resource to a standard task resource corresponding to the matched task attribute.

5. The method according to claim 1, wherein the step of obtaining the preset task resources and task attributes of the task to be processed comprises:

receiving task description information sent by a management node;

acquiring preset task resources and task identifiers in the task description information by analyzing the task description information;

acquiring a task to be processed represented by the task identifier;

and acquiring the task attribute of the task to be processed by decoding the task to be processed.

6. A method for correcting task resources of a cluster system is applied to a management node in the cluster system, and is characterized in that the method comprises the following steps:

sending task description information to a computing node in the cluster system, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of a task to be processed, which are represented by the task identifiers, by the computing node;

receiving the standard task resource of the task to be processed uploaded by the computing node when the standard task resource is determined to be unequal to the preset task resource;

and updating the preset task resource to the received standard task resource.

7. The method according to claim 6, wherein the receiving the standard task resource of the to-be-processed task uploaded by the computing node when it is determined that the standard task resource is not equal to the preset task resource comprises:

and receiving the standard task resource of the task to be processed, which is uploaded by the computing node when the standard task resource is determined to be larger than the preset task resource.

8. The method of claim 7, further comprising:

receiving a task state of the task to be processed uploaded by the computing node, wherein the task state is an error state when the standard task resource is larger than the preset task resource, and the task state is a normal state when the standard task resource is equal to or smaller than the preset task resource;

and if the task state is an error state and the type of the error state is a resource mismatch type, updating the preset task resource to the standard task resource.

9. A device for correcting task resources of a cluster system, applied to a computing node in the cluster system, the device comprising:

the system comprises an acquisition module, a matching module and a matching module, wherein the acquisition module is used for acquiring preset task resources and task attributes of a task to be processed and taking the task attributes as task attributes to be matched;

the matching module is used for matching the task attributes to be matched with task attributes in a preset task resource table, the task resource table comprises a plurality of task attributes and standard task resources corresponding to the plurality of task attributes respectively, and the standard task resources are resources required when tasks with different task attributes are processed and are obtained through historical test or calculation;

the comparison module is used for comparing the standard task resource corresponding to the matched task attribute with the preset task resource if the task attribute matched with the task attribute to be matched exists in the task resource table;

and the first uploading module is used for uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute.

10. The apparatus of claim 9, wherein the first upload module is specifically configured to:

and if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system.

11. The apparatus of claim 10, further comprising:

the first setting module is used for setting the task state of the task to be processed as an error state and setting the type of the error state as a resource mismatching type if the standard task resource corresponding to the matched task attribute is larger than the preset task resource;

and the second setting module is used for setting the task state of the task to be processed to be a normal state if the standard task resource corresponding to the matched task attribute is equal to or smaller than the preset task resource.

12. The apparatus of claim 11, further comprising:

and the second uploading module is used for uploading the task state of the task to be processed to the management node so that the management node judges that the task state is an error state, and updates the preset task resource to the standard task resource corresponding to the matched task attribute when the type of the error state is a resource mismatch type.

13. The apparatus of claim 9, wherein the obtaining module comprises:

the receiving submodule is used for receiving the task description information sent by the management node;

the first obtaining submodule is used for obtaining preset task resources and task identifiers in the task description information by analyzing the task description information;

the second obtaining submodule is used for obtaining the to-be-processed task represented by the task identifier;

and the third obtaining submodule is used for obtaining the task attribute of the task to be processed by decoding the task to be processed.

14. A device for correcting task resources of a cluster system, applied to a management node in the cluster system, is characterized in that the device comprises:

the sending module is used for sending task description information to a computing node in the cluster system, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of the task to be processed, which are represented by the task identifiers, by the computing node;

the first receiving module is used for receiving the standard task resource of the to-be-processed task uploaded by the computing node when the standard task resource is determined to be unequal to the preset task resource;

and the first updating module is used for updating the preset task resource into the received standard task resource.

15. The apparatus of claim 14, wherein the first receiving module is specifically configured to:

and receiving the standard task resource of the task to be processed, which is uploaded by the computing node when the standard task resource is determined to be larger than the preset task resource.

16. The apparatus of claim 15, further comprising:

the second receiving module is used for receiving the task state of the to-be-processed task uploaded by the computing node, wherein the task state is an error state when the standard task resource is larger than the preset task resource, and the task state is a normal state when the standard task resource is equal to or smaller than the preset task resource;

and the second updating module is used for updating the preset task resource into the standard task resource if the task state is an error state and the type of the error state is a resource mismatching type.

17. A cluster system, the cluster system comprising: a computing node and a management node;

the computing node is configured to implement the method steps of any of claims 1 to 5;

the management node is configured to implement the method steps of any of claims 6 to 8.

Technical Field

The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for correcting task resources of a cluster system.

Background

As computing services scale up, systems providing support therefor evolve into a server-cluster model. For example, a cluster system providing cluster analysis services is a group of mutually independent computers interconnected by a high-speed network. The individual computers in the cluster system may be referred to as individual nodes and may include a management node and several computing nodes. The management node is used for scheduling each task, and the computing node is used for applying for the tasks from the management node, analyzing and processing the tasks distributed by the management node, and reporting the running state of the processed tasks at regular time.

When the management node schedules the various tasks, each task may be assigned the resources it uses in the compute node. The resources used by each task in the computing node are set by workers according to experience and are stored in the management node. Because the artificially set resources have certain errors, for example, the set resources are too high or too low, and the utilization rate of the resources of the computing nodes is reduced. Therefore, after a task is acquired by a compute node, a correction method is needed to correct the allocated resources for processing the task.

Disclosure of Invention

An object of the embodiments of the present application is to provide a method and an apparatus for correcting task resources of a cluster system, so as to correct resources used by a task in a compute node, and improve a utilization rate of the resources of the compute node. The specific technical scheme is as follows:

in a first aspect, an embodiment of the present application provides a method for correcting task resources of a cluster system, where the method is applied to a computing node in the cluster system, and the method includes:

acquiring preset task resources and task attributes of a task to be processed, and taking the task attributes as task attributes to be matched;

matching the task attributes to be matched with task attributes in a preset task resource table, wherein the task resource table comprises a plurality of task attributes and standard task resources corresponding to the plurality of task attributes respectively, and the standard task resources are resources required when tasks with different task attributes are processed, and are obtained through historical tests or calculation;

if the task attribute matched with the task attribute to be matched exists in the task resource table, comparing the standard task resource corresponding to the matched task attribute with the preset task resource;

and if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute.

Optionally, if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system, including:

and if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system.

Optionally, the method further includes:

if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, setting the task state of the task to be processed as an error state, and setting the type of the error state as a resource mismatch type;

and if the standard task resource corresponding to the matched task attribute is equal to or smaller than the preset task resource, setting the task state of the task to be processed to be a normal state.

Optionally, after the task state of the task to be processed is set, the method further includes:

and uploading the task state of the task to be processed to the management node, so that the management node judges that the task state is an error state, and when the type of the error state is a resource mismatch type, updating the preset task resource to a standard task resource corresponding to the matched task attribute.

Optionally, the step of obtaining the preset task resource and the task attribute of the task to be processed includes:

receiving task description information sent by a management node;

acquiring preset task resources and task identifiers in the task description information by analyzing the task description information;

acquiring a task to be processed represented by the task identifier;

and acquiring the task attribute of the task to be processed by decoding the task to be processed.

In a second aspect, an embodiment of the present application provides a method for correcting task resources of a cluster system, where the method is applied to a management node in the cluster system, and the method includes:

a computing node in the cluster system sends task description information, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of a task to be processed, which are represented by the task identifiers, by the computing node;

receiving the standard task resource of the task to be processed uploaded by the computing node when the standard task resource is determined to be unequal to the preset task resource;

and updating the preset task resource to the received standard task resource.

Optionally, the receiving the standard task resource of the to-be-processed task uploaded by the computing node when it is determined that the standard task resource is not equal to the preset task resource includes:

and receiving the standard task resource of the task to be processed, which is uploaded by the computing node when the standard task resource is determined to be larger than the preset task resource.

Optionally, the method further includes:

receiving a task state of the task to be processed uploaded by the computing node, wherein the task state is an error state when the standard task resource is larger than the preset task resource, and the task state is a normal state when the standard task resource is equal to or smaller than the preset task resource;

and if the task state is an error state and the type of the error state is a resource mismatch type, updating the preset task resource to the standard task resource.

In a third aspect, an embodiment of the present application provides a correction apparatus for task resources of a cluster system, which is applied to a computing node in the cluster system, and the apparatus includes:

the system comprises an acquisition module, a matching module and a matching module, wherein the acquisition module is used for acquiring preset task resources and task attributes of a task to be processed and taking the task attributes as task attributes to be matched;

the matching module is used for matching the task attributes to be matched with task attributes in a preset task resource table, the task resource table comprises a plurality of task attributes and standard task resources corresponding to the plurality of task attributes respectively, and the standard task resources are resources required when tasks with different task attributes are processed and are obtained through historical test or calculation;

the comparison module is used for comparing the standard task resource corresponding to the matched task attribute with the preset task resource if the task attribute matched with the task attribute to be matched exists in the task resource table;

and the first uploading module is used for uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute.

Optionally, the first upload module is specifically configured to:

and if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system.

Optionally, the method further includes:

the first setting module is used for setting the task state of the task to be processed as an error state and setting the type of the error state as a resource mismatching type if the standard task resource corresponding to the matched task attribute is larger than the preset task resource;

and the second setting module is used for setting the task state of the task to be processed to be a normal state if the standard task resource corresponding to the matched task attribute is equal to or smaller than the preset task resource.

Optionally, the method further includes:

and the second uploading module is used for uploading the task state of the task to be processed to the management node so that the management node judges that the task state is an error state, and updates the preset task resource to the standard task resource corresponding to the matched task attribute when the type of the error state is a resource mismatch type.

Optionally, the obtaining module includes:

the receiving submodule is used for receiving the task description information sent by the management node;

the first obtaining submodule is used for obtaining preset task resources and task identifiers in the task description information by analyzing the task description information;

the second obtaining submodule is used for obtaining the to-be-processed task represented by the task identifier;

and the third obtaining submodule is used for obtaining the task attribute of the task to be processed by decoding the task to be processed.

In a fourth aspect, an embodiment of the present application provides a correction apparatus for task resources of a cluster system, where the correction apparatus is applied to a management node in the cluster system, and the apparatus includes:

the sending module is used for sending task description information to a computing node in the cluster system, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of the task to be processed, which are represented by the task identifiers, by the computing node;

the first receiving module is used for receiving the standard task resource of the to-be-processed task uploaded by the computing node when the standard task resource is determined to be unequal to the preset task resource;

and the first updating module is used for updating the preset task resource into the received standard task resource.

Optionally, the first receiving module is specifically configured to:

and receiving the standard task resource of the task to be processed, which is uploaded by the computing node when the standard task resource is determined to be larger than the preset task resource.

Optionally, the method further includes:

the second receiving module is used for receiving the task state of the to-be-processed task uploaded by the computing node, wherein the task state is an error state when the standard task resource is larger than the preset task resource, and the task state is a normal state when the standard task resource is equal to or smaller than the preset task resource;

and the second updating module is used for updating the preset task resource into the standard task resource if the task state is an error state and the type of the error state is a resource mismatching type.

In a fifth aspect, an embodiment of the present application further provides a computing node in a cluster system, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the bus;

a memory for storing a computer program;

and the processor is used for executing the program stored on the memory and realizing the steps of any one of the correction methods applied to the task resources of the cluster system of the computing nodes.

In a sixth aspect, the present invention further provides a computer-readable storage medium, which stores therein a computer program, which when executed by a processor implements the steps of any of the above-mentioned correction methods applied to task resources of a cluster system of computing nodes.

In a seventh aspect, an embodiment of the present application further provides a management node in a cluster system, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the bus;

a memory for storing a computer program;

and the processor is used for executing the program stored in the memory and realizing the steps of any one of the correction methods applied to the task resources of the cluster system of the management node.

In an eighth aspect, the present invention further provides a computer-readable storage medium, which stores therein a computer program, and when the computer program is executed by a processor, the computer program implements the steps of any of the above-mentioned correction methods applied to the task resources of the cluster system of management nodes.

In a ninth aspect, the present invention also provides a cluster system, where the cluster system includes: a computing node and a management node;

the computing node is used for realizing any one of the correction methods applied to the task resources of the cluster system of the computing node;

the management node is used for realizing any one of the correction methods applied to the task resources of the cluster system of the management node.

According to the method and the device for correcting the task resources of the cluster system, the standard task resources used by the task to be processed in the computing node can be searched in the preset task resource table based on the task attribute information of the task to be processed, the standard task resources are compared with the preset task resources, and if the standard task resources are not equal to the preset task resources, the standard task resources are uploaded to the management node, so that the management node updates the preset task resources to the standard task resources, the situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing node is further improved. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a flowchart of a method for correcting task resources of a cluster system according to an embodiment of the present disclosure;

fig. 2 is another flowchart of a method for correcting task resources of a cluster system according to an embodiment of the present disclosure;

fig. 3 is another flowchart of a method for correcting task resources of a cluster system according to an embodiment of the present disclosure;

fig. 4 is another flowchart of a method for correcting task resources of a cluster system according to an embodiment of the present disclosure;

fig. 5 is another flowchart of a method for correcting task resources of a cluster system according to an embodiment of the present disclosure;

fig. 6 is a schematic structural diagram of a correction apparatus for task resources of a cluster system according to an embodiment of the present application;

fig. 7 is another schematic structural diagram of a correction apparatus for task resources of a cluster system according to an embodiment of the present application;

fig. 8 is a schematic structural diagram of a compute node in a cluster system according to an embodiment of the present application;

fig. 9 is a schematic structural diagram of a management node in a cluster system according to an embodiment of the present disclosure.

Detailed Description

In order to improve the utilization rate of resources of a computing node, embodiments of the present application provide a method and an apparatus for correcting task resources of a cluster system.

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In the embodiment of the present application, the cluster system is a group of mutually independent computers interconnected through a high-speed network, and each computer in the cluster system may be referred to as each node, and may include one management node and several computing nodes. The management node is used for scheduling each task, and the computing node is used for applying for the tasks from the management node, analyzing and processing the tasks distributed by the management node, and reporting the running state of the processed tasks at regular time.

As shown in fig. 1, an embodiment of the present application provides a method for correcting task resources of a cluster system, which is applied to a computing node in the cluster system, and the method includes:

s101, acquiring preset task resources and task attributes of the tasks to be processed, and taking the task attributes as the task attributes to be matched.

Specifically, in the embodiment of the present application, the computing node may obtain the preset task resource and the task attribute of the task to be processed by using the following method:

in this embodiment of the present application, the compute node may send a task application request to the management node, so that the management node sends task description information of a task to be processed to the compute node after responding to the task application request. The management node can package the task description information into a message and send the message to the computing node, and the task description information comprises preset task resources and task identifiers. That is, after the computing node receives the task description information sent by the management node, the preset task resource and the task identifier in the task description information can be obtained by analyzing the task description information. And then the computing node can acquire the task to be processed represented by the task identifier, and acquire the task attribute of the task to be processed by decoding the task to be processed.

The preset task resources are set by workers according to experience and are stored in the management node, so that when the management node schedules the tasks to be processed, the preset task resources are set as resources used for processing the tasks to be processed. The task attribute of the task to be processed refers to parameter information of the task to be processed, and can reflect the characteristics of the task to be processed, for example, the task attribute may be the type of the task to be processed, the amount of data to be processed, when the task to be processed is a task related to a video image, the task attribute may also be the resolution of the video image to be processed, and the like.

In the embodiment of the present application, the task attribute of the task to be processed may be used as the task attribute to be matched.

And S102, matching the task attribute to be matched with the task attribute in the preset task resource table.

The task resource table comprises a plurality of task attributes and standard task resources corresponding to the plurality of task attributes respectively, wherein the standard task resources are resources required when tasks with different task attributes are processed and are obtained through historical tests or calculations.

The task attribute can reflect the characteristics of the task to be processed, so when the task to be processed with different task attributes is completed, the task resources required to be used are different. For example, the task attribute may be different resolutions of the video image to be processed, and when the resolution is high, more task resources, such as more memories, are correspondingly required to complete the task to be processed; when the resolution is low, the task to be processed can be completed only by correspondingly needing less task resources.

In the embodiment of the invention, the sample task or the actual task with different task attributes can be adopted in advance for testing or calculation, so that the task resource which is actually needed when the task with different task attributes is completed is determined, and the task resource can be used as a standard task resource.

And performing corresponding test or calculation aiming at each task attribute in advance to obtain the standard task resource corresponding to each task attribute so as to form a task resource table. In the task resource table, standard task resources corresponding to each task attribute may be recorded.

In this embodiment of the present application, the computing node may sequentially match the task attribute to be matched with the task attribute in the task resource table, and determine whether a task attribute matched with the task attribute to be matched exists in the task resource table. For example, the task attribute in the task resource table may be a resolution of the task, and different resolutions correspond to standard task resources, that is, the acquired task attribute to be matched may be a resolution to be matched, and then the resolution to be matched may be matched with the resolution in the task resource table.

In this embodiment of the present application, a preset task resource table may be stored in a memory of a management node, and after a computing node is started, the task resource table may be directly downloaded from the management node and stored in the memory of the computing node. If the task resource table stored in the management node is updated, the version number of the updated task resource table is changed. The management node can send the version number of the preset task resource table to the computing node at regular time, the computing node can compare the received version number of the task resource table with the version number of the task resource table stored in the memory of the computing node, if the version number of the task resource table is not consistent with the version number of the task resource table stored in the memory of the computing node, the task resource table stored in the management node is the updated task resource table, the computing node can directly download the updated task resource table from the management node, and the task resource table before updating is deleted.

S103, if the task attribute matched with the task attribute to be matched exists in the task resource table, comparing the standard task resource corresponding to the matched task attribute with the preset task resource.

In this embodiment of the present application, since the task attribute in the task resource table corresponds to the standard task resource, the computing node may compare the standard task resource corresponding to the matched task attribute with the preset task resource to determine whether the preset task resource is the standard task resource of the task to be processed.

And S104, if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute.

The standard task resource is not equal to the preset task resource, and may be larger or smaller than the preset task resource.

And when the standard task resource is larger than the preset task resource, the distributed preset task resource is less than the standard task resource corresponding to the matched task attribute in the task resource table. That is, when the task to be processed is processed by using the preset task resource, various problems such as abnormal operation and the like may be caused due to insufficient resources. For example, the predetermined task resource may be allocated memory 50M, and the standard task resource may be allocated memory 60M. Obviously, the standard task resources are larger than the preset task resources, and the allocated preset task resources are not enough to execute the task to be processed.

And when the standard task resource is smaller than the preset task resource, indicating that the allocated preset task resource is more than the standard task resource corresponding to the matched task attribute in the task resource table. The task to be processed can be normally executed, but the resource is wasted to a certain extent. For example, the predetermined task resource may be allocated memory 50M, and the standard task resource may be allocated memory 40M. Obviously, the standard task resources are smaller than the preset task resources, and the allocated preset task resources are enough to execute the task to be processed, but cause memory waste.

Therefore, in the embodiment of the present application, if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, the computing node uploads the standard task resource corresponding to the matched task attribute to the management node in the cluster system, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute. That is, when the management node schedules the to-be-processed task next time, the standard task resource corresponding to the matched task attribute may be sent to the computing node as a resource used when the to-be-processed task runs in the computing node, so as to ensure that the to-be-processed task can run normally in the computing node, and ensure effective use of the resource. Meanwhile, the computing node may receive a task deletion request sent by the management node, and delete the to-be-processed task by responding to the received task deletion request.

The method for correcting task resources of a cluster system provided in the embodiments of the present application may search, in a preset task resource table, standard task resources used by a task to be processed in a compute node based on task attribute information of the task to be processed, compare the standard task resources with preset task resources,

if the standard task resource and the standard task resource are not equal, the standard task resource is uploaded to the management node, so that the management node updates the preset task resource to the standard task resource, the condition that certain errors exist in the manually set task resource is avoided, and the utilization rate of the resource of the computing node is further improved.

With reference to the foregoing embodiment, in practical applications, a computing node may only be capable of normally executing a task to be processed under some conditions, so that, optionally, in the method for correcting task resources of a cluster system provided in the embodiment of the present invention, if a standard task resource corresponding to a matched task attribute is not equal to a preset task resource, S104, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system, may include:

and if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system.

And if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, indicating that the allocated preset task resource is not enough to execute the task to be processed. Only in this case, the standard task resource corresponding to the matched task attribute needs to be uploaded to the management node in the cluster system. And updating the preset task resources into standard task resources corresponding to the matched task attributes by the management node. When the preset task resources are allocated to the subsequent tasks to be processed, the preset task resources can enable the computing nodes to execute normally.

And when the standard task resource corresponding to the matched task attribute is less than or equal to the preset task resource, the standard task resource is not uploaded to the management node any more, so that the workload of the management node is reduced. And the computing node can process the task to be processed in time without correcting the preset task resource, so that the efficiency is improved.

As shown in fig. 2, an embodiment of the present application provides a method for correcting task resources of a cluster system, which is applied to a computing node in the cluster system, and the method includes:

s201, acquiring preset task resources and task attributes of the tasks to be processed, and taking the task attributes as the task attributes to be matched.

And S202, matching the task attribute to be matched with the task attribute in the preset task resource table.

S203, if the task attribute matched with the task attribute to be matched exists in the task resource table, comparing the standard task resource corresponding to the matched task attribute with the preset task resource. If the standard task resource corresponding to the matched task attribute is larger than the preset task resource, executing the step S204; and if the standard task resource corresponding to the matched task attribute is equal to or smaller than the preset task resource, executing step S206.

And S204, uploading the standard task resources corresponding to the matched task attributes to a management node in the cluster system.

S205, setting the task state of the task to be processed as an error state, and setting the type of the error state as a resource mismatch type.

In the embodiment of the application, when the standard task resource corresponding to the matched task attribute is greater than the preset task resource, it indicates that the resource actually required to be used when the task to be processed normally runs in the computing node is greater than the preset task resource, that is, the computing node may set the task state of the task to be processed as the error state and set the type of the error state as the resource mismatch type.

And S206, setting the task state of the task to be processed to be a normal state.

And S207, uploading the task state of the task to be processed to the management node, so that the management node judges that the task state is an error state, and when the type of the error state is a resource mismatch type, updating the preset task resource to a standard task resource corresponding to the matched task attribute.

In the embodiment of the present application, the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute, that is, when the management node schedules the task to be processed next time, the standard task resource may be sent to the computing node as a resource used when the task to be processed runs in the computing node, so as to ensure that the task to be processed can run normally in the computing node. Meanwhile, the computing node may receive a task deletion request sent by the management node, and delete the to-be-processed task by responding to the received task deletion request.

The steps S201 to S204 are substantially the same as the steps S101 to S104 in the embodiment shown in fig. 1, and are not described herein again.

According to the method for correcting the task resources of the cluster system, the standard task resources used by the task to be processed in the computing nodes can be searched in a preset task resource table based on the task attribute information of the task to be processed, the standard task resources are compared with the preset task resources, and if the standard task resources are larger than the preset task resources, the standard task resources are uploaded to the management node, so that the management node updates the preset task resources to the standard task resources, the situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing nodes is further improved.

As shown in fig. 3, an embodiment of the present application provides a method for correcting task resources of a cluster system, which is applied to a management node in the cluster system, and the method includes:

s301, task description information is sent to the computing nodes in the cluster system, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of the to-be-processed tasks represented by the task identifiers through the computing nodes.

The standard task resource of the task to be processed is the resource actually used for processing the task to be processed. The preset task resources are set by workers according to experience and are stored in the management node, so that when the management node schedules the tasks to be processed, the preset task resources are set as resources used for processing the tasks to be processed.

In the embodiment of the application, the computing node may obtain the task attribute of the task to be processed by decoding the task to be processed represented by the task identifier, and match the task attribute with the task attribute in the preset task resource table as the task attribute to be matched. And if the task attribute matched with the task attribute to be matched exists in the task resource table, determining the standard task resource corresponding to the matched task attribute as the standard task resource of the task to be processed.

For example, the task attribute in the task resource table may be a resolution of the task, and different resolutions correspond to standard task resources, that is, the acquired task attribute to be matched may be a resolution to be matched, the resolution to be matched may be matched with the resolution in the task resource table, and if a resolution matched with the resolution to be matched exists in the preset task resource table, the standard task resource corresponding to the matched resolution is determined as the standard task resource of the task to be processed.

S302, receiving the standard task resource of the to-be-processed task uploaded by the computing node when the standard task resource is determined to be unequal to the preset task resource.

In the embodiment of the application, when the computing node determines that the standard task resource is not equal to the preset task resource, the standard task resource of the task to be processed may be uploaded to the management node. And if the standard task resources are equal to the preset task resources, the task to be processed can normally run in the computing node.

And S303, updating the preset task resource into the received standard task resource.

In the embodiment of the present application, the management node updates the preset task resource to the received standard task resource, that is, when the management node schedules the to-be-processed task next time, the standard task resource may be sent to the computing node as a resource used when the to-be-processed task runs in the computing node, so as to ensure that the to-be-processed task can run normally in the computing node. Meanwhile, after updating the preset task resources to the received standard task resources, the management node may send a task deletion request to the computing node, so that the computing node deletes the to-be-processed task after responding to the received task deletion request.

According to the method for correcting the task resources of the cluster system, the management node can determine the standard task resources of the to-be-processed task represented by the task identifier by sending the preset task resources and the task identifier to the computing node, and receive the standard task resources of the to-be-processed task uploaded by the computing node when the standard task resources are determined to be unequal to the preset task resources. And updating the preset task resources into the received standard task resources. The situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing nodes is further improved.

Also in practical application, in some cases, the computing node may be only required to be capable of normally executing the task to be processed, so that optionally, S302, receiving the standard task resource of the task to be processed uploaded by the computing node when it is determined that the standard task resource is not equal to the preset task resource, may include:

and receiving the standard task resource of the to-be-processed task uploaded by the computing node when the standard task resource is determined to be larger than the preset task resource.

And the computing node only needs to upload the standard task resources of the to-be-processed task because the to-be-processed task cannot be normally executed when the standard task resources are determined to be larger than the preset task resources. If the standard task resource is less than or equal to the preset task resource, the computing node can normally execute the task to be processed, so that the standard task resource of the task to be processed can not be uploaded to the management node any more, and the workload of the management node is reduced.

As shown in fig. 4, an embodiment of the present application provides a method for correcting task resources of a cluster system, which is applied to a management node in the cluster system, and the method includes:

s401, task description information is sent to the computing nodes in the cluster system, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of the to-be-processed tasks represented by the task identifiers through the computing nodes.

S402, receiving the standard task resource of the to-be-processed task uploaded by the computing node when the standard task resource is determined to be larger than the preset task resource.

And S403, receiving the task state of the to-be-processed task uploaded by the computing node, wherein when the standard task resource is larger than the preset task resource, the task state is an error state, and when the standard task resource is equal to or smaller than the preset task resource, the task state is a normal state.

In the embodiment of the application, if the standard task resource of the task to be processed is greater than the preset task resource, it indicates that the actually used resource of the task to be processed in normal operation in the computing node is greater than the preset task resource, that is, the computing node may set the task state of the task to be processed as the error state and set the type of the error state as the resource mismatch type. If the standard task resource of the task to be processed is equal to or less than the preset task resource, it indicates that the preset task resource is sufficient to support the normal operation of the task to be processed in the computing node, that is, the computing node may set the task state of the task to be processed to a normal state.

S404, if the task state is an error state and the type of the error state is a resource mismatch type, updating the preset task resource to a standard task resource.

In this embodiment of the application, the management node may determine whether the received task state is an error state, and if the task state is the error state and the type of the error state is a resource mismatch type, the management node may update the preset task resource to the standard task resource. That is, when the management node schedules the to-be-processed task next time, the standard task resource may be sent to the compute node as a resource used when the to-be-processed task runs in the compute node, so as to ensure that the to-be-processed task can run normally in the compute node. Meanwhile, after updating the preset task resources to the received standard task resources, the management node may send a task deletion request to the computing node, so that the computing node deletes the to-be-processed task after responding to the received task deletion request.

Steps S401 and S402 are substantially the same as steps S301 and S302 in the embodiment shown in fig. 3, and are not repeated herein.

According to the method for correcting the task resources of the cluster system, the management node can determine the standard task resources of the to-be-processed task represented by the task identifier by sending the preset task resources and the task identifier to the computing node, and receive the standard task resources of the to-be-processed task uploaded by the computing node when the standard task resources are determined to be larger than the preset task resources. And updating the preset task resources into the received standard task resources. The situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing nodes is further improved.

As shown in fig. 5, an embodiment of the present application provides a method for correcting task resources of a cluster system, where the method includes:

s501, the management node sends task description information to the computing nodes in the cluster system, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of the to-be-processed tasks represented by the task identifiers through the computing nodes.

And S502, the computing node acquires the task attribute of the task to be processed, which is represented by the preset task resource and the task identifier in the task description information, and takes the task attribute as the task attribute to be matched.

And S503, the computing node matches the task attribute to be matched with the task attribute in the preset task resource table.

S504, if the task attribute matched with the task attribute to be matched exists in the task resource table, the computing node compares the standard task resource corresponding to the matched task attribute with the preset task resource. If the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, executing step S505; and if the standard task resource corresponding to the matched task attribute is equal to the preset task resource, executing the step S507.

And S505, the computing node uploads the standard task resources corresponding to the matched task attributes to a management node in the cluster system.

S506, the computing node sets the task state of the task to be processed to be an error state and sets the type of the error state to be a resource mismatch type.

And S507, the computing node sets the task state of the task to be processed to be a normal state.

And S508, the computing node uploads the task state of the task to be processed to the management node.

And S509, when the management node determines that the task state of the to-be-processed task uploaded by the computing node is an error state and the type of the error state is a resource mismatch type, the management node updates the preset task resource to a standard task resource corresponding to the matched task attribute.

Steps S502 to S508 are substantially the same as steps S201 to S207 in the embodiment shown in fig. 2, and steps S501 and S509 are substantially the same as steps S401 and S404 in the embodiment shown in fig. 4, and are not repeated herein.

According to the method for correcting the task resources of the cluster system, the standard task resources used by the task to be processed in the computing node can be searched in a preset task resource table based on the task attribute information of the task to be processed, the standard task resources are compared with the preset task resources, and if the standard task resources are not equal to the preset task resources, the standard task resources are uploaded to the management node, so that the management node updates the preset task resources to the standard task resources, the situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing node is improved.

As shown in fig. 6, an embodiment of the present application provides a correction apparatus for task resources of a cluster system, which is applied to a computing node in the cluster system, and the apparatus includes:

the obtaining module 610 is configured to obtain preset task resources and task attributes of the task to be processed, and use the task attributes as task attributes to be matched.

The matching module 620 is configured to match the task attribute to be matched with a task attribute in a preset task resource table, where the task resource table includes multiple task attributes and standard task resources corresponding to the multiple task attributes, and the standard task resources are resources required when processing tasks with different task attributes, and the standard task resources are obtained through historical tests or computations.

The comparing module 630 is configured to, if a task attribute matching the task attribute to be matched exists in the task resource table, compare the standard task resource corresponding to the matched task attribute with a preset task resource.

The first uploading module 640 is configured to, if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, upload the standard task resource corresponding to the matched task attribute to a management node in the cluster system, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute.

The correction device for the task resources of the cluster system, provided by the embodiment of the application, can search the standard task resources used by the task to be processed in the computing node in a preset task resource table based on the task attribute information of the task to be processed, compare the standard task resources with the preset task resources, and if the standard task resources are not equal to the preset task resources, upload the standard task resources to the management node, so that the management node updates the preset task resources to the standard task resources, thereby avoiding the situation that the manually set task resources have certain errors, and further improving the utilization rate of the resources of the computing node.

As an implementation manner of the embodiment of the present application, the first upload module is specifically configured to:

and if the standard task resource corresponding to the matched task attribute is larger than the preset task resource, uploading the standard task resource corresponding to the matched task attribute to a management node in the cluster system.

As an implementation manner of the embodiment of the present application, the apparatus further includes:

and the first setting module is used for setting the task state of the task to be processed as an error state and setting the type of the error state as a resource mismatching type if the standard task resource corresponding to the matched task attribute is larger than the preset task resource.

And the second setting module is used for setting the task state of the task to be processed to be a normal state if the standard task resource corresponding to the matched task attribute is equal to or less than the preset task resource.

As an implementation manner of the embodiment of the present application, the apparatus further includes:

and the second uploading module is used for uploading the task state of the task to be processed to the management node so that the management node judges that the task state is an error state, and when the type of the error state is a resource mismatch type, the preset task resource is updated to the standard task resource corresponding to the matched task attribute.

As an implementation manner of the embodiment of the present application, the obtaining module 610 includes:

and the receiving submodule is used for receiving the task description information sent by the management node.

And the first obtaining submodule is used for obtaining the preset task resource and the task identifier in the task description information by analyzing the task description information.

And the second acquisition submodule is used for acquiring the to-be-processed task represented by the task identifier.

And the third obtaining submodule is used for obtaining the task attribute of the task to be processed by decoding the task to be processed.

The correction device for the task resources of the cluster system, provided by the embodiment of the application, can search the standard task resources used by the task to be processed in the computing node in a preset task resource table based on the task attribute information of the task to be processed, compare the standard task resources with the preset task resources, and if the standard task resources are greater than the preset task resources, upload the standard task resources to the management node, so that the management node updates the preset task resources to the standard task resources, thereby avoiding the situation that the manually set task resources have certain errors, and further improving the utilization rate of the resources of the computing node.

As shown in fig. 7, an embodiment of the present application provides a correction apparatus for task resources of a cluster system, which is applied to a management node in the cluster system, and the apparatus includes:

the sending module 710 is configured to send task description information to a computing node in the cluster system, where the task description information includes preset task resources and task identifiers, and is used for determining, by the computing node, standard task resources of a task to be processed that are indicated by the task identifier.

The first receiving module 720 is configured to receive the standard task resource of the to-be-processed task uploaded by the computing node when it is determined that the standard task resource is not equal to the preset task resource.

The first updating module 730 is configured to update the preset task resource to the received standard task resource.

According to the correction device for the task resources of the cluster system, the management node can determine the standard task resources of the to-be-processed tasks represented by the task identifiers by sending the preset task resources and the task identifiers to the computing nodes, and receive the standard task resources of the to-be-processed tasks uploaded by the computing nodes when the standard task resources are determined to be unequal to the preset task resources. And updating the preset task resources into the received standard task resources. The situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing nodes is further improved.

As an implementation manner of the embodiment of the present application, the first receiving module is specifically configured to:

and receiving the standard task resource of the task to be processed, which is uploaded by the computing node when the standard task resource is determined to be larger than the preset task resource.

As an implementation manner of the embodiment of the present application, the method further includes:

and the second receiving module is used for receiving the task state of the to-be-processed task uploaded by the computing node, wherein the task state is an error state when the standard task resource is larger than the preset task resource, and the task state is a normal state when the standard task resource is equal to or smaller than the preset task resource.

And the second updating module is used for updating the preset task resource into the standard task resource if the task state is the error state and the type of the error state is the resource mismatching type.

According to the correction device for the task resources of the cluster system, the management node can determine the standard task resources of the to-be-processed tasks represented by the task identifiers by sending the preset task resources and the task identifiers to the computing nodes, and receive the standard task resources of the to-be-processed tasks uploaded by the computing nodes when the standard task resources are determined to be unequal to the preset task resources. And updating the preset task resources into the received standard task resources. The situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing nodes is further improved.

The embodiment of the present application further provides a computing node in a cluster system, as shown in fig. 8, including a processor 810, a communication interface 820, a memory 830, and a communication bus 840, where the processor 810, the communication interface 820, and the memory 830 complete communication with each other through the communication bus 840.

A memory 830 for storing computer programs.

The processor 810, when executing the program stored in the memory 830, implements the following steps:

and the computing node acquires preset task resources and task attributes of the tasks to be processed, and takes the task attributes as the task attributes to be matched.

And the computing node matches the task attribute to be matched with the task attribute in a preset task resource table, wherein the task attribute in the task resource table corresponds to standard task resources, and the standard task resources are resources actually used for processing the task.

And if the task attribute matched with the task attribute to be matched exists in the task resource table, the computing node compares the standard task resource corresponding to the matched task attribute with the preset task resource.

And if the standard task resource corresponding to the matched task attribute is not equal to the preset task resource, the computing node uploads the standard task resource corresponding to the matched task attribute to a management node in the cluster system, so that the management node updates the preset task resource to the standard task resource corresponding to the matched task attribute.

According to the method and the device, the standard task resource used by the task to be processed in the computing node can be searched in the preset task resource table based on the task attribute information of the task to be processed, the standard task resource is compared with the preset task resource, and if the standard task resource and the preset task resource are not equal, the standard task resource is uploaded to the management node, so that the management node updates the preset task resource to the standard task resource, the condition that certain errors exist in the manually set task resource is avoided, and the utilization rate of the resource of the computing node is further improved.

The communication bus mentioned in the above-mentioned computing node in the cluster system may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.

The communication interface is used for communication between the computing node and other devices.

The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.

The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.

Accordingly, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned correction methods applied to the task resources of the cluster system of the computing nodes are implemented.

Accordingly, embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform any of the steps of the above-described method for correcting task resources of a cluster system of compute nodes.

The embodiment of the present application further provides a management node in a cluster system, as shown in fig. 9, including a processor 910, a communication interface 920, a memory 930, and a communication bus 940, where the processor 910, the communication interface 920, and the memory 930 complete communication with each other through the communication bus 940.

A memory 930 for storing computer programs.

The processor 910 is configured to implement the following steps when executing the program stored in the memory 930:

the management node sends task description information to the computing nodes in the cluster system, wherein the task description information comprises preset task resources and task identifiers and is used for determining standard task resources of the tasks to be processed, which are represented by the task identifiers, by the computing nodes.

And receiving the standard task resource of the to-be-processed task uploaded by the computing node when the standard task resource is determined to be unequal to the preset task resource.

And updating the preset task resources into the received standard task resources.

The management node in the embodiment of the application can determine the standard task resource of the to-be-processed task represented by the task identifier by sending the preset task resource and the task identifier to the computing node, and receive the standard task resource of the to-be-processed task uploaded by the computing node when the standard task resource is determined to be unequal to the preset task resource. And updating the preset task resources into the received standard task resources. The situation that certain errors exist in the manually set task resources is avoided, and the utilization rate of the resources of the computing nodes is further improved.

The embodiment of the present invention further provides a cluster system, where the cluster system includes: a compute node and a management node. The computing node is used for implementing any one of the above correction methods applied to the task resources of the cluster system of the computing node. The management node is used for realizing any one of the correction methods applied to the task resources of the cluster system of the management node.

In the cluster system, a plurality of computing nodes can be provided, and the plurality of computing nodes can be connected with the management node through a network, such as a local area network or the internet, so that data information can be transmitted among the computing nodes and the management node.

The computing node can search a standard task resource used by the task to be processed in the computing node in a preset task resource table based on task attribute information of the task to be processed, compare the standard task resource with a preset task resource, and if the standard task resource and the preset task resource are not equal to each other, upload the standard task resource to the management node, so that the management node updates the preset task resource to the standard task resource, thereby avoiding the situation that a certain error exists in the manually set task resource and further improving the utilization rate of the resource of the computing node.

An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any of the above steps of the method for correcting task resources of a cluster system of management nodes.

Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform any of the steps of the above-described embodiments of the correction method applied to the task resources of the cluster system of management nodes.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus/compute node/management node/storage medium/computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.

The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

25页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种云分发网络调度系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类