Data processing method, device, equipment, storage medium and program product

Obtaining and generating accounting documents through an automated process solves the problem of low accounting document generation efficiency in the existing technology, realizes efficient document information generation, simplifies the development process and reduces costs.

CN113111631BActive Publication Date: 2024-10-22BEIJING TONGBANGZHUOYI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110406704.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-15
Publication Date
2024-10-22
Estimated Expiration
2041-04-15

AI Technical Summary

Technical Problem

In the existing technology, the generation efficiency of accounting documents is low and manual operations are required, resulting in low efficiency.

Method used

By designing an automated process, the file template and data to be processed of the target object are obtained, and file information is generated based on the template and data, including querying the pipeline database, obtaining parameter values ​​and writing them into the template to generate file information and improve the efficiency of file information generation.

Benefits of technology

It realizes the automated generation of accounting documents, improves the efficiency of document information generation, avoids inefficiencies caused by manual operations, simplifies the development process, and reduces labor costs and error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113111631B_ABST
    Figure CN113111631B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a data processing method, apparatus, device, storage medium and program product, the method comprising: obtaining a first request; the first request comprises a first identifier of a target object, the first request is used to request to generate file information of the target object; according to the first request, obtaining a file template corresponding to the first identifier; obtaining N to-be-processed data corresponding to the target object; N is a positive integer greater than or equal to 1; generating file information according to the file template and the N to-be-processed data. It is used to improve the efficiency of generating file information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of information processing technology, and in particular, to a data processing method, apparatus, device, storage medium, and program product. Background Art

[0002] Currently, an investor can provide funds to multiple investees. During the process of the investees using the funds, the investor usually needs to understand the use of the funds by the investees (such as the purpose of the funds, etc.) through accounting documents.

[0003] In the related technology, the investor provides the developer with the investor's requirements (for example, including items such as the purpose of funds), and the developer develops an accounting template (for example, including items such as the purpose of funds) based on the investor's requirements. The financial personnel write the parameter values ​​corresponding to the above items in the accounting template based on the flow information of funds (for example, the parameter value corresponding to the purpose of funds is debit and credit), and obtain the accounting file.

[0004] In the above-mentioned related technologies, if the accounting files are obtained manually (including developers and financial personnel), the generation efficiency of the accounting files is low. Summary of the invention

[0005] Embodiments of the present application provide a data processing method, apparatus, device, storage medium, and program product for improving the efficiency of generating file information.

[0006] In a first aspect, an embodiment of the present application provides a data processing method, including:

[0007] Obtaining a first request; the first request includes a first identifier of a target object, and the first request is used to request generation of file information of the target object;

[0008] According to the first request, obtaining a file template corresponding to the first identifier;

[0009] Obtain N data to be processed corresponding to the target object; N is a positive integer greater than or equal to 1;

[0010] Generate file information according to the file template and N data to be processed.

[0011] In a possible design, file information is generated according to the file template and N data to be processed, including:

[0012] According to the identification information of N data to be processed, query the pipeline database to obtain M pipeline data corresponding to the N data to be processed; M is a positive integer less than or equal to N;

[0013] Generate file information based on M pipeline data and M file templates.

[0014] In a possible design, file information is generated according to M pipeline data and M file templates, including:

[0015] For each stream data, obtaining a parameter value corresponding to at least one item included in the file template from the stream data;

[0016] The parameter value is written into at least one entry included in the file template to generate file information.

[0017] In a possible design, before obtaining the file template corresponding to the first identifier according to the first request, the method further includes:

[0018] Obtain at least one first entry corresponding to the target object;

[0019] Determine the similarity corresponding to each file template according to at least one first entry and at least one second entry included in each file template in the template database;

[0020] A file template corresponding to the first identifier is generated according to the similarity between the at least one first entry and each file template.

[0021] In a possible design, generating a file template corresponding to the first identifier according to the similarity between at least one first entry and each file template includes:

[0022] Determine the file template with the greatest similarity in the template database as the first initial template;

[0023] Copying the first initial template to obtain a second initial template;

[0024] At least one second entry in the second initial template is modified according to the at least one first entry to obtain a file template corresponding to the first identifier.

[0025] In one possible design, the method further includes:

[0026] Obtain an update request; the update request includes at least one third entry and an update type corresponding to each third entry;

[0027] According to at least one third item in the update request and the update type corresponding to each third item, the file template corresponding to the first identifier is updated.

[0028] In a second aspect, an embodiment of the present application provides a data processing device, including: a first acquisition module, a second acquisition module, a third acquisition module and a generation module; wherein,

[0029] A first acquisition module is used to acquire a first request; the first request includes a first identifier of a target object, and the first request is used to request to generate file information of the target object;

[0030] A second acquisition module, used to acquire a file template corresponding to the first identifier according to the first request;

[0031] The third acquisition module is used to acquire N to-be-processed data corresponding to the target object; N is a positive integer greater than or equal to 1;

[0032] The generation module is used to generate file information according to the file template and N data to be processed.

[0033] In a possible design, the generation module is specifically used to:

[0034] According to the identification information of N data to be processed, query the pipeline database to obtain M pipeline data corresponding to the N data to be processed; M is a positive integer less than or equal to N;

[0035] Generate file information based on M pipeline data and M file templates.

[0036] In a possible design, the generation module is specifically used to:

[0037] For each stream data, obtaining a parameter value corresponding to at least one item included in the file template from the stream data;

[0038] The parameter value is written into at least one entry included in the file template to generate file information.

[0039] In one possible design, the apparatus further includes: a fourth acquisition module;

[0040] The fourth acquisition module is used to acquire at least one first entry corresponding to the target object before acquiring the file template corresponding to the first identifier according to the first request;

[0041] Determine the similarity corresponding to each file template according to at least one first entry and at least one second entry included in each file template in the template database;

[0042] A file template corresponding to the first identifier is generated according to the similarity between the at least one first entry and each file template.

[0043] In a possible design, the fourth acquisition module is specifically used to:

[0044] Determine the file template with the greatest similarity in the template database as the first initial template;

[0045] Copying the first initial template to obtain a second initial template;

[0046] At least one second entry in the second initial template is modified according to the at least one first entry to obtain a file template corresponding to the first identifier.

[0047] In a possible design, the fourth acquisition module is further used for:

[0048] Obtain an update request; the update request includes at least one third entry and an update type corresponding to each third entry;

[0049] According to at least one third item in the update request and the update type corresponding to each third item, the file template corresponding to the first identifier is updated.

[0050] In a third aspect, an embodiment of the present application provides a server, including: a processor and a memory;

[0051] Memory stores computer-executable instructions;

[0052] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the data processing method in any one of the first aspects above.

[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the data processing method as described in any one of the first aspects above is implemented.

[0054] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the data processing method in any one of the first aspects above when the computer program is executed by a processor.

[0055] The embodiment of the present application provides a data processing method, device, equipment, storage medium and program product. The data processing method includes: obtaining a first request; according to the first request, obtaining a file template corresponding to a first identifier; obtaining N to-be-processed data corresponding to a target object; generating file information according to the file template and the N to-be-processed data, so that the process of generating file information is converted into an automated process, the efficiency of generating file information is improved, and the problem of low efficiency of generating file information caused by manually obtaining file information is avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0057] Figure 1 A schematic diagram of an application scenario of the data processing method provided in an embodiment of the present application;

[0058] Figure 2 Schematic diagram of the data processing method provided in the embodiment of the present application Figure 1 ;

[0059] Figure 3 Schematic diagram of the data processing method provided in the embodiment of the present application Figure 2 ;

[0060] Figure 4 A schematic diagram of a preset entry form provided in an embodiment of the present application;

[0061] Figure 5 A schematic diagram of file information provided in an embodiment of the present application;

[0062] Figure 6 A schematic diagram of the structure of the data processing device provided in the embodiment of the present application Figure 1 ;

[0063] Figure 7 A schematic diagram of the structure of the data processing device provided in the embodiment of the present application Figure 2 ;

[0064] Figure 8 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0066] First, the terms involved in this application are explained:

[0067] Investor: refers to the unit or individual that provides funds to the investee.

[0068] Investee: refers to the unit or individual that obtains funds provided by the investor.

[0069] When the investor understands the use of funds by the investee through the accounting file. In the prior art, the investor provides the investor's requirements to the developer, and the developer develops the accounting template according to the investor's requirements. The financial staff writes the parameter values ​​corresponding to the multiple items included in the accounting template into the accounting template according to the flow information of the funds to obtain the accounting file. In the above prior art, the accounting file is obtained manually, resulting in low efficiency in generating the accounting file.

[0070] In this application, in order to improve the efficiency of generating accounting documents, the inventors have thought of designing the generation process of accounting documents as an automated process to improve the generation efficiency of accounting documents and avoid the problem of low generation efficiency of accounting documents caused by manually obtaining accounting documents.

[0071] In order to facilitate the understanding of this application, first combine Figure 1 The application scenarios of the data processing method provided in the embodiments of the present application that can be implemented through an automated process are described.

[0072] Figure 1 Schematic diagram of application scenarios of the data processing method provided in the embodiment of the present application. Figure 1 As shown, it includes: a first electronic device 101, a server 102 and a template database 103.

[0073] For example, the first electronic device 101 may be a computer device, a tablet computer, etc. The template database 103 may be set in the server 102, or may be set in a second electronic device independent of the server. The template database stores at least one file template.

[0074] The first electronic device 101 can send a first request to the server 102, where the first request includes a first identifier; the server 102 can query the template database 103 based on the first identifier, obtain a file template (e.g., an accounting template) corresponding to the first identifier, generate file information (e.g., an accounting file) of the investor corresponding to the first identifier based on the file template, and send the file information to the first electronic device 101.

[0075] In the present application, the server obtains a file template according to the first identifier, and generates the file information of the investor according to the file template, so that the file information generation process is an automated process, thereby improving the generation efficiency of the file information and avoiding the problem of low file information generation efficiency caused by manual preparation of file information.

[0076] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0077] Figure 2 Schematic diagram of the data processing method provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, the method may include:

[0078] S201. Obtain a first request; the first request includes a first identifier of a target object, and the first request is used to request generation of file information of the target object.

[0079] The execution subject of the embodiment of the present application may be a server, or a data processing device set in the server, and the data processing device may be implemented by a combination of software and / or hardware. For example, the data processing device may be a target object bank gateway, where the target object may be, for example, an investor. The present application is described below by taking the execution subject as the target object bank gateway as an example.

[0080] Exemplarily, the first request can be obtained in the following manner: obtain the first request sent by the unified scheduling platform. The unified scheduling platform can be set in the first electronic device. Specifically, the unified scheduling platform obtains the current time, determines whether the current time exists in the pre-stored first mapping relationship; if so, obtains the identifier corresponding to the current time from the first mapping relationship, determines the identifier corresponding to the current time as the first identifier, and generates a first request based on the first identifier, and then sends the first request to the target object bank gateway. The first mapping relationship includes multiple triggering times and identifiers corresponding to each triggering time. For example, the first mapping relationship has a format as shown in Table 1.

[0081] Table 1

[0082] Trigger moment Logo 01:00 001 03:00 002 …… ……

[0083] Exemplarily, the unified scheduling platform obtains the current time as 01:00, 01:00 exists in the first mapping relationship, obtains from the first mapping relationship that the identifier corresponding to 01:00 is 001, determines 001 as the first identifier, and sends a first request including 001 to the target object bank gateway.

[0084] S202: According to the first request, obtain a file template corresponding to the first identifier.

[0085] The file template corresponding to the first identifier can be obtained in the following feasible manner: the target object bank gateway queries the template database according to the first identifier to obtain the file template corresponding to the first identifier; the template database includes multiple identifiers and the file template corresponding to each identifier, and the multiple identifiers include the first identifier.

[0086] When the template database can be set up on the server, the target bank gateway directly queries the template database according to the first identifier to obtain the file template corresponding to the first identifier.

[0087] When the template database is set in the second electronic device, a configuration center is set in the second electronic device, and the target object bank gateway sends a first identifier to the configuration center (or forwards the first request, or sends a second request including the first identifier); the configuration center queries the template database according to the first identifier to obtain a file template corresponding to the first identifier; the configuration center sends the file template corresponding to the first identifier to the target object bank gateway, so that the target object bank gateway obtains the file template corresponding to the first identifier.

[0088] The first request and the second request are different. For example, the first request includes the first identifier and the identifier of the first electronic device, and the second request includes the first identifier and the identifier of the server.

[0089] Optionally, the template database may also include multiple identifiers and configuration information corresponding to each identifier, the configuration information includes the file template and the attribute information of the contributor, the attribute information includes the name of the contributor, whether the adjustment limit is supported, the business model, the repayment model, the credit contributor, etc.;

[0090] Acquiring a file template corresponding to a first identifier includes: querying a template database according to the first identifier to obtain first configuration information corresponding to the first identifier; and acquiring the file template corresponding to the first identifier from the first configuration information.

[0091] Optionally, the file template includes a template name, a template type, at least one entry, and the like.

[0092] S203, obtaining N to-be-processed data corresponding to the target object; N is a positive integer greater than or equal to 1.

[0093] The N data to be processed may be N loan bills or N transaction data.

[0094] When the N data to be processed are N loan bills, the N loan bills can be obtained by the following two methods.

[0095] Method 1: determining the name of the investor according to the first identifier and a pre-stored second mapping relationship; the second mapping relationship includes a plurality of identifiers and the name of the investor corresponding to each identifier;

[0096] Obtain the unsettled bills and newly added bills corresponding to the investor's name from the loan data pool;

[0097] Unsettled bills and newly added bills are identified as N loan bills.

[0098] Method 2: Obtain the name of the investor from the first configuration information;

[0099] Obtain the unsettled bills and newly added bills corresponding to the investor's name from the loan data pool;

[0100] Unsettled bills and newly added bills are identified as N loan bills.

[0101] The loan data pool includes multiple loan bills, the unsettled bill includes the name of the investor and an identifier indicating that the loan bill is an unsettled bill, and the newly added bill is a bill added within a preset period before the current moment in S201, and the newly added bill includes the name of the investor. Optionally, the loan data pool can be set in a server, or in a third electronic device independent of the server. When the loan data pool is set in the third electronic device, the target object bank gateway sends a third request to the third electronic device, and the third request includes the name of the investor; the third electronic device searches the loan data pool according to the name of the investor, obtains N loan bills, and sends the N loan bills to the target object bank gateway, so that the target object bank gateway obtains the N loan bills.

[0102] When the N data to be processed are N running data, the N data to be processed can be obtained by the following method: obtain unsettled bills and newly added bills through the above method 1 or 2, query the running data database according to the identification information of the unsettled bills and the newly added bills, and obtain N running data, and the running data database includes multiple identification information and the running data corresponding to each identification information. The running data database can be set in the server, and can also be set in a fourth electronic device independent of the server. When the running data database is in the fourth electronic device, the target object bank gateway sends a fourth request to the fourth electronic device, and the fourth request includes identification information; the fourth electronic device searches the loan data pool according to the identification information, obtains N running data, and sends N running data to the target object bank gateway, so that the target object bank gateway obtains N running data.

[0103] In this application, the loan data pool and the transaction database may also be set in the same electronic device (such as a third electronic device or a fourth electronic device).

[0104] S204: Generate file information according to the file template and N pieces of data to be processed.

[0105] When the N data to be processed are N loan bills, the transaction database is queried according to the identification information of the N data to be processed to obtain M transaction data corresponding to the N data to be processed; M is a positive integer less than or equal to N;

[0106] For each stream data, a parameter value corresponding to at least one entry included in the file template is obtained from the stream data; the parameter value is written into at least one entry included in the file template to generate file information.

[0107] When the N data to be processed are N stream data, for each stream data, a parameter value corresponding to at least one entry included in the file template is obtained from the stream data; the parameter value is written into at least one entry included in the file template to generate file information.

[0108] exist Figure 2 In the data processing method provided in the embodiment, a first request is obtained; based on the first request, a file template corresponding to a first identifier is obtained; N data to be processed corresponding to the target object are obtained; and file information is generated based on the file template and the N data to be processed, so that the process of file information generation is converted into an automated process, thereby improving the efficiency of file information generation and avoiding the problem of low file information generation efficiency caused by manually obtaining file information.

[0109] Based on the above embodiment, the following takes N to-be-processed data as N loan bills as an example, combined with Figure 3 The data processing method provided in the embodiment of the present application is further described in detail. For details, please refer to Figure 3 Example.

[0110] Figure 3 Schematic diagram of the data processing method provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, the method may include:

[0111] S301. Obtain at least one first entry corresponding to a target object.

[0112] Obtaining email information sent by a target object through a first electronic device, wherein the email information includes a form file (such as an Excel file or a TXT file, etc.), and the form file includes at least one first entry. The form file or the email information may also include a first identifier of the target object.

[0113] Optionally, at least one first item may have a corresponding item identifier. For example, when the first item is the purpose of borrowing, the item identifier corresponding to the purpose of borrowing is 52; when the first item is the platform loan order number, the item identifier corresponding to the platform loan order number is 63. Figure 4 shown.

[0114] When at least one first item has a corresponding item identifier, the form file or the email message includes the item identifier corresponding to the at least one first item and the first identifier of the target object.

[0115] S302: Determine the similarity corresponding to each file template according to at least one first entry and at least one second entry included in each file template in the template database.

[0116] For the similarity corresponding to each file template, the similarity corresponding to the file template can be determined by the following method: obtain the file template in the template database; compare at least one first entry with at least one second entry in the file template to obtain at least one identical entry included in the at least one first entry and the at least one second entry; obtain the number of at least one identical entry; and determine the ratio of the number of at least one identical entry to the at least one first entry as the similarity corresponding to the file template.

[0117] S303: Generate a file template corresponding to the first identifier according to the similarity between the at least one first entry and each file template.

[0118] In one possible design, a method for generating a file template corresponding to a first identifier includes: determining the file template with the greatest similarity among the similarities corresponding to each file template in a template database as a first initial template; copying the first initial template to obtain a second initial template; and modifying at least one second entry in the second initial template according to at least one first entry to obtain a file template corresponding to the first identifier.

[0119] Optionally, based on at least one first entry, at least one second entry in the second initial template is modified to obtain a file template corresponding to the first identifier, including: comparing at least one first entry with at least one second entry to obtain at least one identical entry included in at least one first entry and at least one second entry; in the second initial template, deleting other entries in at least one second entry except at least one identical entry to obtain a third initial template; in the third initial template, adding other entries in at least one first entry except at least one identical entry to obtain a file template corresponding to the first identifier.

[0120] Optionally, before copying the first initial template, the first initial template and a "Copy" control can be displayed in a display device connected to the server, and the staff can click the "Copy" control through the control device to copy the first initial template to obtain a second initial template.

[0121] In another possible design, at least one first item is obtained by a fifth electronic device provided with a backend management system of the asset management center, and at least one first item is displayed to a staff member, and the staff member controls the backend management system of the asset management center to display a preset item form (such as Figure 4 As shown), the staff uses a control device (such as a mouse and / or keyboard, etc.) to click a check box corresponding to a preset entry in the preset entry form that is the same as at least one first entry to generate a file template corresponding to the first identifier. For details, see Figure 4 The embodiments are not described in detail here.

[0122] After the file template corresponding to the first identifier is generated, the file template corresponding to the first identifier and the first identifier are stored in a template database.

[0123] This is different from the prior art, in which, when the multiple first entries corresponding to different investors are different, the developer develops the file template corresponding to each investor based on the multiple first entries corresponding to each investor, so that the code reuse of the file template is low, reducing the development efficiency of the file template. In the present application, in the process of generating the file template corresponding to the first identifier based on the similarity between at least one first entry and each file template, the first initial template can be copied to obtain the second initial template, and at least one second entry in the second initial template can be modified based on at least one first entry to obtain the file template corresponding to the first identifier, so that the code reuse corresponding to the first initial template is high, improving the development efficiency of the file template.

[0124] Furthermore, after generating the file template corresponding to the first identifier, the method may further include: verifying whether the file template corresponding to the first identifier is correct according to at least one first item;

[0125] If so, the file template corresponding to the first identifier and the first identifier are stored in the template database.

[0126] Exemplarily, when at least one first entry includes the purpose of borrowing (52) and the execution interest rate related (15), verifying whether the file template corresponding to the first identifier is correct includes: when at least one first entry includes the purpose of borrowing (52) and the execution interest rate related (15), verifying whether the file template corresponding to the first identifier includes the purpose of borrowing (52) and the execution interest rate related (15).

[0127] Furthermore, the file template stored in the template database can also be updated. The method for updating the file template corresponding to the first identifier includes: obtaining an update request; the update request includes at least one third item and an update type corresponding to the third item; the update type indicates deleting or adding the third item; and updating the file template corresponding to the first identifier according to at least one third item in the update request and the update type corresponding to each third item.

[0128] Optionally, the update request may also include a first identifier, and the file template corresponding to the first identifier is obtained based on the first identifier; and then the file template corresponding to the first identifier is updated based on at least one third entry in the update request and the update type corresponding to each third entry.

[0129] Optionally, the target object bank gateway may also verify the update authority of the target object based on the first identifier. After the verification is passed, the file template corresponding to the first identifier is updated according to at least one third entry in the update request and the update type corresponding to each third entry.

[0130] Furthermore, the updated file template is stored in the template database.

[0131] Exemplarily, when at least one third entry includes late payment fees and marketing types, and the update type corresponding to the late payment fees is addition, and the update type corresponding to the marketing type is deletion, the late payment fees are added and the marketing type is deleted in the file template corresponding to the first identifier.

[0132] When the template database is set on the server, the target corresponding bank gateway updates the file template corresponding to the first identifier through the above method for updating the file template corresponding to the first identifier. When the template database is set on the second electronic device, the target corresponding bank gateway controls the configuration center to update the file template corresponding to the first identifier through the above method for updating the file template corresponding to the first identifier.

[0133] Optionally, the fifth electronic device may also update the file template corresponding to the first identifier by using the above method for updating the file template corresponding to the first identifier, which will not be described in detail here.

[0134] Compared with the prior art, in the prior art, when the file template corresponding to the first identifier needs to be updated, the development staff modifies the code of the file template to update the file template. In the prior art, the code of the file template is modified to update the file template, which is prone to code errors, resulting in a high error rate when updating the file template. In the present application, according to at least one third item in the update request and the update type corresponding to each third item, the file template corresponding to the first identifier is updated without modifying the code of the file template, thereby reducing the error rate when updating the file template.

[0135] S304, obtaining a first request; the first request includes a first identifier of the target object, and the first request is used to request generation of file information of the target object.

[0136] S305: According to the first request, obtain a file template corresponding to the first identifier.

[0137] Specifically, the execution method of S304 to S305 is the same as the execution method of S201 to S202, and the execution process of S304 to S305 is not repeated here.

[0138] S306. According to the identification information of the N data to be processed, query the pipeline database to obtain M pipeline data corresponding to the N data to be processed; M is a positive integer less than or equal to N.

[0139] The identification information may be, for example, the loan number of the data to be processed. When the identification information is the loan number, the N loan numbers of the data to be processed include M different loan numbers.

[0140] The M pipeline data corresponding to the N to-be-processed data are different pipeline data.

[0141] Optionally, the above-mentioned M different flow data can be obtained by the following two methods.

[0142] Method 1: Obtain M different loan numbers from N loan numbers of data to be processed; query the transaction database according to the M different loan numbers to obtain M different transaction data.

[0143] Method 2: query the transaction database according to the loan numbers of N pending data to obtain N transaction data; and obtain M different transaction data from the N transaction data.

[0144] S307: Generate file information according to the M flow data and the M file templates.

[0145] For each stream data, obtaining a parameter value corresponding to at least one item included in the file template from the stream data;

[0146] Write the parameter value into at least one entry included in the file template to generate file information. For details, see Figure 5 The embodiments are not described in detail here.

[0147] exist Figure 3 In the method provided in the embodiment, S301 to S307 are automated processes, which improve the efficiency of generating file information. Figure 3In the embodiment, first, the similarity corresponding to each file template is determined based on at least one first entry and at least one second entry included in each file template in a template database; based on the similarity corresponding to each file template, a file template corresponding to the first identifier is generated, which can save the configuration time of the file template, improve the configuration efficiency of the file template, and avoid the problem of low efficiency in template acquisition caused by developers developing different accounting templates according to different investor requirements; secondly, based on the first request, the file template corresponding to the first identifier is obtained, which can improve the efficiency of obtaining the file template; finally, based on the file template and N data to be processed, file information is generated, the efficiency of file information generation is improved, and the problem of low efficiency in file information generation caused by financial personnel writing parameter values ​​corresponding to entries in the accounting template according to the flow information of funds is avoided.

[0148] In the prior art, the template development process is designed with the following five steps: Step 1, the business sales personnel signs an agreement with the target object; Step 2, the asset management operation personnel converts the needs of the target object into an operation plan; Step 3, the product manager converts the operation plan into a product plan; Step 4, the developer configures the product plan into an accounting module; Step 5, online verification of the correctness of the accounting module. In the prior art, there are many steps, which makes the development process complicated and time-consuming. Moreover, after obtaining the operation plan, product managers, developers, etc. are required to participate in the development of the accounting module, which makes the labor cost high. Furthermore, in the above-mentioned prior art, since the development process is complicated and many people are involved in the development, the probability of omissions in the development process is relatively high.

[0149] In this application, the template development process is designed in the following three steps: Step 1, the business sales staff signs an agreement with the target object; Step 2, the asset management operation staff converts the needs of the target object into a document template; Step 3, online verification of the correctness of the accounting module. In this application, there are fewer steps, the development time is shorter, the development process is simple, and after obtaining the operation plan, there is no need for product managers, developers, etc. to participate in the development of the accounting module, which reduces labor costs. Furthermore, in this application, since the development process is simple and fewer people are involved in the development, the probability of omissions in the development process can be reduced.

[0150] Figure 4 A schematic diagram of a preset entry form provided in an embodiment of the present application. Figure 4 As shown, illustratively, the preset entry form may include multiple data types, multiple preset entries in each data type, check boxes corresponding to each preset entry (ie, boxes between preset entries), and a "Save" control.

[0151] Exemplarily, the multiple data types include a promissory note configuration table and a repayment plan. The multiple preset items in the promissory note configuration table include the purpose of the loan (52), execution interest rate related (53-54), etc. The multiple preset items in the repayment plan include execution interest rate related (15), cash withdrawal fee (16-17) related, etc.

[0152] After obtaining at least one first entry (for example, including the purpose of the loan (52), the platform loan order number (63), and the late payment fee (23-24)), the staff selects the purpose of the loan (52) and the platform loan order number (63) in the loan note configuration table, and the late payment fee (23-24) in the repayment plan through the control device, and clicks the "Save" control through the control device to generate a file template.

[0153] Optionally, after the staff member controls the device and clicks the "Save" control, a prompt window may also be displayed ( Figure 4 Not shown); for example, the prompt window includes an identification input box and a "confirm" control. The staff can input the first identification in the identification input box through the control device and click the "confirm" control to generate a file template corresponding to the first identification, and store the file template corresponding to the first identification in the template database.

[0154] exist Figure 4 Based on the following Figure 5 Describe the file information. For details, see Figure 5 Example.

[0155] Figure 5 A schematic diagram of file information provided in an embodiment of the present application. Figure 5 As shown, the file information includes multiple file templates for writing parameter values. For example, the multiple file templates for writing parameter values ​​are template 1 and template 2 respectively.

[0156] Each file template that writes parameter values ​​includes the same items. For example, Template 1 and Template 2 both include the purpose of borrowing (52), platform loan order number (63), and late payment fee (23). Among them, the platform loan order number can be the identification information in this application.

[0157] In different file templates with multiple written parameter values, the platform loan order numbers are different. For example, the platform loan order numbers in template 1 and template 2 are 001 and 002 respectively.

[0158] In multiple file templates for writing parameter values, the parameter values ​​corresponding to the same entry may be different. For example, the loan purpose (52) included in template 1 and template 2 is cash withdrawal and payment respectively. For example, the late payment fee (23) included in template 1 and template 2 is 100 and 0 respectively.

[0159] It should be noted that Figure 4 This is just an example of a preset entry form. Figure 5 These are merely exemplary embodiments of the description file and are not intended to limit the preset entry forms and file information.

[0160] Figure 6 A schematic diagram of the structure of the data processing device provided in the embodiment of the present application Figure 1 .like Figure 6 As shown, the data processing device 10 includes: a first acquisition module 11, a second acquisition module 12, a third acquisition module 13 and a generation module 14; wherein,

[0161] A first acquisition module 11 is used to acquire a first request; the first request includes a first identifier of a target object, and the first request is used to request to generate file information of the target object;

[0162] A second acquisition module 12, configured to acquire a file template corresponding to the first identifier according to the first request;

[0163] The third acquisition module 13 is used to acquire N to-be-processed data corresponding to the target object; N is a positive integer greater than or equal to 1;

[0164] The generating module 14 is used to generate file information according to the file template and N data to be processed.

[0165] The data processing device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0166] Figure 7 A schematic diagram of the structure of the data processing device provided in the embodiment of the present application Figure 2 .exist Figure 6 On the basis of Figure 7 As shown, the data processing device 10 further includes: a fourth acquisition module 15;

[0167] The fourth acquisition module is used to acquire at least one first entry corresponding to the target object before acquiring the file template corresponding to the first identifier according to the first request;

[0168] Determine the similarity corresponding to each file template according to at least one first entry and at least one second entry included in each file template in the template database;

[0169] A file template corresponding to the first identifier is generated according to the similarity between the at least one first entry and each file template.

[0170] In a possible design, the fourth acquisition module 15 is specifically used to:

[0171] Determine the file template with the greatest similarity in the template database as the first initial template;

[0172] Copying the first initial template to obtain a second initial template;

[0173] At least one second entry in the second initial template is modified according to the at least one first entry to obtain a file template corresponding to the first identifier.

[0174] In a possible design, the fourth acquisition module 15 is further used for:

[0175] Obtain an update request; the update request includes at least one third entry and an update type corresponding to each third entry;

[0176] According to at least one third item in the update request and the update type corresponding to each third item, the file template corresponding to the first identifier is updated.

[0177] The data processing device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0178] Figure 8 This is a schematic diagram of the hardware structure of the terminal device provided in the embodiment of the present application. Figure 8 As shown, the server 20 includes: a transceiver 21, a memory 22, and a processor 23. The transceiver 21 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or the like, and the receiver may also be referred to as a receiver, a receiver, a reception port, a reception interface, or the like.

[0179] Exemplarily, the transceiver 21, the memory 22, and the processor 23 are interconnected via a bus 24. The memory 22 is used to store computer-executable instructions;

[0180] The processor 23 is used to execute the computer-executable instructions stored in the memory 22, so that the processor 23 executes the data processing method shown in any of the above method embodiments. The specific implementation process of the processor 23 can refer to the above method embodiments, and its implementation principle and technical effect are similar, which will not be repeated in this embodiment.

[0181] In the above Figure 8In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0182] The memory may include high-speed RAM memory and may also include non-volatile storage NVM, such as disk storage.

[0183] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0184] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above data processing method is implemented.

[0185] The present application also provides a computer program product, including a computer program, which implements the above data processing method when executed by a processor.

[0186] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The above-mentioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the above-mentioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.

[0187] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0188] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0189] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0190] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0191] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

Claims

1. A data processing method, characterized in that: include: Get the first request; The first request includes a first identifier of a target object, and the first request is used to request generation of file information of the target object; According to the first request, obtaining a file template corresponding to the first identifier; Obtain N to-be-processed data corresponding to the target object; N is a positive integer greater than or equal to 1; Generate the file information according to the file template and the N data to be processed; Before acquiring the file template corresponding to the first identifier according to the first request, the method further includes: Obtain at least one first entry corresponding to the target object; Determine, according to the at least one first entry and at least one second entry included in each file template in the template database, a similarity corresponding to each file template; Determine the file template with the greatest similarity in the template database as the first initial template; Copying the first initial template to obtain a second initial template; Comparing the at least one first entry with the at least one second entry to obtain at least one identical entry included in the at least one first entry and the at least one second entry; In the second initial template, delete other entries in the at least one second entry except the at least one identical entry to obtain a third initial template; In the third initial template, other entries in the at least one first entry except the at least one identical entry are added to obtain a file template corresponding to the first identifier.

2. The method according to claim 1, characterized in that The generating the file information according to the M flow data and the M file templates includes: For each piece of pipeline data, obtaining a parameter value corresponding to at least one item included in the file template from the pipeline data; The parameter value is written into at least one entry included in the file template to generate the file information.

3. The method according to claim 1, characterized in that The method further comprises: Obtain an update request; the update request includes at least one third entry and an update type corresponding to each third entry; The file template corresponding to the first identifier is updated according to the at least one third entry in the update request and the update type corresponding to each third entry.

4. A data processing device, characterized in that: include: A first acquisition module, a second acquisition module, a third acquisition module and a generation module; wherein, The first acquisition module is used to acquire a first request; the first request includes a first identifier of a target object, and the first request is used to request to generate file information of the target object; The second acquisition module is used to acquire the file template corresponding to the first identifier according to the first request; The third acquisition module is used to acquire N to-be-processed data corresponding to the target object; N is a positive integer greater than or equal to 1; The generating module is used to generate the file information according to the file template and the N data to be processed; The fourth acquisition module is used to, before obtaining the file template corresponding to the first identifier according to the first request, obtain at least one first entry corresponding to the target object; determine the similarity corresponding to each file template according to the at least one first entry and the at least one second entry included in each file template in the template database; determine the file template with the greatest similarity in the template database as the first initial template; copy the first initial template to obtain the second initial template; compare the at least one first entry with the at least one second entry to obtain at least one identical entry included in the at least one first entry and the at least one second entry; in the second initial template, delete the other entries in the at least one second entry except the at least one identical entry to obtain the third initial template; in the third initial template, add the other entries in the at least one first entry except the at least one identical entry to obtain the file template corresponding to the first identifier.

5. A server, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method according to any one of claims 1 to 3 is implemented.

7. 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 3 is implemented.