Currency recognition method, device, equipment and storage medium
By comprehensively considering currency matching results and frequency, and combining multiple features for re-identification, the problem of low currency recognition accuracy in existing technologies has been solved, achieving higher recognition accuracy.
Patent Information
- Application Number
- CN202411186023.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2044-08-27
AI Technical Summary
Existing currency identification technologies suffer from low accuracy, especially due to advancements in counterfeiting techniques leading to incomplete serial numbers of counterfeit currencies in databases, which affects identification results.
By obtaining the currency matching results and matching frequency of the currency to be identified in the current outlet, and combining the currency information uploaded by other outlets in the preset area and the target currency database, a comprehensive judgment is made on whether the currency to be identified is the target currency. Multiple currency features are used for re-identification to avoid missed identification and misidentification.
It improves the accuracy of currency recognition, reduces missed and false recognitions, and enhances the reliability of recognition results.
Smart Images

Figure CN119229463B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of currency recognition technology, and in particular to a currency recognition method, apparatus, device and storage medium. Background Technology
[0002] Counterfeit currency emerged alongside the invention of money, especially after the circulation of paper money, which gradually spread and proliferated. The proliferation of counterfeit currency not only disrupts social and economic order but also harms the economic interests of the general public and financial institutions. Therefore, identifying genuine currency is of paramount importance.
[0003] The serial number, or serial number, printed on a banknote is a unique identifier for each banknote. In currency identification, especially for authenticating banknotes, while the serial number itself cannot directly reveal the authenticity of a banknote, serial number matching can link to a database pre-collected by financial institutions containing the serial numbers corresponding to counterfeit banknotes. This allows for the acquisition of authenticity information for that serial number, thus aiding in determining the banknote's genuine condition. However, with increasingly sophisticated counterfeiting techniques, the database no longer contains a comprehensive list of counterfeit banknote serial numbers.
[0004] Therefore, existing currency recognition technologies suffer from low recognition accuracy. Summary of the Invention
[0005] This application provides a currency recognition method, apparatus, device, and storage medium to solve the problem of low currency recognition accuracy in the prior art.
[0006] In a first aspect, this application provides a currency identification method, comprising: acquiring at least one currency to be identified in the current branch; wherein the currency to be identified includes any one of a first currency, a second currency, or a third currency; wherein the first currency is a currency initially identified by the current branch's teller machine and not matched with any target currency in a preset target currency database; the second currency is a currency initially identified by the current branch's teller machine, matched with any target currency in the preset target currency database, but uploaded by the user; and the third currency is a currency not initially identified by the current branch's teller machine but uploaded by the user.
[0007] For any currency to be identified, the currency matching result is determined based on the currency to be identified and the currencies uploaded by other outlets within the preset area; the currency matching result is the similarity matching result between the currency to be identified and the currencies uploaded by other outlets within the preset area.
[0008] Based on the currency to be identified and each target currency in the target currency database, the currency matching frequency corresponding to the currency to be identified is determined; the currency matching frequency is the matching frequency of the target currency when the currency to be identified matches any target currency in the target currency database.
[0009] Based on the currency matching results and the currency matching frequency of the currency to be identified, it is determined whether the currency to be identified is the target currency;
[0010] The process of determining whether the currency to be identified is the target currency, based on the currency matching result and the currency matching frequency, includes:
[0011] Pre-set the probability values for currency matching results and currency matching frequencies under different circumstances;
[0012] Each probability value is compared with a preset probability threshold;
[0013] If each of the probability values is greater than or equal to the corresponding probability threshold, then the currency to be identified is determined to be the target currency.
[0014] If each of the probability values is less than the corresponding probability threshold, then the currency to be identified is determined to be not the target currency.
[0015] In one possible design, determining the currency matching result of the currency to be identified based on the currency to be identified and the currencies uploaded by other outlets within a preset area includes:
[0016] The currency matching result of the currency to be identified is determined based on the serial number of the currency to be identified and the serial numbers of the currencies uploaded by other outlets in the preset area.
[0017] Accordingly, based on the currency to be identified and each target currency in the target currency database, the currency matching frequency corresponding to the currency to be identified is determined, including:
[0018] The currency matching frequency corresponding to the currency to be identified is determined based on the serial number to be identified and the serial numbers corresponding to each target currency in the target currency database.
[0019] In one possible design, the currency matching result of the currency to be identified is determined based on the serial number of the currency to be identified and the serial numbers of currencies uploaded by other outlets within a preset area, including:
[0020] Obtain the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset first area within a first preset time period, and determine the first currency matching result of the currency to be identified based on the currency to be identified and each of the currency serial numbers;
[0021] Obtain the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset second area within a second preset time period, and determine the second currency matching result of the currency to be identified based on the currency to be identified and each of the currency serial numbers; wherein, the second area is larger than the first area; and the second preset time period is larger than the first preset time period;
[0022] Based on the first currency matching result and the second currency matching result, the currency matching result corresponding to the currency to be identified is determined.
[0023] In one possible design, the currency matching frequency corresponding to the currency to be identified is determined based on the serial number of the currency to be identified and the serial numbers corresponding to each target currency in the target currency database, including:
[0024] For any target currency in the target currency database, match the serial number to be identified with the target serial number;
[0025] If the serial number to be identified matches the target serial number, then the currency matching frequency corresponding to the currency to be identified is determined based on the matching frequency corresponding to the target serial number.
[0026] In one possible design, determining whether the currency to be identified is the target currency based on the currency matching result and the currency matching frequency includes:
[0027] A first identification probability corresponding to the currency to be identified is determined based on the first currency matching result, and a second identification probability corresponding to the currency to be identified is determined based on the second currency matching result;
[0028] The third identification probability corresponding to the currency to be identified is determined based on the currency matching frequency.
[0029] Based on the first identification probability, the second identification probability, and the third identification probability, it is determined whether the currency to be identified is the target currency.
[0030] In one possible design, at least one currency item requiring target identification at the current branch is obtained, including:
[0031] The cashier's equipment is used to perform initial currency identification of the various currencies received at the current branch.
[0032] For any currency, if the currency is identified, then the currency is matched with each target currency in the preset target currency database;
[0033] If the currency does not match any of the target currencies, then the currency is identified as the currency to be identified that needs to be identified.
[0034] If the currency matches any of the target currencies, the currency is fed back to the user, and when the user inputs an identification instruction that the currency needs to be identified, the currency is used as the currency to be identified.
[0035] If the currency fails to be identified, the currency will be returned to the user, and when the user inputs an identification instruction that the currency needs to be identified, the currency will be used as the currency to be identified.
[0036] In one possible design, the method further includes:
[0037] If the currency fails to be identified, the currency will be returned to the user, and when the user inputs that the currency is a defaced currency, the step of matching the currency with each target currency in the preset target currency database will be executed.
[0038] If the currency matches any of the target currencies, the currency is fed back to the user, and upon receiving the user's confirmation instruction that the currency is the target currency, the currency is confirmed as the target currency.
[0039] Upon receiving the user's instruction that the currency is the target currency, the currency is determined as the target currency.
[0040] In one possible design, the method further includes:
[0041] If the currency to be identified is determined to be the target currency, it is determined whether the target currency exists in the target currency database;
[0042] If it exists, increment the matching frequency corresponding to the target currency by one;
[0043] If it does not exist, the target currency is stored in the target currency database, and the matching frequency corresponding to the currency to be identified is set to one.
[0044] Secondly, this application provides a currency recognition device, comprising: a currency acquisition module and a currency recognition module; wherein,
[0045] The currency to be identified module is used to acquire at least one currency to be identified in the current branch that needs to be identified. The currency to be identified includes any one of a first currency, a second currency, or a third currency. The first currency is one that has been initially identified by the current branch's teller machine and does not match any of the target currencies in the preset target currency database. The second currency is one that has been initially identified by the current branch's teller machine, matches any target currency in the preset target currency database, but has been uploaded by the user. The third currency is one that has not been initially identified by the current branch's teller machine but has been uploaded by the user.
[0046] The currency matching result determination module is used to determine the currency matching result of any currency to be identified based on the currency to be identified and the currencies uploaded by other outlets within a preset area; the currency matching result is the similarity matching result between the currency to be identified and the currencies uploaded by other outlets within the preset area.
[0047] The currency matching frequency determination module is used to determine the currency matching frequency corresponding to the currency to be identified based on the currency to be identified and each target currency in the target currency database; the currency matching frequency is the matching frequency of the target currency when the currency to be identified matches any target currency in the target currency database;
[0048] The currency identification module determines whether the currency to be identified is the target currency based on the currency matching result and the currency matching frequency.
[0049] The currency recognition module includes:
[0050] Pre-set the probability values for currency matching results and currency matching frequencies under different circumstances;
[0051] Each probability value is compared with a preset probability threshold;
[0052] If each of the probability values is greater than or equal to the corresponding probability threshold, then the currency to be identified is determined to be the target currency.
[0053] If each of the probability values is less than the corresponding probability threshold, then the currency to be identified is determined to be not the target currency.
[0054] Thirdly, embodiments of this application provide an electronic device, including: at least one processor and a memory; the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, causing the at least one processor to perform the currency recognition method as described in the first aspect and various possible designs of the first aspect.
[0055] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the currency recognition method described in the first aspect and various possible designs of the first aspect.
[0056] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the currency recognition method described in the first aspect and various possible designs of the first aspect.
[0057] The currency identification method, apparatus, equipment, and storage medium provided in this application acquire at least one currency to be identified in the current branch. The currency to be identified includes any one of a first currency, a second currency, or a third currency. The first currency is one initially identified by the branch's teller machine and not matched with any target currency in a preset target currency database. The second currency is one initially identified by the branch's teller machine, matched with any target currency in the preset target currency database, but uploaded by the user. The third currency is one not initially identified by the branch's teller machine but uploaded by the user. For any currency to be identified, a currency matching result is determined based on the currency to be identified and currencies uploaded by other branches within a preset area. The currency matching result is the sum of the currency to be identified and the currency uploaded by other branches within the preset area. The similarity matching results between currencies uploaded by other branches within the network are analyzed. Based on the currency to be identified and each target currency in the target currency database, the currency matching frequency corresponding to the currency to be identified is determined. The currency matching frequency is the matching frequency of the target currency when the currency to be identified matches any target currency in the target currency database. Based on the currency matching results and currency matching frequency of the currency to be identified, it is determined whether the currency to be identified is the target currency. In the above scheme, all currencies that cannot be clearly identified as target currencies during the initial identification process are treated as currencies to be identified for target identification to avoid missed or incorrect identification and improve the accuracy of subsequent identification results. Furthermore, during the target identification process, by considering multiple currency characteristics of the currency to be identified, a comprehensive judgment is made on whether the currency to be identified is the target currency, further improving the accuracy of the identification results. Attached Figure Description
[0058] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0059] Figure 1 This diagram illustrates application scenarios for currency recognition using existing technologies.
[0060] Figure 2This is an application scenario diagram of the currency recognition method applicable to the embodiments of this application;
[0061] Figure 3 The flowchart of the currency recognition method provided in the embodiments of this application Figure 1 ;
[0062] Figure 4 The flowchart of the currency recognition method provided in the embodiments of this application Figure 2 ;
[0063] Figure 5 This is a schematic diagram of the structure of the currency recognition device provided in the embodiments of this application;
[0064] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0065] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0066] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0067] The collection, storage, use, processing, transmission, provision, and disclosure of financial data or user data involved in the technical solution of this application all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0068] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.
[0069] Terminology Explanation:
[0070] Currency: Generally refers to a widely accepted medium of exchange used for the purchase of goods and services. Currency can be in physical form, such as banknotes and coins, or in digital form, such as electronic money and cryptocurrencies. In this scheme, the currency to be identified typically refers to banknotes.
[0071] Serial number: A unique combination of letters and numbers printed on currency (usually banknotes) to identify and track each banknote. Serial numbers typically consist of a series of letters and numbers, and the specific format and length may vary depending on the country and issuing authority.
[0072] Cashier equipment refers to cash handling equipment used by banks, financial institutions, or other enterprises. Common cashier equipment includes: banknote counters, banknote detectors, ATMs, and cash deposit and withdrawal machines.
[0073] Figure 1 This is a diagram illustrating application scenarios for currency recognition using existing technologies. For example... Figure 1 As shown, the application scenario includes: a cashier machine 11 and an identification device 12; wherein, the cashier machine 11 includes at least one machine 111 of the same or different types in the current branch; the identification device 12 pre-stores a target currency database 121 generated by relevant institutions, which contains the target serial numbers corresponding to each target currency.
[0074] Currency identification refers to identifying whether the currency (such as banknotes) involved in the current branch is the target currency, i.e., counterfeit currency.
[0075] In the existing technology, each device 111 counts the currency at the current branch and performs initial currency identification during the counting process. If any currency is identified as suspicious, meaning that the probability of that currency being the target currency is relatively high, a suspicious alert message is generated indicating that the currency is suspicious and is fed back to the user, i.e., the branch teller at the current branch. If the branch teller also determines that the risk of that currency being the target currency is high, the serial number of that currency is entered into the identification device 2.
[0076] The identification device 2 matches the received serial number in the target currency database 121. If a target serial number that matches the serial number exists in the target currency database 121, an identification result is generated that the currency is the target currency; otherwise, if no target serial number that matches the serial number exists in the target currency database 121, an identification result is generated that the currency is not the target currency.
[0077] However, with the increasing sophistication of counterfeiting technology, some target currencies exist in the market that have not been identified, resulting in an incomplete range of target serial numbers for the target currencies in the target currency database, which in turn affects the identification results of subsequent currencies.
[0078] To address the aforementioned technical problems, this application proposes the following technical concept: Upon receiving currency, it is first initially identified using a cashier's machine; optionally, if the identification passes, the currency is matched against target currencies in the target currency database; optionally, if the currency does not match any of the target currencies, to avoid missed identification, the currency is re-identified based on calculated currency characteristics to determine whether it is a target currency; optionally, if the currency matches any target currency, it indicates a high risk that the currency is a target currency, and a suspicious message indicating that the currency may be counterfeit is sent to the user. If the user, based on manual review experience, believes that the probability of the currency not being a target currency is high, the calculated characteristics can be used to further identify the currency. The currency characteristics are used to re-identify the currency to avoid misidentification. Optionally, if the currency fails to be identified by the cashier, it indicates a risk that the currency may be the target currency. A suspicious alert is generated and sent to the user. When the user determines that the currency needs to be re-identified, it is re-identified based on the calculated currency characteristics. Furthermore, during the re-identification process, the similarity matching results between the currency and currencies uploaded by other branches within a preset area are calculated, as well as the matching frequency of the target currency when it matches any target currency in the target currency database. By using these two features together, the currency identification result is obtained, thus determining whether the currency is the target currency. This solves the technical problem of low accuracy in the identification results of existing technologies.
[0079] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0080] Figure 2 This diagram illustrates an application scenario for the currency recognition method applicable to embodiments of this application. For example... Figure 2 As shown, the application scenario includes: a cashier machine 21 and an identification device 22; wherein, the cashier machine 21 includes at least one machine 211 of the same or different types in the current branch; the identification device 22 pre-stores a target currency database 221 containing target serial numbers corresponding to each target currency generated by relevant institutions, and a target identification module 222. The target identification module 222 is used to calculate currency characteristics and re-identify the currency based on the currency characteristics to determine whether the currency is the target currency. Optionally, the target identification module 222 may include a target identification model obtained by pre-training a neural network, or it may include a target identification model corresponding to a traditional identification algorithm built in. The target identification process in the target identification module 222 is not specifically limited.
[0081] In this embodiment, each device 211 counts the currency in the current branch and performs initial identification of the currency during the counting process. Optionally, when any currency passes the initial identification by device 211, to avoid missed identification, device 211 transmits the currency information (serial number information) of the currency to the target database 221 in the identification device 22 for currency serial number matching. Optionally, if the currency does not match any of the target currencies in the target database 221, to further avoid missed identification, the currency is designated as the currency to be identified, and the currency information is transmitted to the target identification module 222 for target identification. Optionally, if the currency matches any target currency in the target database, it indicates that the currency has the risk of being the target currency, and the currency is generated accordingly. The system generates suspicious alerts and displays these alerts to the user. If the user, based on their experience with manual verification, believes that the currency is likely not the target currency, the currency is designated as the target currency to avoid misidentification, and its information is transmitted to the target identification module 222 for target identification. Optionally, if any currency fails the initial identification by the device 211, it indicates that the currency is at risk of being the target currency. Based on this, a suspicious alert is generated for the currency and displayed to the user. If the user is unsure whether the currency is the target currency, to avoid missed identification, the currency information is transmitted to the target database 221 in the identification device 22 for serial number matching, and the currency is designated as the target currency for identification based on the matching result.
[0082] In the target identification module 222, the similarity matching result between the currency to be identified and the currencies uploaded by other outlets in the preset area is calculated, i.e., the currency matching result; and the currency matching frequency corresponding to the currency when the currency to be identified matches any target currency in the target currency database is calculated; and then, based on the currency matching result and currency matching frequency of the currency to be identified, it is determined whether the currency to be identified is the target currency.
[0083] In the above embodiments, during the currency identification process, target identification is performed on currencies that cannot be clearly identified as the target currency to avoid missed identification and misidentification, thereby improving the accuracy of the identification results.
[0084] based on Figure 2 As illustrated in the application scenarios, this application also provides a currency recognition method. This method can be applied to electronic devices, including but not limited to terminal devices and cloud servers. Figure 3 The flowchart of the currency recognition method provided in the embodiments of this application Figure 1 .like Figure 3 As shown, the currency identification method includes:
[0085] S301. Obtain at least one currency item in the current branch that needs to be identified.
[0086] The execution subject of the method in this embodiment can be Figure 2 The target recognition module shown.
[0087] In this embodiment, target identification involves determining whether a currency is a target currency, i.e., counterfeit currency, based on the calculated monetary characteristics of the currency to be identified. Counterfeit currency typically refers to forged or imitated currencies that are not issued by authorized institutions (such as central banks) and are intended to deceive or mislead recipients into believing that the currency is genuine and legitimate. Their manufacture and circulation would harm the economic interests of the general public and financial institutions.
[0088] In this embodiment, the currency to be identified can be interpreted as: a currency that is initially identified by the current branch cashier and does not match any of the target currencies in the preset target currency database; a currency that is initially identified by the current branch cashier and matches any of the target currencies in the preset target currency database but has been uploaded by the user; or a currency that is not initially identified by the current branch cashier but has been uploaded by the user.
[0089] It can also be explained that, in the technical solution provided in this embodiment, the currency to be identified can also be understood as currency that cannot be obviously identified as counterfeit currency in the current branch.
[0090] Based on this, the currency to be identified in this application embodiment can be currency that has been initially identified by the cashier and then matched with the target currency database before being transmitted to the identification device, or it can be currency that has been directly uploaded to the identification device by the user.
[0091] S302. For any currency to be identified, determine the currency matching result based on the currency to be identified and the currencies uploaded by other outlets within the preset area.
[0092] The identification device has a pre-stored database of currencies corresponding to all outlets; each database stores the currencies uploaded by each outlet and the corresponding currency information.
[0093] The following section uses any currency to be identified as an example to describe the process of determining the matching result of the currency to be identified: When the currency to be identified is received, the currency information corresponding to the currency uploaded by other outlets in the preset area is read from the currency database. Then, the similarity matching process is performed between the currency information of the currency to be identified and the read currency information to obtain the currency matching result of the currency to be identified.
[0094] In this embodiment, the currency information includes, but is not limited to, anti-counterfeiting information of the currency, such as watermark images and serial numbers.
[0095] S303. Determine the currency matching frequency corresponding to the currency to be identified based on the currency to be identified and each target currency in the target currency database.
[0096] The identification device also pre-stores a target currency database. This database contains currency information that has been identified as the target currency at historical moments.
[0097] The following section uses any currency to be identified as an example to illustrate the process of determining the matching frequency of the currency to be identified:
[0098] When a currency to be identified is received, the system can also read the currency information of each target currency in the target currency database, perform consistency matching based on the currency information of the currency to be identified and the read currency information, and determine the matching frequency when the matching is consistent, and obtain the currency matching frequency of the currency to be identified based on the matching frequency.
[0099] Understandably, if the currency information of the currency to be identified does not match any of the other currency information, then the currency matching frequency of the currency to be identified can be directly determined to be 0.
[0100] S304. Based on the currency matching results and currency matching frequency of the currency to be identified, determine whether the currency to be identified is the target currency.
[0101] Based on the above, and using the currency matching results and frequency obtained according to the above implementation method, a deep currency authentication analysis is performed on the obtained currency matching results and frequency. Optionally, if the analysis results determine that the currency to be identified is counterfeit, then it is considered the target currency; otherwise, it is considered a legitimately manufactured currency.
[0102] In this embodiment, at least one currency to be identified is obtained from the current branch. The currency to be identified includes any one of a first currency, a second currency, or a third currency. The first currency is one initially identified by the current branch's teller machine and not matched with any target currency in the preset target currency database. The second currency is one initially identified by the current branch's teller machine, matched with any target currency in the preset target currency database, but uploaded by the user. The third currency is one not initially identified by the current branch's teller machine but uploaded by the user. For any currency to be identified, the currency matching result is determined based on the currency to be identified and currencies uploaded by other branches within the preset area. The currency matching result is the currency to be identified matching the currencies uploaded by other branches within the preset area. The similarity matching results between uploaded currencies are analyzed. Based on the currency to be identified and each target currency in the target currency database, the currency matching frequency corresponding to the currency to be identified is determined. The currency matching frequency is the matching frequency of the target currency when the currency to be identified matches any target currency in the target currency database. Based on the currency matching results and currency matching frequency of the currency to be identified, it is determined whether the currency to be identified is the target currency. In the currency identification process, currencies that cannot be clearly identified as target currencies are used as currency to be identified to avoid missed or false identifications, thus improving the accuracy of subsequent identification results. Furthermore, in the target identification process, multiple currency characteristics of the currency to be identified are considered to comprehensively determine whether the currency to be identified is the target currency, further improving the accuracy of the identification results.
[0103] Optionally, in this embodiment of the application, obtaining at least one currency to be identified in the current branch that needs to be identified includes: using a cashier's machine to perform initial currency identification on each currency received at the current branch; for any currency, if the currency passes the identification, then matching the currency with each target currency in a preset target currency database; if the currency does not match any of the target currencies, then determining the currency to be identified as the currency to be identified; if the currency matches any target currency, then the currency is fed back to the user, and when receiving an identification instruction from the user indicating that the currency needs to be identified, the currency is designated as the currency to be identified; if the currency fails the identification, then the currency is fed back to the user, and when receiving an identification instruction from the user indicating that the currency needs to be identified, the currency is designated as the currency to be identified.
[0104] Based on the above implementation method, optionally, the process of determining the currency to be identified further includes: if the currency fails to be identified, the currency is fed back to the user, and when the user inputs that the currency is a damaged currency, the step of matching the currency with each target currency in the preset target currency library is executed; if the currency matches any target currency, the currency is fed back to the user, and when the user inputs a determination instruction that the currency is the target currency, the currency is determined as the target currency.
[0105] Figure 4 The flowchart of the currency recognition method provided in the embodiments of this application Figure 2 See also Figure 4 In this embodiment of the application, obtaining at least one currency item that needs to be identified at the current branch may specifically include the following steps:
[0106] S401. Use the cashier's machine to perform initial currency identification on the currency received at the current branch and determine whether the identification passes; if yes, proceed to step S402; otherwise, proceed to step S403.
[0107] S402. Match the currency with each target currency in the preset target currency pool and determine whether they match. If they do, proceed to step S403; otherwise, proceed to step S407.
[0108] S403, Return the currency to the user;
[0109] S404, Receive user feedback instructions;
[0110] S405. Determine whether the instruction is a confirmation instruction; if not, proceed to step S406; otherwise, proceed to step S408.
[0111] S406. Determine whether the instruction is an identification instruction; if yes, proceed to step S407; otherwise, proceed to step S402.
[0112] S407. Identify the currency as the target currency that needs to be identified;
[0113] S408. Confirm the currency as the target currency.
[0114] In the current branch, the cashier machine counts the received currency according to business needs, and simultaneously performs initial identification of the currency during the counting process. This includes identifying the paper material, ink, magnetic features, and optical characteristics of the currency, and obtaining the initial identification result. If the above characteristics of the currency to be identified match the preset characteristics during the identification process, it means that the currency has passed the initial identification. However, due to the increasing sophistication of counterfeiting technology, in order to avoid the possibility of missing currency identification, the cashier machine uploads the currency information to an identification device that stores the target currency database during the initial identification process, so as to achieve further currency identification processing.
[0115] Specifically, the process involves reading the currency information of each target currency in the target currency database; that is, reading the counterfeit currency information of each counterfeit currency in the counterfeit currency database, and then matching the currency information of the target currency with the counterfeit currency information. Optionally, if the currency information of a target currency does not match the counterfeit currency information of any of the counterfeit currencies, it means that the currency information of that currency has not been counterfeited, or it has been counterfeited but not identified. To avoid the situation where the currency information of a target currency has been counterfeited but not identified, the uploaded currency can be used as the currency to be identified.
[0116] Optionally, if the currency information uploaded by the device matches the counterfeit currency information of any counterfeit currency, it indicates that the currency information has been forged, meaning that the currency is highly likely to be the target currency. In this case, the currency can be directly identified as the target currency. However, to avoid misidentification, the currency information can be fed back to the front end of the identification device so that the user can find the corresponding currency based on the currency information and perform manual verification again. Optionally, if the user determines through manual identification experience or feature comparison that the currency has obvious characteristics of counterfeit currency, it can be directly identified as the target currency. Conversely, if the user cannot determine whether the currency is counterfeit, they can input an identification command at the front end, and the identification device will respond to the identification command and identify the currency as the target currency to be identified.
[0117] Optionally, if the currency fails the initial identification by the cashier machine, the machine will generate a prompt message to alert the user that the currency is suspicious, allowing the user to manually identify it. Optionally, if the user determines through identification experience or feature comparison that the currency has obvious characteristics of counterfeit currency, it can be directly identified as the target currency. Conversely, if the user cannot determine whether the currency is counterfeit, to improve identification efficiency and accuracy, an identification instruction can be generated based on the currency information and uploaded to the identification device. The identification device will then respond to the identification instruction and identify the currency as the target currency to be identified.
[0118] Optionally, if the user determines that the currency is damaged after manual identification, the cashier can modify the initial identification result of the currency to "identified successfully," and the cashier can upload the currency information to the identification device to perform the step of matching the currency with each target currency in the preset target currency database, and perform subsequent steps based on the matching result.
[0119] Furthermore, after determining the currency to be identified, the currency is transmitted to the target identification module in the identification device to perform target identification based on the currency characteristics of the currency to be identified, so as to determine whether the currency is the target currency, i.e., counterfeit currency.
[0120] Optionally, in this embodiment of the application, determining the currency matching result of the currency to be identified based on the currency to be identified and the currencies uploaded by other outlets within a preset area includes: determining the currency matching result of the currency to be identified based on the serial number of the currency to be identified and the serial numbers of the currencies uploaded by other outlets within the preset area.
[0121] Specifically, upon receiving currency information for a currency to be identified, the serial number of the currency to be identified can be read to obtain the serial number of the currency to be identified. Furthermore, the serial numbers of the currencies uploaded by other branches within a preset area can be read from the currency database, and the serial number to be identified can be matched with each of the currency serial numbers. Based on the matching results, the currency matching result of the currency to be identified can be determined.
[0122] Optionally, in this embodiment of the application, determining the currency matching result of the currency to be identified based on the serial number of the currency to be identified and the corresponding serial numbers of currencies uploaded by other outlets within a preset area includes: obtaining the corresponding serial numbers of each currency uploaded by other outlets within a preset first area within a first preset time period, and determining a first currency matching result of the currency to be identified based on the currency to be identified and each serial number; obtaining the corresponding serial numbers of each currency uploaded by other outlets within a preset second area within a second preset time period, and determining a second currency matching result of the currency to be identified based on the currency to be identified and each serial number; wherein, the second area is larger than the first area; the second preset time period is larger than the first preset time period; and the currency matching result corresponding to the currency to be identified is determined based on the first currency matching result and the second currency matching result.
[0123] In this embodiment, in order to improve the accuracy of the recognition results, when matching with the currency of other outlets in the preset area, currencies from different areas can be obtained for matching.
[0124] For example, the city where the current outlet is located is determined, and then the province to which that city belongs is determined as the first regional scope, and then the whole country is determined as the second regional scope; optionally, the first and second regional scopes can be determined in other ways, and there is no limitation on this.
[0125] Since currency circulation is necessary, different acquisition time periods are set when acquiring currency in different areas to ensure the accuracy of the identification results. Specifically, the larger the area, the longer the acquisition time period.
[0126] For example, the above currency matching process can be understood as follows: when the serial number to be identified is A The currency to be identified is the currency uploaded by a branch in city A. If city A belongs to province A, then the currencies uploaded by other branches in province A within one hour can be read from the currency database. Furthermore, the serial number prefix of each currency can be used to identify whether any of these currencies have the prefix "A". The currency is identified, and the identification result is used as the first currency matching result for that currency to be identified.
[0127] At the same time, the system retrieves currency data uploaded by other branches nationwide within the past 6 hours from the currency database and identifies whether any of these currencies have a serial number prefix of A. The currency is identified, and the identification result is used as the second currency matching result for that currency with a certain amount.
[0128] Furthermore, by integrating the first currency matching result and the second currency matching result, the currency matching result of the currency to be identified is obtained.
[0129] While determining the serial number to be identified for the currency based on the currency information, the currency matching frequency of the currency to be identified can also be determined based on the serial number to be identified.
[0130] Optionally, in this embodiment of the application, determining the currency matching frequency corresponding to the currency to be identified based on the currency to be identified and each target currency in the target currency database includes: determining the currency matching frequency corresponding to the currency to be identified based on the serial number to be identified and the target serial numbers corresponding to each target currency in the target currency database.
[0131] Specifically, after obtaining the serial number of the currency to be identified, and reading the serial numbers corresponding to each target currency stored in the target currency database, the serial number to be identified is matched with each target serial number, and the currency matching frequency of the currency to be identified is determined based on the matching results.
[0132] Optionally, in this embodiment of the application, determining the currency matching frequency corresponding to the currency to be identified based on the serial number to be identified of the currency to be identified and the serial numbers corresponding to each target currency in the target currency database includes: for any target serial number corresponding to any target currency in the target currency database, matching the serial number to be identified with the target serial number; if the serial number to be identified matches the target serial number, then determining the currency matching frequency corresponding to the currency to be identified based on the matching frequency corresponding to the target serial number.
[0133] Specifically, it can also read the target serial numbers corresponding to each target currency in the target database, match the serial number to be identified with each target serial number, and obtain the currency matching frequency of the target currency based on the frequency of the target serial number being matched when it matches any target serial number.
[0134] For example, for the serial number to be identified as A The currency to be identified is matched with each target serial number stored in the target currency database; optionally, if the target currency database contains a serial number with serial number A... If the target serial number is not found in the target currency database, then the matching frequency corresponding to that serial number is read and used as the currency matching frequency for the currency to be identified. Optionally, if the serial number A does not exist in the target currency database... If the target serial number is determined, the currency matching frequency of the currency to be identified can be directly determined to be 0.
[0135] Based on this, the currency to be identified is identified according to the calculated currency matching results and currency matching frequency, and the identification result of whether the currency to be identified is the target currency is obtained.
[0136] Optionally, in this embodiment of the application, determining whether the currency to be identified is the target currency based on the currency matching result and the currency matching frequency includes: determining a first identification probability corresponding to the currency to be identified based on the first currency matching result; determining a second identification probability corresponding to the currency to be identified based on the second currency matching result; determining a third identification probability corresponding to the currency to be identified based on the currency matching frequency; and determining whether the currency to be identified is the target currency based on the first identification probability, the second identification probability, and the third identification probability.
[0137] Specifically, the probability values corresponding to the currency matching results and currency matching frequency under different conditions are preset, and then the identification of the currency to be identified is determined based on whether each probability value is greater than the preset probability threshold. Optionally, if it is greater than or equal to the target currency, it means that the identified currency is the target currency; otherwise, it means that the currency to be identified is not the target currency.
[0138] For example, the probability values corresponding to different currency features under different circumstances can be determined as follows: The probability value of the first currency matching result when it matches is 0.7, and the probability value of the first currency matching result when it does not match is 0; that is, the first recognition probability of the first matching result under different circumstances may be 0 or 0.7. The probability value of the second currency matching result when it matches is 0.9, and the probability value of the second currency matching result when it does not match is 0; that is, the second recognition probability of the second currency matching result under different circumstances may be 0 or 0.9. The probability value is 0 when the matching frequency is 0, 0.7 when the currency matching frequency is equal to 1, 0.9 when the currency matching frequency is greater than 1 and less than 10, and 1 when the currency matching frequency is greater than 10; that is, the third recognition probability of the approved matching frequency under different circumstances may be 0, 0.7, 0.9, or 1.
[0139] Based on this, if the serial number to be identified is A The first recognition probability for the currency to be identified is 0.7, the second recognition probability is 0.9, and the third recognition probability is 0.9. Since all probability values are greater than the preset probability threshold of 0.6, the serial number to be identified is A. The currency to be identified is the target currency.
[0140] Optionally, the technical solution provided in this application embodiment further includes: when it is determined that the currency to be identified is the target currency, determining whether the target currency exists in the target currency database; if it exists, incrementing the matching frequency corresponding to the target currency by one; if it does not exist, storing the target currency in the target currency database and setting the matching frequency corresponding to the currency to be identified to one.
[0141] Since the circulation of counterfeit currency harms the economic interests of individuals and institutions, to reduce economic losses, when any uploaded currency to be identified as a target currency (i.e., counterfeit currency) is determined according to the above implementation method, the target currency can be stored in the target currency database of the identification device. Specifically, before storage, it can be pre-determined whether the target currency exists in the target database; optionally, if it exists, it means that the currency information of the target currency has been detected and uploaded before, and the matching frequency of the target currency in the target currency database can be increased to obtain more accurate identification results when other currencies to be identified are identified subsequently; conversely, if it does not exist, to avoid missed matches when the currencies to be identified are matched with the target currency, a new target currency information can be added, that is, the target serial number of the target currency can be stored, and the matching frequency of the target currency can be set to 1, so as to facilitate subsequent matching and identification and improve the accuracy of the identification results.
[0142] Figure 5 This is a schematic diagram of the structure of the currency recognition device provided in an embodiment of this application. Figure 5 As shown, the currency recognition device 50 includes: a currency acquisition module 501 and a currency recognition module 504; wherein,
[0143] The currency to be identified module 501 is used to acquire at least one currency to be identified in the current branch that needs to be identified; wherein, the currency to be identified includes any one of a first currency, a second currency, or a third currency; wherein, the first currency is the currency that has been initially identified by the current branch's cashier and does not match any of the target currencies in the preset target currency database; the second currency is the currency that has been initially identified by the current branch's cashier and matches any target currency in the preset target currency database, but has been uploaded by the user; the third currency is the currency that has not been initially identified by the current branch's cashier but has been uploaded by the user;
[0144] The currency matching result determination module 502 is used to determine the currency matching result of any currency to be identified based on the currency to be identified and the currencies uploaded by other outlets within a preset area; the currency matching result is the similarity matching result between the currency to be identified and the currencies uploaded by other outlets within the preset area.
[0145] The currency matching frequency determination module 503 is used to determine the currency matching frequency corresponding to the currency to be identified based on the currency to be identified and each target currency in the target currency database; the currency matching frequency is the matching frequency of the target currency when the currency to be identified matches any target currency in the target currency database.
[0146] The currency identification module 504 is used to determine whether the currency to be identified is the target currency based on the currency matching result and the currency matching frequency of the currency to be identified.
[0147] The currency recognition module 504 includes:
[0148] Pre-set the probability values for currency matching results and currency matching frequencies under different circumstances;
[0149] Each probability value is compared with a preset probability threshold;
[0150] If each of the probability values is greater than or equal to the corresponding probability threshold, then the currency to be identified is determined to be the target currency.
[0151] If each of the probability values is less than the corresponding probability threshold, then the currency to be identified is determined to be not the target currency.
[0152] In one optional embodiment, the currency matching result determination module 502 includes:
[0153] The currency matching result determination submodule is used to determine the currency matching result of the currency to be identified based on the serial number of the currency to be identified and the serial numbers of the currencies uploaded by other outlets in the preset area.
[0154] Correspondingly, the currency matching frequency determination module 503 includes:
[0155] The currency matching frequency determination submodule is used to determine the currency matching frequency corresponding to the currency to be identified based on the serial number to be identified and the corresponding serial numbers of each target currency in the target currency database.
[0156] In one optional embodiment, the currency matching result determination submodule includes:
[0157] The first currency matching result determination unit is used to obtain the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset first area within a preset time period, and determine the first currency matching result of the currency to be identified based on the currency to be identified and each currency serial number.
[0158] The second currency matching result determination unit is used to obtain the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset second area within a preset time period, and to determine the second currency matching result of the currency to be identified based on the currency to be identified and each currency serial number; wherein, the second area is larger than the first area; the second preset time period is larger than the first preset time period; wherein, the second area is larger than the first area; the second preset time period is larger than the first preset time period;
[0159] The currency matching result determination unit is used to determine the currency matching result corresponding to the currency to be identified based on the first currency matching result and the second currency matching result.
[0160] In one optional embodiment, the currency matching frequency determination submodule includes:
[0161] The serial number matching unit is used to match the serial number to be identified with the target serial number for any target currency in the target currency database.
[0162] The currency matching frequency determination unit is used to determine the currency matching frequency corresponding to the currency to be identified based on the matching frequency corresponding to the target serial number if the serial number to be identified matches the target serial number.
[0163] In one alternative embodiment, the currency recognition module 504 includes:
[0164] The first identification probability determination submodule is used to determine the first identification probability corresponding to the currency to be identified based on the first currency matching result, and to determine the second identification probability corresponding to the currency to be identified based on the second currency matching result.
[0165] The second identification probability determination submodule is used to determine the third identification probability corresponding to the currency to be identified based on the currency matching frequency.
[0166] The target currency determination submodule is used to determine whether the currency to be identified is the target currency based on the first identification probability, the second identification probability, and the third identification probability.
[0167] In one optional embodiment, the currency identification module 501 includes:
[0168] The currency initial identification submodule is used to perform initial currency identification on the various currencies received at the current branch using cashier equipment;
[0169] The first currency matching submodule is used to match any currency with each target currency in the preset target currency database if the currency passes the identification.
[0170] The first submodule for determining the currency to be identified is used to determine the currency to be identified if it does not match any of the target currencies.
[0171] The second submodule for determining the currency to be identified is used to return the currency to the user if the currency matches any target currency, and to use the currency as the target currency to be identified when the user inputs an identification instruction that the currency needs to be identified.
[0172] The third submodule for determining the currency to be identified is used to provide feedback to the user if the currency fails to be identified, and to identify the currency as the currency to be identified when the user inputs an identification instruction that the currency needs to be identified.
[0173] In one alternative embodiment, the device further includes:
[0174] The second currency matching submodule is used to return the currency to the user if the currency fails to be recognized, and to perform the step of matching the currency with each target currency in the preset target currency library when the user inputs a damaged currency.
[0175] The second target currency determination submodule is used to return the currency to the user if the currency matches any target currency, and to determine the currency as the target currency when it receives a determination instruction from the user that the currency is the target currency.
[0176] The third target currency determination submodule is used to determine the currency as the target currency when it receives a determination instruction from the user that the currency is the target currency.
[0177] In one alternative embodiment, the device further includes:
[0178] The target currency lookup module is used to determine whether the target currency exists in the target currency database when the currency to be identified is determined to be the target currency.
[0179] The first currency processing module is used to increment the matching frequency of the target currency by one if it exists.
[0180] The second currency processing module is used to store the target currency in the target currency database if it does not exist, and to set the matching frequency of the currency to be identified to one.
[0181] The currency recognition device provided in this application embodiment can be used to execute the technical solution of the currency recognition method in the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0182] It should be noted that the division of the various modules (units) in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, the serial number matching unit can be a separate processing element, or it can be integrated into a chip in the above device. Alternatively, it can be stored as program code in the memory of the above device, and its function can be called and executed by a processing element of the device. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.
[0183] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device may include: a transceiver 601, a processor 602, and a memory 603.
[0184] The processor 602 executes computer execution instructions stored in the memory, causing the processor 602 to perform the scheme in the above embodiments. The processor 602 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0185] The memory 603 is connected to the processor 602 via the system bus and completes communication between them. The memory 603 is used to store computer program instructions.
[0186] Transceiver 601 can be used to obtain the task to be run and its configuration information.
[0187] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.
[0188] The electronic device provided in this application embodiment can be the terminal device described in the above embodiments.
[0189] This application also provides a chip for executing instructions, which is used to execute the technical solution of the currency recognition method in the above embodiments.
[0190] This application also provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the technical solution of the currency recognition method described above.
[0191] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, it can implement the technical solution of the currency recognition method in the above embodiments.
[0192] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0193] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to implement the solution of this embodiment according to actual needs.
[0194] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.
[0195] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application.
[0196] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.
[0197] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk or optical disc, etc.
[0198] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0199] The aforementioned storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0200] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. The processor and storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components in an electronic control unit or main control device.
[0201] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A currency identification method, characterized in that, include: Obtain at least one currency to be identified from the current branch; wherein the currency to be identified includes any one of a first currency, a second currency, or a third currency; wherein the first currency is the currency initially identified by the current branch's teller machine and not matched with any of the target currencies in the preset target currency database; the second currency is the currency initially identified by the current branch's teller machine, matched with any target currency in the preset target currency database, but uploaded by the user; the third currency is the currency not initially identified by the current branch's teller machine but uploaded by the user; For any currency to be identified, the currency matching result is determined based on the currency to be identified and the currencies uploaded by other outlets within the preset area; the currency matching result is the similarity matching result between the currency to be identified and the currencies uploaded by other outlets within the preset area. Based on the currency to be identified and each target currency in the target currency database, the currency matching frequency corresponding to the currency to be identified is determined; the currency matching frequency is the matching frequency of the target currency when the currency to be identified matches any target currency in the target currency database. Based on the currency matching results and the currency matching frequency of the currency to be identified, it is determined whether the currency to be identified is the target currency; The process of determining whether the currency to be identified is the target currency, based on the currency matching result and the currency matching frequency, includes: Pre-set the probability values for currency matching results and currency matching frequencies under different circumstances; Each probability value is compared with a preset probability threshold; If each of the probability values is greater than or equal to the corresponding probability threshold, then the currency to be identified is determined to be the target currency. If each of the probability values is less than the corresponding probability threshold, then the currency to be identified is determined to be not the target currency.
2. The method according to claim 1, characterized in that, The step of determining the currency matching result of the currency to be identified based on the currency to be identified and the currencies uploaded by other outlets within a preset area includes: The currency matching result of the currency to be identified is determined based on the serial number of the currency to be identified and the serial numbers of the currencies uploaded by other outlets in the preset area. Accordingly, based on the currency to be identified and each target currency in the target currency database, the currency matching frequency corresponding to the currency to be identified is determined, including: The currency matching frequency corresponding to the currency to be identified is determined based on the serial number to be identified and the target serial numbers corresponding to each target currency in the target currency database.
3. The method according to claim 2, characterized in that, The currency matching result of the currency to be identified is determined based on the serial number of the currency to be identified and the serial numbers of currencies uploaded by other branches within the preset area, including: Obtain the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset first area within a first preset time period, and determine the first currency matching result of the currency to be identified based on the currency to be identified and each of the currency serial numbers; Obtain the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset second area within a second preset time period, and determine the second currency matching result of the currency to be identified based on the currency to be identified and each of the currency serial numbers; wherein, the second area is larger than the first area; and the second preset time period is larger than the first preset time period; Based on the first currency matching result and the second currency matching result, the currency matching result corresponding to the currency to be identified is determined.
4. The method according to claim 2, characterized in that, Based on the serial number of the currency to be identified and the serial numbers corresponding to each target currency in the target currency database, the currency matching frequency corresponding to the currency to be identified is determined, including: For any target currency in the target currency database, match the serial number to be identified with the target serial number; If the serial number to be identified matches the target serial number, then the currency matching frequency corresponding to the currency to be identified is determined based on the matching frequency corresponding to the target serial number.
5. The method according to claim 3, characterized in that, Determining whether the currency to be identified is the target currency based on the currency matching result and the currency matching frequency includes: A first identification probability corresponding to the currency to be identified is determined based on the first currency matching result, and a second identification probability corresponding to the currency to be identified is determined based on the second currency matching result; The third identification probability corresponding to the currency to be identified is determined based on the currency matching frequency. Based on the first identification probability, the second identification probability, and the third identification probability, it is determined whether the currency to be identified is the target currency.
6. The method according to claim 1, characterized in that, Obtain at least one currency item from the current branch that requires target identification, including: The cashier's equipment is used to perform initial currency identification of the various currencies received at the current branch. For any currency, if the currency is identified, then the currency is matched with each target currency in the preset target currency database; If the currency does not match any of the target currencies, then the currency is identified as the currency to be identified that needs to be identified. If the currency matches any of the target currencies, the currency is fed back to the user, and when the user inputs an identification instruction that the currency needs to be identified, the currency is used as the currency to be identified. If the currency fails to be identified, the currency will be returned to the user, and when the user inputs an identification instruction that the currency needs to be identified, the currency will be used as the currency to be identified.
7. The method according to claim 6, characterized in that, The method further includes: If the currency fails to be identified, the currency will be returned to the user, and when the user inputs that the currency is a defaced currency, the step of matching the currency with each target currency in the preset target currency database will be executed. If the currency matches any of the target currencies, the currency is fed back to the user, and upon receiving the user's confirmation instruction that the currency is the target currency, the currency is confirmed as the target currency. Upon receiving the user's instruction that the currency is the target currency, the currency is determined as the target currency.
8. The method according to any one of claims 1-7, characterized in that, The method further includes: If the currency to be identified is determined to be the target currency, it is determined whether the target currency exists in the target currency database; If it exists, increment the matching frequency corresponding to the target currency by one; If it does not exist, the target currency is stored in the target currency database, and the matching frequency corresponding to the currency to be identified is set to one.
9. A currency recognition device, characterized in that, include: The currency to be identified module is used to acquire at least one currency to be identified in the current branch that needs to be identified. The currency to be identified includes any one of a first currency, a second currency, or a third currency. The first currency is one that has been initially identified by the current branch's teller machine and does not match any of the target currencies in the preset target currency database. The second currency is one that has been initially identified by the current branch's teller machine, matches any target currency in the preset target currency database, but has been uploaded by the user. The third currency is one that has not been initially identified by the current branch's teller machine but has been uploaded by the user. The currency matching result determination module is used to determine the currency matching result of any currency to be identified based on the currency to be identified and the currencies uploaded by other outlets within a preset area; the currency matching result is the similarity matching result between the currency to be identified and the currencies uploaded by other outlets within the preset area. The currency matching frequency determination module is used to determine the currency matching frequency corresponding to the currency to be identified based on the currency to be identified and each target currency in the target currency database; the currency matching frequency is the matching frequency of the target currency when the currency to be identified matches any target currency in the target currency database; The currency identification module determines whether the currency to be identified is the target currency based on the currency matching result and the currency matching frequency. The currency recognition module includes: Pre-set the probability values for currency matching results and currency matching frequencies under different circumstances; Each probability value is compared with a preset probability threshold; If each of the probability values is greater than or equal to the corresponding probability threshold, then the currency to be identified is determined to be the target currency. If each of the probability values is less than the corresponding probability threshold, then the currency to be identified is determined to be not the target currency.
10. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the currency recognition method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the currency recognition method as described in any one of claims 1 to 8.
12. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the currency recognition method according to any one of claims 1 to 8.
Citation Information
Patent Citations
A banknote identification method and identification device and a terminal apparatus
CN107464334A
Counterfeit currency identification method and device, processor and electronic equipment
CN116311185A