CN113177551A - Report processing method and device - Google Patents

Report processing method and device Download PDF

Info

Publication number
CN113177551A
CN113177551A CN202110557073.0A CN202110557073A CN113177551A CN 113177551 A CN113177551 A CN 113177551A CN 202110557073 A CN202110557073 A CN 202110557073A CN 113177551 A CN113177551 A CN 113177551A
Authority
CN
China
Prior art keywords
report
rule
verification
recognition
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110557073.0A
Other languages
Chinese (zh)
Inventor
邓洁
董寅
颜开华
汪洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110557073.0A priority Critical patent/CN113177551A/en
Publication of CN113177551A publication Critical patent/CN113177551A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/413Classification of content, e.g. text, photographs or tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Finance (AREA)
  • Artificial Intelligence (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Character Discrimination (AREA)

Abstract

The embodiment of the application provides a report processing method and a report processing device, which can also be used in the financial field, wherein the method comprises the following steps: receiving a report image uploaded by a user and carrying out optical character recognition to obtain a corresponding initial report recognition result and a corresponding recognition confidence coefficient; carrying out rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and carrying out information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold; the method and the device can automatically perform image recognition and information calibration operations on the report image, and improve the accuracy and efficiency of report electronic processing.

Description

Report processing method and device
Technical Field
The application relates to the field of image recognition and can also be used in the field of finance, in particular to a report processing method and device.
Background
The financial statement plays a crucial role in legal loan business, and the financial health and the credit quality of legal customers can be known through financial statement analysis.
The inventor finds that in the legal loan transaction process in the prior art, a legal client provides a paper financial statement, and a credit clerk manually enters a credit system and then reviews the statement. The manual input mode has large workload, high cost and relatively time consumption, and affects the loan approval efficiency.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a report processing method and a report processing device, which can automatically perform image recognition and information calibration operation on a report image and improve the accuracy and efficiency of report electronic processing.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a report processing method, including:
receiving a report image uploaded by a user and carrying out optical character recognition to obtain a corresponding initial report recognition result and a corresponding recognition confidence coefficient;
and carrying out rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and carrying out information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold value.
Further, the performing rule verification on the initial report recognition result according to the verification rule preset by the user includes:
acquiring a corresponding rule text in a check rule preset by the user according to the report type in the initial report identification result;
and carrying out comparison operation on all report parameters in the initial report result according to the comparison operator and the check reference value in the rule text to obtain a rule check result.
Further, the receiving a report image uploaded by a user and performing optical character recognition includes:
receiving a report image uploaded by a user, storing the report image in a local database and generating a corresponding unique electronic image code;
and receiving a report verification instruction of a user and carrying out optical character recognition on a corresponding report image in a local database according to the electronic image unique code in the report verification instruction.
Further, the performing information correction operation on the verification rule according to the result of the rule verification and the numerical comparison relationship between the recognition confidence and a preset confidence threshold includes:
redefining report parameters which are not passed by the rule verification result in the verification rule and have the recognition confidence coefficient smaller than a preset confidence coefficient threshold value according to a preset rule correction formula to obtain an updated verification rule.
In a second aspect, the present application provides a report processing apparatus, including:
the report recognition module is used for receiving the report image uploaded by the user and carrying out optical character recognition to obtain a corresponding initial report recognition result and a recognition confidence coefficient;
and the verification correction module is used for performing rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and performing information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold value.
Further, the check correction module comprises:
a rule text determining unit, configured to obtain, according to a report type in the initial report recognition result, a rule text corresponding to the check rule preset by the user;
and the report parameter comparison unit is used for performing comparison operation on each report parameter in the initial report result according to the comparison operator and the check reference value in the rule text to obtain a rule check result.
Further, the report recognition module comprises:
the code generating unit is used for receiving the report image uploaded by the user, storing the report image in a local database and generating a corresponding unique electronic image code;
and the identification triggering unit is used for receiving a report verification instruction of a user and carrying out optical character identification on a corresponding report image in a local database according to the electronic image unique code in the report verification instruction.
Further, the check correction module comprises:
and the rule correction unit is used for redefining the report parameters which are not passed by the rule verification result in the verification rule and have the identification confidence coefficient smaller than the preset confidence coefficient threshold according to a preset rule correction formula to obtain the updated verification rule.
In a third aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the report processing method when executing the program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, performs the steps of the report processing method.
According to the technical scheme, the report processing method and the report processing device are characterized in that an optical character recognition technology is introduced, identification and information acquisition of report information are rapidly completed, meanwhile, a check rule preset by a user is introduced, the check rule is flexibly customized, the scanning result of optical character recognition is dynamically checked and updated according to the check rule, the accuracy of the report electronic scanning result is improved, therefore, image recognition and information calibration operation can be automatically carried out on a report image, and the accuracy and the efficiency of report electronic processing are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a report processing method according to an embodiment of the present application;
FIG. 2 is a second flowchart illustrating a report processing method according to an embodiment of the present application;
FIG. 3 is a third schematic flowchart of a report processing method according to an embodiment of the present application;
FIG. 4 is a diagram illustrating a structure of a report processing apparatus according to an embodiment of the present application;
FIG. 5 is a second block diagram of a report processing apparatus according to an embodiment of the present application;
FIG. 6 is a third block diagram of a report processing apparatus according to an embodiment of the present application;
FIG. 7 is a fourth block diagram of a report processing apparatus according to an embodiment of the present application;
FIG. 8 is a schematic overall flowchart of a report processing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the legal loan transaction process in the prior art, a legal client provides a paper financial statement, and a credit clerk manually enters a credit system and then checks the statement. The report processing method and the report processing device have the advantages that the report information identification and information acquisition can be rapidly completed by introducing the optical character identification technology, meanwhile, the check rule preset by a user is introduced, the check rule can be flexibly customized, the scanning result of the optical character identification is dynamically checked and updated according to the check rule, the accuracy of the report electronic scanning result is improved, the image identification and information calibration operation can be automatically carried out on the report image, and the accuracy and efficiency of the report electronic processing are improved.
In order to automatically perform image recognition and information calibration operations on a report image and improve accuracy and efficiency of report electronic processing, the application provides an embodiment of a report processing method, and referring to fig. 1, the report processing method specifically includes the following contents:
step S101: and receiving the report form image uploaded by the user and carrying out optical character recognition to obtain a corresponding initial report form recognition result and a recognition confidence coefficient.
Optionally, a user (e.g., credit service personnel) of the application may actively acquire a report image, for example, photograph a financial report through a mobile terminal, call an image entry service by the mobile terminal APP, store a picture in a file system of the application server, and generate an electronic image unique code for obtaining and using a subsequent picture.
Optionally, after receiving the report image uploaded by the user, the application server may perform optical character recognition by using the existing OCR technology to obtain a corresponding initial report recognition result and a recognition confidence, where the initial report recognition result is an electronic report obtained by performing optical character recognition on the report image by using the existing OCR technology, and corresponds to the recognition confidence, that is, a determination value of the confidence level of the OCR itself in the optical character recognition.
Step S102: and carrying out rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and carrying out information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold value.
Optionally, in the application, after the user inputs at least one of the unique electronic image code, the type of the report, and the type of the applicable client through the browser, the automatic report recognition and calibration is triggered, the initial report recognition result is subjected to rule verification according to the verification rule preset by the user, and the system sequentially calls the image pre-recognition service and executes the recognition result calibration service.
Optionally, the check rule preset by the user may be edited and maintained by the user in a self-defined manner, or may be obtained from a third party, where the check rule includes but is not limited to:
1. rule attributes
The report types are as follows: the rules apply to which types of financial statements, such as balance sheets, profit sheets, cash flow sheets, etc.
The applicable client types are as follows: the rules apply to which type of customer, such as general business, commercial bank, insurance company, etc.
Whether the error is allowed: is that; and no.
Error range: if the error is allowed, an error range, such as (0, 5), is set.
Whether the default verification is: is that; and no.
2. Rule content
And (4) inputting rule contents by selecting rule elements and combining operation symbols. The rule elements are determined by the types of the reports selected from the rule attributes, that is, different financial reports relate to different rule elements, and the rule elements related to different financial reports are exemplified as follows:
balance sheet: aggregate assets, aggregate mobile assets, aggregate non-mobile assets, aggregate liabilities, aggregate mobile liabilities, aggregate non-mobile liabilities, etc.
Profit tables: revenue, total profit, income tax, net profit, etc.
Cash flow meter: business cash-in subtotals, business cash-out subtotals, and the like.
The operation sign comprises: addition, subtraction, multiplication, division, greater than (equal to or greater than), less than (equal to or less than), equal to, not equal to.
And after the credit service personnel finishes maintenance, clicking to create, calling a dynamic rule generating service of a rule engine by the system, and storing the rule text into a database check formula definition table.
Optionally, when performing rule checking, the following specific steps may be performed:
1) and acquiring the name of a database table, such as a balance sheet, according to the report type.
2) Inquiring a corresponding table in a database, and acquiring financial statement pre-identification data, such as netProfit (net profit): 100, totalProfit (total profit): 100, incomeTax (income tax): 300.
3) inquiring a check formula definition table according to the report type and the applicable client type to obtain a rule text, wherein the rule text comprises the following steps: netProfit-incomeTax.
4) Replacing the rule elements in the rule text with financial statement pre-identification data, if: 100 ═ 100-.
5) And inputting the replaced rule text into a rule engine to obtain a verification conclusion (verification passing and verification failing), wherein the verification conclusion is verification failure in this case.
Specifically, the rule text is divided into an operator left expression and an operator right expression by comparing operators (for <, >, and >), the calculation problem of the two expressions is the analysis character string expression and the calculation problem, and the method can be realized by calling the eval method of java script through the script engine class of java. Finally, expression results a1 and a2 are obtained. Comparing a1 and a2 to obtain a rule checking result and feeding back the rule checking result to the user.
Meanwhile, according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and the preset confidence coefficient threshold value, the information correction operation can be carried out on the verification rule, and the user-defined verification rule can be corrected in time, so that the report verification accuracy is improved.
From the above description, the report processing method provided in the embodiment of the present application can rapidly complete the identification and information acquisition of the report information by introducing the optical character recognition technology, and at the same time, introduce the check rule preset by the user, flexibly obtain the customized check rule, dynamically check and update the scanning result of the optical character recognition according to the check rule, and improve the accuracy of the report electronic scanning result, thereby automatically performing image recognition and information calibration operations on the report image, and improving the accuracy and efficiency of the report electronic processing.
In order to accurately perform rule verification on the electronic initial report recognition result, in an embodiment of the report processing method of the present application, referring to fig. 2, the step S102 may further include the following steps:
step S201: and acquiring a corresponding rule text in the verification rule preset by the user according to the report type in the initial report identification result.
Step S202: and carrying out comparison operation on all report parameters in the initial report result according to the comparison operator and the check reference value in the rule text to obtain a rule check result.
Optionally, when performing rule checking, the following specific steps may be performed:
1) and acquiring the name of a database table, such as a balance sheet, according to the report type.
2) Inquiring a corresponding table in a database, and acquiring financial statement pre-identification data, such as netProfit (net profit): 100, totalProfit (total profit): 100, incomeTax (income tax): 300.
3) inquiring a check formula definition table according to the report type and the applicable client type to obtain a rule text, wherein the rule text comprises the following steps: netProfit-incomeTax.
4) Replacing the rule elements in the rule text with financial statement pre-identification data, if: 100 ═ 100-.
5) And inputting the replaced rule text into a rule engine to obtain a verification conclusion (verification passing and verification failing), wherein the verification conclusion is verification failure in this case.
Specifically, the rule text is divided into an operator left expression and an operator right expression by comparing operators (for <, >, and >), the calculation problem of the two expressions is the analysis character string expression and the calculation problem, and the method can be realized by calling the eval method of java script through the script engine class of java. Finally, expression results a1 and a2 are obtained. Comparing a1 and a2 to obtain a rule checking result and feeding back the rule checking result to the user.
In order to flexibly trigger the timing of rule verification, in an embodiment of the report processing method of the present application, referring to fig. 3, the step S101 may further include the following steps:
step S301: and receiving the report form image uploaded by the user, storing the report form image in a local database, and generating a corresponding unique electronic image code.
Optionally, the user of the application can take a picture of the financial statement through the mobile terminal, the mobile terminal APP calls the image input service, the picture is stored in the file system, and the only code of the electronic image is generated at the same time for obtaining and using the subsequent picture.
Step S302: and receiving a report verification instruction of a user and carrying out optical character recognition on a corresponding report image in a local database according to the electronic image unique code in the report verification instruction.
Optionally, a user of the application can input the unique code of the electronic image, the type of the report and the type of the applicable client through a browser, and click a button to trigger automatic identification and calibration of the report, and the system sequentially calls an image pre-identification service and an identification result calibration service.
In order to correct the user-defined check rule in time and thus improve the report check accuracy, in an embodiment of the report processing method of the present application, the step S102 may further include the following steps:
redefining report parameters which are not passed by the rule verification result in the verification rule and have the recognition confidence coefficient smaller than a preset confidence coefficient threshold value according to a preset rule correction formula to obtain an updated verification rule.
In order to automatically perform image recognition and information calibration operations on a report image and improve accuracy and efficiency of report electronic processing, the present application provides an embodiment of a report processing apparatus for implementing all or part of the contents of the report processing method, and with reference to fig. 4, the report processing apparatus specifically includes the following contents:
and the report recognition module 10 is configured to receive a report image uploaded by a user and perform optical character recognition to obtain a corresponding initial report recognition result and a corresponding recognition confidence level.
And the verification correction module 20 is configured to perform rule verification on the initial report recognition result according to a verification rule preset by the user, return the rule verification result to the user, and perform information correction operation on the verification rule according to a numerical comparison relationship between the rule verification result and the recognition confidence level and a preset confidence level threshold.
It can be known from the above description that the report processing device provided in the embodiment of the present application can rapidly complete the identification and information acquisition of the report information by introducing the optical character recognition technology, and at the same time, introduce the check rule preset by the user, flexibly obtain the customized check rule, dynamically check and update the scanning result of the optical character recognition according to the check rule, and improve the accuracy of the report electronic scanning result, thereby automatically performing image recognition and information calibration operations on the report image, and improving the accuracy and efficiency of the report electronic processing.
In order to accurately perform rule verification on the electronic initial report recognition result, in an embodiment of the report processing apparatus of the present application, referring to fig. 5, the verification correction module 20 includes:
and a rule text determining unit 21, configured to obtain, according to the report type in the initial report recognition result, a rule text corresponding to the check rule preset by the user.
And the report parameter comparison unit 22 is configured to perform comparison operation on each report parameter in the initial report result according to the comparison operator and the check reference value in the rule text, so as to obtain a rule check result.
In order to flexibly trigger the timing of rule verification, in an embodiment of the report processing apparatus of the present application, referring to fig. 6, the report identifying module 10 includes:
and the code generating unit 11 is used for receiving the report image uploaded by the user, storing the report image in a local database and generating a corresponding unique electronic image code.
And the identification triggering unit 12 is used for receiving a report verification instruction of a user and carrying out optical character identification on a corresponding report image in a local database according to the electronic image unique code in the report verification instruction.
In order to correct the user-defined check rule in time and thus improve the report check accuracy, in an embodiment of the report processing apparatus of the present application, referring to fig. 7, the check correction module 20 includes:
and the rule correcting unit 23 is configured to redefine, according to a preset rule correcting formula, report parameters in the check rule that the result of the rule check does not pass and the recognition confidence is smaller than a preset confidence threshold, so as to obtain an updated check rule.
To further illustrate the present solution, the present application further provides a specific application example of implementing a report processing method by using the report processing apparatus, and with reference to fig. 8, the specific application example specifically includes the following contents:
the method comprises the following steps: and maintaining the financial statement check rule, namely maintaining the financial statement check rule by the credit clerk through the browser.
Step two: the method comprises the steps of shooting a paper financial statement and uploading the picture, namely, a credit business worker shoots the financial statement through a mobile terminal, calling an image input service by the mobile terminal APP, storing the picture in a file system, and simultaneously generating an electronic image unique code for obtaining and using a subsequent picture.
Step three: triggering automatic identification and calibration of the report, namely, credit business personnel inputs the unique code of the electronic image, the type of the report and the type of the applicable client through a browser, clicking a button to trigger automatic identification and calibration of the report, and calling image pre-identification service and identification result calibration service in sequence by a system.
Step four: and checking results, namely, inquiring and identifying results by the credit clerk through a browser, inputting the unique code of the electronic image and the type of the financial statement, and being suitable for clients. The system calls an identification result acquisition service, queries a corresponding database, and acquires an identified result, including a rule element value, confidence and whether manual checking of a tag is required; and simultaneously, the system calls an image acquisition service to acquire an original financial statement photo.
As can be seen from the above, the present application can achieve at least the following technical effects:
1) the image acquisition function is embedded into the mobile terminal APP, and operation is convenient.
2) Based on OCR technique, the text information on the financial statement is automatically identified, and the information input efficiency is improved.
3) And verification and correction are performed on the recognition result by combining with the verification rule, so that the recognition accuracy is improved.
4) The newly added check rule can be realized through graphical configuration of the browser, and the flexibility of the system is improved.
5) The OCR recognition result early warning display function is provided, and the tags which need to be checked manually are added to the data which is low in recognition confidence rate and cannot pass the rule verification, so that business personnel can be helped to find problems quickly.
In order to perform automatic image recognition and information calibration operations on report images and improve accuracy and efficiency of report electronic processing on a hardware level, the present application provides an embodiment of an electronic device for implementing all or part of contents in the report processing method, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the report processing device and relevant equipment such as a core service system, a user terminal, a relevant database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may refer to the embodiment of the report processing method and the embodiment of the report processing apparatus in the embodiment for implementation, and the contents thereof are incorporated herein, and repeated descriptions are omitted here.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), an in-vehicle device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the report processing method may be executed on the electronic device side as described above, or all operations may be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
Fig. 9 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 9, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 9 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the report processing method functions may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
step S101: and receiving the report form image uploaded by the user and carrying out optical character recognition to obtain a corresponding initial report form recognition result and a recognition confidence coefficient.
Step S102: and carrying out rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and carrying out information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold value.
As can be seen from the above description, according to the electronic device provided in the embodiment of the present application, by introducing the optical character recognition technology, the recognition and information acquisition of the report information are quickly completed, and meanwhile, the check rule preset by the user is introduced, so that the check rule is flexibly customized, the scanning result of the optical character recognition is dynamically checked and updated according to the check rule, and the accuracy of the report electronic scanning result is improved, so that the image recognition and information calibration operation can be automatically performed on the report image, and the accuracy and efficiency of the report electronic processing are improved.
In another embodiment, the report processing apparatus may be configured separately from the central processor 9100, for example, the report processing apparatus may be configured as a chip connected to the central processor 9100, and the report processing method function is realized by the control of the central processor.
As shown in fig. 9, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 9; in addition, the electronic device 9600 may further include components not shown in fig. 9, which may be referred to in the prior art.
As shown in fig. 9, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps in the report processing method in which the execution subject is the server or the client in the foregoing embodiments, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps in the report processing method in which the execution subject is the server or the client in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step S101: and receiving the report form image uploaded by the user and carrying out optical character recognition to obtain a corresponding initial report form recognition result and a recognition confidence coefficient.
Step S102: and carrying out rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and carrying out information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold value.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application, by introducing the optical character recognition technology, quickly completes the recognition of the report information and the information acquisition, and at the same time, introduces the check rule preset by the user, flexibly customizes the check rule, dynamically checks and updates the scanning result of the optical character recognition according to the check rule, and improves the accuracy of the report electronic scanning result, so that the image recognition and information calibration operation can be automatically performed on the report image, and the accuracy and efficiency of the report electronic processing can be improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A report processing method is characterized by comprising the following steps:
receiving a report image uploaded by a user and carrying out optical character recognition to obtain a corresponding initial report recognition result and a corresponding recognition confidence coefficient;
and carrying out rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and carrying out information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold value.
2. A report processing method according to claim 1, wherein the performing rule check on the initial report recognition result according to the check rule preset by the user comprises:
acquiring a corresponding rule text in a check rule preset by the user according to the report type in the initial report identification result;
and carrying out comparison operation on all report parameters in the initial report result according to the comparison operator and the check reference value in the rule text to obtain a rule check result.
3. A report processing method according to claim 1, wherein said receiving a report image uploaded by a user and performing optical character recognition comprises:
receiving a report image uploaded by a user, storing the report image in a local database and generating a corresponding unique electronic image code;
and receiving a report verification instruction of a user and carrying out optical character recognition on a corresponding report image in a local database according to the electronic image unique code in the report verification instruction.
4. The report processing method according to claim 1, wherein the performing of the information correction operation on the verification rule according to the result of the rule verification and the numerical comparison relationship between the recognition confidence and the preset confidence threshold comprises:
redefining report parameters which are not passed by the rule verification result in the verification rule and have the recognition confidence coefficient smaller than a preset confidence coefficient threshold value according to a preset rule correction formula to obtain an updated verification rule.
5. A report processing apparatus, comprising:
the report recognition module is used for receiving the report image uploaded by the user and carrying out optical character recognition to obtain a corresponding initial report recognition result and a recognition confidence coefficient;
and the verification correction module is used for performing rule verification on the initial report recognition result according to a verification rule preset by the user, returning the rule verification result to the user, and performing information correction operation on the verification rule according to the rule verification result and the numerical comparison relationship between the recognition confidence coefficient and a preset confidence coefficient threshold value.
6. The report processing apparatus according to claim 5, wherein the verification correction module comprises:
a rule text determining unit, configured to obtain, according to a report type in the initial report recognition result, a rule text corresponding to the check rule preset by the user;
and the report parameter comparison unit is used for performing comparison operation on each report parameter in the initial report result according to the comparison operator and the check reference value in the rule text to obtain a rule check result.
7. The report processing apparatus according to claim 5, wherein the report recognition module comprises:
the code generating unit is used for receiving the report image uploaded by the user, storing the report image in a local database and generating a corresponding unique electronic image code;
and the identification triggering unit is used for receiving a report verification instruction of a user and carrying out optical character identification on a corresponding report image in a local database according to the electronic image unique code in the report verification instruction.
8. The report processing apparatus according to claim 5, wherein the verification correction module comprises:
and the rule correction unit is used for redefining the report parameters which are not passed by the rule verification result in the verification rule and have the identification confidence coefficient smaller than the preset confidence coefficient threshold according to a preset rule correction formula to obtain the updated verification rule.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the report processing method according to any of claims 1 to 4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the report processing method according to any of the claims 1 to 4.
CN202110557073.0A 2021-05-21 2021-05-21 Report processing method and device Pending CN113177551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110557073.0A CN113177551A (en) 2021-05-21 2021-05-21 Report processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110557073.0A CN113177551A (en) 2021-05-21 2021-05-21 Report processing method and device

Publications (1)

Publication Number Publication Date
CN113177551A true CN113177551A (en) 2021-07-27

Family

ID=76929747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110557073.0A Pending CN113177551A (en) 2021-05-21 2021-05-21 Report processing method and device

Country Status (1)

Country Link
CN (1) CN113177551A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060114097A (en) * 2005-04-27 2006-11-06 최철규 System and method for recognition of financial statement using optical character recognition
CN110427949A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 The method, apparatus of list verification calculates equipment and medium
CN110458184A (en) * 2019-06-26 2019-11-15 平安科技(深圳)有限公司 Optical character identification householder method, device, computer equipment and storage medium
WO2019227577A1 (en) * 2018-05-31 2019-12-05 平安科技(深圳)有限公司 Invoice authenticity verification method, apparatus, computer device, and storage medium
CN111724136A (en) * 2020-06-23 2020-09-29 平安医疗健康管理股份有限公司 Method and device for entering information of first page of medical record and computer equipment
CN112181962A (en) * 2020-09-25 2021-01-05 中国建设银行股份有限公司 Report form checking method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060114097A (en) * 2005-04-27 2006-11-06 최철규 System and method for recognition of financial statement using optical character recognition
WO2019227577A1 (en) * 2018-05-31 2019-12-05 平安科技(深圳)有限公司 Invoice authenticity verification method, apparatus, computer device, and storage medium
CN110458184A (en) * 2019-06-26 2019-11-15 平安科技(深圳)有限公司 Optical character identification householder method, device, computer equipment and storage medium
CN110427949A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 The method, apparatus of list verification calculates equipment and medium
CN111724136A (en) * 2020-06-23 2020-09-29 平安医疗健康管理股份有限公司 Method and device for entering information of first page of medical record and computer equipment
CN112181962A (en) * 2020-09-25 2021-01-05 中国建设银行股份有限公司 Report form checking method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11328093B1 (en) Protecting sensitive data
CN111369247A (en) Cross-bank transaction data processing method and device
US10521834B2 (en) Mobile solution for purchase orders
CN110460583B (en) Sensitive information recording method and device and electronic equipment
CN112163946A (en) Accounting processing method and device based on distributed transaction system
CN113435989A (en) Financial data processing method and device
US20240005165A1 (en) Machine learning model training method, prediction method therefor, apparatus, device, computer-readable storage medium, and computer program product
CN111199145A (en) Method, device, storage medium and electronic equipment for generating value-added tax report
CN113190229A (en) Method and device for generating government affair page
CN113515447B (en) Automatic testing method and device for system
CN113177551A (en) Report processing method and device
CN112308570B (en) Method and device for generating business rule output value
CN114840576A (en) Data standard matching method and device
CN111951011B (en) Monitoring system threshold value determining method and device
CN113434423A (en) Interface test method and device
CN112102058A (en) Management system parameter configuration method and device
CN113656050A (en) Method and device for generating version number
CN111401395A (en) Data processing method, terminal equipment and storage medium
US11494723B2 (en) Methodology and system for optimizing communications in dynamic lightweight personalized analytics
US20210279745A1 (en) Methodology and system for adjusting default parameters in dynamic lightweight personalized analytics
CN109584087B (en) Information processing method, device and storage medium
CN116681513A (en) Enterprise asset data processing method and device
US20220043646A1 (en) System for facilitating software code build and review with real-time error feedback
CN114022252A (en) Commodity information acquisition and pushing method and device
CN114529907A (en) Image character recognition information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination