Business file mark auditing method and device and storage medium

Through the automated mark review method, the mark position and text information are obtained based on the number and rules of the business documents, and compliance verification is carried out, which solves the problems of low efficiency of mark review and missed review in the existing technology, and achieves efficient and accurate audit results.

CN119721989APending Publication Date: 2025-03-28INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411927277.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the prior art, the stamp review efficiency of business documents is low, and it is prone to missed review and missed review, and manual review consumes a lot of time and labor costs.

Method used

By obtaining the number of stamps of the target business documents to be reviewed and matching business rules, if the number of stamps is greater than or equal to the specified number, the location is obtained according to the stamp shape, the text information is extracted and compliance verification is performed, and redundant or abnormal stamps are identified.

Benefits of technology

It improves the efficiency of stamp review, reduces time and labor costs, reduces the phenomenon of wrong review and missed review, improves the accuracy of audit results, and simplifies the document production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119721989A_ABST
    Figure CN119721989A_ABST
Patent Text Reader

Abstract

The invention discloses a business file mark auditing method and device, electronic equipment and a storage medium, and relates to the field of financial science and tech, and the method comprises the steps: obtaining a first mark number of a target business file and a target business rule matched with the target business file in response to the obtained to-be-audited target business file; if it is determined that the first mark number is larger than or equal to the second mark number specified in the target business rule, the position of each mark is obtained according to the shape of each mark in the target business file; and obtaining character information of each mark according to the position of each mark, and performing compliance verification on the character information according to the target business rule. According to the technical scheme provided by the embodiment of the invention, the time cost and the labor cost consumed by stamp auditing are reduced, the stamp auditing efficiency is improved, the phenomena of wrong auditing and missed auditing are avoided, and the accuracy of the auditing result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology, and in particular to a method, device, electronic device and storage medium for reviewing the imprint of a business document. Background Art

[0002] Seal is an essential element of information in business documents and one of the evidences of document validity. The review of seals in business documents is an essential part of processing business documents.

[0003] Financial institutions receive a large number of business documents with seals every day, which may be contract documents or authorization letters, or internal regulations or other certification materials. In the existing technology, the seal review in business documents usually relies on manual review to perform compliance inspection on the seals in business documents.

[0004] However, this audit method not only consumes a lot of time and manpower costs, but also has low audit efficiency. In addition, manual audit methods are prone to errors and omissions, and the errors in the audit results are large. Summary of the invention

[0005] The present invention provides a method, device, electronic equipment and storage medium for checking the seal of a business document, so as to solve the problem of low efficiency in checking the seal of a business document.

[0006] According to one aspect of the present invention, a method for checking the imprint of a business document is provided, comprising:

[0007] In response to obtaining the target business file to be reviewed, obtaining the first imprint quantity of the target business file and the target business rule matching the target business file;

[0008] If it is determined that the number of the first imprints is greater than or equal to the number of the second imprints specified in the target business rule, obtaining the location of each imprint according to the shape of each imprint in the target business file;

[0009] The text information of each imprint is obtained according to the location of each imprint, and the compliance of the text information is checked according to the target business rules.

[0010] The step of obtaining the location of each seal according to the shape of each seal in the target business file includes: obtaining a minimum rectangular area covering the current seal according to the shape of the current seal, and taking the location of the minimum rectangular area as the location of the current seal.

[0011] The obtaining of text information of each imprint according to the location of each imprint includes: obtaining the area of ​​each imprint according to the location of each imprint, and judging whether the area of ​​each imprint is within a preset area range; if it is determined that the area of ​​at least one imprint is outside the preset area range, marking the target business file as having an abnormal imprint size, and returning the target business file to the submitter; if it is determined that the area of ​​all imprints is within the preset area range, obtaining text information of each imprint according to the location of each imprint.

[0012] After the compliance check of the text information is performed according to the target business rules, it also includes: if it is determined that the number of the first imprints is greater than the number of the second imprints specified in the target business rules, the redundant imprints in the target business file are determined according to the compliance check results of the text information of each imprint in the target business file, and the redundant imprints are sent to the submitter of the target business file.

[0013] The method of obtaining the text information of each mark according to the location of each mark includes: determining the text arrangement direction according to the shape of the current mark, and obtaining the text information of the current mark according to the location of the current mark and the text arrangement direction.

[0014] The method of obtaining the first number of imprints of the target business file and the target business rules matching the target business file also includes: determining an imprint area threshold according to the second number of imprints specified in the target business rules and the imprint type of each imprint; obtaining a highlighted area in the target business file according to the imprint area threshold; wherein the highlighted area is an area in which the proportion of highlighted pixels is greater than a preset proportion threshold and the area is greater than the imprint area threshold; the highlighted pixel is a pixel whose pixel value is greater than a preset pixel threshold; and obtaining the first number of imprints of the target business file through the highlighted area.

[0015] According to another aspect of the present invention, there is provided a device for checking imprints of business documents, comprising:

[0016] An imprint quantity acquisition module, configured to, in response to acquiring a target business file to be reviewed, acquire a first imprint quantity of the target business file and a target business rule matching the target business file;

[0017] A mark position acquisition module, used for acquiring the position of each mark according to the shape of each mark in the target business file if it is determined that the first mark quantity is greater than or equal to the second mark quantity specified in the target business rule;

[0018] The text information extraction module is used to obtain the text information of each imprint according to the location of each imprint, and to perform compliance verification on the text information according to the target business rules.

[0019] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0020] at least one processor; and

[0021] a memory communicatively connected to the at least one processor; wherein,

[0022] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the imprint review method for business documents described in any embodiment of the present invention.

[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the imprint review method for business documents described in any embodiment of the present invention when executed.

[0024] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for reviewing the imprint of a business document according to any embodiment of the present invention is implemented.

[0025] The technical solution of the embodiment of the present invention, in response to obtaining the target business file to be reviewed, obtains the first number of imprints of the target business file and the target business rules that match the target business file; if it is determined that the first number of imprints is greater than or equal to the second number of imprints specified in the target business rules, obtains the location of each imprint according to the shape of each imprint in the target business file; obtains the text information of each imprint according to the location of each imprint, and performs compliance verification on the text information according to the target business rules. This not only reduces the time cost and labor cost of imprint review, improves the efficiency of imprint review, but also avoids the occurrence of wrong review and missed review, and improves the accuracy of the review results.

[0026] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0028] Figure 1 is a flow chart of a method for checking imprints of business documents provided according to the first embodiment of the present invention;

[0029] Figure 2 is a flow chart of another method for checking imprints of business documents provided according to the second embodiment of the present invention;

[0030] Figure 3 is a flow chart of another method for checking imprints of business documents provided according to Embodiment 3 of the present invention;

[0031] Figure 4 It is a schematic diagram of the structure of a device for checking imprints of business documents provided according to a fourth embodiment of the present invention;

[0032] Figure 5 The present invention is a schematic diagram of the structure of an electronic device for implementing the method for verifying the imprint of a business document according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] Embodiment 1

[0036] Figure 1 This is a flowchart of a method for checking the imprint of a business document provided in the first embodiment of the present invention. This embodiment can be applied to checking the compliance of the number of imprints and imprint text information in a business document. This method can be executed by the imprint checking device for a business document in any embodiment of the present invention. The imprint checking device for a business document can be implemented in the form of hardware and / or software. The imprint checking device for a business document can be configured in a business system, and the business system can be configured in one or more servers. Figure 1 As shown, the method includes:

[0037] S101 . In response to obtaining a target business file to be reviewed, obtaining the number of first impressions of the target business file and a target business rule matching the target business file.

[0038] The business document to be reviewed can be submitted in the form of a paper document or an electronic document. If it is a paper document, it will be scanned by a business person or a business system to obtain a scanned electronic document. The business system identifies the number of imprints in the business document through image recognition technology (for example, an image recognition model) for the electronic document, or calls an OCR (Optical Character Recognition) detection interface to identify the number of imprints in the business document through an OCR detection system. The imprint refers to the mark left by a seal after it is stamped on a document.

[0039] When a business file is uploaded to the business system, the business personnel can select the business type, and the business system obtains the corresponding business rules based on the business type; the business system can also determine the file type based on the file content of the business file (for example, the file title or the file body) through a text classification model, and then determine the matching business rules based on the file type; among them, the business rules record the number of seals that need to be stamped if the current type of file is to meet the business requirements, as well as the seal type of each seal (for example, an institutional seal or a personal seal) or specific seal information (for example, the seal of institution A or the seal of individual B).

[0040] S102: If it is determined that the number of the first imprints is greater than or equal to the number of the second imprints specified in the target business rule, obtain the location of each imprint according to the shape of each imprint in the target business file.

[0041] If it is determined that the number of imprints of the target business file (i.e., the first number of imprints) is greater than or equal to the number of imprints specified in the target business rules (i.e., the second number of imprints), it means that the business file does not have any missing imprints in terms of the number of imprints; thus, the edge point coordinates or center point coordinates of each imprint are obtained through image recognition technology or by calling the above-mentioned OCR detection interface, so as to determine the location of each imprint based on the above-mentioned coordinate information; wherein, the location of the imprint refers to the relative position of the imprint in the current file page, for example, relative to the upper left vertex or lower left vertex of the page.

[0042] In particular, the coordinate information that needs to be extracted for marks of different shapes is also different. For example, if the shape of the mark is a square or a rectangle, the coordinates of the four vertices of the mark are used as the location of the mark; if the shape of the mark is a circle, the center coordinates and radius length of the mark are obtained, and the location of the mark can be determined based on the center coordinates and radius length; if the shape of the mark is an ellipse, the focal center coordinates, minor axis radius and major axis radius of the mark are obtained, and the location of the mark can be determined based on the focal center coordinates, minor axis radius and major axis radius.

[0043] Optionally, in the embodiment of the present invention, the obtaining of the location of each imprint according to the shape of each imprint in the target business file includes: obtaining the minimum rectangular area covering the current imprint according to the shape of the current imprint, and taking the location of the minimum rectangular area as the location of the current imprint. Specifically, due to the diversity of imprint shapes, there may be imprints of irregular shapes, and the imprint itself may be incomplete, so a limited number of regular shapes such as squares, rectangles, circles and ellipses may not cover the shapes of all imprints.

[0044] The above-mentioned incomplete imprint may be caused by a defective seal or by the fact that the seal was not completely stamped when stamping. At this time, a rectangle with the smallest area that completely covers the imprint area can be drawn according to the current shape of the imprint, and the smallest rectangular area is used as the location of the current imprint. Therefore, by extracting the coordinates of the four vertices of the smallest rectangular area, the location of the imprint can be obtained, ensuring the accurate positioning of the imprint in irregular shaped imprints and incomplete imprints, improving the efficiency of imprint positioning, and expanding the types of imprints that can be positioned.

[0045] Optionally, in an embodiment of the present invention, after comparing the first number of imprints with the second number of imprints specified in the target business rules, it also includes: if it is determined that the first number of imprints is less than the second number of imprints, marking the target business file as missing imprints, and returning the target business file to the submitter. Specifically, if it is determined that the number of imprints on the target business file is less than the number of imprints specified in the target business rules, it means that at least one necessary stamping information is missing in the target business file, and it does not meet the business processing requirements. Based on this, the target business file is marked as missing imprints, and the target business file is returned to the submitter, thereby achieving rapid detection of abnormal business files, improving the review efficiency of business files, and marking the problems of business files that have not passed the review, thereby improving the convenience of the submitter to modify the file.

[0046] Optionally, in an embodiment of the present invention, obtaining text information of each imprint according to the location of each imprint includes: obtaining the area of ​​each imprint according to the location of each imprint, and judging whether the area of ​​each imprint is within a preset area range; if it is determined that the area of ​​at least one imprint is outside the preset area range, marking the target business file as having an abnormal imprint size, and returning the target business file to the submitting party; if it is determined that the area of ​​all imprints is within the preset area range, obtaining text information of each imprint according to the location of each imprint.

[0047] Specifically, each type of seal (for example, institutional seals and personal seals) has a standard size. Seals that exceed the standard size range or are too large or too small are considered special-shaped seals and do not meet business processing requirements. Therefore, after obtaining the location of each seal through the above technical solution, the area of ​​each seal is calculated. If the area of ​​at least one seal is outside the preset area range, the target business document is marked as having an abnormal seal size and returned to the submitting party. If the area of ​​all seals is within the preset area range, it means that the seal size is compliant. Therefore, the text information of each seal is continued to be obtained according to the location of each seal, thereby ensuring the size compliance of the seals stamped in the business documents and improving the accuracy of the business document review results.

[0048] S103: Acquire text information of each imprint according to the location of each imprint, and perform compliance check on the text information according to the target business rule.

[0049] After the location of the seal is determined, the text information of each seal is identified by OCR technology, or the text information of each seal is obtained by the OCR recognition system by calling the OCR recognition interface; wherein, OCR technology is a process of determining the shape of characters by detecting dark and light modes, and then translating the character shapes into computer text by character recognition methods; as described in the above technical solution, if the business rules record the text information of each seal affixed to the current type of file, the seal text information obtained by identification is compared with the above text information to determine whether the text information of each seal complies with the provisions of the business rules.

[0050] If the business rules only record the number of seals required for this type of document and the type of seal for each seal (for example, three institutional seals are required), and do not specify specific text information, the extracted seal text information will be compared with the institution name or individual name in the business document in turn. If each seal text information can find a matching institution name or individual name in the business document, it means that the seal text information has passed the compliance check, thereby achieving compliance verification of the seal text information in the business document, improving the review efficiency of the business document, and improving the accuracy of the review results.

[0051] Optionally, in an embodiment of the present invention, after the compliance check of the text information is performed according to the target business rules, it also includes: if it is determined that the number of the first imprints is greater than the number of the second imprints specified in the target business rules, the redundant imprints in the target business file are determined according to the compliance check results of the text information of each imprint in the target business file, and the redundant imprints are sent to the submitter of the target business file.

[0052] Specifically, if the number of seals in the target business file is greater than the number of seals specified in the target business rules, it means that there are redundant seals in the target business file. According to the compliance verification results of the text information of each seal, the seal containing the unmatched text information is determined as a redundant seal, and then the redundant seal is sent to the submitter of the target business file. This not only realizes redundant seal detection and improves the standardization of business files, but also simplifies the file production process of the submitter.

[0053] Optionally, in an embodiment of the present invention, the obtaining of text information of each imprint according to the location of each imprint includes: determining the text arrangement direction according to the shape of the current imprint, and obtaining the text information of the current imprint according to the location of the current imprint and the text arrangement direction. Specifically, the text directions of imprints of different shapes are different. For example, the text of circular or elliptical imprints is arranged in a circular direction, and the text of square or rectangular imprints is arranged horizontally or vertically. Based on this, the information of each character is obtained in turn according to the location of the current imprint and the text arrangement direction, thereby improving the recognition efficiency of the text information in the imprint and avoiding the deviation of the compliance verification result caused by the recognition of disordered characters.

[0054] In particular, the business rules can also record the shape information of each seal required for the current business type, thereby realizing the quantity management of seals of different shapes. When it is determined that the number of first seals is greater than the number of second seals, the shape of redundant seals can be directly determined according to the number of seals of various shapes, further simplifying the process of obtaining redundant seals and improving the efficiency of obtaining redundant seals.

[0055] The technical solution of the embodiment of the present invention, in response to obtaining the target business file to be reviewed, obtains the first number of imprints of the target business file and the target business rules that match the target business file; if it is determined that the first number of imprints is greater than or equal to the second number of imprints specified in the target business rules, obtains the location of each imprint according to the shape of each imprint in the target business file; obtains the text information of each imprint according to the location of each imprint, and performs compliance verification on the text information according to the target business rules. This not only reduces the time cost and labor cost of imprint review, improves the efficiency of imprint review, but also avoids the occurrence of wrong review and missed review, and improves the accuracy of the review results.

[0056] Embodiment 2

[0057] Figure 2 This is a flow chart of a method for checking the imprint of a business document provided in the second embodiment of the present invention. The relationship between this embodiment and the above embodiment is that the imprint is searched in the highlighted area of ​​the business document. Figure 2 As shown, the method includes:

[0058] S201. In response to obtaining a target business file to be reviewed, obtaining a target business rule matching the target business file, and determining an imprint area threshold according to the number of second imprints and the imprint type of each imprint specified in the target business rule.

[0059] Taking the above technical solution as an example, assuming that the business rules stipulate that the current type of business document needs to include three institutional seals, and the seal size of each institution is usually 40 mm × 40 mm, the area of ​​each institutional seal is set to 16 square centimeters, then the total area of ​​the three institutional seals is 48 square centimeters, and then the imprint area threshold is calculated based on the above total area. For example, when 1.5 times the total imprint area is used as the imprint area threshold, the imprint area threshold is 72 square centimeters.

[0060] S202. According to the imprint area threshold, obtain a highlight area in the target business file; wherein the highlight area is an area in which the proportion of highlight pixels is greater than a preset ratio threshold and the area is greater than the imprint area threshold; the highlight pixel is a pixel whose pixel value is greater than the preset pixel threshold.

[0061] In business documents, stamps usually appear at the end or beginning of the document, and in order to ensure that the stamped text is clearly visible, the location where the stamp is affixed is usually a blank area, or a blank area containing only a few texts. Since the pixel value of the blank point is relatively high (for example, the pixel value is 255), that is, the highlighted pixel is greater than the preset pixel threshold, the highlighted area is actually an area with a relatively high proportion of highlighted pixels, that is, an area greater than the preset ratio threshold, which reflects that the highlighted area contains a larger area of ​​blank area.

[0062] At the same time, seals usually need to be stamped continuously at adjacent positions in business documents, so the highlighted area needs to have a larger area to carry each seal, that is, the area of ​​the highlighted area needs to be larger than the seal area threshold obtained by the above calculation. Based on this, the highlighted area in the business file is obtained through the two screening conditions of highlighted pixel ratio and area, and the seal is preliminarily located at this time.

[0063] S203: Acquire the first impression quantity of the target business file through the highlighted area.

[0064] Afterwards, in the initially located highlighted area, each imprint is further detected and obtained to achieve the acquisition of the first number of imprints of the target business file.

[0065] S204: If it is determined that the number of the first imprints is greater than or equal to the number of the second imprints specified in the target business rule, obtain the location of each imprint according to the shape of each imprint in the target business file.

[0066] S205: Acquire text information of each imprint according to the location of each imprint, and perform compliance check on the text information according to the target business rule.

[0067] The technical solution of the embodiment of the present invention determines the approximate area where the imprint is located by locating the highlighted area where the imprint is located, and then continues to detect the number of imprints in the highlighted area. Compared with directly searching for the imprint position in the entire page, the efficiency of locating the imprint is improved, thereby improving the efficiency of imprint review of business documents.

[0068] Embodiment 3

[0069] Figure 3 This is a flowchart of a method for checking the imprint of a business document provided in the third embodiment of the present invention. The relationship between this embodiment and the above embodiments is that the imprint is checked on the business document by detecting the number of imprints, the shape of imprints and the text information of imprints. Figure 3 As shown, the method includes:

[0070] S301, obtain the target business file to be reviewed; execute S302.

[0071] S302, obtaining a target business rule that matches the target business file; and executing S303.

[0072] S303, obtaining the first imprint quantity of the target business file; executing S304.

[0073] S304, determine whether the number of first imprints is greater than or equal to the number of second imprints specified in the target business rule; if not, execute S305; if so, execute S306.

[0074] S305: Mark the target business file as missing imprint, and return the target business file to the submitting party.

[0075] S306. Obtain the location of each mark according to the shape of each mark in the target business file; and execute S307.

[0076] S307, obtaining text information of each imprint according to the location of each imprint; and executing S308.

[0077] S308. Perform compliance check on the text information according to the target business rules; if it fails, execute S309; ​​if it passes, execute S310.

[0078] S309: Return the target business file to the submitting party.

[0079] S310, determine whether the number of first imprints is greater than the number of second imprints specified in the target business rule; if so, execute S311; if not, execute S313.

[0080] S311. Determine the redundant imprints in the target business file according to the compliance check result of the text information of each imprint in the target business file; and execute S312.

[0081] S312, sending the redundant imprint to the submitter of the target business document; executing S313.

[0082] In particular, if the business document does not lack necessary stamps, and the text information in the stamps has passed the compliance check, even if there are redundant stamps in the business document, there is a problem of non-standardization of the document, but in fact the necessary information of the business document is complete. At this time, the business document can also be deemed valid. When the business document is reviewed and approved, the redundant stamps will be sent to the party submitting the business document to remind the submitter to pay attention to the standardization of the business document.

[0083] S313. Determine whether the target business document has passed the review.

[0084] The technical solution of the embodiment of the present invention performs seal audit on business documents by detecting the number of seals, seal shapes and seal text information of business documents, which not only reduces the time and manpower costs of seal audit and improves the efficiency of seal audit, but also avoids the occurrence of wrong audit and missed audit, and improves the accuracy of the audit results; and the redundant seal detection of business documents improves the standardization of business documents and simplifies the document preparation process of the submitter.

[0085] Embodiment 4

[0086] Figure 4 : is a structural block diagram of a seal review device for business documents provided by a fourth embodiment of the present invention, the device specifically comprises:

[0087] The imprint quantity acquisition module 401 is used to acquire the first imprint quantity of the target business file and the target business rule matching the target business file in response to acquiring the target business file to be reviewed;

[0088] The imprint position acquisition module 402 is used to acquire the position of each imprint according to the shape of each imprint in the target business file if it is determined that the first imprint quantity is greater than or equal to the second imprint quantity specified in the target business rule;

[0089] The text information extraction module 403 is used to obtain the text information of each imprint according to the location of each imprint, and perform compliance verification on the text information according to the target business rules.

[0090] The technical solution of the embodiment of the present invention, in response to obtaining the target business file to be reviewed, obtains the first number of imprints of the target business file and the target business rules that match the target business file; if it is determined that the first number of imprints is greater than or equal to the second number of imprints specified in the target business rules, obtains the location of each imprint according to the shape of each imprint in the target business file; obtains the text information of each imprint according to the location of each imprint, and performs compliance verification on the text information according to the target business rules. This not only reduces the time cost and labor cost of imprint review, improves the efficiency of imprint review, but also avoids the occurrence of wrong review and missed review, and improves the accuracy of the review results.

[0091] Optionally, the mark position acquisition module 402 is specifically configured to acquire a minimum rectangular area covering the current mark according to the shape of the current mark, and use the position of the minimum rectangular area as the position of the current mark.

[0092] Optionally, the text information extraction module 403 is specifically used to obtain the area of ​​each imprint according to the location of each imprint, and determine whether the area of ​​each imprint is within a preset area range; if it is determined that the area of ​​at least one imprint is outside the preset area range, the target business file is marked as having an abnormal imprint size, and the target business file is returned to the submitting party; if it is determined that the area of ​​all imprints is within the preset area range, the text information of each imprint is obtained according to the location of each imprint.

[0093] Optionally, the imprint review device for business documents is also used to determine the redundant imprints in the target business document based on the compliance verification results of the text information of each imprint in the target business document if it is determined that the first imprint quantity is greater than the second imprint quantity specified in the target business rules, and send the redundant imprints to the submitter of the target business document.

[0094] Optionally, the text information extraction module 403 is specifically used to determine the text arrangement direction according to the shape of the current imprint, and obtain the text information of the current imprint according to the location of the current imprint and the text arrangement direction.

[0095] Optionally, the imprint quantity acquisition module 401 is specifically used to determine the imprint area threshold according to the second imprint quantity specified in the target business rule and the imprint type of each imprint; according to the imprint area threshold, obtain the highlighted area in the target business file; wherein the highlighted area is an area in which the proportion of highlighted pixels is greater than a preset proportion threshold and the area is greater than the imprint area threshold; the highlighted pixel is a pixel with a pixel value greater than a preset pixel threshold; and the first imprint quantity of the target business file is obtained through the highlighted area.

[0096] The above device can execute the seal audit method for business documents provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the seal audit method for business documents provided by any embodiment of the present invention.

[0097] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0098] Embodiment 5

[0099] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, electronic devices, blade electronic devices, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0100] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0101] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0102] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the imprint review method of the business document.

[0103] In some embodiments, the imprint audit method for business documents can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit. In some embodiments, part or all of the computer program can be loaded and / or installed on a heterogeneous hardware accelerator via a ROM and / or a communication unit. When the computer program is loaded into RAM and executed by a processor, one or more steps of the imprint audit method for business documents described above can be executed. Alternatively, in other embodiments, the processor can be configured to execute the imprint audit method for business documents by any other appropriate means (e.g., by means of firmware).

[0104] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0105] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or electronic device.

[0106] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0107] To provide interaction with a user, the systems and techniques described herein may be implemented on a heterogeneous hardware accelerator having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) through which a user can provide input to the heterogeneous hardware accelerator. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0108] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data electronic device), or a computing system that includes middleware components (e.g., an application electronic device), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0109] The computing system may include a client and an electronic device. The client and the electronic device are generally remote from each other and usually interact through a communication network. The relationship between the client and the electronic device is generated by computer programs running on corresponding computers and having a client-electronic device relationship with each other. The electronic device may be a cloud electronic device, also known as a cloud computing electronic device or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0110] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0111] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for checking the imprint of a business document, characterized in that: include: In response to obtaining the target business file to be reviewed, obtaining the first imprint quantity of the target business file and the target business rule matching the target business file; If it is determined that the number of the first imprints is greater than or equal to the number of the second imprints specified in the target business rule, obtaining the location of each imprint according to the shape of each imprint in the target business file; The text information of each imprint is obtained according to the location of each imprint, and the compliance of the text information is checked according to the target business rules.

2. The method according to claim 1, characterized in that The step of obtaining the location of each mark according to the shape of each mark in the target business file includes: The minimum rectangular area covering the current mark is obtained according to the shape of the current mark, and the position of the minimum rectangular area is used as the position of the current mark.

3. The method according to claim 1, characterized in that The step of obtaining text information of each mark according to the location of each mark includes: Obtaining the area of ​​each mark according to the location of each mark, and determining whether the area of ​​each mark is within a preset area range; If it is determined that the area of ​​at least one imprint is outside the preset area range, the target business file is marked as having an abnormal imprint size, and the target business file is returned to the submitter; If it is determined that the area of ​​all the marks is within the preset area range, the text information of each mark is obtained according to the location of each mark.

4. The method according to claim 1, characterized in that After the text information is checked for compliance according to the target business rule, the method further includes: If it is determined that the number of the first imprints is greater than the number of the second imprints specified in the target business rules, the redundant imprints in the target business file are determined based on the compliance verification results of the text information of each imprint in the target business file, and the redundant imprints are sent to the submitter of the target business file.

5. The method according to claim 1, characterized in that The step of obtaining text information of each mark according to the location of each mark includes: The text arrangement direction is determined according to the shape of the current stamp, and the text information of the current stamp is obtained according to the location of the current stamp and the text arrangement direction.

6. The method according to claim 1, characterized in that The step of obtaining the first imprint quantity of the target business file and the target business rule matching the target business file further includes: Determining a threshold value of an imprint area according to the number of second imprints specified in the target business rule and the imprint type of each imprint; According to the imprint area threshold, a highlight area in the target business file is obtained; wherein the highlight area is an area where the ratio of highlight pixels is greater than a preset ratio threshold and the area is greater than the imprint area threshold; the highlight pixel is a pixel whose pixel value is greater than the preset pixel threshold; The first imprint quantity of the target business file is obtained through the highlighted area.

7. A device for checking the imprint of a business document, characterized in that: include: An imprint quantity acquisition module, configured to, in response to acquiring a target business file to be reviewed, acquire a first imprint quantity of the target business file and a target business rule matching the target business file; A mark position acquisition module, used for acquiring the position of each mark according to the shape of each mark in the target business file if it is determined that the first mark quantity is greater than or equal to the second mark quantity specified in the target business rule; The text information extraction module is used to obtain the text information of each imprint according to the location of each imprint, and to perform compliance verification on the text information according to the target business rules.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the imprint review method for business documents according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the imprint review method for business documents according to any one of claims 1 to 6 when executed.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for reviewing the imprint of a business document according to any one of claims 1 to 6 is implemented.