CN110490721B - Financial voucher generating method and related product - Google Patents

Financial voucher generating method and related product Download PDF

Info

Publication number
CN110490721B
CN110490721B CN201910722482.4A CN201910722482A CN110490721B CN 110490721 B CN110490721 B CN 110490721B CN 201910722482 A CN201910722482 A CN 201910722482A CN 110490721 B CN110490721 B CN 110490721B
Authority
CN
China
Prior art keywords
financial voucher
transaction type
template
financial
target
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.)
Active
Application number
CN201910722482.4A
Other languages
Chinese (zh)
Other versions
CN110490721A (en
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.)
Wanyi Technology Co Ltd
Original Assignee
Wanyi Technology Co 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 Wanyi Technology Co Ltd filed Critical Wanyi Technology Co Ltd
Priority to CN201910722482.4A priority Critical patent/CN110490721B/en
Publication of CN110490721A publication Critical patent/CN110490721A/en
Application granted granted Critical
Publication of CN110490721B publication Critical patent/CN110490721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a financial voucher generating method and a related product, wherein the method comprises the following steps: acquiring bill information and determining a transaction type corresponding to the bill information; selecting a target financial voucher template corresponding to the transaction type from a financial voucher template library; and assigning the target financial certificate template according to the bill information to obtain the target financial certificate. The embodiment of the application is beneficial to simplifying the production flow of the financial voucher and improving the user experience.

Description

Financial voucher generating method and related product
Technical Field
The application relates to the technical field of information processing, in particular to a financial voucher generating method and a related product.
Background
Currently, different financial industries are exposed to various financial assets, and when the financial assets flow through, corresponding financial certificates are opened for later business check, for example, insurance enterprises usually accept different types of business such as loan and claim settlement, and corresponding financial certificates are opened during loan and claim settlement. However, since the types of the services such as loan placement and claim settlement are different, that is, the execution subject of the service, the product type, the sales channels are different, and the financial certificates based on the different types of services are also different, in the prior art, the process of the financial certificate is redesigned for different types of services, especially for the newly added type of corresponding services, and after the process is redesigned, the new process needs to be recoded, which results in a large amount of manpower and material resources being invested, increases the development cost of the online financial certificate, and affects the timeliness of opening the financial certificate.
Disclosure of Invention
The embodiment of the application provides a financial voucher generation method and a related product, so that a financial voucher is automatically generated according to the business type of bill information, the opening and taking process of the financial voucher is reduced, and further user experience is improved.
In a first aspect, an embodiment of the present application provides a financial document generation method, where the method includes:
acquiring bill information and determining a transaction type corresponding to the bill information;
selecting a target financial voucher template corresponding to the transaction type from a financial voucher template library;
and assigning the target financial certificate template according to the bill information to obtain the target financial certificate.
In a second aspect, an embodiment of the present application provides a financial document generating apparatus, including:
the acquiring unit is used for acquiring bill information and determining a transaction type corresponding to the bill information;
the selecting unit is used for selecting a target financial voucher template corresponding to the transaction type from a financial voucher template library;
and the assignment unit is used for assigning the target financial voucher template according to the bill information to obtain the target financial voucher.
In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the steps in the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, where the computer program makes a computer execute the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer being operable to cause a computer to perform the method according to the first aspect.
The embodiment of the application has the following beneficial effects:
it can be seen that in the embodiment of the application, the document information is acquired, the target financial voucher template is acquired from the pre-established template library, the transaction record corresponding to the document information is assigned to the target financial voucher template, and the target financial voucher is generated, so that the financial voucher is generated automatically, the financial voucher opening process is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are 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. 1A is a schematic flowchart of a financial document generating method according to an embodiment of the present application;
FIG. 1B is a schematic diagram of a financial document template provided by an embodiment of the present application;
FIG. 2 is a schematic flowchart of another financial document generation method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another exemplary method for generating financial documents according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a financial document generating apparatus according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating functional units of a financial document generating apparatus according to an embodiment of the present disclosure.
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 some, but not all, embodiments of the present application. 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.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The financial certificate generating apparatus in the present application may include a smart Phone (such as an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a Mobile Internet device MID (MID for short), a wearable device, and the like, where the electronic Devices are merely examples, but not exhaustive, and include but are not limited to the electronic Devices, and for convenience of description, the electronic Devices are referred to as User equipment UE (UE for short) in the following embodiments. Of course, in practical applications, the user equipment is not limited to the above presentation form, and may also include: intelligent vehicle-mounted terminal, computer equipment and the like.
In order to facilitate understanding of the technical solutions of the present application, a part of the technical terms will be explained first.
Financial documents, written proofs formatted to register an accounting book. The method is used for recording the occurrence of economic business, making clear economic responsibility, and can be divided into an original voucher and a bookkeeping voucher as a written certificate of a bookkeeping basis.
Referring to fig. 1A, fig. 1A is a schematic flowchart of a financial document generating method according to an embodiment of the present application, where the method is applied to a financial document generating device, and the method includes, but is not limited to, the following steps:
101: the financial voucher generating device acquires receipt information and determines a transaction type corresponding to the receipt information.
Optionally, the financial generation device receives document information input by the user, identifies the document information, and obtains a service type corresponding to the document information, for example, loan, claim settlement, and the like.
102: the financial voucher generating device selects a target financial voucher template corresponding to the transaction type from a financial voucher template library.
Optionally, financial voucher templates corresponding to various transaction types are pre-stored in the financial voucher template library, so that the financial voucher templates corresponding to the transaction types are selected from the template library.
103: and the financial voucher generating device assigns the target financial voucher template according to the receipt information to obtain the target financial voucher.
Optionally, the financial document generating device extracts the transaction record from the document information, and assigns the transaction record to a field corresponding to the financial document template to obtain the target financial document.
It can be seen that in the embodiment of the application, the document information is acquired, the target financial voucher template is acquired from the pre-established template library, the transaction record corresponding to the document information is assigned to the target financial voucher template, and the target financial voucher is generated, so that the financial voucher is generated automatically, the financial voucher opening process is simplified, and the user is improved.
In some possible embodiments, the obtaining of the document information may be implemented by: receiving a document image uploaded by a user terminal; and performing text recognition on the document image by using a pre-trained text recognition model to obtain document information corresponding to the document image.
Specifically, the text recognition model is a text recognition model based on prior attention, that is, based on the recognized characters, the attention distribution constraint of the subsequent unrecognized characters is obtained, and the process of performing text recognition based on the text recognition model may be: carrying out feature extraction processing on a document image to obtain a feature map of the document image; cutting the characteristic diagram according to columns to obtain a plurality of characteristic vectors; coding the plurality of feature vectors to obtain a plurality of first semantic vectors of the document image; performing word embedding processing on at least one recognized character in the document image to obtain a word vector corresponding to the at least one recognized character; coding a word vector corresponding to the at least one recognized character to obtain a second semantic vector corresponding to the at least one recognized character; determining attention weights for the plurality of first semantic vectors from a second semantic vector of the at least one recognized character; and according to the attention weight of the plurality of first semantic vectors, carrying out weighting processing on the plurality of first semantic vectors to obtain a currently identified target feature vector, and obtaining a current text identification result of the bill image based on the target feature vector.
In some possible embodiments, the obtaining of the document information may be implemented by: receiving a document image uploaded by a user terminal; and extracting character information in the document image through an Optical Character Recognition (OCR) tool to obtain document information corresponding to the document image.
In some possible embodiments, the obtaining of the document information may be implemented by: and receiving user voice uploaded by a user terminal, and carrying out voice recognition on the user voice to obtain document information corresponding to the user voice.
In some possible embodiments, the selecting the target financial credential template corresponding to the transaction type from the financial credential template library may be performed by: selecting an initial financial voucher template corresponding to the transaction type from a financial voucher template library; obtaining each sub-transaction type in the transaction types; and when each sub-transaction type has a corresponding field in the initial financial voucher template, taking the initial financial voucher template as a target financial voucher template corresponding to the transaction type, calling a generation rule corresponding to the transaction type when at least one transaction type exists in each sub-transaction type and no corresponding field exists in the initial financial voucher template, generating a field corresponding to the transaction type according to the generation rule, and splicing the field and the initial financial voucher template to obtain the target financial voucher template. It can be seen that, in the embodiment, when a newly added service is involved in the transaction type, the target financial voucher template corresponding to the newly added service can be automatically generated according to the production rule, and the new development by a developer is not needed, so that the labor cost is saved, and the user experience is improved.
In some possible embodiments, the assigning the target financial document template according to the document information may be implemented by: acquiring a configuration sequence of the target financial template according to the generation rule; and obtaining an assignment sequence corresponding to each sub-transaction type, and assigning the transaction records corresponding to each sub-transaction type to the target financial template in sequence based on the assignment sequence to obtain the target financial voucher.
For example, fig. 1B shows a schematic diagram of a financial document template, which includes various sub-items, such as document generation rule-rule determination, document generation rule-rule configuration, document generation rule-rule ID, etc., wherein each sub-Item corresponds to a sub-transaction type, and each sub-Item includes at least one lower-level attribute, for example, the document generation rule-rule ID includes two lower-level attributes, such as document generation rule-amount variable definition and document generation rule-Item field configuration, wherein the document generation rule-amount variable definition includes value field fields, such as amount variable, table, calculation formula, condition, etc., and the document generation rule-Item field configuration includes accounting document line Item, description, default debit, credit, account, subject classification, subject account, and the like, And default subject, amount variable, remark and other assignment fields, wherein when two subordinate attributes are assigned, the voucher generation rule-amount variable is assigned first, then the assigned amount variable is distributed to the item field configuration rule, and if the amount variable is not assigned, the item field is not configured to be assigned.
In some possible embodiments, the method further comprises:
sending a confirmation instruction to a user terminal to determine the reasonability of the target financial voucher; and when a reasonable response which is determined and sent by the user terminal is received, storing the financial certificate in a preset space in an XML file format. It can be seen that, in the embodiment, the target financial voucher meeting the condition is stored, so that the financial voucher can be inquired and printed in time in the following process, and the user experience is improved.
In some possible embodiments, before acquiring the document information, the method further comprises:
the method comprises the steps of obtaining identity information uploaded by a user terminal, carrying out identity authentication based on the identity information, and sending image uploading prompt information to the user terminal when the authentication is passed, wherein the image uploading prompt information is used for prompting a user to upload a document image so as to obtain document information.
In some possible embodiments, when the document information is a vein image, the implementing process of identity authentication based on the identity information may be: analyzing the feature point distribution of the first vein image; performing circular image interception on the first vein image according to M different circle centers to obtain M circular vein images, wherein M is an integer larger than 3; selecting a target vein image from the M circular vein images, wherein the number of feature points contained in the target circular vein image is larger than that of other circular vein images in the M circular vein images; dividing the target circular vein image to obtain N circular rings, wherein the widths of the N circular rings are the same; starting from the circular ring with the smallest radius in the N circular rings, sequentially matching the N circular rings with each vein template for feature points, and accumulating to obtain N matching values; and acquiring the maximum matching value in the accumulated N matching values, and determining that the identity recognition is successful when the maximum matching value is greater than a threshold value.
Referring to fig. 2, fig. 2 is a schematic flow chart of another financial document generation method provided in the embodiment of the present application, which is applied to a financial document generation apparatus, and the method includes, but is not limited to, the following steps:
201: the financial voucher generating device acquires receipt information and determines a transaction type corresponding to the receipt information.
202: the financial voucher generating device selects a target financial voucher template corresponding to the transaction type from a financial voucher template library.
203: and the financial voucher generating device assigns the target financial voucher template according to the receipt information to obtain the target financial voucher.
204: the financial voucher generating device sends a confirmation instruction to the user terminal to determine the reasonability of the target financial voucher, and when a reasonable confirmation response sent by the user terminal is received, the financial voucher is stored in a preset space in an XML file format.
It can be seen that in the embodiment of the application, the document information is acquired, the target financial voucher template is acquired from the pre-established template library, the transaction record corresponding to the document information is assigned to the target financial voucher template, and the target financial voucher is generated, so that the financial voucher is generated automatically, the financial voucher extraction process is simplified, and the user experience is improved; and after user confirmation, storing the reasonable target financial voucher so as to inquire and print the financial voucher in time in the following.
It should be noted that, for the specific implementation of the steps of the method shown in fig. 2, reference may be made to the specific implementation of the method described in fig. 1A, and a description thereof is omitted here.
Referring to fig. 3, fig. 3 is a schematic flow chart of another financial document generation method provided in the embodiment of the present application, which is applied to a financial document generation apparatus, and the method includes, but is not limited to, the following steps:
301: the financial generation device receives the identity information uploaded by the user terminal and carries out identity verification based on the identity information.
302: and when the identity authentication is passed, the financial voucher generating device receives the bill information uploaded by the user terminal and determines the transaction type corresponding to the bill information.
303: the financial voucher generating device selects a target financial voucher template corresponding to the transaction type from a financial voucher template library.
304: and the financial voucher generating device assigns the target financial voucher template according to the receipt information to obtain the target financial voucher.
305: the financial voucher generating device sends a confirmation instruction to the user terminal to determine the reasonability of the target financial voucher, and when a reasonable confirmation response sent by the user terminal is received, the financial voucher is stored in a preset space in an XML file format.
It can be seen that in the embodiment of the application, before acquiring the document information, identity verification is performed, so that illegal production of financial certificates is avoided, and the financial security is improved; in addition, when the verification passes, acquiring document information, acquiring a target financial voucher template from a pre-established template library, assigning a transaction record corresponding to the document information to the target financial voucher template, and generating a target financial voucher, so that the automation of financial voucher generation is realized, the financial voucher extraction process is simplified, and the user experience is improved; and after user confirmation, storing the reasonable target financial voucher so as to inquire and print the financial voucher in time in the following.
It should be noted that, for the specific implementation of the steps of the method shown in fig. 3, reference may be made to the specific implementation of the method described in fig. 1A, and a description thereof is omitted here.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a financial document generating apparatus 400 according to an embodiment of the present application, and as shown in fig. 4, the financial document generating apparatus 400 includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are different from the one or more application programs, and the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:
acquiring bill information and determining a transaction type corresponding to the bill information;
selecting a target financial voucher template corresponding to the transaction type from a financial voucher template library;
and assigning the target financial certificate template according to the bill information to obtain the target financial certificate.
In some possible embodiments, in obtaining document information, the program is specifically configured to execute the instructions of:
receiving a document image uploaded by a user terminal;
and performing text recognition on the document image by using a pre-trained text recognition model to obtain document information corresponding to the document image.
In some possible embodiments, the program is specifically adapted to execute the following steps in selecting a target financial instrument template corresponding to the transaction type from a financial instrument template library:
selecting an initial financial voucher template corresponding to the transaction type from a financial voucher template library;
obtaining each sub-transaction type in the transaction types;
and when each sub-transaction type has a corresponding field in the initial financial voucher template, taking the initial financial voucher template as a target financial voucher template corresponding to the transaction type, calling a generation rule corresponding to the transaction type when at least one transaction type exists in each sub-transaction type and no corresponding field exists in the initial financial voucher template, generating a field corresponding to the transaction type according to the generation rule, and splicing the field and the initial financial voucher template to obtain the target financial voucher template.
In some possible embodiments, the program is specifically configured to execute the following steps in assigning the target financial document template according to the document information to obtain the target financial document:
acquiring a configuration sequence of the target financial template according to the generation rule;
and obtaining an assignment sequence corresponding to each sub-transaction type, and assigning the transaction records corresponding to each sub-transaction type to the target financial template in sequence based on the assignment sequence to obtain the target financial voucher.
In some possible embodiments, the program is further for executing the instructions of:
sending a confirmation instruction to a user terminal to determine the reasonability of the target financial voucher;
and when a reasonable response which is determined and sent by the user terminal is received, storing the financial certificate in a preset space in an XML file format.
Referring to fig. 5, fig. 5 shows a block diagram of a possible functional unit of the financial document generating apparatus 500 according to the above embodiment, and the financial document generating apparatus 500 includes: an obtaining unit 510, a selecting unit 520 and an assigning unit 530, wherein:
in some possible embodiments, in terms of obtaining document information, the obtaining unit 510 is specifically configured to:
receiving a document image uploaded by a user terminal;
and performing text recognition on the document image by using a pre-trained text recognition model to obtain document information corresponding to the document image.
In some possible embodiments, in selecting the target financial credential template corresponding to the transaction type from the financial credential template library, the selecting unit 520 is specifically configured to:
selecting an initial financial voucher template corresponding to the transaction type from a financial voucher template library;
obtaining each sub-transaction type in the transaction types;
and when each sub-transaction type has a corresponding field in the initial financial voucher template, taking the initial financial voucher template as a target financial voucher template corresponding to the transaction type, calling a generation rule corresponding to the transaction type when at least one transaction type exists in each sub-transaction type and no corresponding field exists in the initial financial voucher template, generating a field corresponding to the transaction type according to the generation rule, and splicing the field and the initial financial voucher template to obtain the target financial voucher template.
In some possible embodiments, in the aspect of assigning the target financial document template according to the document information to obtain the target financial document, the assigning unit 530 is specifically configured to:
acquiring a configuration sequence of the target financial template according to the generation rule;
and obtaining an assignment sequence corresponding to each sub-transaction type, and assigning the transaction records corresponding to each sub-transaction type to the target financial template in sequence based on the assignment sequence to obtain the target financial voucher.
In some possible embodiments, the financial credential generating device 500 further comprises a storage unit 540, the storage unit 540 being configured to:
sending a confirmation instruction to a user terminal to determine the reasonability of the target financial voucher;
and when a reasonable response which is determined and sent by the user terminal is received, storing the financial certificate in a preset space in an XML file format.
Embodiments of the present application further provide a computer storage medium, where the computer storage medium stores a computer program, and the computer program is executed by a processor to implement part or all of the steps of any one of the financial certificate generation methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the financial document generation methods as recited in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 application.

Claims (10)

1. A financial document generation method, comprising:
acquiring identity information uploaded by a user terminal, performing identity authentication based on the identity information, and sending image uploading prompt information to the user terminal when the authentication is passed, wherein the image uploading prompt information is used for prompting a user to upload a document image so as to acquire document information, and determining a transaction type corresponding to the document information, and the transaction type is loan or claim settlement;
selecting a target financial voucher template corresponding to the transaction type from a financial voucher template library;
assigning the target financial voucher template according to the bill information to obtain a target financial voucher, specifically, extracting a transaction record from the bill information, and assigning the transaction record to a field corresponding to the financial voucher template to obtain the target financial voucher;
when the identity information is a first vein image, the implementing of identity authentication based on the identity information comprises: analyzing the feature point distribution of the first vein image; performing circular image interception on the first vein image according to M different circle centers to obtain M circular vein images, wherein M is an integer larger than 3; selecting a target vein image from the M circular vein images, wherein the number of feature points contained in the target circular vein image is larger than that of other circular vein images in the M circular vein images; dividing the target circular vein image to obtain N circular rings, wherein the widths of the N circular rings are the same; starting from the circular ring with the smallest radius in the N circular rings, sequentially matching the N circular rings with each vein template for feature points, and accumulating to obtain N matching values; and acquiring the maximum matching value in the accumulated N matching values, and determining that the identity recognition is successful when the maximum matching value is greater than a threshold value.
2. The method of claim 1, wherein the obtaining document information comprises:
receiving a document image uploaded by a user terminal;
and performing text recognition on the document image by using a pre-trained text recognition model to obtain document information corresponding to the document image.
3. The method of claim 1 or 2, wherein said selecting a target financial instrument template corresponding to said transaction type from a financial instrument template repository comprises:
selecting an initial financial voucher template corresponding to the transaction type from a financial voucher template library;
obtaining each sub-transaction type in the transaction types;
and when each sub-transaction type has a corresponding field in the initial financial voucher template, taking the initial financial voucher template as a target financial voucher template corresponding to the transaction type, calling a generation rule corresponding to the transaction type when at least one transaction type exists in each sub-transaction type and no corresponding field exists in the initial financial voucher template, generating a field corresponding to the transaction type according to the generation rule, and splicing the field and the initial financial voucher template to obtain the target financial voucher template.
4. The method of claim 3, wherein assigning the target financial document template according to the document information to obtain the target financial document comprises:
acquiring a configuration sequence of the target financial template according to the generation rule;
and obtaining an assignment sequence corresponding to each sub-transaction type, and assigning the transaction records corresponding to each sub-transaction type to the target financial template in sequence based on the assignment sequence to obtain the target financial voucher.
5. The method according to any one of claims 1-4, further comprising:
sending a confirmation instruction to a user terminal to determine the reasonability of the target financial voucher;
and when a reasonable response which is determined and sent by the user terminal is received, storing the financial certificate in a preset space in an XML file format.
6. A financial instrument generating apparatus, comprising:
the device is used for acquiring identity information uploaded by a user terminal, performing identity authentication based on the identity information, and sending image uploading prompt information to the user terminal when the authentication is passed, wherein the image uploading prompt information is used for prompting a user to upload a document image;
the acquiring unit is used for acquiring bill information based on the bill image and determining the transaction type corresponding to the bill information, wherein the transaction type is loan or claim settlement;
the selecting unit is used for selecting a target financial voucher template corresponding to the transaction type from a financial voucher template library;
the evaluation unit is used for evaluating the target financial voucher template according to the bill information to obtain a target financial voucher, specifically, extracting a transaction record from the bill information, and evaluating the transaction record to a field corresponding to the financial voucher template to obtain the target financial voucher;
when the identity information is a first vein image, in the aspect of performing identity authentication based on the identity information, the apparatus is specifically configured to: analyzing the feature point distribution of the first vein image; performing circular image interception on the first vein image according to M different circle centers to obtain M circular vein images, wherein M is an integer larger than 3; selecting a target vein image from the M circular vein images, wherein the number of feature points contained in the target circular vein image is larger than that of other circular vein images in the M circular vein images; dividing the target circular vein image to obtain N circular rings, wherein the widths of the N circular rings are the same; starting from the circular ring with the smallest radius in the N circular rings, sequentially matching the N circular rings with each vein template for feature points, and accumulating to obtain N matching values; and acquiring the maximum matching value in the accumulated N matching values, and determining that the identity recognition is successful when the maximum matching value is greater than a threshold value.
7. The apparatus of claim 6,
in terms of acquiring the document information, the acquiring unit is specifically configured to:
receiving a document image uploaded by a user terminal;
and performing text recognition on the document image by using a pre-trained text recognition model to obtain document information corresponding to the document image.
8. The apparatus according to claim 6 or 7,
in the aspect of selecting a target financial voucher template corresponding to the transaction type from a financial voucher template library, the selecting unit is specifically configured to:
selecting an initial financial voucher template corresponding to the transaction type from a financial voucher template library;
obtaining each sub-transaction type in the transaction types;
and when each sub-transaction type has a corresponding field in the initial financial voucher template, taking the initial financial voucher template as a target financial voucher template corresponding to the transaction type, calling a generation rule corresponding to the transaction type when at least one transaction type exists in each sub-transaction type and no corresponding field exists in the initial financial voucher template, generating a field corresponding to the transaction type according to the generation rule, and splicing the field and the initial financial voucher template to obtain the target financial voucher template.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method according to any one of claims 1-5.
CN201910722482.4A 2019-08-06 2019-08-06 Financial voucher generating method and related product Active CN110490721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910722482.4A CN110490721B (en) 2019-08-06 2019-08-06 Financial voucher generating method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910722482.4A CN110490721B (en) 2019-08-06 2019-08-06 Financial voucher generating method and related product

Publications (2)

Publication Number Publication Date
CN110490721A CN110490721A (en) 2019-11-22
CN110490721B true CN110490721B (en) 2020-11-10

Family

ID=68550093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910722482.4A Active CN110490721B (en) 2019-08-06 2019-08-06 Financial voucher generating method and related product

Country Status (1)

Country Link
CN (1) CN110490721B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046935B (en) * 2019-12-05 2023-08-01 北京子敬科技有限公司 Document generation credential method and device based on machine learning model
CN111523989A (en) * 2020-03-30 2020-08-11 山东浪潮通软信息科技有限公司 Method, system and server for providing prefabricated certificate for target system
CN111461623B (en) * 2020-04-17 2022-11-15 支付宝(杭州)信息技术有限公司 Block chain-based warehouse bill creating method, device and equipment
CN111523298A (en) * 2020-04-21 2020-08-11 北京易点淘网络技术有限公司 Generation method and device of accounting voucher
CN111563741A (en) * 2020-04-30 2020-08-21 中国银行股份有限公司 Transaction certificate generation method, device and system
CN112037069B (en) * 2020-09-01 2023-08-18 中国银行股份有限公司 Fund transfer certificate generation method and device
CN112634005A (en) * 2020-12-30 2021-04-09 上海中通吉网络技术有限公司 Method and device for generating financial certificate and electronic equipment
CN113313492A (en) * 2021-06-24 2021-08-27 中国农业银行股份有限公司 Electronic certificate generation method and related device
CN113779947A (en) * 2021-08-27 2021-12-10 广东轻工职业技术学院 Method, device, equipment and storage medium for automatically generating accounting document

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102044019A (en) * 2010-12-08 2011-05-04 北京物美商业集团股份有限公司 Financial certificate generating system and method
CN103903081B (en) * 2012-12-28 2017-06-30 航天信息软件技术有限公司 The method and system of concerning taxes voucher is generated using the concerning taxes bills data in ERP system
CN109784833A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 A kind of generation method and equipment of income statement
CN110009471A (en) * 2019-04-03 2019-07-12 平安信托有限责任公司 Financial affairs receipt generation method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于特征点的静脉识别算法研究;晁玉忠 郭庆平 廉晓丽;《计算机与数字工程》;20080531;第36卷(第5期);第1-3页 *

Also Published As

Publication number Publication date
CN110490721A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN110490721B (en) Financial voucher generating method and related product
CN112651841B (en) Online business handling method, online business handling device, server and computer readable storage medium
CN108256591B (en) Method and apparatus for outputting information
CN109086317B (en) Risk control method and related device
KR102039989B1 (en) Method and apparatus for extraciting text data from nonlinear text image
EP4163858A1 (en) Systems and methods for automatically identifying a checkout webpage and injecting a virtual token
CN113627145A (en) Method, device, equipment and medium for generating file of parameterized configuration
CN110852719A (en) Electronic contract signing method and device, electronic equipment and storage medium
CN111462388A (en) Bill inspection method and device, terminal equipment and storage medium
CN110992139B (en) Bidding price realizing method and related product
CN110414197B (en) Bank user identity verification method and device based on behavior characteristics
CN109783450B (en) Data processing method and device and computer equipment
CN111767543A (en) Method, device and equipment for determining replay attack vulnerability and readable storage medium
CN112100491A (en) Information recommendation method, device and equipment based on user data and storage medium
CN110992155A (en) Bidding and enclosing processing method and related product
CN111104853A (en) Image information input method and device, electronic equipment and storage medium
KR101557031B1 (en) Method and system for performing image contents registration service
CN115378806A (en) Flow distribution method and device, computer equipment and storage medium
CN112019642B (en) Audio uploading method, device, equipment and storage medium
CN112085469B (en) Data approval method, device, equipment and storage medium based on vector machine model
CN114255134A (en) Account number disassembling method and device and storage medium
CN111080444B (en) Information auditing method and device
CN111770080A (en) Method and device for recovering device fingerprint
CN111767544A (en) Multi-frequency replay attack vulnerability determination method, device, equipment and readable storage medium
CN111324732A (en) Model training method, text processing device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant