A host application data processing method and graphical interface tool
The backup and recovery process of host application data is automatically processed through graphical interface tools, which solves the problem of low efficiency in the existing technology and achieves efficient data backup and recovery.
Patent Information
- Application Number
- CN202210157580.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-02-21
AI Technical Summary
The data backup and recovery process of the existing host database requires manual writing and execution, which is inefficient and cumbersome.
Provides a host application data processing method and graphical interface tool. By obtaining the target environment and database information input by the user, it provides database backup and recovery sub-process selection, generates a backup or recovery table list, and executes it based on the concurrency set by the user. Backup or restore operations to reduce manual intervention.
The efficiency of data backup and recovery is improved. Users only need to input a small amount of key information into the graphical interface to intelligently create and execute jobs, reducing manual editing and intervention.
Smart Images

Figure CN114489450B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method for processing host application data and a graphical interface tool. Background Art
[0002] In the process of using IBM mainframes, it is often necessary to back up and restore the application data of the mainframe database, so this work is also crucial in the process of using IBM mainframes.
[0003] Currently, the main backup of application data in the host database is done by using the image tool provided by IBM, and the recovery of application data is done by using the recovery tools provided by IBM and BMC. However, these tools are basic tools for performing backup and recovery. Therefore, when performing data backup or data recovery, it is necessary to manually extract the necessary database table information from the source environment and the target environment, and then manually write the backup or recovery job for the database table, and then manually execute the job through the above tools.
[0004] Therefore, it can be seen that with the existing method, not only do jobs need to be written entirely manually, but manual intervention is also required during the execution of the jobs, which is very cumbersome and relatively inefficient. Summary of the invention
[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a method for processing host application data and a graphical interface tool to solve the problem of low efficiency of the prior art.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] A first aspect of the present application provides a method for processing host application data, which is applied to a graphical interface tool. The method for processing host application data includes:
[0008] Obtain the name of the target environment, the name of the target database, and the name of the target application system input by the user;
[0009] Providing each target sub-process to the user for selection; wherein the target sub-process includes a database backup sub-process and a database recovery sub-process;
[0010] If the target sub-process selected by the user is the data backup sub-process, generating a backup table list in response to the user's backup table list editing operation;
[0011] Creating a backup job based on the backup list;
[0012] Obtaining the backup job concurrency set by the user;
[0013] At the target location in the target environment, executing the backup job with the backup job concurrency set by the user; wherein the target location refers to the target database under the target application system;
[0014] If the target sub-process selected by the user is the database recovery sub-process, the system table of the host database software in the source environment is imported into the target environment;
[0015] In response to the user's recovery list operation, generating a recovery list;
[0016] Creating a recovery job based on the system table of the host database software in the target environment and the recovery table list;
[0017] Obtaining the recovery job concurrency set by the user;
[0018] The recovery operation is executed at the target location in the target environment at the recovery operation concurrency set by the user.
[0019] Optionally, in the method provided above, generating a backup list in response to the user's backup list editing operation includes:
[0020] Determine whether each piece of information edited by the user's backup list editing operation is a database;
[0021] If it is determined that the information edited by the backup table list editing operation of the user is a database, the user is prompted to select a non-target table in the database; wherein the non-target table refers to a data table that does not need to be backed up;
[0022] Adding each data table in the database except the non-target table to the backup table list;
[0023] If the information edited by the user's backup table list editing operation is a data table, the data table edited by the user's backup table list editing operation is added to the backup table list.
[0024] Optionally, in the method provided above, executing the backup job at the target location in the target environment with the backup job concurrency set by the user includes:
[0025] The backup job is executed at the target location in the target environment at the backup job concurrency set by the user through batch job scheduling management software.
[0026] Optionally, in the method provided above, before importing the system table of the host database software in the source environment into the target environment, the method further includes:
[0027] The user is prompted to select a first recovery sub-process or a second recovery sub-process; wherein the first recovery sub-process and the second recovery sub-process perform data recovery based on different recovery tools.
[0028] Optionally, in the method provided above, importing the system table of the host database software in the source environment into the target environment includes:
[0029] Creating a blank table in the target environment with a format consistent with the system table of the host database software in the source environment;
[0030] Import the data in the system table of the host database software in the source environment into the blank table in the target environment.
[0031] The second aspect of the present application provides a graphical interface tool, including:
[0032] A name acquisition unit, used to acquire the name of the target environment, the name of the target database and the name of the target application system input by the user;
[0033] A target sub-process selection unit, used to provide each target sub-process to the user for selection; wherein the target sub-process includes a database backup sub-process and a database recovery sub-process;
[0034] A backup list generating unit, configured to generate a backup list in response to a backup list editing operation of the user when the target sub-process selected by the user is the data backup sub-process;
[0035] A backup job creation unit, configured to create a backup job based on the backup table list;
[0036] A first concurrency acquisition unit, configured to acquire the concurrency of the backup job set by the user;
[0037] A backup job execution unit, configured to execute the backup job at a target location in the target environment at a backup job concurrency set by the user; wherein the target location refers to the target database under the target application system;
[0038] A data import unit, used for importing the system table of the host database software in the source environment into the target environment when the target sub-process selected by the user is the database recovery sub-process;
[0039] A recovery list generating unit, configured to generate a recovery list in response to a recovery list operation of the user;
[0040] A recovery job generating unit, configured to create a recovery job based on the system table of the host database software in the target environment and the recovery table list;
[0041] A second concurrency acquisition unit, configured to acquire the concurrency of the recovery operation set by the user;
[0042] The recovery operation execution unit is used to execute the recovery operation at the target location in the target environment at the recovery operation concurrency set by the user.
[0043] Optionally, in the graphical interface tool provided above, the backup table list generating unit includes:
[0044] A judging unit, used to judge whether each piece of information edited by the user's backup list editing operation is a database;
[0045] A first prompting unit is used to prompt the user to select a non-target table in the database if it is determined that the information edited by the backup table list editing operation of the user is a database; wherein the non-target table refers to a data table that does not need to be backed up;
[0046] A first adding unit, used for adding each data table in the database except the non-target table to the backup table list;
[0047] The second adding unit is used for adding the data table edited by the user's backup table list editing operation to the backup table list if the information edited by the user's backup table list editing operation is a data table.
[0048] Optionally, in the graphical interface tool provided above, the backup job execution unit includes:
[0049] The backup job execution subunit is used to execute the backup job at the backup job concurrency set by the user at the target location in the target environment through batch job scheduling management software.
[0050] Optionally, the graphical interface tool provided above also includes:
[0051] The second prompting unit is used to prompt the user to select a first recovery sub-process or a second recovery sub-process; wherein the first recovery sub-process and the second recovery sub-process perform data recovery based on different recovery tools.
[0052] Optionally, in the graphical interface tool provided above, the data import unit includes:
[0053] A creation unit, used for creating a blank table in the target environment with a format consistent with the system table of the host database software in the source environment;
[0054] The import subunit is used to import the data in the system table of the host database software in the source environment into the blank table in the target environment.
[0055] The present application provides a method for processing host application data, which is applied to a graphical interface tool. The method obtains the name of the target environment, the name of the target database, and the name of the target application system input by the user, and provides each target sub-process for the user to select. Among them, the target sub-process includes a database backup sub-process and a database recovery sub-process to perform corresponding steps for data backup or data recovery. If the target sub-process selected by the user is the data backup sub-process, a backup table list is generated in response to the user's backup table list editing operation, and a backup job is created based on the backup table list. Then, after obtaining the backup job concurrency set by the user, the backup job is executed at the target location in the target environment with the backup job concurrency set by the user. Among them, the target location refers to the target database under the target application system. If the target sub-process selected by the user is a database recovery sub-process, the system table of the host database software in the source environment is imported into the target environment. Then, in response to the user's recovery table list operation, a recovery table list is generated, and a recovery job is created based on the system table of the host database software in the target environment and the recovery table list. Finally, after obtaining the recovery job concurrency set by the user, the recovery job is executed at the target location in the target environment with the recovery job concurrency set by the user. Therefore, the user only needs to enter a small amount of key information in the graphical interface to intelligently create and execute the job, without the need for manual editing and intervention in the job execution, effectively improving the efficiency of data backup and data recovery. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be 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 the provided drawings without paying any creative work.
[0057] Figure 1 A flowchart of a method for processing host application data provided by an embodiment of the present application;
[0058] Figure 2 A flowchart of generating a backup table list provided in an embodiment of the present application;
[0059] Figure 3 A flowchart of a method for importing a system table into a target environment provided in an embodiment of the present application;
[0060] Figure 4 A schematic diagram of the structure of a graphical interface tool provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0062] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0063] The present application embodiment provides a method for processing host application data, which is applied to a graphical interface tool, such as Figure 1 As shown, a method for processing host application data provided by an embodiment of the present application includes the following steps:
[0064] S101, obtaining the name of the target environment, the name of the target database, and the name of the target application system input by the user.
[0065] Optionally, the names of various environments, databases and application systems available for selection by the user may be displayed on the interface to facilitate accurate input by the user. After the user selects, the environment, database and application system selected by the user are determined as the target environment, target database and target application system.
[0066] It should be noted that because data backup and data recovery are usually performed in different environments, users need to select the corresponding environment on the interface according to their needs. For example, all or part of the data tables are usually backed up in the production environment, and all or part of the tables need to be restored in the test environment later. An enterprise often deploys multiple application systems, and there may be many databases under one application system, so users also need to select the database and application system.
[0067] S102: Provide each target sub-process for user selection.
[0068] The target sub-process includes a database backup sub-process and a database recovery sub-process.
[0069] It should be noted that since the data backup process is different from the data recovery process, the operations required by the user are also different. Therefore, the user is required to select the corresponding sub-process according to his or her needs.
[0070] S103: Determine whether the target sub-process selected by the user is a data backup sub-process.
[0071] If it is determined that the target sub-process selected by the user is a data backup sub-process, step S104 is executed. If it is determined that the target sub-process selected by the user is not a database backup sub-process, that is, if the target sub-process selected by the user is a database recovery sub-process, step S108 is executed.
[0072] S104: Respond to the user's backup list editing operation and generate a backup list.
[0073] It should be noted that after the user selects the database backup sub-process, the user needs to edit the data table to be backed up, and then execute step S104 accordingly. Optionally, the user can enter the editing interface for editing by selecting the button "MODIFY BACKUPLIST". After the user finishes editing, in response to the user's backup table list editing operation, a backup table list is generated for subsequent backup.
[0074] Optionally, in another embodiment of the present application, a specific implementation of step S104 is as follows: Figure 2 As shown, including:
[0075] S201, determining whether each piece of information edited by the user's backup list editing operation is a database.
[0076] It should be noted that, in the embodiment of the present application, when the user performs the backup table list editing operation, the user can edit a data table (TABLE) or a database (DATABASE). When the user edits a data table, it means that the user needs to back up these data tables. When the user edits a database, in the embodiment of the present application, all data tables under the database are backed up by default.
[0077] However, considering that a small number of tables in the database may not need to be backed up, in this embodiment, if it is determined that the information edited by the user's backup table list editing operation is a database, step S202 is first executed. If it is determined that the information edited by the user's backup table list editing operation is not a database, that is, if the information edited by the user's backup table list editing operation is a data table, step S204 can be directly executed.
[0078] S202 : Prompt the user to select a non-target table in the database, where the non-target table refers to a data table that does not need to be backed up.
[0079] It should be noted that if the user does not select a non-target table, the number of non-target tables is zero, that is, all data tables in the database need to be backed up.
[0080] Of course, a prompting method may also be adopted to provide the user with a modification button, and the user may actively click on the modification case through operation to enter the modification interface and select the data table that does not need to be backed up.
[0081] S203, adding each data table in the database except the target table to the backup table list.
[0082] It should be noted that, in the embodiment of the present application, the backup table list is initially empty, and then the data tables that need to be backed up are continuously added to the backup table list.
[0083] S204: Add the data table edited by the user's backup table list editing operation to the backup table list.
[0084] S105: Create a backup job based on the backup table list.
[0085] Optionally, each piece of information in the backup table list can be traversed in turn. If the information is a data table, the backup job can be directly obtained based on the name of the table. If the information is a database, all data tables under the database need to be queried and matched with the data tables that do not need to be backed up, thereby filtering out the data tables that do not need to be backed up, and then the names of the data tables under the database are sequentially spliced to obtain the backup job. After traversing all the information, the final backup job can be put into the backup library to execute the next step.
[0086] It should be noted that when creating a backup job, the user is also prompted to select the device type to be used (tape library or disk). And, when the backup job is created, the backup content will be formatted and output to a file. This file can be used directly as a recovery list for the target environment when data recovery is required. Optionally, the file can also list information such as file name and creation date for easy use and management.
[0087] S106: Obtain the backup job concurrency set by the user.
[0088] Specifically, since the concurrency of the job needs to be set first when the job is executed, in the embodiment of the present application, it is possible to directly jump to the corresponding interface through the graphical interface tool to set the concurrency of the backup job.
[0089] S107 Execute the backup job at the target location in the target environment with the backup job concurrency set by the user.
[0090] The target location refers to the target database under the target application system.
[0091] Specifically, the backup operation is performed by calling the full image copy "FULLIMAGE COPY" program provided by the host database software (DB2) of the application system to complete the data backup.
[0092] Optionally, a specific implementation of step S107 may include:
[0093] The batch job scheduling management software executes backup jobs at the target location in the target environment with the job concurrency set by the user.
[0094] It should be noted that, in order to facilitate the management and monitoring of the execution of the backup job, in the embodiment of the present application, the backup job is executed by calling the batch job scheduling management software (Control-M). During the execution of the backup job, the specific execution status of the job can be monitored by the batch job scheduling management software, and the concurrency of the backup job can also be modified by the batch job scheduling management software.
[0095] S108. Import the system table of the host database software in the source environment into the target environment.
[0096] It should be noted that the system table stores the definitions of all data tables, including the data table name, unique identifier (DBID, PSID, OBID), the name of the physical file storing the database table, the name of the database backup file, etc. These are needed when creating a recovery job and recovering data. Therefore, the system table of the host database software in the source environment needs to be imported into the target environment.
[0097] Furthermore, in the recovery operation, this information in the source environment and the target environment must be written out one by one.
[0098] Optionally, in another embodiment of the present application, a specific implementation of step S108 is as follows: Figure 3 As shown, including:
[0099] S301. Create a blank table in the target environment whose format is consistent with the system table of the host database software in the source environment.
[0100] S302: Import the data in the system table of the host database software in the source environment into the blank table in the target environment.
[0101] Optionally, since there are two tools for data recovery, namely, recovery tools provided by IBM and BMC, in another embodiment of the present application, the database recovery sub-process also correspondingly sets two recovery sub-processes, that is, the database recovery sub-process in the embodiment of the present application includes a first recovery sub-process and a second recovery sub-process, so the user needs to select one of the recovery sub-processes before executing step S108. Therefore, in the embodiment of the present application, before executing step S108, it also includes:
[0102] The user is prompted to select the first recovery sub-flow or the second recovery sub-flow.
[0103] The first recovery sub-process and the second recovery sub-process perform data recovery based on different recovery tools. Specifically, the first recovery sub-process performs data recovery based on the BMC recovery tool, and the second recovery sub-process performs data recovery based on the IBM recovery tool.
[0104] It should be noted that there is no other difference in the execution of other steps when two different recovery sub-processes are selected. The main difference is that when the recovery operation is specifically executed, it will be performed based on the recovery tool corresponding to the selected recovery sub-process.
[0105] Of course, the embodiment of the present application is only one optional method. In step S102, the first recovery sub-process, the second recovery sub-process and the database backup sub-process may be directly provided to the user as target sub-processes for selection.
[0106] S109: Respond to the user's recovery list operation and generate a recovery list.
[0107] Optionally, the user can restore the table list by clicking the "SELECT RECOVERY LIST" button to select the automatically generated recovery table list of the rights data table. Of course, the user can also select the "MODIFY RECOVERY LIST" button to modify the recovery list, and then enter the name of the data table to be restored to generate the recovery table list. It should be noted that the entered information needs to meet the corresponding format requirements so that it can be wild-matched to all files with automatic search.
[0108] Optionally, if there are multiple branches, such as a bank with multiple branches, you can further edit the branches that need data recovery. Specifically, you can enter the name of the branch or the legal person abbreviation of the branch, so that only one or some branches need to recover data.
[0109] S110: Create a recovery job based on the system table and the recovery table list of the host database software in the target environment.
[0110] Specifically, when creating a recovery job, the records in the recovery table list can be read in order first, where each record represents a data table to be restored and the backup date of the required data. Then the file system, that is, the system table, is traversed to filter out all the successfully matched file names and record them in a temporary file. Each record in the temporary file is a file name, and its content is sorted, that is, all backup files of the same TABLE are arranged in order and closely. For example, TALBE TS0001 has 38 partitions, which are backed up in 38 files respectively. The file names are in the form of BKDR.NKBS.DB1.TS1.P00001.D210207, etc. Then these 38 file names are arranged closely from top to bottom in order in the above temporary file. According to this feature, the records in the temporary file will be read in order next. When the latest record read is different from the data table name contained in the previous record, an interruption will occur and all the previously read records will be processed. The processing content includes: first, matching with the branch list to be restored, and only retaining the backup file name corresponding to the required branch. The second is to splice the remaining files into the same recovery job. The third is to add a layer of processing to the job using the BMC recovery program, that is, to add a parameter in the job, which allows different recovery jobs to be submitted to different machines in a loop to achieve load balancing. After the above interrupt processing is completed, a data table recovery job will be created, and then the next record will be processed until all records in the temporary file are traversed and all recovery jobs are created.
[0111] S111. Obtain the recovery job concurrency set by the user.
[0112] Similarly, when executing a recovery job, you also need to set the recovery job concurrency so that the recovery can be performed according to the concurrency.
[0113] S112. Execute the recovery operation at the target location in the target environment with the recovery operation concurrency set by the user.
[0114] Specifically, the recovery operation is performed by calling the recovery tool of the recovery tool.
[0115] Similarly, recovery jobs can also be executed through batch job scheduling management software to facilitate scheduling and monitoring.
[0116] The embodiment of the present application provides a method for processing host application data, which is applied to a graphical interface tool. The method obtains the name of the target environment, the name of the target database, and the name of the target application system input by the user, and provides each target sub-process for the user to select. Among them, the target sub-process includes a database backup sub-process and a database recovery sub-process to perform corresponding steps for data backup or data recovery. If the target sub-process selected by the user is the data backup sub-process, a backup table list is generated in response to the user's backup table list editing operation, and a backup job is created based on the backup table list. Then, after obtaining the backup job concurrency set by the user, the backup job is executed at the target location in the target environment with the backup job concurrency set by the user. Among them, the target location refers to the target database under the target application system. If the target sub-process selected by the user is the database recovery sub-process, the system table of the host database software in the source environment is imported into the target environment. Then, in response to the user's recovery table list operation, a recovery table list is generated, and a recovery job is created based on the system table of the host database software in the target environment and the recovery table list. Finally, after obtaining the recovery job concurrency set by the user, the recovery job is executed at the target location in the target environment with the recovery job concurrency set by the user. Therefore, the user only needs to enter a small amount of key information in the graphical interface to intelligently create and execute the job, without the need for manual editing and intervention in the job execution, effectively improving the efficiency of data backup and data recovery.
[0117] The present application embodiment provides a graphical interface tool, such as Figure 4 As shown, including:
[0118] The name acquisition unit 401 is used to acquire the name of the target environment, the name of the target database and the name of the target application system input by the user.
[0119] The target sub-process selection unit 402 is used to provide each target sub-process for the user to select.
[0120] The target sub-process includes a database backup sub-process and a database recovery sub-process.
[0121] The backup list generating unit 403 is used to generate a backup list in response to the user's backup list editing operation when the target sub-process selected by the user is the data backup sub-process.
[0122] The backup job creating unit 404 is configured to create a backup job based on the backup table list.
[0123] The first concurrency acquisition unit 405 is used to acquire the concurrency of the backup job set by the user.
[0124] The backup job execution unit 406 is configured to execute the backup job at the target location in the target environment with the backup job concurrency set by the user.
[0125] The target location refers to the target database under the target application system.
[0126] The data import unit 407 is used to import the system table of the host database software in the source environment into the target environment when the target sub-process selected by the user is the database recovery sub-process.
[0127] The restoration list generating unit 408 is used to generate a restoration list in response to a restoration list operation by the user.
[0128] The recovery job generating unit 409 is used to create a recovery job based on the system table of the host database software in the target environment and the recovery table list.
[0129] The second concurrency acquisition unit 410 is used to acquire the concurrency of the recovery job set by the user.
[0130] The recovery operation execution unit 411 is used to execute the recovery operation at the target location in the target environment with the recovery operation concurrency set by the user.
[0131] Optionally, in the graphical interface tool provided in another embodiment of the present application, the backup table list generating unit includes:
[0132] The judging unit is used to judge whether each piece of information edited by the user's backup list editing operation is a database.
[0133] The first prompting unit is used to prompt the user to select a non-target table in the database if it is determined that the information edited by the user's backup table list editing operation is a database. The non-target table refers to a data table that does not need to be backed up.
[0134] The first adding unit is used to add each data table in the database except the non-target table to the backup table list.
[0135] The second adding unit is used for adding the data table edited by the user's backup table list editing operation to the backup table list if the information edited by the user's backup table list editing operation is a data table.
[0136] Optionally, in the graphical interface tool provided in another embodiment of the present application, the backup job execution unit includes:
[0137] The backup job execution subunit is used to execute the backup job at the backup job concurrency set by the user at the target location in the target environment through the batch job scheduling management software.
[0138] Optionally, in another embodiment of the present application, the graphical interface tool further includes:
[0139] The second prompting unit is used to prompt the user to select the first recovery sub-process or the second recovery sub-process. The first recovery sub-process performs data recovery based on the BMC recovery tool. The second recovery sub-process performs data recovery based on the IBM recovery tool.
[0140] Optionally, in the graphical interface tool provided in another embodiment of the present application, the data import unit includes:
[0141] The creation unit is used to create a blank table in the target environment whose format is consistent with the system table of the host database software in the source environment.
[0142] The import subunit is used to import the data in the system table of the host database software in the source environment into the blank table in the target environment.
[0143] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can refer to the corresponding steps in the above method embodiments, which will not be repeated here.
[0144] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for processing host application data, It is characterized in that Applied to a graphical interface tool, the method for processing host application data includes: Obtain the name of the target environment, the name of the target database, and the name of the target application system input by the user; Providing each target sub-process to the user for selection; wherein the target sub-process includes a database backup sub-process and a database recovery sub-process; If the target sub-process selected by the user is the database backup sub-process, a backup table list is generated in response to the backup table list editing operation of the user; the generation of the backup table list in response to the backup table list editing operation of the user includes: respectively determining whether each piece of information edited by the backup table list editing operation of the user is a database; if it is determined that the information edited by the backup table list editing operation of the user is a database, prompting the user to select a non-target table in the database; wherein the non-target table refers to a data table that does not need to be backed up; adding each data table in the database except the non-target table to the backup table list; if the information edited by the backup table list editing operation of the user is a data table, adding the data table edited by the backup table list editing operation of the user to the backup table list; Creating a backup job based on the backup list; Obtaining the backup job concurrency set by the user; At the target location in the target environment, executing the backup job with the backup job concurrency set by the user; wherein the target location refers to the target database under the target application system; If the target sub-process selected by the user is the database recovery sub-process, the system table of the host database software in the source environment is imported into the target environment; the importing of the system table of the host database software in the source environment into the target environment includes: creating a blank table in the target environment with a format consistent with the system table of the host database software in the source environment; importing the data in the system table of the host database software in the source environment into the blank table in the target environment; In response to the user's recovery list operation, generating a recovery list; Creating a recovery job based on the system table of the host database software in the target environment and the recovery table list; Obtaining the recovery job concurrency set by the user; The recovery operation is executed at the target location in the target environment at the recovery operation concurrency set by the user.
2. The method according to claim 1, It is characterized in that The step of executing the backup job at the target location in the target environment with the backup job concurrency set by the user includes: The backup job is executed at the target location in the target environment at the backup job concurrency set by the user through batch job scheduling management software.
3. The method according to claim 1, It is characterized in that Before importing the system table of the host database software in the source environment into the target environment, the method further includes: The user is prompted to select a first recovery sub-process or a second recovery sub-process; wherein the first recovery sub-process and the second recovery sub-process perform data recovery based on different recovery tools.
4. A graphical interface tool, It is characterized in that include: A name acquisition unit, used to acquire the name of the target environment, the name of the target database and the name of the target application system input by the user; A target sub-process selection unit, used to provide each target sub-process to the user for selection; wherein the target sub-process includes a database backup sub-process and a database recovery sub-process; A backup table list generating unit, configured to generate a backup table list in response to a backup table list editing operation of the user when the target sub-process selected by the user is the database backup sub-process; The backup list generating unit includes: a judging unit, a first prompting unit, a first adding unit and a second adding unit; The judging unit is used to judge whether each piece of information edited by the user's backup list editing operation is a database; The first prompt unit is used to prompt the user to select a non-target table in the database if it is determined that the information edited by the backup table list editing operation of the user is a database; wherein the non-target table refers to a data table that does not need to be backed up; The first adding unit is used to add each data table in the database except the non-target table to the backup table list; The second adding unit is used for adding the data table edited by the user's backup table list editing operation to the backup table list if the information edited by the user's backup table list editing operation is a data table; A backup job creation unit, configured to create a backup job based on the backup table list; A first concurrency acquisition unit, configured to acquire the concurrency of the backup job set by the user; A backup job execution unit, configured to execute the backup job at a target location in the target environment at a backup job concurrency set by the user; wherein the target location refers to the target database under the target application system; A data import unit, used for importing the system table of the host database software in the source environment into the target environment when the target sub-process selected by the user is the database recovery sub-process; The data import unit includes: a creation unit and an import sub-unit; The creation unit is used to create a blank table in the target environment with a format consistent with the system table of the host database software in the source environment; The import subunit is used to import the data in the system table of the host database software in the source environment into the blank table in the target environment; A recovery list generating unit, configured to generate a recovery list in response to a recovery list operation of the user; A recovery job generating unit, configured to create a recovery job based on the system table of the host database software in the target environment and the recovery table list; A second concurrency acquisition unit, configured to acquire the concurrency of the recovery operation set by the user; The recovery operation execution unit is used to execute the recovery operation at the target location in the target environment at the recovery operation concurrency set by the user.
5. The graphical interface tool according to claim 4, It is characterized in that The backup job execution unit includes: The backup job execution subunit is used to execute the backup job at the backup job concurrency set by the user at the target location in the target environment through batch job scheduling management software.
6. The graphical interface tool according to claim 4, It is characterized in that Also includes: The second prompting unit is used to prompt the user to select a first recovery sub-process or a second recovery sub-process; wherein the first recovery sub-process and the second recovery sub-process perform data recovery based on different recovery tools.
