Cash counting method and device
By determining the number of repeated counting and sampling frequency based on characteristic information and regular information during cash counting, the problem of errors and storage waste during cash counting is solved, counting efficiency and accuracy are improved, and repeated cash counting is made more intelligent.
Patent Information
- Application Number
- CN202210982885.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When counting cash repeatedly during cash counting, the existing technology may lead to counting errors or waste of storage space, and the repeated counting efficiency is low.
Determine whether it is a repeated count based on the characteristic information of the current count, and conduct random inspections according to the frequency of random inspections without recording the serial number of the cash. Combining the matching of characteristic information and regular information, adjust the frequency and strategy of random inspections, and reduce the occupation of resources by repeated counting. .
It improves the efficiency and accuracy of repeated cash counting, saves storage space and resource occupation, and makes repeated cash counting more intelligent.
Smart Images

Figure CN115346307B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a cash counting method and device. Background Art
[0002] When counting cash, banks usually record the serial number, authenticity, and counting time of the cash. The serial number refers to a string of characters on the cash that can uniquely identify the cash, which is usually a combination of 10 English characters and numbers.
[0003] When counting cash in banks, there are many scenarios where cash is counted repeatedly to ensure the accuracy of the cash counting. Currently, when counting cash repeatedly, one way is to only verify whether the amount of cash counted twice is consistent without checking the serial numbers of the cash counted twice, which is likely to cause counting errors; another way is to compare the serial numbers of the two counts in full, and the counting method of entering the same serial number multiple times not only leads to low counting efficiency, but also wastes storage space.
[0004] Based on this, it is urgent to provide a technical solution that can reasonably complete the repeated counting of cash and realize intelligent cash counting. Summary of the invention
[0005] The embodiments of the present application provide a method and device for counting cash, which can accurately identify whether it is a repeated counting, and provide an intelligent spot check counting strategy for the repeated counting scenario, so as to reasonably complete the repeated counting of cash.
[0006] In a first aspect, an embodiment of the present application provides a method for counting banknotes, comprising:
[0007] Based on characteristic information of the current inventory, determining that the current inventory is the i-th repeated inventory, where i is an integer greater than 1, the characteristic information is used to characterize the characteristics of the current inventory, the characteristic information matches the regularity information of the i-th repeated inventory, and the regularity information reflects the regularity that each repeated inventory should satisfy;
[0008] Obtaining the sampling frequency of the i-th repeated inventory, wherein the sampling frequency is inversely correlated with i;
[0009] The sampling inspection is carried out based on the sampling inspection frequency, but the serial number of the banknote is not recorded.
[0010] Optionally, the characteristic information is at least one of the following information of the current inventory: the inventory location, the number of serial numbers counted between repeated serial numbers, or the time interval between repeated serial numbers.
[0011] Optionally, the method further comprises:
[0012] If an abnormality occurs in the sampling inspection, then the counting rules are determined according to the type of abnormality;
[0013] Based on the inventory rules, continue to complete the current inventory.
[0014] Optionally, the abnormality type includes a serial number sequence error, and the counting rule includes: within preset conditions, updating the sampling frequency based on the number of times the serial number sequence error is found during sampling, and the greater the number, the higher the updated sampling frequency.
[0015] Optionally, the abnormal type includes the appearance of a new serial number, and the counting rule includes: re-counting the sampling interval where the cash with the new serial number is located, and updating the sampling frequency of other sampling areas, and the updated sampling frequency is higher than the sampling frequency before the update.
[0016] Optionally, the method further comprises:
[0017] An early warning signal is generated, wherein the early warning signal is used to indicate that an abnormality has occurred in the current inventory.
[0018] In a second aspect, the embodiment of the present application further provides a cash counting device, comprising:
[0019] A first determining unit is used to determine that the current inventory is an i-th repeated inventory based on characteristic information of the current inventory, where i is an integer greater than 1, the characteristic information is used to characterize the characteristics of the current inventory, the characteristic information matches the regularity information of the i-th repeated inventory, and the regularity information reflects the regularity that each repeated inventory should satisfy;
[0020] An obtaining unit, used for obtaining the sampling frequency of the i-th repeated inventory, wherein the sampling frequency is inversely correlated with i;
[0021] The sampling unit is used to perform sampling based on the sampling frequency, but does not record the serial number of the banknote.
[0022] Optionally, the characteristic information is at least one of the following information of the current inventory: the inventory location, the number of serial numbers counted between repeated serial numbers, or the time interval between repeated serial numbers.
[0023] Optionally, the device further comprises:
[0024] A second determination unit is used to determine a counting rule according to the type of abnormality if an abnormality occurs in the random inspection;
[0025] The inventory unit is used to continue to complete the current inventory based on the inventory rule.
[0026] Optionally, the abnormality type includes a serial number sequence error, and the counting rule includes: within preset conditions, updating the sampling frequency based on the number of times the serial number sequence error is found during sampling, and the greater the number, the higher the updated sampling frequency.
[0027] Optionally, the abnormal type includes the appearance of a new serial number, and the counting rule includes: re-counting the sampling interval where the cash with the new serial number is located, and updating the sampling frequency of other sampling areas, and the updated sampling frequency is higher than the sampling frequency before the update.
[0028] Optionally, the device further comprises:
[0029] A generating unit is used to generate an early warning signal, wherein the early warning signal is used to indicate that an abnormality has occurred in the current inventory.
[0030] In a third aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising a processor and a memory:
[0031] The memory is used to store computer programs;
[0032] The processor is used to execute the method provided in the first aspect according to the computer program.
[0033] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method provided in the first aspect above.
[0034] It can be seen that the embodiments of the present application have the following beneficial effects:
[0035] An embodiment of the present application provides a cash counting method, in which a cash counting device first determines, based on characteristic information of the current counting, that the current counting is the i-th repeated counting, where i is an integer greater than 1, and the characteristic information is used to characterize the characteristics of the current counting, and the characteristic information matches the regular information of the i-th repeated counting, and the regular information reflects the regularity that each repeated counting should satisfy; then, the cash counting device obtains the sampling frequency of the i-th repeated counting, and performs sampling based on the sampling frequency, but does not record the serial number of the cash, and the sampling frequency is inversely correlated with i. It can be seen that the embodiment of the present application pre-sets the regular information of each counting during multiple repeated countings, as well as a more reasonable sampling frequency corresponding to the multiple repeated countings. In this way, for the current counting, it can be combined with the characteristic information of the current counting to accurately determine that the current counting is the nth repeated counting, so as to obtain a reasonable sampling frequency according to the number of counting times to which the current counting belongs, and complete the sampling according to the sampling frequency. During the sampling process, the serial number of each sampled cash is not recorded, which not only solves the problem of storage space waste caused by storing repeated serial numbers during cash counting, but also discovers the characteristics of the counting according to the established rules and performs reasonable sampling, reduces the counting, serial number recognition, and detection work of cash, saves the resource occupation of the repeated cash counting process, improves the efficiency and accuracy of repeated cash counting, and makes repeated cash counting more intelligent. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0037] Figure 1 A schematic diagram of a cash counting method provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of the structure of a cash counting device 200 provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of the structure of an electronic device 300 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] It should be noted that the cash counting method and device provided by the present invention can be used in the field of big data, computer technology or finance. The above is only an example and does not limit the application field of the cash counting method and device provided by the present invention.
[0041] The cash counting method and device provided by the present invention can be used in the field of big data, the field of computer technology, the field of finance or other fields. For example, it can be used in the scenario of repeated counting of cash in a banking system. Other fields are any fields other than the field of big data, the field of computer technology, and the field of finance. The above is only an example and does not limit the application field of the cash counting method and device provided by the present invention.
[0042] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In addition, it should be noted that, for ease of description, only the parts related to the present application are shown in the accompanying drawings, not all structures.
[0043] When counting cash, banks usually record the serial number, authenticity, and counting time of the cash. The serial number, as a code that can uniquely identify the cash, is generally a combination of 10 English digits and numbers. Each cash note has a unique serial number. For real and valid cash, the serial numbers of any two cash notes cannot be the same.
[0044] In order to ensure that the banknotes are accurately counted, the same banknotes are often counted repeatedly, such as twice or three times. At present, when counting banknotes repeatedly, one way is to only verify whether the amount of banknotes counted twice is consistent without checking the serial numbers of the banknotes counted twice, which is likely to cause counting errors. Another way is to compare the serial numbers of all banknotes counted twice. However, the serial numbers of all the same banknotes counted twice are identified and compared, and even the serial numbers are repeatedly entered multiple times, which not only leads to low counting efficiency, but also may waste storage space.
[0045] Based on this, an embodiment of the present application provides a cash counting method, in which a cash counting device first determines, based on characteristic information of the current counting, that the current counting is the i-th repeated counting, where i is an integer greater than 1, and the characteristic information is used to characterize the characteristics of the current counting, and the characteristic information matches the regular information of the i-th repeated counting, and the regular information reflects the regularity that each repeated counting should satisfy; then, the cash counting device obtains the sampling frequency of the i-th repeated counting, and performs sampling based on the sampling frequency, but does not record the serial number of the cash, and the sampling frequency is inversely correlated with i.
[0046] It can be seen that in the embodiment of the present application, by pre-setting the regular information of each counting during multiple repeated countings and the more reasonable sampling frequency corresponding to the multiple repeated countings, in this way, for the current counting, it is possible to accurately determine that this counting is the nth repeated counting in combination with the characteristic information of the current counting, so as to obtain a reasonable sampling frequency according to the number of counting times to which the current counting belongs, and complete the sampling according to the sampling frequency, and do not record the serial number of each sampled cash in the sampling process during the sampling process, which not only solves the problem of storage space waste caused by storing repeated serial numbers during cash counting, but also discovers the characteristics of the counting according to the established rules and performs reasonable sampling, reduces the counting, serial number recognition, and detection work of cash, saves the resource occupation of the repeated cash counting process, improves the efficiency and accuracy of the repeated cash counting, and makes the repeated cash counting more intelligent.
[0047] To facilitate understanding of the specific implementation of the cash counting method provided in the embodiment of the present application, it will be described below with reference to the accompanying drawings.
[0048] It should be noted that the subject implementing the cash counting method can be the cash counting device provided in the embodiment of the present application, and the cash counting device can be carried in an electronic device or a functional module of an electronic device. The electronic device in the embodiment of the present application can be any device capable of implementing the cash counting method in the embodiment of the present application, for example, it can be an IoT device.
[0049] Figure 1 The present invention provides a flow chart of a cash counting method. The method can be applied to a cash counting device, which can be integrated into a bank system, wherein the cash counting device can correspond to the following Figure 2 The banknote counting device 200 is shown.
[0050] like Figure 1 As shown, the method may include, for example:
[0051] S101, based on the characteristic information of the current inventory, determine that the current inventory is the i-th repeated inventory, where i is an integer greater than 1, and the characteristic information is used to characterize the characteristics of the current inventory. The characteristic information matches the regularity information of the i-th repeated inventory, and the regularity information reflects the regularity that each repeated inventory should satisfy.
[0052] It should be noted that during the cash counting process, it is necessary to check whether each serial number is entered repeatedly, because repeated entry will not only waste storage resources, but also easily cause mismatch between quantity and amount. When repeated serial numbers are found during the cash counting process, this method is executed to determine whether repeated counting has occurred based on the characteristic information of the current counting, and after determining that repeated counting has occurred, it is determined which number of repeated counting has occurred.
[0053] The cash counting device pre-stores regular information that characterizes the regularity that each repeated counting should meet. In this way, when the characteristic information of a certain counting matches a preset regular information, the counting is determined to be the number of repeated countings corresponding to the regular information, which can be recorded as the i-th counting. If repeated counting occurs, it is not necessary to compare the serial numbers of each cash bill to see if they are repeated. It is only necessary to spot check the serial numbers of some cash bills. Among them, the characteristic information is at least one of the following information of the current counting: the counting location, the number of serial numbers counted between repeated serial numbers, or the time interval between repeated serial numbers. The content included in the characteristic information corresponds to the content included in the regular information.
[0054] The following takes the example where the characteristic information is the inventory location of the current inventory, the number of counted serial numbers between repeated serial numbers and the time interval between repeated serial numbers, and the regularity information includes the location regularity, serial number quantity regularity and time regularity of the i-th inventory, to specifically explain the implementation of S101.
[0055] As an example, S101 may include: the first step is to calculate the percentage of the number of times the i-th count of the inventory address in the past accounts for the total number of counts. If the percentage is greater than or equal to the threshold value M, it can be considered that the inventory location has the possibility of repeated counts, and the subsequent second step is continued; if the percentage is less than M, it is considered that there is no repeated count at the inventory location, and even if the same serial number appears, the strategy of full count is still adopted, and the subsequent second step is no longer executed. Among them, the M value is the ratio of the number of repeated counts of all inventory locations in a business cycle divided by the total number of counts. The second step is to calculate the number of serial numbers counted between two repeated serial numbers, and determine whether the number of serial numbers belongs to the commonly used number range of the serial numbers of the i-th inventory at the inventory location. If not, the subsequent third step is no longer executed, and the strategy of full count is directly adopted; if yes, it can be considered that there is the possibility of the i-th inventory, and the subsequent third step is continued. For example, if the common number range of the serial number counted at the counting location for the i-th time is 100, 150 and 200, and the number of serial numbers counted between the repeated serial numbers counted in the current counting is 150, then it is considered that the current counting is likely to be the i-th repeated counting. The third step is to calculate the time interval between the two countings and determine whether the time interval conforms to the time law of the i-th counting. The time law of the i-th counting can be obtained through historical data analysis. For example, the counting time and the pause time of the money counting machine are collected from the beginning. The number of cash counted each time can be calculated through the counting time. The pause time is the interval time of the i-th cash counting. The relationship between the i-th counting corresponding to the number of cash counted each time and the pause time is obtained through the supervised neural network model method. The historical data is obtained by collecting real data in the past and manually judging whether it is actually the i-th counting to obtain effective historical data. The effective neural network model is obtained through historical data training.
[0056] It should be noted that S101 can be implemented by an expert system, which can process the input feature information of the current inventory, determine whether the current inventory is a repeated inventory and determine the number of repeated inventory, and then output the spot check rules. The spot check rules can correspond to the frequency of subsequent S102 spot checks or the inventory rules corresponding to the abnormal type when the subsequent spot checks are abnormal. It should be noted that the expert system can include a knowledge base and an inference engine. The knowledge base contains spot check rules and inventory solutions for dealing with errors extracted through manual data analysis, and the inference engine is used to match the rule information of the corresponding spot check rules.
[0057] S102, obtaining the sampling frequency of the i-th repeated inventory, wherein the sampling frequency is inversely correlated with i.
[0058] S103, performing random inspection based on the random inspection frequency, but not recording the serial number of the banknote.
[0059] As an example, the correspondence between the number of repeated counting and the sampling frequency can be pre-stored in the cash counting device, and the sampling frequency of the i-th repeated counting can be determined based on the number of repeated counting i determined in S101 and the above-stored corresponding relationship. When the above-mentioned corresponding relationship is pre-configured, the larger i is, the lower the sampling frequency is, so as to improve the sampling efficiency.
[0060] As another example, the correspondence between the number of repeated counting and the sampling coefficient can be pre-stored in the cash counting device, and the sampling coefficient of the i-th repeated counting can be determined based on the number of repeated counting i determined in S101 and the above-stored corresponding relationship, and then the sampling frequency can be determined based on the number of serial numbers counted between repeated serial numbers and the sampling coefficient. Among them, if the sampling frequency is the ratio of the number of serial numbers counted between repeated serial numbers to the sampling coefficient, then, when the above-mentioned corresponding relationship is pre-configured, the larger i is, the smaller the sampling coefficient is, and the lower the sampling frequency is.
[0061] The sampling frequency is used to indicate how often the serial numbers of the banknotes are compared during sampling. For example, the sampling frequency can be one out of every 10 banknotes for inspection, or one out of every 20 banknotes for inspection. The sampling frequency of "one out of every 10 banknotes" is higher than that of "one out of every 20 banknotes".
[0062] Taking the example of determining the sampling frequency of each time based on the number of serial numbers between repeated serial numbers, assuming that the number of serial numbers between repeated serial numbers is 100, the sampling coefficient when i=2 is 10, and the sampling coefficient when i=3 is 5, then, during the second counting process, the sampling frequency is to select one for inspection from every (100 / 10=10) cash notes; during the third counting process, the sampling frequency is to select one for inspection from every (100 / 5=20) cash notes. It should be noted that if the result of dividing the number of serial numbers between repeated serial numbers by the sampling coefficient is not an integer, the remainder can be increased by one from the first group until the number of remainders is reached.
[0063] If all the serial numbers sampled are correct during the sampling inspection in S103 according to the sampling inspection frequency determined in S102, the current inventory is completed.
[0064] In some possible implementations, during the sampling process of S103, if an abnormality occurs, for example, the sequence of the serial numbers is wrong, or for example, a new serial number appears, then the embodiment of the present application also provides an error response strategy. That is, the method may also include: if an abnormality occurs in the sampling, determining an inventory rule according to the abnormality type; and continuing to complete the current inventory based on the inventory rule.
[0065] As an example, the abnormality type may include an error in the sequence of the serial numbers. Then, the counting rules include: within the preset conditions, updating the sampling frequency based on the number of times the serial number sequence is found to be wrong during sampling, and the greater the number, the higher the updated sampling frequency.
[0066] In specific implementation, if an error in the sequence of serial numbers occurs during the spot check, then, in the group of cash, the number of serial numbers in the interval of the spot check indicated by the above-mentioned spot check frequency is divided by the first preset value (such as 10) to increase the spot check frequency and conduct subsequent spot checks. If the problem of serial number sequence error still occurs during the spot check process with increased spot check frequency, then, in the group where the second serial number sequence error occurs, the spot check frequency is continued to be increased by the second preset value (such as 5), and the spot checks of other groups in the group are continued to be completed with the updated spot check frequency until the number in the interval serial number is less than the preset threshold value (such as 5), then, the spot check frequency is no longer updated but the full amount is counted. When the spot check process is entirely due to serial number sequence errors and no new serial numbers are added, spot checks are conducted in sequence according to the above-mentioned spot check frequency until the current count is completed. Among them, a group of cash refers to the cash involved in a random inspection. For example, the original random inspection frequency is to select one out of every 50 cash for inspection. If the random inspection happens to have an abnormality of incorrect serial number sequence, then, for the 50 cash tested in this group, taking the preset value of 5 as an example, a random inspection is performed every 10 bills; if during the random inspection of the 50 cash in this group, the problem of incorrect serial number sequence still exists, then, continue to conduct random inspections at a higher random inspection frequency (such as inspecting one out of every 5 bills) in the group where the serial number sequence error occurs for the second time (such as the range of 30-40 bills of 50 cash); if the serial number sequence error is still found, and the preset threshold is 5, then the random inspection frequency will no longer be updated, but the remaining cash in the full list will be used.
[0067] As another example, the abnormal type may include the appearance of a new serial number, then the counting rule includes: re-counting the sampling interval where the cash with the new serial number is located, and updating the sampling frequency of other sampling areas, the sampling frequency after the update is higher than the sampling frequency before the update. The method may also include: generating an early warning signal, the early warning signal is used to indicate that the current counting is abnormal.
[0068] In specific implementation, if a new serial number appears during the counting process, it is not a repeated counting or a cash error. At this time, on the one hand, an early warning is required; on the other hand, the counting rules corresponding to this type of abnormality are entered. Before counting, the serial number counting machine will enter the subsequent first-level counting interval, increase the sampling frequency (such as ten times) to determine whether the subsequent N intervals (N is an integer greater than or equal to 1 and less than the number of intervals included in the subsequent) still have new serial numbers. If so, continue to increase the sampling frequency for sampling. After determining that there are no new serial numbers in the subsequent N intervals, the intervals where the problem is found and the cash in the N intervals are reverse counted, that is, the cash that has been counted is put back on the cash counting machine or counting machine in the reverse counting method. The reverse counting starts at the problem sampling point to re-count the cash with the serial number in question. Each serial number needs to be compared. At this time, even if a duplicate serial number appears, it is no longer processed according to the above method. When the problem interval is counted, it is necessary to recheck whether there are problems in several problem-free intervals that have been counted before the interval where the problem occurs. The specific method is to count all the intervals from the last spot check position to the previous spot check position (if there is no previous spot check position, it is the position where the serial number is repeated). If there is no problem, expand the spot check range tenfold. If there is still no new or wrong serial number, it is considered that there is no problem before the previous spot check position. If there is still a problem, continue to count according to the above method to solve the problem. When all the problem interval serial numbers are counted, the sampling frequency in S102 is restored to the (N+1) interval (also called the problem-free interval) for S103 sampling.
[0069] It should be noted that in the embodiment of the present application, S101 to S103 can be completed by a module with a serial number spot check function in the cash counting device. The module uses an artificial intelligence model to spot check the cash at an appropriate time for cash that does not need to be scanned for serial numbers, thereby ensuring the effect and minimizing the spot check; the cash counting device also includes a module with an error response function, which is used to complete the processing of the above-mentioned serial number errors or the emergence of new serial numbers and other anomalies. The back-end system of this module will respond intelligently to the cash that is randomly checked and judged to be erroneous. The customer only needs to put in the previous cash, and the back-end system will automatically check and filter out the previously recorded serial numbers, thereby improving the error response efficiency and making the method more intelligent and practical.
[0070] It can be seen that in this method, by pre-setting the regular information of each counting during multiple repeated countings and the more reasonable sampling frequency corresponding to the multiple repeated countings, in this way, for the current counting, it is possible to accurately determine that this counting is the nth repeated counting in combination with the characteristic information of the current counting, thereby obtaining a reasonable sampling frequency according to the number of counting times to which the current counting belongs, and completing the sampling according to the sampling frequency, and not recording the serial numbers of each sampled cash banknote during the sampling process, which not only solves the problem of storage space waste caused by storing repeated serial numbers during cash counting, but also discovers the characteristics of the counting according to the established rules and performs reasonable sampling, thereby reducing the counting, serial number recognition, and detection work of cash, saving the resource occupation of the repeated cash counting process, improving the efficiency and accuracy of the repeated cash counting, and making the repeated cash counting more intelligent.
[0071] Accordingly, the embodiment of the present application also provides a cash counting device 200, such as Figure 2 The device 200 may include:
[0072] A first determining unit 201 is configured to determine, based on characteristic information of a current inventory, that the current inventory is an i-th repeated inventory, where i is an integer greater than 1, the characteristic information is used to characterize the characteristics of the current inventory, the characteristic information matches regularity information of the i-th repeated inventory, and the regularity information reflects a regularity that each repeated inventory should satisfy;
[0073] An obtaining unit 202 is used to obtain the sampling frequency of the i-th repeated inventory, wherein the sampling frequency is inversely correlated with i;
[0074] The sampling unit 203 is used to perform sampling based on the sampling frequency, but does not record the serial number of the banknote.
[0075] Optionally, the characteristic information is at least one of the following information of the current inventory: the inventory location, the number of serial numbers counted between repeated serial numbers, or the time interval between repeated serial numbers.
[0076] Optionally, the device 200 further includes:
[0077] A second determination unit is used to determine a counting rule according to the type of abnormality if an abnormality occurs in the random inspection;
[0078] The inventory unit is used to continue to complete the current inventory based on the inventory rule.
[0079] Optionally, the abnormality type includes a serial number sequence error, and the counting rule includes: within preset conditions, updating the sampling frequency based on the number of times the serial number sequence error is found during sampling, and the greater the number, the higher the updated sampling frequency.
[0080] Optionally, the abnormal type includes the appearance of a new serial number, and the counting rule includes: re-counting the sampling interval where the cash with the new serial number is located, and updating the sampling frequency of other sampling areas, and the updated sampling frequency is higher than the sampling frequency before the update.
[0081] Optionally, the device 200 further includes:
[0082] A generating unit is used to generate an early warning signal, wherein the early warning signal is used to indicate that an abnormality has occurred in the current inventory.
[0083] It should be noted that the specific implementation method of the device 200 and the technical effects achieved can be found in Figure 1 The relevant description in the method shown.
[0084] In addition, the present application embodiment also provides an electronic device 300, such as Figure 3 As shown, the electronic device 300 includes a processor 301 and a memory 302:
[0085] The memory 302 is used to store computer programs;
[0086] The processor 301 is used to execute according to the computer program Figure 1 The method provided.
[0087] In addition, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method provided by the embodiment of the present application.
[0088] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0089] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for system embodiments and device embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, in which the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0090] The above is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the present application, and these improvements and modifications should also be regarded as the protection scope of the present application.
Claims
1. A method for counting cash, characterized in that: include: Based on characteristic information of the current inventory, it is determined that the current inventory is the i-th repeated inventory, where i is an integer greater than 1, the characteristic information is used to characterize the characteristics of the current inventory, the characteristic information matches the regularity information of the i-th repeated inventory, and the regularity information reflects the regularity that each repeated inventory should satisfy; the characteristic information is at least one of the following information of the current inventory: the inventory location, the number of serial numbers counted between repeated serial numbers, or the time interval between repeated serial numbers; Obtaining the sampling frequency of the i-th repeated inventory, wherein the sampling frequency is inversely correlated with i; Performing random inspection based on the random inspection frequency, without recording the serial number of each randomly inspected banknote during the random inspection process; The determining, based on the characteristic information of the current inventory, that the current inventory is the i-th repeated inventory includes: Calculate the percentage of the number of times the i-th count occurred at the counting location to the total number of times the count occurred; If the percentage is greater than or equal to a threshold value M, the number of serial numbers counted between two repeated serial numbers is calculated, where M is the ratio of the number of repeated counts at all counting locations in a business cycle divided by the total number of counts; if the percentage is less than M, a full count strategy is adopted; Determine whether the number of serial numbers counted between the two repeated serial numbers is within the range of the number of serial numbers commonly used for the i-th counting at the counting location; If the number of serial numbers counted between the two repeated serial numbers is within the common number range of the serial numbers counted at the counting location for the i-th time, the time interval between the two counts is calculated; if the number of serial numbers counted between the two repeated serial numbers is not within the common number range of the serial numbers counted at the counting location for the i-th time, the strategy of full count is adopted; Determine whether the time interval between the two inventory counts conforms to the time rule of the i-th inventory count, where the time rule of the i-th inventory count is obtained by analyzing historical data; The time pattern of the i-th inventory is obtained through historical data analysis, including: The counting time and pause time of the money counting machine are collected from the beginning. The counting time can be used to calculate the amount of cash counted each time. The pause time is the interval time of the i-th cash counting. The supervised neural network model method is used to obtain the correlation between the i-th counting and the corresponding amount of money counted each time and the pause time. The historical data is obtained by collecting real data from the past and manually judging whether it is actually the i-th counting to obtain valid historical data. The neural network model is obtained through historical data training.
2. The method according to claim 1, characterized in that The method further comprises: If an abnormality occurs in the sampling inspection, then the counting rules are determined according to the type of abnormality; Based on the inventory rules, continue to complete the current inventory.
3. The method according to claim 2, characterized in that If the abnormality type includes a serial number sequence error, the counting rule includes: within the preset conditions, based on the number of times the serial number sequence error is found during random inspection, updating the random inspection frequency, and the greater the number, the higher the updated random inspection frequency.
4. The method according to claim 2, characterized in that: If the abnormal type includes the appearance of a new serial number, the counting rule includes: re-counting the sampling interval where the cash with the new serial number is located, and updating the sampling frequency of other sampling areas, and the updated sampling frequency is higher than the sampling frequency before the update.
5. The method according to claim 4, characterized in that The method further comprises: An early warning signal is generated, wherein the early warning signal is used to indicate that an abnormality has occurred in the current inventory.
6. A cash counting device, characterized in that: include: A first determination unit is configured to determine, based on characteristic information of a current inventory, that the current inventory is an i-th repeated inventory, where i is an integer greater than 1, the characteristic information is used to characterize the characteristics of the current inventory, the characteristic information matches regularity information of the i-th repeated inventory, and the regularity information reflects a regularity that each repeated inventory should satisfy; the characteristic information is at least one of the following information of the current inventory: an inventory location, a number of serial numbers counted between repeated serial numbers, or a time interval between repeated serial numbers; An obtaining unit, used for obtaining the sampling frequency of the i-th repeated inventory, wherein the sampling frequency is inversely correlated with i; A sampling unit, used for performing sampling based on the sampling frequency, and not recording the serial number of each sampled banknote during the sampling process; The first determining unit is specifically configured to: Calculate the percentage of the number of times the i-th count occurred at the counting location to the total number of times the count occurred; If the percentage is greater than or equal to a threshold value M, the number of serial numbers counted between two repeated serial numbers is calculated, where M is the ratio of the number of repeated counts at all counting locations in a business cycle divided by the total number of counts; if the percentage is less than M, a full count strategy is adopted; Determine whether the number of serial numbers counted between the two repeated serial numbers is within the range of the number of serial numbers commonly used for the i-th counting at the counting location; If the number of serial numbers counted between the two repeated serial numbers is within the common number range of the serial numbers counted at the counting location for the i-th time, the time interval between the two counts is calculated; if the number of serial numbers counted between the two repeated serial numbers is not within the common number range of the serial numbers counted at the counting location for the i-th time, the strategy of full count is adopted; Determine whether the time interval between the two inventory counts conforms to the time rule of the i-th inventory count, where the time rule of the i-th inventory count is obtained by analyzing historical data; The time pattern of the i-th inventory is obtained through historical data analysis, including: The counting time and pause time of the money counting machine are collected from the beginning. The counting time can be used to calculate the amount of cash counted each time. The pause time is the interval time of the i-th cash counting. The supervised neural network model method is used to obtain the correlation between the i-th counting and the corresponding amount of money counted each time and the pause time. The historical data is obtained by collecting real data from the past and manually judging whether it is actually the i-th counting to obtain valid historical data. The neural network model is obtained through historical data training.
7. The device according to claim 6, characterized in that The device also includes: A second determination unit is used to determine a counting rule according to the type of abnormality if an abnormality occurs in the random inspection; The inventory unit is used to continue to complete the current inventory based on the inventory rule.
8. An electronic device, characterized in that: The electronic device comprises a processor and a memory: The memory is used to store computer programs; The processor is configured to execute the method according to any one of claims 1 to 5 according to the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 5.
