Material package processing method and device

By introducing material package processing methods in the banking system, including key page recognition and target file generation, the banking system's resource occupation problem when processing big data and the inefficiency of contract file over-limit verification are solved, achieving more efficient business processing and faster circulation speed.

CN120163536AInactive Publication Date: 2025-06-17BEIJING SHANGYIN MICRO CORE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510220467.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-06-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When a banking system processes a large amount of business data, if the data memory is too large, it will cause too much system resources to occupy too much, slow down the running speed, and even lag or crash, affecting system stability. In addition, in the current technology, contract documents exceeding limits can only be verified after the review is completed, resulting in low business processing efficiency, long customer processing time, poor circulation speed and service quality.

Method used

Provide a material package processing method, including obtaining the contract files in the original material package, performing over-limit verification, and if the limit exceeds the limit, performing key page recognition, extracting key pages, generating target contract files and target material packages, ensuring that the material package does not exceed the limit.

Benefits of technology

The automatic processing of over-limit contract documents is realized, avoiding the process of returning business materials to customers and re-uploading, improving the business processing efficiency of the banking system, reducing the time for customers to process business, and thus improving the overall business circulation speed and service quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120163536A_ABST
    Figure CN120163536A_ABST
Patent Text Reader

Abstract

The invention discloses a data packet processing method and device, and relates to the technical field of data processing. The method comprises the steps of obtaining an original contract file in an original material package; based on the original contract file, carrying out overrun verification to obtain a verification result corresponding to the original material package; when the verification result is over-limit, performing key page identification on the original contract file to obtain a key page identification result; obtaining a key page corresponding to the original contract file based on the key page identification result, and obtaining a target contract file corresponding to the original contract file based on the corresponding key page; and generating a target material package corresponding to the original material package based on the target contract file. According to the application, when it is determined that the original contract file exceeds the limit, the processing of the original contract file is automatically realized, so that the target contract file (i.e., the target material package) does not exceed the limit, the business processing efficiency of a bank system is improved, the time consumed by a client for processing business is reduced, and the circulation speed and the service quality of the whole business are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data processing, and particularly to a method and device for processing a material package. Background Art

[0002] With the development of the times, the banking system has to process a large amount of business data every day. If the memory of the business data is too large, it will occupy too much system resources during data transmission, storage, and processing, causing the operating speed of the banking system to slow down, or even freeze or crash, affecting the stability of the banking system operation. Therefore, in order to maintain its own operation stability, the banking system sets a limit on the memory of the contract files in the business materials uploaded by customers, that is, when the banking system receives a contract file in the business materials uploaded by a customer that exceeds the limit, the banking system cannot push the business materials to the corresponding bank.

[0003] Moreover, the current review and push process of business materials is relatively complex. That is, when a customer pushes business materials to the corresponding bank side, it needs to go through links such as uploading, preliminary review, re-review, and confirmation. And in the uploading, preliminary review, and re-review links, it is allowed to modify the business materials, which makes the banking system unable to verify the size of the contract files in the business materials in real time during the review process, and can only verify the memory size of the contract files in the business materials after the review is completed.

[0004] In the current technology, if it is found that the contract file exceeds the limit after the review is completed, the entire business material must be returned to the customer. The customer needs to re-upload the business material to the banking system, and the banking system will conduct preliminary review, re-review, etc. on the re-uploaded business material again until the contract file in the business material does not exceed the limit, and then the banking system will push the business material to the corresponding bank side.

[0005] It can be seen that in the current technology, the business processing efficiency of the banking system is low, and the time consumed by customers to handle business is long, resulting in a poor overall business turnover speed and service quality. Summary of the Invention

[0006] Based on the above problems, this application provides a method and device for processing a material package, which improves the business processing efficiency of the banking system and reduces the time consumed by customers to handle business, thereby improving the overall business turnover speed and service quality.

[0007] The embodiments of this application disclose the following technical solutions:

[0008] In the first aspect, this application provides a method for processing a material package, including:

[0009] Obtain the original contract file in the original material package;

[0010] Based on the original contract document, perform an overlimit check to obtain a check result corresponding to the original material package; wherein, the check result includes: overlimit and not overlimit.

[0011] When the check result is overlimit, perform key page identification on the original contract document to obtain a key page identification result corresponding to the original contract document:

[0012] Based on the corresponding key page identification result, obtain the key pages corresponding to the original contract document, and based on the corresponding key pages, obtain the target contract document corresponding to the original contract document.

[0013] Generate a target material package corresponding to the original material package based on the target contract document corresponding to the original contract document.

[0014] Optionally, the performing an overlimit check based on the original contract document to obtain a check result corresponding to the original material package includes:

[0015] Based on the total memory of all the original contract documents in the original material package, determine whether the total memory of all the original contract documents exceeds a first memory threshold to obtain a first judgment result; wherein, the first judgment result includes: material package overlimit and material package not overlimit.

[0016] Based on the memory of each original contract document in the original material package, respectively determine whether the memory of each original contract document exceeds a second memory threshold to obtain a second judgment result corresponding to each original contract document respectively; wherein, the second judgment result includes: file overlimit and file not overlimit; the first memory threshold is greater than the second memory threshold.

[0017] Based on the first judgment result and the second judgment results corresponding to each original contract document respectively, obtain a check result corresponding to the original material package.

[0018] Optionally, the obtaining a check result corresponding to the original material package based on the first judgment result and the second judgment results corresponding to each original contract document respectively includes:

[0019] When the first judgment result is material package not overlimit and the second judgment results corresponding to each original contract document respectively are all file not overlimit, determine that the check result corresponding to the original material package is not overlimit;

[0020] When the first judgment result is material package overlimit and / or the second judgment results corresponding to each original contract document respectively are not all file not overlimit, determine that the check result corresponding to the original material package is overlimit.

[0021] Optionally, when the format of the original contract document is a picture, the key page recognition of the original contract document to obtain the key page recognition result corresponding to the original contract document includes:

[0022] Perform key page recognition on the picture corresponding to the original contract document to obtain the key page picture corresponding to the original contract document.

[0023] Optionally, the obtaining of the key page corresponding to the original contract document based on the corresponding key page recognition result, and the obtaining of the target contract document corresponding to the original contract document based on the corresponding key page include:

[0024] Directly store the key page picture corresponding to the original contract document as the key page corresponding to the original contract document;

[0025] Obtain the target contract document corresponding to the original contract document based on the corresponding key page picture.

[0026] Optionally, when the format of the original contract document is the portable document PDF format, the key page recognition of the original contract document to obtain the key page recognition result corresponding to the original contract document includes:

[0027] Perform key page recognition on the original contract document to obtain the type and page number of the key page corresponding to the original contract document.

[0028] Optionally, the obtaining of the key page corresponding to the original contract document based on the corresponding key page recognition result, and the obtaining of the target contract document corresponding to the original contract document based on the corresponding key page include:

[0029] Extract the corresponding key page from the original contract document based on the page number of the key page corresponding to the original contract document to obtain the key page corresponding to the original contract document;

[0030] Merge the extracted corresponding key pages based on the type of the key page corresponding to the original contract document to obtain the target contract document corresponding to the original contract document.

[0031] Optionally, before the key page recognition of the original contract document to obtain the key page recognition result corresponding to the original contract document, the method further includes:

[0032] When the verification result is over-limit, judge whether there is a key page corresponding to the original contract document based on the identifier of the original contract document;

[0033] When there is a key page corresponding to the original contract document, obtain the key page corresponding to the original contract document, and based on the corresponding key page, obtain the target contract document corresponding to the original contract document;

[0034] The key page recognition of the original contract document to obtain the key page recognition result corresponding to the original contract document includes:

[0035] When there is no key page corresponding to the original contract document, perform key page recognition on the original contract document.

[0036] Optionally, after generating the target material package corresponding to the original material package based on the target contract document corresponding to the original contract document, the method further includes:

[0037] Perform overlimit verification based on the target contract document in the target material package to obtain the verification result corresponding to the target material package.

[0038] In a second aspect, the present application provides a material package processing device, which is characterized by including:

[0039] A file acquisition module for acquiring the original contract document in the original material package;

[0040] An overlimit verification module for performing overlimit verification based on the original contract document to obtain the verification result corresponding to the original material package; wherein, the verification result includes: overlimit and not overlimit;

[0041] A key page recognition module for performing key page recognition on the original contract document when the verification result is overlimit to obtain the key page recognition result corresponding to the original contract document:

[0042] A file generation module for obtaining the key page corresponding to the original contract document based on the corresponding key page recognition result, and obtaining the target contract document corresponding to the original contract document based on the corresponding key page;

[0043] A material package generation module for generating the target material package corresponding to the original material package based on the target contract document corresponding to the original contract document.

[0044] Compared with the prior art, the present application has the following beneficial effects: When it is determined that the verification result corresponding to the original material package is over-limit (the original contract document is over-limit), key page identification, key page extraction, regeneration of the target contract document, and generation of the target material package are automatically performed, that is, automatic processing of the over-limit contract document is realized, so that the target material package is not over-limit, and it is not necessary to return the entire business material to the customer, and then the customer uploads the business material to the bank system again, and the bank system audits the re-uploaded business material again, improving the business processing efficiency of the bank system and reducing the time consumed by the customer in processing the business, thereby improving the overall business turnover speed and service quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0046] Figure 1 Schematic diagram of an application scenario of a material package processing method provided by an embodiment of the present application;

[0047] Figure 2 Schematic flow diagram of a material package processing method provided by an embodiment of the present application;

[0048] Figure 3 Schematic flow diagram of over-limit verification provided by an embodiment of the present application;

[0049] Figure 4 Example diagram of an entity-relationship diagram stored in the bank system provided by an embodiment of the present application;

[0050] Figure 5 Schematic flow diagram of another material package processing method provided by an embodiment of the present application;

[0051] Figure 6 Schematic flow diagram of the identification and acquisition of key pages provided by an embodiment of the present application;

[0052] Figure 7 Schematic flow diagram of the identification and acquisition of key pages realized manually provided by an embodiment of the present application;

[0053] Figure 8 Schematic structural diagram of a material package processing device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0054] As described above, the banking system processes a large amount of business data every day. If the business data is too large, it will occupy too many system resources during data transmission, storage, and processing. For example, when a large number of business data with large memory simultaneously enter the banking system, it may cause insufficient memory and high CPU load on the servers of the banking system, resulting in a slower running speed of the banking system, and even freezing or crashing, affecting the stability of the entire banking system and thus interfering with normal business handling. Therefore, in order to maintain the stability of its own operation, the banking system has set a limit on the memory of the contract files in the business materials.

[0055] In the actual process of business development, during the off-peak period of business, the banking business receives about 4,000 pieces of business materials uploaded by customers every day. The probability that the contract files exceed the limit is 8%, which is about more than 300 pieces. During the peak period of business, the banking business receives about 10,000 pieces of business materials uploaded by customers every day, and the number of contract files that exceed the limit is about more than 800 pieces. Then, during the off-peak period of business, about more than 300 pieces of business materials need to be returned to the customers, and the customers need to re-upload the business materials. The banking system also needs to conduct preliminary reviews, re-reviews, and other processes on the re-uploaded business materials until the contract files in the business materials do not exceed the limit. Then the banking system will push the business materials to the corresponding banking parties. Similarly, during the peak period of business, even about more than 800 pieces of business materials need to be returned to the customers, and the customers need to re-upload the business materials. The banking system also needs to conduct preliminary reviews, re-reviews, and other processes on the re-uploaded business materials until the contract files in the business materials do not exceed the limit. Then the banking system will push the business materials to the corresponding banking parties.

[0056] That is, in the current technology, once it is found that the contract files in the business materials exceed the limit after the review is completed, the entire business materials must be returned to the customers. The customers need to re-upload the materials, and the banking system also needs to conduct a new review. In this way, the business processing efficiency of the banking system is low, and the time consumed by the customers to handle the business is long, resulting in a poor turnover speed and service quality of the overall business.

[0057] The present application provides a method for processing a material package, including: obtaining an original contract document in the original material package; performing an overlimit check based on the original contract document to obtain a check result corresponding to the original material package; when the check result corresponding to the original material package is overlimit, identifying key pages of the original contract document to obtain a key page identification result; based on the corresponding key page identification result, obtaining key pages corresponding to the original contract document, and based on the corresponding key pages, obtaining a target contract document corresponding to the original contract document; generating a target material package corresponding to the original material package based on the target contract document corresponding to the original contract document. In the embodiments of the present application, when it is determined that the check result corresponding to the original material package is overlimit (the original contract document is overlimit), key page identification, key page extraction, regeneration of the target contract document, and generation of the target material package are automatically performed, that is, automatic processing of the overlimit contract document is realized, so that the target material package is not overlimit, and it is not necessary to return the entire business material to the customer, and then the customer uploads the business material to the bank system again, and the bank system reviews the re-uploaded business material again, improving the business processing efficiency of the bank system and reducing the time consumed by the customer in processing the business, thereby improving the overall business turnover speed and service quality.

[0058] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present application.

[0059] Embodiment 1:

[0060] The following combines Figures 1-3 to introduce in detail a method for processing a material package provided by an embodiment of the present application. A method for processing a material package provided by an embodiment of the present application is applied to a bank system.

[0061] Before introducing a method for processing a material package provided by an embodiment of the present application, first combine Figure 1 to introduce by way of example the application scenario of the method for processing a material package.

[0062] As Figure 1 shown, the application scenario of the method for processing a material package in the embodiments of the present application is introduced by way of example. The application scenario of the method for processing a material package includes: a client, a bank system, and a bank.

[0063] The client is the entry point for submitting the original material package to the banking system, that is, the client is used to upload the original material package to the banking system. Exemplarily, in the case of a financing application, after the financing party prepares the financing material package composed of relevant contracts, financial statements, etc., the financing material package is uploaded to the banking system through the client to initiate the financing application process.

[0064] The banking system is used to review the received original material package, perform the material package processing method provided in the embodiment of the present application on the original material package after passing the review, and send the obtained target material package to the lending bank.

[0065] The bank is used to perform business processing based on the target material package and return the business processing result to the client. Exemplarily, in the case of a financing application, the bank (which can also be referred to as the lending bank or the disbursing bank) makes the final loan disbursement based on the target material package of the financing application.

[0066] As Figure 2 shown, a material package processing method provided in the embodiment of the present application includes the following steps:

[0067] S201. Obtain the original contract file in the original material package.

[0068] Among them, the material package is a file package containing all business application materials and is a legal voucher for business applications. Exemplarily, in the financing application scenario, the material package is a file package containing all financing application materials and is a legal voucher for financing applications, which includes various supporting documents, financial statements, contracts, etc.

[0069] Among them, the contract file refers to a legally binding written agreement signed with customers, partners, etc. during the business process, which generally stipulates the rights, obligations, business terms, and related matters of all parties in the business.

[0070] Among them, the original material package is the data package that the customer first uploads to the banking system and passes the review (that is, passes the preliminary review and the re-review). The original contract file is the contract file in the original material package.

[0071] Specifically, the original material package includes one or more original contract files.

[0072] S202. Based on the original contract file, perform an overlimit check to obtain a check result corresponding to the original material package.

[0073] Among them, the check result is overlimit and not overlimit. When the check result is overlimit, it means that the memory of the original contract file in the original material package exceeds the pre-specified maximum limit; when the check result is not overlimit, it means that the memory of the original contract file in the original material package does not exceed the pre-specified maximum limit.

[0074] If the verification result corresponding to the original material package is over the limit, then proceed to S203.

[0075] If the verification result corresponding to the original material package is not over the limit, directly send the original material package to the client platform so that the customer can confirm the original material package through the client platform. If the customer has completed the confirmation, then push the original material package to the corresponding bank side.

[0076] For the convenience of understanding, the following will Figure 3 introduce in detail how to perform the over-limit verification.

[0077] S301: Based on the total memory of all the original contract files in the original material package, determine whether the total memory of all the original contract files exceeds the first memory threshold to obtain the first judgment result.

[0078] Among them, the first judgment result includes: the material package is over the limit and the material package is not over the limit.

[0079] Specifically, when the total memory of all the original contract files exceeds the first memory threshold, determine that the first judgment result is that the material package is over the limit; when the total memory of all the original contract files does not exceed the first memory threshold, determine that the first judgment result is that the material package is not over the limit.

[0080] Exemplarily, the original material package A includes 2 original contract files, namely A1 and A2. Then determine whether the total memory of the 2 original contract files (the sum of the memory of A1 and the memory of A2, that is, A1 memory + A2 memory) exceeds the first memory threshold. If so, the first judgment result is that the material package is over the limit; if not, the first judgment result is that the material package is not over the limit.

[0081] In a possible implementation manner, the memory of the original contract files in the original material package can be obtained through the following method: Based on the identifier of the original material package, obtain the identifiers of the respective original contract files included in the original material package; based on the identifiers of the respective original contract files, obtain the memory of the respective original contract files.

[0082] S302: Based on the memory of each original contract file in the original material package, respectively determine whether the memory of each original contract file exceeds the second memory threshold to obtain the second judgment result corresponding to each original contract file respectively.

[0083] Among them, the second judgment result includes: the file is over the limit and the file is not over the limit.

[0084] Among them, the second memory threshold is less than the first memory threshold. Exemplarily, the first memory threshold is 150M, the second memory threshold is 60M, and the second memory threshold is less than the first memory threshold.

[0085] Specifically, when the memory of the original contract file exceeds the second memory threshold, it is determined that the second judgment result corresponding to the original contract file is that the file exceeds the limit; when the memory of the original contract file does not exceed the second memory threshold, it is determined that the second judgment result corresponding to the original contract file is that the file does not exceed the limit.

[0086] Exemplarily, the original material package B includes 3 original contract files, namely B1, B2, and B3. Then, it is judged whether the memory of B1 exceeds the second memory threshold to obtain the second judgment result corresponding to B1; it is judged whether the memory of B2 exceeds the second memory threshold to obtain the second judgment result corresponding to B2; it is judged whether the memory of B3 exceeds the second memory threshold to obtain the second judgment result corresponding to B3. That is, the original material package B includes the second judgment results corresponding to B1, B2, and B3 respectively.

[0087] It should be noted that S301 can be carried out first and then S302, or S302 can be carried out first and then S301. In addition, S301 and S302 can also be carried out simultaneously or almost simultaneously.

[0088] S303: Obtain the verification result corresponding to the original material package based on the first judgment result and the second judgment results corresponding to each original contract file respectively.

[0089] Specifically, when the first judgment result is that the material package does not exceed the limit, and the second judgment results corresponding to each original contract file are all that the file does not exceed the limit, it is determined that the verification result corresponding to the original material package is that it does not exceed the limit; when the first judgment result is that the material exceeds the limit, and / or the second judgment results corresponding to each original contract file are not all that the file does not exceed the limit (that is, at least one file in the second judgment results corresponding to each original contract file exceeds the limit), it is determined that the verification result corresponding to the original material package is that it exceeds the limit.

[0090] Exemplarily, taking the original material package D, which includes the original contract file D1 and the original contract file D2, as an example. Correspondingly, the judgment results include: the first judgment result d corresponding to the original material package D, the second judgment result d1 corresponding to the original contract file D1, and the second judgment result d2 corresponding to the original contract file D2. Then, the situation of the verification result corresponding to the original material package D is shown in Table 1:

[0091] Table 1

[0092]

[0093] As shown in Table 1, when d is that the material package does not exceed the limit, d1 is that the file does not exceed the limit, and d2 is that the file does not exceed the limit, the verification result corresponding to the original material package D is that it does not exceed the limit; in other cases, the verification result corresponding to the original material package D is that it exceeds the limit.

[0094] It should be noted that when there is only one original contract file in the original material package, only S302 can be performed. When the memory of the original contract file does not exceed the second memory threshold, the second judgment result corresponding to the original contract file is that the file does not exceed the standard. And since the second memory threshold is less than the first memory threshold, when the memory of the original contract file does not exceed the second memory threshold, the memory of the original contract file (that is, the total memory of all original contract files) must not exceed the first memory threshold, then the first judgment result must be that the material package does not exceed the limit, and the verification result corresponding to the final original material package is not exceeding the standard. When the memory of the original contract file exceeds the second memory threshold, the second judgment result corresponding to the original contract file is that the file exceeds the standard, then regardless of whether the memory of the original contract file (that is, the total memory of all original contract files) exceeds the first memory threshold, the verification result corresponding to the final original material package is exceeding the standard.

[0095] In the embodiment of the present application, through two dimensions of the total memory of all original contract files in the original material package and the memory of each original contract file, that is, two dimensions of all original contract files and a single original contract file, the over-limit verification of the original contract files in the original material package is comprehensively realized, improving the accuracy of the over-limit verification.

[0096] The above combination Figure 3 , has introduced in detail how to obtain the verification result corresponding to the original material package in the embodiment of the present application. The following continues to combine Figure 2 , to introduce a method for processing a material package provided in the embodiment of the present application.

[0097] S203. Identify the key pages of the original contract file to obtain the key page identification result.

[0098] Among them, the key page identification result is used to indicate the key pages of the original contract file.

[0099] Among them, the key pages of the contract file refer to the pages containing important information and terms. The information carried by the key pages is important for understanding the core content of the contract and the rights and obligations of all parties.

[0100] Exemplarily, in a financing application scenario, the key pages of the contract documents in the financing material package include: contract number page, contract party page, contract amount page, payment method page, effective clause page, signature page, etc. Among them, the number included in the contract number page is the unique identifier of the contract document. In the management of a large number of contract documents, the contract document can be quickly located and retrieved according to the contract number; the basic information of both parties to the contract, such as enterprise name, legal representative, address and contact information, etc., is detailed in the contract party page; the financing amount is detailed in the contract finance page, which is used to measure the financing scale and risk; the details of the payment route, time and method of funds, etc., are recorded in the payment method page, which is used to ensure the smooth and safe flow of funds; the conditions for the contract document to take effect, such as the signatures and seals of both parties and the completion of specific approval processes, etc., are recorded in the effective clause page; the signature page contains the signatures and seals of both parties.

[0101] In a possible implementation manner, the format of the original contract document is a picture, that is, the original contract document includes one or more pictures. Then, key page recognition is performed on the pictures corresponding to the original contract document (that is, one or more pictures) to obtain the key page pictures corresponding to the original contract document. That is, the key page recognition result of the original contract document is the key page pictures of the original contract document.

[0102] In another possible implementation manner, the format of the original contract document is Portable Document Format (PDF), that is, the original contract document is a PDF file (document). Then, key page recognition is performed on the original contract document to obtain the type and page number of the key pages corresponding to the original contract document. That is, the key page recognition result of the original contract document is the type and page of the key pages. For example: when performing key page recognition on the original contract document in PDF format, if the first page obtained is the contract number page and the third page is the contract subject page, then the key page recognition result (type - page number) of this PDF - formatted original contract document is: contract coding page - 1, contract subject page - 3.

[0103] Furthermore, in a possible implementation manner, through optical character recognition technology, key page recognition is performed on the original contract document to obtain the key page recognition result of the original contract document.

[0104] Among them, optical character recognition (OCR) technology is a technology that can convert various printed or handwritten texts of different types into electronic texts that can be processed through devices such as scanners and digital cameras.

[0105] Specifically, through optical character recognition technology, the text in the original contract document is recognized, and key page recognition is performed based on the text of the original contract document to obtain the key page recognition result of the original contract document.

[0106] Further, in a possible implementation, after identifying the key pages of the original contract document through optical character recognition technology and obtaining the key page recognition result of the original contract document, the key page recognition result can also be verified manually to ensure the accuracy of the key page recognition result again.

[0107] S204. Based on the corresponding key page recognition result, obtain the key pages corresponding to the original contract document, and based on the corresponding key pages, obtain the target contract document corresponding to the original contract document.

[0108] Among them, the target contract document is a contract document including the key pages of the original contract document.

[0109] In a possible implementation, when the format of the original contract document is a picture and the corresponding key page recognition result is a key page picture, directly store the key page picture corresponding to the original contract document as the key page corresponding to the original contract document; based on the corresponding key page picture, obtain the target contract document corresponding to the original contract document.

[0110] In another possible implementation, when the format of the original contract document is PDF and the corresponding key page recognition result is the type and page number of the key pages, then based on the page numbers of the key pages corresponding to the original contract document, extract the corresponding key pages from the original contract document to obtain the key pages corresponding to the original contract document; based on the type of the key pages corresponding to the original contract document, merge the extracted corresponding key pages to obtain the target contract document corresponding to the original contract document.

[0111] S205. Generate a target material package corresponding to the original material package based on the target contract document corresponding to the original contract document.

[0112] Specifically, replace the original contract document in the original material package with the corresponding target contract document to obtain the corresponding target material package.

[0113] In a possible implementation, after generating the target material package corresponding to the original material package, perform an overlimit verification based on the target contract document in the target material package to obtain a verification result corresponding to the target material package. If the verification result corresponding to the target material package is not overlimit, it means that the corresponding target material package meets the requirements for memory size and can continue to send the target material package to the client platform; if the verification result corresponding to the target material package is overlimit, it means that the corresponding target material package still does not meet the requirements for memory size, then use the target material package as the original material package and the target contract document as the original contract document, and continue to perform the material package processing method provided in this embodiment of the application, so that the final target material package meets the requirements for memory size.

[0114] In the embodiment of the present application, a secondary over-limit verification is performed on the target material package to ensure the accuracy of material package processing, and to avoid the situation where the target material package obtained after material package processing still does not meet the requirements for memory size, which may affect the overall business processing efficiency.

[0115] Furthermore, after generating the target material package corresponding to the original material package, the target material package is sent to the client platform so that the customer can determine the target material package through the client platform. If the customer determines that it is completed, the target material package is pushed to the corresponding bank side to continue with the subsequent business.

[0116] The embodiment of the present application provides a data packet processing method, including: obtaining the original contract file in the original material package; performing over-limit verification based on the original contract file to obtain a verification result corresponding to the original material package; when the verification result corresponding to the original material package is over-limit, performing key page identification on the original contract file to obtain a key page identification result; based on the corresponding key page identification result, obtaining the key pages corresponding to the original contract file, and based on the corresponding key pages, obtaining the target contract file corresponding to the original contract file; generating the target material package corresponding to the original material package based on the target contract file corresponding to the original contract file. In the embodiment of the present application, when it is determined that the verification result corresponding to the original material package is over-limit (the original contract file is over-limit), key page identification, key page extraction, regeneration of the target contract file, and generation of the target material package are automatically performed, that is, automatic processing of the over-limit contract file is realized, so that the target material package is not over-limit, and it is not necessary to return the entire business materials to the customer, then the customer uploads the business materials to the bank system again, and the bank system reviews the re-uploaded business materials again, improving the business processing efficiency of the bank system and reducing the time consumed by the customer to process the business, thereby improving the overall business turnover speed and service quality.

[0117] Embodiment Two:

[0118] Next, in combination with Figures 4-7 ..., a further material package processing method provided by the embodiment of the present application will be introduced in detail.

[0119] Before introducing a further material package processing method provided by the embodiment of the present application, first, in combination with Figure 4 ..., an example is used to introduce the Entity-Relationship Diagram (ER diagram for short) stored in the bank system in the embodiment of the present application. The ER diagram is a graphical tool used to describe the conceptual model of a database. It is widely used in the database design stage to display entities, entity attributes, and the relationships between entities.

[0120] For example, as Figure 4As shown, this ER diagram shows the storage structure of data related to contract documents in the business and the relationships between tables, including: the contract master table, the association table between contracts and data packets, the contract key page record table, and the material package overlimit processing table.

[0121] Among them, the contract master table is used to record the basic information of contract documents. For example: the contract primary key ID, contract name, contract file ID set, contract date, contract amount, supplier number, counterparty number, signing date, etc. in the contract master table.

[0122] Among them, the association table between contracts and material packages is used to establish the relationship between contract documents and material packages and store the review information related to material packages and contract documents. For example: the association table between contracts and material packages includes: contract primary key ID, material package ID, latest review status, review content, preliminary review result, re-review result, etc. And, a contract document can correspond to multiple material packages, so a contract master table can correspond to multiple association tables between contracts and material packages (a 1-n relationship).

[0123] Among them, the contract key page record table is used to store the relevant information of the key pages of contract documents. For example: the contract key page record table includes: contract primary key ID, contract file ID, contract key page type, key page handler type, PDF file page number, whether it is a PDF cropped file, etc. And a contract master table can correspond to multiple contract key page record tables (a 1-n relationship), that is, a contract document may have multiple key page records.

[0124] Among them, the material package overlimit processing table is used to record the relevant information of material package overlimit processing. For example: the material package overlimit processing table includes: material package ID, review completion time, automatic processing start time, automatic processing end time, manual processing start time, manual processing end time, material package processing stage, whether it is overlimit, etc. And a material package overlimit processing table can correspond to multiple association tables between contracts and material packages (a 1-n relationship).

[0125] In the embodiment of the present application, building a database based on the ER diagram can efficiently support various data query and analysis requirements. Exemplary: Based on the material package ID input by the customer, the key pages corresponding to the contract documents included in the material package ID can be extracted.

[0126] The following combines Figures 5-7 , and details a material package processing method provided by the embodiment of the present application.

[0127] As Figure 5 shown, a material package processing method provided by the embodiment of the present application includes the following steps:

[0128] S501. Obtain the original contract document in the original material package.

[0129] S502. Based on the original contract documents, perform an overlimit check to obtain a check result corresponding to the original material package.

[0130] Specifically, based on the original material package, obtain a set of all original contract document IDs in the original material package, and based on the set of all original contract document IDs, call the file service to obtain the memory of each original contract document; based on the memory of each original contract document, perform an overlimit verification to obtain a check result corresponding to the original material package.

[0131] When the check result corresponding to the original material package is overlimit, perform S503.

[0132] When the check result corresponding to the original material package is not overlimit, directly send the original material package to the client platform so that the customer can determine the original material package through the client platform. If the customer determines completion, push the original material package to the corresponding bank.

[0133] It should be noted that S501 and S502 are the same as S201 and S202 in Embodiment 1. Therefore, for the specific implementation details of S501 and S502, please refer to S201 and S202 in Embodiment 1, which will not be elaborated here.

[0134] S503. Based on the identifier of the original contract document, determine whether there is a key page corresponding to the original contract document.

[0135] Specifically, through the ER diagram stored in the banking system, based on the identifier of the original contract document (such as the original contract document ID), determine whether there is a key page corresponding to the original contract document.

[0136] When there is a key page corresponding to the original contract document, perform S504 - S505.

[0137] When there is no key page corresponding to the original contract document, perform S506 - S507.

[0138] S504. Obtain the key page corresponding to the original file contract, and based on the corresponding key page, obtain the target contract document corresponding to the original contract document.

[0139] Specifically, through the ER diagram stored in the banking system, based on the identifier of the original contract document, obtain the identifier of the key page corresponding to the identifier of the original contract document (key page ID); based on the corresponding key page, obtain the key page corresponding to the original contract document, and based on the corresponding key page, obtain the target contract document corresponding to the original contract document.

[0140] In the embodiment of the present application, when the original contract file has been processed in other material packages in the banking system, the key pages corresponding to the original contract file can be directly obtained, and there is no need to identify the key pages of the original contract file again, further reducing the waste of duplicate resources.

[0141] S505. Determine whether the memory of the corresponding target contract file exceeds the second memory threshold.

[0142] Since the ER diagram stored in the banking system is used to obtain the key pages in other material packages corresponding to the original contract file, and based on the corresponding key pages, the corresponding target contract file is obtained, it is impossible to ensure that the memory of the target contract file generated based on the key pages in other material packages can meet the requirements of the memory of the original material package corresponding to a single contract file. Therefore, the target contract file is verified again for overrun to ensure that the target contract file meets the requirements for the memory size.

[0143] When the memory of the corresponding target contract file exceeds the second memory threshold, perform S506 - S507.

[0144] When the memory of the corresponding target contract file does not exceed the second memory threshold, perform S508.

[0145] S506. Identify the key pages of the original contract file to obtain the key page identification result corresponding to the original contract file.

[0146] S507. Based on the corresponding key page identification result, obtain the key pages corresponding to the original contract file, and based on the corresponding key pages, obtain the target contract file corresponding to the original contract file.

[0147] S508. Generate a target material package corresponding to the original material package based on the target contract file corresponding to the original contract file.

[0148] It should be noted that S506 - S508 is the same as S203 - S205 in Embodiment 1. Therefore, for the specific implementation details of S506 - S508, please refer to S203 - S205 in Embodiment 1 and will not be elaborated here.

[0149] In a possible implementation manner, during the process of S506 - S507, that is, obtaining the key page identification result and obtaining the key pages corresponding to the original contract file based on the key pages and the identification result (which can be simply referred to as: identifying and obtaining the key pages), it can be combined with manual processing to improve the accuracy of key page identification. For the convenience of understanding, the following will be combined with Figure 6 , and an example will be given to introduce how to identify and obtain the key pages.

[0150] S601. Invoke the recognition service to perform the key page recognition task on the original contract document and return a recognition completion notice.

[0151] Among them, the recognition service is a service (microservice) running on the bank system and used to implement the key page recognition task for the original contract document.

[0152] Among them, the recognition completion notice is used to indicate that the recognition service has completed the key page recognition task for the original contract document.

[0153] S602. In response to the recognition completion notice, judge whether the status of the original material package is manual processing.

[0154] When the status of the original material package is manual processing, set the status of the key page recognition task for the original contract document to be pending manual processing.

[0155] When the status of the original material package is not manual processing, proceed to S603.

[0156] S603. Obtain the execution status of the key page recognition task.

[0157] When the execution status of the key page recognition task is failure or timeout, set the status of the key page recognition task for the original contract document to be pending manual processing.

[0158] When the execution status of the key page recognition task is successful, proceed to S604.

[0159] S604. Obtain the key page recognition result.

[0160] When the key page recognition result is a key page picture (i.e., the format of the original contract document is a picture), proceed to S605.

[0161] When the key page recognition result is the type and page number of the key page (i.e., the format of the original contract document is PDF), proceed to S606.

[0162] S605. Directly store the key page picture corresponding to the original contract document as the key page corresponding to the original contract document.

[0163] S606. Extract the corresponding key page from the original contract document based on the page number of the key page.

[0164] Specifically, based on the page number of the key page, crop the original contract document to obtain the key page corresponding to the original contract document.

[0165] When the corresponding key page is extracted from the original contract document, proceed to S607.

[0166] When the corresponding key pages cannot be successfully extracted from the original contract document, the status of the key page recognition task for the original contract document is set to pending manual processing.

[0167] S607. Determine whether the preset manual processing switch is on.

[0168] When the preset manual processing switch is on, the status of the key page recognition task for the original contract document is set to pending manual processing.

[0169] When the preset manual processing switch is off, the status of the key page recognition task for the original contract document becomes processed, thus achieving the acquisition of key page recognition.

[0170] Furthermore, when the status of the key page recognition task for the original contract document is pending manual processing, the key pages of the original contract document are manually recognized and extracted.

[0171] For the sake of easy understanding, the following combines Figure 7 , and gives an example to introduce how to manually recognize and extract the key pages of the original contract document.

[0172] As Figure 7 shown, in response to the status of the key page recognition task being pending manual processing, the banking system displays a manual processing page to the user. Based on the manual processing page, the user manually marks the key pages of the original contract document or manually uploads the key pages of the original contract document. For the key pages of the original contract document manually marked by the user, when the format of the original contract document is a picture (i.e., the key pages are pictures), the key page pictures are directly stored as the key pages of the original contract document; when the format of the original contract document is PDF (i.e., the key pages are PDFs), the original contract document is cropped based on the page numbers of the marked key pages of the original contract document, thereby obtaining the corresponding key pages of the original contract document.

[0173] In the embodiments of the present application, in a method for processing a material package provided by the embodiments of the present application, it supports automatic recognition and obtaining of the key pages of the original contract document, and also supports manual marking by the user and obtaining of the key pages of the original contract document, improving the flexibility of the banking system, thereby meeting the requirements of different scenarios.

[0174] Embodiment Three:

[0175] The following combines Figure 8 , and details a material package processing device provided by the embodiments of the present application. This device is applied to the banking system.

[0176] As Figure 8 shown, a material package processing device provided by the embodiments of the present application includes the following modules:

[0177] A file acquisition module 801 for acquiring the original contract files in the original material package;

[0178] An overrun verification module 802 for performing overrun verification based on the original contract files to obtain a verification result corresponding to the original material package; wherein, the verification result includes: overrun and not overrun;

[0179] A key page identification module 803 for, when the verification result is overrun, performing key page identification on the original contract files to obtain a key page identification result corresponding to the original contract files:

[0180] A file generation module 804 for, when the verification result is overrun, performing key page identification on the original contract files to obtain a key page identification result corresponding to the original contract files:

[0181] A material package generation module 805 for generating a target material package corresponding to the original material package based on the target contract files corresponding to the original contract files.

[0182] In a possible implementation manner, the overrun verification module 802 is specifically configured to determine whether the total memory of all the original contract files in the original material package exceeds a first memory threshold based on the total memory of all the original contract files in the original material package to obtain a first judgment result; wherein, the first judgment result includes: material package overrun and material package not overrun; respectively determine whether the memory of each original contract file in the original material package exceeds a second memory threshold based on the memory of each original contract file in the original material package to obtain a second judgment result corresponding to each original contract file respectively; wherein, the second judgment result includes: file overrun and file not overrun; the first memory threshold is greater than the second memory threshold; and obtain a verification result corresponding to the original material package based on the first judgment result and the second judgment results corresponding to each original contract file respectively.

[0183] In a possible implementation manner, the overrun verification module 802 is specifically configured to, when the first judgment result is that the material package is not overrun and the second judgment results corresponding to each original contract file respectively are all that the file is not overrun, determine that the verification result corresponding to the original material package is not overrun; when the first judgment result is that the material package is overrun and / or the second judgment results corresponding to each original contract file respectively are not all that the file is not overrun, determine that the verification result corresponding to the original material package is overrun.

[0184] In a possible implementation manner, when the format of the original contract file is a picture, the key page identification module 803 is specifically configured to perform key page identification on the picture corresponding to the original contract file to obtain a key page picture corresponding to the original contract file.

[0185] In a possible implementation, the file generation module 804 is specifically configured to directly store the key page images corresponding to the original contract file as the key pages corresponding to the original contract file, and obtain the target contract file corresponding to the original contract file based on the corresponding key page images.

[0186] In a possible implementation, when the format of the original contract file is the portable document format PDF, the key page recognition module 803 is specifically configured to perform key page recognition on the original contract file to obtain the types and page numbers of the key pages corresponding to the original contract file.

[0187] In a possible implementation, the file generation module 804 is specifically configured to extract the corresponding key pages from the original contract file based on the page numbers of the key pages corresponding to the original contract file to obtain the key pages corresponding to the original contract file, and merge the extracted corresponding key pages based on the types of the key pages corresponding to the original contract file to obtain the target contract file corresponding to the original contract file.

[0188] In a possible implementation, the device further includes: a key page judgment module and a key page acquisition module.

[0189] The key page judgment module is configured to, when the verification result is over the limit, judge whether there are key pages corresponding to the original contract file based on the identifier of the original contract file.

[0190] The key page acquisition module is configured to, when there are key pages corresponding to the original contract file, acquire the key pages corresponding to the original contract file, and obtain the target contract file corresponding to the original contract file based on the corresponding key pages.

[0191] The key page recognition module 803 is specifically configured to perform key page recognition on the original contract file when there are no key pages corresponding to the original contract file.

[0192] In a possible implementation, the device further includes: a re-verification module configured to perform over-limit verification based on the target contract file in the target material package to obtain the verification result corresponding to the target material package.

[0193] A material package processing device provided by an embodiment of the present application includes modules: a file acquisition module 801 for acquiring original contract files in an original material package; an overlimit verification module 802 for performing overlimit verification based on the original contract files to obtain a verification result corresponding to the original material package; a key page identification module 803 for, when the verification result is overlimit, identifying key pages of the original contract files to obtain a key page identification result corresponding to the original contract files; a file generation module 804 for, when the verification result is overlimit, identifying key pages of the original contract files to obtain a key page identification result corresponding to the original contract files; and a material package generation module 805 for generating a target material package corresponding to the original material package based on target contract files corresponding to the original contract files. In the embodiment of the present application, when it is determined that the verification result corresponding to the original material package is overlimit (the original contract files are overlimit), key page identification, extraction of key pages, regeneration of target contract files, and generation of target material packages are automatically performed, that is, automatic processing of overlimit contract files is realized, so that the target material package is not overlimit, and it is not necessary to return the entire business materials to the customer, and then the customer uploads the business materials to the banking system again, and the banking system audits the re-uploaded business materials again, improving the business processing efficiency of the banking system and reducing the time consumed by the customer in processing business, thereby improving the overall business turnover speed and service quality.

[0194] It should be noted that the embodiments in this specification are all described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the method and device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The method and device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated, and the components described as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative work.

[0195] As mentioned above, this is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A material package processing method, characterized in that: include: Obtain the original contract documents in the original materials package; Based on the original contract document, an over-limit check is performed to obtain a check result corresponding to the original material package; wherein the check result includes: over-limit and not over-limit; When the verification result is out of limit, the key page identification is performed on the original contract document to obtain the key page identification result corresponding to the original contract document: Based on the corresponding key page identification result, the key page corresponding to the original contract document is obtained, and based on the corresponding key page, the target contract document corresponding to the original contract document is obtained; Based on the target contract file corresponding to the original contract file, a target material package corresponding to the original material package is generated.

2. The method according to claim 1, characterized in that The over-limit check is performed based on the original contract document to obtain a check result corresponding to the original material package, including: Based on the memory sum of all the original contract files in the original material package, determine whether the memory sum of all the original contract files exceeds a first memory threshold, and obtain a first determination result; wherein the first determination result includes: the material package exceeds the limit and the material package does not exceed the limit; Based on the memory of each original contract file in the original material package, whether the memory of each original contract file exceeds the second memory threshold is determined respectively, and a second judgment result corresponding to each original contract file is obtained; wherein the second judgment result includes: the file exceeds the limit and the file does not exceed the limit; the first memory threshold is greater than the second memory threshold; Based on the first judgment result and the second judgment results corresponding to the respective original contract documents, a verification result corresponding to the original material package is obtained.

3. The method according to claim 2, characterized in that The obtaining of the verification result corresponding to the original material package based on the first judgment result and the second judgment results corresponding to the respective original contract documents includes: When the first judgment result is that the material package does not exceed the limit, and the second judgment results corresponding to each of the original contract documents are that the file does not exceed the limit, determining that the verification result corresponding to the original material package is not exceeded; When the first judgment result is that the material package exceeds the limit, and / or the second judgment results corresponding to the respective original contract documents are not all that the files do not exceed the limit, it is determined that the verification result corresponding to the original material package is exceeded.

4. The method according to claim 1, characterized in that: When the format of the original contract document is a picture, the key page identification of the original contract document to obtain the key page identification result corresponding to the original contract document includes: Key page identification is performed on the image corresponding to the original contract document to obtain the key page image corresponding to the original contract document.

5. The method according to claim 4, characterized in that The step of obtaining the key page corresponding to the original contract document based on the corresponding key page identification result, and obtaining the target contract document corresponding to the original contract document based on the corresponding key page, includes: Directly store the key page image corresponding to the original contract document as the key page corresponding to the original contract document; Based on the corresponding key page image, the target contract document corresponding to the original contract document is obtained.

6. The method according to claim 1, characterized in that When the format of the original contract file is a portable document PDF format, the key page identification of the original contract file to obtain the key page identification result corresponding to the original contract file includes: The key pages of the original contract document are identified to obtain the type and page number of the key pages corresponding to the original contract document.

7. The method according to claim 6, characterized in that The step of obtaining the key page corresponding to the original contract document based on the corresponding key page identification result, and obtaining the target contract document corresponding to the original contract document based on the corresponding key page, includes: Based on the page number of the key page corresponding to the original contract document, extract the corresponding key page from the original contract document to obtain the key page corresponding to the original contract document; Based on the type of key pages corresponding to the original contract document, the extracted corresponding key pages are merged to obtain the target contract document corresponding to the original contract document.

8. The method according to claim 1, characterized in that Before identifying the key pages of the original contract document to obtain the key page identification result corresponding to the original contract document, the method further includes: When the verification result is exceeded, judging whether there is a key page corresponding to the original contract document based on the identifier of the original contract document; When there is a key page corresponding to the original contract document, obtain the key page corresponding to the original contract document, and based on the corresponding key page, obtain the target contract document corresponding to the original contract document; The step of performing key page identification on the original contract document to obtain a key page identification result corresponding to the original contract document includes: When there is no key page corresponding to the original contract document, the key page of the original contract document is identified.

9. The method according to claim 1, characterized in that: After generating a target material package corresponding to the original material package based on the target contract file corresponding to the original contract file, the method further includes: Based on the target contract file in the target material package, an over-limit check is performed to obtain a test result corresponding to the target material package.

10. A material bag processing device, characterized in that: include: A file acquisition module is used to acquire the original contract documents in the original material package; An over-limit verification module is used to perform an over-limit verification based on the original contract document to obtain a verification result corresponding to the original material package; wherein the verification result includes: over-limit and not over-limit; The key page identification module is used to identify the key pages of the original contract document when the verification result is out of limit, and obtain the key page identification result corresponding to the original contract document: A file generation module, configured to obtain the key pages corresponding to the original contract file based on the corresponding key page identification result, and obtain the target contract file corresponding to the original contract file based on the corresponding key pages; A material package generation module is used to generate a target material package corresponding to the original material package based on the target contract file corresponding to the original contract file.