Currency identification method and device, equipment and storage medium
By acquiring and matching the similarity and frequency of currencies, the problem of low currency identification accuracy in the prior art is solved, and higher recognition accuracy is achieved.
Patent Information
- Application Number
- CN202411186023.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-08-27
AI Technical Summary
The existing currency identification technology has the problem of low recognition accuracy, especially due to the increasing improvement of counterfeiting technology, the counterfeit currency corresponding to the counterfeit currency contained in the database is not comprehensive, which affects the authenticity and false identification results of the currency.
By obtaining the currency to be identified in the current outlet that needs to be identified, and based on its similarity matching results with the currencies uploaded by other outlets in the preset area and the matching frequency of the target currency in the target currency database, comprehensively determine whether the currency to be identified is Target currency, avoid misidentification and misidentification.
It improves the accuracy of currency identification, reduces the situation of missed identification and misidentification, and improves the accuracy of identification results.
Smart Images

Figure CN119229463A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of currency identification, and in particular to a currency identification method, device, equipment and storage medium. Background Art
[0002] After the birth of currency, counterfeit currency also came into being. Especially after the circulation of paper currency, counterfeit currency gradually began to spread and flood. The flood of counterfeit currency not only disrupts the social and economic order, but also endangers the economic interests of the general public and financial institutions. Therefore, it is particularly important to identify the authenticity of currency.
[0003] The serial number of a banknote, i.e. the serial number or serial number printed on the banknote, is the unique identifier of each banknote. In the process of currency identification, especially for the authenticity identification of banknotes, although the banknote serial number itself cannot directly reveal the authenticity of the banknote, through serial number matching, it can be linked to the database of counterfeit currency serial numbers corresponding to each counterfeit currency collected in advance by financial institutions, and then the authenticity information corresponding to the serial number can be obtained, thereby assisting in judging the true status of the banknote. However, with the increasing sophistication of counterfeiting technology, the counterfeit currency serial numbers corresponding to counterfeit currencies contained in the database are not comprehensive.
[0004] Therefore, the existing currency recognition technology has the technical problem of low recognition accuracy. Summary of the invention
[0005] The present application provides a currency recognition method, device, equipment and storage medium to solve the problem of low currency recognition accuracy in the prior art.
[0006] In a first aspect, the present application provides a currency identification method, comprising: obtaining at least one to-be-identified currency that needs to be identified in a current branch; wherein the to-be-identified currency includes a first currency, a second currency and / or a third currency; wherein the first currency is a currency that is initially identified by a cashier at the current branch and does not match any target currency in a preset target currency library; the second currency is a currency that is initially identified by a cashier at the current branch and matches any target currency in a preset target currency library but is uploaded by a user; the second currency is a currency that is not initially identified by a cashier at the current branch but is uploaded by a user;
[0007] For any currency to be identified, a currency matching result of the currency to be identified is determined based on the currency to be identified and the currencies uploaded by other outlets in the preset area; the currency matching result is a similarity matching result between the currency to be identified and the currencies uploaded by other outlets in the preset area;
[0008] According to the currency to be identified and each target currency in the target currency library, a currency matching frequency corresponding to the currency to be identified is determined; the currency matching frequency is the matching frequency corresponding to the target currency when the currency to be identified matches any target currency in the target currency library;
[0009] According to the currency matching result of the currency to be identified and the currency matching frequency, it is determined whether the currency to be identified is a target currency.
[0010] In a possible design, determining a currency matching result of the currency to be identified based on the currency to be identified and currencies uploaded by other outlets in a preset area includes:
[0011] Determine a currency matching result of the currency to be identified according to the to-be-identified serial number corresponding to the to-be-identified currency and the currency serial numbers corresponding to the currencies uploaded by other outlets in a preset area;
[0012] Accordingly, determining the currency matching frequency corresponding to the currency to be identified according to the currency to be identified and each target currency in the target currency library includes:
[0013] According to the to-be-identified serial number and the target serial numbers corresponding to the target currencies in the target currency library, the currency matching frequency corresponding to the to-be-identified currency is determined.
[0014] In a possible design, the currency matching result of the currency to be identified is determined according to the to-be-identified serial number corresponding to the to-be-identified currency and the currency serial numbers corresponding to the currencies uploaded by other outlets in a preset area, including:
[0015] Obtaining currency serial numbers corresponding to currencies 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 according to the currency to be identified and each of the currency serial numbers;
[0016] 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 according to 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;
[0017] A currency matching result corresponding to the to-be-identified currency is determined according to the first currency matching result and the second currency matching result.
[0018] In a possible design, determining the currency matching frequency corresponding to the currency to be identified according to the identification serial number of the currency to be identified and the target serial numbers corresponding to the target currencies in the target currency library respectively includes:
[0019] For a target serial number corresponding to any target currency in the target currency library, matching the serial number to be identified with the target serial number;
[0020] If the to-be-identified serial number matches the target serial number, the currency matching frequency corresponding to the to-be-identified currency is determined according to the matching frequency corresponding to the target serial number.
[0021] In a possible design, determining whether the to-be-identified currency is a target currency according to the currency matching result and the currency matching frequency includes:
[0022] Determine a first recognition probability corresponding to the currency to be identified according to the first currency matching result, and determine a second recognition probability corresponding to the currency to be identified according to the second currency matching result;
[0023] Determining a third recognition probability corresponding to the to-be-recognized currency according to the currency matching frequency;
[0024] It is determined whether the currency to be identified is a target currency according to the first identification probability, the second identification probability and the third identification probability.
[0025] In a possible design, obtaining at least one currency to be identified that needs to be identified in the current branch includes:
[0026] Use cashier machines to perform initial currency identification on each currency received by the current outlet;
[0027] For any currency, if the currency passes the identification, the currency is matched with each target currency in the preset target currency library;
[0028] If the currency does not match any of the target currencies, the currency is determined as a currency to be identified that requires target identification;
[0029] If the currency matches any of the target currencies, the currency is fed back to the user, and when an identification instruction is received from the user indicating that the currency needs to be identified, the currency is used as a currency to be identified that needs to be identified;
[0030] If the currency fails to pass the identification, the currency is fed back to the user, and when an identification instruction input by the user is received that the currency needs to be subject to target identification, the currency is used as a currency to be identified.
[0031] In one possible design, the method further includes:
[0032] If the currency fails to pass the identification, the currency is fed back to the user, and when receiving the user input that the currency is a damaged currency, the step of matching the currency with each target currency in a preset target currency library is performed;
[0033] If the currency matches any of the target currencies, the currency is fed back to the user, and upon receiving a confirmation instruction input by the user that the currency is the target currency, the currency is determined as the target currency;
[0034] When a determination instruction input by the user that the currency is a target currency is received, the currency is determined as the target currency.
[0035] In one possible design, the method further includes:
[0036] In the case where it is determined that the currency to be identified is a target currency, determining whether the target currency exists in the target currency library;
[0037] If it exists, the matching frequency corresponding to the target currency is increased by one;
[0038] If not, the target currency is stored in the target currency library, and the matching frequency corresponding to the to-be-identified currency is set to one.
[0039] In a second aspect, the present application provides a currency identification device, comprising: a currency acquisition module to be identified and a currency identification module; wherein:
[0040] The module for acquiring currency to be identified is used to acquire at least one currency to be identified that needs to be identified in the current branch; wherein the currency to be identified includes a first currency, a second currency and / or a third currency; wherein the first currency is a currency that is initially identified by the cashier of the current branch and does not match any target currency in the preset target currency library; the second currency is a currency that is initially identified by the cashier of the current branch and matches any target currency in the preset target currency library but is uploaded by the user; the third currency is a currency that is not initially identified by the cashier of the current branch but is uploaded by the user;
[0041] A currency matching result determination module is used to determine, for any currency to be identified, a currency matching result of the currency to be identified based on the currency to be identified and currencies uploaded by other outlets in a preset area; the currency matching result is a similarity matching result between the currency to be identified and currencies uploaded by other outlets in the preset area;
[0042] A currency matching frequency determination module is used to determine the currency matching frequency corresponding to the currency to be identified according to the currency to be identified and each target currency in the target currency library; the currency matching frequency is the matching frequency corresponding to the target currency when the currency to be identified matches any target currency in the target currency library;
[0043] The currency identification module determines whether the currency to be identified is a target currency according to the currency matching result of the currency to be identified and the currency matching frequency.
[0044] In a third aspect, an embodiment of the present application provides an electronic device comprising: at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the currency identification method described in the first aspect and various possible designs of the first aspect.
[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the currency identification method described in the first aspect and various possible designs of the first aspect is implemented.
[0046] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the currency identification method described in the first aspect and various possible designs of the first aspect.
[0047] The currency identification method, device, equipment and storage medium provided by the present application obtain at least one currency to be identified in the current branch that needs to be identified as a target; wherein the currency to be identified includes a first currency, a second currency and / or a third currency; wherein the first currency is a currency that is initially identified by the current branch cashier machine and does not match any target currency in a preset target currency library; the second currency is a currency that is initially identified by the current branch cashier machine and matches any target currency in a preset target currency library, but is uploaded by a user; the third currency is a currency that is not initially identified by the current branch cashier machine but is uploaded by a user; for any currency to be identified, the currency matching result of the currency to be identified is determined based on the currency to be identified and the currencies uploaded by other branches in a preset area; the currency matching result is the currency matching result between the currency to be identified and the currency in the preset area similarity matching results between currencies uploaded by other outlets; 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 library; the currency matching frequency is the matching frequency corresponding to the target currency when the currency to be identified matches any target currency in the target currency library; determining 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; in the above scheme, each currency that cannot be obviously determined as the target currency in the initial identification process is treated as a currency to be identified for target identification, so as to avoid missed identification and misidentification, and improve the accuracy of subsequent identification results; further in the target identification process, by considering multiple currency characteristics of the currency to be identified, a comprehensive judgment is made as to whether the currency to be identified is the target currency, so as to further improve the accuracy of the identification results. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0049] Figure 1 This is an application scenario diagram of currency recognition in the prior art;
[0050] Figure 2 This is an application scenario diagram of the currency identification method applicable to the embodiment of the present application;
[0051] Figure 3 The process of the currency identification method provided in the embodiment of the present application Figure 1 ;
[0052] Figure 4 The process of the currency identification method provided in the embodiment of the present application Figure 2 ;
[0053] Figure 5 A schematic diagram of the structure of a currency identification device provided in an embodiment of the present application;
[0054] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0055] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0057] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.
[0058] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0059] Terminology explanation:
[0060] Currency: generally refers to a widely accepted medium of exchange used to trade 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 scenario, the currency to be identified is generally paper money.
[0061] Serial number: A unique combination of letters and numbers printed on currency (usually banknotes) to identify and track each piece of currency. Serial numbers are usually a series of letters and numbers, and the specific format and length may vary depending on the country and issuing organization.
[0062] Cashier: refers to cash handling equipment used in banks, financial institutions or other enterprises. Common cashiers include the following: money counters, money detectors, cash deposit and withdrawal machines, and cash deposit and withdrawal machines.
[0063] Figure 1 This is an application scenario diagram of currency recognition in the prior art. Figure 1As 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 type in the current branch; the identification device 12 pre-stores a target currency library 121 generated by a relevant institution and containing target serial numbers corresponding to each target currency.
[0064] Currency identification refers to identifying whether the currency (e.g., banknotes) involved in the current outlet is the target currency, i.e., counterfeit currency.
[0065] In the prior art, each machine 111 counts the currency of the current branch and performs initial currency identification during the counting process; if any currency is identified as a suspicious currency, that is, the probability that the currency is the target currency is high, a suspicious prompt information that the currency is a suspicious currency is generated, and the above suspicious prompt information is fed back to the user, that is, the branch teller in the current branch; if the branch teller also determines that the risk of the currency being the target currency is high, the serial number of the currency is input into the identification device 2;
[0066] The identification device 2 matches the received serial number in the target currency library 121. If the target serial number that matches the serial number exists in the target currency library 121, an identification result is generated that the currency is the target currency. On the contrary, if the target serial number that matches the serial number does not exist in the target currency library 121, an identification result is generated that the currency is not the target currency.
[0067] However, with the increasing sophistication of counterfeiting technology, there are some unrecognized target currencies on the market, resulting in the target currency library containing target serial numbers corresponding to the target currencies being incomplete, which in turn affects the recognition results of subsequent currencies.
[0068] In response to the above technical problems, the present application proposes the following technical concepts: after receiving the currency, the currency is first initially identified through the cashier; optionally, if the identification is successful, the currency is matched with the target currency in the target currency library; optionally, when the currency does not match each target currency, in order to avoid missed identification, the currency is re-identified based on the calculated currency characteristics to determine whether it is the target currency; optionally, when the currency matches any target currency, it indicates that there is a high risk that the currency is the target currency, and suspicious prompt information that the currency may be counterfeit is fed back to the user. If the user believes through manual review experience that the probability that the currency is not the target currency is high, the calculated currency characteristics can be used to identify the currency again. The currency characteristics are used to re-identify the currency to avoid misidentification; optionally, if the currency fails to pass the identification of the cashier machine, it means that there is a risk that the currency is the target currency, and suspicious prompt information corresponding to the currency is generated and fed back to the user. When the user determines that the currency needs to be re-identified, the currency is re-identified according to the calculated currency characteristics; further, in the re-identification process, the similarity matching results between the currency and the currencies uploaded by other outlets in the preset area and the matching frequency corresponding to the target currency when the currency matches any target currency in the target currency library are calculated, and the above two characteristics are used to jointly identify the currency to obtain the identification result of the currency, that is, to determine whether the currency is the target currency. In this way, the technical problem of low accuracy of the identification results existing in the prior art can be solved.
[0069] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0070] Figure 2 FIG. 1 is an application scenario diagram of the currency identification method applicable to the embodiment of the present application. Figure 2 As shown, the application scenario includes: cashier machine 21 and identification device 22; wherein, cashier machine 21 includes at least one machine 211 of the same or different type in the current outlet; the identification device 22 pre-stores a target currency library 221 containing target serial numbers corresponding to each target currency generated by a relevant institution and a target identification module 222, and the target identification module 222 is used to calculate currency features and re-identify the currency based on the currency features 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 may include a target identification model corresponding to a pre-built-in traditional identification algorithm, and the target identification process in the target identification module 222 is not specifically limited.
[0071] In the embodiment of the present application, each machine 211 counts the currency in the current branch and initially identifies the currency during the counting process; optionally, when any currency is initially identified by the machine 211, in order to avoid missed identification, the machine 211 is used to transmit 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 target currency in the target database 221, to further avoid missed identification, the currency is used as a 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 means that the currency is at risk of being the target currency, and on this basis, the currency is generated. Suspicious prompt information is generated and the user is prompted with the suspicious prompt information. When the user believes that the currency is not the target currency with a high probability based on manual review experience, in order to avoid misidentification, the currency is used as the currency to be identified, and the currency information is transmitted to the target identification module 222 for target identification; optionally, when any currency fails the initial identification by the machine 211, it indicates that there is a risk that the currency is the target currency. On this basis, suspicious prompt information of the currency is generated, and the user is prompted with the suspicious prompt information. When the user is not sure that the currency is the target currency, in order to avoid missed identification, the currency information of the currency is transmitted to the target database 221 in the identification device 22 to realize crown number matching, and it is determined as the currency to be identified for target identification based on the matching result.
[0072] In the target identification module 222, the similarity matching result between the currency to be identified and the currency uploaded by other outlets in the preset area, that is, the currency matching result, is calculated; and the currency matching frequency corresponding to the currency when the currency to be identified matches any target currency in the target currency library 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.
[0073] In the above implementation, during the currency recognition process, target recognition is performed on currencies that cannot be clearly identified as target currencies to avoid missed recognition and misrecognition, thereby improving the accuracy of the recognition result.
[0074] based on Figure 2 In the application scenario shown, the embodiment of the present application also provides a currency identification method. The method can be applied to electronic devices, including but not limited to terminal devices and cloud servers. Figure 3 The process of the currency identification method provided in the embodiment of the present application Figure 1 .like Figure 3 As shown, the currency identification method includes:
[0075] S301, obtaining at least one currency to be identified that needs to be identified in the current branch.
[0076] The execution subject of the method of this embodiment may be Figure 2 The target recognition module shown in .
[0077] In this embodiment, target identification is to determine whether the currency to be identified is the target currency, i.e., counterfeit currency, based on the calculated currency characteristics. Counterfeit currency generally refers to counterfeit or forged currency that is issued by unauthorized institutions and is intended to deceive or mislead recipients into believing that the currency is authentic and legal, and its manufacture and circulation will endanger the economic interests of the general public and financial institutions.
[0078] In this embodiment, the currency to be identified can be interpreted as the currency that is initially identified by the current branch cashier and does not match any target currency in the preset target currency library, the currency that is initially identified by the current branch cashier and matches any target currency in the preset target currency library but is uploaded by the user, and / or the currency that is not initially identified by the current branch cashier but is uploaded by the user.
[0079] It can also be explained that, in the technical solution provided in this embodiment, the currency to be identified can also be understood as the currency that cannot be obviously identified as counterfeit currency in the current outlets.
[0080] On this basis, the currency to be identified in the embodiment of the present application can be the currency transmitted to the identification device after initial identification by the cashier machine and sampling from the target currency library for matching, or it can be the currency directly uploaded to the identification device by the user.
[0081] S302: For any currency to be identified, determine a currency matching result of the currency to be identified based on the currency to be identified and currencies uploaded by other outlets in a preset area.
[0082] The identification device pre-stores currency databases corresponding to all outlets; each database stores currency information of currencies and currency pairs uploaded by each outlet.
[0083] Next, taking any currency to be identified as an example, the process of determining the matching result of the currency to be identified is introduced: 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, and then the currency information of the currency to be identified is compared with the read currency information for similarity, and the currency matching result of the currency to be identified is obtained.
[0084] In this embodiment, the currency information includes but is not limited to the anti-counterfeiting information of the currency, such as watermark images and serial numbers.
[0085] S303: Determine the currency matching frequency corresponding to the currency to be identified according to the currency to be identified and each target currency in the target currency library.
[0086] The identification device also pre-stores a target currency library, which stores currency information corresponding to the target currency identified at historical moments.
[0087] Next, taking any currency to be identified as an example, the process of determining the matching frequency of the currency to be identified is introduced:
[0088] When receiving the currency to be identified, the currency information of each target currency in the target currency library can also be read, and consistency matching is performed based on the currency information of the currency to be identified and the read currency information, and when the match is consistent, the matching frequency of the matched currency is determined, and the currency matching frequency of the currency to be identified is obtained based on the matching frequency.
[0089] It can be understood that if the currency information of the currency to be identified does not match any of the currency information, it can be directly determined that the currency matching frequency of the currency to be identified is 0.
[0090] S304: 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.
[0091] On the basis of the above, based on the currency matching results and currency matching frequencies of the currency to be identified according to the above implementation, the obtained currency matching results and currency matching frequencies are subjected to currency deep counterfeit identification analysis. Optionally, if the analysis result determines that the currency to be identified is a counterfeit currency, it means that the currency to be identified is the target currency; otherwise, it means that the currency to be identified is a legally manufactured currency.
[0092] In an embodiment of the present application, at least one currency to be identified that needs to be identified in the current branch is obtained; wherein the currency to be identified includes a first currency, a second currency and / or a third currency; wherein the first currency is a currency that is initially identified by the current branch cashier machine and does not match any target currency in a preset target currency library; the second currency is a currency that is initially identified by the current branch cashier machine and matches any target currency in a preset target currency library, but is uploaded by a user; the second currency is a currency that is not initially identified by the current branch cashier machine but is uploaded by a user; for any currency to be identified, a currency matching result of the currency to be identified is determined based on the currency to be identified and the currencies uploaded by other branches in a preset area; the currency matching result is a match between the currency to be identified and the currencies uploaded by other branches in a preset area. similarity matching result between currencies; determining the currency matching frequency corresponding to the currency to be identified according to the currency to be identified and each target currency in the target currency library; the currency matching frequency is the matching frequency corresponding to the target currency when the currency to be identified matches any target currency in the target currency library; determining whether the currency to be identified is the target currency according to the currency matching result and the currency matching frequency of the currency to be identified; in the above-mentioned process of currency identification, each currency that cannot be obviously determined as the target currency is used as the currency to be identified for target identification to avoid missed identification and misidentification, thereby improving the accuracy of subsequent identification results; further in the target identification process, by considering multiple currency characteristics of the currency to be identified, comprehensively judging whether the currency to be identified is the target currency, further improving the accuracy of the identification result.
[0093] Optionally, in an embodiment of the present application, obtaining at least one currency to be identified that needs to be target identified in the current branch includes: using a cashier machine to perform initial currency identification on each currency received by the current branch; for any currency, if the currency passes the identification, the currency is matched with each target currency in a preset target currency library; if the currency does not match any target currency, the currency is determined as a currency to be identified that needs to be target identified; if the currency matches any target currency, the currency is fed back to the user, and when receiving an identification instruction input by the user that the currency needs to be target identified, the currency is used as the currency to be identified; if the currency fails to pass the identification, the currency is fed back to the user, and when receiving an identification instruction input by the user that the currency needs to be target identified, the currency is used as the currency to be identified.
[0094] Based on the above implementation, optionally, the process of determining the currency to be identified also includes: if the currency fails to pass the identification, the currency is fed back to the user, and when the currency input by the user is a damaged currency, the step of matching the currency with each target currency in a preset target currency library is executed; if the currency matches any target currency, the currency is fed back to the user, and when a confirmation instruction is received that the currency input by the user is the target currency, the currency is determined as the target currency; when a confirmation instruction is received that the currency input by the user is the target currency, the currency is determined as the target currency.
[0095] Figure 4 The process of the currency identification method provided in the embodiment of the present application Figure 2 . See Figure 4 In the embodiment of the present application, obtaining at least one currency to be identified in the current outlet that needs to be identified may specifically include the following steps:
[0096] S401, using a cashier machine to perform initial currency recognition on the currency received by the current branch, and determine whether the recognition is successful; if so, executing step S402; otherwise, executing step S403;
[0097] S402, matching the currency with each target currency in the preset target currency library to determine whether they match; if so, executing step S403; otherwise, executing step S407;
[0098] S403, feeding back the currency to the user;
[0099] S404, receiving a user feedback instruction;
[0100] S405, determine whether the instruction is a confirmation instruction; if not, execute step S406; otherwise, execute step S408;
[0101] S406, determine whether the instruction is a recognition instruction; if so, execute step S407; otherwise, execute step S402;
[0102] S407, determining the currency as a currency to be identified that needs to be identified as a target;
[0103] S408. Confirm that the currency is the target currency.
[0104] In current outlets, cashier machines count the received currency according to business needs, and simultaneously perform initial identification of the currency during the counting process, such as identifying the paper material, ink, magnetic characteristics, and optical characteristics of the currency, based on which the initial identification result of the currency is obtained; if the above characteristics of the currency to be identified during the identification process are consistent with the preset characteristics, it means that the currency has passed the initial identification; however, due to the increasing advancement of counterfeiting technology, in order to avoid the situation of missed currency identification, the currency information is uploaded to the identification device that stores the target currency library during the initial identification to achieve further currency identification processing.
[0105] Specifically, the currency information of each target currency in the target currency library is read; that is, the counterfeit currency information of each counterfeit currency in the counterfeit currency library is read, and then the currency information of the currency is matched with the counterfeit currency information; optionally, if the currency information of the currency does not match the counterfeit currency information of each counterfeit currency, it means that the currency information has never been counterfeited, or has been counterfeited but not identified; in order to avoid the situation where the currency information of the above currency has been counterfeited but not identified, resulting in missed identification of the currency, the uploaded currency can be used as the currency to be identified.
[0106] Optionally, if the currency information corresponding to the currency uploaded by the machine matches the counterfeit currency information of any counterfeit currency, it means that the currency information of the currency has been counterfeited, that is, the probability that the currency is the target currency is relatively high. At this time, the currency can be directly determined as the target currency; however, in order to avoid misidentification of currency, the currency information of the currency 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 a counterfeit currency, the currency can be directly determined as the target currency; conversely, if the user cannot make a judgment on whether the currency is a counterfeit currency, the user can input an identification instruction for the currency to be identified at the front end, and the identification device responds to the identification instruction and uses the currency as the currency to be identified that needs to be identified.
[0107] Optionally, if the currency fails the initial identification of the cashier machine, the cashier machine will generate a prompt message to remind the user that the currency is a suspicious currency, so that the user can manually identify the currency; optionally, if the user determines through identification experience or feature comparison that the currency has obvious characteristics of counterfeit currency, the currency can be directly determined as the target currency; conversely, if the user cannot make a judgment on whether the currency is counterfeit currency, in order to improve the identification efficiency and accuracy, the identification instruction can be directly generated based on the currency information of the currency and uploaded to the identification device, and then the identification device responds to the identification instruction and regards the currency as a currency to be identified that needs to be identified as a target.
[0108] Optionally, if the user determines that the currency is damaged after manual identification, the cashier can be operated to modify the initial identification result of the currency to passed identification, and the cashier can upload the currency information of the currency to the identification device to execute the step of matching the currency with each target currency in the preset target currency library, and execute subsequent steps based on the matching results.
[0109] Furthermore, after the currency to be identified is determined, the identified currency is transmitted to a target identification module in the identification device to perform target identification according to the currency characteristics of the currency to be identified to determine whether the currency is a target currency, ie, a counterfeit currency.
[0110] Optionally, in an embodiment of the present application, a currency matching result of the currency to be identified is determined based on the currency to be identified and the currency uploaded by other outlets within a preset area, including: determining the currency matching result of the currency to be identified based on the currency serial number corresponding to the currency to be identified and the currency serial numbers corresponding to the currency uploaded by other outlets within the preset area.
[0111] Specifically, when the currency information of the currency to be identified is received, the serial number of the currency to be identified can be obtained by reading the serial number in the currency information, and the serial numbers of the currencies corresponding to the currencies uploaded by other outlets in the preset area are read in the currency database, and the serial number to be identified is matched with each currency serial number respectively, and the currency matching result of the currency to be identified is determined according to the matching result.
[0112] Optionally, in an embodiment of the present application, a currency matching result of the currency to be identified is determined based on the currency serial number of the currency to be identified and the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset area, including: obtaining the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset first area within a first preset time period, and determining the first currency matching result of the currency to be identified based on the currency to be identified and the currency serial numbers; obtaining the currency serial numbers corresponding to the currencies uploaded by other outlets within a preset second area within a second preset time period, and determining the second currency matching result of the currency to be identified based on the currency to be identified and the currency serial numbers; wherein the second area is larger than the first area; the second preset time period is larger than the first preset time period; and determining the currency matching result corresponding to the currency to be identified based on the first currency matching result and the second currency matching result.
[0113] In this embodiment, in order to improve the accuracy of the recognition result, when using the currency of other outlets in the preset area for matching, currencies within different areas can be obtained for matching.
[0114] Exemplarily, the city where the current outlet is located is determined, and then the province to which the city belongs is determined as the first regional scope, and then the national scope is determined as the second regional scope; optionally, the first regional scope and the second regional scope can also be determined according to other methods, which are not limited to this.
[0115] Since currency circulation needs to be realized, in order to ensure the accuracy of the recognition results, different acquisition time periods are set when acquiring currency in different areas. Specifically, the larger the area, the longer the acquisition time period;
[0116] Exemplarily, the above-mentioned currency matching process can be understood as follows: when the currency to be identified with a serial number of A***** is the currency uploaded by a certain outlet in city A, and it is determined that the province to which city A belongs is province A, then the currency uploaded by other outlets in province A within 1 hour can be read from the currency database, and based on the serial numbers of each currency, it can be identified whether there is a currency with a serial number of A***** among the above-mentioned currencies, and the identification result can be used as the first currency matching result of the currency to be identified.
[0117] At the same time, the currency uploaded by other outlets across the country within 6 hours is read from the currency database, and the currency with the serial number A***** is identified among the above currencies based on the serial number of each currency, and the identification result is used as the second currency matching result of the currency with the required amount.
[0118] Furthermore, the first currency matching result and the second currency matching result are integrated to obtain a currency matching result of the currency to be identified.
[0119] While determining the serial number of the currency to be identified according to the currency information, the currency matching frequency of the currency to be identified can also be determined according to the serial number.
[0120] Optionally, in an embodiment of the present application, a currency matching frequency corresponding to the currency to be identified is determined based on the currency to be identified and each target currency in the target currency library, including: determining the currency matching frequency corresponding to the currency to be identified based on the target serial number to be identified and each target currency in the target currency library respectively corresponding to the target serial number.
[0121] Specifically, after obtaining the to-be-identified serial number of the to-be-identified currency, and reading the target serial numbers corresponding to the target currencies stored in the target currency library, the to-be-identified serial number is matched with the target serial numbers respectively, and the currency matching frequency of the to-be-identified currency is determined according to the matching result.
[0122] Optionally, in an embodiment of the present application, a currency matching frequency corresponding to the currency to be identified is determined based on the to-be-identified crown number of the currency to be identified and the target crown numbers corresponding to the target currencies in the target currency library, including: for the target crown number corresponding to any target currency in the target currency library, the to-be-identified crown number is matched with the target crown number; if the to-be-identified crown number matches the target crown number, the currency matching frequency corresponding to the currency to be identified is determined based on the matching frequency corresponding to the target crown number.
[0123] Specifically, the target serial numbers corresponding to the target currencies in the target database may be read, and the serial numbers to be identified may be matched with the target serial numbers respectively. The currency matching frequency of the currency to be identified may be obtained based on the frequency with which the target serial number has been matched when the serial number to be identified matches any target serial number.
[0124] Exemplarily, for a currency to be identified with a serial number A*****, the serial number to be identified is matched with each target serial number stored in the target currency library; optionally, if there is a target serial number A***** in the target currency library, the matching frequency corresponding to the target serial number is read, and the matching frequency is used as the currency matching frequency of the currency to be identified. Alternatively, if there is no target serial number A***** in the target currency library, the currency matching frequency of the currency to be identified can be directly determined to be 0.
[0125] On this basis, the currency to be identified is subjected to target identification according to the calculated currency matching result and currency matching frequency, and an identification result of whether the currency to be identified is the target currency is obtained.
[0126] Optionally, in an embodiment of the present application, whether the currency to be identified is the target currency is determined based on the currency matching result and the currency matching frequency, including: determining a first recognition probability corresponding to the currency to be identified based on the first currency matching result, and determining a second recognition probability corresponding to the currency to be identified based on the second currency matching result; determining a third recognition 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 recognition probability, the second recognition probability and the third recognition probability.
[0127] Specifically, the probability values corresponding to the currency matching results and the currency matching frequencies in different situations are pre-set, and then whether the currency to be identified is the target currency is determined based on whether each probability value is greater than a preset probability threshold; optionally, if it is greater than or equal to, it means that the identified currency is the target currency; otherwise, it means that the currency to be identified is not the target currency.
[0128] Exemplarily, the method of determining the probability values corresponding to different currency features in different situations may be: setting the probability value corresponding to the first currency matching result in the currency matching result to 0.7 when the matching is consistent, otherwise, the probability corresponding to the first currency matching result in the case of inconsistent matching is 0; that is, the first recognition probability corresponding to the first matching result in different situations may be 0 or 0.7; the probability value corresponding to the second currency matching result in the case of consistent matching is 0.9, otherwise, the probability corresponding to the second currency matching result in the case of inconsistent matching is 0; that is, the second recognition probability corresponding to the second currency matching result in different situations may be 0 or 0.9; the corresponding probability value is 0 when the matching frequency is 0, the corresponding probability value is 0.7 when the currency matching frequency is equal to 1, the corresponding probability value is 0.9 when the currency matching frequency is greater than 1 and less than 10, and the corresponding probability value is 1 when the currency matching frequency is greater than 10; that is, the third recognition probability corresponding to the approved matching frequency in different situations may be 0, 0.7, 0.9 or 1;
[0129] On this basis, if the first recognition probability corresponding to the currency to be identified with the serial number A***** is 0.7, the second recognition probability is 0.9, and the third recognition probability is 0.9, since each probability value is greater than the preset probability threshold of 0.6, the currency to be identified with the serial number A***** is the target currency.
[0130] Optionally, the technical solution provided by the embodiment of the present application also 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 library; if so, increasing the matching frequency corresponding to the target currency by one; if not, storing the target currency in the target currency library, and setting the matching frequency corresponding to the currency to be identified to one.
[0131] Since the circulation of counterfeit currency will endanger the economic interests of individuals and institutions, in order to reduce the occurrence of economic losses, when any uploaded currency to be identified is determined as the target currency, that is, counterfeit currency according to the above implementation method, the target currency can be stored in the target currency library in 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 is a currency that has been detected and uploaded before, and the matching frequency corresponding to the target currency in the target currency library can be increased on this basis, so that other currencies to be identified can obtain more accurate identification results when they are identified later; on the contrary, if it does not exist, in order to avoid the situation of missing matches when the target currency is matched with the target currency, a new target currency information can be added, that is, the target crown number of the target currency is stored, and the matching frequency corresponding to the target currency is set to 1, so that it is easy to be matched and identified later, and the accuracy of the identification result is improved.
[0132] Figure 5 This is a schematic diagram of the structure of the currency identification device provided in the embodiment of the present application. Figure 5 As shown, the currency identification device 50 includes: a currency acquisition module 501 to be identified and a currency identification module 502; wherein,
[0133] The to-be-identified currency acquisition module 501 is used to acquire at least one to-be-identified currency that needs to be identified in the current branch; wherein the to-be-identified currency includes a first currency, a second currency and / or a third currency; wherein the first currency is a currency that is initially identified by the cashier of the current branch and does not match any target currency in the preset target currency library; the second currency is a currency that is initially identified by the cashier of the current branch and matches any target currency in the preset target currency library but is uploaded by the user; the third currency is a currency that is not initially identified by the cashier of the current branch but is uploaded by the user;
[0134] The currency matching result determination module 502 is used to determine the currency matching result of the currency to be identified for any currency to be identified based on the currency to be identified and the currencies uploaded by other outlets in 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 in the preset area;
[0135] The currency matching frequency determination module 503 is used to determine the currency matching frequency corresponding to the currency to be identified according to the currency to be identified and each target currency in the target currency library; the currency matching frequency is the matching frequency corresponding to the target currency when the currency to be identified matches any target currency in the target currency library;
[0136] The currency identification module 504 is used to determine whether the currency to be identified is the target currency according to the currency matching result and the currency matching frequency of the currency to be identified.
[0137] In an optional embodiment, the currency matching result determination module 502 includes:
[0138] The currency matching result determination submodule is used to determine the currency matching result of the currency to be identified according to the to-be-identified serial number corresponding to the to-be-identified currency and the currency serial numbers corresponding to the currencies uploaded by other outlets in the preset area;
[0139] Correspondingly, the currency matching frequency determination module 503 includes:
[0140] The currency matching frequency determination submodule is used to determine the currency matching frequency corresponding to the currency to be identified according to the target serial number to be identified and each target serial number corresponding to each target currency in the target currency library.
[0141] In an optional embodiment, the currency matching result determination submodule includes:
[0142] A first currency matching result determining unit, configured to obtain currency serial numbers corresponding to currencies uploaded by other outlets within a preset first area within a first preset time period, and determine a first currency matching result of the currency to be identified according to the currency to be identified and each currency serial number;
[0143] A 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 second preset time period, and determine the second currency matching result of the currency to be identified according to 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;
[0144] The currency matching result determining unit is used to determine the currency matching result corresponding to the currency to be identified according to the first currency matching result and the second currency matching result.
[0145] In an optional embodiment, the currency matching frequency determination submodule includes:
[0146] A serial number matching unit is used to match the serial number to be identified with the target serial number corresponding to any target currency in the target currency library;
[0147] The currency matching frequency determination unit is used to determine the currency matching frequency corresponding to the currency to be identified according to the matching frequency corresponding to the target crown number if the crown number to be identified matches the target crown number.
[0148] In an optional embodiment, the currency identification module 504 includes:
[0149] A first identification probability determination submodule, configured to determine a first identification probability corresponding to the currency to be identified according to the first currency matching result, and to determine a second identification probability corresponding to the currency to be identified according to the second currency matching result;
[0150] The second identification probability determination submodule is used to determine a third identification probability corresponding to the currency to be identified according to the currency matching frequency;
[0151] The target currency determination submodule is used to determine whether the currency to be identified is the target currency according to the first identification probability, the second identification probability and the third identification probability.
[0152] In an optional embodiment, the to-be-identified currency acquisition module 501 includes:
[0153] The currency initial identification submodule is used to use the cashier machine to perform initial currency identification on each currency received by the current branch;
[0154] A first currency matching submodule is used for matching any currency with each target currency in a preset target currency library if the currency passes the identification;
[0155] A first to-be-identified currency determination submodule is used to determine the currency as the to-be-identified currency that needs to be identified if the currency does not match any of the target currencies;
[0156] The second to-be-identified currency determination submodule is used to feed back the currency to the user if the currency matches any target currency, and to use the currency as the to-be-identified currency that needs to be identified when receiving an identification instruction that the currency input by the user needs to be identified;
[0157] The third submodule for determining the currency to be identified is used to feed back the currency to the user if the currency fails to pass the identification, and to use the currency as the currency to be identified when receiving an identification instruction input by the user that the currency needs to be identified as a target.
[0158] In an optional embodiment, the device further comprises:
[0159] A second currency matching submodule is used to feed back the currency to the user if the currency fails to pass the identification, and to perform a step of matching the currency with each target currency in a preset target currency library when the currency input by the user is a damaged currency;
[0160] A second target currency determination submodule, for feeding back the currency to the user if the currency matches any target currency, and determining the currency as the target currency upon receiving a determination instruction input by the user that the currency is the target currency;
[0161] The third target currency determination submodule is used to determine the currency as the target currency when receiving a determination instruction input by the user that the currency is the target currency.
[0162] In an optional embodiment, the device further comprises:
[0163] A target currency search module is used to determine whether the target currency exists in the target currency library when the currency to be identified is determined to be the target currency;
[0164] A first currency processing module, configured to increase the matching frequency corresponding to the target currency by one if the target currency exists;
[0165] The second currency processing module is used for storing the target currency in the target currency library if the target currency does not exist, and setting the matching frequency corresponding to the currency to be identified to one.
[0166] The currency identification device provided in the embodiment of the present application can be used to execute the technical solution of the currency identification method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0167] It should be noted that it should be understood that the division of the various modules (units) of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the crown number matching unit can be a separate processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, 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 module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0168] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device may include: a transceiver 601 , a processor 602 , and a memory 603 .
[0169] The processor 602 executes the computer-executable instructions stored in the memory, so that the processor 602 executes the solution in the above embodiment. The processor 602 can be a general-purpose processor, including a central processing unit CPU, a network processor (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 gates or transistor logic devices, discrete hardware components.
[0170] The memory 603 is connected to the processor 602 via a system bus and completes communication between them. The memory 603 is used to store computer program instructions.
[0171] The transceiver 601 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.
[0172] 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 an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.
[0173] The electronic device provided in the embodiment of the present application may be the terminal device of the above embodiment.
[0174] The embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the currency identification method in the above embodiment.
[0175] The embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the currency identification method of the above embodiment.
[0176] An embodiment of the present 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. When at least one processor executes the computer program, it can implement the technical solution of the currency identification method in the above embodiment.
[0177] In the several embodiments provided in the present 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 only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0178] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
[0179] In addition, each functional module in each embodiment of the present 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 above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0180] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0181] It should be understood that the above processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0182] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0183] 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. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0184] The above 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 memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0185] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.
[0186] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0187] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A currency identification method, characterized in that: include: Obtain at least one currency to be identified that needs to be identified in the current branch; wherein the currency to be identified includes a first currency, a second currency and / or a third currency; wherein the first currency is a currency that is initially identified by a cashier at the current branch and does not match any target currency in a preset target currency library; the second currency is a currency that is initially identified by a cashier at the current branch and matches any target currency in a preset target currency library but is uploaded by a user; the third currency is a currency that is not initially identified by a cashier at the current branch but is uploaded by a user; For any currency to be identified, a currency matching result of the currency to be identified is determined based on the currency to be identified and the currencies uploaded by other outlets in the preset area; the currency matching result is a similarity matching result between the currency to be identified and the currencies uploaded by other outlets in the preset area; According to the currency to be identified and each target currency in the target currency library, a currency matching frequency corresponding to the currency to be identified is determined; the currency matching frequency is the matching frequency corresponding to the target currency when the currency to be identified matches any target currency in the target currency library; According to the currency matching result of the currency to be identified and the currency matching frequency, it is determined whether the currency to be identified is a target currency.
2. The method according to claim 1, characterized in that The determining of a currency matching result of the currency to be identified based on the currency to be identified and currencies uploaded by other outlets in a preset area includes: Determine a currency matching result of the currency to be identified according to the to-be-identified serial number corresponding to the to-be-identified currency and the currency serial numbers corresponding to the currencies uploaded by other outlets in a preset area; Correspondingly, according to the currency to be identified and each target currency in the target currency library, determining the currency matching frequency corresponding to the currency to be identified includes: According to the to-be-identified serial number and the target serial numbers corresponding to the target currencies in the target currency library, the currency matching frequency corresponding to the to-be-identified currency is determined.
3. The method according to claim 2, characterized in that Determining a currency matching result of the currency to be identified according to the to-be-identified serial number corresponding to the to-be-identified currency and the currency serial numbers corresponding to the currencies uploaded by other outlets in a preset area, including: Obtaining currency serial numbers corresponding to currencies 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 according to 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 according to 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; A currency matching result corresponding to the to-be-identified currency is determined according to the first currency matching result and the second currency matching result.
4. The method according to claim 2, characterized in that: Determining the currency matching frequency corresponding to the currency to be identified according to the to-be-identified serial number of the currency to be identified and the target serial numbers corresponding to the target currencies in the target currency library, including: For a target serial number corresponding to any target currency in the target currency library, matching the serial number to be identified with the target serial number; If the to-be-identified serial number matches the target serial number, the currency matching frequency corresponding to the to-be-identified currency is determined according to the matching frequency corresponding to the target serial number.
5. The method according to claim 3, characterized in that: Determining whether the to-be-identified currency is a target currency according to the currency matching result and the currency matching frequency includes: Determine a first recognition probability corresponding to the currency to be identified according to the first currency matching result, and determine a second recognition probability corresponding to the currency to be identified according to the second currency matching result; Determining a third recognition probability corresponding to the to-be-recognized currency according to the currency matching frequency; It is determined whether the currency to be identified is a target currency according to the first identification probability, the second identification probability and the third identification probability.
6. The method according to claim 1, characterized in that Obtain at least one currency to be identified in the current branch, including: Use cashier machines to perform initial currency identification on each currency received by the current outlet; For any currency, if the currency passes the identification, the currency is matched with each target currency in the preset target currency library; If the currency does not match any of the target currencies, the currency is determined as a currency to be identified that requires target identification; If the currency matches any of the target currencies, the currency is fed back to the user, and when an identification instruction is received from the user indicating that the currency needs to be identified, the currency is used as a currency to be identified that needs to be identified; If the currency fails to pass the identification, the currency is fed back to the user, and when an identification instruction input by the user is received that the currency needs to be subject to target identification, the currency is used as a currency to be identified.
7. The method according to claim 6, characterized in that The method further comprises: If the currency fails to pass the identification, the currency is fed back to the user, and when receiving the user input that the currency is a damaged currency, the step of matching the currency with each target currency in a preset target currency library is performed; If the currency matches any of the target currencies, the currency is fed back to the user, and upon receiving a confirmation instruction input by the user that the currency is the target currency, the currency is determined as the target currency; When a determination instruction input by the user that the currency is a target currency is received, the currency is determined as the target currency.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In the case where it is determined that the currency to be identified is a target currency, determining whether the target currency exists in the target currency library; If it exists, the matching frequency corresponding to the target currency is increased by one; If not, the target currency is stored in the target currency library, and the matching frequency corresponding to the to-be-identified currency is set to one.
9. A currency recognition device, characterized in that: include: The module for acquiring currency to be identified is used to acquire at least one currency to be identified that needs to be identified in the current branch; wherein the currency to be identified includes a first currency, a second currency and / or a third currency; wherein the first currency is a currency that is initially identified by the cashier of the current branch and does not match any target currency in the preset target currency library; the second currency is a currency that is initially identified by the cashier of the current branch and matches any target currency in the preset target currency library but is uploaded by the user; the second currency is a currency that is not initially identified by the cashier of the current branch but is uploaded by the user; A currency matching result determination module is used to determine, for any currency to be identified, a currency matching result of the currency to be identified based on the currency to be identified and currencies uploaded by other outlets in a preset area; the currency matching result is a similarity matching result between the currency to be identified and currencies uploaded by other outlets in the preset area; A currency matching frequency determination module is used to determine the currency matching frequency corresponding to the currency to be identified according to the currency to be identified and each target currency in the target currency library; the currency matching frequency is the matching frequency corresponding to the target currency when the currency to be identified matches any target currency in the target currency library; The currency identification module determines whether the currency to be identified is a target currency according to the currency matching result of the currency to be identified and the currency matching frequency.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the currency identification method according to 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 are used to implement the currency identification method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the currency identification method according to any one of claims 1 to 8 when being executed by a processor.
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
Banknote identification method based on serial number and related device
CN116740855A
Currency identifying device, currency identifying method and currency identifying program
JP2006301881A
Money handling system
US20110153059A1