CN114327904A - Resource processing method and device - Google Patents

Resource processing method and device Download PDF

Info

Publication number
CN114327904A
CN114327904A CN202111676078.1A CN202111676078A CN114327904A CN 114327904 A CN114327904 A CN 114327904A CN 202111676078 A CN202111676078 A CN 202111676078A CN 114327904 A CN114327904 A CN 114327904A
Authority
CN
China
Prior art keywords
resource
task
subtask
resource processing
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111676078.1A
Other languages
Chinese (zh)
Inventor
徐源
黎正阳
刘强
朱美玲
吴皓彦
仝威
汪立
刘桂青
张悦乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202111676078.1A priority Critical patent/CN114327904A/en
Publication of CN114327904A publication Critical patent/CN114327904A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a resource processing method and a device, wherein the method comprises the following steps: when a resource processing request of a user is received, generating a resource processing task corresponding to the resource processing request, wherein the resource processing task comprises a plurality of subtasks with an execution sequence; determining a task execution node and resource operation information corresponding to each subtask; determining a first subtask in each subtask as a target subtask, and executing resource processing operation, wherein the resource processing operation comprises the following steps: sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node to execute the target subtask; and under the condition that the target subtask is completely executed, taking the next subtask of the target subtask as a new target subtask, and re-executing the resource processing operation until each subtask is completely executed to obtain a resource processing result of the resource processing task. The resource processing efficiency can be improved, and the specification of the resource processing flow can be guaranteed.

Description

Resource processing method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a resource processing method and apparatus.
Background
With the development of information technology, data centers are also more and more widely applied to various fields, and a data center not only comprises a computer system and other matched devices, such as a data center communication and storage system, but also comprises redundant data communication connection, environment control devices, monitoring devices and various safety devices.
At present, in the process of processing resources of a data center, task operations of a plurality of operation platforms are usually involved, which leads to low operation efficiency, and potential hazards of unsafe resource operations exist due to the lack of forward and backward constraints among the operations of the plurality of platforms.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a resource processing method, which can improve the resource processing efficiency and ensure the safety of resource processing.
The invention also provides a resource processing device for ensuring the realization and the application of the method in practice.
A method of resource processing, comprising:
when a resource processing request of a user is received, generating a resource processing task corresponding to the resource processing request, wherein the resource processing task comprises a plurality of subtasks with an execution sequence;
determining a task execution node and resource operation information corresponding to each subtask;
determining a first subtask in each subtask as a target subtask, and executing a resource processing operation, where the resource processing operation includes: sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node corresponding to the target subtask to execute the target subtask based on the received resource operation information;
and under the condition that the target subtask is completely executed, taking the next subtask of the target subtask as a new target subtask, and re-executing the resource processing operation until each subtask is completely executed, and obtaining a resource processing result of the resource processing task.
Optionally, the method for generating the resource processing task corresponding to the resource processing request includes:
determining to-be-processed resource information and a resource operation type corresponding to the resource processing request; the resource operation type is a resource delivery type or a resource change type;
and generating a resource processing task corresponding to the resource processing request according to the resource operation type and the information of the resource to be processed.
Optionally, in the method, the determining the task execution node and the resource operation information corresponding to each subtask includes:
acquiring a task configuration file of the resource processing task;
analyzing the task configuration file to obtain configuration information of the task configuration file;
and determining a task execution node and resource operation information corresponding to each subtask according to the configuration information.
Optionally, in the method, after the sending the resource operation information corresponding to the target subtask to the task execution node corresponding to the target subtask, the method further includes:
acquiring task state information generated by the task execution node executing the target subtask based on the received resource operation information;
and detecting whether the task state information is abnormal or not, and if the task state information is abnormal, sending alarm information.
Optionally, the method further includes, after obtaining the resource processing result of the resource processing task:
and displaying the resource processing result on a preset display interface.
A resource processing apparatus comprising:
the resource processing system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for generating a resource processing task corresponding to a resource processing request when the resource processing request of a user is received, and the resource processing task comprises a plurality of subtasks with an execution sequence;
the determining unit is used for determining a task execution node and resource operation information corresponding to each subtask;
a first execution unit, configured to determine a first subtask in each of the subtasks as a target subtask, and execute a resource processing operation, where the resource processing operation includes: sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node corresponding to the target subtask to execute the target subtask based on the received resource operation information;
and the second execution unit is used for taking the next subtask of the target subtask as a new target subtask and re-executing the resource processing operation under the condition that the target subtask is completely executed, and obtaining the resource processing result of the resource processing task until each subtask is completely executed.
The above apparatus, optionally, the receiving unit includes:
the first determining subunit is configured to determine to-be-processed resource information and a resource operation type corresponding to the resource processing request; the resource operation type is a resource delivery type or a resource change type;
and the generating subunit is configured to generate a resource processing task corresponding to the resource processing request according to the resource operation type and the to-be-processed resource information.
The above apparatus, optionally, the determining unit includes:
the acquiring subunit is used for acquiring a task configuration file of the resource processing task;
the analysis subunit is used for analyzing the task configuration file to obtain the configuration information of the task configuration file;
and the second determining subunit is used for determining the task execution node and the resource operation information corresponding to each subtask according to the configuration information.
The above apparatus, optionally, further comprises:
the acquisition unit is used for acquiring task state information generated by the task execution node executing the target subtask based on the received resource operation information;
and the detection unit is used for detecting whether the task state information is abnormal or not, and sending out alarm information if the task state information is abnormal.
The above apparatus, optionally, further comprises:
and the display unit is used for displaying the resource processing result on a preset display interface.
The embodiment of the invention provides a resource processing method and a device, and the method comprises the following steps: when a resource processing request of a user is received, generating a resource processing task corresponding to the resource processing request, wherein the resource processing task comprises a plurality of subtasks with an execution sequence; determining a task execution node and resource operation information corresponding to each subtask; determining a first subtask in each subtask as a target subtask, and executing a resource processing operation, where the resource processing operation includes: sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node corresponding to the target subtask to execute the target subtask based on the received resource operation information; and under the condition that the target subtask is completely executed, taking the next subtask of the target subtask as a new target subtask, and re-executing the resource processing operation until each subtask is completely executed, and obtaining a resource processing result of the resource processing task. By applying the method provided by the embodiment of the invention, the plurality of subtasks can be executed in sequence, so that the resource processing result of the resource processing task can be obtained, the execution of the plurality of subtasks can be controlled, the resource processing efficiency can be improved, the processing flow of the task can be standardized, and the safety of resource processing can be guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a method for processing resources according to the present invention;
FIG. 2 is a flowchart of a process for generating a resource processing task corresponding to a resource processing request according to the present invention;
FIG. 3 is a diagram illustrating a structure of a process driver module according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a sampling control module according to the present invention;
FIG. 5 is a schematic diagram of a script-based resource collection process provided by the present invention;
FIG. 6 is an exemplary diagram of a resource delivery process provided by the present invention;
fig. 7 is a schematic structural diagram of a resource processing apparatus according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, 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 this application, 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.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
An embodiment of the present invention provides a resource processing method, which may be applied to multiple system platforms, where an execution subject of the method may be a computer terminal or a processor of various mobile devices, and a flowchart of the method is shown in fig. 1, and specifically includes:
s101: when a resource processing request of a user is received, generating a resource processing task corresponding to the resource processing request; the resource processing task comprises a plurality of subtasks having an execution order.
In this embodiment, the resource processing task may be a resource delivery task or a resource change task, and the resource processing task includes sub-tasks having an execution order, for example, when the resource processing task is a resource delivery task, the resource processing task includes an information filling sub-task, a network and environment resource preparation sub-task, a resource production sub-task, a resource configuration sub-task, a resource information collection sub-task, a resource normalization check sub-task, and the like; and when the resource processing task is a resource change task, the resource processing task comprises a management and operation information collection sub-task, an operation execution sub-task, a front and back sequence system monitoring and checking self-task and the like.
Optionally, the resource processing request may include a work order.
S102: and determining a task execution node and resource operation information corresponding to each subtask.
In this embodiment, the task execution node may be various types of electronic devices, for example, the task execution node may be a server, the task execution nodes corresponding to different subtasks may be the same or different, different resource operation information corresponding to different subtasks, and the resource operation information may be used to instruct the task execution node to execute the subtasks, for example, instruct the task execution node to execute an information reporting subtask, a resource configuration subtask, and the like.
S103: determining a first subtask in each subtask as a target subtask, and executing a resource processing operation, where the resource processing operation includes: and sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node corresponding to the target subtask to execute the target subtask based on the received resource operation information.
In this embodiment, a first subtask may be determined in each of the subtasks according to an execution sequence of each subtask, and the first subtask in each subtask may be determined as a target subtask.
S104: and under the condition that the target subtask is completely executed, taking the next subtask of the target subtask as a new target subtask, and re-executing the resource processing operation until each subtask is completely executed, and obtaining a resource processing result of the resource processing task.
In this embodiment, the next subtask of the target subtask may be determined according to the execution sequence of each of the subtasks.
Optionally, the resource processing result may represent an execution state of a resource corresponding to the resource processing task, and the resource corresponding to the resource processing task may be various types of resources, for example, at least one of a data resource, a network resource, a storage resource, a memory resource, and a computing resource.
By applying the method provided by the embodiment of the invention, the plurality of subtasks can be executed in sequence, so that the resource processing result of the resource processing task can be obtained, the execution of the plurality of subtasks can be controlled, the resource processing efficiency can be improved, the processing flow of the task can be standardized, and the safety of resource processing can be guaranteed.
In the method provided in the embodiment of the present invention, based on the foregoing implementation process, optionally, the generating a resource processing task corresponding to the resource processing request includes, as shown in fig. 2:
s201: determining to-be-processed resource information and a resource operation type corresponding to the resource processing request; the resource operation type is a resource delivery type or a resource change type;
in this embodiment, the information of the resource to be processed may be a configuration parameter required for generating the resource or a configuration parameter required for changing the resource.
Optionally, request information included in the resource processing request may be acquired, a work order is acquired from the request information in the resource processing request, and the information of the resource to be processed and the resource operation type are determined based on the work order.
S202: and generating a resource processing task corresponding to the resource processing request according to the resource operation type and the information of the resource to be processed.
In this embodiment, the resource processing task whose resource operation type is a resource delivery type is used to generate a resource to be delivered and deliver the resource to be delivered; the resource operation type is a resource processing task of a resource change type and is used for changing the resource.
In the method provided in the embodiment of the present invention, based on the implementation process, optionally, the determining the task execution node and the resource operation information corresponding to each subtask includes:
acquiring a task configuration file of the resource processing task;
analyzing the task configuration file to obtain configuration information of the task configuration file;
and determining a task execution node and resource operation information corresponding to each subtask according to the configuration information.
In this embodiment, the resource processing task includes a task configuration file, the configuration information in the task configuration file records a correspondence between an identifier of each subtask and an identifier of a task execution node and resource operation information, and the task execution node and the resource operation information corresponding to each subtask are determined according to the correspondence.
In the method provided in the embodiment of the present invention, based on the foregoing implementation process, optionally, after the sending the resource operation information corresponding to the subtask to the task execution node corresponding to each of the subtasks, the method further includes:
acquiring task state information generated by the task execution node executing the target subtask based on the resource operation information;
and detecting whether the task state information is abnormal or not, and if the task state information is abnormal, sending alarm information.
In this embodiment, the task state information may include task progress, task state, and the like of the target subtask, and when the execution duration of the target subtask is greater than a preset duration threshold or an error such as irregular data acquisition exists in the execution process of the target subtask, it is determined that the task state information is abnormal, and in this case, an alarm message may be sent to notify a technician to perform manual correction, or the abnormality may be automatically solved.
In the method provided in the embodiment of the present invention, based on the foregoing implementation process, optionally, after obtaining the resource processing result of the resource processing task, the method further includes:
and displaying the resource processing result on a preset display interface.
In this embodiment, the resource processing result can be displayed in the display interface, so that the user can intuitively know the resource processing condition.
The resource processing method provided in the embodiment of the present invention may be applied to a resource processing system of a data center, where the resource processing system may include: the system comprises a process driving module and an acquisition module, wherein the process driving module is used for integrating manual task nodes and automatic task nodes, namely, the automatic implementation of change application, approval and change is integrated in a change process. As shown in fig. 3, for a structural example diagram of a flow driving module provided in an embodiment of the present invention, a bottom layer of the module is constructed based on an ACTIVITI flow engine, a top layer encapsulates a visual BPMN design interface, and a complete flow design and work order circulation function is constructed through a model, a node, a form, and a field four-layer model. Further, a node is implemented for changes in automated execution of operations. The module constructs a generalized model consisting of four steps of operation selection, execution node designation, input parameter acquisition and operation execution mode selection through abstraction of an operation execution mode. The module bottom layer method utilizes nginx and kafaka as data access and cache queues, utilizes elastic search to store log data in a centralized mode, and utilizes redis.
The acquisition module is used for commanding the acquisition and control agent through the acquisition and control server to realize the large-scale and cross-network acquisition and control integrated target and complete distributed acquisition and control management, and as shown in fig. 4, the acquisition and control module is a structural schematic diagram of the acquisition and control module provided by the embodiment of the invention, and the acquisition and control module mainly comprises a three-level structure of the acquisition and control server, the acquisition and control agent and a managed node. The acquisition and control server side is a top management center in a distributed acquisition and control system, provides a service acquisition and control interface to the outside by registering to a service platform, receives strategies and tasks and issues the strategies and the tasks to an acquisition and control agent for operation. And various resources output in the process of collecting, controlling and agency operation from the lower part are collected in real time, and are handed over to an upper application or data platform for consumption processing. The acquisition and control agent receives the management signaling from the acquisition and control server, and the strategy or task contained in the corresponding signaling is analyzed and executed through an internal execution engine. And various data output generated in the operation execution process is reported to the acquisition and control server side in real time. The acquisition and control agent can transversely expand the acquisition and control capacity through secondary development. The managed node is a target object for implementing acquisition and control actions by the acquisition and control platform, and in a distributed acquisition and control system, the managed node focuses on a resource object on the host equipment level, such as: PC servers, virtual machines, minicomputers, switches, firewalls, and the like. As shown in fig. 5, for a schematic diagram of a process for acquiring resources based on a script provided in an embodiment of the present invention, a user may configure the script through a balanced configuration sub-module, a server stores the script in a database, and when an acquisition and control module receives a resource processing task, the script configured in advance by the user is acquired through a load balancing sub-module, and resources are acquired based on the script.
Optionally, the process driving module specifically includes a process and information summarizing submodule, a resource commissioning delivery module, a resource changing submodule, and an interconnection interaction submodule.
The flow and information gathering submodule is used for connecting all other module functions in series, gathering all management, operation and configuration information, providing a uniform external service window and being an interactive module directly used by a user.
The resource delivery sub-module is configured to implement a resource delivery scenario function and a resource delivery process, as shown in fig. 6, an exemplary diagram of a resource delivery process provided by the implementation of the present invention may include information reporting, network and environment resource preparation, resource production, resource allocation, resource information acquisition, and resource standardization check, and implement a complete flow from resource application to resource production and resource delivery.
And the resource change sub-module is used for realizing the function of a resource change scene, wherein the resource change scene comprises the functions of management and operation information summarization, operation execution, front-back sequence system health check and the like.
And the interconnection interaction submodule is used for realizing the interconnection interaction function with modules for monitoring, configuring, acquiring, operating and the like in the functions of driving resource commissioning and changing scenes in the bottom layer process, and can be integrated into the bottom layer process based on the monitoring, configuring, acquiring and operating platform construction of a data center, and realize the data closed loop of the whole process by utilizing the service of the interconnection interaction submodule.
Corresponding to the method illustrated in fig. 1, an embodiment of the present invention further provides a resource processing apparatus, which is used for specifically implementing the method illustrated in fig. 1, where the resource processing apparatus provided in the embodiment of the present invention may be applied to an electronic device, and a schematic structural diagram of the resource processing apparatus is illustrated in fig. 7, and specifically includes:
a receiving unit 701, configured to generate a resource processing task corresponding to a resource processing request when the resource processing request of a user is received, where the resource processing task includes a plurality of subtasks having an execution order;
a determining unit 702, configured to determine a task execution node and resource operation information corresponding to each of the subtasks;
a first executing unit 703, configured to determine a first subtask in each of the subtasks as a target subtask, and execute a resource processing operation, where the resource processing operation includes: sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node corresponding to the target subtask to execute the target subtask based on the received resource operation information;
a second executing unit 704, configured to, when the target subtask is completely executed, take a next subtask of the target subtask as a new target subtask, and re-execute the resource processing operation until each subtask is completely executed, to obtain a resource processing result of the resource processing task.
In an embodiment of the present invention, based on the foregoing implementation process, optionally, the receiving unit 701 includes:
the first determining subunit is configured to determine to-be-processed resource information and a resource operation type corresponding to the resource processing request; the resource operation type is a resource delivery type or a resource change type;
and the generating subunit is configured to generate a resource processing task corresponding to the resource processing request according to the resource operation type and the to-be-processed resource information.
In an embodiment of the present invention, based on the foregoing implementation process, optionally, the determining unit 702 includes:
the acquiring subunit is used for acquiring a task configuration file of the resource processing task;
the analysis subunit is used for analyzing the task configuration file to obtain the configuration information of the task configuration file;
and the second determining subunit is used for determining the task execution node and the resource operation information corresponding to each subtask according to the configuration information.
In an embodiment provided in the present invention, based on the above scheme, optionally, the resource processing apparatus further includes:
the acquisition unit is used for acquiring task state information generated by the task execution node executing the target subtask based on the received resource operation information;
and the detection unit is used for detecting whether the task state information is abnormal or not, and sending out alarm information if the task state information is abnormal.
In an embodiment provided in the present invention, based on the above scheme, optionally, the resource processing apparatus further includes:
and the display unit is used for displaying the resource processing result on a preset display interface. The specific principle and the execution process of each unit and each module in the resource processing device disclosed in the above embodiment of the present invention are the same as those of the resource processing method disclosed in the above embodiment of the present invention, and reference may be made to corresponding parts in the resource processing method provided in the above embodiment of the present invention, which are not described herein again.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be 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.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The resource processing method provided by the present invention is described in detail above, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for processing resources, comprising:
when a resource processing request of a user is received, generating a resource processing task corresponding to the resource processing request, wherein the resource processing task comprises a plurality of subtasks with an execution sequence;
determining a task execution node and resource operation information corresponding to each subtask;
determining a first subtask in each subtask as a target subtask, and executing a resource processing operation, where the resource processing operation includes: sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node corresponding to the target subtask to execute the target subtask based on the received resource operation information;
and under the condition that the target subtask is completely executed, taking the next subtask of the target subtask as a new target subtask, and re-executing the resource processing operation until each subtask is completely executed, and obtaining a resource processing result of the resource processing task.
2. The method according to claim 1, wherein the generating of the resource processing task corresponding to the resource processing request includes:
determining to-be-processed resource information and a resource operation type corresponding to the resource processing request; the resource operation type is a resource delivery type or a resource change type;
and generating a resource processing task corresponding to the resource processing request according to the resource operation type and the information of the resource to be processed.
3. The method according to claim 1, wherein the determining the task execution node and the resource operation information corresponding to each of the subtasks includes:
acquiring a task configuration file of the resource processing task;
analyzing the task configuration file to obtain configuration information of the task configuration file;
and determining a task execution node and resource operation information corresponding to each subtask according to the configuration information.
4. The method according to claim 1, wherein after the sending the resource operation information corresponding to the target subtask to the task execution node corresponding to the target subtask, the method further includes:
acquiring task state information generated by the task execution node executing the target subtask based on the received resource operation information;
and detecting whether the task state information is abnormal or not, and if the task state information is abnormal, sending alarm information.
5. The method of claim 1, wherein after obtaining the resource processing result of the resource processing task, further comprising:
and displaying the resource processing result on a preset display interface.
6. A resource processing apparatus, comprising:
the resource processing system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for generating a resource processing task corresponding to a resource processing request when the resource processing request of a user is received, and the resource processing task comprises a plurality of subtasks with an execution sequence;
the determining unit is used for determining a task execution node and resource operation information corresponding to each subtask;
a first execution unit, configured to determine a first subtask in each of the subtasks as a target subtask, and execute a resource processing operation, where the resource processing operation includes: sending resource operation information corresponding to the target subtask to a task execution node corresponding to the target subtask to trigger the task execution node corresponding to the target subtask to execute the target subtask based on the received resource operation information;
and the second execution unit is used for taking the next subtask of the target subtask as a new target subtask and re-executing the resource processing operation under the condition that the target subtask is completely executed, and obtaining the resource processing result of the resource processing task until each subtask is completely executed.
7. The apparatus of claim 6, wherein the receiving unit comprises:
the first determining subunit is configured to determine to-be-processed resource information and a resource operation type corresponding to the resource processing request; the resource operation type is a resource delivery type or a resource change type;
and the generating subunit is configured to generate a resource processing task corresponding to the resource processing request according to the resource operation type and the to-be-processed resource information.
8. The apparatus of claim 6, wherein the determining unit comprises:
the acquiring subunit is used for acquiring a task configuration file of the resource processing task;
the analysis subunit is used for analyzing the task configuration file to obtain the configuration information of the task configuration file;
and the second determining subunit is used for determining the task execution node and the resource operation information corresponding to each subtask according to the configuration information.
9. The apparatus of claim 6, further comprising:
the acquisition unit is used for acquiring task state information generated by the task execution node executing the target subtask based on the received resource operation information;
and the detection unit is used for detecting whether the task state information is abnormal or not, and sending out alarm information if the task state information is abnormal.
10. The apparatus of claim 6, further comprising:
and the display unit is used for displaying the resource processing result on a preset display interface.
CN202111676078.1A 2021-12-31 2021-12-31 Resource processing method and device Pending CN114327904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111676078.1A CN114327904A (en) 2021-12-31 2021-12-31 Resource processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111676078.1A CN114327904A (en) 2021-12-31 2021-12-31 Resource processing method and device

Publications (1)

Publication Number Publication Date
CN114327904A true CN114327904A (en) 2022-04-12

Family

ID=81023535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111676078.1A Pending CN114327904A (en) 2021-12-31 2021-12-31 Resource processing method and device

Country Status (1)

Country Link
CN (1) CN114327904A (en)

Similar Documents

Publication Publication Date Title
CN105357038B (en) Monitor the method and system of cluster virtual machine
CN111831420B (en) Method for task scheduling, related device and computer program product
CN110083455B (en) Graph calculation processing method, graph calculation processing device, graph calculation processing medium and electronic equipment
CN110704277B (en) Method for monitoring application performance, related equipment and storage medium
US10116534B2 (en) Systems and methods for WebSphere MQ performance metrics analysis
CN110417613A (en) Distributed performance test method, device, equipment and storage medium based on Jmeter
EP3255833B1 (en) Alarm information processing method, relevant device and system
US8538793B2 (en) System and method for managing real-time batch workflows
WO2004021207A1 (en) Systems and methods for improving service delivery
US20180314549A1 (en) Operational micro-services design, development, deployment
US20100318859A1 (en) Production control for service level agreements
CN115705190A (en) Method and device for determining dependence degree
US20230334027A1 (en) System and method for automatic infrastructure cloud cost optimization and comparison
US8438271B2 (en) Performing services in a network data processing system
CN114327904A (en) Resource processing method and device
CN112448833A (en) Multi-management-domain communication method and device
WO2021174064A1 (en) System and method for infrastructure inventory management, lifecycle management, cloud optimization, and data migration and disk mapping
CN112416743A (en) Test control system, method and equipment
CN114185641A (en) Virtual machine cold migration method and device, electronic equipment and storage medium
CN112416744A (en) Test control system, method and equipment
CN112183982A (en) Workflow creating method and device, computer equipment and storage medium
CN110990237A (en) Information collection system, method and storage medium
CN111240981A (en) Interface testing method, system and platform
CN109995617A (en) Automated testing method, device, equipment and the storage medium of Host Administration characteristic
CN114637564B (en) Data visualization method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination