Task submission method, electronic equipment and storage medium

By displaying the configuration components of the computing software and generating task scripts, the problem of cumbersome task configuration process and high user learning costs in computing power resource applications is solved, and the application convenience of computing power resources is improved.

CN119201212AInactive Publication Date: 2024-12-27TIANJIN TIANHE COMPUTER TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411710128.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2024-12-27
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN119201212A_ABST
    Figure CN119201212A_ABST
Patent Text Reader

Abstract

The invention provides a task submission method, electronic equipment and a storage medium, and the task submission method comprises the steps: responding to a received task instruction of a user, and displaying a configuration component for target calculation software; receiving configuration parameters input by a user based on the configuration component; generating a task script according to the configuration parameters, the configuration component and the identification information of the target calculation software; and submitting the task script to a target cluster. The problems that in a computing power resource application scene, the task configuration process is tedious, and the user learning cost is high are solved, and the application convenience of computing power resources is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a task submission method, electronic device and storage medium. Background Art

[0002] With the large-scale application of computing resources (such as artificial intelligence and high-performance computing clusters), higher and higher requirements are placed on the convenience and speed of computing resource application. How to efficiently apply computing resources is becoming an increasingly key factor restricting the popularization of computing resource applications.

[0003] At least the following problems exist in the current computing resource applications: the software learning cost is high. When users use computing resources to submit tasks, they need to learn and master the use process of different computing software, learn the computing software documentation, understand the input and output parameters of the computing software, and then write task configuration scripts that are adapted to the computing software. However, ordinary users do not have this ability and need professional software technicians to train them. In addition to learning the relevant content of the computing software, users also need to learn and understand the commands of the scheduling system (such as slurm, volcano, etc.), and make adaptive adjustments to the written task configuration scripts so that they can be scheduled and managed by the corresponding scheduling system, and finally realize the execution of the task (the adjusted script is submitted to the corresponding cluster, and the scheduling system on the corresponding cluster schedules and manages it, and finally realizes the execution of the task). The whole process is cumbersome and the professional threshold is high, which is very unfavorable to the rational and efficient application of computing resources.

[0004] Therefore, this application is specially filed. Summary of the invention

[0005] In view of this, the purpose of this application is to propose a task submission method, electronic device and storage medium, aiming to solve the problems of cumbersome task configuration process and high user learning cost in computing power resource application scenarios, thereby greatly improving the convenience of computing power resource application.

[0006] Based on the above objectives, in a first aspect, the present application provides a task submission method, comprising:

[0007] In response to receiving a task instruction from a user, displaying a configuration component for the target computing software;

[0008] receiving configuration parameters input by a user based on the configuration component;

[0009] Generate a task script according to the configuration parameters, the configuration components and the identification information of the target computing software;

[0010] Submit the task script to the target cluster.

[0011] Further, the task instruction of the user is a voice instruction, and the display of the configuration component for the target computing software in response to receiving the task instruction of the user includes:

[0012] Performing voice recognition on the task instruction of the user to obtain corresponding text information;

[0013] Calculating similarity between the text information and each task description information in a script library, wherein the script library includes different task description information, and each task description information is associated with a corresponding configuration script;

[0014] Obtain the configuration script corresponding to the task description information with the highest similarity;

[0015] The configuration script is rendered to display configuration components for the target computing software.

[0016] Furthermore, before calculating the similarity between the text information and each task description information in the script library, the method further includes:

[0017] Performing semantic recognition on the text information to determine the computing software involved in the text information;

[0018] Determining the computing software involved in the text information as the target computing software;

[0019] Correspondingly, the similarity calculation between the text information and each task description information in the script library includes:

[0020] The similarity between the text information and each task description information belonging to the target computing software in the script library is calculated.

[0021] Further, in response to receiving the task instruction from the user, displaying the configuration components for the target computing software includes:

[0022] Inputting the user's task instructions into a trained large language model to obtain a configuration script;

[0023] The configuration script is rendered to display configuration components for the target computing software.

[0024] Further, in response to receiving the task instruction from the user, displaying the configuration components for the target computing software includes:

[0025] In response to receiving a user's drag instruction for a target component in a predefined component library, displaying the target component as the configuration component;

[0026] Alternatively, in response to receiving a selection instruction from a user for a preset template, displaying the components included in the preset template as the configuration components;

[0027] The user's task instruction includes the drag instruction or the selection instruction.

[0028] Further, generating a task script according to the configuration parameters, the configuration components and the identification information of the target computing software includes:

[0029] Determine identification information of the scheduling system according to the configuration parameters;

[0030] Determining a script template stored in association with the configuration component that matches identification information of the scheduling system and identification information of the target computing software;

[0031] The configuration parameters are used to replace corresponding parameters in the script template to obtain the task script.

[0032] Further, submitting the task script to the target cluster includes:

[0033] The task script and the required input files are transmitted to the distributed memory of the target cluster through an asynchronous processing tool, and the task script and the input files are read and executed from the distributed memory through a computing interface corresponding to the target computing software.

[0034] Furthermore, it also includes:

[0035] Displaying the running information of the task script in a graphical form, the running information including one or more of the node load of the running task, the network traffic change rate, the node memory utilization rate, the storage read throughput, and the storage write throughput;

[0036] In response to receiving the task execution cancellation instruction, the task script currently being executed in the control target cluster stops executing.

[0037] Based on the above purpose, in a second aspect, the present application also provides a task submission device, including:

[0038] A display module, for displaying configuration components for target computing software in response to receiving a task instruction from a user;

[0039] A receiving module, used for receiving configuration parameters input by a user based on the configuration component;

[0040] A generation module, used to generate a task script according to the configuration parameters, the configuration components and the identification information of the target computing software;

[0041] The submission module is used to submit the task script to the target cluster.

[0042] Based on the above purpose, in a third aspect, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the task submission method as described in the first aspect above is implemented.

[0043] Based on the above purpose, in a fourth aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the task submission method as described in the first aspect above.

[0044] From the above, it can be seen that the task submission method provided by the present application can display the configuration components of the relevant computing software according to the user's task instructions, so that the user can configure the relevant parameters based on the guidance of the configuration components, and then automatically generate a task script based on the configured relevant parameters, configuration components and identification information of the target computing software, and submit the task script to the target cluster, which solves the problems of cumbersome task configuration process and high user learning cost in the computing power resource application scenario, and greatly improves the convenience of computing power resource application. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 A flowchart of a task submission method according to an embodiment of the present application is shown in FIG. Figure 1 ;

[0047] Figure 2 A schematic diagram of a display interface of a configuration component of an embodiment of the present application;

[0048] Figure 3 A flowchart of a task submission method according to an embodiment of the present application is shown in FIG. Figure 2 ;

[0049] Figure 4 A flowchart of a task submission method according to an embodiment of the present application is shown in FIG. Figure 3 ;

[0050] Figure 5 A flowchart of a task submission method according to an embodiment of the present application is shown in FIG. Figure 4 ;

[0051] Figure 6 A schematic diagram of the structure of a task submission device according to an embodiment of the present application;

[0052] Figure 7 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0054] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0055] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0056] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0057] Embodiment 1

[0058] Figure 1 A flowchart of a task submission method is shown. The task submission method can be executed by a task submission device, which can be implemented in the form of software and / or hardware and can be integrated into an electronic device.

[0059] like Figure 1 As shown, the task submission method includes the following steps:

[0060] S110 . In response to receiving a task instruction from a user, display configuration components for the target computing software.

[0061] The user's task instruction can be a description of the task, such as "generate a Lammps task configuration with slurm as the scheduling tool". Slurm is the name of the scheduling tool, which is a software tool for cluster resource management and job scheduling. Lammps refers to a large-scale atomic and molecular parallel simulator, which is a specific computing software. That is, the user only needs to issue a simple task description, and the system can display the configuration components in a targeted manner, and guide the user to fill in the configuration parameters through the configuration components. In this way, the user does not need to learn and master the use process of the computing software, learn the documentation of the computing software, understand the input and output parameters of the computing software, etc., to complete the task configuration for the computing software, which reduces the learning cost and improves convenience.

[0062] Furthermore, the user can also specify the input method of the configuration parameters, for example, directly fill in the configuration parameters or select existing configuration parameters through a drop-down box. When the user does not know much about cluster resources and computing software, the input method of the configuration parameters can be specified as selecting existing configuration parameters through a drop-down box. When the user has some understanding of cluster resources and computing software and wants to configure the parameters in a personalized way, the input method of the configuration parameters can be specified as filling in the configuration parameters.

[0063] S120: Receive configuration parameters input by the user based on the configuration component.

[0064] The specific display form of the configuration component may be a form, and the user inputs the corresponding configuration parameters through the displayed form.

[0065] Different computing software has different configuration parameters. For example, the configuration parameters include but are not limited to: task name, run partition, number of nodes, number of cores per node, input file, task directory, etc. Among them, in high-performance computing clusters, partitioning is a way to logically divide cluster resources, for example, it can be divided into different task partitions such as "development partition", "computation-intensive partition", "high memory partition", etc. The resources in different partitions are usually independent of each other to avoid resource competition between different types of tasks, and the resource configurations in different partitions are different. For example, "computation-intensive partition" may have a large number of CPU cores to meet the needs of large-scale numerical simulations (such as fluid mechanics simulation, climate simulation, etc., which require a lot of computing). "High memory partition" will focus on the allocation of memory resources to provide support for tasks that require large data sets. In addition, different partitions usually have their own scheduling strategies. By dividing the partitions, different types of computing needs can be better met.

[0066] For example, reference may be made to Figure 2 A schematic diagram of the display interface of a configuration component is shown. It can be seen that the configuration component is displayed in a form and configuration prompts are given. The user only needs to fill in or select the corresponding configuration parameters according to the configuration prompts. The user's ability requirements are low. The user does not need to learn a lot of professional knowledge to complete the configuration, and there is no need to write configuration scripts. This achieves the purpose of solving the cumbersome task configuration process and high user learning cost in the computing power resource application scenario, greatly improving the convenience of computing power resource application.

[0067] S130. Generate a task script according to the configuration parameters, the configuration components, and identification information of the target computing software.

[0068] The task script refers to a computer program for implementing a task, and the computer can complete the task specified by the user by running the task script.

[0069] Different scheduling systems support different syntaxes, so the task scripts vary depending on the different computing software and scheduling systems.

[0070] In some embodiments, generating a task script based on the configuration parameters, the configuration components, and the identification information of the target computing software includes: determining the identification information of the scheduling system based on the configuration parameters; determining a script template stored in association with the configuration components and matching the identification information of the scheduling system and the identification information of the target computing software; and obtaining the task script by replacing corresponding parameters in the script template with the configuration parameters.

[0071] For example, if the configuration parameters contain "TH_NNODE, slurm", it means there is queue information and the scheduling system is slurm, then an executable command script "#SBATCH -N {{ TH_NNODE}}" will be generated accordingly. "SBATCH" is the syntax supported by slurm, and the value of "TH_NNODE" is replaced in the curly brackets.

[0072] Generating task scripts through automated means can save users’ learning costs. Users do not need to learn relevant knowledge of the scheduling system, thereby improving the convenience of applying computing resources.

[0073] S140: Submit the task script to the target cluster.

[0074] Optionally, the task script and the required input files are transferred to the distributed memory of the target cluster through an asynchronous processing tool (such as Celery), and the task script and the input files are read and run from the distributed memory through a computing interface corresponding to the target computing software. Transferring the task script and the required input files to the distributed memory of the target cluster through an asynchronous processing tool can improve transmission efficiency and reduce user waiting time.

[0075] Furthermore, the method may also include: displaying the running information of the task script in the form of a chart, wherein the running information includes one or more of the node load of the running task, the network traffic change rate, the node memory utilization rate, the storage read throughput, and the storage write throughput, so as to facilitate the user to monitor the task execution. In response to receiving a task execution cancellation instruction (the user can trigger the cancellation instruction through a standardized interface), the task script running in the target cluster is controlled to stop running, that is, the user is supported to cancel, suspend, and perform other operations on the task execution running in the target cluster.

[0076] The task submission method provided in this embodiment can display the configuration components of the relevant computing software according to the user's task instructions, so that the user can configure the relevant parameters based on the guidance of the configuration components, and then automatically generate a task script according to the configured relevant parameters, configuration components and identification information of the target computing software, and submit the task script to the target cluster, which solves the problems of cumbersome task configuration process and high user learning cost in the computing power resource application scenario, and greatly improves the convenience of computing power resource application.

[0077] Embodiment 2

[0078] Based on the above embodiment, this embodiment further optimizes the solution, specifically, it provides an optional implementation method for the above step S110, "in response to receiving the user's task instruction, displaying the configuration components for the target computing software", in order to reduce the user's learning cost, simplify the task configuration process, and improve convenience. Figure 3 As shown, the task submission method includes the following steps:

[0079] S310: In response to receiving a task instruction from a user, performing voice recognition on the task instruction from the user to obtain corresponding text information.

[0080] That is, the user can issue the task instructions in the form of voice, which further simplifies the user operation and helps to improve the user's operating experience.

[0081] Optionally, the user may also input the task instruction in text form through text input.

[0082] S320, calculating the similarity between the text information and each task description information in the script library.

[0083] The script library includes different task description information, and each task description information is associated with a corresponding configuration script. Therefore, by calculating the semantic similarity between the text information of the task instruction and each task description information in the script library, the task description information most similar to the task instruction can be determined, and then the configuration script associated with the task description information can be retrieved. The configuration component can be displayed by rendering the configuration script, so as to guide the user to fill in the configuration parameters through the configuration component.

[0084] In some implementations, in order to reduce the amount of calculation and improve the calculation efficiency, before calculating the similarity between the text information and each task description information in the script library, the method further includes:

[0085] Performing semantic recognition on the text information to determine the computing software involved in the text information; determining the computing software involved in the text information as the target computing software; correspondingly, performing similarity calculation between the text information and each task description information in the script library, including: performing similarity calculation between the text information and each task description information in the script library belonging to the target computing software.

[0086] Since different computing software requires different configuration parameters, the tasks in the script library can be classified from the dimension of the computing software, and tasks belonging to the same computing software can be stored separately. When task description information needs to be matched, only the task description information belonging to the same computing software can be matched. This can reduce the amount of matching calculations and improve matching efficiency.

[0087] S330, obtaining a configuration script corresponding to the task description information with the highest similarity; rendering the configuration script to display configuration components for the target computing software.

[0088] S340, receiving configuration parameters input by the user based on the configuration component, and generating a task script according to the configuration parameters, the configuration component and identification information of the target computing software.

[0089] S350: Submit the task script to the target cluster.

[0090] The task submission method provided in this embodiment maintains a script library, and matches the semantic similarity of the task instructions issued by the user in real time with the task description information in the script library, so as to determine the task description information with the highest similarity to the task instructions issued by the user in real time, and use the configuration script corresponding to the task description information as the configuration script for responding to the task instructions issued by the user in real time, and further render the configuration script to realize the display of the configuration component. The user is guided to fill in the configuration parameters through the configuration component, which simplifies the configuration process, reduces the user's learning cost and the requirement on the user's ability, solves the problems of cumbersome task configuration process and high user learning cost in the computing power resource application scenario, and greatly improves the convenience of computing power resource application.

[0091] Embodiment 3

[0092] Based on the above embodiment, this embodiment further optimizes the solution, specifically, it provides an optional implementation method for the above step S110, "in response to receiving the user's task instruction, displaying the configuration components for the target computing software", in order to reduce the user's learning cost, simplify the task configuration process, and improve convenience. Figure 4 As shown, the task submission method includes the following steps:

[0093] S410: In response to receiving a task instruction from a user, input the task instruction from the user into a trained large language model to obtain a configuration script.

[0094] That is, through targeted training of the large language model, the configuration script can be output according to the user's task instructions through the large language model. By making full use of the advantages of the large language model, the configuration script can be automatically generated, which reduces the user's learning cost, simplifies the task configuration process, and improves convenience.

[0095] S420: Render the configuration script to display configuration components for the target computing software.

[0096] Furthermore, the displayed configuration components can also be used as a recommended solution. On this basis, users can further personalize the type, properties, layout, etc. of the configuration components based on the predefined components in the component library. Among them, the predefined components in the component library can be implemented based on low-code technology, with less development and low implementation difficulty.

[0097] S430, receiving configuration parameters input by a user based on the configuration component; generating a task script according to the configuration parameters, the configuration component and identification information of the target computing software.

[0098] S440: Submit the task script to the target cluster.

[0099] The task submission method provided in this embodiment trains a large language model, outputs a configuration script according to the user's task instructions through the large language model, and further renders the configuration script to display the configuration components. The configuration components guide the user to fill in the configuration parameters, simplifying the configuration process, making full use of the advantages of the large language model, reducing the user's learning cost and the requirements on the user's ability, and solving the problems of cumbersome task configuration process and high user learning cost in the computing power resource application scenario, greatly improving the convenience of computing power resource application.

[0100] Embodiment 4

[0101] Based on the above embodiment, this embodiment further optimizes the solution, specifically, it provides an optional implementation method for the above step S110, "in response to receiving the user's task instruction, displaying the configuration components for the target computing software", in order to reduce the user's learning cost, simplify the task configuration process, and improve convenience. Figure 5 As shown, the task submission method includes the following steps:

[0102] S510: In response to receiving a user's drag instruction for a target component in a predefined component library, displaying the target component as the configuration component.

[0103] There can be multiple target components, and multiple target components are combined into configuration components in different layouts and / or properties. The layout and properties between target components can be edited by users. That is, users are supported to customize configuration components through predefined components in the predefined component library, which can improve the flexibility and personalization of configuration and meet the needs of different users.

[0104] Alternatively, in some implementations, the user may select a specific configuration template from a configuration template library. In general, in response to receiving a user selection instruction for a preset template, the components included in the preset template are displayed as the configuration components; wherein the user's task instruction includes the drag instruction or the selection instruction.

[0105] The above two implementations can also realize the automatic generation of configuration scripts, reduce the user's learning cost, simplify the task configuration process, and improve convenience.

[0106] S520, receiving configuration parameters input by a user based on the configuration component; generating a task script according to the configuration parameters, the configuration component and identification information of the target computing software.

[0107] S530: Submit the task script to the target cluster.

[0108] The task submission method provided in this embodiment supports user-defined configuration components through pre-defined components in the component library, which can improve the flexibility and personalization of configuration and meet the needs of different users. It reduces the user's learning cost and the ability requirements for the user, solves the problem of cumbersome task configuration process and high user learning cost in the computing power resource application scenario, and greatly improves the convenience of computing power resource application.

[0109] Embodiment 5

[0110] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a task submission device.

[0111] refer to Figure 6 The task submission device includes: a display module 610, which is used to display the configuration components for the target computing software in response to receiving the user's task instructions; a receiving module 620, which is used to receive the configuration parameters input by the user based on the configuration components; a generating module 630, which is used to generate a task script according to the configuration parameters, the configuration components and the identification information of the target computing software; and a submitting module 640, which is used to submit the task script to the target cluster.

[0112] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0113] The device of the above embodiment is used to implement the corresponding task submission method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0114] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the multi-level task submission method described in any embodiment is implemented.

[0115] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0116] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0117] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0118] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0119] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0120] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0121] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0122] The electronic device of the above embodiment is used to implement the corresponding task submission method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0123] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the task submission method described in any of the above embodiments.

[0124] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0125] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the task submission method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0126] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0127] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0128] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0129] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A task submission method, characterized in that: include: In response to receiving a task instruction from a user, displaying a configuration component for the target computing software; receiving configuration parameters input by a user based on the configuration component; Generate a task script according to the configuration parameters, the configuration components and the identification information of the target computing software; Submit the task script to the target cluster.

2. The task submission method according to claim 1, characterized in that: The user's task instruction is a voice instruction, and in response to receiving the user's task instruction, displaying a configuration component for the target computing software includes: Performing voice recognition on the task instruction of the user to obtain corresponding text information; Calculating similarity between the text information and each task description information in a script library, wherein the script library includes different task description information, and each task description information is associated with a corresponding configuration script; Obtain the configuration script corresponding to the task description information with the highest similarity; The configuration script is rendered to display configuration components for the target computing software.

3. The task submission method according to claim 2, characterized in that: Before calculating the similarity between the text information and each task description information in the script library, the method further includes: Performing semantic recognition on the text information to determine the computing software involved in the text information; Determining the computing software involved in the text information as the target computing software; Correspondingly, the similarity calculation between the text information and each task description information in the script library includes: The similarity between the text information and each task description information belonging to the target computing software in the script library is calculated.

4. The task submission method according to claim 1, characterized in that: The method of displaying a configuration component for the target computing software in response to receiving a task instruction from a user includes: Inputting the user's task instructions into a trained large language model to obtain a configuration script; The configuration script is rendered to display configuration components for the target computing software.

5. The task submission method according to claim 1, characterized in that: The method of displaying a configuration component for the target computing software in response to receiving a task instruction from a user includes: In response to receiving a user's drag instruction for a target component in a predefined component library, displaying the target component as the configuration component; Alternatively, in response to receiving a selection instruction from a user for a preset template, displaying the components included in the preset template as the configuration components; The user's task instruction includes the drag instruction or the selection instruction.

6. The task submission method according to claim 1, characterized in that: The step of generating a task script according to the configuration parameters, the configuration components and the identification information of the target computing software includes: Determine identification information of the scheduling system according to the configuration parameters; Determining a script template stored in association with the configuration component that matches identification information of the scheduling system and identification information of the target computing software; The configuration parameters are used to replace corresponding parameters in the script template to obtain the task script.

7. The task submission method according to claim 1, characterized in that: Submitting the task script to the target cluster includes: The task script and the required input files are transmitted to the distributed memory of the target cluster through an asynchronous processing tool, and the task script and the input files are read and executed from the distributed memory through a computing interface corresponding to the target computing software.

8. The task submission method according to claim 1, characterized in that: Also includes: Displaying the running information of the task script in a graphical form, the running information including one or more of the node load of the running task, the network traffic change rate, the node memory utilization rate, the storage read throughput, and the storage write throughput; In response to receiving the task execution cancellation instruction, the task script currently being executed in the control target cluster stops executing.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the task submission method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the task submission method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Task processing method and device, server, client, system and storage medium

    CN110781007A

  • Training task management method and device, electronic equipment and storage medium

    CN115543534A

  • Webpage processing method, device and equipment and computer readable storage medium

    CN116701811A

  • Script file generation method, task processing method and electronic equipment

    CN118733006A