Background batch processing setting method and electronic equipment

By automatically generating batch task names and performing repetitive checks in the SAP system using the naming rule controller, the problem of irregular and duplicate settings of task names is solved, and the convenience and accuracy of task management and statistics are achieved.

CN119271303APending Publication Date: 2025-01-07ZHONGKE YUNGU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411385464.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In SAP system, the name naming rules of background batch tasks lack control, resulting in confusion in task management and statistics, and the inability to distinguish batch tasks set with different parameters, causing interference and repetition problems.

Method used

The name of the batch task is automatically generated through the naming rule controller, and the repetitive controller is used to check the task name and parameter repetition, ensuring naming rules and uniqueness, avoiding duplicate settings, and achieving unified management and statistics.

Benefits of technology

It effectively solves the problems of batch task name naming irregularly and duplicate settings, and improves the convenience and accuracy of task management and statistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271303A_ABST
    Figure CN119271303A_ABST
Patent Text Reader

Abstract

The invention provides a background batch processing setting method and electronic equipment, and the method comprises the steps: calling naming rule configuration through a naming rule controller, so as to automatically generate a first name of a batch processing task; obtaining a second name of the batch processing task, and combining the first name with the second name to generate a task name of the batch processing task; calling a renaturation controller to carry out repeatability check on the batch processing tasks; calling the naming rule controller to check the naming rule of the task name; and when the repeatability and the naming rule pass the check, calling a preset interface to generate a batch processing task. According to the method, the names of the batch processing tasks are modified by configuring the naming rules of the batch processing tasks, the naming of the batch processing tasks has a unified rule, then the task names and the task parameters are checked, repeated setting is avoided, and subsequent management and statistics are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a background batch processing setting method and electronic equipment. Background Art

[0002] Background batch processing is the automatic batch processing of tasks or business transactions. In the SAP system, users can set up batch processing for all executable programs and customize parameters such as execution variant, execution start time, and execution frequency.

[0003] The SAP system provides two types of settings: one type can only simply set the start time and frequency, etc.; the other type has a dedicated transaction code and requires a large number of professional parameters to be filled in. However, these two types of methods have the following disadvantages: 1. The background batch name cannot be set. The system will force the program name to be used as the name of the batch task. Once the user sets multiple batch tasks with different parameters for the same program, these batch tasks will all have the same display name when displayed in the system, making it impossible for the user to clearly distinguish between the batch tasks, and will cause great interference to task management and settings; 2. The naming rules of the batch task names cannot be checked, and the custom naming is highly arbitrary. There is no rule control, which is prone to problems such as difficult management and statistical confusion.

[0004] Therefore, there is an urgent need for a background batch processing setting method and an electronic device to solve the above problems. Summary of the invention

[0005] The technical problem solved by the present invention is to provide a background batch processing setting method and electronic device, which can modify the batch processing task name by configuring the naming rules of the batch processing tasks, and avoid duplication of batch processing task settings by checking the batch processing tasks, so as to facilitate subsequent management and statistics.

[0006] The present invention solves the technical problem by adopting the following technical solutions:

[0007] A background batch processing setting method includes: calling a naming rule configuration through a naming rule controller to automatically generate a first name of a batch processing task; obtaining a second name of the batch processing task, and combining the first name with the second name to generate a task name of the batch processing task; calling a repeatability controller to perform a repeatability check on the batch processing task; calling the naming rule controller to check the naming rule of the task name; and calling a preset interface to generate a batch processing task when the repeatability and the naming rule checks are passed.

[0008] In a preferred embodiment of the present invention, the above-mentioned step of calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task includes: in response to the batch task setting request, obtaining the target account type of the account currently performing batch setting; under the target account type, calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task.

[0009] In a preferred embodiment of the present invention, before the above-mentioned step of calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task, it includes: configuring the target account type based on the account rule, the target account type includes a setting account and an execution account, and the setting account includes a common account and an administrator account; and setting the execution account associated with the common account and the administrator account respectively.

[0010] In a preferred embodiment of the present invention, before the step of calling the naming rule configuration through the naming rule controller under the target account type to automatically generate the first name of the batch task, it includes: when the target account type is a common account, obtaining the data entered in the business interface and saving it as a variant to set the batch task and name the batch task.

[0011] In a preferred embodiment of the present invention, before the step of automatically generating the first name of a batch task by calling the naming rule configuration through the naming rule controller under the target account type, it includes: when the target account type is an administrator account, obtaining the batch processing parameters of the batch processing task to complete the parameter setting of the batch processing task and naming the batch processing task.

[0012] In a preferred embodiment of the present invention, before the step of calling a preset interface to generate a batch task when the repeatability and the naming rule checks are passed, the step includes: when the account type is a setting account, setting an execution account for the batch task; and checking the setting account and the execution account through an account rule controller to confirm whether the execution account is associated with the setting account.

[0013] In a preferred embodiment of the present invention, the step of calling the reproducibility controller to perform a repeatability check on the batch processing task includes: checking, by the reproducibility controller, whether there are duplications in the task name and task parameters of the batch processing task; when the task name and / or task parameters are repeated, confirming whether the task name and / or task parameters are within repeatable rules, wherein the repeatable rules include at least one of exceeding a preset duration, different task types, and different storage locations.

[0014] In a preferred embodiment of the present invention, after the step of calling a preset interface to generate a batch task when the check is passed, the method further includes: in response to a management request for the batch task, displaying batch task information, wherein the batch task information includes the name, status, setter, executor, variant, planned start time, actual start time, actual end time, frequency, delay, execution duration and execution server of the batch task.

[0015] In a preferred embodiment of the present invention, after the above-mentioned step of calling a preset interface to generate a batch task when the check is passed, it includes: transferring the batch task to a target administrator account in response to a batch transfer application submitted by the administrator account that sets the batch task; obtaining the execution account assigned by the target administrator account to execute the batch task, so as to complete the transfer of the batch task.

[0016] The present invention also provides an electronic device, comprising: a memory and a processor, wherein a background batch processing setting program is stored in the memory, and when the background batch processing setting program is executed by the processor, the steps of the background batch processing setting method as described in any one of the above are implemented.

[0017] The present invention also provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the background batch processing setting method as described in any one of the above are implemented.

[0018] The technical effect achieved by the present invention using the above technical solution is: calling the naming rule configuration through the naming rule controller to generate the first half of the task name of the batch task, and then the user customizes the second half of the task name; and then calling the reproducibility controller to perform a repeatability check on the task name and parameters of the batch task to avoid duplication of batch task settings, naming the batch tasks through a unified naming rule, and checking the reproducibility controller to avoid duplication of the task name and parameter settings of the batch task, which is convenient for subsequent management and statistics.

[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flowchart of a background batch processing setting method shown in the present invention;

[0021] Figure 2This is a system module block diagram of the application background batch processing setting method shown in the present invention. DETAILED DESCRIPTION

[0022] In order to further explain the technical means and effects taken by the present invention to achieve the predetermined invention purpose, the embodiments of the present invention are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present invention. Through the description of the specific implementation methods, the technical means and effects taken by the present invention to achieve the predetermined purpose can be more deeply and specifically understood, and the attached drawings are only for reference and explanation purposes, and are not used to limit the present invention.

[0023] As a pioneer of ERP solutions, SAP can be divided into multiple modules, such as financial management, human resource management, purchasing and sales, and ABAP development modules. Each module provides a large number of front-end programs for data calculation, business transactions, report query, import and export, interface integration, etc. At the same time, SAP equips most programs with background batch processing functions, allowing users to set tasks by themselves and the system automatically executes them according to the parameters set by the user. SAP, short for "System Applications and Products", is the software name of SAP's product - enterprise management solution. The background batch processing setting method provided by the present invention can be applied in, but not limited to, the SAP system.

[0024] See also Figure 1 , Figure 1 The present invention is a flowchart of a background batch processing setting method.

[0025] like Figure 1 As shown, the background batch processing setting method provided in this embodiment includes the following steps:

[0026] S11: calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task.

[0027] S12: Obtain a second name of the batch processing task, and combine the first name with the second name to generate a task name of the batch processing task.

[0028] Naming rule controller: The system automatically brings out the first half when creating a batch according to the rules of the configuration template, and can check whether the final batch task name meets the naming rules when saving the batch task.

[0029] Naming rule configuration: You can configure the naming rule. For example, if you set it to REPID_NNNN_*, it means that the batch task name consists of three parts, and each part is separated by '_'.

[0030] For example, the first part is REPID, which indicates the program name, the second part is a 4-digit number automatically generated by the system (the system can automatically check the maximum ID number currently set for the same program, and automatically increase the ID number by 1 and automatically bring it out; for example, if the program already has an ID number of 0, then 0001 is generated, and if the program already has an ID number of 100, then 0101 is generated), and the third part is the description added by the user. For example, the batch name: "ZJTFIR0016_0001_A Company July Report", where ZJTFIR0016 is the program name, 0001 is the system-generated number, and "A Company July Report" is the description filled in by the user.

[0031] In this embodiment, the first name is composed of the first part (program name) and the second part (system automatically generated number), such as: ZJTFIR0016_0001. The second name is set by the user, such as: Company A July report.

[0032] In other implementations, the first name may be directly the program name or a preset digit number automatically generated by the system, or other names such as a date, etc. The naming rule may be set by the system or manually by the user.

[0033] S13: calling the reproducibility controller to perform a repeatability check on the batch processing task.

[0034] The duplication check of the batch processing task includes but is not limited to the task name and task parameters. When the duplication check of the batch processing task fails, the task name and parameters of the batch processing task need to be reset.

[0035] The reproducibility controller is used to check whether there are identical task names and task parameters, or a minimum frequency of repeatability check is set to perform repeatability checks on task names and task parameters within a preset time range.

[0036] For example, the check frequency is set to 1 day. When setting a batch task, the task parameters and / or task name of the current batch task are compared with the task parameters and / or task names of other batch tasks set within the same day. If it is found that a task with the same task parameters and / or task name already exists within 1 day of the start time, a prompt message is output and an error is reported, so that the user can re-set the batch task.

[0037] S14: calling a naming rule controller to check the naming rule of the task name.

[0038] Specifically, the naming rule configuration is called through the naming rule controller to check whether the final batch task name meets the naming rule. If not, the user is prompted to rename the batch task. If satisfied, the task name of the batch task is directly determined.

[0039] S15: When the repeatability and naming rule checks are passed, the preset interface is called to generate a batch processing task.

[0040] The default interface is the BAPI interface, which is the abbreviation of business application programming interface, and is a set of program interfaces in the object-oriented programming method. It allows programmers to integrate third-party software into R / 3 proprietary products through SAP.

[0041] In the above manner, the batch task name is modified by configuring the naming rules of the batch task, the consistency of the batch task name is ensured, and the batch task setting duplication is avoided by checking the batch task, which is convenient for subsequent management and statistics.

[0042] Optionally, the step of calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task includes: in response to the batch task setting request, obtaining the target account type of the account currently performing batch setting; under the target account type, calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task.

[0043] Optionally, before the step of calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task, it includes: configuring the target account type based on the account rule, the target account type includes a setting account and an execution account, and the setting account includes a common account and an administrator account; and setting the execution account associated with the common account and the administrator account respectively.

[0044] Specifically, there are two types of accounts for batch processing: one is the setting account, and the other is the execution account (the two types of accounts have different divisions of labor, the setting account is used to set batch processing tasks, and the execution account is used to execute batch processing tasks).

[0045] Specifically, the account settings are also divided into two categories: one is a normal account, and the other is an administrator account (the user interface, permissions, and filling parameters of the two account settings are different).

[0046] It should be noted that when setting up a task during batch processing, a common account can only select itself as the execution account of the batch processing task. When setting up a batch processing, an administrator account can fill in the execution account at will (you can select a common account or other general execution accounts that can only execute batch processing tasks). Therefore, the control of the account controller is mainly the rule control of both the administrator account and the execution account. It can automatically check whether the current account is an administrator account and automatically bring out the default execution account or list, and check the execution account finally selected.

[0047] Account rule configuration: You can configure the account type to distinguish between the setup account and the execution account. The setup account and the execution account have different permissions. For example, the setup account can be configured as BJ_M*. When an account starting with BJ_M is detected, it is an administrator account or a normal account. The execution account can be configured as BJ_E*. When an account starting with BJ_E is detected, it is an execution account. The setup account and execution relationship can also be configured through account rule configuration. For example, configure BJ_M_FI / BJ_E_FI* (configuration is only for administrator accounts), which means that the setup account BJ_M_FI can use / select all execution accounts starting with BJ_E_FI to execute programs, that is, the administrator account can be regarded as a team leader, which can include multiple team members (normal accounts and execution accounts).

[0048] Optionally, after the step of obtaining the target account type of the current batch processing account, it includes: when the account type is a common account, obtaining the data saving variant entered in the business interface to set the batch processing task, and naming the batch processing task.

[0049] Specifically, when the account type is a common account, the data saving variant filled in the business interface is obtained, and the user setting interface is switched to set the batch processing task, and then the batch processing task is named.

[0050] Variant: used to store the input conditions pre-set by the user when executing background batch tasks.

[0051] Exemplarily, the implementation logic of the ordinary account batch setting function is as follows: Step 1: The user login account is an ordinary account. When the user clicks the background execution, the data filled in the business interface is automatically saved and the user setting interface is switched to set the batch task; Step 2: By using the naming rule controller, the pre-set naming rule configuration is called to automatically generate the first half of the task name of the batch task (i.e., the first name), and then the user supplements the second half of the task name (i.e., the second name); Step 3: After the user completes the batch task setting, when the batch task is saved, the recovery controller is called to check whether there are duplications in the task name and task parameters of the batch task. If there are duplications, a prompt will be given to remind The user modifies the task name and / or task parameters of the batch task; after the user modifies the task name and / or task parameters of the batch task, or when the task name and / or task parameters of the batch task are not repeated, the naming rule controller is called to check the task name of the batch task again (it can also be before the task name and / or task parameters) to determine whether its task name complies with the preset naming rules (such as AAb and ABC, etc.); Step 4: After confirming that the task name of the batch task complies with the preset naming rules, the BAPI interface is called to generate a standard batch task (if the third step is before the second step, the standard batch task is generated when the duplication check of the task name and task parameters passes).

[0052] Optionally, after the step of obtaining the target account type of the current batch processing account, it includes: when the account type is an administrator account, entering the administrator function interface to obtain the batch processing parameters of the batch processing task to complete the parameter setting of the batch processing task, and naming the batch processing task.

[0053] Specifically, batch processing parameters include: program name, variant, start execution time and frequency, and execution server, etc.

[0054] Specifically, the batch processing parameters of the batch processing task can be obtained from the administrator function interface through functions such as EXCEL template import and one-click parameter entry, thereby improving the setting efficiency and accuracy of the batch processing task. After completing the parameter setting of the batch processing task, the batch processing task needs to be named.

[0055] Optionally, when the repeatability and the naming rule checks are passed, before the step of calling the preset interface to generate a batch task, it includes: when the account type is a setting account, setting the execution account of the batch task; checking the setting account and the execution account through an account rule controller to confirm whether the execution account is associated with the setting account.

[0056] Specifically, the setting account is used to set and manage background batch processing tasks. When setting a batch processing task, the setting account can select the execution account to execute the set batch processing task. However, when setting a batch processing task, the ordinary account can only select itself as the execution account. When setting a batch processing task, the administrator account can select the execution account at will.

[0057] Specifically, the account name of the current account is obtained, and then the number of the preset first digits of the account name is identified; if the first digit is BJ_M, it is confirmed as a setting account, and if it is BJ_E_FI, it is confirmed as an execution account. After confirming that the current account is a setting account, the execution account that can be selected by the setting account is obtained and displayed, so that the setting account can select the execution account to execute the set batch task. For example, if the setting account is BJ_M_FI, and the corresponding execution account number starts with BJ_E_FI, all execution accounts starting with BJ_E_FI (BJ_E_FI_1, BJ_E_FI_2, BJ_E_FI_3...) are obtained and displayed.

[0058] Optionally, the step of calling the reproducibility controller to perform a repeatability check on the batch processing task includes: checking whether there are duplications in the task name and task parameters of the batch processing task through the reproducibility controller; when the task name and / or task parameters are repeated, confirming whether the task name and / or task parameters are within repeatable rules, and the repeatable rules include at least one of exceeding a preset duration, different task types, and different storage locations.

[0059] Specifically, the reconfiguration controller is called to perform three checks: 1. Whether the task name is repeated; 2. Whether the name is within the repeatable rule; 3. Check whether the batch program and parameters are repeated. When the above three checks are passed, the account control rule check is performed.

[0060] Specifically, the minimum frequency of repeatability check is set, and repeatability check is performed on task names and task parameters within a preset time range.

[0061] Check whether the programs and parameters under batch processing are duplicated: First, query all the batch processing tasks to be executed and the corresponding running variants involved in the program name under batch processing, then parse the parameters in the variant, and compare the parameters of each task in turn. If the parameters are inconsistent or within the rules of the consistency configuration, you can proceed to the next step through the check.

[0062] For example, the check frequency is set to 1 day. When setting a batch task, the task name and / or task parameters of the current batch task are compared with the task names and / or task parameters of other batch tasks set within the same day. If it is found that a task with the same task parameters and / or task name already exists within 1 day of the start time, a prompt message is output and an error is reported, so that the user can re-set the batch task.

[0063] Optionally, when the repeatability and the naming rule checks are passed, after the step of calling a preset interface to generate a batch task, the method includes: in response to a management request for the batch task, displaying batch task information, the batch task information including the name, status, setter, executor, variant, planned start time, actual start time, actual end time, frequency, delay, execution duration and execution server of the batch task.

[0064] Specifically, the batch management function includes: batch task management and setter transfer function.

[0065] When a batch task management request is received, the ALV report can be used to display fields such as the batch task name, status, setter, executor, variant, planned start time, actual start time, actual end time, frequency, delay, execution duration and execution server, thereby supporting the modification, deletion, copying, importing and logging of batch task information.

[0066] Optionally, when the repeatability and the naming rule checks are passed, after the step of calling a preset interface to generate a batch task, the method includes: transferring the batch task to a target administrator account in response to a batch transfer application submitted by the administrator account that sets the batch task; obtaining an execution account assigned by the target administrator account to execute the batch task, so as to complete the transfer of the batch task.

[0067] Exemplarily, batch transfer includes the following two methods. Method 1: First, the original setter (the original administrator account, such as administrator account 1) submits a batch transfer application, and then the new setter (the new administrator account, such as administrator account 2) receives the transfer application, and the executor of the batch task adjusts his own execution account to complete the transfer operation. Finally, after the system verifies that everything is correct, the batch task is adjusted according to the application (the batch task is assigned to the adjusted execution account, or an ordinary account can be selected to execute the batch task). Method 2: The system administrator (different from the administrator account) directly modifies the setter (administrator account) and executor (execution account) of the batch task, and the batch task is adjusted after the system verifies that everything is correct.

[0068] In other implementations, batch transfer may also be performed without changing the execution account, and only the administrator account may be changed to achieve the transfer of batch tasks.

[0069] The background batch processing setting method of this embodiment can define and set the batch processing task name according to the naming rules of the configured batch processing tasks, and avoid duplication of task name settings by checking the task names of the batch processing tasks; automatically determine the account type and account authority according to the configured account rules, thereby realizing the control requirements of account authority separation; and submit batch processing task transfer requests and reallocate batch processing tasks through the administrator account, thereby realizing the transfer of batch processing tasks.

[0070] See also Figure 2 , Figure 2 This is a system module block diagram of the application background batch processing setting method shown in the present invention.

[0071] like Figure 2 As shown, the system of the application background batch processing setting method provided by the present invention controls the setting rules of batch processing tasks through a rule configuration module, a control module, and a task setting module, which can effectively solve the shortcomings of batch processing task naming that cannot be controlled, account authority cannot be forced to separate, repeatability cannot be checked, task setting is not convenient, and tasks cannot be transferred.

[0072] Function of the rule configuration module: used for naming rule configuration and account rule configuration.

[0073] 1.1 Naming rule configuration: Naming rules can be configured, such as setting it to REPID_NNNN_*, which means that the name consists of three parts, each part is separated by '_', the first part is REPID, which means the program name, the second part is a 4-digit number automatically generated by the system (the system will automatically check the maximum ID number currently set for the same program, and automatically increase this ID number by 1 and bring it out), and the third part is the description added by the user. For example: Batch name: "ZJTFIR0016_0001_A Company July Report", where ZJTFIR0016 is the program name, 0001 is the system-generated number, and "A Company July Report" is the description filled in by the user.

[0074] 1.2 Account rule configuration: You can configure account types (distinguish between setting accounts and execution accounts, such as configuring BJ_M* for setting accounts, which means that accounts starting with BJ_M are setting accounts, and accounts starting with BJ_E* are execution accounts); you can configure the relationship between setting accounts and execution accounts (such as configuring BJ_M_FI / BJ_E_FI*, which means that the administrator account BJ_M_FI can use all execution accounts starting with BJ_E_FI to execute programs);

[0075] The control module includes: naming rule controller, account controller, and repeatability controller. The functions are as follows:

[0076] 2.1 Naming rule controller: The system automatically brings out the first half of the batch name when the batch is created according to the rules of the configuration template, and checks whether the final batch name meets the rules when the task is saved.

[0077] 2.2 Account controller: to set up accounts and check execution accounts, and to bring out execution accounts by setting up accounts, etc.

[0078] 2.3 Repeatability controller: Set the minimum frequency of repeatability check; if the frequency is set to 1 day, when setting the background batch task, if it is found that there is a task with the same task name and the same conditional task parameters within 1 day of the start time, an error will be prompted.

[0079] The settings module includes: business user settings interface (the interface corresponding to ordinary accounts), administrator settings interface (the interface corresponding to administrator accounts), and task management. The functions are as follows:

[0080] 3.1 Logic for implementing the batch processing setting function for ordinary users (ordinary accounts):

[0081] Step 1: When the user clicks on the background execution, the system automatically saves the data filled in the business interface and switches to the business user setting interface in the setting module;

[0082] Step 2: Use the naming rule controller to call the naming rule configuration, automatically generate the first half of the batch, and the user can add the second half;

[0083] Step 3: When the user saves and saves, the redistribution controller is called to check whether there are duplicate tasks and prompt, and then the naming rule controller is called to check whether the final task name conforms to the naming rule;

[0084] Step 4: Call BAPI to generate standard batch tasks.

[0085] BAPI is the abbreviation of business application programming interface, which is a set of program interfaces in object-oriented programming method. It allows programmers to integrate third-party software into R / 3 proprietary products through SAP. This implementation is a SAP background batch task setting. In other implementations, other interfaces can be used.

[0086] 3.2、Administrator (administrator account) dedicated batch setting function implementation logic:

[0087] Step 1: All batch processing parameters are integrated into the same interface, supporting fixed EXCEL parameter template data copying, and the system completes the entry of various parameters with one click;

[0088] Step 2: Use the naming rule controller to call the naming rule configuration to automatically generate the first half of the batch name, and then the administrator will add the second half;

[0089] Step 3: Use the account controller to automatically check whether the current account is an administrator account and automatically bring out the default execution account or list, and check the final selected execution account;

[0090] Step 4: When the user saves and saves, the restoration controller is called to check whether there is a possibility of duplication of the task and prompt it, and the naming rule controller is called to check the final task name;

[0091] Step 5: Call BAPI to generate standard batch tasks.

[0092] 3.3. Batch task management includes: batch task management and batch task transfer;

[0093] 3.3.1 Batch task management: Using ALV report development, it can display fields such as batch name, status, setter, executor, variant, planned start time, actual start time, actual end time, frequency, delay, execution duration, execution server, etc. It supports modification, deletion, copy, import, log and other functions.

[0094] 3.3.2 Batch task transfer:

[0095] Method 1: First, the original setter (set account) submits the batch transfer application; then the new setter receives the transfer application and adjusts the execution account to complete the transfer operation. Finally, after verification, adjust the batch task according to the application.

[0096] Method 2: The system administrator directly modifies the setting account and execution account, and makes batch task transfer adjustments after verification.

[0097] The present invention also provides an electronic device, comprising: a memory and a processor, wherein a background batch processing setting program is stored in the memory, and when the background batch processing setting program is executed by the processor, the steps of the background batch processing setting method as described in any one of the above are implemented.

[0098] The present invention also provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the background batch processing setting method as described in any one of the above are implemented.

[0099] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a portion of the steps in the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by hardware, or by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the embodiments of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the embodiments of the present invention.

[0101] The preferred embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the specific details in the above embodiments. The above embodiments and drawings are exemplary. The modules or processes in the drawings are not necessarily required to implement the embodiments of the present invention and cannot be understood as limitations on the present invention. Within the technical concept of the present invention, the technical scheme of the present invention can be subjected to a variety of simple modifications and combinations, and these simple modifications and combinations all belong to the protection scope of the present invention.

Claims

1. A background batch processing setting method, characterized in that: include: Call the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task; Acquire a second name of the batch processing task, and combine the first name with the second name to generate a task name of the batch processing task; Calling a reproducibility controller to perform a repeatability check on the batch processing task; Calling the naming rule controller to check the naming rule of the task name; When the repeatability and the naming rule checks are passed, a preset interface is called to generate a batch processing task.

2. The background batch processing setting method according to claim 1, characterized in that: The step of calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch processing task includes: In response to the batch task setting request, obtaining the target account type of the account currently being set for batch processing; Under the target account type, the naming rule configuration is called through the naming rule controller to automatically generate the first name of the batch task.

3. The background batch processing setting method as claimed in claim 2, characterized in that: Before the step of calling the naming rule configuration through the naming rule controller to automatically generate the first name of the batch task, the method includes: Configuring the target account type based on the account rule, the target account type includes a setting account and an execution account, and the setting account includes a common account and an administrator account; The execution accounts associated with the common account and the administrator account are respectively set.

4. The background batch processing setting method according to claim 3, characterized in that: Before the step of calling the naming rule configuration by the naming rule controller under the target account type to automatically generate the first name of the batch task, the method includes: When the target account type is a common account, the data inputted in the business interface is obtained and saved as a variant to set the batch processing task, and the batch processing task is named.

5. The background batch processing setting method according to claim 3, characterized in that: Before the step of calling the naming rule configuration by the naming rule controller under the target account type to automatically generate the first name of the batch task, the method includes: When the target account type is an administrator account, the batch processing parameters of the batch processing task are obtained to complete the parameter setting of the batch processing task and name the batch processing task.

6. The background batch processing setting method according to claim 4 or 5, characterized in that: Before the step of calling a preset interface to generate a batch processing task when the repeatability and the naming rule check are passed, the method includes: When the account type is to set an account, set the execution account of the batch processing task; The setting account and the execution account are checked by an account rule controller to confirm whether the execution account is associated with the setting account.

7. The background batch processing setting method as described in claim 4 or 5, characterized in that: The step of calling the reproducibility controller to perform a repeatability check on the batch processing task includes: Checking, by the reconfiguration controller, whether there is duplication between the task name and the task parameter of the batch processing task; When the task name and / or task parameter are repeated, confirm whether the task name and / or task parameter are within a repeatable rule, wherein the repeatable rule includes at least one of exceeding a preset duration, different task types, and different storage locations.

8. The background batch processing setting method according to claim 1, characterized in that: After the step of calling a preset interface to generate a batch processing task when the repeatability and the naming rule check are passed, the method further includes: In response to the management request of the batch processing task, batch processing task information is displayed, and the batch processing task information includes the name, status, setter, executor, variant, planned start time, actual start time, actual end time, frequency, delay, execution duration and execution server of the batch processing task.

9. The background batch processing setting method according to claim 1, characterized in that: After the step of calling a preset interface to generate a batch processing task when the repeatability and the naming rule check are passed, the method further includes: In response to a batch processing transfer application submitted by the administrator account that sets the batch processing task, transferring the batch processing task to a target administrator account; The execution account assigned by the target administrator account to execute the batch processing task is obtained to complete the transfer of the batch processing task.

10. An electronic device, characterized in that: The electronic device comprises: a memory and a processor, wherein a background batch processing setting program is stored in the memory, and when the background batch processing setting program is executed by the processor, the steps of the background batch processing setting method according to any one of claims 1 to 9 are implemented.