Data processing method, device, electronic device and computer readable medium

By combining cleanup parameters and determining cleanup parameters, the report data in the banking system is backed up and cleaned up, and the impact of database space occupation and performance is solved, customized data management is realized, and database performance is improved.

CN114756540BActive Publication Date: 2024-12-31CCB FINTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210466117.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-12-31
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

With the growth of business volume and the accumulation of time, the amount of report data in the banking system has increased, and a mature backup mechanism and cleaning strategy is lacking, which seriously occupies database space and affects database performance.

Method used

By receiving data processing requests, obtaining data processing type identification, requirement identification and pending data, combining cleaning parameters, determining the second cleaning parameters and the third cleaning parameters, performing backup and/or cleaning processing on the to be processed data based on these parameters, realizing customization Data backup and cleanup.

Benefits of technology

Reduce database space usage, improve database performance, and customize data backup and cleanup through specified dates or frequency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114756540B_ABST
    Figure CN114756540B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, device, electronic device and computer-readable medium, and relates to the technical field of big data processing. The method comprises: receiving a data processing request, obtaining a corresponding data processing type identifier, a demand identifier and data to be processed; combining a first cleaning parameter according to the data processing type identifier and the demand identifier to obtain a combined cleaning parameter, and then determining a corresponding combined cleaning parameter value; determining a second cleaning parameter and a third cleaning parameter according to the combined cleaning parameter value; respectively obtaining a second cleaning parameter value and a third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter; performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value and the third cleaning parameter value. Thereby achieving customized data backup and cleaning at a specified date or a specified frequency, reducing the occupation of database space and improving database performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data processing technology, and in particular to a data processing method, device, electronic device and computer-readable medium. Background Art

[0002] With the growth of banking business, when the report data generated by the banking system is increasing, and as time accumulates, the corresponding database table data volume is increasing, in order to ensure the normal performance of the database system, the report data generated by the banking system needs to be backed up and cleaned up. In the banking system, general reports are divided into daily reports, ten-day reports, monthly reports, quarterly reports, annual reports, etc. These report data all come from the database system. With the growth of business volume and long-term accumulation, the amount of report data in the database is getting larger and larger, which seriously occupies database space and affects database performance. Due to different report types, different branch business scenarios and different business data volumes, report data backup and cleanup are necessary.

[0003] In the process of implementing this application, the inventors found that there are at least the following problems in the prior art:

[0004] With the growth of business volume and long-term accumulation, the amount of report data in the database is getting larger and larger. There is no mature backup mechanism and cleanup strategy, which seriously occupies database space and affects database performance. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a data processing method, device, electronic device and computer-readable medium, which can solve the existing problem that with the growth of business volume and long-term accumulation, the amount of report data in the database becomes larger and larger, there is no mature backup mechanism and cleanup strategy, which seriously occupies database space and affects database performance.

[0006] To achieve the above objective, according to one aspect of an embodiment of the present application, a data processing method is provided, including:

[0007] Receive a data processing request, and obtain the corresponding data processing type identifier, requirement identifier, and data to be processed;

[0008] Combine the first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter, and then determine a corresponding combined cleaning parameter value;

[0009] Determining a second cleaning parameter and a third cleaning parameter according to the combined cleaning parameter value;

[0010] Respectively obtain the second cleaning parameter value and the third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter;

[0011] A backup and / or cleanup process is performed on the data to be processed based on the combined cleanup parameter value, the second cleanup parameter value, and the third cleanup parameter value.

[0012] Optionally, determining a corresponding combined cleaning parameter value includes:

[0013] Get the configuration information corresponding to the requirement identifier;

[0014] Acquire first cleaning parameter values ​​corresponding to each first cleaning parameter in the combined cleaning parameter from the configuration information;

[0015] The arrangement order of the first cleaning parameters in the combined cleaning parameter is determined, and then the first cleaning parameter values ​​are combined based on the arrangement order to obtain the corresponding combined cleaning parameter value.

[0016] Optionally, determining the second cleaning parameter and the third cleaning parameter includes:

[0017] Determine an execution time identifier from the combined cleaning parameter value, and then determine a second cleaning parameter based on the execution time identifier;

[0018] A bank branch identifier is determined from the combined cleaning parameter value, and a third cleaning parameter is further determined based on the bank branch identifier.

[0019] Optionally, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0020] In response to the combined cleaning parameter value including a retention time identifier, backup and / or cleaning processing is performed on the data to be processed based on the retention time corresponding to the retention time identifier, the execution time corresponding to the second cleaning parameter value, and the branch data corresponding to the third cleaning parameter value.

[0021] Optionally, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0022] In response to the combined cleanup parameter value including one or more of a date field identifier, a date type identifier or a date format identifier, backup and / or cleanup processing is performed on the data to be processed according to one or more of the date field identifier, the date type identifier or the date format identifier and the execution time corresponding to the second cleanup parameter value and the branch data corresponding to the third cleanup parameter value.

[0023] Optionally, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0024] In response to the combined cleanup parameter value including one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier, backup and / or cleanup processing is performed on the data to be processed according to one or more of the month-end retention mechanism identifier, the year-end retention mechanism identifier and the execution time corresponding to the second cleanup parameter value and the branch data corresponding to the third cleanup parameter value.

[0025] Optionally, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0026] Obtaining a backup identifier and a cleanup identifier corresponding to the data to be processed from the data processing request;

[0027] Determine the data to be backed up and the data to be cleaned up in the data to be processed according to the backup identifier and the cleanup identifier respectively;

[0028] Based on the combined cleaning parameter value, the execution time corresponding to the second cleaning parameter value, and the branch data corresponding to the third cleaning parameter value, backup processing is performed on the data to be backed up, and cleaning processing is performed on the data to be cleaned.

[0029] In addition, the present application also provides a data processing device, including:

[0030] A receiving unit is configured to receive a data processing request and obtain a corresponding data processing type identifier, a requirement identifier and data to be processed;

[0031] a parameter combining unit configured to combine the first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter, and then determine a corresponding combined cleaning parameter value;

[0032] a parameter determination unit configured to determine a second cleaning parameter and a third cleaning parameter according to the combined cleaning parameter value;

[0033] a parameter value acquisition unit, configured to respectively acquire a second cleaning parameter value and a third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter;

[0034] The data processing unit is configured to perform backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value and the third cleaning parameter value.

[0035] Optionally, the parameter combination unit is further configured to:

[0036] Get the configuration information corresponding to the requirement identifier;

[0037] Acquire first cleaning parameter values ​​corresponding to each first cleaning parameter in the combined cleaning parameter from the configuration information;

[0038] The arrangement order of the first cleaning parameters in the combined cleaning parameter is determined, and then the first cleaning parameter values ​​are combined based on the arrangement order to obtain the corresponding combined cleaning parameter value.

[0039] Optionally, the parameter determination unit is further configured to:

[0040] Determine an execution time identifier from the combined cleaning parameter value, and then determine a second cleaning parameter based on the execution time identifier;

[0041] A bank branch identifier is determined from the combined cleaning parameter value, and a third cleaning parameter is further determined based on the bank branch identifier.

[0042] Optionally, the data processing unit is further configured to:

[0043] In response to the retention time identifier configured in the combined cleaning parameter value, backup and / or cleaning processing is performed on the data to be processed based on the retention time corresponding to the retention time identifier, the execution time corresponding to the second cleaning parameter value, and the branch data corresponding to the third cleaning parameter value.

[0044] Optionally, the data processing unit is further configured to:

[0045] In response to one or more of the date field identifier, date type identifier or date format identifier configured in the combined cleansing parameter value, backup and / or cleansing processing is performed on the data to be processed according to one or more of the date field identifier, date type identifier or date format identifier and the execution time corresponding to the second cleansing parameter value and the branch data corresponding to the third cleansing parameter value.

[0046] Optionally, the data processing unit is further configured to:

[0047] In response to one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier configured in the combined cleanup parameter value, backup and / or cleanup processing is performed on the data to be processed according to one or more of the month-end retention mechanism identifier, the year-end retention mechanism identifier and the execution time corresponding to the second cleanup parameter value and the branch data corresponding to the third cleanup parameter value.

[0048] Optionally, the data processing unit is further configured to:

[0049] Obtaining a backup identifier and a cleanup identifier corresponding to the data to be processed from the data processing request;

[0050] Determine the data to be backed up and the data to be cleaned up in the data to be processed according to the backup identifier and the cleanup identifier respectively;

[0051] Based on the combined cleaning parameter value, the execution time corresponding to the second cleaning parameter value, and the branch data corresponding to the third cleaning parameter value, backup processing is performed on the data to be backed up, and cleaning processing is performed on the data to be cleaned.

[0052] In addition, the present application also provides a data processing electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the data processing method as described above.

[0053] In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the data processing method as described above is implemented.

[0054] To achieve the above objective, according to another aspect of the embodiments of the present application, a computer program product is provided.

[0055] A computer program product according to an embodiment of the present application includes a computer program, and when the program is executed by a processor, the data processing method provided by the embodiment of the present application is implemented.

[0056] One embodiment of the above invention has the following advantages or beneficial effects: the present application obtains the corresponding data processing type identification, requirement identification and data to be processed by receiving a data processing request; combines the first cleaning parameter according to the data processing type identification and the requirement identification to obtain the combined cleaning parameter, and then determines the corresponding combined cleaning parameter value; determines the second cleaning parameter and the third cleaning parameter according to the combined cleaning parameter value; obtains the second cleaning parameter value and the third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter respectively; performs backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value and the third cleaning parameter value. By combining the first cleaning parameter according to the data processing type identification and the requirement identification to obtain the combined cleaning parameter, and determining the second cleaning parameter and the third cleaning parameter according to the parameter value corresponding to the combined cleaning parameter, and performing backup and / or cleaning processing on the data to be processed according to the combined cleaning parameter value and the second cleaning parameter value and the third cleaning parameter value. Thereby realizing customized data backup and cleaning at a specified date or specified frequency, reducing the occupation of database space and improving database performance.

[0057] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.

[0059] Figure 1is a schematic diagram of the main flow of the data processing method according to the first embodiment of the present application;

[0060] Figure 2 is a schematic diagram of the main flow of the data processing method according to the second embodiment of the present application;

[0061] Figure 3 is a schematic diagram of the main flow of the data processing method according to the third embodiment of the present application;

[0062] Figure 4 is a schematic diagram of an application scenario of a data processing method according to a fourth embodiment of the present application;

[0063] Figure 5 is a schematic diagram of main units of a data processing device according to an embodiment of the present application;

[0064] Figure 6 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;

[0065] Figure 7 It is a structural diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION

[0066] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of the present application are in compliance with the relevant provisions of national laws and regulations.

[0067] Figure 1 is a schematic diagram of the main flow of the data processing method according to the first embodiment of the present application, such as Figure 1 As shown, the data processing method includes:

[0068] Step S101, receiving a data processing request, and obtaining a corresponding data processing type identifier, a requirement identifier, and data to be processed.

[0069] In this embodiment, the execution subject of the data processing method (for example, it can be a server) can receive the data processing request by wired connection or wireless connection. Specifically, the data processing request can be a request for data backup and / or cleaning of report data in the database. The execution subject can obtain the data processing type identifier and the demand identifier carried in the data processing request. The data processing type identifier can be the report type corresponding to the report data to be processed, and the report type can include daily report (D), ten-day report (P), monthly report (M), quarterly report (S), and annual report (Y). The demand identifier is used to characterize which parameters are backed up and / or cleaned. Specifically, the demand identifier can be a parameter name, such as a report name, a date field name, a date type, a date format, a retention time, and other parameter names. For example, the data processing type is daily report (D), and the demand identifier corresponds to the report name, date field name, date type, date format, retention time, and other related parameters to be processed. The execution subject can obtain the corresponding data to be processed according to the address of the data to be processed carried in the data processing request. The embodiment of the present application does not specifically limit the number and parameter content of the parameters corresponding to the demand identifier.

[0070] Step S102, combining the first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter, and then determining a corresponding combined cleaning parameter value.

[0071] The first cleanup parameter may include, for example, a report name, a report type, a date field name, a date type, a date format, a cleanup mechanism, a retention time, a backup mechanism, a month-end retention mechanism, a year-end retention mechanism, an execution time, and a branch processing mechanism.

[0072] For example, the requirement identifiers include BBM, RQZDM, and RQLX, which correspond to the report name, date field name, and date type, respectively. When the data processing type identifier is D, it indicates that data processing is required for the daily report. The first cleaning parameter is combined according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter. Specifically, the first cleaning parameter corresponding to the requirement identifier is combined according to the combination method corresponding to the data processing type identifier. For example, the parameter arrangement order corresponding to the combination method corresponding to the daily report is report name, date type, and date field name. The execution subject can arrange and combine the requirement identifiers according to the arrangement order, and finally obtain the combined cleaning parameter BBM-RQLX-RQZDM.

[0073] After obtaining the combined cleanup parameter, the execution subject can obtain the combined cleanup parameter value corresponding to the combined cleanup parameter from the data to be processed. For example, the combined cleanup parameter value corresponding to BBM-RQLX-RQZDM is: database table name m to be cleaned-string type-2022.1.1, which means that the data to be processed with the string type in the database table name m with the date of 2022.1.1 needs to be backed up and / or cleaned.

[0074] Step S103, determining a second cleaning parameter and a third cleaning parameter according to the combined cleaning parameter value.

[0075] For example, when the combined cleaning parameter is BBM-ZXSJ-FHCLJZ, the corresponding combined cleaning parameter value is mSN-1. The second cleaning parameter and the third cleaning parameter are determined according to the combined cleaning parameter value. Specifically, when the combined cleaning parameter value is mSN-1, the second cleaning parameter corresponding to SN in the combined cleaning parameter value mSN-1 is SDAY, which is a fixed day of the Nth month of each quarter, and the third cleaning parameter corresponding to 1 in the combined cleaning parameter value mSN-1 is processed according to the branch, and the branch parameter needs to be obtained.

[0076] Step S104, respectively obtaining a second cleaning parameter value and a third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter.

[0077] For example, if the second cleaning parameter is SDAY, the second cleaning parameter value corresponding to the second cleaning parameter may be 15, which means that data processing is performed on the 15th day of the Nth month of each quarter.

[0078] For example, if the third cleaning parameter is 1, the third cleaning parameter value corresponding to the third cleaning parameter is processed according to the branch, and the process of obtaining the branch parameter is executed.

[0079] Step S105 , performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value.

[0080] For example, the corresponding data M to be processed is obtained according to the database table name m corresponding to the report type corresponding to the combined cleaning parameter value mSN-1, and the corresponding data N in the data M to be processed corresponding to the branch parameter corresponding to the third cleaning parameter value and the 15th day of the Nth month of each quarter according to the second cleaning parameter value is backed up and / or cleaned.

[0081] Specifically, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0082] In response to the combined cleaning parameter value including a retention time identifier, backup and / or cleaning processing is performed on the data to be processed based on the retention time corresponding to the retention time identifier, the execution time corresponding to the second cleaning parameter value, and the branch data corresponding to the third cleaning parameter value.

[0083] For example, the processing is performed according to the retention time, the integer value N is calculated according to the report type, the report type D means retention for N days, the report type P means retention for N ten-days, the report type M means retention for N months, and so on. Processing is performed according to the execution time, D, MN, SN, YN; D is executed every day; MN is executed on the Nth day of each month, N is ND when it means the end of each month, and the ten-day report is configured monthly; SN is executed on the fixed day (SDAY) of the Nth month of each quarter; YN is executed on the fixed day (YDAY) of the Nth month of each year; here it is necessary to read the report backup and the second cleanup parameter, obtain the second cleanup parameter values ​​SDAY and YDAY, and perform data backup and / or cleanup according to the second cleanup parameter values ​​SDAY and YDAY. Processing is performed according to the branch processing mechanism, 0-do not process by branch, 1-process by branch, if the branch processing mechanism parameter value is 1, that is, the third cleanup parameter value is 1, it is necessary to obtain the branch parameter to participate in data backup and / or cleanup.

[0084] Specifically, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0085] In response to the combined cleanup parameter value including one or more of the date field identifier, the date type identifier or the date format identifier, the data to be processed is backed up and / or cleaned up according to one or more of the date field identifier, the date type identifier or the date format identifier, the execution time corresponding to the second cleanup parameter value, and the branch data corresponding to the third cleanup parameter value. For example, the date field identifier is, for example, the date field name; the date type identifier includes D (date type) and S (string type); the date format identifier, YYYYMMDD represents year, month, and day, YYYYMM represents year and month, and YYYY represents year.

[0086] Specifically, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0087] In response to the combined cleaning parameter value including one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier, backup and / or cleaning processing is performed on the data to be processed according to one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier, as well as the execution time corresponding to the second cleaning parameter value and the branch data corresponding to the third cleaning parameter value. For example, the month-end retention mechanism identifier includes 0-not retained and 1-retained, which is only valid for daily and ten-day reports. The year-end retention mechanism identifier includes 0-not retained and 1-retained, which is only valid for daily, ten-day and monthly reports.

[0088] This embodiment receives a data processing request to obtain the corresponding data processing type identifier, demand identifier and data to be processed; combines the first cleaning parameter according to the data processing type identifier and the demand identifier to obtain the combined cleaning parameter, and then determines the corresponding combined cleaning parameter value; determines the second cleaning parameter and the third cleaning parameter according to the combined cleaning parameter value; obtains the second cleaning parameter value and the third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter respectively; performs backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value and the third cleaning parameter value. By combining the first cleaning parameter according to the data processing type identifier and the demand identifier to obtain the combined cleaning parameter, and determining the second cleaning parameter and the third cleaning parameter according to the parameter value corresponding to the combined cleaning parameter, and performing backup and / or cleaning processing on the data to be processed according to the combined cleaning parameter value and the second cleaning parameter value and the third cleaning parameter value. Thereby achieving customized data backup and cleaning at a specified date or specified frequency, reducing the occupation of database space and improving database performance.

[0089] Figure 2 is a schematic diagram of the main flow of the data processing method according to the second embodiment of the present application. Figure 2 As shown, the data processing method includes:

[0090] Step S201, receiving a data processing request, and obtaining a corresponding data processing type identifier, a requirement identifier, and data to be processed.

[0091] Step S202: combining a first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter.

[0092] Step S203, obtaining configuration information corresponding to the requirement identifier.

[0093] Step S204: acquiring first cleaning parameter values ​​corresponding to each first cleaning parameter in the combined cleaning parameter from the configuration information.

[0094] The execution subject can obtain each first cleaning parameter in the combined cleaning parameter from the preset configuration information corresponding to the requirement identifier, such as the first cleaning parameter value corresponding to the report name, report type, execution time, and branch processing mechanism, such as m, D, YN, 1.

[0095] Step S205, determining the arrangement order of each first cleaning parameter in the combined cleaning parameter, for example, the branch processing mechanism, execution time, report name, and report type, and then combining each first cleaning parameter value based on the arrangement order to obtain a corresponding combined cleaning parameter value, for example, 1-YNmD. Thus, the combined cleaning parameter value based on the order of importance can be provided to the user, providing a priority reference for data backup and / or cleaning, and improving the quality of data processing.

[0096] Step S206: Determine the second cleaning parameter and the third cleaning parameter according to the combined cleaning parameter value.

[0097] Step S207, respectively obtaining the second cleaning parameter value and the third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter.

[0098] Step S208: performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value.

[0099] Specifically, performing backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes:

[0100] Obtain a backup identifier (for example, 0-not backed up, 1-backup) and a cleanup identifier (for example, 0-not cleaned, 1-cleaned) corresponding to the data to be processed from the data processing request; determine the data to be backed up and the data to be cleaned in the data to be processed according to the backup identifier and the cleanup identifier, respectively; perform backup processing on the data to be backed up and perform cleanup processing on the data to be cleaned based on the combined cleanup parameter value, the execution time corresponding to the second cleanup parameter value, and the branch data corresponding to the third cleanup parameter value.

[0101] The executing entity can determine which data to be backed up and which data to be cleaned based on the correspondence between the backup identifier and the cleanup identifier carried in the data processing request and the data to be processed, so as to back up the data to be backed up and clean up the data to be cleaned, thereby avoiding confusion between the data to be backed up and the data to be cleaned, and improving the accuracy of data processing.

[0102] Figure 3 FIG. 1 is a schematic diagram of the main flow of the data processing method according to the third embodiment of the present application. Figure 3 As shown, the data processing method includes:

[0103] Step S301, receiving a data processing request, and obtaining a corresponding data processing type identifier, a requirement identifier, and data to be processed.

[0104] The data processing request may be, for example, a request to back up and clean up data. The data processing type identifier may be a report type corresponding to the report data to be processed, where the report type may include daily report (D), ten-day report (P), monthly report (M), quarterly report (S), and annual report (Y).

[0105] Step S302: combining a first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter, and then determining a corresponding combined cleaning parameter value.

[0106] The first cleanup parameter may include, for example, a report name, a report type, a date field name, a date type, a date format, a cleanup mechanism, a retention time, a backup mechanism, a month-end retention mechanism, a year-end retention mechanism, an execution time, and a branch processing mechanism.

[0107] For example, the requirement identifiers include BBM, RQZDM, and RQLX, which correspond to the report name, date field name, and date type, respectively. When the data processing type identifier is D, it indicates that data processing is required for the daily report. The first cleaning parameter is combined according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter. Specifically, the first cleaning parameter corresponding to the requirement identifier is combined according to the combination method corresponding to the data processing type identifier. For example, the parameter arrangement order corresponding to the combination method corresponding to the daily report is report name, date type, and date field name. The execution subject can arrange and combine the requirement identifiers according to the arrangement order, and finally obtain the combined cleaning parameter BBM-RQLX-RQZDM.

[0108] After obtaining the combined cleanup parameter, the execution subject can obtain the combined cleanup parameter value corresponding to the combined cleanup parameter from the data to be processed. For example, the combined cleanup parameter value corresponding to BBM-RQLX-RQZDM is: database table name m to be cleaned-string type-2022.1.1, which means that the data to be processed with the string type in the database table name m with the date of 2022.1.1 needs to be backed up and / or cleaned.

[0109] Step S303: determine an execution time identifier from the combined cleaning parameter value, and then determine a second cleaning parameter based on the execution time identifier.

[0110] For example, when the combined cleaning parameter is BBM-ZXSJ-FHCLJZ, the corresponding combined cleaning parameter value is mSN-1. The second cleaning parameter and the third cleaning parameter are determined according to the combined cleaning parameter value. Specifically, when the combined cleaning parameter value is mSN-1, the second cleaning parameter corresponding to SN in the combined cleaning parameter value mSN-1 is SDAY, which is a fixed day of the Nth month of each quarter, and the third cleaning parameter corresponding to 1 in the combined cleaning parameter value mSN-1 is processed according to the branch, and the branch parameter needs to be obtained.

[0111] An execution time identifier (such as SN or YN) is determined from the combined cleaning parameter value, and then a second cleaning parameter is determined based on the execution time identifier (where the second cleaning parameter corresponding to SN is SDAY, i.e., a fixed day of the Nth month of each quarter, and the second cleaning parameter corresponding to YN is YDAY, i.e., a fixed day of the Nth month of each year).

[0112] Step S304: determine a bank branch identifier from the combined cleaning parameter value, and then determine a third cleaning parameter based on the bank branch identifier.

[0113] Determine the branch identifier (for example, 0 or 1) from the combined cleaning parameter value, and then determine the third cleaning parameter based on the branch identifier (the third cleaning parameter corresponding to the branch identifier 0 represents not processing by branch, and the third cleaning parameter corresponding to the branch identifier 1 represents processing by branch).

[0114] Step S305: Obtain a second cleaning parameter value and a third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter, respectively.

[0115] Step S306: performing backup and / or cleaning processing on the to-be-processed data based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value.

[0116] The embodiment of the present application obtains a combined cleaning parameter by combining a first cleaning parameter according to a data processing type identifier and a demand identifier, and determines a second cleaning parameter and a third cleaning parameter according to a parameter value corresponding to the combined cleaning parameter, and performs backup and / or cleaning processing on the data to be processed according to the combined cleaning parameter value and the second cleaning parameter value and the third cleaning parameter value. Thus, customized data backup and cleaning can be performed on a specified date or at a specified frequency according to the execution time corresponding to the second cleaning parameter value and whether the third cleaning parameter value is processed by branch, thereby reducing the occupation of database space and improving database performance.

[0117] Figure 4This is a schematic diagram of an application scenario of the data processing method according to the fourth embodiment of the present application. The data processing method of the embodiment of the present application is applied to the scenario of backing up and cleaning up data accumulated over a long period of time. Taking the data processing of a bank as an example, general report data backup and cleanup are implemented in a parameterized manner. The main parameters include report name, report type, date field name, date type, date format, cleanup mechanism, retention time, end-of-month retention mechanism, end-of-year retention mechanism, backup mechanism, execution time, branch processing mechanism, and time parameters associated with the execution time parameters and branch parameters associated with the branch processing mechanism. The report backup and cleanup mechanism is as follows: Figure 4 As shown, the execution subject of the data processing method of the embodiment of the present application can read the report backup and the first cleaning parameter, wherein the first cleaning parameter includes: report name, report type, date field name, date type, date format, cleaning mechanism, retention time, backup mechanism, month-end retention mechanism, year-end retention mechanism, execution time, and branch processing mechanism; process according to the report name, the report name is the name of the database table to be cleaned; process according to the report type, the report types include daily report (D), ten-day report (P), monthly report (M), quarterly report (S), and annual report (Y); process according to the date field name, the report statistics date field name; process according to the date type, the date types include D (date type) and S (string type); process according to the date format, the date format YYYYMMDD represents year, month, and day, YYYYMM represents year and month, and YYYY represents year; process according to the cleaning mechanism, 0-do not clean, 1-clean; process according to the retention time, the integer value N, calculated according to the report type, the report Table type D means retention for N days, report type P means retention for N decades, report type M means retention for N months, and so on; process according to the backup mechanism, 0-do not back up, 1-back up; process according to the end-of-month retention mechanism, 0-do not retain, 1-retain, only valid for daily and ten-day reports; process according to the year-end retention mechanism, 0-do not retain, 1-retain, only valid for daily, ten-day and monthly reports; process according to the execution time, D, MN, SN, YN; D is executed every day; MN is executed on the Nth day of each month, when N is ND, it means the end of each month, and ten-day reports are configured monthly; SN is executed on a fixed day (SDAY) of the Nth month of each quarter; YN is executed on a fixed day (YDAY) of the Nth month of each year; here you need to read the report backup and the second cleanup parameters to obtain SDAY and YDAY; process according to the branch processing mechanism, 0-do not process by branch, 1-process by branch. If the branch processing mechanism parameter value is 1, you need to read the report backup and the third cleanup parameters to obtain the branch parameters.

[0118] The various parameters contained in the first cleanup parameter can be flexibly configured according to the actual situation of the report category and report business data; the second cleanup parameter is used to obtain SDAY and YDAY, SDAY represents the fixed day of the Nth month of each quarter, and YDAY represents the fixed day of the Nth month of each year; if the parameter value configured for the branch processing mechanism in the first cleanup parameter (that is, the third cleanup parameter value) is 1, it is necessary to read the report backup and obtain the branch parameters, which can include the parameters of all branches, or the parameters of specified branches can be configured according to actual business needs. The report backup and cleanup parameters have multiple configurations, flexible combinations, and a wide range of content, which can meet the needs of various backup and cleanup mechanisms for various reports, and can implement report data backup and cleanup in a targeted manner, and the report data backup and cleanup methods can be universal.

[0119] The embodiment of the present application can realize the configuration of report data backup and cleanup parameters. The parameters included in the first cleanup parameter can be flexibly combined and configured for different report types and report data; the report data backup and cleanup time can be flexibly configured, and the method can be universal for different types of reports; the branch parameters can be flexibly configured, and customized branch parameter configuration can be realized for the characteristic businesses and specific reports of different branches. The embodiment of the present application realizes customized data backup and cleanup of different report names of daily reports, ten-day reports, monthly reports, quarterly reports, and annual reports and corresponding reports of different branches on specified dates or specified frequencies through the configuration of report data backup and the first cleanup parameter, the second cleanup parameter, and the third cleanup parameter, and realizes branch parameterized report data backup and cleanup for branch characteristic businesses and specific reports.

[0120] Figure 5 Schematic diagram of the main units of the data processing device according to an embodiment of the present application. Figure 5 As shown, the data processing device 500 includes a receiving unit 501 , a parameter combining unit 502 , a parameter determining unit 503 , a parameter value acquiring unit 504 and a data processing unit 505 .

[0121] The receiving unit 501 is configured to receive a data processing request and obtain a corresponding data processing type identifier, a requirement identifier and data to be processed.

[0122] The parameter combining unit 502 is configured to combine the first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter, and then determine a corresponding combined cleaning parameter value.

[0123] The parameter determination unit 503 is configured to determine the second cleaning parameter and the third cleaning parameter according to the combined cleaning parameter value.

[0124] The parameter value acquisition unit 504 is configured to respectively acquire the second cleaning parameter value and the third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter.

[0125] The data processing unit 505 is configured to perform backup and / or cleanup processing on the data to be processed based on the combined cleanup parameter value, the second cleanup parameter value and the third cleanup parameter value.

[0126] In some embodiments, the parameter combination unit 502 is further configured to: obtain configuration information corresponding to the requirement identifier; obtain first cleaning parameter values ​​corresponding to each first cleaning parameter in the combined cleaning parameter from the configuration information; determine the arrangement order of each first cleaning parameter in the combined cleaning parameter, and then combine each first cleaning parameter value based on the arrangement order, so as to obtain the corresponding combined cleaning parameter value.

[0127] In some embodiments, the parameter determination unit 503 is further configured to: determine an execution time identifier from the combined cleaning parameter value, and then determine the second cleaning parameter based on the execution time identifier; determine a branch identifier from the combined cleaning parameter value, and then determine the third cleaning parameter based on the branch identifier.

[0128] In some embodiments, the data processing unit 505 is further configured to: in response to a retention time identifier configured in the combined cleaning parameter value, perform backup and / or cleanup processing on the data to be processed based on the retention time corresponding to the retention time identifier, the execution time corresponding to the second cleaning parameter value, and the branch data corresponding to the third cleaning parameter value.

[0129] In some embodiments, the data processing unit 505 is further configured to: in response to one or more of the date field identifier, date type identifier or date format identifier configured in the combined cleaning parameter value, perform backup and / or cleanup processing on the data to be processed according to one or more of the date field identifier, date type identifier or date format identifier and the execution time corresponding to the second cleaning parameter value and the branch data corresponding to the third cleaning parameter value.

[0130] In some embodiments, the data processing unit 505 is further configured to: in response to one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier configured in the combined cleanup parameter value, perform backup and / or cleanup processing on the data to be processed according to one or more of the month-end retention mechanism identifier, the year-end retention mechanism identifier and the execution time corresponding to the second cleanup parameter value and the branch data corresponding to the third cleanup parameter value.

[0131] In some embodiments, the data processing unit 505 is further configured to: obtain a backup identifier and a cleanup identifier corresponding to the data to be processed from a data processing request; determine the data to be backed up and the data to be cleaned in the data to be processed according to the backup identifier and the cleanup identifier, respectively; perform backup processing on the data to be backed up and perform cleanup processing on the data to be cleaned based on the combined cleanup parameter value, the execution time corresponding to the second cleanup parameter value, and the branch data corresponding to the third cleanup parameter value.

[0132] It should be noted that the data processing method and the data processing device in the present application have a corresponding relationship in terms of specific implementation content, so the repeated content will not be described again.

[0133] Figure 6 An exemplary system architecture 600 to which the data processing method or data processing device according to the embodiment of the present application can be applied is shown.

[0134] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0135] Users can use terminal devices 601, 602, and 603 to interact with server 605 through network 604 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 601, 602, and 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0136] The terminal devices 601 , 602 , and 603 may be various electronic devices having a data processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0137] Server 605 can be a server that provides various services, such as a background management server that supports data processing requests submitted by users using terminal devices 601, 602, and 603 (only as an example). The background management server can receive a data processing request, obtain the corresponding data processing type identifier, demand identifier, and data to be processed; combine the first cleaning parameter according to the data processing type identifier and the demand identifier to obtain the combined cleaning parameter, and then determine the corresponding combined cleaning parameter value; determine the second cleaning parameter and the third cleaning parameter according to the combined cleaning parameter value; respectively obtain the second cleaning parameter value and the third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter; perform backup and / or cleaning processing on the processed data based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value. By combining the first cleaning parameter according to the data processing type identifier and the demand identifier, a combined cleaning parameter is obtained, and the second cleaning parameter and the third cleaning parameter are determined according to the parameter value corresponding to the combined cleaning parameter, and the processed data is backed up and / or cleaned according to the combined cleaning parameter value and the second cleaning parameter value and the third cleaning parameter value. Thereby realizing customized data backup and cleaning at a specified date or a specified frequency, reducing the occupation of database space and improving database performance.

[0138] It should be noted that the data processing method provided in the embodiment of the present application is generally executed by the server 605 , and accordingly, the data processing device is generally set in the server 605 .

[0139] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0140] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present application. Figure 7 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0141] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the computer system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0142] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0143] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present application are executed.

[0144] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable storage media may include, for example, but are not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0145] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0146] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, may be described as: a processor includes a receiving unit, a parameter combination unit, a parameter determination unit, a parameter value acquisition unit, and a data processing unit. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0147] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device receives a data processing request, obtains the corresponding data processing type identifier, requirement identifier and data to be processed; combines the first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain the combined cleaning parameter, and then determines the corresponding combined cleaning parameter value; determines the second cleaning parameter and the third cleaning parameter according to the combined cleaning parameter value; obtains the second cleaning parameter value and the third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter respectively; performs backup and / or cleaning processing on the data to be processed based on the combined cleaning parameter value, the second cleaning parameter value and the third cleaning parameter value.

[0148] The computer program product of the present application includes a computer program, and the computer program implements the data processing method in the embodiment of the present application when executed by a processor.

[0149] According to the technical solution of the embodiment of the present application, the first cleaning parameter is combined according to the data processing type identifier and the requirement identifier to obtain the combined cleaning parameter, and the second cleaning parameter and the third cleaning parameter are determined according to the parameter value corresponding to the combined cleaning parameter, and the data to be processed is backed up and / or cleaned according to the combined cleaning parameter value and the second cleaning parameter value and the third cleaning parameter value. Thus, customized data backup and cleaning are realized at a specified date or specified frequency, which reduces the occupation of database space and improves database performance.

[0150] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A data processing method, characterized in that: include: Receive a data processing request, and obtain the corresponding data processing type identifier, requirement identifier, and data to be processed; Combining a first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter, and then determining a corresponding combined cleaning parameter value; The determining of the corresponding combined cleaning parameter value includes: obtaining configuration information corresponding to the requirement identifier; obtaining first cleaning parameter values ​​corresponding to each first cleaning parameter in the combined cleaning parameter from the configuration information; determining an arrangement order of each first cleaning parameter in the combined cleaning parameter, and then combining each first cleaning parameter value based on the arrangement order, thereby obtaining a corresponding combined cleaning parameter value; Determine the second cleaning parameter and the third cleaning parameter according to the combined cleaning parameter value; the determining the second cleaning parameter and the third cleaning parameter includes: determining an execution time identifier from the combined cleaning parameter value, and then determining the second cleaning parameter based on the execution time identifier; determining a branch identifier from the combined cleaning parameter value, and then determining the third cleaning parameter based on the branch identifier; Respectively obtain a second cleaning parameter value and a third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter; A backup and / or cleanup process is performed on the to-be-processed data based on the combined cleanup parameter value, the second cleanup parameter value, and the third cleanup parameter value.

2. The method according to claim 1, characterized in that The performing backing up and / or cleaning processing on the to-be-processed data based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes: In response to the combined cleanup parameter value including a retention time identifier, backup and / or cleanup processing is performed on the data to be processed based on the retention time corresponding to the retention time identifier, the execution time corresponding to the second cleanup parameter value, and the branch data corresponding to the third cleanup parameter value.

3. The method according to claim 1, characterized in that The performing backing up and / or cleaning processing on the to-be-processed data based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes: In response to the combined cleansing parameter value including one or more of a date field identifier, a date type identifier or a date format identifier, backup and / or cleansing processing is performed on the data to be processed according to one or more of the date field identifier, the date type identifier or the date format identifier and the execution time corresponding to the second cleansing parameter value and the branch data corresponding to the third cleansing parameter value.

4. The method according to claim 1, characterized in that: The performing backing up and / or cleaning processing on the to-be-processed data based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes: In response to the combined cleanup parameter value including one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier, backup and / or cleanup processing is performed on the data to be processed according to one or more of the month-end retention mechanism identifier, the year-end retention mechanism identifier and the execution time corresponding to the second cleanup parameter value and the branch data corresponding to the third cleanup parameter value.

5. The method according to claim 1, characterized in that The performing backing up and / or cleaning processing on the to-be-processed data based on the combined cleaning parameter value, the second cleaning parameter value, and the third cleaning parameter value includes: Obtaining a backup identifier and a cleanup identifier corresponding to the data to be processed from the data processing request; Determine the data to be backed up and the data to be cleaned up in the data to be processed according to the backup identifier and the cleanup identifier respectively; The backup processing is performed on the data to be backed up based on the combined cleaning parameter value, the execution time corresponding to the second cleaning parameter value, and the branch data corresponding to the third cleaning parameter value, and the cleaning processing is performed on the data to be cleaned.

6. A data processing device, characterized in that: include: A receiving unit is configured to receive a data processing request and obtain a corresponding data processing type identifier, a requirement identifier and data to be processed; A parameter combination unit is configured to combine the first cleaning parameter according to the data processing type identifier and the requirement identifier to obtain a combined cleaning parameter, and then determine a corresponding combined cleaning parameter value; the parameter combination unit is further configured to: obtain configuration information corresponding to the requirement identifier; obtain the first cleaning parameter value corresponding to each first cleaning parameter in the combined cleaning parameter from the configuration information; Determining an arrangement order of each first cleaning parameter in the combined cleaning parameter, and then combining each first cleaning parameter value based on the arrangement order to obtain a corresponding combined cleaning parameter value; A parameter determination unit is configured to determine a second cleaning parameter and a third cleaning parameter according to the combined cleaning parameter value; the parameter determination unit is further configured to: determine an execution time identifier from the combined cleaning parameter value, and then determine the second cleaning parameter based on the execution time identifier; determine a branch identifier from the combined cleaning parameter value, and then determine the third cleaning parameter based on the branch identifier; a parameter value acquisition unit, configured to respectively acquire a second cleaning parameter value and a third cleaning parameter value corresponding to the second cleaning parameter and the third cleaning parameter; The data processing unit is configured to perform backup and / or cleanup processing on the to-be-processed data based on the combined cleanup parameter value, the second cleanup parameter value and the third cleanup parameter value.

7. The device according to claim 6, characterized in that The data processing unit is further configured to: In response to the retention time identifier being configured in the combined cleanup parameter value, backup and / or cleanup processing is performed on the data to be processed based on the retention time corresponding to the retention time identifier, the execution time corresponding to the second cleanup parameter value, and the branch data corresponding to the third cleanup parameter value.

8. The device according to claim 6, characterized in that The data processing unit is further configured to: In response to one or more of the date field identifier, date type identifier or date format identifier configured in the combined cleansing parameter value, backup and / or cleansing processing is performed on the data to be processed according to one or more of the date field identifier, date type identifier or date format identifier and the execution time corresponding to the second cleansing parameter value and the branch data corresponding to the third cleansing parameter value.

9. The device according to claim 6, characterized in that The data processing unit is further configured to: In response to one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier configured in the combined cleanup parameter value, backup and / or cleanup processing is performed on the data to be processed according to one or more of the month-end retention mechanism identifier and the year-end retention mechanism identifier and the execution time corresponding to the second cleanup parameter value and the branch data corresponding to the third cleanup parameter value.

10. A data processing electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

11. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.