A cloud-based automated workstation management method

By introducing cloud technology into automated operation station management, dynamically adjusting the number of operation stations and resource allocation, the problems of idle hardware resources and high operation and maintenance costs are solved, and efficient utilization of operation stations and system stability are achieved.

CN113986551BActive Publication Date: 2024-11-19SICHUAN ZHONGDIAN AOSTAR INFORMATION TECHNOLOGIES CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111290253.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-02
Publication Date
2024-11-19
Estimated Expiration
2041-11-02

AI Technical Summary

Technical Problem

The existing automated operation station management method leads to idle hardware resources, increases operation and maintenance costs and operation load, and unreasonable task allocation, resulting in increased response time and instability in the system.

Method used

Adopt cloud-based automated job station management method, use real-time analysis and prediction of task requirements through dispatching stations, dynamically adjust the number of job stations, use the computing resources provided by the cloud platform to allocate virtual machines according to the task hardware resource occupation, and realize dynamic expansion of job stations. and resource optimization.

Benefits of technology

It improves hardware resource utilization, reduces operating costs, reduces network overhead, ensures high availability and stability of the system, and realizes dynamic horizontal scaling of the work station.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113986551B_ABST
    Figure CN113986551B_ABST
Patent Text Reader

Abstract

The present invention discloses a cloud-based automated operation station management method, which calculates the next weekly task list to be executed according to the cron expression of executable tasks; the total running time of the task list to be executed is counted by running historical data, and if the total running time is less than half an hour, the basic operation station is used to run the task, otherwise the RPA package in each task in the task list to be executed is parsed, the RPA package is parsed and the RPA action list is obtained, and the hardware resource occupancy of the task is calculated; a virtual machine requirement list is generated according to the number of tasks in the task list to be executed and the hardware resource occupancy of the task, and if the basic operation station meets the generated virtual machine requirement list, the task is assigned to the basic operation station for execution; otherwise, the cloud platform generates a corresponding virtual machine according to the virtual machine requirement list. The present invention reduces the burden of server hardware resource occupancy, thereby effectively saving costs and improving the utilization rate of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automated workstation management, and in particular relates to a cloud-based automated workstation management method. Background Art

[0002] With the development of Industry 3.0 in the past 40 years, a large number of information systems have emerged, improving human work efficiency and quality of life. During this period, robotic process automation has been widely used. In order to ensure the timeliness of task processing at the workstation, sufficient workstations must be provided. Since the number of tasks to be processed is not fixed, most of the workstations are idle most of the time, and these idle resources are not reasonably utilized.

[0003] The existing workstation works in a fixed way. The workstation starts with the dispatch center and sends a heartbeat to the dispatch center every few seconds to ensure that the dispatch center updates the workstation status. After successfully connecting to the dispatch center, the tasks to be executed are obtained from the dispatch center at regular intervals. This fixed workstation startup method increases the hardware resource requirements of the cloud platform, increases the operation and maintenance costs, and increases the operating costs. At the same time, too many workstations are connected to the dispatch center, which will increase the operating load of the dispatch station. Too many workstations compete for tasks, and the average response time of tasks increases. Inconsistent hardware configurations of different workstations will lead to unreasonable task allocation and unsatisfactory operating results.

[0004] The traditional fixed operation mode usually requires the work station to have a fixed operation configuration, which needs to be prepared before the system is run. During the system operation, a single point of failure will occur in the work station cluster, and the problematic work station cannot be reset and restored, resulting in the inability to release the occupied hardware and network resources.

[0005] Therefore, the present invention provides a cloud-based automated work station management method. The present invention adopts cloud-based automated work station management technology to solve such problems, uses real-time analysis and prediction by the scheduling station, connects with the cloud platform, and dynamically adjusts the number of work stations, thereby greatly reducing the system hardware network resource usage. Summary of the invention

[0006] The purpose of the present invention is to provide a cloud-based automated workstation management method, aiming to solve the above problems, so as to improve hardware utilization, support automatic horizontal expansion of workstations, and reduce project operating costs. The present invention changes the fixed operating mode in traditional technology, optimizes the hardware resource occupancy of the workstation while ensuring timely task response, and ensures that the workstation cluster supports dynamic horizontal expansion and high availability, greatly reducing the workload of the cloud platform, thereby reducing the daily operating costs of the project.

[0007] The present invention is mainly achieved through the following technical solutions:

[0008] A cloud-based automated workstation management method comprises the following steps:

[0009] Step S100: After the dispatch station is started, a list of executable tasks is obtained, and a list of tasks to be executed next week is calculated according to the cron expressions of the executable tasks;

[0010] Step S200: Obtain the available computing resources TNS and the number of virtual machines MPC on the cloud platform, and the cloud platform provides resources to the dispatch center and initializes the basic operation station;

[0011] Step S300: Count the total running time of the task list to be executed by running historical data. If the total running time is less than half an hour, use the basic operation station to run the task; otherwise, go to step S400;

[0012] Step S400: parsing the RPA package in each task in the list of tasks to be executed, parsing the RPA package and obtaining the RPA action list, and calculating the hardware resource usage of the task;

[0013] Step S500: Generate a virtual machine requirement list according to the number of tasks in the task list to be executed and the hardware resource occupation of the tasks. If the basic operation station meets the generated virtual machine requirement list, the task is assigned to the basic operation station for execution; otherwise, the cloud platform generates a corresponding virtual machine according to the virtual machine requirement list;

[0014] Step S600: Update the RPA action resource occupancy list in real time based on the actual RPA action hardware occupancy during task execution.

[0015] In the present invention:

[0016] RPA (Robotic Process Automation): can replace or assist humans in completing repetitive work and tasks on digital devices such as computers and mobile phones.

[0017] RPA program: It is a program that packages the RPA automation process and can be run in the RPA automation robot.

[0018] RPA action: An RPA program consists of RPA actions, which can be an automated action, such as simulating opening a browser and entering a web page address.

[0019] Cron expression: The string is separated by 5 or 6 spaces and divided into 6 or 7 fields. Each field represents a meaning, indicating a rule triggered by time.

[0020] In order to better implement the present invention, further, in step S100, the period of the scheduled task is 1 hour, the cron expression corresponding to the task is obtained, the string is split by spaces to obtain the value of each bit, and the trigger time list is calculated according to the expression meaning of each bit after the cron expression is split, and the time set within the last 1 hour that is greater than the current time is filtered out and added to the list of tasks to be executed, and finally the list of tasks to be executed in the next period is calculated.

[0021] In order to better implement the present invention, further, in the step S400, the RPA program package of each task in the task list to be executed is parsed and the RPA action set is extracted, and the resource occupancy of the corresponding action is found in the RPA action resource occupancy list according to the RPA action in the RPA action set, and the sum of the total CPU resources and memory resources occupied by the RPA action set is calculated, and then divided by the total number of RPA action sets to obtain the average RPA program hardware resource occupancy, which is the hardware resource occupancy of the task.

[0022] In order to better implement the present invention, further, in step S500, the calculation process is as follows:

[0023] Assume that task A requires AN virtual machines, the hardware resource occupancy calculated according to step S400 is AP, and the number of tasks calculated according to step S100 is ATC; Assume that task B requires BN virtual machines, the hardware resource occupancy calculated according to step S400 is BP, and the number of tasks calculated according to step S100 is BTC;

[0024] It is known that AN+BN=MPC, AN*AP*ATC+BN*BP*BTC=TNS,

[0025] Calculate AN and BN respectively. When AN and BN are not integers, round them down to integer values.

[0026] In order to better implement the present invention, further, in step S600, the workstation obtains the task, parses the RPA program package, and executes the RPA program. During the execution, the hardware resource occupancy of each RPA action is recorded and sent to the control center in real time.

[0027] In order to better implement the present invention, further, in the step S600, after the task execution is completed within one cycle, the collected RPA action hardware resource occupancy is summarized and averaged according to different actions, and updated to the hardware requirement parameters corresponding to the corresponding RPA action resource occupancy list.

[0028] Beneficial effects of the present invention:

[0029] (1) The present invention considers the problem from a long-term perspective, changes the fixed operation mode of the traditional operation station, reduces the burden of server hardware resource occupation, thereby effectively saving costs and improving system utilization. At the same time, the traditional network interactive access between the dispatching station and a fixed number of operation stations is changed to communication from a dynamic operation station to the dispatching station, reducing network overhead costs;

[0030] (2) The dispatch station of the present invention calculates the task set to be run in the next cycle through the cron expression in the task list. The user can set the execution time of the task according to different needs, and supports cyclic execution and single execution, which meets the multi-faceted needs of users. At the same time, the cron expression method is internationally universal, and it is easier to access third-party platforms, which has good practicality.

[0031] (3) The present invention determines the total running time of the task list to be executed for subsequent processing, limits the maximum hardware resources, and ensures the reliable operation of the cloud platform. The use of basic operation stations can save cloud platform hardware resources, and at the same time, when there are fewer processing tasks, they can be directly run through the basic operation station, simplifying the processing process;

[0032] (4) The present invention accurately calculates the hardware resource occupancy of each RPA program based on the hardware occupancy of the RPA action package, which facilitates the allocation of hardware resources as needed and has good practicality;

[0033] (5) The present invention calculates the demand list of the workstation virtual machines corresponding to the tasks according to the number of tasks and the hardware resource occupancy of the tasks, which more accurately allocates the use of each hardware and has good practicality. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a schematic diagram of the structure of a cloud-based automated operation station;

[0035] Figure 2 It is a principle block diagram of the present invention. DETAILED DESCRIPTION

[0036] Embodiment 1:

[0037] A cloud-based automated workstation management method, such as Figure 2 As shown, the following steps are included:

[0038] Step S100: After the dispatch station is started, a list of executable tasks is obtained, and a list of tasks to be executed next week is calculated according to the cron expressions of the executable tasks;

[0039] Step S200: Obtain the available computing resources TNS and the number of virtual machines MPC on the cloud platform, and the cloud platform provides resources to the dispatch center and initializes the basic operation station;

[0040] Step S300: Count the total running time of the task list to be executed by running historical data. If the total running time is less than half an hour, use the basic operation station to run the task; otherwise, go to step S400;

[0041] Step S400: parsing the RPA package in each task in the list of tasks to be executed, parsing the RPA package and obtaining the RPA action list, and calculating the hardware resource usage of the task;

[0042] Step S500: Generate a virtual machine requirement list according to the number of tasks in the task list to be executed and the hardware resource occupation of the tasks. If the basic operation station meets the generated virtual machine requirement list, the task is assigned to the basic operation station for execution; otherwise, the cloud platform generates a corresponding virtual machine according to the virtual machine requirement list;

[0043] Step S600: Update the RPA action resource occupancy list in real time based on the actual RPA action hardware occupancy during task execution.

[0044] Furthermore, in step S100, the period of the scheduled task is 1 hour, and the cron expression corresponding to the task is obtained. The value of each bit is obtained by splitting the string by spaces, and the trigger time list is calculated according to the expression meaning of each bit after the cron expression is split. The time set within the last hour that is greater than the current time is filtered out and added to the list of tasks to be executed, and finally the list of tasks to be executed in the next period is calculated.

[0045] The dispatch station of the present invention calculates the task set to be run in the next cycle through the cron expression in the task list. The user can set the execution time of the task according to different needs, and supports cyclic execution and single execution to meet the multi-faceted needs of the user. At the same time, the cron expression method is internationally universal, and the third-party platform access is easier, which has good practicality.

[0046] like Figure 1 As shown in the figure, the dispatch center is responsible for managing and maintaining user task information and has the ability to maintain and manage subordinate workstations. Workstation is the client responsible for running RPA work tasks. SG-VCS is a virtualization platform developed by Sichuan China Electric Power Venus. It is a resource management technology that abstracts and converts various physical resources of computers, such as servers, networks, memory and storage, and then presents them, and integrates various management functions.

[0047] The cloud-based automated operation station management technology is different from the traditional server management technology. The dispatching station dynamically manages the hardware resources and quantity of the operation station through the cloud platform control center according to its own needs. Compared with the traditional server management method, the advantage of the present invention is that under the same hardware server conditions, the operation station resource occupation is changed from fixed to dynamic according to the needs of the dispatching station, which effectively reduces the occupation of cloud platform resources, improves the efficiency of hardware use, reduces the workload of the dispatching station, and improves the stability of the system.

[0048] The present invention considers the problem from a long-term perspective, changes the fixed operation mode of the traditional operation station, reduces the burden of server hardware resource occupation, thereby effectively saving costs and improving system utilization. At the same time, the traditional network interactive access between the dispatching station and a fixed number of operation stations is changed to communication from a dynamic operation station to the dispatching station, which reduces the network overhead cost and has good practicality.

[0049] Embodiment 2:

[0050] This embodiment is optimized on the basis of the embodiment 1. In the step S600, after obtaining the task, the workstation parses the RPA program package and executes the RPA program. During the execution, the hardware resource occupancy of each RPA action is recorded and sent to the control center in real time.

[0051] Furthermore, in step S600, after the execution of the task within one cycle is completed, the collected RPA action hardware resource occupancy information is summarized and averaged according to different actions, and updated to the hardware requirement parameters corresponding to the corresponding RPA action resource occupancy list.

[0052] The other parts of this embodiment are the same as those of Embodiment 1, and thus will not be described in detail.

[0053] Embodiment 3:

[0054] This embodiment is optimized on the basis of Embodiment 1 or 2. In step S400, the RPA program package of each task in the list of tasks to be executed is parsed and the RPA action set is extracted. The resource occupancy of the corresponding action is found in the RPA action resource occupancy list according to the RPA action in the RPA action set. The sum of the total CPU resources and memory resources occupied by the RPA action set is calculated and then divided by the total number of RPA action sets to obtain the average RPA program hardware resource occupancy, which is the hardware resource occupancy of the task.

[0055] Furthermore, in step S500, the calculation process is as follows:

[0056] Assume that task A requires AN virtual machines, the hardware resource occupancy calculated according to step S400 is AP, and the number of tasks calculated according to step S100 is ATC; Assume that task B requires BN virtual machines, the hardware resource occupancy calculated according to step S400 is BP, and the number of tasks calculated according to step S100 is BTC;

[0057] It is known that AN+BN=MPC, AN*AP*ATC+BN*BP*BTC=TNS,

[0058] Calculate AN and BN respectively. When AN and BN are not integers, round them down to integer values.

[0059] The present invention calculates a demand list of a workstation virtual machine corresponding to a task according to the number of tasks and the occupation of task hardware resources, more accurately allocates the use of each hardware, and has good practicality.

[0060] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1 or 2, and thus will not be described in detail.

[0061] Embodiment 4:

[0062] A cloud-based automated workstation management method, such as Figure 2 As shown, the following steps are included:

[0063] 1. After the dispatch station service is started, it executes the scheduled task (once every hour). According to the cron expression (planned task expression) of the tasks to be executed in the total task list, the detailed list of tasks to be executed in the next hour is calculated respectively. The calculation method is: get the cron expression corresponding to the task, split the string by space to get the value of each bit, calculate the trigger time list according to the expression meaning of each bit after the cron expression is split, filter out the time set within the last hour that is greater than the current time, and add it to the list of tasks to be executed.

[0064] The advantages of using this method are: users can set the execution time of the task according to different needs, and support cyclic execution and single execution to meet the multi-faceted needs of users. At the same time, the cron expression method is internationally applicable and easier to access third-party platforms.

[0065] 2. Obtain the computing resources that the cloud platform can provide, as well as the maximum computing resources and number of virtual machines MPC that the cloud platform can provide to the dispatch center. The initialization workstation is the basic workstation configuration that meets the general situation, which only occupies a small part of the resources that the cloud platform can provide. The total running time of the tasks in the queue list is counted by running historical data. If the total time is less than half an hour, the basic workstation will run the task directly and end it. If the time is more than half an hour, the subsequent process will continue.

[0066] Advantages of this part: Limit the maximum hardware resources to ensure the reliable operation of the cloud platform. Use the basic operation station to save the hardware resources of the cloud platform. At the same time, when there are fewer processing tasks, they can be directly run through the basic operation station to simplify the processing process.

[0067] 3. Each task contains a corresponding RPA package. Parse the package to extract the RPA action set. Find the resource occupancy of the corresponding action in the RPA action resource occupancy list according to the RPA action in the set, such as cpu1.6Ghz, memory 300M. Calculate the total CPU resources and memory resources occupied by the action set, and then divide them by the total number of action sets to obtain the average RPA program hardware resource occupancy and task hardware resource occupancy.

[0068] Advantages of this part: Accurately calculate the hardware resource usage of each RPA program and allocate hardware resources as needed.

[0069] 4. Assume that task A requires AN virtual machines, the hardware resource usage is AP (obtained in part 3), and the number of tasks is ATC (obtained in step 1); task B requires BN virtual machines, the hardware resource usage is BP (obtained in part 3), and the number of tasks is BTC (obtained in step 1). Given that AN+BN=MPC, AN*AP*ATC+BN*BP*BTC=TNS (the cloud platform can provide the maximum resources), round down AN and BN if they are not integers. The above method can be used to obtain the virtual machine requirement list. If the basic operation station meets the generated virtual machine requirement list, the task is directly assigned to the basic operation station for execution.

[0070] Advantages of this part: The requirement list corresponding to the task is calculated according to the number of tasks and the hardware resource usage of the task, and the use of each hardware is allocated more accurately.

[0071] 5. The cloud platform generates corresponding virtual machine operation stations based on the virtual machine requirement list.

[0072] 6. After receiving the task, the workstation parses the RPA program package and executes the RPA program. During the execution, the hardware resource usage of each RPA action is recorded and sent to the control center in real time.

[0073] 7. When the task is completed within 1 hour, the collected RPA action hardware resource usage will be summarized and averaged according to different actions, and each will be updated to the hardware requirement parameters corresponding to the RPA action resource usage list.

[0074] like Figure 1As shown, the cloud-based automated operation station management technology is different from the traditional server management technology. The dispatching station dynamically manages the hardware resources and quantity of the operation station through the cloud platform control center according to its own needs. Compared with the traditional server management method, the advantage of the present invention is that under the same hardware server conditions, the operation station resource occupation is changed from fixed to dynamic according to the needs of the dispatching station, which effectively reduces the occupation of cloud platform resources, improves the efficiency of hardware use, reduces the workload of the dispatching station, and improves the stability of the system.

[0075] The present invention considers the problem from a long-term perspective, changes the fixed operation mode of the traditional operation station, reduces the burden of server hardware resource occupation, thereby effectively saving costs and improving system utilization. At the same time, the traditional network interactive access between the dispatching station and a fixed number of operation stations is changed to communication from a dynamic operation station to the dispatching station, which reduces the network overhead cost and has good practicality.

[0076] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. A cloud-based automated workstation management method, characterized in that: The following steps are involved: Step S100: After the dispatch station is started, a list of executable tasks is obtained, and a list of tasks to be executed next week is calculated according to the cron expressions of the executable tasks; Step S200: Obtain the available computing resources TNS and the number of virtual machines MPC on the cloud platform, and the cloud platform provides resources to the dispatch center and initializes the basic operation station; Step S300: Count the total running time of the task list to be executed by running historical data. If the total running time is less than half an hour, use the basic operation station to run the task; Otherwise, proceed to step S400; Step S400: parsing the RPA package in each task in the list of tasks to be executed, parsing the RPA package and obtaining the RPA action list, and calculating the hardware resource usage of the task; In the step S400, the RPA program package of each task in the to-be-executed task list is parsed and the RPA action set is extracted. The resource occupancy of the corresponding action is found in the RPA action resource occupancy list according to the RPA action in the RPA action set. The sum of the total CPU resources and memory resources occupied by the RPA action set is calculated and then divided by the total number of RPA action sets to obtain the average RPA program hardware resource occupancy, which is the hardware resource occupancy of the task. Step S500: Generate a virtual machine requirement list according to the number of tasks in the task list to be executed and the hardware resource occupation of the tasks. If the basic operation station meets the generated virtual machine requirement list, the task is assigned to the basic operation station for execution; Otherwise, the cloud platform generates corresponding virtual machines according to the virtual machine requirement list; Step S600: Update the RPA action resource occupancy list in real time based on the actual RPA action hardware occupancy during task execution.

2. The cloud-based automated workstation management method according to claim 1, characterized in that: In step S100, the period of the scheduled task is 1 hour. The cron expression corresponding to the task is obtained, and the value of each bit is obtained by splitting the string by spaces. According to the expression meaning of each bit after the cron expression is split, the trigger time list is calculated, and the time set within the last hour that is greater than the current time is filtered out and added to the list of tasks to be executed. Finally, the list of tasks to be executed in the next period is calculated.

3. A cloud-based automated workstation management method according to claim 1 or 2, characterized in that: In step S500, the calculation process is as follows: Assume that task A requires AN virtual machines, the hardware resource occupancy calculated according to step S400 is AP, and the number of tasks calculated according to step S100 is ATC; Assume that task B requires BN virtual machines, the hardware resource occupancy calculated according to step S400 is BP, and the number of tasks calculated according to step S100 is BTC; It is known that AN+BN=MPC, AN*AP*ATC+BN*BP*BTC=TNS, Calculate AN and BN respectively. When AN and BN are not integers, round them down to integer values.

4. The cloud-based automated workstation management method according to claim 1, characterized in that: In step S600, after obtaining the task, the workstation parses the RPA program package and executes the RPA program. During the execution, the hardware resource usage of each RPA action is recorded and sent to the control center in real time.

5. The cloud-based automated workstation management method according to claim 4, characterized in that: In step S600, after the execution of tasks within one cycle is completed, the collected RPA action hardware resource occupancy information is summarized and averaged according to different actions, and updated to the hardware requirement parameters corresponding to the corresponding RPA action resource occupancy list.

Citation Information

Patent Citations

  • Virtual machine resource management method and system and related equipment

    CN110764873A

  • Cloud data center resource scheduling method for improving resource utility

    CN112416516A

  • Task processing method based on Android virtual machine and computer equipment

    CN112817748A

  • Automatic inspection system applied to enterprise production management and control

    CN213659498U

  • Systems and methods of autonomic virtual network management

    US20160078342A1