CN115439248A - Data processing method, device and equipment and readable storage medium - Google Patents

Data processing method, device and equipment and readable storage medium Download PDF

Info

Publication number
CN115439248A
CN115439248A CN202211064077.6A CN202211064077A CN115439248A CN 115439248 A CN115439248 A CN 115439248A CN 202211064077 A CN202211064077 A CN 202211064077A CN 115439248 A CN115439248 A CN 115439248A
Authority
CN
China
Prior art keywords
information
transaction
image
processed
identified
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
CN202211064077.6A
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.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211064077.6A priority Critical patent/CN115439248A/en
Publication of CN115439248A publication Critical patent/CN115439248A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Artificial Intelligence (AREA)
  • Economics (AREA)
  • Multimedia (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a data processing method, a data processing device, data processing equipment and a readable storage medium, which can be applied to the field of artificial intelligence or the field of finance. And acquiring transaction information of the transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type. And acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information. The first configuration information comprises a corresponding relation between the transaction information and a preset type, an image to be identified is obtained, whether the image to be identified contains characteristic information of the material type of the transaction to be processed is judged, and the image to be identified is an image generated by shooting the material to be identified. The method comprises the steps of obtaining the key information of the image to be identified, and inputting the key information of the image to be identified. Therefore, automatic identification of the key information is realized, and failure in identification of the key information due to non-compliance of the material to be identified is avoided.

Description

Data processing method, device and equipment and readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method, apparatus, device, and readable storage medium.
Background
With the expansion of banking business range, bills or certificates involved in a transaction process are also increasingly complex, for example, one transaction needs to check multiple types of bills and certificates, and in the current transaction flow, a teller is required to check and enter bill information and certificate information one by one for the current transaction.
Clearly, for complex transactions and material types (including ticket type funds and certificate types), the manner of manual review and entry results in transaction processing that is extremely inefficient.
Disclosure of Invention
The application provides a data processing method, a device, equipment and a readable storage medium, and the following steps are provided:
a method of data processing, comprising:
acquiring transaction information of a transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type;
acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information, wherein the first configuration information comprises the corresponding relation between the transaction information and the preset type;
acquiring an image to be identified, and judging whether the image to be identified contains characteristic information of the material type of the transaction to be processed, wherein the image to be identified is an image generated by shooting a material to be identified;
and if the image to be identified contains the characteristic information of the material type of the transaction to be processed, extracting key information in the image to be identified, wherein the key information is information which needs to be input for transacting the transaction to be processed.
Optionally, the determining whether the image to be recognized contains characteristic information of the material type of the transaction to be processed includes:
acquiring a target area based on the material type of the transaction to be processed and preset second configuration information, wherein the second configuration information comprises a corresponding relation between a preset type and a preset area;
identifying information of a target area in the image to be identified as information to be compared by using an identification model obtained by pre-training;
and judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed.
Optionally, the characteristic information of the material type of the transaction to be processed includes: a feature field and/or a feature image; the recognition model comprises a character recognition model and/or an image recognition model;
the identifying method includes the steps of identifying information of a target area in an image to be identified by using an identification model obtained through pre-training, and using the information as information to be compared, wherein the identifying method includes the following steps:
extracting fields in a target area in the image to be recognized by using the character recognition model to serve as fields to be compared; and/or extracting an image in a target area in the image to be recognized by using the image recognition model to serve as an image to be compared;
the judging whether the information to be compared includes the characteristic information of the material type of the transaction to be processed includes:
and judging whether the field to be compared comprises the characteristic field and/or whether the image to be compared comprises the characteristic image.
Optionally, extracting key information in the image to be recognized includes:
acquiring a key item based on the transaction information of the transaction to be processed, wherein the key item is an information item which needs to be input for executing the transaction to be processed;
and recognizing text information in the image to be recognized by using the character recognition model, and extracting the value of the key item from the text information to be used as key information.
Optionally, after extracting the key information in the image to be recognized, the method further includes:
and filling the value of the key item into a preset column corresponding to the key item in a transaction interface.
Optionally, the method further comprises:
if the image to be identified does not contain the characteristic information of the material type of the transaction to be processed, sending a preset first identification failure instruction, wherein the first identification failure instruction is used for indicating that the material to be identified does not belong to the material type of the transaction to be processed.
A data processing apparatus comprising:
the transaction acquisition unit is used for acquiring transaction information of a transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type;
the type determining unit is used for acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information, wherein the first configuration information comprises the corresponding relation between the transaction information and the preset type;
the characteristic judging unit is used for acquiring an image to be identified and judging whether the image to be identified contains characteristic information of the material type of the transaction to be processed, wherein the image to be identified is an image generated by shooting a material to be identified;
and the information extraction unit is used for extracting key information in the image to be identified if the image to be identified contains the characteristic information of the material type of the transaction to be processed, wherein the key information is the information which is input for transacting the transaction to be processed.
Optionally, the feature determining unit is configured to determine whether the image to be identified contains feature information of the material type of the transaction to be processed, and includes: the feature determination unit is specifically configured to:
acquiring a target area based on the material type of the transaction to be processed and preset second configuration information, wherein the second configuration information comprises a corresponding relation between a preset type and a preset area;
identifying information of a target area in the image to be identified as information to be compared by using an identification model obtained by pre-training;
and judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed.
A data processing apparatus comprising: a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program and realizing each step of the data processing method.
A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data processing method.
According to the technical scheme, the data processing method, the data processing device, the data processing equipment and the readable storage medium, provided by the embodiment of the application, are used for acquiring the transaction information of the transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type. And acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information. The first configuration information comprises a corresponding relation between the transaction information and a preset type, an image to be identified is obtained, whether the image to be identified contains characteristic information of the material type of the transaction to be processed is judged, and the image to be identified is an image generated by shooting the material to be identified. According to the method, when the image to be identified contains the characteristic information of the material type of the transaction to be processed, the key information in the image to be identified is extracted, and the key information is the information which needs to be input for processing the transaction to be processed. Therefore, automatic identification of the key information is realized, and whether the image to be identified contains the characteristic information of the material type of the transaction to be processed is judged at first, so that failure of identification of the key information caused by non-compliance of the material is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a specific implementation of a data processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data processing device according to an embodiment of the present application.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the 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.
It should be noted that the data processing method, the data processing device, the data processing equipment and the readable storage medium provided by the invention can be used in the field of artificial intelligence or the field of finance. The foregoing is merely an example, and does not limit the application fields of the data processing method, apparatus, device, and readable storage medium provided by the present invention.
The data processing method provided by the application can be suitable for scenes in which material information required by transaction is required to be extracted from bills and/or certificate images aiming at information of the transaction, and further, the scheme of the application can be applied to intelligent equipment such as a computer, a tablet or a smart phone. In addition, the scheme can also be applied to servers, such as a single server or a server cluster.
Next, the data processing method of the present application is described with reference to fig. 1, and fig. 1 illustrates a flow chart of the data processing method, where the method includes:
s101, acquiring transaction information of the transaction to be processed.
In this embodiment, the transaction information of the transaction to be processed includes a transaction identifier and a transaction category. For example, the transaction categories include transfer, payment, registration, etc., and the transaction identifier is used to uniquely identify the pending transaction, e.g., a transaction serial number.
S102, acquiring the material type of the transaction to be processed based on the transaction information and preset first configuration information.
In this embodiment, the first configuration information includes a corresponding relationship between the transaction information and the preset type.
Specifically, the preset type corresponding to the transaction information is a material type of the required material when the transaction indicated by the transaction information is processed. The preset types comprise invoices, identity cards, transfer register lists, business licenses and the like.
For example, the transaction is a transfer transaction, the transaction information indicates that the transfer transaction is a public-to-public large transfer, and the type of materials corresponding to the public-to-public large transfer transaction is searched from the first configuration information and comprises a transfer registration form, an identity card and a business license.
For example only, the specific first configuration information is pre-configured according to the banking rules and is maintained periodically.
S103, acquiring a target area based on the material type of the transaction to be processed and preset second configuration information.
In this embodiment, the second configuration information includes a corresponding relationship between the preset type and the preset region.
Specifically, the target area is a preset area corresponding to the material type of the transaction to be processed in the second configuration information. The preset area corresponding to the preset type comprises an area of the characteristic information of the material type in the material.
It should be noted that the characteristic information includes a characteristic field or a characteristic image (e.g., logo), etc., the type of the material is an invoice, and the preset area corresponding to the invoice is a title area of the material, that is, the type of the material is an area where a characteristic field "value added tax invoice" of the invoice is located.
And S104, recognizing information in the target area of the image to be recognized by using the recognition model obtained by pre-training, and judging whether the target area includes target characteristic information.
In this embodiment, the recognition model includes an OCR character recognition model and an image recognition model, and the target feature information is feature information of a type of the material to be transacted.
Specifically, the image to be recognized is an image of the material to be processed acquired by the image pickup device.
And if the characteristic information comprises the characteristic field, recognizing the character information in the target area of the image to be recognized by using an OCR character recognition model. And if the characteristic information comprises the characteristic image, identifying the image information in the target area of the image to be identified by using the image identification model.
And identifying a target area of the image to be identified by using the identification model, taking the obtained information as information to be compared, comparing the information to be compared with the characteristic information, determining whether the information to be compared comprises the characteristic information, and if so, determining that the image to be identified belongs to the image of the material type of the transaction to be processed.
The method for determining whether the information to be compared comprises the characteristic information comprises the following steps: and for the characteristic field, obtaining a comparison result by using a text comparison method, and for the characteristic image, extracting the image characteristics of the information to be compared and comparing the image characteristics with the characteristics of the characteristic image to obtain the comparison result. See the prior art for specific alignment methods.
It should be noted that the OCR character recognition model and the image recognition model are obtained by pre-training, the training method refers to the prior art, and the image to be recognized is pre-processed in advance, including image enhancement, direction correction, and the like, so as to improve the accuracy of the model recognition, which may specifically refer to the prior art.
And S105, if yes, identifying key information in the image to be identified based on the OCR character identification model.
In this embodiment, the key information includes a value of at least one key item, and it should be noted that different material types correspond to different key items, for example, the key item of the identification card includes an identification number, and the key item of the transfer registration form includes a transfer amount.
In this embodiment, the preset information item corresponding to the transaction to be processed is obtained as the key item through the corresponding relationship between the preset information item and the preset type (or transaction information). Thereby realizing purposeful extraction of the information items.
Further, character information is obtained based on OCR character recognition model recognition, and values of key items in the character information are extracted and used as key information.
It should be noted that the OCR character recognition model for recognizing the key information and the OCR character recognition model for recognizing the feature field in the target region may be the same model or may be different models.
And S106, filling the value of each key item into a preset column corresponding to the key item in the transaction interface.
In this embodiment, the transaction interface includes a field and a field identifier, the field identifier is used to identify the key item, and the field is used to fill in the value of the key item. The specific automatic filling method can be seen in the prior art.
And S107, if not, sending a preset first identification failure instruction.
In the present embodiment, the first identification failure instruction is used to indicate that the material to be processed does not conform to the material type of the current transaction (pending transaction).
According to the technical scheme, the data processing method provided by the embodiment of the application determines the material type of the transaction to be processed through the first configuration information and the transaction information which are configured in advance, determines the target area based on the first configuration information and the material type of the transaction to be processed, identifies the information in the target area of the image to be identified by using the identification model, and judges whether the target area comprises the target characteristic information.
Further, when the image to be identified is determined to be in accordance with the material type of the transaction to be processed, information, namely key information, related to the transaction to be processed in the image to be identified is further identified. Therefore, the efficiency of identifying the key information is improved, and the problem that the extraction of the key information fails due to incorrect material types is avoided, so that the computing resources and the computing power are wasted.
Furthermore, the recognized key information is correspondingly filled into the column, so that the transaction processing speed is improved, the full-automatic auditing and entry process is realized, the human resources are saved, the entry accuracy is improved, and the transaction risk is further reduced.
It should be noted that fig. 1 only illustrates a specific implementation flow of the scheme of the present application, and the data processing method provided by the present application further includes other specific implementation methods.
For example, the present application also includes configuration information acquisition and maintenance steps.
The configuration information includes first configuration information, second configuration information, third configuration information, and fourth configuration information.
The first configuration information includes a corresponding relationship between the transaction information and a preset type. The second configuration information includes a corresponding relationship between the preset type and the preset region. The third configuration information includes a corresponding relationship between the preset feature information and the preset type, and the fourth configuration information includes a corresponding relationship between the preset key information and the preset type.
It should be noted that each configuration information may be configured manually, or may be extracted through automatic analysis of a historical transaction log, and the maintenance of the configuration information includes operations such as deleting outdated configuration information, updating configuration information, and adding configuration information, which may be specifically referred to in the prior art.
For another example, the feature information may include only the feature field, and the number of the feature fields may be one or more.
As another example, S106 to S107 are optional steps determined according to an application scenario. In other application scenarios, for example, in a scenario of key information review, the method further includes reviewing whether the content of the material is in compliance by comparing the extracted key information with preset standard information.
For another example, another implementation method for recognizing key information in an image to be recognized based on an OCR character recognition model includes: after the key items are obtained, the position information or the area information of the key items in the material to be processed is obtained and used as a key identification area, text information is extracted from the key identification area, and the value of the key items is further extracted from the text information. Therefore, regional targeted extraction of key information is realized, and the data processing efficiency is further improved.
To sum up, a data processing method provided in the embodiment of the present application is summarized as a flow shown in fig. 2, and as shown in fig. 2, the method includes:
s201, acquiring transaction information of the transaction to be processed.
In this embodiment, the transaction information of the transaction to be processed includes a transaction identifier and a transaction category. For example, the transaction categories include transfer, payment, registration, etc., and the transaction identifier is used to uniquely identify the pending transaction, e.g., a transaction serial number.
S202, acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information.
In this embodiment, the first configuration information includes a corresponding relationship between the transaction information and the preset type.
Specifically, the preset type corresponding to the transaction information is a material type of the required material when the transaction indicated by the transaction information is processed. The preset types comprise invoices, identity cards, transfer register tables, business licenses and the like.
S203, acquiring the image to be identified, and judging whether the image to be identified contains characteristic information of the material type of the transaction to be processed.
In this embodiment, the image to be recognized is an image generated by shooting a material to be recognized. The characteristic information of the material type of the transaction to be processed includes a characteristic field or a characteristic image indicating the material type.
It should be noted that, the determination of whether the image to be recognized contains the characteristic information of the material type of the transaction to be processed includes a plurality of specific implementation methods, and a specific method is described in the above embodiment.
And S204, if the image to be identified contains the characteristic information of the material type of the transaction to be processed, extracting the key information in the image to be identified.
In this embodiment, the key information is information to be entered for handling a transaction to be processed.
According to the technical scheme, the data processing method provided by the embodiment of the application obtains the transaction information of the transaction to be processed, wherein the transaction information comprises the transaction identification and/or the transaction type. And acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information. The first configuration information comprises a corresponding relation between the transaction information and a preset type, an image to be recognized is obtained, whether the image to be recognized contains characteristic information of the material type of the transaction to be processed or not is judged, and the image to be recognized is an image generated by shooting the material to be recognized. The method comprises the steps of obtaining the key information of the image to be identified, and inputting the key information of the image to be identified. Therefore, automatic identification of the key information is realized, and whether the image to be identified contains the characteristic information of the material type of the transaction to be processed is judged at first, so that failure of identification of the key information caused by non-compliance of the material is avoided.
Fig. 3 is a schematic structural diagram of a data processing apparatus provided in an embodiment of the present application, and as shown in fig. 3, the apparatus may include:
the transaction obtaining unit 301 is configured to obtain transaction information of a transaction to be processed, where the transaction information includes a transaction identifier and/or a transaction type;
a type determining unit 302, configured to obtain a material type of the transaction to be processed based on transaction information of the transaction to be processed and preset first configuration information, where the first configuration information includes a corresponding relationship between the transaction information and a preset type;
a feature determination unit 303, configured to acquire an image to be identified, and determine whether the image to be identified includes feature information of a material type of the transaction to be processed, where the image to be identified is an image generated by shooting a material to be identified;
an information extraction unit 304, configured to extract key information in the image to be identified if the image to be identified includes feature information of the material type of the transaction to be processed, where the key information is information that needs to be entered to transact the transaction to be processed.
Optionally, the feature determining unit is configured to determine whether the image to be recognized contains feature information of a material type of the transaction to be processed, and includes: the feature determination unit is specifically configured to:
acquiring a target area based on the material type of the transaction to be processed and preset second configuration information, wherein the second configuration information comprises a corresponding relation between a preset type and a preset area;
identifying information of a target area in the image to be identified as information to be compared by using an identification model obtained by pre-training;
and judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed.
Optionally, the characteristic information of the material type of the transaction to be processed includes: a feature field and/or a feature image; the recognition model comprises a character recognition model and/or an image recognition model;
the feature judgment unit is configured to recognize information of a target region in the image to be recognized by using a recognition model obtained through pre-training, and the feature judgment unit is used as information to be compared and includes: the feature determination unit is specifically configured to:
extracting fields in a target area in the image to be recognized by using the character recognition model to serve as fields to be compared; and/or extracting an image in a target area in the image to be recognized by using the image recognition model to serve as an image to be compared;
the characteristic judging unit is used for judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed, and the characteristic judging unit comprises the following steps: the feature determination unit is specifically configured to:
and judging whether the field to be compared comprises the characteristic field and/or whether the image to be compared comprises the characteristic image.
Optionally, the information extracting unit is configured to extract key information in the image to be identified, and includes: the information extraction unit is specifically configured to:
acquiring a key item based on the transaction information of the transaction to be processed, wherein the key item is an information item which needs to be input for executing the transaction to be processed;
and recognizing text information in the image to be recognized by using the character recognition model, and extracting the value of the key item from the text information to be used as key information.
Optionally, the apparatus further comprises: and the backfilling unit is used for filling the value of the key item into a preset column corresponding to the key item in a transaction interface after extracting the key information in the image to be identified.
Optionally, the apparatus further comprises: and the failure reminding unit is used for sending a preset first identification failure instruction if the image to be identified does not contain the characteristic information of the material type of the transaction to be processed, wherein the first identification failure instruction is used for indicating that the material to be identified does not belong to the material type of the transaction to be processed.
Fig. 4 shows a schematic structural diagram of the data processing apparatus, which may include: at least one processor 401, at least one communication interface 402, at least one memory 403 and at least one communication bus 404;
in the embodiment of the present application, the number of the processor 401, the communication interface 402, the memory 403 and the communication bus 404 is at least one, and the processor 401, the communication interface 402 and the memory 403 complete communication with each other through the communication bus 404;
processor 401 may be a central processing unit CPU, or an Application Specific Integrated Circuit ASIC (Application Specific Integrated Circuit), or one or more Integrated circuits configured to implement an embodiment of the present invention, etc.;
the memory 403 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
the memory stores a program, and the processor can execute the program stored in the memory, so as to realize the steps of the data processing method provided by the embodiment of the application, as follows:
a method of data processing, comprising:
acquiring transaction information of a transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type;
acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information, wherein the first configuration information comprises a corresponding relation between the transaction information and the preset type;
acquiring an image to be identified, and judging whether the image to be identified contains characteristic information of the material type of the transaction to be processed, wherein the image to be identified is an image generated by shooting a material to be identified;
and if the image to be identified contains the characteristic information of the material type of the transaction to be processed, extracting key information in the image to be identified, wherein the key information is information which needs to be input for processing the transaction to be processed.
Optionally, the determining whether the image to be recognized contains the characteristic information of the material type of the transaction to be processed includes:
acquiring a target area based on the material type of the transaction to be processed and preset second configuration information, wherein the second configuration information comprises a corresponding relation between a preset type and a preset area;
identifying information of a target area in the image to be identified as information to be compared by using an identification model obtained by pre-training;
and judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed.
Optionally, the characteristic information of the material type of the transaction to be processed includes: a feature field and/or a feature image; the recognition model comprises a character recognition model and/or an image recognition model;
the method for recognizing the information of the target area in the image to be recognized by using the recognition model obtained by pre-training as the information to be compared comprises the following steps:
extracting fields in a target area in the image to be recognized by using the character recognition model to serve as fields to be compared; and/or extracting an image in a target area in the image to be recognized by using the image recognition model to serve as an image to be compared;
the judging whether the information to be compared includes the characteristic information of the material type of the transaction to be processed includes:
and judging whether the field to be compared comprises the characteristic field and/or whether the image to be compared comprises the characteristic image.
Optionally, extracting key information in the image to be recognized includes:
acquiring a key item based on the transaction information of the transaction to be processed, wherein the key item is an information item which needs to be input for executing the transaction to be processed;
and recognizing text information in the image to be recognized by utilizing the character recognition model, and extracting the value of the key item from the text information to be used as key information.
Optionally, after extracting the key information in the image to be recognized, the method further includes:
and filling the value of the key item into a preset column corresponding to the key item in a transaction interface.
Optionally, the method further comprises:
if the image to be identified does not contain the characteristic information of the material type of the transaction to be processed, sending a preset first identification failure instruction, wherein the first identification failure instruction is used for indicating that the material to be identified does not belong to the material type of the transaction to be processed.
An embodiment of the present application further provides a readable storage medium, where the readable storage medium may store a computer program suitable for being executed by a processor, and when the computer program is executed by the processor, the computer program implements the steps of the data processing method provided in the embodiment of the present application, as follows:
a method of data processing, comprising:
acquiring transaction information of a transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type;
acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information, wherein the first configuration information comprises a corresponding relation between the transaction information and the preset type;
acquiring an image to be identified, and judging whether the image to be identified contains characteristic information of the material type of the transaction to be processed, wherein the image to be identified is an image generated by shooting a material to be identified;
and if the image to be identified contains the characteristic information of the material type of the transaction to be processed, extracting key information in the image to be identified, wherein the key information is information which needs to be input for processing the transaction to be processed.
Optionally, the determining whether the image to be recognized contains the characteristic information of the material type of the transaction to be processed includes:
acquiring a target area based on the material type of the transaction to be processed and preset second configuration information, wherein the second configuration information comprises a corresponding relation between a preset type and a preset area;
recognizing the information of the target area in the image to be recognized by using a recognition model obtained by pre-training as information to be compared;
and judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed.
Optionally, the characteristic information of the material type of the transaction to be processed includes: a feature field and/or a feature image; the recognition model comprises a character recognition model and/or an image recognition model;
the identifying method includes the steps of identifying information of a target area in an image to be identified by using an identification model obtained through pre-training, and using the information as information to be compared, wherein the identifying method includes the following steps:
extracting fields in a target area in the image to be recognized by using the character recognition model to serve as fields to be compared; and/or extracting an image in a target area in the image to be recognized by using the image recognition model to serve as an image to be compared;
the judging whether the information to be compared includes the characteristic information of the material type of the transaction to be processed includes:
and judging whether the field to be compared comprises the characteristic field and/or whether the image to be compared comprises the characteristic image.
Optionally, extracting key information in the image to be recognized includes:
acquiring a key item based on the transaction information of the transaction to be processed, wherein the key item is an information item which needs to be input for executing the transaction to be processed;
and recognizing text information in the image to be recognized by using the character recognition model, and extracting the value of the key item from the text information to be used as key information.
Optionally, after extracting the key information in the image to be recognized, the method further includes:
and filling the value of the key item into a preset column corresponding to the key item in a transaction interface.
Optionally, the method further comprises:
if the image to be identified does not contain the characteristic information of the material type of the transaction to be processed, sending a preset first identification failure instruction, wherein the first identification failure instruction is used for indicating that the material to be identified does not belong to the material type of the transaction to be processed.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A data processing method, comprising:
acquiring transaction information of a transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type;
acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information, wherein the first configuration information comprises the corresponding relation between the transaction information and the preset type;
acquiring an image to be identified, and judging whether the image to be identified contains characteristic information of the material type of the transaction to be processed, wherein the image to be identified is an image generated by shooting a material to be identified;
and if the image to be identified contains the characteristic information of the material type of the transaction to be processed, extracting key information in the image to be identified, wherein the key information is information which needs to be input for processing the transaction to be processed.
2. The method of claim 1, wherein the determining whether the image to be recognized contains characteristic information of the type of material of the transaction to be processed comprises:
acquiring a target area based on the material type of the transaction to be processed and preset second configuration information, wherein the second configuration information comprises a corresponding relation between a preset type and a preset area;
identifying information of a target area in the image to be identified as information to be compared by using an identification model obtained by pre-training;
and judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed.
3. The method of claim 2, wherein the characterizing information of the material type of the transaction to be processed comprises: a feature field and/or a feature image; the recognition model comprises a character recognition model and/or an image recognition model;
the identifying method includes the steps of identifying information of a target area in an image to be identified by using an identification model obtained through pre-training, and using the information as information to be compared, wherein the identifying method includes the following steps:
extracting fields in a target area in the image to be recognized by using the character recognition model to serve as fields to be compared; and/or extracting an image in a target area in the image to be recognized by using the image recognition model to serve as an image to be compared;
the judging whether the information to be compared includes the characteristic information of the material type of the transaction to be processed includes:
and judging whether the field to be compared comprises the characteristic field and/or whether the image to be compared comprises the characteristic image.
4. The method according to claim 3, wherein the extracting key information in the image to be recognized comprises:
acquiring a key item based on the transaction information of the transaction to be processed, wherein the key item is an information item which needs to be input for executing the transaction to be processed;
and recognizing text information in the image to be recognized by using the character recognition model, and extracting the value of the key item from the text information to be used as key information.
5. The method according to claim 4, wherein after extracting the key information in the image to be recognized, the method further comprises:
and filling the value of the key item into a preset column corresponding to the key item in a transaction interface.
6. The method according to any one of claims 1 to 5, further comprising:
if the image to be identified does not contain the characteristic information of the material type of the transaction to be processed, sending a preset first identification failure instruction, wherein the first identification failure instruction is used for indicating that the material to be identified does not belong to the material type of the transaction to be processed.
7. A data processing apparatus, comprising:
the transaction acquisition unit is used for acquiring transaction information of a transaction to be processed, wherein the transaction information comprises a transaction identifier and/or a transaction type;
the type determining unit is used for acquiring the material type of the transaction to be processed based on the transaction information of the transaction to be processed and preset first configuration information, wherein the first configuration information comprises the corresponding relation between the transaction information and the preset type;
the characteristic judgment unit is used for acquiring an image to be identified and judging whether the image to be identified contains characteristic information of the material type of the transaction to be processed, wherein the image to be identified is an image generated by shooting a material to be identified;
and the information extraction unit is used for extracting key information in the image to be identified if the image to be identified contains the characteristic information of the material type of the transaction to be processed, wherein the key information is the information which is input for transacting the transaction to be processed.
8. The apparatus according to claim 7, wherein the feature determining unit is configured to determine whether the image to be recognized contains feature information of a material type of the transaction to be processed, and includes: the feature determination unit is specifically configured to:
acquiring a target area based on the material type of the transaction to be processed and preset second configuration information, wherein the second configuration information comprises a corresponding relation between a preset type and a preset area;
identifying information of a target area in the image to be identified as information to be compared by using an identification model obtained by pre-training;
and judging whether the information to be compared comprises the characteristic information of the material type of the transaction to be processed.
9. A data processing apparatus, characterized by comprising: a memory and a processor;
the memory is used for storing programs;
the processor, which executes the program, implements the steps of the data processing method according to any one of claims 1 to 6.
10. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of a data processing method according to any one of claims 1 to 6.
CN202211064077.6A 2022-09-01 2022-09-01 Data processing method, device and equipment and readable storage medium Pending CN115439248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211064077.6A CN115439248A (en) 2022-09-01 2022-09-01 Data processing method, device and equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211064077.6A CN115439248A (en) 2022-09-01 2022-09-01 Data processing method, device and equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115439248A true CN115439248A (en) 2022-12-06

Family

ID=84243866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211064077.6A Pending CN115439248A (en) 2022-09-01 2022-09-01 Data processing method, device and equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115439248A (en)

Similar Documents

Publication Publication Date Title
US20050096992A1 (en) Image-enabled item processing for point of presentment application
US10229395B2 (en) Predictive determination and resolution of a value of indicia located in a negotiable instrument electronic image
CN111476227A (en) Target field recognition method and device based on OCR (optical character recognition) and storage medium
WO2021042747A1 (en) Invoice picture recognition and verification method and system, device, and readable storage medium
US10509958B2 (en) Systems and methods for capturing critical fields from a mobile image of a credit card bill
US9378416B2 (en) Check data lift for check date listing
US20150120563A1 (en) Check data lift for ach transactions
CN110516664A (en) Bill identification method and device, electronic equipment and storage medium
CN115017272B (en) Intelligent verification method and device based on registration data
CN111881923B (en) Bill element extraction method based on feature matching
CN111858977B (en) Bill information acquisition method, device, computer equipment and storage medium
CN112487982A (en) Merchant information auditing method, system and storage medium
CN115471858A (en) Data processing method and device for bill management
CN111462388A (en) Bill inspection method and device, terminal equipment and storage medium
CN109886076B (en) Invoice storage method
CN114511866A (en) Data auditing method, device, system, processor and machine-readable storage medium
CN109214362B (en) Document processing method and related equipment
CN114445079A (en) Document processing method, device, equipment and storage medium
CN111784423B (en) Invoice matching method and device, electronic equipment and storage medium
CN116978015A (en) Invoice information extraction method and device and electronic equipment
CN115439248A (en) Data processing method, device and equipment and readable storage medium
CN114092684A (en) Text calibration method, device, equipment and storage medium
CN114443834A (en) Method and device for extracting license information and storage medium
CN112699873A (en) Invoice data acquisition system and method based on OCR recognition
CN112132693A (en) Transaction verification method, transaction verification device, computer equipment and computer-readable storage medium

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