Business document splitting and summarizing method, device and equipment
By splitting business files into a file splitting system and then calling back to the business system to add category identifiers, the interruption problem caused by single-machine processing during the splitting and summarizing of business files was solved, achieving efficient and stable file processing and category summarization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-01-26
- Publication Date
- 2026-03-31
AI Technical Summary
In existing technologies, the process of splitting and summarizing business files is carried out on a single machine in the business system. This process is prone to interruption due to machine failure or resource limitations, and the processing efficiency is low. Furthermore, the file splitting system cannot understand the business logic, leading to frequent abnormal situations.
The business files are sent to the file splitting system for splitting, generating multiple business records. The system then calls back to the business system to add category identifiers. The file splitting system categorizes and summarizes the data based on these identifiers, and the business system does not need to understand the logic of the file splitting system.
It enables file splitting and aggregation within the file splitting system, avoiding coupling with business systems, improving processing efficiency and stability, supporting cluster processing, adapting to different business file formats, and ensuring uninterrupted workflow.
Smart Images

Figure CN113961523B_ABST
Abstract
Description
Technical Field
[0001] This manual relates to the field of computer technology, and in particular to methods, apparatus and equipment for splitting and summarizing business documents. Background Technology
[0002] In business processing, it is often necessary to split and then summarize multiple business records in a business file.
[0003] In current technology, when a business system needs to split and summarize files, it usually splits and summarizes the business files within the business system itself, or it uses a third-party file splitting system to split the business files into individual business records before the business system performs the summarization process.
[0004] Therefore, a more convenient solution for splitting and summarizing business documents is needed. Summary of the Invention
[0005] This specification provides a method, apparatus, and device for splitting and summarizing business files to solve the following problem: to provide a more convenient business experience implementation solution.
[0006] Based on this, the embodiments of this specification provide a method for splitting and summarizing business files, including:
[0007] The business file to be processed is sent to the file splitting system so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records;
[0008] Receive multiple business records returned by the file splitting system;
[0009] Based on the business logic, confirm the category identifier of each of the aforementioned business records;
[0010] Send business records carrying category identifiers to the file splitting system so that the file splitting system can classify the business records and generate multiple summary files carrying category identifiers;
[0011] Receive multiple summary files carrying category identifiers returned by the file splitting system.
[0012] Meanwhile, this specification provides another method for splitting and summarizing business files, including:
[0013] Receive a business file to be processed sent by the business system, wherein the business file consists of multiple business records;
[0014] The business file to be processed is split into multiple business records;
[0015] The business record is returned to the business system;
[0016] Receive business records returned by the business system, which carry category identifiers;
[0017] Based on the business records carrying category identifiers, generate multiple summary files carrying category identifiers;
[0018] Return the summary file carrying the category identifier to the business system.
[0019] Correspondingly, embodiments of this specification also provide a business document splitting and summarizing device, including:
[0020] The sending module sends the business file to be processed to the file splitting system, so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records;
[0021] The receiving module receives multiple business records returned by the file splitting system;
[0022] The confirmation module, based on business logic, confirms the category identifier of each of the aforementioned business records;
[0023] The sending module is also used to send business records carrying category identifiers to the file splitting system, so that the file splitting system can classify the business records and generate multiple summary files carrying category identifiers;
[0024] The receiving module is also used to receive multiple summary files carrying category identifiers returned by the file splitting system.
[0025] Correspondingly, embodiments of this specification also provide another business document splitting and summarizing device, including:
[0026] The receiving module receives a business file to be processed sent by the business system, wherein the business file consists of multiple business records;
[0027] The splitting module splits the business file to be processed into multiple business records;
[0028] The sending module returns the service record to the service system;
[0029] The receiving module is also used to receive business records carrying category identifiers returned by the business system;
[0030] The generation module generates multiple summary files carrying category identifiers based on the business records carrying category identifiers;
[0031] The sending module is also used to return the summary file carrying the category identifier to the business system.
[0032] Correspondingly, this specification also provides a business file splitting and summarizing device, including:
[0033] The storage unit contains the business file splitting and summarizing program.
[0034] The processor calls and executes the business file splitting and summarizing program stored in memory:
[0035] The business file to be processed is sent to the file splitting system so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records;
[0036] Receive multiple business records returned by the file splitting system;
[0037] Based on the business logic, confirm the category identifier of each of the aforementioned business records;
[0038] Send business records carrying category identifiers to the file splitting system so that the file splitting system can classify the business records and generate multiple summary files carrying category identifiers;
[0039] Receive multiple summary files carrying category identifiers returned by the file splitting system.
[0040] Correspondingly, this specification also provides another business file splitting and summarizing device, including:
[0041] The storage unit contains the business file splitting and summarizing program.
[0042] The processor calls and executes the business file splitting and summarizing program stored in memory:
[0043] Receive a business file to be processed sent by the business system, wherein the business file consists of multiple business records;
[0044] The business file to be processed is split into multiple business records;
[0045] The business record is returned to the business system;
[0046] Receive business records returned by the business system, which carry category identifiers;
[0047] Based on the business records carrying category identifiers, generate multiple summary files carrying category identifiers;
[0048] Return the summary file carrying the category identifier to the business system.
[0049] Correspondingly, embodiments of this specification also provide a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0050] The business file to be processed is sent to the file splitting system so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records;
[0051] Receive multiple business records returned by the file splitting system;
[0052] Based on the business logic, confirm the category identifier of each of the aforementioned business records;
[0053] Send business records carrying category identifiers to the file splitting system so that the file splitting system can classify the business records and generate multiple summary files carrying category identifiers;
[0054] Receive multiple summary files carrying category identifiers returned by the file splitting system.
[0055] Correspondingly, embodiments of this specification also provide another non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0056] Receive a business file to be processed sent by the business system, wherein the business file consists of multiple business records;
[0057] The business file to be processed is split into multiple business records;
[0058] The business record is returned to the business system;
[0059] Receive business records returned by the business system, which carry category identifiers;
[0060] Based on the business records carrying category identifiers, generate multiple summary files carrying category identifiers;
[0061] Return the summary file carrying the category identifier to the business system.
[0062] The above-described at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0063] The process involves sending business files to a file splitting system, splitting them into multiple records, and then sending a callback to the business system. The business system adds category tags to these records based on its business logic, before returning the data to the file splitting system. This allows the business records to be categorized based on these tags, generating a summary file. This approach eliminates the need for the file splitting system to understand the business system's logic; it can perform summary processing according to the business system's specified methods, making it more convenient. Furthermore, by inputting format information, it can adapt to different types of business files. The file splitting system can control and limit the rate of business record callbacks to suit the business system's performance, further enhancing convenience. Finally, the file splitting system's recovery mechanism and stability ensure uninterrupted workflow. The business system can also filter and specify desired results based on actual needs. Both the business system and the file splitting system support cluster processing, allowing for increased processing capacity by adding more machines. Attached Figure Description
[0064] Figure 1 This is a schematic diagram illustrating the process of file splitting using a file splitting system in current technology;
[0065] Figure 2 A flowchart illustrating the business system aspects provided in the embodiments of this specification;
[0066] Figure 3 This is a flowchart illustrating aspects of the file splitting system provided in the embodiments of this specification;
[0067] Figure 4 This is a schematic diagram of an exemplary business processing flow provided in the embodiments of this specification;
[0068] Figure 5 A schematic diagram of the business file splitting and summarizing device for a business system provided in the embodiments of this specification;
[0069] Figure 6 This is a schematic diagram of the structure of a business file splitting and summarizing device provided in the embodiments of the file splitting system in this specification. Detailed Implementation
[0070] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this application.
[0071] In current technology, file splitting and aggregation can be performed within the business system itself. The general method includes the following steps: 1. Read the business file as a stream from memory and store each line of the file into the database. 2. Read all records, group them according to business logic, and store the grouped data into the database. 3. Write the content of each group into a separate file. While the above solution is logically clear and simple, it has many drawbacks in practice: splitting and aggregation are performed on a single machine within the business system; if the machine crashes, or if the file becomes too large and memory is insufficient, the process will be interrupted; the splitting of the business file and the grouping of business logic are processed twice, resulting in low efficiency; business systems generally do not have recovery mechanisms for abnormal states during splitting, and if they do, it consumes a lot of resources and cannot be used in other systems, etc. Therefore, in practice, a dedicated file splitting system is also used for splitting and aggregation. This file splitting system has a recovery mechanism to ensure the normal operation of the process. Its process includes the following steps: Figure 1 As shown, Figure 1 This is a flowchart illustrating the current process of file splitting using a file splitting system, which mainly includes the following steps:
[0072] S101, the business system sends the business file to the file splitting system;
[0073] S103, The file splitting system splits business files to obtain business records;
[0074] S105, Return the business record to the business system;
[0075] S107, The business system processes business records according to business logic, groups and stores them;
[0076] S109, the business system iterates through the groups and generates summary files in sequence.
[0077] In the above scheme, file splitting involves iterating through all file contents and splitting them, with the file splitting system returning business records one by one. When the business system obtains all business records and performs business logic processing on individual records while generating summary files, exceptions may occur due to the tightly coupled business logic. The larger the data volume (e.g., hundreds of millions of payment or transaction records), the less secure it becomes to perform this process within the business system. This is because the business system lacks recovery mechanisms such as breakpoint recovery and subtask splitting (or rather, the business system was designed to focus on business services, not file processing), making it more prone to errors.
[0078] Based on this, the embodiments of this specification provide a business file splitting and summarizing scheme, which sends the business files to be processed to the file splitting system, splits them into multiple records, and then calls back to the business system. The business system adds classification identifiers to the business records according to business logic, and then returns to the file splitting system. Thus, the business records can be classified according to the classification identifiers and a summary file can be generated.
[0079] The business file splitting and summarizing method provided in the embodiments of this specification includes two aspects: the business system and the file splitting system. For the business system aspect, the execution flowchart is as follows: Figure 2 As shown, Figure 2 The business system flowcharts provided for the embodiments of this specification include:
[0080] S201, the business file to be processed is sent to the file splitting system so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records.
[0081] Business documents can be such as bidding records, telephone records, consumption records, payment records, and transaction records. They typically consist of multiple business records, each containing multiple fields (or column names), usually separated by specific delimiters. In other words, business documents can have various formats.
[0082] S203, Receive multiple business records returned by the file splitting system. The received business records can be returned one by one or in a group of multiple records.
[0083] S205, Based on the business logic, confirm the category identifier of each of the aforementioned business records.
[0084] The business logic and category identifiers can be determined according to actual needs. For example, for a certain tender document, each record represents a bidding user. It is necessary to determine whether each business record meets the tender conditions. In this case, the business logic is to perform logical judgment on each field in the business record, comprehensively evaluate the business record, and add the category identifier "pass" if it meets the conditions; otherwise, add the classification identifier "fail" to the business record.
[0085] For example, if we want to summarize which bidders are in each province for the same tender document, the business logic is to judge a specific field in the business record, determine the province corresponding to the business record, and add corresponding classification labels such as "Shanghai", "Hunan", and "Beijing" to each record for subsequent classification.
[0086] S207, send the business records carrying category identifiers to the file splitting system so that the file splitting system can classify the business records and generate multiple summary files carrying category identifiers.
[0087] S209, Receive multiple summary files carrying category identifiers returned by the file splitting system.
[0088] As a specific implementation, in step S201, sending the business file to be processed to the file splitting system includes: sending the business file to be processed and format information to the file splitting system, wherein the format information includes an input format and a specified output format.
[0089] The input format refers to the format of the business file to be processed. Since there are many types of business files, specifying the input file format allows the file splitting system to recognize it. By specifying the format before each file split, multiple business processes do not interfere with each other, making the entire processing method more adaptable and flexible. For example, File 1's format is: Name, Age, Hobbies; File 2's format is: Address, Telephone, ID Number. By specifying the format in the input format, the file splitting system can correctly identify it. Furthermore, the input file format can also include specifying the storage medium of the business file to be processed, such as the Object Storage Service (OSS) address, cloud drive link, download address, etc.
[0090] The specified output format functions similarly to the input format. However, it offers further functionality. For example, if the input format for file 1 is name, age, and hobbies, the output format can be specified as: hobby is skiing, name, and age. In other words, the fields in the output format can be a subset of a field in the input format, allowing for file categorization and filtering.
[0091] As a specific implementation, receiving the business records returned by the file splitting system in step S203 includes: receiving subtasks returned by the file splitting system, wherein the subtasks are composed of business records. That is, the splitting system groups the split business records to obtain subtasks. The grouping rules can be preset according to actual needs, the processing capacity of the business system, the cluster status of the business system, etc. Thus, the file splitting system can distribute the subtasks to multiple machines in the business system for execution. In other words, by grouping business records into subtasks, the business system can use a cluster approach to support the overall business processing, improving efficiency. Of course, the business system can also actively retrieve data from the splitting system. In this processing method, confirming the category identifier of the business record according to the business logic in step S205 includes: confirming the category identifier of each business record contained in the subtask according to the business logic.
[0092] As a specific implementation, after obtaining the summary file carrying the category identifier obtained from the splitting system assembly, the business system can further preset rules to extract the required results. That is, the above solution can also include: filtering the multiple summary files carrying category identifiers according to preset conditions to obtain summary files that meet the preset conditions, wherein the preset conditions are related to the category identifiers.
[0093] Generally, keywords in preset conditions have an inclusion or being-included relationship with category identifiers. For example, after splitting and summarizing transaction files, four summary files with region identifiers are obtained: Shanghai transaction summary file, Hangzhou transaction summary file, Beijing transaction summary file, and Harbin transaction summary file. If the business system is interested in transactions in southern cities, it only needs to iterate through the regions using the preset key value "southern cities" and retrieve the transaction summary files for Hangzhou and Shanghai.
[0094] The business file splitting and summarizing method provided in the embodiments of this specification, for the file splitting system, has the following flowchart as shown: Figure 3 As shown, Figure 3 A flowchart illustrating aspects of the file splitting system provided in the embodiments of this specification includes:
[0095] S301, Receive a business file to be processed sent by the business system, wherein the business file consists of multiple business records.
[0096] S303, the business file to be processed is split into multiple business records.
[0097] When splitting data, the splitting method can be based on the format of the business file to be processed. Generally, if the business file is in row-based format, then row-based splitting should be used. If the business file is in column-based format, then column-based splitting can be used.
[0098] S305, return the business record to the business system.
[0099] S307, Receive the business record carrying the category identifier returned by the business system.
[0100] S309, based on the business records carrying category identifiers, generate multiple summary files carrying category identifiers. The file splitting system has its own recovery mechanism, ensuring stability. That is, if the generation of summary files fails, retrying or discarding can be performed, preventing process interruption due to single-machine downtime. Furthermore, the file splitting system can use a clustered approach when splitting business files or generating summary files, increasing the number of machines to improve processing capacity.
[0101] S311, Return the summary file carrying the category identifier to the business system.
[0102] As a specific implementation, in S301, receiving the business file to be processed sent by the business system includes: receiving the business file to be processed and format information sent by the business system, wherein the format information includes an input format and a specified output format, so as to identify the business file to be processed according to the input format. This allows different types of business files to be identified and split according to the input format. Furthermore, when generating a summary file, a summary file with the specified format can be generated. The specific input format and specified output format have been explained above and will not be repeated here.
[0103] As a specific implementation, in S303, after splitting the business file to be processed into multiple business records, the method further includes: grouping the multiple business records to generate subtasks containing the business records. Therefore, in S305, returning the business records to the business system includes: returning the subtasks to the business system. The time or number of subtasks returned by the file splitting system, and the specific method of allocating them to each machine in the business system cluster, can be preset based on the processing capacity of the business system.
[0104] Specifically, the file splitting system processes the aforementioned subtasks in a cluster manner, sending the subtasks to various machines in the cluster. After each machine pulls the subtasks from the system, it divides the pulled subtasks into multiple processing units according to actual needs such as rate limiting and flow control. These processing units are then sent to the corresponding processing machines in the business system cluster, thereby improving processing efficiency.
[0105] As a specific implementation, for S305, returning the business records to the business system includes: returning a specified number of business records within a specified time interval. For example, returning 10,000 to 11,000 consumption records within 1 minute. In other words, when returning business records, operations such as rate control and flow limiting can be performed to adapt to actual needs.
[0106] The solution provided in the embodiments of this specification involves sending the business files to be processed to a file splitting system, splitting them into multiple records, and then sending a callback to the business system. The business system adds category identifiers to the records according to its business logic, and then returns the data to the file splitting system. This allows the business records to be categorized based on the category identifiers, generating a summary file. This solution allows the file splitting system to perform summary processing according to the method specified by the business system without needing to understand its business logic, making it more convenient. Furthermore, by inputting format information, it can adapt to different types of business files; the file splitting system can control and limit the rate of business record callbacks to adapt to the performance of the business system, further enhancing convenience. Finally, the file splitting system ensures uninterrupted flow through its recovery mechanism and stability; the business system can also filter and specify desired results based on actual needs; both the business system and the file splitting system support cluster processing, allowing for increased processing capacity by adding more machines.
[0107] To make the embodiments in this specification clearer, a specific application example is given below to illustrate the solution provided in this specification, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of an exemplary business process provided in the embodiments of this specification.
[0108] A company is conducting supplier bidding through a supplier recruitment system. The system (i.e., the business system) contains bid documents from suppliers nationwide. The company now wants to obtain a summary file of suppliers that meet the bidding criteria. This involves the following steps:
[0109] S401, the bidding system sends the tender documents to the document splitting system;
[0110] S403, the file splitting system splits the bid documents into rows and stores them in groups. Each group is a subtask containing a certain number of bid records.
[0111] S405, the file splitting system distributes subtasks to each machine in the cluster;
[0112] S407, each machine divides the distributed subtasks into multiple units to be processed;
[0113] S409, each machine sends the unit to be processed to each processing machine in the investment promotion system cluster;
[0114] S411, the bidding system determines whether each bidding record meets the bidding conditions based on business logic, and adds a category label "A" to the bidding records that meet the conditions; and adds a category label "B" to the bidding records that do not meet the conditions.
[0115] S413, the bidding system will send the bidding records with classification tags to the document splitting system;
[0116] S415, The document splitting system classifies bidding records according to classification identifiers and generates summary files of type A and type B;
[0117] S417, The file splitting system sends Category A summary files and Category B summary files to the investment promotion system;
[0118] S419, the investment promotion system filters out the summary files of category A.
[0119] In the above process, both splitting the bidding documents and assembling the summary documents are done in the document splitting system. It does not require understanding the business processing logic of the business system, thus avoiding coupling with the business system and making it more convenient to generate relevant business summary documents.
[0120] Based on the same idea, the present invention also provides a business file splitting and summarizing device, such as... Figure 5 As shown, Figure 5 A schematic diagram of the structure of the business file splitting and summarizing device for a business system provided in the embodiments of this specification, comprising:
[0121] The sending module 501 sends the business file to be processed to the file splitting system, so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records;
[0122] The receiving module 503 receives multiple business records returned by the file splitting system;
[0123] The confirmation module 505 confirms the category identifier of each of the aforementioned business records according to the business logic;
[0124] The sending module 501 is further configured to send service records carrying category identifiers to the file splitting system, so that the file splitting system can classify the service records and generate multiple summary files carrying category identifiers;
[0125] The receiving module 503 is further configured to receive multiple summary files carrying category identifiers returned by the file splitting system.
[0126] Furthermore, the sending module 501 sends the business file to be processed and format information to the file splitting system, wherein the format information includes the input format and the specified output format.
[0127] Furthermore, the receiving module 503 receives the subtasks returned by the file splitting system, wherein the subtasks consist of business records; the confirmation module 505 confirms the category identifiers of the business records contained in the subtasks one by one according to the business logic.
[0128] Furthermore, the device also includes a filtering module 507, which filters the plurality of summary files carrying category identifiers according to preset conditions to obtain summary files that meet the preset conditions, wherein the preset conditions are related to the category identifiers.
[0129] Based on the same idea, the present invention also provides another business file splitting and summarizing device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of a business file splitting and summarizing device for a file splitting system provided in the embodiments of this specification, which includes:
[0130] The receiving module 601 receives a business file to be processed sent by the business system, wherein the business file consists of multiple business records;
[0131] The splitting module 603 splits the business file to be processed into multiple business records;
[0132] The sending module 605 returns the service record to the service system;
[0133] The receiving module 601 is also used to receive business records carrying category identifiers returned by the business system;
[0134] The generation module 607 generates multiple summary files carrying category identifiers based on the service records carrying category identifiers;
[0135] The sending module 605 is further configured to return the summary file carrying the category identifier to the business system.
[0136] Further, the receiving module 601 receives the business file to be processed and format information sent by the business system, wherein the format information includes an input format and a specified output format, so as to identify the business file to be processed according to the input format; the generating module 607 generates a summary file with multiple category identifiers in a specified output format according to the business record carrying the category identifier.
[0137] Furthermore, the device also includes a subtask generation module 609, which groups the multiple business records to generate subtasks containing the business records; and a sending module 605, which returns the subtasks to the business system.
[0138] Furthermore, the sending module 605 returns a specified number of service records within a specified time interval.
[0139] Correspondingly, this specification also provides a business file splitting and summarizing device, including:
[0140] The storage unit contains the business file splitting and summarizing program.
[0141] The processor calls and executes the business file splitting and summarizing program stored in memory:
[0142] The business file to be processed is sent to the file splitting system so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records;
[0143] Receive multiple business records returned by the file splitting system;
[0144] Based on the business logic, confirm the category identifier of each of the aforementioned business records;
[0145] Send business records carrying category identifiers to the file splitting system so that the file splitting system can classify the business records and generate multiple summary files carrying category identifiers;
[0146] Receive multiple summary files carrying category identifiers returned by the file splitting system.
[0147] Correspondingly, this specification also provides another business file splitting and summarizing device, including:
[0148] The storage unit contains the business file splitting and summarizing program.
[0149] The processor calls and executes the business file splitting and summarizing program stored in memory:
[0150] Receive a business file to be processed sent by the business system, wherein the business file consists of multiple business records;
[0151] The business file to be processed is split into multiple business records;
[0152] The business record is returned to the business system;
[0153] Receive business records returned by the business system, which carry category identifiers;
[0154] Based on the business records carrying category identifiers, generate multiple summary files carrying category identifiers;
[0155] Return the summary file carrying the category identifier to the business system.
[0156] Based on the same inventive concept, this application also provides a corresponding non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0157] The business file to be processed is sent to the file splitting system so that the file splitting system can split the business file to be processed and return business records, wherein the business file consists of multiple business records;
[0158] Receive multiple business records returned by the file splitting system;
[0159] Based on the business logic, confirm the category identifier of each of the aforementioned business records;
[0160] Send business records carrying category identifiers to the file splitting system so that the file splitting system can classify the business records and generate multiple summary files carrying category identifiers;
[0161] Receive multiple summary files carrying category identifiers returned by the file splitting system.
[0162] Based on the same inventive concept, this application also provides another corresponding non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0163] Receive a business file to be processed sent by the business system, wherein the business file consists of multiple business records;
[0164] The business file to be processed is split into multiple business records;
[0165] The business record is returned to the business system;
[0166] Receive business records returned by the business system, which carry category identifiers;
[0167] Based on the business records carrying category identifiers, generate multiple summary files carrying category identifiers;
[0168] Return the summary file carrying the category identifier to the business system.
[0169] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. In particular, for embodiments involving apparatus, devices, and media, since they are fundamentally similar to the method embodiments, the descriptions are relatively simple, and relevant details can be found in the descriptions of the method embodiments; they will not be elaborated upon here.
[0170] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions, steps, or modules recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0171] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0172] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, ASICs, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0173] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0174] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, in implementing the embodiments of this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0175] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0176] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0177] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0178] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0179] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0180] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0181] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0182] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0183] Those skilled in the art will understand that one or more embodiments of this specification can be provided as a method, system, or computer program product. Therefore, embodiments of this specification can take the form of a completely hardware embodiment, a completely software embodiment, or a combination of software and hardware aspects. Furthermore, embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0184] The embodiments described in this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific transactions or implement specific abstract data types. The embodiments of this specification can also be practiced in distributed computing environments where transactions are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
Claims
1. A method for splitting and aggregating business files, applied to a business system, comprising: sending a to-be-processed business file to a file splitting system, wherein the business file comprises a plurality of business records, and the business records do not comprise a category identifier; receiving a plurality of business records returned by the file splitting system, wherein the plurality of business records are obtained by splitting the business file by the file splitting system; confirming the category identifier of each of the business records according to a business logic; sending the business records with the category identifier added by the business system to the file splitting system; receiving a plurality of aggregation files carrying the category identifier returned by the file splitting system, wherein the aggregation files are obtained by aggregating the business records based on the category identifier by the file splitting system; and the file splitting system classifies the business records according to the category identifier, including generating an A-type aggregation file and a B-type aggregation file. 2.The method of claim 1, wherein receiving the business records returned by the file splitting system comprises: receiving a subtask returned by the file splitting system, wherein the subtask comprises business records. 3.The method of claim 2, wherein confirming the category identifier of each of the business records according to a business logic comprises: confirming the category identifier of each of the business records in the subtask according to a business logic. 4.The method of claim 1, wherein sending the to-be-processed business file to the file splitting system comprises: sending the to-be-processed business file and format information to the file splitting system, wherein the format information comprises an input format and a specified output format. 5.The method of claim 1, after receiving the plurality of aggregation files carrying the category identifier returned by the file splitting system, further comprising: screening the plurality of aggregation files carrying the category identifier according to a preset condition to obtain an aggregation file satisfying the preset condition, wherein the preset condition is related to the category identifier. 6.A method for splitting and aggregating business files, applied to a file splitting system, comprising: receiving a to-be-processed business file sent by a business system, wherein the business file comprises a plurality of business records, and the business records do not comprise a category identifier; splitting the to-be-processed business file into a plurality of business records; returning the business records to the business system; receiving business records with a category identifier added by the business system returned by the business system, wherein the category identifier is confirmed by the business system according to a business logic; generating a plurality of aggregation files carrying the category identifier according to the business records carrying the category identifier, wherein the file splitting system classifies the business records according to the category identifier, including generating an A-type aggregation file and a B-type aggregation file; and returning the aggregation files carrying the category identifier to the business system. 7.The method of claim 6, wherein receiving the to-be-processed business file sent by the business system comprises: receiving a to-be-processed service file and format information sent by a service system, wherein the format information contains an input format and a specified output format, and the to-be-processed service file is identified according to the input format; generating a plurality of summary files carrying the category identifier according to the service records carrying the category identifier, including: generating a plurality of summary files carrying the category identifier in the specified output format according to the service records carrying the category identifier.
8. The method of claim 6, after splitting the to-be-processed service file into a plurality of service records, further comprising: grouping the plurality of service records to generate a subtask containing service records; the returning the service records to the service system, including: returning the subtask to the service system.
9. The method of claim 6, the returning the service records to the service system, including: returning a specified number range of service records within a specified time interval.
10. A service file splitting and summarizing device applied to a service system, comprising: a sending module, sending a to-be-processed service file to a file splitting system, wherein the service file is composed of a plurality of service records, and the service records do not contain a category identifier; a receiving module, receiving a plurality of service records returned by the file splitting system, wherein the plurality of service records are obtained by splitting the service file by the file splitting system; a confirming module, confirming a category identifier of each service record according to a service logic; the sending module is further used for sending the service records added with the category identifier by the service system to the file splitting system; the receiving module is further used for receiving a plurality of summary files carrying the category identifier returned by the file splitting system; the summary files are obtained by summarizing the service records based on the category identifier by the file splitting system; the file splitting system classifies the service records according to the category identifier, including generating an A-type summary file and a B-type summary file.
11. The apparatus of claim 10, further comprising a screening module configured to screen the plurality of summary files carrying the category identifier according to a preset condition to obtain a summary file satisfying the preset condition, wherein, the preset condition is related to the category identifier.
12. A service file splitting and summarizing device applied to a file splitting system, comprising: a receiving module, receiving a to-be-processed service file sent by a service system, wherein the service file is composed of a plurality of service records, and the service records do not contain a category identifier; a splitting module, splitting the to-be-processed service file into a plurality of service records; a sending module, returning the service records to the service system; the receiving module is further used for receiving the service records added with the category identifier by the service system; the category identifier is confirmed by the service system according to a service logic; a generating module, generating a plurality of summary files carrying the category identifier according to the service records carrying the category identifier; the file splitting system classifies the service records according to the category identifier, including generating an A-type summary file and a B-type summary file; the sending module is further used for returning the summary files carrying the category identifier to the service system.
13. The apparatus of claim 12, further comprising a subtask generation module grouping the plurality of service records to generate subtasks containing service records; and the sending module returns the subtasks to the service system.
14. A service file splitting and summarizing device applied to a service system, comprising: a memory storing a service file splitting and summarizing program; and a processor invoking the service file splitting and summarizing program in the memory and performing: sending a service file to be processed to a file splitting system, the service file being composed of a plurality of service records; the service records not including a category identifier; receiving a plurality of service records returned by the file splitting system; the plurality of service records being obtained by the file splitting system splitting the service file; according to a service logic, confirming a category identifier of each of the service records; sending the service records added with the category identifier by the service system to the file splitting system; receiving a plurality of summary files carrying the category identifier returned by the file splitting system; the summary files being obtained by the file splitting system summarizing the service records based on the category identifier; and the file splitting system classifying the service records according to the category identifier, including generating an A-type summary file and a B-type summary file.
15. A service file splitting and summarizing device applied to a file splitting system, comprising: a memory storing a service file splitting and summarizing program; and a processor invoking the service file splitting and summarizing program in the memory and performing: receiving a service file to be processed sent by a service system, wherein the service file is composed of a plurality of service records; splitting the service file to be processed into the plurality of service records; returning the service records to the service system; receiving service records added with a category identifier by the service system; the category identifier being confirmed by the service system according to a service logic; generating a plurality of summary files carrying the category identifier according to the service records carrying the category identifier; the file splitting system classifying the service records according to the category identifier, including generating an A-type summary file and a B-type summary file; and returning the summary files carrying the category identifier to the service system.
Citation Information
Patent Citations
Splitting and summarizing method, device and equipment for service document
CN108446301A