Instant lottery ticket automatic scraping method, device and system
By setting up a scratch area and performing scratching operations on the imminent lottery, the target working parameters of the scratch area and the security area are determined, and the existing automatic sales scratching equipment is solved, and the scratching accuracy and accurate identification of the winning situation are improved.
Patent Information
- Application Number
- CN202510000891.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-22
AI Technical Summary
The existing automatic scrambler equipment has poor scratching accuracy for paper instant lottery tickets, which can easily lead to overscraping or underscraping in the scratch area or security area, affecting the recognition of winning situations.
Set up a scratch area on the instant lottery, and use the scratch area to test the scratch area to determine the target working parameters of the scratch area and the security area to ensure that the scratch effect reaches the preset effect standard.
It improves the automatic scratching accuracy of instant lottery tickets, reduces the incidence of overscraping and underscraping, and ensures accurate identification of winning situations.
Smart Images

Figure CN119857670A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic scratching of instant lottery tickets, and in particular to an automatic scratching method, device and system for instant lottery tickets. Background Art
[0002] Offline physical instant lottery tickets such as scratch tickets are limited by the business hours of the merchants. If the merchants are not open, they cannot be purchased or redeemed. It is easy for consumers to buy instant lottery tickets and take them away and come back to claim the prizes after a long time. In this case, the instant lottery tickets often cannot be effectively redeemed due to improper storage, causing merchants and consumers to suffer certain losses in different aspects. In order to solve the above-mentioned defects of offline physical instant lottery tickets, automatic vending machines for instant lottery tickets have emerged.
[0003] The current automatic lottery ticket vending machines still scratch off paper lottery tickets, but due to the poor scratching accuracy of the machines, it is very easy to affect the final scratching results and make it impossible to effectively redeem the prizes later. Summary of the invention
[0004] The main purpose of the present invention is to provide a method for automatically scratching instant lottery tickets, aiming to improve the accuracy of automatic scratching of instant lottery tickets.
[0005] To achieve the above object, the present invention provides an automatic scratching method for instant lottery tickets, wherein the instant lottery ticket to be scratched has a scratching area and a security area, and the instant lottery ticket also has a trial scratching area. The automatic scratching method for instant lottery tickets comprises:
[0006] Identify the trial scratch area, prize area and security area of the instant lottery ticket;
[0007] Perform a trial scratching operation on the trial scratching area, and when the scratching effect of the trial scratching operation reaches a preset effect standard, determine the target working parameters for the scratching operation on the lottery scratching area;
[0008] Scratch the prize area according to the target working parameters;
[0009] If the winning situation in the scratch-off area is a winning situation, the security area is scratched according to the target working parameters and the confidential information of the security area is checked;
[0010] Among them, the preset effect standard is that the scrapeable covering layer in the trial scraping area is completely scraped off and the graphic information in the trial scraping area is not destroyed.
[0011] Optionally, the trial scraping area includes a first trial scraping area and a second trial scraping area;
[0012] Perform a trial scratching operation on the trial scratching area, and when the scratching effect of the trial scratching operation reaches the preset effect standard, determine the target working parameters for the scratching operation on the scratching area, including:
[0013] Performing a first trial scraping operation on a first trial scraping area with a first working parameter;
[0014] Determine a first trial scraping effect of a first trial scraping operation;
[0015] Determining a second working parameter according to the first trial scraping result and the first working parameter;
[0016] Performing a second trial scraping operation on the second trial scraping area according to the second working parameter;
[0017] Determining a second trial scraping effect of the second trial scraping operation;
[0018] The target working parameters are determined according to the second trial scraping effect and the second working parameters.
[0019] Optionally, before performing a first trial scratching operation on the first trial scratching area with the first working parameter, the instant lottery automatic scratching method further includes:
[0020] Get the type information of the instant lottery ticket;
[0021] According to the type information of the instant lottery ticket, a matching preset scraping speed and preset scraping depth are determined as the first working parameter.
[0022] Optionally, determining the second working parameter according to the first trial scraping effect and the first working parameter includes:
[0023] Determine whether the first trial scraping effect reaches the preset effect standard;
[0024] If the first trial scraping effect does not reach the preset effect standard, adjusting the preset scraping speed and / or the preset scraping depth according to the first trial scraping effect to obtain the second working parameter;
[0025] If the first scraping test effect reaches the preset effect standard, the preset scraping speed and the preset scraping depth are used as the second working parameters;
[0026] According to the second trial scraping result, the working parameters are determined to include:
[0027] Determine whether the second trial scraping effect reaches the preset effect standard;
[0028] If the second trial scraping effect does not reach the preset effect standard, adjusting the second working parameter according to the second trial scraping effect, and using the adjusted second working parameter as the target working parameter;
[0029] If the second trial scraping effect reaches the preset effect standard, the second working parameter is used as the target working parameter.
[0030] Optionally, adjusting a preset scraping speed and / or a preset scraping depth according to the first trial scraping result to obtain a second working parameter includes:
[0031] Determine the effect type of the first trial scraping effect, where the effect type includes over-scraping effect and under-scraping effect;
[0032] If the first scraping test result is an over-scraping result, the preset scraping speed is reduced to obtain a corrected scraping speed, and the corrected scraping speed and the preset scraping depth are used as the second working parameters;
[0033] If the first trial scraping effect is an under-scraping effect, the preset scraping depth is increased to obtain a corrected scraping depth, and the preset scraping speed and the corrected scraping depth are used as the second working parameters.
[0034] Optionally, adjusting the second working parameter according to the second trial scraping effect includes:
[0035] Determine the effect type of the second trial scraping effect;
[0036] Determine whether the effect type of the second trial scraping effect is the same as the effect type of the first trial scraping effect;
[0037] If the second trial scraping effect is the same as the first trial scraping effect, then according to the effect difference between the second trial scraping effect and the first trial scraping effect, at least one of the modified scraping speed and the preset scraping depth is adjusted as the adjusted second working parameter, or at least one of the preset scraping speed and the modified scraping depth is adjusted as the adjusted second working parameter;
[0038] If the second trial scraping effect is different from the first trial scraping effect, the scraping speed is adjusted to be the adjusted second working parameter, or the scraping depth is adjusted to be the adjusted second working parameter.
[0039] Optionally, if the second trial scraping effect is the same as the first trial scraping effect, adjusting at least one of the modified scraping speed and the preset scraping depth as the adjusted second working parameter according to the effect difference between the second trial scraping effect and the first trial scraping effect, or adjusting at least one of the preset scraping speed and the modified scraping depth as the adjusted second working parameter, including:
[0040] If the second scraping test result and the first scraping test result are both over-scraping results, then when the difference between the second scraping test result and the first scraping test result is within the preset difference range, the preset scraping depth is reduced to obtain a corrected scraping depth, and the corrected scraping speed and the corrected scraping depth are used as the adjusted second working parameters;
[0041] When the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, continue to reduce the corrected scraping speed to obtain a second corrected scraping speed, and use the second corrected scraping speed and the preset scraping depth as the adjusted second working parameter;
[0042] If the second trial scraping effect is the same as the first trial scraping effect and both are under-scraping effects, then when the difference between the second trial scraping effect and the first trial scraping effect is within a preset difference range, the preset scraping speed is increased to obtain a corrected scraping speed, and the corrected scraping speed and the corrected scraping depth are used as the adjusted second working parameter;
[0043] When the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, continue to increase the corrected scraping depth to obtain a second corrected scraping depth, and use the second corrected scraping depth and the preset scraping speed as the adjusted second working parameters.
[0044] Optionally, if the second trial scraping effect is different from the first trial scraping effect, adjusting the corrected scraping speed as the adjusted second working parameter, or adjusting the corrected scraping depth as the adjusted second working parameter, includes:
[0045] If the first scraping test result is an over-scraping effect and the second scraping test result is an under-scraping effect, then the reduction range of the corrected scraping speed is determined according to the first scraping test result and the second scraping test result, and the corrected scraping speed is adjusted according to the reduction range;
[0046] If the first trial scraping result is an under-scraping effect and the second trial scraping result is an over-scraping effect, the reduction range of the corrected scraping depth is determined according to the first trial scraping result and the second trial scraping result, and the corrected scraping depth is adjusted according to the reduction range.
[0047] The present invention also provides an automatic scratching device for instant lottery tickets, the automatic scratching device for instant lottery tickets comprising:
[0048] memory; and,
[0049] A processor, an automatic scratching program for instant lottery tickets stored in the memory and executed by the processor, wherein the automatic scratching program for instant lottery tickets implements the automatic scratching method for instant lottery tickets as described above when executed by the processor.
[0050] The present invention also provides an automatic scratching system for instant lottery tickets, the automatic scratching system for instant lottery tickets comprising:
[0051] Scratch lottery module;
[0052] A camera module; and
[0053] As in the above-mentioned automatic scratching device for instant lottery tickets, the automatic scratching device for instant lottery tickets is electrically connected to the scratching module and the camera module.
[0054] The technical solution of the present invention is to provide a trial scratch area on the instant lottery ticket, and before scratching the scratch area and the security area, first perform a trial scratch operation on the trial scratch area to obtain target working parameters for the scratching effect to reach the preset effect standard, and the preset effect standard is that the scratchable covering layer of the trial scratch area is completely scraped off and the graphic information of the trial scratch area is not destroyed. Therefore, when the target working parameters are subsequently used to scratch the scratch area and the security area, there is a greater probability that the scratching effect of the scratch area and the security area can reach the preset effect standard, thereby improving the automatic scratching accuracy of the instant lottery ticket, and further reducing the probability that the scratching operation causes the scratch area or the security area to be over-scratched or under-scratched, which affects the recognition of the winning situation of the instant lottery ticket. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0056] Figure 1 A schematic diagram of a flow chart of an embodiment of a method for automatically scratching instant lottery tickets according to the present invention;
[0057] Figure 2 A schematic diagram of a flow chart of another embodiment of a method for automatically scratching instant lottery tickets of the present invention;
[0058] Figure 3 A partial flow chart of another embodiment of a method for automatically scratching instant lottery tickets of the present invention;
[0059] Figure 4 A partial flow chart of another embodiment of a method for automatically scratching instant lottery tickets of the present invention;
[0060] Figure 5 It is a module schematic diagram of an embodiment of an automatic scratching device for instant lottery tickets of the present invention.
[0061] Description of Figure Numbers:
[0062] Label name Label name 11 Memory 13 Communication Bus 12 processor
[0063] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0065] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0066] The invention provides an automatic scratching method for instant lottery tickets, which can be applied to automatic scratching equipment for selling instant lottery tickets.
[0067] At present, the automatic scratch-off machines for instant lottery tickets still scratch paper lottery tickets, but after being stored in the machine for a period of time, the paper material of the paper lottery tickets may become unstable due to the influence of local environment and other factors. Therefore, the scratching effect of the paper lottery tickets is easily affected by the scratching accuracy of the scratching module in the machine, which may easily cause under-scraping (the removable covering layer is not scraped cleanly) or over-scratching (the image and text are damaged) in the scratching area and the security area. As a result, the automatic scratch-off machines cannot accurately identify the image and text information in the scratching area after scratching through the camera module, or cannot effectively identify the image and text information in the security area to determine the validity of the lottery tickets. As a result, the automatic scratch-off machines for instant lottery tickets often misjudge winning lottery tickets as non-winning.
[0068] For the above problems, refer to Figure 1 The present invention provides an automatic scratching method for instant lottery tickets, wherein the instant lottery tickets to be scratched have a scratching area, a security area and a trial scratching area, and the automatic scratching method for instant lottery tickets comprises:
[0069] Step S100: Identify the trial scratch area, the prize scratch area and the security area of the instant lottery ticket;
[0070] Step S200: performing a trial scratching operation on the trial scratching area, and determining target working parameters for performing a scratching operation on the scratching area when the scratching effect of the trial scratching operation reaches a preset effect standard;
[0071] Step S300: Scratch the lottery area according to the target working parameters;
[0072] Step S400: When the winning situation of the scratch-off area is winning, the security area is scratched according to the target working parameters, and the confidentiality information of the security area is checked.
[0073] The executor of the technical solution of the present invention may be a central control unit in an automatic scratch-off device for instant lottery tickets, or a special automatic scratch-off device for instant lottery tickets; the following description takes the central control unit as an example to explain the solution.
[0074] For step S100, the scratch area, security area and trial scratch area on the instant lottery ticket can be framed by different colors and linear lines. When the instant lottery ticket is not scratched, there is a gray scratch-off covering layer in the scratch area, security area and trial scratch area, and corresponding graphic information is respectively provided; wherein the graphic information in the scratch area is used to determine whether the instant lottery ticket has won the prize, the graphic information in the security area is used to determine the validity of the instant lottery ticket, and the graphic information in the trial scratch area is used to determine whether the trial scratch operation is over-scratched. The automatic vending scratch lottery device of the instant lottery ticket can be provided with a camera module, which can collect the front image of the instant lottery ticket selected by the user and feed it back to the central control unit. The central control unit can determine the scratch area, security area and trial scratch area framed by different colors and linear lines by performing image recognition on the collected image.
[0075] In addition to the scratch-off area and the security area, there are a large number of related graphics and texts in other parts of the current instant lottery tickets, such as graphics and texts explaining the gameplay, graphics and texts explaining the winning rules, graphics and texts recording the factory information of the instant lottery tickets, etc. In order to simplify the setting method of the trial scratch area, a scratchable covering layer can be directly covered on the above-mentioned related graphics and texts to form the trial scratch area of the present invention.
[0076] For step S200, the central control unit can control the scratching module in the automatic vending scratching device of the instant lottery to first perform a trial scratching operation on the trial scratching area, and can continuously determine the trial scratching effect of the trial scratching operation according to the image fed back by the camera module during the trial scratching operation. If the trial scratching effect of the trial scratching operation can always reach the preset effect standard, it can be determined that the working parameters of the scratching module can meet the needs of the scratching operation in the scratching area and the security area. At this time, the central control unit can directly use the working parameters of the scratching module as the target working parameters. If the trial scratching effect of the trial scratching operation cannot always reach the preset effect standard, the central control unit can continuously determine the trial scratching effect of the trial scratching operation according to the image fed back by the camera module during the trial scratching operation, and can continuously adjust the working parameters of the scratching module according to the trial scratching effect to adjust the trial scratching effect, until the trial scratching effect reaches the preset effect standard, at this time, the central control unit can directly use the adjusted working parameters of the scratching module as the target working parameters. Among them, the preset effect standard is that the scrapeable covering layer of the trial scratching area is completely scraped off and the graphic information of the trial scratching area is not destroyed.
[0077] For step S300, the central control unit may control the scratch-off module to perform a scratch-off operation on the scratch-off area according to the target working parameters determined in step S200, so as to scrape off the scratch-off covering layer of the scratch-off area to expose its graphic information.
[0078] For step S400, after the scratching operation of the scratching area is completed, the central control unit can obtain the image of the scratching area through the camera module, and can identify the graphic information in the scratching area through the image and determine whether the instant lottery ticket has won the prize. If the judgment result is that the instant lottery ticket has won the prize, the control can control the scratching module to scratch the security area according to the target working parameters to scrape off the scratchable covering layer of the security area to expose its graphic information. After the scratching operation of the security area is completed, the central control unit can obtain the image of the security area through the camera module, and can identify the graphic information in the security area through the image and determine whether the instant lottery ticket is valid. It is understandable that the central control unit can also determine whether to issue the winning reward corresponding to the instant lottery ticket to the user based on the judgment result of the validity of the instant lottery ticket.
[0079] The technical solution of the present invention is to provide a trial scratch area on the instant lottery ticket, and before scratching the scratch area and the security area, first perform a trial scratch operation on the trial scratch area to obtain target working parameters for the scratching effect to reach the preset effect standard, and the preset effect standard is that the scratchable covering layer of the trial scratch area is completely scraped off and the graphic information of the trial scratch area is not destroyed. Therefore, when the target working parameters are subsequently used to scratch the scratch area and the security area, there is a greater probability that the scratching effect of the scratch area and the security area can reach the preset effect standard, thereby improving the automatic scratching accuracy of the instant lottery ticket, and further reducing the probability that the scratching operation causes the scratch area or the security area to be over-scratched or under-scratched, which affects the recognition of the winning situation of the instant lottery ticket.
[0080] Reference Figures 2 to 4 , the trial scraping area includes a first trial scraping area and a second trial scraping area;
[0081] Step S200: Perform a trial scratching operation on the trial scratching area, and when the scratching effect of the trial scratching operation reaches a preset effect standard, determine the target working parameters for the scratching operation on the scratching area, including:
[0082] Step S210: performing a first trial scraping operation on a first trial scraping area with a first working parameter;
[0083] Step S220: determining a first trial scraping effect of a first trial scraping operation;
[0084] Step S230: determining the second working parameter according to the first trial scraping result and the first working parameter;
[0085] Step S240: performing a second trial scraping operation on a second trial scraping area according to a second working parameter;
[0086] Step S250: determining a second trial scraping effect of a second trial scraping operation;
[0087] Step S260: Determine the target working parameters according to the second trial scraping effect and the second working parameters.
[0088] Wherein, step S230: determining the second working parameter according to the first trial scraping effect and the first working parameter, comprises:
[0089] Step S231: Determine whether the first trial scraping effect reaches a preset effect standard;
[0090] Step S232: if the first trial scraping effect does not reach the preset effect standard, adjusting the preset scraping speed and / or the preset scraping depth according to the first trial scraping effect to obtain the second working parameter;
[0091] Step S233: if the first trial scraping effect reaches the preset effect standard, the preset scraping speed and the preset scraping depth are used as the second working parameters;
[0092] Wherein, step S260: determining the working parameters according to the second trial scraping effect and the second working parameters includes:
[0093] Step S261: Determine whether the second trial scraping effect reaches a preset effect standard;
[0094] Step S262: if the second trial scraping effect does not reach the preset effect standard, adjusting the second working parameter according to the second trial scraping effect, and using the adjusted second working parameter as the target working parameter;
[0095] Step S263: If the second trial scraping effect reaches the preset effect standard, the second working parameter is used as the target working parameter.
[0096] In this embodiment, all areas of the first trial scratching area and the second trial scratching area are covered with a removable covering layer, and all areas are provided with graphic information. The first working parameter is a preset working parameter for controlling the scratching module to scratch the current type of instant lottery. It should be noted that when the automatic scratching device for vending instant lottery tickets is just produced, the material of the paper instant lottery tickets therein is in a stable state because the lottery tickets have just been produced. The first working parameter is the working parameter that enables the scratching module to achieve the preset effect standard for the scratching effect of the instant lottery tickets at this time.
[0097] The central control unit may first control the scratch module with the first working parameter to perform a trial scratch on the first trial scratch area, that is, the first trial scratch operation. After the first trial scratch operation is completed, the central control unit may perform image acquisition and image recognition on the first trial scratch area through the camera module to determine the trial scratch effect of the first trial scratch area, that is, the first trial scratch effect. It can be understood that whether the first trial scratch effect reaches the preset effect standard can indicate the fit between the first working parameter and the current instant lottery ticket, thereby determining whether to adjust the first working parameter. If the first trial scratch effect reaches the preset effect standard, it means that there is a greater probability that the scratch module can achieve the preset effect standard by controlling the scratch operation of the scratch area and the security area with the first working parameter. At this time, there is no need to adjust the first working parameter, and the central control unit can directly use the first working parameter as the second working parameter. If the effect of the first trial scratching does not meet the preset effect standard, that is, using the first working parameter to control the scratching module to scratch the scratch area and the security area has a high probability of failing to achieve the preset effect standard, then it is necessary to adjust the first working parameter. The central control unit can adjust at least one of the preset scraping speed and the preset scraping depth according to the first trial scratching effect to obtain the second working parameter.
[0098] The central control unit can then control the scratch module with the second working parameter to perform another trial scratch on the second trial scratch area, that is, the second trial scratch operation. After the second trial scratch operation is completed, the central control unit can continue to perform image acquisition and image recognition on the second trial scratch area through the camera module to determine the trial scratch effect of the second trial scratch area, that is, the second trial scratch effect. It can be understood that whether the second trial scratch effect meets the preset effect standard can also indicate the fit between the second working parameter and the current instant lottery ticket, thereby determining whether the second working parameter is suitable as the final target working parameter. If the second trial scratch effect meets the preset effect standard, it means that there is a greater probability that the scratch module can achieve the preset effect standard for the scratch operation of the scratch area and the security area by using the second working parameter. At this time, there is no need to adjust the second working parameter, and the central control unit can directly use the second working parameter as the second working parameter. If the second trial scratching effect does not meet the preset effect standard, that is, using the second working parameters to control the scratching module to scratch the scratch area and the security area has a high probability of failing to achieve the preset effect standard, then the second working parameters need to be adjusted. The central control unit can continue to adjust at least one of the preset scraping speed and the preset scraping depth according to the second trial scraping effect to obtain the target working parameters.
[0099] The technical solution of the present invention divides the trial scratching area into a first trial scratching area and a second trial scratching area, and determines the final target working parameters by adopting two trial scratching operations. It can determine the target working parameters that best match the current instant lottery ticket material to the greatest extent, thereby increasing the probability that the scratching effect reaches the preset effect standard after the scratching module finally performs the scratching operation.
[0100] Reference Figure 2 Before step S210: performing a first trial scratching operation on the first trial scratching area with the first working parameter, the instant lottery automatic scratching method further includes:
[0101] Step S270: Obtaining the type information of the instant lottery ticket;
[0102] Step S280: According to the type information of the instant lottery ticket, determine a matching preset scraping speed and preset scraping depth as the first working parameter.
[0103] Since there are many types of instant lottery tickets, the basic paper used in the production of different types of instant lottery tickets is not necessarily the same material. Therefore, different scratching module working parameters need to be configured for instant lottery tickets using different paper types. In this embodiment, a preset instant lottery type-preset working parameter mapping table may be pre-stored in the central control unit. The preset instant lottery type-preset working parameter mapping table stores a variety of preset instant lottery types and preset working parameters stored in association with each preset instant lottery type. Each preset working parameter includes a preset scraping speed and a preset scraping depth. The central control unit can identify the relevant features on the current instant lottery ticket through the camera module, such as a barcode, a graphic that specifically identifies the type of instant lottery ticket, the location of the trial scratching area, etc., to determine and identify the current instant lottery type as type information, and can search the preset instant lottery type-preset working parameter mapping table based on the type information to obtain the preset scraping speed and preset scraping depth corresponding to the current instant lottery type as the first working parameter.
[0104] In one embodiment of the present invention, step S232: adjusting a preset scraping speed and / or a preset scraping depth according to the first trial scraping result to obtain a second working parameter includes:
[0105] Step S2321: determining the effect type of the first trial scraping effect, where the effect type includes an over-scraping effect and an under-scraping effect;
[0106] Step S2322: if the first scraping trial result is an over-scraping result, reducing the preset scraping speed to obtain a corrected scraping speed, and using the corrected scraping speed and the preset scraping depth as the second working parameter;
[0107] Step S2323: If the first scraping trial effect is an under-scraping effect, the preset scraping depth is increased to obtain a corrected scraping depth, and the preset scraping speed and the corrected scraping depth are used as the second working parameters.
[0108] In this embodiment, the over-scraping effect is that the graphic information in the trial scraping area is destroyed, and the under-scraping effect is that the scrapeable covering layer in the trial scraping area is not completely scraped off. In the process of judging the influence of the preset scraping speed and the preset scraping depth on the first trial scraping effect, the central control unit will be configured to determine that the preset scraping speed caused the influence (over-scraping) when judging the first trial scraping effect as the over-scraping effect, and to determine that the preset scraping depth caused the influence (depth) when judging the first trial scraping effect as the under-scraping effect.
[0109] Therefore, if the central control unit determines that the effect of the first trial scraping is an over-scraping effect, the preset scraping speed is reduced to obtain a corrected scraping speed and the current preset scraping depth is maintained, and the corrected scraping speed and the preset scraping depth are used as the second working parameter. Optionally, the central control unit can reduce the preset scraping speed by a fixed percentage, for example, fixedly reducing the preset scraping speed by 20%, and use the reduced result as the corrected scraping speed. Optionally, the central control unit can also adaptively adjust the scraping speed according to the over-scraping situation of the current first trial scraping area. For example, based on the image information of the first trial scraping area acquired by the camera module, determine the percentage of the area of the damaged graphic information occupying the entire graphic information area, and reduce the preset scraping speed according to the percentage to obtain the corresponding corrected scraping speed.
[0110] Similarly, if the central control unit determines that the first trial scraping effect is an under-scraping effect, the preset scraping depth is increased to obtain a corrected scraping depth and the current preset scraping speed is maintained, and the preset scraping speed and the corrected scraping depth are used as the second working parameter. Optionally, the central control unit can increase the preset scraping depth by a fixed percentage, such as a fixed increase of the preset scraping depth by 20%, and use the increased result as the corrected scraping depth. Optionally, the central control unit can also adaptively adjust the scraping depth according to the current under-scraping situation of the first trial scraping area. For example, based on the image information of the first trial scraping area acquired by the camera module, determine the percentage of the area of the remaining removable covering layer to the entire area of the first trial scraping area, and increase the preset scraping depth according to the percentage to obtain the corresponding corrected scraping depth.
[0111] Furthermore, in one embodiment of the present invention, after the central control unit determines the second working parameter according to the process of the above embodiment, it will perform a second trial scraping operation on the second trial scraping area.
[0112] In step S262, adjusting the second working parameter according to the second trial scraping result includes:
[0113] Step S2621: determining the effect type of the second trial scraping effect;
[0114] In this embodiment, the process of obtaining the effect type of the second trial scraping effect can refer to the same process as in the above embodiment, which will not be repeated here.
[0115] Step S2622: determining whether the effect type of the second trial scraping effect is the same as the effect type of the first trial scraping effect;
[0116] Step S2623: If the second trial scraping effect is the same as the first trial scraping effect, then according to the effect difference between the second trial scraping effect and the first trial scraping effect, at least one of the modified scraping speed and the preset scraping depth is adjusted as the adjusted second working parameter, or at least one of the preset scraping speed and the modified scraping depth is adjusted as the adjusted second working parameter;
[0117] Step S2624: If the second trial scraping effect is different from the first trial scraping effect, the scraping speed is adjusted to be the adjusted second working parameter, or the scraping depth is adjusted to be the adjusted second working parameter.
[0118] In this embodiment, if the second trial scraping effect is the same as the first trial scraping effect, then it means that in the above embodiment, for the scraping speed or scraping depth, the adjustment force is not enough or the effect after adjustment is not good. To this end, in one embodiment of the present application, step S2623: if the second trial scraping effect is the same as the first trial scraping effect, then according to the effect difference between the second trial scraping effect and the first trial scraping effect, adjust at least one of the modified scraping speed and the preset scraping depth as the adjusted second working parameter, or adjust at least one of the preset scraping speed and the modified scraping depth as the adjusted second working parameter, including:
[0119] Optionally, in one embodiment, if the second trial scraping effect and the first trial scraping effect are both over-scraping effects, then when the difference between the second trial scraping effect and the first trial scraping effect is within a preset difference range, the preset scraping depth is reduced to obtain a corrected scraping depth, and the corrected scraping speed and the corrected scraping depth are used as the adjusted second working parameter;
[0120] When the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, continue to reduce the corrected scraping speed to obtain a second corrected scraping speed, and use the second corrected scraping speed and the preset scraping depth as the adjusted second working parameter;
[0121] In the present embodiment, when both the second trial scraping effect and the first trial scraping effect are over-scraping effects, if the degree of difference between the second trial scraping effect and the first trial scraping effect is within a preset difference interval, for example, the difference between the percentage of the area of the damaged graphic information in the first trial scraping area to the area of the entire graphic information and the percentage of the area of the damaged graphic information in the second trial scraping area to the area of the entire graphic information is within the preset difference interval (preset by R&D personnel). Then, the central control unit will determine that it is not enough to adjust the speed to improve the over-scraping effect, and the scraping depth needs to be adjusted. Therefore, the central control unit will reduce the preset scraping depth to obtain a corrected scraping depth, for example, by reducing the preset scraping depth according to a fixed percentage or by reducing the preset scraping depth according to the percentage of the area of the damaged graphic information in the second trial scraping area to the area of the entire graphic information, so as to obtain a corrected scraping depth, and use the corrected scraping speed and the corrected scraping depth as the adjusted second working parameters, i.e., the target working parameters.
[0122] If the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, for example, the difference between the percentage of the area of the damaged graphic information in the first trial scraping area to the entire graphic information area and the percentage of the area of the damaged graphic information in the second trial scraping area to the entire graphic information area is not within the preset difference range (preset by R&D personnel). Then, the central control unit will determine that the previous adjustment of the speed is not enough to improve the over-scraping effect, and the speed needs to be further reduced. Therefore, the central control unit will further reduce the corrected scraping speed to obtain a second corrected scraping speed according to the same embodiment process as above, and use the second corrected scraping speed and the preset scraping depth as the adjusted second working parameter, that is, the target working parameter.
[0123] Optionally, in another embodiment, if the second trial scraping effect is the same as the first trial scraping effect and both are under-scraping effects, then when the difference between the second trial scraping effect and the first trial scraping effect is within a preset difference range, the preset scraping speed is increased to obtain a corrected scraping speed, and the corrected scraping speed and the corrected scraping depth are used as the adjusted second working parameter;
[0124] When the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, continue to increase the corrected scraping depth to obtain a second corrected scraping depth, and use the second corrected scraping depth and the preset scraping speed as the adjusted second working parameters.
[0125] In this embodiment, when both the second trial scraping effect and the first trial scraping effect are under-scraping effects, if the degree of difference between the second trial scraping effect and the first trial scraping effect is within a preset difference interval, for example, the difference between the percentage of the area of the remaining scrapeable covering layer in the first trial scraping area occupying the entire area of the first trial scraping area and the percentage of the area of the remaining scrapeable covering layer in the second trial scraping area occupying the entire area of the second trial scraping area is within the preset difference interval (preset by R&D personnel). Then, the central control unit will determine that it is not enough to adjust the depth to improve the under-scraping effect, and the scraping speed needs to be adjusted. Therefore, the central control unit will increase the preset scraping speed to obtain a corrected scraping speed, for example, increase the preset scraping speed according to a fixed percentage or increase the preset scraping speed according to the percentage of the area of the remaining scrapeable covering layer in the second trial scraping area occupying the entire area of the second trial scraping area, so as to obtain a corrected scraping speed, and use the corrected scraping speed and the corrected scraping depth as the adjusted second working parameters, that is, the target working parameters.
[0126] If the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, for example, the difference between the percentage of the area of the remaining scrapeable covering layer in the first trial scraping area to the entire area of the first trial scraping area and the percentage of the area of the remaining scrapeable covering layer in the second trial scraping area to the entire area of the second trial scraping area is not within the preset difference range (preset by R&D personnel). Then, the central control unit will determine that the previous adjustment of the depth is not enough to improve the under-scraping effect, and the depth needs to be further increased. Therefore, the central control unit will further increase the corrected scraping depth to obtain a second corrected scraping depth according to the same embodiment process as above, and use the second corrected scraping depth and the preset scraping speed as the adjusted second working parameter, that is, the target working parameter.
[0127] In this embodiment, if the second trial scraping effect is different from the first trial scraping effect, it means that in the above embodiment, the preset scraping speed is reduced too much or the preset scraping depth is increased too much. Therefore, step S2624: if the second trial scraping effect is different from the first trial scraping effect, adjusting the corrected scraping speed as the adjusted second working parameter, or adjusting the corrected scraping depth as the adjusted second working parameter, includes:
[0128] If the first scraping test result is an over-scraping effect and the second scraping test result is an under-scraping effect, then determining the increase range of the corrected scraping speed according to the first scraping test result and the second scraping test result, and adjusting the corrected scraping speed according to the increase range;
[0129] If the first trial scraping result is an under-scraping effect and the second trial scraping result is an over-scraping effect, the reduction range of the corrected scraping depth is determined according to the first trial scraping result and the second trial scraping result, and the corrected scraping depth is adjusted according to the reduction range.
[0130] In this embodiment, if the first trial scraping effect is an over-scraping effect and the second trial scraping effect is an under-scraping effect, the central control unit determines that the preset scraping speed is reduced too much in the above process. Then, the central control unit will determine the increase of the corrected scraping speed according to the first trial scraping effect and the second trial scraping effect. For example, in the first trial scraping effect (over-scraping effect), the percentage of the area of the damaged graphic information in the first trial scraping area to the entire graphic information area is set to the first percentage. In the second trial scraping effect (under-scraping effect), the percentage of the area of the remaining removable covering layer in the second trial scraping area to the entire first trial scraping area area is set to the second percentage. Then, the central control unit substitutes the first percentage and the second percentage into the preset first transfer function to determine the corresponding increase percentage. The central control unit will increase the corrected scraping speed according to the increase percentage, and set the increased corrected scraping speed and the preset corrected scraping depth to the modified second working parameter, that is, the target working parameter. Among them, the preset first transfer function is obtained by the R&D personnel through a large number of experiments. It can be understood that after the scraping module operates the scraping area according to the target working parameter, it can make the scraping effect reach the preset effect standard.
[0131] If the first trial scraping effect is an under-scraping effect and the second trial scraping effect is an over-scraping effect, the central control unit determines that the preset scraping depth is increased too much in the above process. Then, the central control unit will determine the reduction range of the preset scraping depth according to the first trial scraping effect and the second trial scraping effect. For example, in the first trial scraping effect (under-scraping effect), the percentage of the area of the remaining scrapable covering layer in the first trial scraping area to the entire area of the first trial scraping area is set to a third percentage. In the second trial scraping effect (over-scraping effect), the percentage of the area of the damaged graphic information in the second trial scraping area to the entire graphic information area is set to a fourth percentage. Then, the central control unit substitutes the third percentage and the fourth percentage into the preset second transfer function to determine the corresponding reduction percentage. The central control unit will reduce the corrected scraping depth according to the reduction percentage, and set the reduced corrected scraping depth and the preset corrected scraping depth to the modified second working parameter, that is, the target working parameter. Among them, the preset second transfer function is obtained by the R&D personnel through a large number of experiments. It can be understood that after the scraping module operates the scraping area according to the target working parameter, it can make the scraping effect reach the preset effect standard.
[0132] The invention also provides an automatic scratching device for instant lottery tickets.
[0133] Reference Figure 5 , the automatic scratching device for instant lottery tickets includes:
[0134] a memory 11; and
[0135] The processor 12 stores an automatic scratching program for instant lottery tickets on the memory 11 and is executed by the processor 12. When the automatic scratching method for instant lottery tickets is executed by the processor 12, the automatic scratching method for instant lottery tickets described above is implemented.
[0136] Among them, the specific steps of the instant lottery automatic scratching method refer to the above embodiment. Since the instant lottery automatic scratching device adopts all the technical solutions of all the above embodiments, it at least has all the beneficial effects brought by the technical solutions of the above embodiments, which will not be repeated here. The memory 11 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 11 can also be a storage device independent of the aforementioned control device; the processor 12 can be a CPU. The memory 11 and the processor 12 are connected by a communication bus 13, and the communication bus 13 can be a UART bus or an I2C bus.
[0137] The present invention also proposes an automatic scratching system for instant lottery tickets, which includes a scratching module, a camera module and an automatic scratching device for instant lottery tickets. The specific structure of the automatic scratching device for instant lottery tickets refers to the above embodiment. Since the automatic scratching system for instant lottery tickets adopts all the technical solutions of all the above embodiments, it at least has all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here. Among them, the automatic scratching device for instant lottery tickets is electrically connected to the scratching module and the camera module.
[0138] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A method for automatically scratching instant lottery tickets, wherein the scratched instant lottery tickets have a scratching area and a security area, and the method is characterized in that: The instant lottery ticket also has a trial scratching area, and the instant lottery ticket automatic scratching method comprises: Identify the trial scratch area, prize area and security area of the instant lottery ticket; Perform a trial scratching operation on the trial scratching area, and when the scratching effect of the trial scratching operation reaches a preset effect standard, determine the target working parameters for the scratching operation on the lottery scratching area; Scratch the prize area according to the target working parameters; If the winning situation in the scratch-off area is a winning situation, the security area is scratched according to the target working parameters and the confidential information of the security area is checked; Among them, the preset effect standard is that the scrapeable covering layer in the trial scraping area is completely scraped off and the graphic information in the trial scraping area is not destroyed.
2. A method for automatically scratching instant lottery tickets as claimed in claim 1, characterized in that: The trial scraping area includes a first trial scraping area and a second trial scraping area; Perform a trial scratching operation on the trial scratching area, and when the scratching effect of the trial scratching operation reaches the preset effect standard, determine the target working parameters for the scratching operation on the scratching area, including: Performing a first trial scraping operation on a first trial scraping area with a first working parameter; Determine a first trial scraping effect of a first trial scraping operation; Determining a second working parameter according to the first trial scraping result and the first working parameter; Performing a second trial scraping operation on the second trial scraping area according to the second working parameter; Determining a second trial scraping effect of the second trial scraping operation; The target working parameters are determined according to the second trial scraping effect and the second working parameters.
3. A method for automatically scratching instant lottery tickets as claimed in claim 2, characterized in that: Before performing a first trial scratching operation on the first trial scratching area with the first working parameter, the instant lottery automatic scratching method further includes: Get the type information of the instant lottery ticket; According to the type information of the instant lottery ticket, a matching preset scraping speed and preset scraping depth are determined as the first working parameter.
4. A method for automatically scratching instant lottery tickets as claimed in claim 3, characterized in that: Determining the second working parameter according to the first trial scraping result and the first working parameter includes: Determine whether the first trial scraping effect reaches the preset effect standard; If the first trial scraping effect does not reach the preset effect standard, adjusting the preset scraping speed and / or the preset scraping depth according to the first trial scraping effect to obtain the second working parameter; If the first scraping test effect reaches the preset effect standard, the preset scraping speed and the preset scraping depth are used as the second working parameters; According to the second trial scraping result, the working parameters are determined to include: Determine whether the second trial scraping effect reaches the preset effect standard; If the second trial scraping effect does not reach the preset effect standard, adjusting the second working parameter according to the second trial scraping effect, and using the adjusted second working parameter as the target working parameter; If the second trial scraping effect reaches the preset effect standard, the second working parameter is used as the target working parameter.
5. A method for automatically scratching instant lottery tickets as claimed in claim 4, characterized in that: Adjusting a preset scraping speed and / or a preset scraping depth according to the first trial scraping result to obtain a second working parameter includes: Determine the effect type of the first trial scraping effect, where the effect type includes over-scraping effect and under-scraping effect; If the first scraping test result is an over-scraping result, the preset scraping speed is reduced to obtain a corrected scraping speed, and the corrected scraping speed and the preset scraping depth are used as the second working parameters; If the first scraping trial effect is an under-scraping effect, the preset scraping depth is increased to obtain a corrected scraping depth, and the preset scraping speed and the corrected scraping depth are used as the second working parameters.
6. A method for automatically scratching instant lottery tickets as claimed in claim 5, characterized in that: Adjusting the second working parameter according to the second trial scraping result includes: Determine the effect type of the second trial scraping effect; Determine whether the effect type of the second trial scraping effect is the same as the effect type of the first trial scraping effect; If the second trial scraping effect is the same as the first trial scraping effect, then according to the effect difference between the second trial scraping effect and the first trial scraping effect, at least one of the modified scraping speed and the preset scraping depth is adjusted as the adjusted second working parameter, or at least one of the preset scraping speed and the modified scraping depth is adjusted as the adjusted second working parameter; If the second trial scraping effect is different from the first trial scraping effect, the scraping speed is adjusted to be the adjusted second working parameter, or the scraping depth is adjusted to be the adjusted second working parameter.
7. A method for automatically scratching instant lottery tickets as claimed in claim 6, characterized in that: If the second trial scraping effect is the same as the first trial scraping effect, adjusting at least one of the modified scraping speed and the preset scraping depth as the adjusted second working parameter according to the effect difference between the second trial scraping effect and the first trial scraping effect, or adjusting at least one of the preset scraping speed and the modified scraping depth as the adjusted second working parameter, including: If the second scraping test result and the first scraping test result are both over-scraping results, then when the difference between the second scraping test result and the first scraping test result is within the preset difference range, the preset scraping depth is reduced to obtain a corrected scraping depth, and the corrected scraping speed and the corrected scraping depth are used as the adjusted second working parameters; When the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, continue to reduce the corrected scraping speed to obtain a second corrected scraping speed, and use the second corrected scraping speed and the preset scraping depth as the adjusted second working parameter; If the second trial scraping effect is the same as the first trial scraping effect and both are under-scraping effects, then when the difference between the second trial scraping effect and the first trial scraping effect is within a preset difference range, the preset scraping speed is increased to obtain a corrected scraping speed, and the corrected scraping speed and the corrected scraping depth are used as the adjusted second working parameter; When the difference between the second trial scraping effect and the first trial scraping effect is not within the preset difference range, continue to increase the corrected scraping depth to obtain a second corrected scraping depth, and use the second corrected scraping depth and the preset scraping speed as the adjusted second working parameters.
8. A method for automatically scratching instant lottery tickets as claimed in claim 6, characterized in that: If the second trial scraping effect is different from the first trial scraping effect, adjusting the corrected scraping speed as the adjusted second working parameter, or adjusting the corrected scraping depth as the adjusted second working parameter, including: If the first scraping test result is an over-scraping effect and the second scraping test result is an under-scraping effect, then the reduction range of the corrected scraping speed is determined according to the first scraping test result and the second scraping test result, and the corrected scraping speed is adjusted according to the reduction range; If the first trial scraping result is an under-scraping effect and the second trial scraping result is an over-scraping effect, the reduction range of the corrected scraping depth is determined according to the first trial scraping result and the second trial scraping result, and the corrected scraping depth is adjusted according to the reduction range.
9. An automatic scratching device for instant lottery tickets, characterized in that: The instant lottery automatic scratching device comprises: memory; and, A processor, an automatic scratching program for instant lottery tickets stored in the memory and executed by the processor, wherein the automatic scratching program for instant lottery tickets, when executed by the processor, implements the automatic scratching method for instant lottery tickets as described in any one of claims 1 to 8.
10. An automatic scratching system for instant lottery tickets, characterized in that: The instant lottery automatic scratching system comprises: Scratch lottery module; A camera module; and The automatic scratching device for instant lottery tickets as described in claim 9, wherein the automatic scratching device for instant lottery tickets is electrically connected to the scratching module and the camera module.
Citation Information
Patent Citations
Card-scraping and information identification system for cipher laminated card
CN106216279A
Scraping knife control method and pole piece coating scraping method
CN113351533A
Lottery ticket scraper
US5577287A