A banknote processing method, system and medium for high-speed cash self-service equipment
Through the multi-threaded processing mode, the problem of low banknote processing efficiency in the prior art is solved, and the user experience and equipment efficiency are improved.
Patent Information
- Application Number
- CN202111356552.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-16
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-11-16
AI Technical Summary
The existing banknote processing solution of high-speed cash self-service equipment causes users to wait too long, process efficiency is low, and user experience is reduced.
The multi-threaded processing mode is adopted, including thread pools, banknote processing programs, data processing lists and process feedback information. By parallel processing of banknote data acquisition, false verification, formatting and other operations, the asynchronous acquisition, parallel processing and formatting of banknote data is realized.
It improves the speed of banknote processing, reduces user waiting time, and improves user experience and equipment efficiency.
Smart Images

Figure CN114255548B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of banknote processing technology for cash self-service equipment, and in particular to a banknote processing method, system and medium for high-speed cash self-service equipment. Background Art
[0002] In the prior art, the high-speed cash self-service equipment used by banks needs to perform banknote entry operations, banknote image data processing and banknote authentication information processing when processing banknotes, and format the processed data and upload it to the bank management end in a unified manner; correspondingly, the above-mentioned entire process is that after the banknotes are placed in the self-service equipment, the internal module of the self-service equipment performs the banknote entry operation between the banknotes and the equipment cash box, and after the entire mechanical operation of the banknote entry is completed, the banknote data obtained during the banknote entry operation is processed, and finally the processed data is uploaded to the bank management end before the user is prompted that the transaction process is completed; this banknote processing method has the disadvantage of making users wait for a very long time, and the banknote processing efficiency is extremely low, which greatly reduces the user's banknote deposit experience. Summary of the Invention
[0003] The present invention mainly solves the problem that the banknote processing solution of the existing high-speed cash self-service equipment makes users wait for a very long time, and its banknote processing efficiency is extremely low, which greatly reduces the user's banknote deposit experience.
[0004] To solve the above technical problems, the present invention adopts a technical solution: providing a banknote processing method for a high-speed cash self-service device, comprising the following steps:
[0005] Initialization configuration steps: configure the thread pool, banknote processing program and process feedback information; create a first data processing list and a first formatted data list;
[0006] Multi-threaded processing step: detecting a banknote input status of the self-service device; performing a multi-threaded banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list, and the banknote input status to obtain a first processing result;
[0007] Process prompting step: executing a transaction process prompting operation based on the process feedback information and the first processing result.
[0008] As an improved solution, the thread pool is configured with several banknote data processing threads;
[0009] The banknote processing program includes: a banknote data acquisition program, a counterfeit detection data processing program, a dot matrix bitmap processing program, an SNR formatting program and an FSN formatting program;
[0010] The banknote entry conditions include: a first condition and a second condition; the first condition is: a first banknote is entered; the second condition is: no first banknote is entered;
[0011] The multi-threaded banknote data processing operation includes: banknote data asynchronous acquisition operation, banknote data parallel processing operation and banknote data formatting operation;
[0012] The first processing result includes: a first result and a second result; the first result is: data upload is completed; the second result is: data upload is not completed.
[0013] As an improved solution, the step of performing a multi-threaded banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list, and the banknote input status to obtain a first processing result further includes:
[0014] Setting a first detection time period and a first end mark, and performing the asynchronous banknote data acquisition operation based on the banknote data acquisition program, the first data processing list, the banknote input situation, the first detection time period, and the first end mark;
[0015] Setting a second detection time period and a second end mark, and executing the banknote data parallel processing operation based on the counterfeit detection data processing program, the dot matrix bitmap processing program, the first data processing list, the first formatted data list, the second detection time period, the second end mark, and a plurality of banknote data processing threads;
[0016] Set a third detection time period, a first format and a second format, perform the banknote data formatting operation based on the SNR formatter, the FSN formatter, the first formatted data list, the third detection time period, the first format and the second format, and obtain the first processing result.
[0017] As an improved solution, the banknote data asynchronous acquisition operation includes:
[0018] identifying whether the banknote input situation is the first situation every first detection time period, and if it is the first situation, executing a first data acquisition step;
[0019] The first data acquisition step includes: calling the banknote data acquisition program to identify first banknote data of the first banknote, calling the banknote data acquisition program to place the first banknote data into the first data processing list;
[0020] After executing the first data acquisition step, the banknote entry situation is identified every first detection time period; if the banknote entry situation is the second situation, the banknote data acquisition program is called to insert the first end symbol at the position corresponding to the first end mark position in the first data processing list; if the banknote entry situation is the first situation, return to the first data acquisition step.
[0021] As an improved solution, the banknote data parallel processing operation includes:
[0022] When the first banknote data is placed in the first data processing list, performing a first data processing step;
[0023] The first data processing step includes: selecting a first thread from among the plurality of banknote data processing threads; exporting the first banknote data in the first data processing list, and invoking the authentication data processing program and the dot matrix bitmap processing program based on the first thread to process the exported first banknote data to obtain first formatted data; and invoking the first thread to place the first formatted data into the first formatted data list;
[0024] After executing the first data processing step, checking whether the first end marker of the first data processing list exists at every second detection time period; if so, inserting a second end marker at a position corresponding to the second end marker in the first formatted data list; if not, returning to the first data processing step.
[0025] As an improved solution, the step of invoking the authentication data processing program and the dot matrix bitmap processing program based on the first thread to process the derived first banknote data to obtain first formatted data further includes:
[0026] The first thread calls the authentication data processing program to identify first authentication data in the first banknote data; the first thread calls the dot matrix bitmap processing program to identify first image data in the first banknote data; the first thread calls the dot matrix bitmap processing program to perform dot matrix processing on the first image data to obtain first dot matrix data;
[0027] The first authentication data and the first dot pattern data are packaged to obtain the first formatted data.
[0028] As an improved solution, the banknote data formatting operation includes:
[0029] When the first formatted data is placed in the first formatted data list, performing a first formatting step;
[0030] The first formatting step includes: exporting the first formatted data in the first formatted data list, calling the SNR formatting program to generate first SNR data matching the first format based on the exported first formatted data, calling the FSN formatting program to generate first FSN data matching the second format based on the exported first formatted data; and uploading the first SNR data and the first FSN data to a management terminal corresponding to the self-service device;
[0031] After executing the first formatting step, whether the second end mark of the first formatted data list is present is detected at every third detection time period; if the second end mark is present, the first processing result is set to the first result; if the second end mark is not present, the first processing result is set to the second result, and the process returns to the first formatting step.
[0032] As an improved solution, the step of performing a transaction process prompt operation based on the process feedback information and the first processing result further includes:
[0033] When the first processing result is the first result, obtaining a first interactive screen control instruction of the self-service device; and executing the transaction process prompt operation based on the process feedback information and the first interactive screen control instruction;
[0034] The transaction process prompt operation includes: outputting the process feedback information to the first interactive screen of the self-service device based on the first interactive screen control instruction;
[0035] The process feedback information is: transaction completed.
[0036] The present invention also provides a banknote processing system for a high-speed cash self-service device, comprising:
[0037] Initialization configuration module, multi-threaded processing module and process prompt module;
[0038] The initialization configuration module is used to configure the thread pool, the banknote processing program and the process feedback information; the initialization configuration module is also used to create a first data processing list and a first formatted data list;
[0039] The multi-thread processing module is used to detect the banknote input status of the self-service device and perform a multi-thread banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list and the banknote input status to obtain a first processing result;
[0040] The process prompt module is used to perform a transaction process prompt operation according to the process feedback information and the first processing result.
[0041] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the banknote processing method for a high-speed cash self-service device are implemented.
[0042] The beneficial effects of the present invention are:
[0043] 1. The banknote processing method for a high-speed self-service cash machine of the present invention can realize the parallel execution of mechanical processing and data processing of banknotes when a user deposits or withdraws banknotes. By adopting a multi-threaded working mode, the banknote processing rate is halved, eliminating the need for users to spend a lot of waiting time when depositing or withdrawing banknotes. This improves the banknote processing efficiency of the high-speed self-service cash machine and enhances the user experience.
[0044] 2. The banknote processing system for the high-speed self-service cash machine of the present invention can realize the parallel execution of mechanical processing and data processing of banknotes when users deposit or withdraw banknotes through the mutual cooperation of the initialization configuration module, the multi-threaded processing module and the process prompt module. The multi-threaded working mode is adopted to halve the banknote processing rate, which does not require users to spend a lot of waiting time when depositing or withdrawing banknotes, thereby improving the banknote processing efficiency of the high-speed self-service cash machine and enhancing the user experience.
[0045] 3. The computer-readable storage medium described in the present invention can realize the coordination of the guiding initialization configuration module, the multi-threaded processing module and the process prompt module, thereby realizing the parallel execution of the mechanical processing action and the data processing action of the banknote when the user deposits or withdraws the banknote. The multi-threaded working mode is adopted to reduce the banknote processing rate by half, so that the user does not spend a lot of waiting time when depositing or withdrawing the banknote, thereby improving the banknote processing efficiency of the high-speed cash self-service device, improving the user experience, and effectively improving the operability of the banknote processing method for the high-speed cash self-service device. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 This is a flow chart of the banknote processing method for the high-speed cash self-service device according to Example 1 of the present invention;
[0048] Figure 2This is a schematic diagram of a specific process of the banknote processing method for a high-speed cash self-service device according to Example 1 of the present invention;
[0049] Figure 3 This is an architectural diagram of a banknote processing system for a high-speed cash self-service device according to Example 2 of the present invention. DETAILED DESCRIPTION
[0050] The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more precise definition of the protection scope of the present invention.
[0051] In the description of the present invention, it should be noted that the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of the present invention.
[0052] In the description of the present invention, it should be noted that the terms "first", "second" and "third" are only used for descriptive purposes and should not be understood as indicating or implying relative importance.
[0053] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "banknote processing program", "data processing list", "formatted data list", "banknote entry status", "process feedback information", "SNR formatter", "FSN formatter", "banknote data acquisition program", "end marker", "terminator", "lattice processing", "SNR data", "FSN data", "interactive screen control instructions", "interactive screen", "initialization configuration module", "multi-threaded processing module", and "process prompt module" should be understood in a broad sense. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0054] In the description of the present invention, it should be noted that: SNR is a data arrangement format for self-service equipment; FSN is a bank prefix number file.
[0055] Example 1
[0056] This embodiment provides a method for processing banknotes for a high-speed cash self-service device, such as Figure 1 and Figure 2 As shown, the following steps are included:
[0057] S100, initialization configuration step, specifically including:
[0058] S110. Configure a thread pool, a banknote processing program, and process feedback information; create a first data processing list and a first formatted data list. In this embodiment, the thread pool is a thread management terminal supporting this method; the banknote processing program is a program for processing banknote data; the first data processing list and the first formatted data list are key lists for connecting multi-threaded parallel processing processes.
[0059] Specifically, the thread pool is configured with several banknote data processing threads; the banknote processing program includes: a banknote data acquisition program, a counterfeit detection data processing program, a dot matrix bitmap processing program, an SNR formatting program and an FSN formatting program; in this embodiment, the banknote data acquisition program is used to call the banknote recognition module in the self-service device to capture the data information and serial number image information of the banknote, and generate the counterfeit detection data of the banknote based on the above information; the counterfeit detection data processing program is used to identify the counterfeit detection data in the banknote data; the dot matrix bitmap processing program is used to process the serial number image information to obtain the dot matrix bitmap file of the banknote; the SNR formatting program and the FSN formatting program are respectively used to re-process the data after the above programs have been processed to obtain data for uploading to the bank management backend; only when the SNR formatting program and the FSN formatting program have completed uploading the data, the entire transaction process is terminated.
[0060] S200, multi-thread processing step, specifically including:
[0061] S210: Detecting a banknote input status of the self-service device; performing a multi-threaded banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list, and the banknote input status to obtain a first processing result;
[0062] Specifically, the cash-in situation includes: a first situation and a second situation; the first situation is: a first banknote enters; the second situation is: no first banknote enters; correspondingly, in this embodiment, if the cash-in situation remains in the first situation for a long time, it means that banknotes continue to enter; correspondingly, the cash-in situation in this embodiment refers to the cash-in situation of the cash storage box inside the self-service device; the multi-threaded banknote data processing operation includes: asynchronous banknote data acquisition operation, parallel banknote data processing operation and banknote data formatting operation; the first processing result includes: a first result and a second result; the first result is: data upload is completed; the second result is: data upload is not completed.
[0063] Specifically, a first detection time period and a first end marker are set, and the asynchronous banknote data acquisition operation is performed based on the banknote data acquisition program, the first data processing list, the banknote input situation, the first detection time period, and the first end marker. In this embodiment, in order to achieve a real-time detection effect, the first detection time period is set to any value between 0.1 and 0.5 seconds; the first end marker is the next bit of the last first banknote data placed in the first data processing list.
[0064] A second detection time period and a second end mark are set, and the banknote data parallel processing operation is performed based on the authentication data processing program, the dot matrix bitmap processing program, the first data processing list, the first formatted data list, the second detection time period, the second end mark, and the plurality of banknote data processing threads. In this embodiment, to ensure synchronization between the various processes, the second detection time period is infinitely close to the first detection time period; the second end mark is the next bit of the last first formatted data placed in the first formatted data list; a third detection time period, a first format, and a second format are set, and the banknote data formatting operation is performed based on the SNR formatter, the FSN formatter, the first formatted data list, the third detection time period, the first format, and the second format to obtain the first processing result; in this embodiment, considering the parallel processing and connectivity between the various processes, the third detection time period is set infinitely close to the second detection time period; the first format and the second format are the SNR format and the FSN format, respectively; correspondingly, in this embodiment, the banknote data asynchronous acquisition operation, the banknote data parallel processing operation, and the banknote data formatting operation are performed almost synchronously;
[0065] Specifically, the banknote data asynchronous acquisition operation includes:
[0066] At every first detection time period, it is identified whether the banknote input situation is the first situation. If it is the first situation, a first data acquisition step is executed. The first data acquisition step includes: calling the banknote data acquisition program to identify first banknote data of the first banknote, and calling the banknote data acquisition program to place the first banknote data into the first data processing list. Correspondingly, the first banknote data includes authentication data and image data of the first banknote. The first data acquisition step is to call the banknote data acquisition program to identify the first banknote data of the first banknote and place the first banknote data into the first data processing list as long as the first banknote enters.
[0067] After executing the first data acquisition step, the banknote insertion situation is identified every first detection time period; if the banknote insertion situation is the second situation, it means that there is no banknote to be inserted, so the banknote data acquisition program is called to insert a first end symbol in the position corresponding to the first end mark position in the first data processing list; if the banknote insertion situation is the first situation, it means that there is still a first banknote to be inserted, and the first data acquisition step is returned to the corresponding first banknote that continues to need to be inserted; correspondingly, in this embodiment, the sorting of the first banknote data in the first data processing list can be achieved by sorting the first banknote data by assigning a serial number after entering the first data processing list; the first banknote is the banknote that needs to be inserted;
[0068] While the above operations are being performed, the banknote data parallel processing operation is also being performed synchronously. Specifically, the banknote data parallel processing operation includes:
[0069] When the first banknote data is placed in the first data processing list, that is, as long as the first banknote data enters the first data processing list, a first data processing step is performed on the first banknote data that has just entered; the first data processing step includes: selecting a first thread from a plurality of banknote data processing threads; the first thread is only a thread for processing the first banknote data; exporting the first banknote data in the first data processing list, and calling the authentication data processing program and the dot matrix bitmap processing program based on the first thread to process the exported first banknote data to obtain first formatted data; and calling the first thread to place the first formatted data into the first formatted data list;
[0070] After executing the first data processing step, every second detection time period, check whether the first end mark of the first data processing list contains the first end symbol; if so, it means that the first banknote data will no longer be entered in the first data processing list, and the second end symbol is inserted into the position corresponding to the second end mark in the first formatted data list; if not, it means that the first banknote data will be entered in the first data processing list again, so the first data processing step is immediately returned to for the first banknote data that enters again; correspondingly, after returning to the first data processing step, another first thread can be selected again for the first banknote data that enters again, so the multi-threaded parallel processing operation is realized; for example, if three first banknote data enter the first data processing list, the final banknote data parallel processing operation is realized by having three first threads process the three first banknote data respectively, thereby greatly improving the processing progress of the banknote data, that is, when the mechanical action of entering the banknote is executed, the banknote data is processed synchronously, which greatly improves the banknote processing efficiency.
[0071] Specifically, the step of obtaining the first formatted data by calling the authentication data processing program and the dot matrix bitmap processing program based on the first thread to process the exported first banknote data specifically includes: calling the authentication data processing program based on the first thread to identify the first authentication data in the exported first banknote data; calling the dot matrix bitmap processing program based on the first thread to identify the first image data in the exported first banknote data, and calling the dot matrix bitmap processing program based on the first thread to perform dot matrix processing on the first image data to obtain first dot matrix data; correspondingly, in this embodiment, dot matrix processing is an image processing method for converting banknote image data into dot matrix bitmap data of banknotes in a cash self-service device; correspondingly, the first authentication data and the first dot matrix data are packaged to obtain the first formatted data; in this embodiment, the banknote processing program also includes a picture processing program. In this embodiment, the first thread will also call the picture processing program to generate a JPG format image file of the first image data, and save the JPG format image file to the communication process log on the bank side.
[0072] Correspondingly, while the above operations are being performed, the banknote data formatting operation is also being performed synchronously. Specifically, the banknote data formatting operation includes:
[0073] When the first formatted data is placed in the first formatted data list, that is, as long as the first formatted data list has the entered first formatted data, the first formatting step is performed on the entered first formatted data;
[0074] The first formatting step includes: exporting the first formatted data in the first formatted data list, calling the SNR formatting program to generate first SNR data matching the first format according to a data protocol related to the SNR format based on the exported first formatted data, and calling the FSN formatting program to generate first FSN data matching the second format according to a data protocol related to the FSN format based on the exported first formatted data; finally, uploading the first SNR data and the first FSN data to the management terminal corresponding to the self-service device to facilitate subsequent review and tracing of the transaction process by the bank management terminal;
[0075] After executing the first formatting step, the second end marker of the first formatted data list is detected every third detection time period to determine whether the second end marker is present. If the second end marker is present, it indicates that no new first formatted data will be present, and thus data uploading is complete. Therefore, the first processing result is set to the first result. If the second end marker is not present, it indicates that new first formatted data will be present in the first formatted data list. Therefore, the first processing result is set to the second result, and the process returns to the first formatting step based on the first formatted data that has newly entered the first formatted data list.
[0076] Correspondingly, through step S200, whenever a first banknote is deposited, the acquisition, analysis, processing, formatting and data uploading of the banknote data are performed synchronously. When the first banknote is deposited, the synchronous processing and uploading operations of its banknote data are also completed. Therefore, when a large number of banknotes are deposited, the transaction process can be completed after all the banknotes are deposited, saving a lot of time. When this method is applied to high-speed cash self-service equipment to process large quantities of banknotes, it can show greater efficiency.
[0077] S300, process prompt steps, specifically including:
[0078] S310: Execute a transaction process prompt operation based on the process feedback information and the first processing result; correspondingly, step S300 is a necessary step to remind the user after step S200, further improving the user experience;
[0079] Specifically, when the first processing result is the first result, the first interactive screen control instruction of the self-service device is obtained; the first interactive screen control instruction is an instruction, function or code that sends prompt information to the first interactive screen of the self-service device; the transaction process prompt operation is performed based on the process feedback information and the first interactive screen control instruction; the transaction process prompt operation includes: outputting the process feedback information to the first interactive screen of the self-service device based on the first interactive screen control instruction; the process feedback information includes but is not limited to: transaction completion, transaction process end and transaction success, etc.
[0080] Example 2
[0081] This embodiment provides a banknote processing system for a high-speed cash self-service device, such as Figure 3 As shown, it includes: initialization configuration module, multi-thread processing module and process prompt module;
[0082] In the banknote processing system for the high-speed cash self-service device, the initialization configuration module is used to configure the thread pool, the banknote processing program and the process feedback information; the initialization configuration module is also used to create a first data processing list and a first formatted data list;
[0083] Specifically, the thread pool is configured with several banknote data processing threads; the banknote processing program includes: a banknote data acquisition program, a counterfeit detection data processing program, a dot matrix bitmap processing program, an SNR formatting program and an FSN formatting program.
[0084] In the banknote processing system for the high-speed cash self-service device, the multi-thread processing module is used to detect a banknote input status of the self-service device and perform a multi-threaded banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list, and the banknote input status to obtain a first processing result;
[0085] Specifically, the banknote input conditions include: a first condition and a second condition; the first condition is: a first banknote is input; the second condition is: no first banknote is input; the multi-threaded banknote data processing operation includes: a banknote data asynchronous acquisition operation, a banknote data parallel processing operation, and a banknote data formatting operation; the first processing result includes: a first result and a second result; the first result is: data upload is completed; the second result is: data upload is not completed;
[0086] Specifically, the multi-thread processing module sets a first detection time period and a first end mark, and performs the asynchronous acquisition operation of the banknote data based on the banknote data acquisition program, the first data processing list, the banknote input situation, the first detection time period and the first end mark; the multi-thread processing module sets a second detection time period and a second end mark, and performs the parallel processing operation of the banknote data based on the counterfeit detection data processing program, the dot matrix bitmap processing program, the first data processing list, the first formatted data list, the second detection time period, the second end mark, and a plurality of the banknote data processing threads; the multi-thread processing module sets a third detection time period, a first format and a second format, and performs the banknote data formatting operation based on the SNR formatting program, the FSN formatting program, the first formatted data list, the third detection time period, the first format, and the second format to obtain the first processing result;
[0087] Specifically, the asynchronous acquisition operation of banknote data includes: the multi-threaded processing module identifies whether the banknote input situation is the first situation every first detection time period, and if it is the first situation, the multi-threaded processing module executes the first data acquisition step; the first data acquisition step includes: the multi-threaded processing module calls the banknote data acquisition program to identify the first banknote data of the first banknote, and calls the banknote data acquisition program to place the first banknote data into the first data processing list; after the multi-threaded processing module executes the first data acquisition step, the multi-threaded processing module identifies the banknote input situation every first detection time period; if the banknote input situation is the second situation, the multi-threaded processing module calls the banknote data acquisition program to insert the first end symbol in the position corresponding to the first end mark position in the first data processing list; if the banknote input situation is the first situation, the multi-threaded processing module returns to the first data acquisition step.
[0088] Specifically, the parallel processing operation of the banknote data includes: when the first banknote data is placed in the first data processing list, the multi-thread processing module executes the first data processing step; the first data processing step includes: the multi-thread processing module selects the first thread from several banknote data processing threads; the multi-thread processing module exports the first banknote data in the first data processing list, and calls the counterfeit detection data processing program and the dot matrix bitmap processing program based on the first thread to process the exported first banknote data to obtain first formatted data; the multi-thread processing module calls the first thread to place the first formatted data into the first formatted data list; after the multi-thread processing module executes the first data processing step, it detects whether the first end mark bit of the first data processing list exists at every second detection time period; if so, the multi-thread processing module inserts the second end mark bit at the position corresponding to the second end mark bit in the first formatted data list; if not, the multi-thread processing module returns to the first data processing step.
[0089] Specifically, the multi-threaded processing module calls the authentication data processing program based on the first thread to identify the first authentication data in the exported first banknote data; the multi-threaded processing module calls the dot matrix bitmap processing program based on the first thread to identify the first image data in the exported first banknote data, and calls the dot matrix bitmap processing program based on the first thread to perform dot matrix processing on the first image data to obtain first dot matrix data; the multi-threaded processing module packages the first authentication data and the first dot matrix data to obtain the first formatted data.
[0090] Specifically, the banknote data formatting operation includes: when the first formatted data is placed in the first formatted data list, the multi-threaded processing module executes a first formatting step; the first formatting step includes: the multi-threaded processing module exports the first formatted data in the first formatted data list, and calls the SNR formatting program to generate first SNR data matching the first format based on the exported first formatted data, the multi-threaded processing module calls the FSN formatting program to generate first FSN data matching the second format based on the exported first formatted data, and uploads the first SNR data and the first FSN data to the management terminal corresponding to the self-service device; after the multi-threaded processing module executes the first formatting step, the multi-threaded processing module detects whether the second end mark bit of the first formatted data list exists in the second end mark bit every third detection time period; if so, the multi-threaded processing module sets the first processing result to the first result; if not, the multi-threaded processing module sets the first processing result to the second result and returns to the first formatting step.
[0091] In the banknote processing system for the high-speed cash self-service device, the process prompt module is used to perform a transaction process prompt operation according to the process feedback information and the first processing result;
[0092] Specifically, when the first processing result is the first result, the process prompt module obtains the first interactive screen control instruction of the self-service device; the process prompt module performs the transaction process prompt operation based on the process feedback information and the first interactive screen control instruction; the transaction process prompt operation includes: the process prompt module outputs the process feedback information to the first interactive screen of the self-service device based on the first interactive screen control instruction; the process feedback information is: the transaction is completed.
[0093] Example 3
[0094] This embodiment provides a computer-readable storage medium, including:
[0095] The storage medium is used to store computer software instructions used to implement the banknote processing method for the high-speed cash self-service device described in the above-mentioned embodiment 1, which includes a program for executing the above-mentioned program set for the banknote processing method for the high-speed cash self-service device; specifically, the executable program can be built into the banknote processing system for the high-speed cash self-service device described in embodiment 2, so that the banknote processing system for the high-speed cash self-service device can implement the banknote processing method for the high-speed cash self-service device described in embodiment 1 by executing the built-in executable program.
[0096] In addition, the computer-readable storage medium of this embodiment may adopt any combination of one or more computer-readable storage media, wherein the computer-readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or components, or any combination thereof.
[0097] Different from the existing technology, the banknote processing method, system and medium for high-speed cash self-service equipment of the present application can realize the parallel performance of mechanical processing and data processing of banknotes when users deposit or withdraw banknotes through this method. The multi-threaded working mode is adopted to halve the banknote processing rate, which will not make users spend a lot of waiting time when depositing or withdrawing banknotes. The system provides effective technical support for this method, ultimately improving the banknote processing efficiency of high-speed cash self-service equipment and enhancing the user experience.
[0098] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0099] Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be accomplished by hardware, or by programs instructing the relevant hardware to complete the program, which may be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.
[0100] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention's description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A banknote processing method for a high-speed cash self-service device, characterized in that: The following steps are involved: Initialization configuration steps: configure the thread pool, banknote processing program and process feedback information; create a first data processing list and a first formatted data list; Multi-threaded processing step: detecting a banknote input status of the self-service device; performing a multi-threaded banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list, and the banknote input status to obtain a first processing result; The thread pool is configured with a number of banknote data processing threads; The banknote processing program includes: a banknote data acquisition program, a counterfeit detection data processing program, a dot matrix bitmap processing program, an SNR formatting program and an FSN formatting program; The banknote entry conditions include: a first condition and a second condition; the first condition is: a first banknote is entered; the second condition is: no first banknote is entered; The multi-threaded banknote data processing operation includes: banknote data asynchronous acquisition operation, banknote data parallel processing operation and banknote data formatting operation; The first processing result includes: a first result and a second result; the first result is: data upload completed; the second result is: data upload incomplete; The step of performing a multi-threaded banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list, and the banknote input situation to obtain a first processing result further includes: setting a first detection time period and a first end mark bit, and performing the banknote data asynchronous acquisition operation based on the banknote data acquisition program, the first data processing list, the banknote input situation, the first detection time period, and the first end mark bit; setting a second detection time period and a second end mark bit, and performing the banknote data parallel processing operation based on the counterfeit detection data processing program, the dot matrix bitmap processing program, the first data processing list, the first formatted data list, the second detection time period, the second end mark bit, and a plurality of banknote data processing threads; setting a third detection time period, a first format, and a second format, and performing the banknote data formatting operation based on the SNR formatter, the FSN formatter, the first formatted data list, the third detection time period, the first format, and the second format, to obtain the first processing result; Process prompting step: executing a transaction process prompting operation based on the process feedback information and the first processing result.
2. A banknote processing method for a high-speed cash self-service device according to claim 1, characterized in that: The banknote data asynchronous acquisition operation includes: identifying whether the banknote input situation is the first situation every first detection time period, and if it is the first situation, executing a first data acquisition step; The first data acquisition step includes: calling the banknote data acquisition program to identify first banknote data of the first banknote, calling the banknote data acquisition program to place the first banknote data into the first data processing list; After executing the first data acquisition step, the banknote entry situation is identified every first detection time period; if the banknote entry situation is the second situation, the banknote data acquisition program is called to insert the first end symbol at the position corresponding to the first end mark position in the first data processing list; if the banknote entry situation is the first situation, return to the first data acquisition step.
3. A banknote processing method for a high-speed cash self-service device according to claim 2, characterized in that: The banknote data parallel processing operation includes: When the first banknote data is placed in the first data processing list, performing a first data processing step; The first data processing step includes: selecting a first thread from among the plurality of banknote data processing threads; exporting the first banknote data in the first data processing list, and invoking the authentication data processing program and the dot matrix bitmap processing program based on the first thread to process the exported first banknote data to obtain first formatted data; and invoking the first thread to place the first formatted data into the first formatted data list; After executing the first data processing step, checking whether the first end marker of the first data processing list exists at every second detection time period; if so, inserting a second end marker at a position corresponding to the second end marker in the first formatted data list; if not, returning to the first data processing step.
4. A banknote processing method for a high-speed cash self-service device according to claim 3, characterized in that: The step of calling the authentication data processing program and the dot matrix bitmap processing program based on the first thread to process the first banknote data to obtain the first formatted data further includes: The first thread calls the authentication data processing program to identify first authentication data in the first banknote data; the first thread calls the dot matrix bitmap processing program to identify first image data in the first banknote data; the first thread calls the dot matrix bitmap processing program to perform dot matrix processing on the first image data to obtain first dot matrix data; The first authentication data and the first dot pattern data are packaged to obtain the first formatted data.
5. A banknote processing method for a high-speed cash self-service device according to claim 4, characterized in that: The banknote data formatting operation includes: When the first formatted data is placed in the first formatted data list, performing a first formatting step; The first formatting step includes: exporting the first formatted data in the first formatted data list, calling the SNR formatting program to generate first SNR data matching the first format based on the exported first formatted data, calling the FSN formatting program to generate first FSN data matching the second format based on the exported first formatted data; and uploading the first SNR data and the first FSN data to a management terminal corresponding to the self-service device; After executing the first formatting step, whether the second end mark of the first formatted data list is present is detected at every third detection time period; if the second end mark is present, the first processing result is set to the first result; if the second end mark is not present, the first processing result is set to the second result, and the process returns to the first formatting step.
6. A banknote processing method for a high-speed cash self-service device according to claim 5, characterized in that: The step of performing a transaction process prompt operation based on the process feedback information and the first processing result further includes: When the first processing result is the first result, obtaining a first interactive screen control instruction of the self-service device; and executing the transaction process prompt operation based on the process feedback information and the first interactive screen control instruction; The transaction process prompt operation includes: outputting the process feedback information to the first interactive screen of the self-service device based on the first interactive screen control instruction; The process feedback information is: transaction completed.
7. A banknote processing system for a high-speed self-service cash machine based on a banknote processing method for a high-speed self-service cash machine according to any one of claims 1 to 6, characterized in that: include: Initialization configuration module, multi-threaded processing module and process prompt module; The initialization configuration module is used to configure the thread pool, the banknote processing program and the process feedback information; the initialization configuration module is also used to create a first data processing list and a first formatted data list; The multi-thread processing module is used to detect the banknote input status of the self-service device and perform a multi-thread banknote data processing operation based on the thread pool, the banknote processing program, the first data processing list, the first formatted data list and the banknote input status to obtain a first processing result; The process prompt module is used to perform a transaction process prompt operation according to the process feedback information and the first processing result.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the banknote processing method for a high-speed cash self-service device according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Distributed banknote feeding control method, system and device, equipment and storage medium
CN112863079A