CN111683115A - Image recognition-based bill information cloud storage method and system and computer equipment - Google Patents

Image recognition-based bill information cloud storage method and system and computer equipment Download PDF

Info

Publication number
CN111683115A
CN111683115A CN202010351263.2A CN202010351263A CN111683115A CN 111683115 A CN111683115 A CN 111683115A CN 202010351263 A CN202010351263 A CN 202010351263A CN 111683115 A CN111683115 A CN 111683115A
Authority
CN
China
Prior art keywords
cloud server
instruction
local terminal
image recognition
text content
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.)
Granted
Application number
CN202010351263.2A
Other languages
Chinese (zh)
Other versions
CN111683115B (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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202010351263.2A priority Critical patent/CN111683115B/en
Publication of CN111683115A publication Critical patent/CN111683115A/en
Application granted granted Critical
Publication of CN111683115B publication Critical patent/CN111683115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a bill information cloud storage method, a bill information cloud storage system, computer equipment and a storage medium based on image recognition, and relates to an artificial intelligence technology, wherein if a warehouse opening instruction is detected, a bill inlet is controlled to be opened for putting in a plurality of files to be collected; acquiring a file image of a file to be collected, identifying text content corresponding to the file image, and sending the text content to a cloud server for storage; if the first completion instruction is detected, controlling the ticket inlet to be closed; if the fetching instruction is detected, the machine unique identification code and the fetching instruction are sent to a cloud server; if the dynamic password passes the verification, the door is controlled to be opened; and if the total number confirmation instruction is detected, sending the total number confirmation instruction to a cloud server, and controlling the door to be closed. The invention also relates to a block chain technology, which realizes the storage of the text data after the image recognition of the file to be collected to the cloud end, and improves the data security; and the data corresponding to the files to be collected does not need to be inquired quickly before the original files of the files to be collected are sent.

Description

Image recognition-based bill information cloud storage method and system and computer equipment
Technical Field
The invention relates to the technical field of cloud storage, in particular to a bill information cloud storage method and system based on image recognition, computer equipment and a storage medium.
Background
At present, if there is an important document exchange between a business and another business, for example, the important document is an invoice, which is usually invoiced by a seller to a buyer, the invoiced invoice is usually delivered by mail or by manual delivery. Document delivery is carried out by means of mailing or manual delivery, and the following defects exist:
1) error information in a file cannot be acquired in time, generally, a purchaser can check whether the error information exists in the file after receiving an original file, and once the error information exists, the file needs to be conveyed again in a mailing mode or a manual dispatching mode, so that the file efficiency for acquiring correct information is low;
2) before the document is sent by mail or by manpower, or before the document is sent by mail or by manpower, the document may be lost due to various accidental factors, and the data security of the document cannot be ensured.
Disclosure of Invention
The embodiment of the invention provides a bill information cloud storage method, a bill information cloud storage system, a computer device and a storage medium based on image recognition, and aims to solve the problems that in the prior art, invoices are conveyed among enterprises through paper, so that the invoices are easy to lose, the data security of invoice files is low, and the invoice file efficiency for acquiring correct information is low.
In a first aspect, an embodiment of the present invention provides a bill information cloud storage method based on image recognition, which is applied to a local terminal, and includes:
if the warehouse opening instruction is detected, controlling the ticket inlet to be opened for putting a plurality of files to be collected;
acquiring a file image of the file to be collected, identifying text content corresponding to the file image through an OCR image identification model, and sending the text content to a cloud server for storage;
if the first completion instruction is detected, controlling the ticket inlet to be closed;
if a fetching instruction is detected, obtaining a machine unique identification code, and sending the machine unique identification code and the fetching instruction to a cloud server;
acquiring the entered dynamic password, and if the dynamic password passes verification, controlling the door to be opened; and
and if a total number confirmation instruction sent by the user terminal is detected, sending the total number confirmation instruction to a cloud server, and controlling the door to be closed.
In a second aspect, an embodiment of the present invention further provides a bill information cloud storage method based on image recognition, which is applied to a cloud server, and includes:
receiving text content sent by a local terminal to store the text content in a corresponding data table;
receiving a taking-out instruction sent by a local terminal machine and a machine unique identification code corresponding to the local terminal machine, acquiring a user terminal corresponding to the local terminal machine, generating a dynamic password according to the taking-out instruction and the machine unique identification code, and sending the dynamic password to the local terminal machine and the user terminal;
and receiving a total sheet number confirmation instruction sent by the local terminal, and sending the acquired positioning instruction to a user terminal corresponding to the local terminal.
In a third aspect, an embodiment of the present invention provides a cloud storage system for ticket information based on image recognition, which includes at least one local terminal and a cloud server, where the client is configured to execute the cloud storage method for ticket information based on image recognition in the first aspect, and the server is configured to execute the cloud storage method for ticket information based on image recognition in the second aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the cloud storage method for ticket information based on image recognition according to the first aspect when executing the computer program, or implements the cloud storage method for ticket information based on image recognition according to the second aspect when executing the computer program.
In a fifth aspect, the embodiments of the present invention further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the cloud storage method for bill information based on image recognition according to the first aspect, or the computer program, when executed by a processor, causes the processor to execute the cloud storage method for bill information based on image recognition according to the second aspect.
The embodiment of the invention provides a bill information cloud storage method, a bill information cloud storage system, a computer device and a storage medium based on image recognition, wherein if a warehouse opening instruction is detected, a bill inlet is controlled to be opened for putting in a plurality of files to be collected; acquiring a file image of the file to be collected, identifying text content corresponding to the file image through an OCR image identification model, and sending the text content to a cloud server for storage; if the first completion instruction is detected, controlling the ticket inlet to be closed; if a fetching instruction is detected, obtaining a machine unique identification code, and sending the machine unique identification code and the fetching instruction to a cloud server; acquiring the entered dynamic password, and if the dynamic password passes verification, controlling the door to be opened; and if a total number confirmation instruction sent by the user terminal is detected, sending the total number confirmation instruction to a cloud server, and controlling the door to be closed. The method realizes that the text data after the image recognition is carried out on the file to be collected is stored in the cloud, thereby improving the data security; and the data corresponding to the files to be collected can be quickly inquired before the original files of the files to be collected are sent, so that the data transmission efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, 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 invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a bill information cloud storage method based on image recognition according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a bill information cloud storage method based on image recognition according to an embodiment of the present invention;
fig. 3 is a schematic sub-flow diagram of a bill information cloud storage method based on image recognition according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a cloud storage method for bill information based on image recognition according to another embodiment of the present invention;
fig. 5 is a schematic sub-flow diagram of a bill information cloud storage method based on image recognition according to another embodiment of the present invention;
FIG. 6 is a schematic block diagram of a cloud storage system for bill information based on image recognition provided by an embodiment of the present invention;
fig. 7 is a schematic block diagram of a sub-unit of a local terminal in a cloud storage system for bill information based on image recognition according to an embodiment of the present invention;
fig. 8 is a schematic block diagram of a sub-unit of a cloud server in a bill information cloud storage system based on image recognition according to an embodiment of the present invention;
FIG. 9 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In order to more clearly understand the technical solution of the present application, the terminal related to the present application is introduced below, where the technical solution is described in terms of both the local terminal and the cloud server. Steps S110 to S160 describe the technical solution from the perspective of the local terminal, and steps S210 to S230 describe the technical solution from the perspective of the cloud server.
The first local terminal, which may be understood as a special ticket cloud storage terminal in implementation, is disposed at each fixed network, for example, the special ticket cloud storage terminal is used to collect invoices issued by the car maintenance shop after receiving the insurance claim repair fund of the insurance company, and the special ticket cloud storage terminals are disposed at the car maintenance shop.
And the second is a cloud server which is used for parking the text content sent by the local terminal. And the dynamic password can be correspondingly generated according to the machine unique identification code of the local terminal machine and the fetching instruction and then is sent to the local terminal machine and the user terminal. The positioning instruction can be sent to the user terminal corresponding to the local terminal, and real-time positioning data uploaded by the user terminal can be received.
And thirdly, the user terminal, namely an intelligent terminal (such as a smart phone, a tablet personal computer and the like) used by the user is provided with a special ticket cloud cabin applet, and the user can check the dynamic password sent by the cloud server and upload the real-time positioning data to the cloud server through a user interface of the special ticket cloud cabin applet of the user terminal.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a bill information cloud storage method based on image recognition according to an embodiment of the present invention; fig. 2 is a schematic flow chart of a cloud storage method for bill information based on image recognition according to an embodiment of the present invention, where the cloud storage method for bill information based on image recognition is applied to a local terminal, and the method is executed by application software installed in the local terminal.
As shown in FIG. 2, the method relates to artificial intelligence technology, and comprises steps S110-S160.
S110, if the warehouse opening instruction is detected, controlling the ticket inlet to be opened for putting a plurality of files to be collected.
In this embodiment, the documents to be collected are invoices (such as value-added tax special invoices or value-added tax general invoices). For example, when a local terminal (i.e., a special ticket cloud storage terminal) is deployed in each car maintenance shop, and when a financial staff of the car maintenance shop makes an invoice according to payment information of an operating company (generally, an insurance company) corresponding to the local terminal, the financial staff of the car maintenance shop clicks a ticket storage key (which may be an entity key or a virtual key on a touch screen of the local terminal) arranged on the local terminal after making the invoice, the ticket storage key can trigger a billing instruction.
When the local terminal detects the opening instruction, controlling the opening of the ticket inlet; at the moment, financial staff of the automobile maintenance shop can put the invoices into the local terminal machine through the invoice inlet (wherein 1-N invoices are put in each time), and the invoices which are put into the local terminal machine can be transmitted to the storage area (for example, a rectangular box with the section size slightly larger than the size of a single invoice) due to the fact that a transmission mechanism of a conveyor belt is arranged in the local terminal machine and right opposite to the invoice inlet.
S120, acquiring a file image of the file to be collected, identifying text content corresponding to the file image through an OCR image identification model, and sending the text content to a cloud server for storage.
In this embodiment, an image recognition device (e.g., a camera) is disposed above the storage area in the local terminal, and may capture the invoice information of the invoice to implement local text recognition of the invoice information at the local terminal to obtain text content, or the local terminal uploads the captured invoice image to a cloud server for image recognition to extract the text content of the invoice.
In specific implementation, the OCR image recognition model can be stored on the local terminal, and when the file image of the file to be collected is collected through the camera, the file image can be recognized through the OCR image recognition model to obtain the corresponding text content. The CR technology is an abbreviation for Optical Character Recognition (Optical Character Recognition), and is a computer input technology that converts characters of various bills, newspapers, books, manuscripts, and other printed matters into image information by an Optical input method such as scanning, and then converts the image information into usable computer information by using a Character Recognition technology. Can be applied to the fields of inputting and processing bank notes, a large amount of text data, file files and documentaries.
After the text content corresponding to the file image is identified and acquired through the OCR image identification model, the text content is assembled into text data corresponding to the text content on a local terminal machine and then uploaded to a cloud server.
In an embodiment, the text content may be sent to a blockchain node for storage, and sharing of information between different platforms is achieved through blockchains.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
In one embodiment, as shown in fig. 3, step S120 includes:
s121, acquiring the invoicing date and the taxpayer identification number of the seller included in the text content, and carrying out serial combination on the invoicing date and the taxpayer identification number of the seller to generate a current serial number;
s122, acquiring the serial numbers stored by the cloud server corresponding to the invoicing date, and judging whether the serial numbers identical to the current serial number exist in the serial numbers stored by the cloud server corresponding to the invoicing date;
s123, if the serial number which is the same as the current serial number does not exist in the stored serial numbers corresponding to the invoicing date, the cloud server correspondingly creates a current data table by taking the current serial number as a table name;
s124, correspondingly storing the text content to a current data table according to the field name, and sending the current data table to a cloud server;
and S125, if the serial number which is the same as the current serial number exists in the stored serial numbers corresponding to the billing dates by the cloud server, sending the text content to the cloud server so as to store the text content in a target data table corresponding to the current serial number in the cloud server according to the field name.
In this embodiment, after the image recognition device of the local terminal performs text recognition on each inserted invoice, the core data of the general invoice is included in the text content. At this time, in order to store text contents corresponding to invoices issued by the same seller (i.e., a car repair shop) on the same day in the same data table, it is necessary to determine whether or not the cloud server has a serial number identical to the current serial number among the serial numbers stored corresponding to the invoicing dates.
And if the serial number which is the same as the current serial number does not exist in the stored serial numbers corresponding to the invoicing date by the cloud server, correspondingly creating a current data table in a storage area of the local terminal machine by taking the current serial number as a table name, correspondingly storing the text content to the current data table according to the field name, and then sending the current data table to the cloud server. The process is that the text content is stored in a storage area of the local terminal machine and then sent to the cloud server for storage.
And if the serial number which is the same as the current serial number does not exist in the stored serial numbers corresponding to the billing dates by the cloud server, sending the text content to the cloud server so as to store the text content in a target data table corresponding to the current serial number in the cloud server according to the field name. The text content is directly sent to the target data table corresponding to the cloud server for storage, all data under the same serial number are stored in the same data table, the data table corresponding to the serial number is not required to be repeatedly created in a local storage area of the special ticket cloud terminal and then sent to the cloud server to cover the data table with the same table name, and the text content is guaranteed to be accurately stored and not lost.
In an embodiment, step S120 is followed by:
and if a text content verification passing instruction sent by the cloud server is received, controlling to play first voice prompt information for prompting that the file is verified successfully and inputting the file to be collected continuously.
In this embodiment, after the text content is sent to the cloud server for storage, the cloud server may check specific contents of several preset field names, for example, check whether the name of the purchasing party and the tax payer identification number of the purchasing party are correct (i.e., determine whether the name of the purchasing party is consistent with the name of the operating company corresponding to the local terminal and the tax payer identification number of the purchasing party is consistent with the tax payer identification number of the operating company corresponding to the local terminal). And when the cloud server passes the verification of the text content and sends a text content verification passing instruction to the local terminal, the local terminal controls the playing of the first voice prompt information of the file to be collected, wherein the first voice prompt information is successfully verified and is continuously input.
And S130, if the first finishing instruction is detected, controlling the ticket inlet to be closed.
In this embodiment, after the financial staff of the auto repair shop finishes putting a single invoice or multiple invoices into the local terminal machine through the ticket inlet, the financial staff can click the completion virtual key on the touch screen of the local terminal machine to trigger the first completion instruction, so as to control the closing of the ticket inlet. The financial staff of a general automobile maintenance shop only puts in one invoice at a time, the local terminal machine puts in another invoice through voice prompt after the put-in invoice is recognized by a finished text, and after the financial staff of the automobile maintenance shop finishes all invoices needing to be put in at this time, a finishing virtual key on a touch screen of the local terminal machine is clicked to trigger a first finishing instruction, so that the closing of a ticket inlet is controlled. By effectively prompting when the next invoice is put in and when the putting is finished in the putting process, the ordered and effective implementation of the text recognition process can be ensured, and the recognition error rate is reduced.
And S140, if the fetching instruction is detected, obtaining the unique machine identification code, and sending the unique machine identification code and the fetching instruction to a cloud server.
In the present embodiment, steps S110-S130 are the ticket stock process for the financial staff of the auto repair shop. Since the operation company corresponding to the local terminal machine assigns at least one docking operator for the auto repair shop to retrieve the invoice from the local terminal machine, a unique user terminal can be bound for the local terminal machine. Namely, the intelligent terminal used by the docking personnel is loaded with a special ticket cloud cabin applet on the intelligent terminal, and when the docking personnel arrives at the site of the automobile maintenance shop and starts to operate ticket fetching, a ticket fetching key (which can be an entity key or a virtual key on a touch screen of the local terminal) arranged on the local terminal is clicked, so that a fetching instruction can be triggered.
And after the taking-out instruction of the local terminal machine is triggered, the taking-out instruction and the machine unique identification code corresponding to the local terminal machine are sent to the cloud server. The machine unique identification code is a unique machine identification code (similar to a serial number of a smart phone) possessed by the local terminal, for example, the machine unique identification code of the local terminal is SZ-0305-00001, which represents a machine unique identification code corresponding to the local terminal arranged in a certain car maintenance shop.
S150, acquiring the entered dynamic password, and if the dynamic password passes the verification, controlling the door to be opened.
In this embodiment, if the cloud server obtains the corresponding bound user terminal according to the machine unique identifier at this time, the corresponding dynamic password is generated according to the fetch instruction and the machine unique identifier, and then the dynamic password is sent to the local terminal and the user terminal corresponding to the machine unique identifier.
At the moment, the butt personnel can obtain the dynamic password by checking the special ticket cloud cabin applet on the user terminal and input the dynamic password on the input interface on the touch screen of the local terminal. And when the dynamic password input by the docking personnel is consistent with the dynamic password which is received by the local terminal machine, is from the cloud server and is stored in the local terminal machine, the dynamic password passes the verification and controls the opening of the door. At this time, the docking personnel can take out all the stored files to be collected from the storage area of the local terminal. At the moment, only the personnel holding the user terminal bound with the local terminal can operate to open the local terminal and take away the file to be collected, thereby effectively ensuring the data security of the file to be collected.
In an embodiment, step S150 is followed by:
and acquiring the total number of the files to be collected sent by the cloud server, and controlling and playing second voice prompt information for confirming the total number of the files on the user terminal.
In this embodiment, the dockee may take the invoice at regular intervals or at random intervals. In order to facilitate prompting of the total number of the files to be collected, which need to be taken away by the butt-joint staff, the last ticket taking time point of the butt-joint staff can be obtained by the cloud server, the number of data between the last ticket taking time point and the current system time point is obtained according to the stored data table so as to count the total number of the files to be collected, and once the local terminal detects a taking-out instruction, the total number of the files to be collected can be also displayed on the touch screen. And the butt personnel takes out all the files to be collected in the storage area at the moment, counts the total number manually, compares the total number with the total number prompted on the touch screen to determine whether the total number is the same, and controls to play second voice prompt information which requests to click a confirmation button on the special ticket cloud cabin small program if the total number is confirmed to be the same.
And S160, if a total number confirmation instruction sent by the user terminal is detected, sending the total number confirmation instruction to a cloud server, and controlling the door to be closed.
In this embodiment, when the dockee clicks the confirmation button on the touch screen of the local terminal, it indicates that the total number of the documents to be collected has been checked to be correct and that all the documents to be collected have been taken. At the moment, the local terminal sends the total number confirmation instruction to the cloud server and controls the bin gate to be closed. The user checks the total number of the files to be collected on site, so that data can be effectively checked in each file taking process, and errors caused by non-checking in the ticket taking process are reduced.
Fig. 4 is a flowchart of a cloud storage method for bill information based on image recognition according to another embodiment of the present invention, where the cloud storage method is applied to a cloud server, and the method is executed by application software installed in the cloud server. As shown in fig. 4, the image recognition-based bill information cloud storage method of the present embodiment includes steps S210 to S230.
S210, receiving the text content sent by the local terminal to store the text content in the corresponding data table.
In this embodiment, after the local terminal identifies the text of each file to be collected, which is stored in the storage area, the local terminal uploads the corresponding text content to the cloud server, and the cloud server stores the text content uploaded by the local terminal to the corresponding data table. By storing the text content of each file to be collected, the file history data is effectively stored, and subsequent data retrieval and history data tracing are facilitated.
In one embodiment, as shown in fig. 5, step S210 includes:
s211, acquiring corresponding invoicing date according to the text content;
s212, acquiring the serial number which is stored corresponding to the invoicing date, and sending the serial number which is stored corresponding to the invoicing date to the local terminal;
s213, receiving the current data table or text content sent by the local terminal, and storing the current data table or text content into the corresponding storage area.
In this embodiment, after the local terminal receives the serial number stored in the cloud server corresponding to the billing date, the local terminal determines whether the serial number identical to the current serial number exists in the serial numbers stored in the cloud server corresponding to the billing date. And acquiring the invoicing date and the taxpayer identification number of the seller included in the text content, and carrying out serial combination on the invoicing date and the taxpayer identification number of the seller to generate the current serial number.
And if no serial number which is the same as the current serial number exists in the stored serial numbers corresponding to the invoicing date, correspondingly creating a current data table by taking the current serial number as a table name, correspondingly storing the text content to the current data table according to the field name, and sending the current data table to a cloud server by the local terminal. In this case, the cloud server receives the current data table transmitted by the local terminal.
And if the serial number which is the same as the current serial number exists in the stored serial numbers corresponding to the invoicing dates, sending the text content to a cloud server so as to store the text content in a target data table which corresponds to the current serial number in the cloud server, and storing the text content according to the field name. In this case, the cloud server receives the text content transmitted by the local terminal.
And if the cloud server receives the current data table sent by the terminal machine, directly storing the current data table into a storage folder corresponding to the local terminal machine. And if the text content sent by the terminal is received by the cloud server, storing the text content into a target data table corresponding to the current serial number in the cloud server according to the field name. By the cloud data storage mode, data safety can be effectively ensured.
S220, receiving a taking-out instruction sent by the local terminal machine and a machine unique identification code corresponding to the local terminal machine, obtaining a user terminal corresponding to the local terminal machine, generating a dynamic password according to the taking-out instruction and the machine unique identification code, and sending the dynamic password to the local terminal machine and the user terminal.
In this embodiment, since the operation company corresponding to the local terminal machine assigns at least one docking operator for the auto repair shop to go to the local terminal machine to retrieve the invoice, a unique user terminal can be bound to the local terminal machine. Namely, the intelligent terminal used by the docking personnel is loaded with a special ticket cloud cabin applet on the intelligent terminal, and when the docking personnel arrives at the site of the automobile maintenance shop and starts to operate ticket fetching, a ticket fetching key (which can be an entity key or a virtual key on a touch screen of the local terminal) arranged on the local terminal is clicked, so that a fetching instruction can be triggered.
And after the taking-out instruction of the local terminal machine is triggered, the taking-out instruction and the machine unique identification code corresponding to the local terminal machine are sent to the cloud server. And at the moment, the cloud server acquires the corresponding bound user terminal according to the machine unique identification code, and generates a corresponding dynamic password according to the machine unique identification code and the fetching instruction so as to send the dynamic password to the user terminal and the local terminal corresponding to the machine unique identification code. At the moment, the butt personnel can obtain the dynamic password by checking the special ticket cloud cabin applet on the user terminal and input the dynamic password on the input interface on the touch screen of the local terminal.
When the dynamic password input by the docking personnel is consistent with the dynamic password received by the local terminal and stored locally, if the dynamic password passes the verification, the local terminal controls the door to be opened. At this time, the docking personnel can take out all the files to be collected stored in the storage area from the storage area. The cloud server generates the dynamic password and sends the dynamic password to the local terminal machine and the user terminal, so that the local terminal machine can be opened and take away the original document of the file to be collected only by the corresponding binding user, and the data security is improved.
And S230, receiving a total number confirmation instruction sent by the local terminal machine, and sending the acquired positioning instruction to a user terminal corresponding to the local terminal machine.
In this embodiment, when the cloud server receives the total number confirmation instruction sent by the terminal, it indicates that the docker has taken away all the files to be collected, and at this time, a request for obtaining real-time positioning may be initiated to the docker, that is, the obtained positioning instruction is sent to the user terminal corresponding to the local terminal. The cloud server initiates a positioning acquisition instruction for acquiring real-time positioning for the user terminal, so that the subsequent delivery process of the file to be collected can be effectively monitored in real time, and the delivery path is saved.
In an embodiment, step S230 is followed by:
judging whether an uploading confirmation positioning instruction corresponding to the acquisition positioning instruction is received or not;
if a positioning instruction which is confirmed to be uploaded and corresponds to the positioning instruction is received, acquiring real-time positioning data uploaded by a user terminal;
and if the confirmation uploading positioning instruction corresponding to the acquisition positioning instruction is not received, sending positioning prompt information for prompting the user terminal to upload positioning data.
In this embodiment, when the cloud server sends the positioning acquisition instruction to the corresponding user terminal, a pop-up window displays a prompt message indicating whether to approve uploading of the real-time positioning data on an interface of the user terminal. At this time, the user may click the agree virtual button or the disagree virtual button below the prompt.
And when the user clicks the agreement virtual button, the confirmation uploading positioning instruction is triggered and then sent to the cloud server. And when the server receives a positioning instruction which is confirmed to be uploaded and corresponds to the positioning instruction, acquiring the real-time positioning data uploaded by the user terminal.
When the user clicks the disagreement button, the cloud server does not receive the confirmation uploading positioning instruction corresponding to the acquisition positioning instruction, and at the moment, the cloud server continuously sends positioning prompt information for prompting the user terminal to upload positioning data to the user terminal until the user agrees to upload real-time positioning data.
When the user terminal uploads the real-time positioning data to the cloud server, all motion paths of the butt joint personnel taking away the files to be collected can be effectively monitored, the data safety of the files to be collected is ensured, and the loss of the collected files is avoided.
The method realizes that the text data after the image recognition is carried out on the file to be collected is stored in the cloud, thereby improving the data security; and the data corresponding to the files to be collected can be quickly inquired before the original files of the files to be collected are sent, so that the data transmission efficiency is improved.
The embodiment of the invention also provides a bill information cloud storage system based on image recognition, which comprises at least one local terminal and a cloud server, wherein the local terminal is used for executing the method which can be executed on the local terminal in the bill information cloud storage method based on image recognition, and the cloud server is used for executing the method which is executed on the cloud server in the bill information cloud storage method based on image recognition. Specifically, referring to fig. 6, fig. 6 is a schematic block diagram of a cloud storage system for bill information based on image recognition according to an embodiment of the present invention.
As shown in fig. 6, the image recognition based ticket information cloud storage system 100 includes a local terminal 101 and a cloud server 102.
Wherein, the local terminal machine 101 includes: the system comprises an opening control unit 110, a text recognition unit 120, a first closing control unit 130, a fetch instruction sending unit 140, a dynamic password verification unit 150 and a second closing control unit 160.
And the opening control unit 110 is configured to control the ticket inlet to be opened for putting in a plurality of documents to be collected if the opening instruction is detected.
In this embodiment, the documents to be collected are invoices (such as value-added tax special invoices or value-added tax general invoices). For example, when a local terminal (i.e., a special ticket cloud storage terminal) is deployed in each car maintenance shop, and when a financial staff of the car maintenance shop makes an invoice according to payment information of an operating company (generally, an insurance company) corresponding to the local terminal, the financial staff of the car maintenance shop clicks a ticket storage key (which may be an entity key or a virtual key on a touch screen of the local terminal) arranged on the local terminal after making the invoice, the ticket storage key can trigger a billing instruction.
When the local terminal detects the opening instruction, controlling the opening of the ticket inlet; at the moment, financial staff of the automobile maintenance shop can put the invoices into the local terminal machine through the invoice inlet (wherein 1-N invoices are put in each time), and the invoices which are put into the local terminal machine can be transmitted to the storage area (for example, a rectangular box with the section size slightly larger than the size of a single invoice) due to the fact that a transmission mechanism of a conveyor belt is arranged in the local terminal machine and right opposite to the invoice inlet.
The text recognition unit 120 is configured to acquire a file image of the file to be collected, recognize text content corresponding to the file image through an OCR image recognition model, and send the text content to a cloud server for storage.
In this embodiment, an image recognition device (e.g., a camera) is disposed above the storage area in the local terminal, and may capture the invoice information of the invoice to implement local text recognition of the invoice information at the local terminal to obtain text content, or the local terminal uploads the captured invoice image to a cloud server for image recognition to extract the text content of the invoice.
In specific implementation, the OCR image recognition model can be stored on the local terminal, and when the file image of the file to be collected is collected through the camera, the file image can be recognized through the OCR image recognition model to obtain the corresponding text content. The CR technology is an abbreviation for Optical Character Recognition (Optical Character Recognition), and is a computer input technology that converts characters of various bills, newspapers, books, manuscripts, and other printed matters into image information by an Optical input method such as scanning, and then converts the image information into usable computer information by using a Character Recognition technology. Can be applied to the fields of inputting and processing bank notes, a large amount of text data, file files and documentaries.
After the text content corresponding to the file image is identified and acquired through the OCR image identification model, the text content is assembled into text data corresponding to the text content on a local terminal machine and then uploaded to a cloud server.
In one embodiment, as shown in fig. 7, the text recognition unit 120 includes:
the current running number generating unit 121 is configured to obtain an invoicing date and a taxpayer identification number of a seller included in the text content, and generate a current running number by combining the invoicing date and the taxpayer identification number of the seller in series;
the serial number comparison unit 122 is configured to acquire a serial number stored by the cloud server corresponding to the billing date, and determine whether the serial number identical to the current serial number exists in the serial numbers stored by the cloud server corresponding to the billing date;
a data table creating unit 123, configured to, if the serial number that is the same as the current serial number does not exist in the stored serial numbers corresponding to the invoicing dates of the cloud server, create a current data table with the current serial number as a table name;
a data table sending unit 124, configured to correspondingly store the text content to a current data table according to a field name, and send the current data table to a cloud server;
and the text content sending unit 125 is configured to send the text content to the cloud server if the serial number identical to the current serial number exists in the stored serial numbers corresponding to the billing dates by the cloud server, so that the text content is stored in a target data table corresponding to the current serial number in the cloud server and is stored according to the field name.
In this embodiment, after the image recognition device of the local terminal performs text recognition on each inserted invoice, the core data of the general invoice is included in the text content. At this time, in order to store text contents corresponding to invoices issued by the same seller (i.e., a car repair shop) on the same day in the same data table, it is necessary to determine whether or not the cloud server has a serial number identical to the current serial number among the serial numbers stored corresponding to the invoicing dates.
And if the serial number which is the same as the current serial number does not exist in the stored serial numbers corresponding to the invoicing date by the cloud server, correspondingly creating a current data table in a storage area of the local terminal machine by taking the current serial number as a table name, correspondingly storing the text content to the current data table according to the field name, and then sending the current data table to the cloud server. The process is that the text content is stored in a storage area of the local terminal machine and then sent to the cloud server for storage.
And if the serial number which is the same as the current serial number does not exist in the stored serial numbers corresponding to the billing dates by the cloud server, sending the text content to the cloud server so as to store the text content in a target data table corresponding to the current serial number in the cloud server according to the field name. The text content is directly sent to the target data table corresponding to the cloud server for storage, all data under the same serial number are stored in the same data table, the data table corresponding to the serial number is not required to be repeatedly created in a local storage area of the special ticket cloud terminal and then sent to the cloud server to cover the data table with the same table name, and the text content is guaranteed to be accurately stored and not lost.
In one embodiment, the local terminal 101 further comprises:
and the first voice prompt unit is used for controlling and playing first voice prompt information which is used for prompting that the file is successfully verified and continuously inputting the file to be collected if a text content verification passing instruction sent by the cloud server is received.
In this embodiment, after the text content is sent to the cloud server for storage, the cloud server may check specific contents of several preset field names, for example, check whether the name of the purchasing party and the tax payer identification number of the purchasing party are correct (i.e., determine whether the name of the purchasing party is consistent with the name of the operating company corresponding to the local terminal and the tax payer identification number of the purchasing party is consistent with the tax payer identification number of the operating company corresponding to the local terminal). And when the cloud server passes the verification of the text content and sends a text content verification passing instruction to the local terminal, the local terminal controls the playing of the first voice prompt information of the file to be collected, wherein the first voice prompt information is successfully verified and is continuously input.
The first closing control unit 130 is configured to control the ticket inlet to close if the first completion instruction is detected.
In this embodiment, after the financial staff of the auto repair shop finishes putting a single invoice or multiple invoices into the local terminal machine through the ticket inlet, the financial staff can click the completion virtual key on the touch screen of the local terminal machine to trigger the first completion instruction, so as to control the closing of the ticket inlet. The financial staff of a general automobile maintenance shop only puts in one invoice at a time, the local terminal machine puts in another invoice through voice prompt after the put-in invoice is recognized by a finished text, and after the financial staff of the automobile maintenance shop finishes all invoices needing to be put in at this time, a finishing virtual key on a touch screen of the local terminal machine is clicked to trigger a first finishing instruction, so that the closing of a ticket inlet is controlled. By effectively prompting when the next invoice is put in and when the putting is finished in the putting process, the ordered and effective implementation of the text recognition process can be ensured, and the recognition error rate is reduced.
A fetch instruction sending unit 140, configured to, if a fetch instruction is detected, obtain a machine unique identification code, and send the machine unique identification code and the fetch instruction to a cloud server.
In the present embodiment, the processes performed by the opening control unit 110, the text recognition unit 120, and the closing first control unit 130 are ticket stocking processes of financial staff of a car repair shop. Since the operation company corresponding to the local terminal machine assigns at least one docking operator for the auto repair shop to retrieve the invoice from the local terminal machine, a unique user terminal can be bound for the local terminal machine. Namely, the intelligent terminal used by the docking personnel is loaded with a special ticket cloud cabin applet on the intelligent terminal, and when the docking personnel arrives at the site of the automobile maintenance shop and starts to operate ticket fetching, a ticket fetching key (which can be an entity key or a virtual key on a touch screen of the local terminal) arranged on the local terminal is clicked, so that a fetching instruction can be triggered.
And after the taking-out instruction of the local terminal machine is triggered, the taking-out instruction and the machine unique identification code corresponding to the local terminal machine are sent to the cloud server. The machine unique identification code is a unique machine identification code (similar to a serial number of a smart phone) possessed by the local terminal, for example, the machine unique identification code of the local terminal is SZ-0305-00001, which represents a machine unique identification code corresponding to the local terminal arranged in a certain car maintenance shop.
And the dynamic password verification unit 150 is configured to obtain the entered dynamic password, and if the dynamic password passes verification, control the door to open.
In this embodiment, if the cloud server obtains the corresponding bound user terminal according to the machine unique identifier at this time, the corresponding dynamic password is generated according to the fetch instruction and the machine unique identifier, and then the dynamic password is sent to the local terminal and the user terminal corresponding to the machine unique identifier.
At the moment, the butt personnel can obtain the dynamic password by checking the special ticket cloud cabin applet on the user terminal and input the dynamic password on the input interface on the touch screen of the local terminal. And when the dynamic password input by the docking personnel is consistent with the dynamic password which is received by the local terminal machine, is from the cloud server and is stored in the local terminal machine, the dynamic password passes the verification and controls the opening of the door. At this time, the docking personnel can take out all the stored files to be collected from the storage area of the local terminal. At the moment, only the personnel holding the user terminal bound with the local terminal can operate to open the local terminal and take away the file to be collected, thereby effectively ensuring the data security of the file to be collected.
In one embodiment, the local terminal 101 further comprises:
and the second voice prompt unit is used for acquiring the total number of the files to be collected sent by the cloud server and controlling and playing second voice prompt information used for confirming the total number of the files on the user terminal.
In this embodiment, the dockee may take the invoice at regular intervals or at random intervals. In order to facilitate prompting of the total number of the files to be collected, which need to be taken away by the butt-joint staff, the last ticket taking time point of the butt-joint staff can be obtained by the cloud server, the number of data between the last ticket taking time point and the current system time point is obtained according to the stored data table so as to count the total number of the files to be collected, and once the local terminal detects a taking-out instruction, the total number of the files to be collected can be also displayed on the touch screen. And the butt personnel takes out all the files to be collected in the storage area at the moment, counts the total number manually, compares the total number with the total number prompted on the touch screen to determine whether the total number is the same, and controls to play second voice prompt information which requests to click a confirmation button on the special ticket cloud cabin small program if the total number is confirmed to be the same.
And the second closing control unit 160 is configured to, if a total number of confirmed sheets instruction sent by the user terminal is detected, send the total number of confirmed sheets instruction to the cloud server, and control the door to be closed.
In this embodiment, when the dockee clicks the confirmation button on the touch screen of the local terminal, it indicates that the total number of the documents to be collected has been checked to be correct and that all the documents to be collected have been taken. At the moment, the local terminal sends the total number confirmation instruction to the cloud server and controls the bin gate to be closed. The user checks the total number of the files to be collected on site, so that data can be effectively checked in each file taking process, and errors caused by non-checking in the ticket taking process are reduced.
The embodiment of the invention provides a bill information cloud storage system based on image recognition, wherein a cloud server 102 comprises: a data storage unit 210, a dynamic password generation unit 220, and an acquisition positioning instruction sending unit 230.
The data storage unit 210 is configured to receive text content sent by the local terminal to store the text content in the corresponding data table.
In this embodiment, after the local terminal identifies the text of each file to be collected, which is stored in the storage area, the local terminal uploads the corresponding text content to the cloud server, and the cloud server stores the text content uploaded by the local terminal to the corresponding data table. By storing the text content of each file to be collected, the file history data is effectively stored, and subsequent data retrieval and history data tracing are facilitated.
In one embodiment, as shown in FIG. 8, the data storage unit 210 includes:
an invoicing date acquiring unit 211 for acquiring a corresponding invoicing date according to the text content;
a serial number sending unit 212, configured to obtain a serial number stored in correspondence to the billing date, and send the serial number stored in correspondence to the billing date to the local terminal;
the data receiving and storing unit 213 is configured to receive a current data table or text content sent by the local terminal, and store the current data table or text content in a corresponding storage area.
In this embodiment, after the local terminal receives the serial number stored in the cloud server corresponding to the billing date, the local terminal determines whether the serial number identical to the current serial number exists in the serial numbers stored in the cloud server corresponding to the billing date. And acquiring the invoicing date and the taxpayer identification number of the seller included in the text content, and carrying out serial combination on the invoicing date and the taxpayer identification number of the seller to generate the current serial number.
And if no serial number which is the same as the current serial number exists in the stored serial numbers corresponding to the invoicing date, correspondingly creating a current data table by taking the current serial number as a table name, correspondingly storing the text content to the current data table according to the field name, and sending the current data table to a cloud server by the local terminal. In this case, the cloud server receives the current data table transmitted by the local terminal.
And if the serial number which is the same as the current serial number exists in the stored serial numbers corresponding to the invoicing dates, sending the text content to a cloud server so as to store the text content in a target data table which corresponds to the current serial number in the cloud server, and storing the text content according to the field name. In this case, the cloud server receives the text content transmitted by the local terminal.
And if the cloud server receives the current data table sent by the terminal machine, directly storing the current data table into a storage folder corresponding to the local terminal machine. And if the text content sent by the terminal is received by the cloud server, storing the text content into a target data table corresponding to the current serial number in the cloud server according to the field name. By the cloud data storage mode, data safety can be effectively ensured.
The dynamic password generating unit 220 is configured to receive a fetch instruction sent by the local terminal machine and the machine unique identifier corresponding to the local terminal machine, obtain the user terminal corresponding to the local terminal machine, generate a dynamic password according to the fetch instruction and the machine unique identifier, and send the dynamic password to the local terminal machine and the user terminal.
In this embodiment, since the operation company corresponding to the local terminal machine assigns at least one docking operator for the auto repair shop to go to the local terminal machine to retrieve the invoice, a unique user terminal can be bound to the local terminal machine. Namely, the intelligent terminal used by the docking personnel is loaded with a special ticket cloud cabin applet on the intelligent terminal, and when the docking personnel arrives at the site of the automobile maintenance shop and starts to operate ticket fetching, a ticket fetching key (which can be an entity key or a virtual key on a touch screen of the local terminal) arranged on the local terminal is clicked, so that a fetching instruction can be triggered.
And after the taking-out instruction of the local terminal machine is triggered, the taking-out instruction and the machine unique identification code corresponding to the local terminal machine are sent to the cloud server. And at the moment, the cloud server acquires the corresponding bound user terminal according to the machine unique identification code, and generates a corresponding dynamic password according to the machine unique identification code and the fetching instruction so as to send the dynamic password to the user terminal and the local terminal corresponding to the machine unique identification code. At the moment, the butt personnel can obtain the dynamic password by checking the special ticket cloud cabin applet on the user terminal and input the dynamic password on the input interface on the touch screen of the local terminal.
When the dynamic password input by the docking personnel is consistent with the dynamic password received by the local terminal and stored locally, if the dynamic password passes the verification, the local terminal controls the door to be opened. At this time, the docking personnel can take out all the files to be collected stored in the storage area from the storage area. The cloud server generates the dynamic password and sends the dynamic password to the local terminal machine and the user terminal, so that the local terminal machine can be opened and take away the original document of the file to be collected only by the corresponding binding user, and the data security is improved.
The acquiring and positioning instruction sending unit 230 is configured to receive a total number of sheets confirmation instruction sent by the local terminal, and send the acquiring and positioning instruction to a user terminal corresponding to the local terminal.
In this embodiment, when the cloud server receives the total number confirmation instruction sent by the terminal, it indicates that the docker has taken away all the files to be collected, and at this time, a request for obtaining real-time positioning may be initiated to the docker, that is, the obtained positioning instruction is sent to the user terminal corresponding to the local terminal. The cloud server initiates a positioning acquisition instruction for acquiring real-time positioning for the user terminal, so that the subsequent delivery process of the file to be collected can be effectively monitored in real time, and the delivery path is saved.
In an embodiment, the cloud server 102 further includes:
the positioning instruction detection unit is used for judging whether an uploading positioning instruction corresponding to the acquired positioning instruction is received or not;
the positioning data acquisition unit is used for acquiring real-time positioning data uploaded by the user terminal if a positioning command for confirming uploading corresponding to the positioning command is received;
and the positioning prompt information sending unit is used for sending positioning prompt information for prompting the user terminal to upload the positioning data if the positioning command corresponding to the acquired positioning command is not received.
In this embodiment, when the cloud server sends the positioning acquisition instruction to the corresponding user terminal, a pop-up window displays a prompt message indicating whether to approve uploading of the real-time positioning data on an interface of the user terminal. At this time, the user may click the agree virtual button or the disagree virtual button below the prompt.
And when the user clicks the agreement virtual button, the confirmation uploading positioning instruction is triggered and then sent to the cloud server. And when the server receives a positioning instruction which is confirmed to be uploaded and corresponds to the positioning instruction, acquiring the real-time positioning data uploaded by the user terminal.
When the user clicks the disagreement button, the cloud server does not receive the confirmation uploading positioning instruction corresponding to the acquisition positioning instruction, and at the moment, the cloud server continuously sends positioning prompt information for prompting the user terminal to upload positioning data to the user terminal until the user agrees to upload real-time positioning data.
When the user terminal uploads the real-time positioning data to the cloud server, all motion paths of the butt joint personnel taking away the files to be collected can be effectively monitored, the data safety of the files to be collected is ensured, and the loss of the collected files is avoided.
The system realizes that the text data after the image recognition is carried out on the file to be collected is stored in the cloud, thereby improving the data security; and the data corresponding to the files to be collected can be quickly inquired before the original files of the files to be collected are sent, so that the data transmission efficiency is improved.
The image recognition-based ticket information cloud storage system can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in fig. 9.
Referring to fig. 9, fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device 500 may be a terminal or a server. The terminal can be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 9, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform a ticket information cloud storage method based on image recognition.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the nonvolatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be caused to execute a ticket information cloud storage method based on image recognition.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 500 to which aspects of the present invention may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to run the computer program 5032 stored in the memory, so as to implement the method for cloud storage of ticket information based on image recognition in the local terminal disclosed in the embodiment of the present invention, or implement the method for cloud storage of ticket information based on image recognition in the cloud server disclosed in the embodiment of the present invention.
Those skilled in the art will appreciate that the embodiment of a computer device illustrated in fig. 9 does not constitute a limitation on the specific construction of the computer device, and that in other embodiments a computer device may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are consistent with those of the embodiment shown in fig. 9, and are not described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable gate arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program, when executed by the processor, implements the method for executing the image recognition-based ticket information cloud storage method disclosed in the embodiments of the present invention in the local terminal, or the computer program, when executed by the processor, implements the method for executing the image recognition-based ticket information cloud storage method disclosed in the embodiments of the present invention in the cloud server.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, 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 executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
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 of the present invention.
In addition, functional units in the embodiments of the present invention 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 can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including 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 according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A bill information cloud storage method based on image recognition is characterized by being applied to a local terminal and comprising the following steps:
if the warehouse opening instruction is detected, controlling the ticket inlet to be opened for putting a plurality of files to be collected;
acquiring a file image of the file to be collected, identifying text content corresponding to the file image through an OCR image identification model, and sending the text content to a cloud server for storage;
if the first completion instruction is detected, controlling the ticket inlet to be closed;
if a fetching instruction is detected, obtaining a machine unique identification code, and sending the machine unique identification code and the fetching instruction to a cloud server;
acquiring the entered dynamic password, and if the dynamic password passes verification, controlling the door to be opened; and
and if a total number confirmation instruction sent by the user terminal is detected, sending the total number confirmation instruction to a cloud server, and controlling the door to be closed.
2. The image recognition-based bill information cloud storage method according to claim 1, wherein the sending the text content to a cloud server for storage comprises:
acquiring invoicing date and seller tax payer identification number included in the text content, and performing serial combination on the invoicing date and the seller tax payer identification number to generate a current serial number;
acquiring the serial numbers which are stored by the cloud server and correspond to the invoicing date, and judging whether the serial numbers which are the same as the current serial numbers exist in the serial numbers which are stored by the cloud server and correspond to the invoicing date;
if the serial number which is the same as the current serial number does not exist in the stored serial numbers corresponding to the invoicing date, the cloud server correspondingly creates a current data table by taking the current serial number as a table name;
correspondingly storing the text content to a current data table according to the field name, and sending the current data table to a cloud server;
and if the serial number which is the same as the current serial number exists in the stored serial numbers corresponding to the billing dates by the cloud server, sending the text content to the cloud server so as to store the text content in a target data table corresponding to the current serial number in the cloud server according to the field name.
3. The image recognition-based bill information cloud storage method according to claim 2, further comprising:
and if a text content verification passing instruction sent by the cloud server is received, controlling to play first voice prompt information for prompting that the file is verified successfully and inputting the file to be collected continuously.
4. The image recognition-based bill information cloud storage method according to claim 1, wherein the acquiring of the entered dynamic password, if the dynamic password is verified, and after the door is controlled to be opened, the method further comprises:
and acquiring the total number of the files to be collected sent by the cloud server, and controlling and playing second voice prompt information for confirming the total number of the files on the user terminal.
5. The image recognition-based bill information cloud storage method according to claim 1, wherein the text content is sent to a blockchain node for storage.
6. A bill information cloud storage method based on image recognition is applied to a cloud server and comprises the following steps:
receiving text content sent by a local terminal to store the text content in a corresponding data table;
receiving a taking-out instruction sent by a local terminal machine and a machine unique identification code corresponding to the local terminal machine, acquiring a user terminal corresponding to the local terminal machine, generating a dynamic password according to the taking-out instruction and the machine unique identification code, and sending the dynamic password to the local terminal machine and the user terminal;
and receiving a total sheet number confirmation instruction sent by the local terminal, and sending the acquired positioning instruction to a user terminal corresponding to the local terminal.
7. The cloud storage method for bill information based on image recognition according to claim 6, wherein after the received instruction for confirming total number of sheets sent by the local terminal sends the instruction for obtaining location to the user terminal corresponding to the local terminal, the method further comprises:
judging whether an uploading confirmation positioning instruction corresponding to the acquisition positioning instruction is received or not;
if a positioning instruction which is confirmed to be uploaded and corresponds to the positioning instruction is received, acquiring real-time positioning data uploaded by a user terminal;
and if the confirmation uploading positioning instruction corresponding to the acquisition positioning instruction is not received, sending positioning prompt information for prompting the user terminal to upload positioning data.
8. The image recognition-based bill information cloud storage system is characterized by comprising at least one local terminal and a cloud server, wherein the local terminal is used for executing the image recognition-based bill information cloud storage method according to any one of claims 1 to 5, and the cloud server is used for executing the image recognition-based bill information cloud storage method according to claims 6 to 7.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the image recognition based ticket information cloud storage method according to any one of claims 1 to 5 or implements the image recognition based ticket information cloud storage method according to any one of claims 6 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to execute the image recognition-based ticket information cloud storage method according to any one of claims 1 to 5, or the image recognition-based ticket information cloud storage method according to any one of claims 6 to 7.
CN202010351263.2A 2020-04-28 2020-04-28 Bill information cloud storage method and system based on image recognition and computer equipment Active CN111683115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010351263.2A CN111683115B (en) 2020-04-28 2020-04-28 Bill information cloud storage method and system based on image recognition and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010351263.2A CN111683115B (en) 2020-04-28 2020-04-28 Bill information cloud storage method and system based on image recognition and computer equipment

Publications (2)

Publication Number Publication Date
CN111683115A true CN111683115A (en) 2020-09-18
CN111683115B CN111683115B (en) 2024-04-12

Family

ID=72433897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010351263.2A Active CN111683115B (en) 2020-04-28 2020-04-28 Bill information cloud storage method and system based on image recognition and computer equipment

Country Status (1)

Country Link
CN (1) CN111683115B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446995A (en) * 2018-10-30 2019-03-08 广西科技大学 The treating method and apparatus of billing information
CN109726710A (en) * 2018-12-27 2019-05-07 平安科技(深圳)有限公司 Invoice information acquisition method, electronic device and readable storage medium storing program for executing
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110992156A (en) * 2019-11-08 2020-04-10 浙江工业大学 Intelligent bill storing and taking method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446995A (en) * 2018-10-30 2019-03-08 广西科技大学 The treating method and apparatus of billing information
CN109726710A (en) * 2018-12-27 2019-05-07 平安科技(深圳)有限公司 Invoice information acquisition method, electronic device and readable storage medium storing program for executing
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110992156A (en) * 2019-11-08 2020-04-10 浙江工业大学 Intelligent bill storing and taking method

Also Published As

Publication number Publication date
CN111683115B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
US10769598B1 (en) Systems and methods for remote deposit of checks
US10163102B2 (en) Method and system for using social networks to verify entity affiliations and identities
US7840455B1 (en) System and method of detecting fraudulent or erroneous invoices
US7949587B1 (en) Systems and methods for financial deposits by electronic message
US7970677B1 (en) Systems and methods for financial deposits by electronic message
US20150287005A1 (en) Bar coded monetary transaction system and method
US20160180303A1 (en) System, method, and computer program product for processing payments
US20070124242A1 (en) Funds transfer system
JP2002515993A (en) Invoice purchase order system
US9406053B2 (en) Mobile check issue capture system and method
US20130325706A1 (en) System, method, apparatus, and computer program product for improved payment processing
US11868979B2 (en) System and process for electronic payments
US11393045B2 (en) Methods and systems for efficient delivery of accounting and corporate planning services
US9799026B1 (en) Direct payment method using gateway exception handling
CN110163614A (en) Accounts payable order method of calibration, device, equipment and storage medium
EP1296271A2 (en) Method and apparatus for fulfilling and updating an electronic contract
US20090319424A1 (en) Postal mail deposit agency
EP2613287A1 (en) Computer system and method for initiating payments based on cheques
US10915949B2 (en) Real-time creation of bank account and dispensing welcome kit for the bank account through ATM
CN111784423B (en) Invoice matching method and device, electronic equipment and storage medium
CN116128458B (en) Intelligent automatic auditing system for hospital expense card account reporting
US20090083179A1 (en) Web-accessible payment processing system
CN111683115B (en) Bill information cloud storage method and system based on image recognition and computer equipment
CN114387114A (en) Insurance service platform and management method
US20070156518A1 (en) Invoice verification hub

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