Banknote transaction query auxiliary method and device, equipment and medium

By obtaining banknote images for banknote setting and optical character recognition, identifying crown font size and querying transaction information, and generating a transaction calendar, the problem of low efficiency of banknote transaction query in the existing technology is solved, and efficient transaction information query and management is achieved.

CN120258983APending Publication Date: 2025-07-04CLP FINANCIAL EQUIP SYST (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510323757.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

The prior art is inefficient in banknote transaction query, especially when in reverse querying transaction information of specific crown font sizes, it faces great difficulty and heavy workload.

Method used

By obtaining banknote images, setting banknote boxes and optical character recognition, identifying crown font size, and conducting transaction inquiry at the financial service terminal, and finally visual display to generate a banknote transaction calendar.

Benefits of technology

It improves the efficiency of users in querying bank transaction data, accurately tracks the circulation trajectory of banknote transactions, reduces manual operations, and improves cash processing and risk management capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120258983A_ABST
    Figure CN120258983A_ABST
Patent Text Reader

Abstract

The invention relates to the field of financial science and technology, and discloses a banknote transaction query auxiliary method, device and equipment and a medium, and the method comprises the steps: obtaining a banknote image of a to-be-transacted banknote, carrying out the banknote box setting of the banknote image, and obtaining a target banknote image; performing serial number identification on the target banknote image by using a preset optical character identification technology to obtain a target serial number of the target banknote image; transaction query is carried out at a preset financial service terminal according to the target serial number, and banknote transaction information matched with the target serial number is obtained; and carrying out visual display on the paper money transaction information to obtain a paper money transaction calendar. According to the method, the bank transaction data query efficiency of the user can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fintech, and particularly to a method, device, equipment and medium for assisting in querying paper currency transactions. Background Art

[0002] At the current stage, the People's Bank of China has required all commercial banks to ensure that the serial numbers of RMB banknotes for ATM machines and counter payments are traceable and queryable. In response to this regulatory directive, all banks have implemented the function of storing and querying the serial numbers of RMB banknotes paid in ATM and counter services.

[0003] Current technical means mainly rely on transaction data as the basis for querying in paper currency transaction queries, and provide query and printing services for the different serial-numbered banknotes paid in each transaction. During the storage process of serial numbers, banks usually use transaction records as the primary key and record the corresponding number of serial numbers according to the amount of RMB paid in each transaction. Since most bank transaction data are stored and managed separately by channels, when providing serial number query services, customers need to first provide information such as the approximate time of cash transactions and transaction channels, and banks need to retrieve transaction details in each transaction channel according to this information and check the serial number records of relevant transaction cash one by one. This process makes it difficult for banks to face the scenario of reverse querying transaction information based on specific serial numbers, with a large amount of work.

[0004] Therefore, how to effectively improve the query efficiency of users for bank transaction data has become an urgent problem to be solved. Summary of the Invention

[0005] The present invention provides a method, device, equipment and medium for assisting in querying paper currency transactions, and its main purpose is to solve the technical problem of low query efficiency of users for bank transaction data.

[0006] In a first aspect, to achieve the above object, a method for assisting in querying paper currency transactions provided by the present invention includes:

[0007] Obtain a paper currency image of the paper currency to be traded, perform cassette setting on the paper currency image to obtain a target paper currency image;

[0008] Use a preset optical character recognition technology to perform serial number recognition on the target paper currency image to obtain the target serial number of the target paper currency image;

[0009] Perform transaction query on a preset financial service terminal according to the target serial number to obtain paper currency transaction information matching the target serial number;

[0010] Visually display the paper currency transaction information to obtain a paper currency transaction calendar.

[0011] In a second aspect, the present invention further provides an auxiliary device for querying banknote transactions, including:

[0012] A cash box setting module, configured to obtain a banknote image of the banknote to be transacted, perform cash box setting on the banknote image to obtain a target banknote image;

[0013] A serial number recognition module, configured to use a preset optical character recognition technology to recognize the serial number of the target banknote image to obtain the target serial number of the target banknote image;

[0014] A transaction query module, configured to perform transaction query on a preset financial service terminal according to the target serial number to obtain banknote transaction information matching the target serial number;

[0015] A visualization display module, configured to visually display the banknote transaction information to obtain a banknote transaction calendar.

[0016] In a third aspect, the present invention further provides an electronic device, where the electronic device includes:

[0017] At least one processor; and,

[0018] A memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned auxiliary method for querying banknote transactions.

[0020] In a fourth aspect, the present invention further provides a computer-readable storage medium, where at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is executed by a processor in an electronic device to implement the above-mentioned auxiliary method for querying banknote transactions.

[0021] In the solution implemented by the above-mentioned method, device, computer device, and storage medium for assisting in querying paper currency transactions, a paper currency image of the paper currency to be traded can be obtained through a client, the paper currency image can be set for a cash box to obtain a target paper currency image; the preset optical character recognition technology is used to recognize the serial number of the target paper currency image to obtain the target serial number of the target paper currency image; a transaction query is performed on a preset financial service terminal according to the target serial number to obtain paper currency transaction information matching the target serial number; the paper currency transaction information is visually displayed to obtain a paper currency transaction calendar, and the paper currency transaction calendar is fed back to the client. In the present invention, for a user to query bank transaction data, a paper currency image of the paper currency to be traded can be set for a cash box to obtain a target paper currency image, and then the target serial number corresponding to the target paper currency image is recognized through the preset optical character recognition technology, and a transaction query is performed on the preset financial service terminal through the target serial number, so as to obtain paper currency transaction information corresponding to the target serial number, effectively improving the efficiency of the user querying transaction information. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other accompanying drawings without creative efforts based on these drawings.

[0023] Figure 1 It is a schematic flowchart of a method for assisting in querying paper currency transactions provided by an embodiment of the present invention;

[0024] Figure 2 It is a schematic block diagram of a device for assisting in querying paper currency transactions provided by an embodiment of the present invention;

[0025] Figure 3 It is a schematic structural diagram of an electronic device for implementing a method for assisting in querying paper currency transactions provided by an embodiment of the present invention;

[0026] Figure 4 It is another schematic structural diagram of an electronic device for implementing a method for assisting in querying paper currency transactions provided by an embodiment of the present invention.

[0027] The realization, functional features, and advantages of the objectives of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0028] To enable those skilled in the art to better understand the technical solutions of the present disclosure, and to fully understand and implement how the present disclosure uses technical means to solve technical problems and achieve corresponding technical effects, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. The embodiments of the present disclosure and each feature in the embodiments can be combined with each other without conflict, and the formed technical solutions are all within the protection scope of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product or equipment including a series of steps or units does not necessarily limit to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or equipment.

[0030] The embodiment of the present application provides a method for assisting in querying paper currency transactions. The execution subject of the method for assisting in querying paper currency transactions includes, but is not limited to, at least one of electronic devices such as a server, a terminal, etc. that can be configured to execute the device provided in the embodiment of the present application. In other words, the method for assisting in querying paper currency transactions can be executed by software or hardware installed on a terminal device or a server device. The server includes, but is not limited to: a single server, a server cluster, a cloud server, or a cloud server cluster, etc. The server can be an independent server or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.

[0031] Refer to Figure 1 As shown, it is a schematic flowchart of a method for assisting in querying paper currency transactions provided by an embodiment of the present invention. In this embodiment, the method for assisting in querying paper currency transactions includes:

[0032] S1. Obtain the banknote image of the banknote to be traded, perform cash box setting on the banknote image, and obtain the target banknote image.

[0033] In the embodiments of the present invention, a professional banknote scanning device or a financial device camera is used to obtain the banknote image of the banknote to be traded. Cash box setting is performed according to the denomination value of the traded banknote image. By removing the redundant background and adjusting the banknote direction to enhance the image quality, it is convenient for subsequent related financial business operations such as transaction inquiries.

[0034] In the embodiments of the present invention, a professional banknote scanning device such as a banknote scanner can be used to obtain the banknote image of the banknote to be traded. The optical imaging technology is adopted to irradiate the surface of the banknote with a light source, and then a sensor is used to receive the reflected light, convert the optical signal into an electrical signal, and then generate a banknote image after analog-to-digital conversion. In this way, details such as patterns, characters, and watermarks on the banknote can be clearly obtained, ensuring the accuracy of banknote image acquisition.

[0035] In the embodiments of the present invention, the performing cash box setting on the banknote image to obtain the target banknote image includes:

[0036] Perform image cropping on the banknote image to obtain the first target banknote image;

[0037] Perform denomination cash box setting on the preset financial service terminal according to the first target banknote image to obtain the target cash box;

[0038] Determine the target banknote image corresponding to the banknote transaction information to be queried in the target cash box.

[0039] Specifically, perform image cropping on the obtained banknote image. The image obtained from the professional scanning device may contain some redundant backgrounds such as the edge part of the scanner platform. It is necessary to determine the boundary of the banknote in the image and remove the redundant part. For example, the edge detection algorithm is used to find the edge contour of the banknote, and then cropping is performed according to the contour coordinates to remove the redundant background part, thereby obtaining the first target banknote image.

[0040] Furthermore, key features such as the denomination number and denomination pattern on the banknote image are extracted through banknote image recognition technology. For example, for a 100-yuan Renminbi banknote, there are obvious features such as the pattern of the Great Hall of the People. The key features are identified through the convolutional neural network in deep learning to determine the denomination of the banknote. The cash box is set according to the denomination of the banknote, that is, banknotes of different denominations are allocated to different cash boxes. For example, in a multi-functional automated teller machine, there may be 4 cash boxes, one of which is specifically for storing 100-yuan banknotes, another for storing 50-yuan banknotes, etc., so as to obtain the target cash box of the banknote to be traded.

[0041] Further, in the target cash cassette, when it is necessary to query the preset banknote transaction information, the financial service terminal performs a quick search through the established indexing mechanism and database query statements. For example, in the financial service terminal, each first target banknote image is associated with transaction information such as transaction time and transaction serial number. The target banknote image corresponding to the banknote transaction information to be queried is determined in the target cash cassette according to the first target banknote image, so as to meet the requirements of banknote image query and traceability in financial transactions.

[0042] In the embodiment of the present invention, by acquiring the banknote image to be traded and performing image cropping, the accuracy and high quality of the banknote image are ensured. By setting the cash cassette for the banknote image, banknotes of different denominations can be precisely managed, the cash processing efficiency can be improved, and better data support can be provided for financial services.

[0043] S2. Use the preset optical character recognition technology to recognize the serial number of the target banknote image to obtain the target serial number of the target banknote image.

[0044] In the embodiment of the present invention, the optical character recognition technology refers to graying the target banknote image, converting the color banknote image into a single gray image, intercepting the serial number area image through character segmentation technology, extracting the feature vectors in the image and matching them with the preset serial number template, so as to obtain the template serial number. The target serial number refers to the code on the RMB banknote, usually located in the lower left corner or lower right corner of the front of the banknote, used to indicate the arrangement order of each banknote in the same batch of the same serial number.

[0045] In the embodiment of the present invention, the use of the preset optical character recognition technology to recognize the serial number of the target banknote image to obtain the target serial number of the target banknote image includes:

[0046] Gray the target banknote image to obtain a grayed banknote image;

[0047] Intercept the serial number area image to be recognized in the grayed banknote image, and perform character segmentation on the serial number area image to obtain a plurality of character areas;

[0048] Extract the character feature vectors of the plurality of character areas, and perform serial number matching according to the character feature vectors and the preset serial number character template to obtain the target serial number.

[0049] Specifically, graying the target banknote image means converting it from a color image to a gray image to reduce the interference of color information and simplify the image data. It can be achieved by a simple weighted average method. For example, convert the color value of the color image to a gray value, that is, convert the color banknote image into a single gray image for subsequent processing.

[0050] In the embodiment of the present invention, the character segmentation of the serial number area image to obtain a plurality of character areas includes:

[0051] Performing boundary scanning on the serial number area image to obtain the first column boundary and the first row boundary of the serial number characters;

[0052] Respectively expanding the pixel points of the first column boundary and the first row boundary to obtain the second column boundary and the second row boundary of each serial number character;

[0053] Based on the preset standard width of the serial number characters, respectively correcting the second column boundary and the second row boundary to obtain the column segmentation position and the row segmentation position of the serial number characters;

[0054] Performing character segmentation on the serial number area image according to the column segmentation position and the row segmentation position to obtain a plurality of character areas.

[0055] Specifically, the approximate area where the serial number is located can be determined through the standard specifications and design layout of banknotes, so as to obtain the serial number area image. For example, for RMB banknotes, the serial number is usually located in the lower left corner or the lower right corner of the front of the banknote. Performing column scanning and row scanning on the serial number area image to obtain the first column boundary and the first row boundary of the serial number characters, and expanding the pixel points of the first column boundary and the first row boundary. For example, one pixel point can be expanded to obtain the second column boundary and the second row boundary of each serial number character, and then based on the preset standard width of the serial number characters, respectively correcting the second column boundary and the second row boundary, so as to obtain the column segmentation position and the row segmentation position of the serial number characters, and thus obtain a plurality of character areas.

[0056] Furthermore, the character feature vectors of a plurality of the character areas can be extracted by using the feature extraction layer of a convolutional neural network (CNN). Inputting the character area image into a pre-trained convolutional neural network model to extract character feature vectors at a specific layer (such as the second last layer). The character feature vectors include features such as character shape and character texture. Matching the character feature vectors with a preset serial number character template. The serial number character template is a set of feature sets of known serial number characters, which can come from character samples of standard fonts or statistical features of real banknote serial number samples.

[0057] Among them, when matching the feature vectors of each character in the extracted serial number area with a preset character template, a distance measurement method such as the Euclidean distance can be used to measure the similarity between the feature vectors of the serial number character to be recognized and the template feature vectors. When the similarity reaches a preset threshold, it is considered that the serial number character to be recognized matches the template serial number character, so as to obtain the target serial number.

[0058] In the embodiment of the present invention, the use of optical character recognition technology to identify serial numbers can improve the efficiency of financial business queries, automatically identify serial numbers, reduce manual operations, speed up the cash processing process, and provide a reliable basis for subsequently improving the efficiency of users' query of bank transaction data.

[0059] S3. Perform transaction query at a preset financial service terminal according to the target serial number to obtain banknote transaction information matching the target serial number.

[0060] In an embodiment of the present invention, in a financial service terminal, a transaction query is performed according to a target serial number to obtain paper money transaction information matching the target serial number, wherein the paper money transaction information includes transaction time, transaction location, transaction type, and users involved in the transaction, etc. After the target serial number is input, the financial service terminal will query it with the serial number in the past transaction record to obtain the corresponding paper money transaction information, which is helpful to track the flow of money and provide accurate data support for the bank's cash management, anti-money laundering and other work.

[0061] In the embodiment of the present invention, the transaction query is performed at a preset financial service terminal according to the target serial number to obtain the banknote transaction information matching the target serial number, including:

[0062] Obtaining a transaction information query request including the target serial number, parsing the transaction information query request, and obtaining a transaction query condition;

[0063] A transaction query is performed on the financial service terminal according to the transaction query condition and the target serial number to obtain banknote transaction information matching the target serial number.

[0064] In detail, the transaction information query request may come from a preset information system or query service platform. It may be that the user initiates a query operation for transaction information related to the target serial number through the client interface, and the request generated by the operation contains the serial number information that the user wants to query.

[0065] Furthermore, a transaction information query request containing the target serial number can be received through a network communication protocol, such as the HTTP protocol. When a user sends a request through a web page or a mobile application, a preset server will receive the request, thereby providing query support for subsequent banknote transaction information queries. The obtained request is then parsed using a preset parsing algorithm to extract clear transaction query conditions, which include various information required by the user, such as a specific time range, transaction type, transaction account, etc.

[0066] Further, according to the parsed transaction query conditions and the determined target serial number of the banknote, a comprehensive query operation is performed in the database or transaction record system of the financial service terminal. Using a database query language (such as SQL), these conditions are combined into a query statement. The query will cover various stored transaction information, including transaction time, transaction amount, trading parties, transaction type, etc., while ensuring that the serial number of the banknote included in the filtered records matches the target serial number for subsequent information display, statistical analysis, etc.

[0067] In the embodiment of the present invention, by performing a transaction query on the preset financial service terminal according to the target serial number of the banknote, the transaction circulation track of the target banknote can be accurately traced. At the same time, it helps to resolve cash business disputes, clarify the responsibility attribution. Analyzing the incoming and outgoing situation of banknotes based on the serial number information can strengthen the monitoring of cash transactions and improve the security and query efficiency of the financial system.

[0068] S4. Visualize the banknote transaction information to obtain a banknote transaction calendar.

[0069] In the embodiment of the present invention, the process of visualizing the banknote transaction information to obtain a transaction calendar is to transform complex transaction information into an intuitive calendar form. Through the transaction calendar, the transaction situation of the banknote to be traded can be clearly viewed at a glance, which is convenient for the analysis and management of transaction information.

[0070] In the embodiment of the present invention, the visualization of the banknote transaction information to obtain a banknote transaction calendar includes:

[0071] Statistically analyze the dimensional information of the banknote transaction information;

[0072] Determine the display chart type corresponding to the banknote transaction information in a preset information display correspondence table according to the dimensional information;

[0073] Generate a banknote transaction calendar corresponding to the banknote transaction information according to the display chart type and the dimensional information.

[0074] Specifically, the dimensional information includes a time dimension, a space dimension, an amount dimension, etc. The time dimension includes the banknote transaction time, transaction duration, etc. The space dimension includes the banknote transaction location, transaction channel, etc. The amount dimension includes the banknote transaction amount, etc. Performing multi-dimensional statistical analysis on the banknote transaction information can use data analysis tools (such as Pandas) to complete the statistical work, thereby obtaining the dimensional information of the banknote transaction information.

[0075] In the embodiment of the present invention, the determination of the display chart type corresponding to the banknote transaction information in a preset information display correspondence table according to the dimensional information includes:

[0076] Determine the target type of the paper currency transaction information according to the dimension information;

[0077] Determine the display chart type corresponding to the target type in a preset information display correspondence table.

[0078] Specifically, the information display correspondence table refers to specifying corresponding display chart types according to different dimension information. For example, for the time dimension, if the target type of the paper currency transaction information is determined to be a time series type, a line chart or a bar chart may be used to display the change trend of the transaction amount or the number of transactions over time; for the space dimension, if the target type of the paper currency transaction information is determined to be a spatial distribution type, a map or a bar chart may be used to display the transaction distribution in different regions; for the amount dimension, if the target type of the paper currency transaction information is determined to be an amount distribution type, a histogram may be used to display the transaction distribution in different amount ranges.

[0079] In the embodiments of the present invention, visual display of paper currency transaction information can intuitively present transaction trends, facilitate discovery of transaction peaks and troughs, assist in resource allocation. Secondly, it can clearly display transaction types and amount distributions, contribute to risk assessment and anomaly monitoring, and improve decision-making efficiency.

[0080] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

[0081] As Figure 2 shown, it is a functional module diagram of a paper currency transaction query assistance device provided by an embodiment of the present invention.

[0082] In the embodiments of the present disclosure, a paper currency transaction query assistance device is provided. This paper currency transaction query assistance device corresponds one-to-one with the paper currency transaction query assistance method in the above embodiments. As Figure 2 shown, this paper currency transaction query assistance device 100 can be installed in an electronic device. According to the functions achieved, the paper currency transaction query assistance device 100 includes a cash box setting module 101, a serial number recognition module 102, a transaction query module 103, and a visual display module 104. The detailed description of each functional module is as follows:

[0083] The cash box setting module 101 is configured to obtain a paper currency image of the paper currency to be traded, perform cash box setting on the paper currency image, and obtain a target paper currency image;

[0084] The serial number recognition module 102 is configured to use a preset optical character recognition technology to perform serial number recognition on the target paper currency image, and obtain the target serial number of the target paper currency image;

[0085] A transaction query module 103, configured to perform a transaction query on a preset financial service terminal according to the target serial number, so as to obtain banknote transaction information matching the target serial number;

[0086] A visualization display module 104, configured to perform a visualization display on the banknote transaction information to obtain a banknote transaction calendar.

[0087] In one embodiment, when the cash box setting module 101 executes the cash box setting for the banknote image to obtain a target banknote image, it is used for:

[0088] Performing image cropping on the banknote image to obtain a first target banknote image;

[0089] Performing a denomination cash box setting on a preset financial service terminal according to the first target banknote image to obtain a target cash box;

[0090] Determining a target banknote image corresponding to the banknote transaction information to be queried in the target cash box.

[0091] In one embodiment, when the serial number recognition module 102 executes the serial number recognition on the target banknote image by using a preset optical character recognition technology to obtain the target serial number of the target banknote image, it is used for:

[0092] Performing grayscale processing on the target banknote image to obtain a grayscale banknote image;

[0093] Cropping a serial number area image to be recognized in the grayscale banknote image, and performing character segmentation on the serial number area image to obtain a plurality of character areas;

[0094] Extracting character feature vectors of the plurality of character areas, and performing serial number matching on the character feature vectors and a preset serial number character template to obtain a target serial number.

[0095] In one embodiment, when the serial number recognition module 102 executes the character segmentation on the serial number area image to obtain a plurality of character areas, it is used for:

[0096] Performing boundary scanning on the serial number area image to obtain a first column boundary and a first row boundary of the serial number character;

[0097] Respectively expanding the pixel points of the first column boundary and the first row boundary to obtain a second column boundary and a second row boundary of each serial number character;

[0098] Based on a preset standard width of the serial number character, respectively correcting the second column boundary and the second row boundary to obtain a column segmentation position and a row segmentation position of the serial number character;

[0099] Perform character segmentation on the serial number area image according to the column segmentation position and the row segmentation position to obtain a plurality of character areas.

[0100] In one embodiment, the transaction query module 103 performs a transaction query on a preset financial service terminal according to the target serial number to obtain banknote transaction information matching the target serial number, for:

[0101] Obtain a transaction information query request containing the target serial number, parse the transaction information query request to obtain transaction query conditions;

[0102] Perform a transaction query on the financial service terminal according to the transaction query conditions and the target serial number to obtain banknote transaction information matching the target serial number.

[0103] In one embodiment, the visualization display module 104 performs visualization display on the banknote transaction information to obtain a banknote transaction calendar, for:

[0104] Statistical dimension information of the banknote transaction information;

[0105] Determine the display chart type corresponding to the banknote transaction information in a preset information display correspondence table according to the dimension information;

[0106] Generate a banknote transaction calendar corresponding to the banknote transaction information according to the display chart type and the dimension information.

[0107] In one embodiment, the visualization display module 104 performs determining the display chart type corresponding to the banknote transaction information in a preset information display correspondence table according to the dimension information, for:

[0108] Determine the target type of the banknote transaction information according to the dimension information;

[0109] Determine the display chart type corresponding to the target type in a preset information display correspondence table.

[0110] In the present invention, for an auxiliary device for querying banknote transactions, by acquiring an image of the banknote to be transacted and performing image cropping, the accuracy and high quality of the banknote image are ensured. Setting the cash box for the banknote image can precisely manage banknotes of different denominations, improve the efficiency of cash processing, and provide better data support for financial services. Using optical character recognition technology for serial number recognition can improve the efficiency of financial business queries, automatically recognize the serial numbers, reduce manual operations, speed up the cash processing process, and provide a reliable basis for improving the query efficiency of users' bank transaction data subsequently. Querying transactions at a preset financial service terminal according to the target serial number can accurately track the transaction and circulation trajectory of the target banknote. At the same time, it helps to resolve cash business disputes, clarify the responsibility attribution. Analyzing the inbound and outbound situation of banknotes based on the serial number information can strengthen the monitoring of cash transactions, improve the security and query efficiency of the financial system. Visualizing the banknote transaction information can intuitively present the transaction trend, facilitate the discovery of transaction peaks and troughs, and assist in resource allocation. Secondly, it can clearly display the transaction types and amount distributions, contribute to risk assessment and anomaly monitoring, and improve the decision-making efficiency. The specific limitations on an auxiliary device for querying banknote transactions can refer to the limitations on an auxiliary method for querying banknote transactions in the above text, which will not be elaborated here. Each module in the above-mentioned auxiliary device for querying banknote transactions can be implemented in whole or in part by software, hardware, and their combinations. The above-mentioned modules can be embedded in the processor of the computer device in hardware form or be independent of it, or be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above-mentioned modules.

[0111] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 3 shown. The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client through a network connection. When the computer program is executed by the processor, it realizes the functions or steps on the server side of an auxiliary method for querying banknote transactions.

[0112] In one embodiment, a computer device is provided. The computer device can be a client, and its internal structure diagram can be as Figure 4As shown in the figure. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, it realizes the functions or steps on the client side of a method for querying paper currency transactions.

[0113] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0114] Obtain a paper currency image of the paper currency to be traded, perform a cash box setting on the paper currency image to obtain a target paper currency image;

[0115] Use a preset optical character recognition technology to perform a serial number recognition on the target paper currency image to obtain the target serial number of the target paper currency image;

[0116] Perform a transaction query on a preset financial service terminal according to the target serial number to obtain paper currency transaction information matching the target serial number;

[0117] Perform a visual display on the paper currency transaction information to obtain a paper currency transaction calendar.

[0118] In several embodiments provided by the present invention, it should be understood that the disclosed devices and apparatuses can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0119] In addition, in each embodiment of the present invention, the functional modules can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional modules.

[0120] Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present invention. Any associated drawing marks in the claims should not be regarded as limiting the claimed rights.

[0121] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention.

[0122] In some embodiments of this embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and characterized in that when the computer program is executed by a processor, the steps of the method described in the above embodiment are implemented.

[0123] The readable storage medium described in the present invention stores a computer program, and when the computer program is executed by a processor of an electronic device, it can implement:

[0124] Obtain a banknote image of the banknote to be traded, perform cassette setting on the banknote image to obtain a target banknote image;

[0125] Use a preset optical character recognition technology to perform serial number recognition on the target banknote image to obtain the target serial number of the target banknote image;

[0126] Perform transaction query on a preset financial service terminal according to the target serial number to obtain banknote transaction information matching the target serial number;

[0127] Visually display the banknote transaction information to obtain a banknote transaction calendar.

[0128] It should be noted that for the functions or steps that the above computer-readable storage medium or computer device can implement, reference can be made to the relevant descriptions on the server side and the client side in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.

[0129] The computer-readable storage medium can also store at least one computer executable program / instructions, and the computer executable program / instructions are, for example, computer-readable instructions. The computer-readable storage medium includes but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory can include, for example, random access memory (RAM) and / or cache memory, etc. The computer-readable storage medium can include, for example, read-only memory (ROM), hard disk, flash memory, etc. For example, a non-transitory computer-readable storage medium can be connected to a computing device such as a computer, and then, when the computing device runs the computer-readable instructions stored on the computer-readable storage medium, the various methods described above can be performed.

[0130] In addition, the computer device can also include (but is not limited to) a data bus, an input / output (I / O) bus, a display, and input / output devices (such as a keyboard, a mouse, a speaker, etc.).

[0131] The processor can communicate with external devices via a wired or wireless network through an I / O bus.

[0132] In one embodiment, the at least one computer-executable instruction can also be compiled into or form a software product / computer program product, wherein when one or more computer-executable instructions are run by a processor, the respective functions and / or method steps in the embodiments described in this technology are executed.

[0133] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in this application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0134] Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules as needed, that is, the internal structure of the system is divided into different functional units or modules to complete all or part of the functions described above.

[0135] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can also be implemented in other ways. The system embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the above-mentioned module, program segment, or part of code includes one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0136] It should be noted that in the present disclosure, the terms "include", "comprise", or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, the element limited by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device including the element.

[0137] The above-described embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments or perform equivalent replacements for some of the technical features. However, such modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention and should all be included in the protection scope of the present invention.

[0138] It should be noted that if non-company software tools or components appear in the embodiments of this application, they are only used for illustrative introduction and do not represent actual use.

Claims

1. An auxiliary method for querying banknote transactions, characterized in that The method includes: Obtain a banknote image of the banknote to be traded, perform a cassette setting on the banknote image to obtain a target banknote image; Use a preset optical character recognition technology to perform serial number recognition on the target banknote image to obtain the target serial number of the target banknote image; Perform a transaction query on a preset financial service terminal according to the target serial number to obtain banknote transaction information matching the target serial number; Visually display the banknote transaction information to obtain a banknote transaction calendar.

2. The auxiliary method for querying paper currency transactions according to claim 1, wherein The performing a cassette setting on the banknote image to obtain a target banknote image includes: Perform image cropping on the banknote image to obtain a first target banknote image; Perform a denomination cassette setting on the preset financial service terminal according to the first target banknote image to obtain a target cassette; Determine a target banknote image corresponding to the banknote transaction information to be queried in the target cassette.

3. The auxiliary method for querying banknote transactions according to claim 1, wherein The using a preset optical character recognition technology to perform serial number recognition on the target banknote image to obtain the target serial number of the target banknote image includes: Perform grayscale processing on the target banknote image to obtain a grayscale banknote image; Intercept a serial number area image to be recognized in the grayscale banknote image, and perform character segmentation on the serial number area image to obtain a plurality of character areas; Extract character feature vectors of the plurality of character areas, and perform serial number matching according to the character feature vectors and a preset serial number character template to obtain a target serial number.

4. The auxiliary method for querying banknote transactions according to claim 3, wherein The performing character segmentation on the serial number area image to obtain a plurality of character areas includes: Perform boundary scanning on the serial number area image to obtain a first column boundary and a first row boundary of the serial number character; Expand the pixel points of the first column boundary and the first row boundary respectively to obtain a second column boundary and a second row boundary of each serial number character; Based on the preset standard width of the serial number character, correct the second column boundary and the second row boundary respectively to obtain the column segmentation position and the row segmentation position of the serial number character; Perform character segmentation on the serial number area image according to the column segmentation position and the row segmentation position to obtain a plurality of character areas.

5. The auxiliary method for querying paper currency transactions according to claim 1, wherein, The performing a transaction query on a preset financial service terminal according to the target serial number to obtain banknote transaction information matching the target serial number includes: Obtain a transaction information query request including the target serial number, and parse the transaction information query request to obtain transaction query conditions; Perform a transaction query on the financial service terminal according to the transaction query conditions and the target serial number to obtain banknote transaction information matching the target serial number.

6. The auxiliary method for querying paper currency transactions according to claim 1, wherein, The visually displaying the banknote transaction information to obtain a banknote transaction calendar includes: Count the dimension information of the banknote transaction information; Determine the display chart type corresponding to the banknote transaction information in a preset information display correspondence table according to the dimension information; Generate a banknote transaction calendar corresponding to the banknote transaction information according to the display chart type and the dimension information.

7. The auxiliary method for querying paper currency transactions according to claim 6, wherein, Determining the display chart type corresponding to the paper currency transaction information in a preset information display correspondence table according to the dimension information includes: Determining the target type of the paper currency transaction information according to the dimension information; Determining the display chart type corresponding to the target type in a preset information display correspondence table.

8. An auxiliary device for querying banknote transactions, characterized in that, The device includes: A cash box setting module, configured to obtain a paper currency image of the paper currency to be traded, perform cash box setting on the paper currency image to obtain a target paper currency image; A serial number recognition module, configured to use a preset optical character recognition technology to perform serial number recognition on the target paper currency image to obtain the target serial number of the target paper currency image; A transaction query module, configured to perform transaction query on a preset financial service terminal according to the target serial number to obtain paper currency transaction information matching the target serial number; A visualization display module, configured to perform visualization display on the paper currency transaction information to obtain a paper currency transaction calendar.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a method for assisting paper currency transaction query according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements a method for assisting paper currency transaction query according to any one of claims 1 to 7.