Automated batch data adjustment method, universal data correction device, reflection drive device

Through the automated batch data adjustment method and device, the tediousness and risk problems of batch business data adjustment processing in the existing technology are solved, and efficient and flexible data adjustment is achieved to adapt to various business needs.

CN113157794BActive Publication Date: 2025-09-09CHINA CONSTRUCTION BANK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110527369.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-14
Publication Date
2025-09-09
Estimated Expiration
2041-05-14

AI Technical Summary

Technical Problem

In the existing technology, batch business repair processing is achieved through temporary repair patches, which has the problems of cumbersome operation, high requirements on the business capabilities of operation and maintenance personnel, inflexibility and certain risks.

Method used

An automated batch data adjustment method is provided. The method periodically scans the business data files to be batch-adjusted in a specified directory, uses a batch adjustment program to parse and generate a general online transaction request, and sends it to a reflection drive device for business data adjustment. The general adjustment device and the reflection drive device are combined to realize automated batch data processing.

Benefits of technology

It eliminates the need for operation and maintenance personnel to frequently launch temporary patches, and can adapt to the automated batch adjustment of data for a wide range of businesses, thereby improving the amount, efficiency and coverage of repair data and avoiding tedious operations and risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113157794B_ABST
    Figure CN113157794B_ABST
Patent Text Reader

Abstract

This paper provides an automated batch data adjustment method, a universal data correction device, and a reflection-driven device, relating to the field of automated program design. The automated batch data adjustment method, which operates in a job service system, includes: periodically scanning a designated directory for business data files to be batch-corrected; determining the batch correction program to be invoked based on the file type of the business data files to be batch-corrected and the correspondence between the file type and the batch correction program; utilizing the batch correction program to be invoked to parse the business data files to be batch-corrected, determine the business data to be batch-corrected, generate a universal online transaction request based on the business data to be batch-corrected, and send the universal online transaction request to a reflection-driven device pre-deployed in the business system, which responds to the universal online transaction request. This paper enables automated batch correction processes to be executed as long as the batch correction business data files are provided, offering the advantage of adapting to a wide range of business operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic programming, and in particular to an automatic batch adjustment method for data, a universal number correction device, and a reflection drive device. Background Art

[0002] Existing production business systems are primarily customer-oriented. For unified adjustments to large volumes of customer business data, they typically only provide access to specific operations, such as daily batch repayments, batch adjustments to loan products, and batch switching between old and new housing provident fund models. There is no universal automatic data adjustment solution. When temporary data or parameter adjustments are required for certain special businesses during actual production operations, these adjustments are typically addressed through temporary data patches. However, due to the increasing probability of large volumes of business data requiring unified adjustments, frequent data patching solutions are cumbersome, require high-level operational expertise from operations and maintenance personnel, are inflexible, and carry certain risks. Summary of the Invention

[0003] This article aims to solve the problems of existing technologies that implement batch business repair processing through temporary repair patches, which are cumbersome to operate, require high business capabilities of operation and maintenance personnel, are inflexible, and have certain risks.

[0004] In order to solve the above technical problems, a first aspect of this document provides an automated batch data adjustment method, the method comprising:

[0005] Regularly scan the business data files to be batch-corrected in the specified directory;

[0006] Determining the batch correction program to be called according to the file type of the business data file to be batch corrected and the correspondence between the file type and the batch correction program;

[0007] The batch number adjustment program to be called is used to parse the business data file to be batch number adjusted to determine the business data to be batch number adjusted. Based on the business data to be batch number adjusted, a general online transaction request is generated, and the general online transaction request is sent to a reflection driving device pre-deployed in the business system, so that the reflection driving device responds to the general online transaction request to complete the business data adjustment.

[0008] In a further embodiment of the present invention, the process of generating the batch repair service data file includes:

[0009] Determine batch repair business data based on business needs;

[0010] Convert the batch repair service data into a data format to obtain a batch repair service data file;

[0011] The batch repair business data files are stored in a designated directory.

[0012] In a further embodiment of the present invention, the batch repair business data is converted into a data format to obtain a batch repair business data file including:

[0013] Put the batch repair business data into the first directory;

[0014] The batch file conversion program is used to convert the format of the batch repair business data in the first directory, and the converted batch repair business data files are stored in the second directory.

[0015] In a further embodiment of the present invention, the batch repair business data is converted into a data format to obtain a batch repair business data file, which further includes:

[0016] Generate a file conversion log, and store the file conversion log in a third directory.

[0017] In a further embodiment of the present invention, after parsing the scanned batch repair business data file to obtain the batch repair business data, the method further includes: performing data verification according to the business type of the batch repair business data;

[0018] Retain the business data that has passed verification and is awaiting batch revision.

[0019] A second aspect of this invention provides a universal number correction device, comprising:

[0020] Scanning module, used to periodically scan the business data files to be batch-corrected in the specified directory;

[0021] A calling module, configured to determine a batch correction program to be called according to the file type of the batch correction business data file to be corrected and the correspondence between the file type and the batch correction program;

[0022] The online transaction module is used to utilize the batch number adjustment program to be called to parse the business data file to be batch number adjusted, determine the business data to be batch number adjusted, generate a general online transaction request based on the business data to be batch number adjusted, and send the general online transaction request to a reflection drive device pre-deployed in the business system, so that the reflection drive device responds to the general online transaction request to complete the business data adjustment.

[0023] A third aspect of this invention provides an automated batch data adjustment method, comprising:

[0024] receiving general online transaction requests;

[0025] Determine batch repair business data and business processing procedures based on general online transaction requests;

[0026] According to the batch adjustment business data, a designated online transaction request is initiated to the business processing program so that the business processing program completes the adjustment.

[0027] In a further embodiment of the present invention, the method for automatically adjusting data in batches further includes:

[0028] Receive and save the response result file sent by the business processing program.

[0029] In a further embodiment of the present invention, the method for automatically adjusting data in batches further includes:

[0030] Send notification information to the operation and maintenance personnel so that they can download the response result file.

[0031] In a further embodiment of the present invention, determining batch repair service data and service processing procedures based on a general online transaction request includes:

[0032] Parse general online transaction requests, determine transaction codes and batch revision business data;

[0033] A business processing procedure is determined based on the transaction code.

[0034] A fourth aspect of the present invention provides a reflection driving device, comprising:

[0035] A receiving module, configured to receive a general online transaction request;

[0036] The parsing module is used to determine the batch repair business data and business processing procedures based on the general online transaction request;

[0037] The business processing module is used to initiate a specified online transaction request to the business processing program according to the batch adjustment business data, so that the business processing program can complete the adjustment.

[0038] A fifth aspect of this invention provides an automated batch data adjustment system, comprising: a universal data adjustment device and a reflection drive device;

[0039] The universal repair device is used to periodically scan the batch repair business data files in a designated directory; determine the batch repair program to be called based on the file type of the batch repair business data files and the correspondence between the file type and the batch repair program; use the batch repair program to be called to parse the batch repair business data files to determine the batch repair business data; generate a universal online transaction request based on the batch repair business data; and send the universal online transaction request to the reflection drive device;

[0040] The reflection driving device is used to receive a general online transaction request; determine batch repair business data and a business processing program according to the general online transaction request; and initiate a specified online transaction request to the business processing program according to the batch repair business data, so that the business processing program completes the adjustment.

[0041] In a further embodiment of the present invention, the universal number repair device is deployed in the operation service system; and the reflection drive device is deployed in the business system.

[0042] A sixth aspect of this document provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method steps when executing the computer program.

[0043] A seventh aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above method steps are implemented.

[0044] The automated batch data adjustment method, universal repair device, and reflection drive device provided in this article, by setting the execution process of the automated batch data adjustment method in the operation service system and deploying the reflection drive device in the business system, the automated batch data adjustment method regularly scans the business data files to be batch repaired in the specified directory; determines the batch repair program to be called according to the file type of the business data files to be batch repaired and the correspondence between the file type and the batch repair program; uses the batch repair program to be called to parse the business data files to be batch repaired to determine the business data to be batch repaired, generates a universal online transaction request based on the business data to be batch repaired, and sends the universal online transaction request to the reflection drive device in the business system, so that the reflection drive device responds to the universal online transaction request to complete the business data adjustment, so that the operation and maintenance personnel can respond to various special repair needs at any time by providing the business data files to be batch repaired, thereby realizing automated batch data adjustment, which has the characteristics of adapting to a wide range of businesses and avoiding frequent online temporary patch solutions.

[0045] In order to make the above and other purposes, features and advantages of this article more obvious and easy to understand, the following specifically cites preferred embodiments and provides detailed descriptions in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of this article or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of this article. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 A flowchart of an automated batch data adjustment method applied to a job service system according to an embodiment of the present invention is shown;

[0048] Figure 2 A flowchart of a process for generating a batch repair service data file according to an embodiment of the present invention is shown;

[0049] Figure 3 A schematic diagram showing the repair business data of a CSV format file in an embodiment of this invention;

[0050] Figure 4 A schematic diagram showing a data file of a repair business in JSON format according to an embodiment of the present invention;

[0051] Figure 5 A first flow chart of the method for automatically adjusting batch data according to an embodiment of the present invention applied to a business system is shown;

[0052] Figure 6 A second flow chart of the method for automatically adjusting batch data according to an embodiment of the present invention applied to a business system is shown;

[0053] Figure 7 The structure diagram of the general number correction device of the embodiment of this article is shown;

[0054] Figure 8 shows a structural diagram of the reflection drive device according to an embodiment of this invention;

[0055] Figure 9 The structure diagram of the automatic batch adjustment data system according to the embodiment of this invention is shown;

[0056] Figure 10 The diagram shows the structure of the computer device according to the embodiment of this article.

[0057] Description of the accompanying symbols:

[0058] 710, scanning module;

[0059] 720, calling module;

[0060] 730, online transaction module;

[0061] 810, receiving module;

[0062] 820, parsing module;

[0063] 830, business processing module;

[0064] 910, universal number repair device;

[0065] 920, reflection drive device;

[0066] 930. Data preparation device;

[0067] 1002. Computer equipment;

[0068] 1004, processor;

[0069] 1006. Memory;

[0070] 1008, driving mechanism;

[0071] 1010, input / output module;

[0072] 1012. Input device;

[0073] 1014. Output device;

[0074] 1016. Presentation equipment;

[0075] 1018. Graphical user interface;

[0076] 1020, network interface;

[0077] 1022, communication link;

[0078] 1024. Communication bus. DETAILED DESCRIPTION

[0079] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of this document. Obviously, the embodiments described are only part of the embodiments of this document, not all of the embodiments. Based on the embodiments of this document, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this document.

[0080] This specification provides method operation steps as described in the embodiments or flowcharts, but more or fewer operation steps may be included based on routine or non-creative work. The order of steps listed in the embodiments is only one way of executing the steps among many orderings and does not represent the only execution order. When a system or device product is actually executed, the method can be executed in the order shown in the embodiments or the drawings or in parallel.

[0081] The automated batch data adjustment method provided in this article can be applied to banking, finance, and other technology fields. Any field with the need to modify data in batches falls within the scope of protection of this article.

[0082] like Figure 1As shown, an automated batch data adjustment method for a job service system is provided to address the existing problems of batch data adjustment processing using temporary data patching, which is cumbersome, requires high professional skills of operation and maintenance personnel, is inflexible, and has certain risks. Specifically, the automated batch data adjustment method on the universal data adjustment device side includes:

[0083] Step 110, regularly scanning the business data files to be batch-corrected in the designated directory;

[0084] Step 120, determining the batch correction program to be called based on the file type of the business data file to be batch corrected and the correspondence between the file type and the batch correction program;

[0085] Step 130: parse the business data file to be batch-corrected using the batch correction program to be called, determine the business data to be batch-corrected, generate a general online transaction request based on the business data to be batch-corrected, and send the general online transaction request to a reflection driver pre-deployed in the business system, so that the pre-deployed reflection driver responds to the general online transaction request to complete the business data adjustment.

[0086] In detail, when the above step 110 is implemented, the business data files to be batch-corrected in the designated directory can be scanned regularly according to a predetermined plan. The predetermined plan can be, for example, 10-second intervals, 30-second intervals, etc., and this article does not limit the predetermined plan.

[0087] The designated directory is used to store the business data files to be batch-corrected. The specific location of the designated directory is set according to the needs and is not limited in this article.

[0088] The term "data correction" in this article encompasses the process of adjusting business parameters and emergency repairs. For example, in the banking sector, if an incorrect interest rate setting results in an incorrect customer repayment amount, impacting the customer's repayment, an urgent adjustment of the interest rate parameter is required. This parameter adjustment is called a data correction. Another example is a repayment function anomaly, resulting in a customer's repayment date not being automatically deducted or the repayment amount being incorrect. In this case, the program needs to be urgently re-released and the repayment request initiated again to ensure the customer's repayment time and amount are correct. This emergency repair process is called a data correction.

[0089] Taking the banking sector as an example, batch adjustment services include adjusting the LPR interest rates of loans for a large number of accounts, initiating batch repayments, switching provident fund modes, changing account information, opening loan accounts, adding and adjusting loan customer information, personal repayments, loan settlements, etc.

[0090] The data files for batch revisions contain data for business operations to be revised. These data are field-by-field combinations of parameters to be modified and the modified data. For example, in the banking sector, these data files might include loan customer information adjustments (changing the borrower, such as changing Zhang San to Li Si), loan interest rate adjustments (raising the loan interest rate), individual repayments (adjusting the repayment amount), and conversions from the old to the new housing provident fund loan model (changing the old housing provident fund loan model from bank-processed to the new model, where the housing provident fund center processes the loan itself).

[0091] Each type of batch repair business data file corresponds to a batch repair program. In other words, different types of batch repair business files have different processing logic. The correspondence between file types and batch repair programs is shown in Table 1. Developers can pre-design batch repair programs based on batch repair business files. These programs specify rules for parsing batch repair business data files and generating general online transaction requests. These programs are used to simulate initiating general online transaction requests based on batch repair business data.

[0092] Table 1

[0093] File Type Batch repair program 05Type Batch update accounting program 07 Type Batch update information program X Universal Bulk Updater …… ……

[0094] A general online transaction request is an XML file. In addition to business data, the XML file will also be supplemented by a number-correction program with message header content such as the transaction serial number, transaction institution, legal entity logo, branch teller information, etc.

[0095] General online transaction requests can be sent directly to the business system via HTTP. General online transaction requests can be parsed and responded to by the reflection driver.

[0096] Business data is stored in the business system, which refers to the processing system that provides services to the outside world. Taking the banking field as an example, business systems include personal loan systems, deposit systems, risk control systems, credit card business systems, etc.

[0097] The launch calling device is a JAVA language program calling mode. In the personal loan system, it can automatically find the corresponding business processing program according to the transaction code name and perform business processing.

[0098] The automated batch data adjustment method provided in this embodiment sets an execution flow of the automated batch data adjustment method in an operation service system and deploys a reflection driving device in a business system. The automated batch data adjustment method periodically scans the business data files to be batch-corrected in a specified directory; determines the batch correction program to be called according to the file type of the business data files to be batch-corrected and the correspondence between the file type and the batch correction program; uses the batch correction program to be called to parse the business data files to be batch-corrected to determine the business data to be batch-corrected; generates a general online transaction request based on the business data to be batch-corrected, and sends the general online transaction request to the reflection driving device in the business system, so that the reflection driving device responds to the general online transaction request to complete the business data adjustment, so that the operation and maintenance personnel can respond to various special correction requirements at any time by providing the business data files to be batch-corrected, thereby realizing automated batch data adjustment, which has the characteristics of adapting to a wide range of businesses and avoiding frequent online temporary patch solutions.

[0099] In one embodiment of this invention, Figure 2 As shown in the figure, the process of generating the batch repair business data file includes:

[0100] Step 210: Determine batch repair service data based on service requirements;

[0101] Step 220, converting the data format of the batch repair service data to obtain a batch repair service data file;

[0102] Step 230: store the batch repair service data files in a designated directory.

[0103] In practice, the business requirements in step 210 can be set by developers or business personnel. For example, if a developer discovers a bug in the code or omissions in the released content, they may request a temporary solution to modify the data. Another example is when a business personnel is processing a temporary repayment involving 1,000 customers. Normally, they would need to process the repayment data for each customer individually on the page. In this case, they may request a batch operation of 1,000 repayment records. Another example is when interest rates suddenly need to be adjusted due to policy reasons, and interest rates vary across different regions.

[0104] According to business needs, the business data of the repair business is retrieved and determined from the business database. Generally, the repair business data is in CSV format. The CSV format file provides the business code, account number, and specific business modification information (field level) of the corresponding repair business in a fixed format. Taking the banking field as an example, the batch repair business data in CSV format is as follows: Figure 3 As shown, each field is separated by a comma, and the meaning of each field is as follows:

[0105] serialNumber: serial number, a number less than or equal to 8 digits in length;

[0106] txCode: transaction code, less than or equal to 15 characters in length. For example, A0201M025 indicates a change in product code and general ledger key value.

[0107] loanAcctNum: account number, composed of RtCtl1, RtCtl2, RtCtl3, RtCtl4, and RtAcctNum, with a length of 26 digits, for example, 31001036360000000001111111;

[0108] RtCtl1: branch number, for example 21;

[0109] RtCtl2: currency, for example 001;

[0110] RtCtl3:: Second-level branch, such as 036;

[0111] RtCtl4: network point, for example 3600;

[0112] RtAcctNum: account number, for example, 00000001111111;

[0113] WkFunc: function code, such as U (update);

[0114] RtAcctProd: Product code - such as 1112.

[0115] In the above step 220, the batch repair business data is converted into a data format, that is, the CSV format file is converted into a JSON format file, such as Figure 4 As shown, the JSON format is a development file format that can be used to adjust the length of each field according to a certain format to generate fixed-length message records. For example, commas are removed, the first field sequence number is less than 8 digits, and leading zeros are added to fill it up to 8 digits. The transaction code field is less than 15 digits and trailing spaces are added to fill it up to 15 digits. Two 1s are added after the account number to indicate an internal call and dynamic loading, respectively (these two fields are fixed). Step 220 can avoid the problem of incorrect length that may occur when business personnel handle it themselves.

[0116] When implementing step 230 above, it can be achieved by uploading data through operations and maintenance methods, etc. There can also be dedicated channels for business personnel to upload data, and the upload processing time can be flexibly selected according to business rules. For example, for businesses such as batch repayments and interest rate adjustments, they need to be completed before the business system batch processing (generally starting at 18:30) on the same day, so the upload processing time can be before the business system batch processing. The upload processing time also depends on the specific time of the production environment change, and an application must be submitted. For example, the personal loan system is normally launched from 22:00 to 3:00 on Saturday night, and a temporary application can also be submitted, such as from 22:00 to 3:00 on the same night.

[0117] In a further embodiment of the present invention, the above step 220 converts the data format of the repair business data to obtain a batch repair business data file, which can be triggered by the business personnel. The specific conversion process is implemented by a batch file conversion program. Specifically, the above step 220 further includes:

[0118] (1) Put the repair business data into the first directory (i.e., source directory);

[0119] (2) Using a batch file conversion program, the format of the repair business data in the first directory is converted, and the converted batch repair business data files are stored in a second directory (for example, the btchFile directory).

[0120] In step (2), you can implement the format conversion by running the Linux server command: java –jar GenBtchProxyFileConvert.jar.

[0121] During specific implementation, in order to facilitate the query of the conversion effect of the repair business data, a file conversion log is also generated to record the abnormal information generated during the conversion process, and the file conversion log is stored in the conver.log file.

[0122] In one embodiment of the present invention, in order to ensure the correctness of the parsing results, the above-mentioned step 130 parses the scanned business data file to be batch repaired, and after obtaining the business data to be batch repaired, it also includes: performing data verification according to the business type of the business data to be batch repaired; and retaining the business data to be batch repaired that passes the verification.

[0123] In one embodiment of the present invention, a method for automatically adjusting data in batches applied to a business system is also provided. Figure 5 Shown, including:

[0124] Step 510, receiving a general online transaction request;

[0125] Step 520: Determine batch repair service data and service processing procedures based on the general online transaction request.

[0126] Step 530: Initiate a designated online transaction request to the business processing program based on the batch adjustment business data, so that the business processing program completes the adjustment.

[0127] Among them, step 520 determines the batch repair business data and business processing procedures based on the general online transaction request, including:

[0128] Step 521: Parse the general online transaction request to determine the transaction code and batch repair business data;

[0129] Step 522: Determine the business processing procedure based on the transaction code.

[0130] In detail, there is a mapping relationship between transaction codes and business processing procedures. For example, if the transaction code is A0201M 025, the corresponding program name is TBBA0201M025. The reflection logic is to find the corresponding processing procedure based on the transaction code (in the request file) and call the processing procedure.

[0131] The automated batch adjustment data method applied to the business system side provided in this embodiment is used in conjunction with the automated batch adjustment data method applied to the operation service system, so that operation and maintenance personnel can respond to various special repair needs at any time by providing the business data files to be repaired in batches, thereby realizing automated batch adjustment of data, which is adaptable to a wide range of businesses and avoids frequent online temporary patch solutions.

[0132] In one embodiment of this invention, Figure 6 As shown, in order to facilitate timely understanding and future query of batch processing status, the automated batch data adjustment method applied to the business system side includes, in addition to the above steps 510 to 530, the following steps:

[0133] Step 540: Receive and save the response result file sent by the business processing program;

[0134] Step 550: Send notification information to the operation and maintenance personnel so that the operation and maintenance personnel can download the response result file.

[0135] Specifically, during batch processing, each online transaction request initiated is synchronized and will wait for a response result. A response result indicates that the online transaction request is completed. There is also a default timeout period (such as 3 seconds for personal loan systems). If a response result is not returned within this time, it means that the transaction has failed. Even in the case of a transaction failure, it also means that the transaction is completed.

[0136] and Figure 1 The automated batch adjustment data set method applied to the job service system side is shown and Figure 5Corresponding to the automated batch data adjustment method for the business system shown, this document also provides a universal data correction device and a reflection-driven device, as described in the following embodiments. Because the principles and methods for solving the problem are similar, the implementation of the device can be referenced to the method, and any repetitions will not be repeated.

[0137] The universal correction device and reflection driving device provided in this article include multiple functional modules, all of which can be implemented by dedicated or general chips, or through software programs, which is not limited in this article.

[0138] Specifically, such as Figure 7 As shown, the universal number correction device includes:

[0139] Scanning module 710, used for periodically scanning the business data files to be batch-corrected in the specified directory;

[0140] A calling module 720 is configured to determine a batch correction program to be called based on the file type of the batch correction business data file and the correspondence between the file type and the batch correction program;

[0141] The online transaction module 730 is used to utilize the batch adjustment program to be called to parse the business data file to be batch adjusted, determine the business data to be batch adjusted, generate a general online transaction request based on the business data to be batch adjusted, and send the general online transaction request to a reflection driver pre-deployed in the business system, so that the pre-deployed reflection driver responds to the general online transaction request to complete the business data adjustment.

[0142] like Figure 8 As shown, the reflection driving device includes:

[0143] Receiving module 810, for receiving a general online transaction request;

[0144] The parsing module 820 is used to determine the data correction business data and business processing procedures based on the general online transaction request;

[0145] The business processing module 830 is used to initiate a specified online transaction request to the business processing program based on the adjustment business data, so that the business processing program can complete the adjustment.

[0146] In one embodiment of this invention, Figure 9 As shown, an automated batch adjustment data system is also provided, including: a universal number adjustment device 910 and a reflection drive device 920;

[0147] The universal repair device 910 is deployed in the operation service system and is used to periodically scan the batch repair business data files to be repaired in a specified directory; determine the batch repair program to be called based on the file type of the batch repair business data files and the correspondence between the file type and the batch repair program; use the batch repair program to be called to parse the batch repair business data files to determine the batch repair business data to be repaired; generate a universal online transaction request based on the batch repair business data to be repaired, and send the universal online transaction request to the reflection driving device 920;

[0148] The reflection driving device 920 is deployed in the business system and is used to receive a general online transaction request; determine the adjustment business data and business processing program based on the general online transaction request; and initiate a specified online transaction request to the business processing program based on the adjustment business data to enable the business processing program to complete the adjustment.

[0149] During specific implementation, it also includes a data preparation device 930, which is used to determine batch repair business data according to business needs; convert the data format of the batch repair business data to obtain the business data file to be batch repaired; and store the business data file to be batch repaired in a designated directory.

[0150] The automated batch adjustment data system provided in this article can achieve the following technical effects:

[0151] (1) This paper designs a general batch agent framework to maximize the efficiency of production and maintenance. Compared with the traditional operation and maintenance adjustment data for a single account, it greatly improves the amount of repair data, repair efficiency, and repair coverage.

[0152] (2) This article only needs to provide batch repair business data files to fully automatically execute the repair process;

[0153] (3) This article is highly versatile and adaptable to a wide range of business operations, avoiding the need for frequent temporary patch deployments.

[0154] To better illustrate the technical solution in this article, let's take the example of automated batch correction in the banking field to explain in detail:

[0155] (1) The branch provides batch repayment business files (CSV format, for example, 1,000 repayment records) to the project team;

[0156] (2) The project team converts the business files into batch repair business data files through a file conversion program (tool);

[0157] (3) In the requested version window (e.g. 15:00), upload the batch revision business data file to the / home / ap / nas / BtchPrxy directory of the job service system (NLSJS);

[0158] (4) The job service system automatically scans the / home / ap / nas / BtchPrxy directory and initiates a batch of repayment transactions to the business system (NLS) based on the file name and file content (e.g., 1000 repayment records) for repayment, and waits for the repayment results to be returned to the job service system;

[0159] (5) The operation service system generates a repayment result file and puts it in the / home / ap / nas / BtchPrxy / result directory, notifying the business personnel to download the result file through the bank's employee-specific tools, or the operation and maintenance personnel can use FTP transmission to download the result file for reference by the business personnel.

[0160] In one embodiment of this invention, Figure 10 As shown, a computer device is also provided. The computer device 1002 may include one or more processors 1004, such as one or more central processing units (CPUs), each of which may implement one or more hardware threads. The computer device 1002 may also include any memory 1006 for storing any type of information, such as code, settings, data, etc. Specifically, the memory stores a computer program executable on the processor. When the processor executes the computer program, the aforementioned method for automated batch data adjustment on the job service system side and the method for automated batch data adjustment on the business system side are implemented. For example, and without limitation, the memory 1006 may include any one or more combinations of the following: any type of RAM, any type of ROM, a flash memory device, a hard disk, an optical disk, etc. More generally, any memory may use any technology to store information. Furthermore, any memory may provide volatile or non-volatile retention of information. Furthermore, any memory may represent a fixed or removable component of the computer device 1002. In one embodiment, when the processor 1004 executes associated instructions stored in any memory or combination of memories, the computer device 1002 may perform any operation of the associated instructions. The computer device 1002 also includes one or more drive mechanisms 1008 for interacting with any storage, such as a hard disk drive mechanism, an optical disk drive mechanism, and the like.

[0161] Computer device 1002 may also include an input / output module 1010 (I / O) for receiving various inputs (via input device 1012) and providing various outputs (via output device 1014). A specific output mechanism may include a presentation device 1016 and an associated graphical user interface 1018 (GUI). In other embodiments, input / output module 1010 (I / O), input device 1012, and output device 1014 may not be included, and the computer device 1002 may simply function as a computer device on a network. Computer device 1002 may also include one or more network interfaces 1020 for exchanging data with other devices via one or more communication links 1022. One or more communication buses 1024 couple the components described above together.

[0162] The communication link 1022 may be implemented in any manner, for example, via a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 1022 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.

[0163] Corresponding to Figure 1 、 Figure 4-Figure 6 The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which executes the steps of the above method when executed by a processor.

[0164] The embodiment of the present invention also provides a computer readable instruction, wherein when the processor executes the instruction, the program causes the processor to execute the following Figure 1 、 Figure 4-Figure 6 The method shown.

[0165] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.

[0166] It should also be understood that in the embodiments herein, the term "and / or" merely describes an association between associated objects, indicating that three possible relationships exist. For example, "A and / or B" could represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.

[0167] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the composition and steps of each example according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this document.

[0168] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0169] In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices, or units, or can be an electrical, mechanical, or other form of connection.

[0170] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments herein.

[0171] In addition, the functional units in the various embodiments herein may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0172] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0173] This article uses specific embodiments to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for those skilled in the art, based on the ideas of this article, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation to this article.

Claims

1. An automated batch data adjustment method, characterized in that: Running in the job service system, the method includes: Regularly scan the business data files to be batch-corrected in the specified directory; Determining the batch correction program to be called according to the file type of the business data file to be batch corrected and the correspondence between the file type and the batch correction program; The batch number adjustment program to be called is used to parse the business data file to be batch number adjusted to determine the business data to be batch number adjusted. Based on the business data to be batch number adjusted, a general online transaction request is generated, and the general online transaction request is sent to a reflection driving device pre-deployed in the business system, so that the reflection driving device responds to the general online transaction request to complete the business data adjustment.

2. The automated batch data adjustment method according to claim 1, wherein: The process of generating the batch repair service data file includes: Determine batch repair business data based on business needs; Convert the batch repair service data into a data format to obtain a batch repair service data file; The batch repair business data files are stored in a designated directory.

3. The automated batch data adjustment method according to claim 2, wherein: The batch repair business data is converted into a data format to obtain a batch repair business data file including: Put the batch repair business data into the first directory; The batch file conversion program is used to convert the format of the batch repair business data in the first directory, and the converted batch repair business data files are stored in the second directory.

4. The automated batch data adjustment method according to claim 3, wherein: The data format of the batch repair business data is converted to obtain a batch repair business data file, which also includes: Generate a file conversion log, and store the file conversion log in a third directory.

5. The automated batch data adjustment method according to claim 1, wherein: After determining the business data to be batch-corrected, it also includes: Perform data verification based on the business type of the business data to be batch-corrected; Retain the business data that has passed verification and is awaiting batch revision.

6. A universal number correction device, characterized in that: include: Scanning module, used to periodically scan the business data files to be batch-corrected in the specified directory; A calling module, configured to determine a batch correction program to be called according to the file type of the batch correction business data file to be corrected and the correspondence between the file type and the batch correction program; The online transaction module is used to utilize the batch number adjustment program to be called to parse the business data file to be batch number adjusted, determine the business data to be batch number adjusted, generate a general online transaction request based on the business data to be batch number adjusted, and send the general online transaction request to a reflection drive device pre-deployed in the business system, so that the reflection drive device responds to the general online transaction request to complete the business data adjustment.

7. An automated batch data adjustment method, characterized in that: Runs on business systems, including: Receiving a general online transaction request sent by a general repair device in an operation service system; Determine batch repair business data and business processing procedures based on general online transaction requests; Initiating a designated online transaction request to the business processing program based on the batch adjustment business data, so that the business processing program completes the adjustment; The process of the universal data repair device generating a universal online transaction request includes: Regularly scan the business data files to be batch-corrected in the specified directory; Determining the batch correction program to be called according to the file type of the business data file to be batch corrected and the correspondence between the file type and the batch correction program; The batch repair program to be called is used to parse the business data file to be repaired in batches, determine the business data to be repaired in batches, and generate a general online transaction request based on the business data to be repaired in batches.

8. The automated batch data adjustment method according to claim 7, wherein: Also includes: Receive and save the response result file sent by the business processing program.

9. The automated batch data adjustment method according to claim 8, wherein: Also includes: Send notification information to the operation and maintenance personnel so that they can download the response result file.

10. The automated batch data adjustment method according to claim 7, wherein: Based on the general online transaction request, the batch repair business data and business processing procedures are determined, including: Parse general online transaction requests, determine transaction codes and batch revision business data; A business processing procedure is determined based on the transaction code.

11. A reflection drive device, characterized in that: Runs on business systems, including: A receiving module, configured to receive a general online transaction request sent by a general repair device in the operation service system; The parsing module is used to determine the batch repair business data and business processing procedures based on the general online transaction request; A business processing module, configured to initiate a designated online transaction request to the business processing program based on the batch adjustment business data, so that the business processing program completes the adjustment; The process of the universal data repair device generating a universal online transaction request includes: Regularly scan the business data files to be batch-corrected in the specified directory; Determining the batch correction program to be called according to the file type of the business data file to be batch corrected and the correspondence between the file type and the batch correction program; The batch repair program to be called is used to parse the business data file to be repaired in batches, determine the business data to be repaired in batches, and generate a general online transaction request based on the business data to be repaired in batches.

12. An automated batch data adjustment system, characterized in that: include: Universal number correction device and reflection drive device; The universal number correction device is used to regularly scan the business data files to be corrected in batches in the designated directory; Determining a batch repair program to be called based on the file type of the batch repair business data file to be repaired and the correspondence between the file type and the batch repair program; parsing the batch repair business data file to be repaired using the batch repair program to be called to determine the batch repair business data to be repaired; generating a general online transaction request based on the batch repair business data to be repaired; and sending the general online transaction request to the reflection driving device; The reflection driving device is used to receive a general online transaction request; determine batch repair business data and a business processing program according to the general online transaction request; and initiate a specified online transaction request to the business processing program according to the batch repair business data, so that the business processing program completes the adjustment.

13. The automated batch data adjustment system according to claim 12, wherein: The universal number repair device is deployed in the operation service system; The reflection driving device is deployed in the business system.

14. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the automatic batch adjustment method for data according to any one of claims 1 to 5 and the automatic batch adjustment method for data according to any one of claims 7 to 10 are implemented.

15. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the automatic batch adjustment method for data according to any one of claims 1 to 5 and the automatic batch adjustment method for data according to any one of claims 7 to 10.

Citation Information

Patent Citations

  • Service processing method and device

    CN111415262A