CN109147149A - Lottery ticket prints verification method, device and equipment - Google Patents

Lottery ticket prints verification method, device and equipment Download PDF

Info

Publication number
CN109147149A
CN109147149A CN201711239571.0A CN201711239571A CN109147149A CN 109147149 A CN109147149 A CN 109147149A CN 201711239571 A CN201711239571 A CN 201711239571A CN 109147149 A CN109147149 A CN 109147149A
Authority
CN
China
Prior art keywords
lottery ticket
printing
nominal value
information
characteristic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711239571.0A
Other languages
Chinese (zh)
Inventor
朱毅
李学俊
邹剑伦
周小兵
胡培
陈箫枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN SINODATA TECH Co Ltd
Original Assignee
SHENZHEN SINODATA TECH Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN SINODATA TECH Co Ltd filed Critical SHENZHEN SINODATA TECH Co Ltd
Priority to CN201711239571.0A priority Critical patent/CN109147149A/en
Publication of CN109147149A publication Critical patent/CN109147149A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C15/00Generating random numbers; Lottery apparatus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10712Fixed beam scanning
    • G06K7/10722Photodetector array or CCD scanning

Abstract

The present invention is suitable for printer technology field, provides lottery ticket printing verification method, device, equipment and computer readable storage medium, comprising: carry out lottery ticket printing according to type information;After the completion of printing, the nominal value image of the lottery ticket is obtained by charge coupled cell technology;The characteristic area of the nominal value image is identified, and extracts the characteristic information of the characteristic area;Judge whether the characteristic information meets the type information;If the characteristic information meets the type information, pass through printing verifying.The present invention improves the efficiency of printing verifying lottery ticket, enhances the applicability to different mode lottery ticket, ensure that the safety of lottery ticket printing verifying.

Description

Lottery ticket prints verification method, device and equipment
Technical field
The invention belongs to printer technology fields more particularly to lottery ticket printing verification method, device, equipment and computer can Read storage medium.
Background technique
In lottery ticket sales mode, various regions Betting Station is in charge of printing, sale, small amount prize of lottery ticket etc., and these steps Mainly completed by the lottery ticket printing device of Betting Station.Since lottery ticket is bought tickets, the particularity in prize drawing process, so color in printing When ticket, it is ensured that lottery ticket nominal value it is correct, i.e. nominal value and the type information pre-established is consistent, and to realize this mesh , it will usually the print procedure of lottery ticket is controlled using printing verification method in lottery ticket printing device.
It is that the computer program of image recognition is stored in consolidating for scanner but in traditional printing verification method In part memory, in print lottery tickets, the image recognition to lottery ticket is completed by scanner, then sends data to lottery ticket printing and sets Standby display end shows that speed is slower;Still further aspect, existing printing verification method mainly verify the lottery ticket ticket of single mode Face, such as bar code can not be suitable for diversified lottery ticket form now.To sum up, existing lottery ticket prints verification method not Suitable for diversified lottery ticket nominal value, and verification efficiency is lower, and safety is insufficient.
Summary of the invention
In view of this, the embodiment of the invention provides lottery ticket printing verification method, device, equipment and computer-readable storages Medium is not suitable for diversified lottery ticket nominal value to solve existing lottery ticket printing verification method, and verification efficiency is lower, peace The problem of full property deficiency.
The first aspect of the embodiment of the present invention provides a kind of lottery ticket printing verification method, comprising:
Lottery ticket printing is carried out according to type information;
After the completion of printing, the nominal value image of the lottery ticket is obtained by charge coupled cell technology;
The characteristic area of the nominal value image is identified, and extracts the characteristic information of the characteristic area;
Judge whether the characteristic information meets the type information;
If the characteristic information meets the type information, pass through printing verifying.
The second aspect of the embodiment of the present invention provides a kind of lottery ticket printing verifying device, comprising:
Print unit, for carrying out lottery ticket printing according to type information;
Acquiring unit obtains the nominal value image of the lottery ticket by charge coupled cell technology after the completion of printing;
Extraction unit identifies for the characteristic area to the nominal value image, and extracts the spy of the characteristic area Reference breath;
Judging unit, for judging whether the characteristic information meets the type information;
Unit is completed, if meeting the type information for the characteristic information, passes through printing verifying.
The third aspect of the embodiment of the present invention provide a kind of lottery ticket printing verifying equipment, including memory, processor with And store the computer program that can be run in the memory and on the processor, which is characterized in that the processor The step of lottery ticket printing verification method as described above is realized when executing the computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and when computer program is executed by processor realizes lottery ticket printing verifying as described above The step of method.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
In the present embodiment, according to type information print lottery tickets, then by charge coupled cell technology, to lottery ticket surface It is scanned to obtain nominal value image, and identification extraction is carried out to the characteristic area of nominal value image, finally believe the feature extracted Breath compares judgement with type information, if information is consistent, by printing verifying, printing verifying lottery ticket is effectively promoted Efficiency enhances the applicability to different mode lottery ticket, ensure that the safety of lottery ticket printing verifying.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the lottery ticket printing verification method that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of lottery ticket printing verification method provided by Embodiment 2 of the present invention;
Fig. 3 is the structural block diagram for the lottery ticket printing verifying device that the embodiment of the present invention three provides;
Fig. 4 is the structural block diagram for the lottery ticket printing verifying equipment that the embodiment of the present invention four provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
The embodiment of the present invention one carries out lottery ticket printing according to type information;After the completion of printing, pass through charge coupled cell skill Art obtains the nominal value image of the lottery ticket;The characteristic area of the nominal value image is identified, and extracts the characteristic area Characteristic information;Judge whether the characteristic information meets the type information;If the characteristic information meets the printing letter Breath then passes through printing verifying.In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the lottery ticket printing verification method of the offer of the embodiment of the present invention one, and details are as follows:
In S101, lottery ticket printing is carried out according to type information.
Before lottery ticket is printed, the type information for preparing to have made is needed.For example, it is beaten in the sale of lottery ticket In watermark patterns, usually the number to be bet first is selected by user, automatically generate draft bank information etc. further according to bet number Specific information finally transmits information to corresponding printing device to fill each region of lottery ticket nominal value, in initial blank It is printed in lottery ticket nominal value.The type information is that show lottery ticket and other lottery tickets different special in lottery ticket nominal value Information.
In S102, after the completion of printing, the nominal value image of the lottery ticket is obtained by charge coupled cell technology.
In the present embodiment one, after the completion of lottery ticket printing, need to carry out safety verification to it, to guarantee the standard of ticket information It is really errorless.Specifically, first using charge coupled cell (Charge-coupled Device) technology to the institute after the completion of printing It states lottery ticket and carries out the acquisition of nominal value image.Charge coupled cell is a kind of semiconductor devices, is had on its surface referred to as the micro- of pixel Small photoactive substance, with increasing for pixel number, the resolution ratio of picture is also higher.With charge coupled cell technology, can acquire Optical signalling, and through external sampling amplification and analog to digital conversion circuit be converted into data image signal, thus realize the acquisition of image, Storage, transmission, processing and reproduction.To the nominal value image after acquisition, it is desirable that make itself and practical lottery ticket character boundary at par, shape Shape is consistent, keeps high-visible, and further identification judgement can be done according to nominal value image, so carrying out charge coupled cell When technology obtains, element to be made to have enough clarity.
In traditional lottery ticket printing verification method, scanned after obtaining the nominal value image in the nominal value of scanning lottery ticket The identification for carrying out next step to lottery ticket nominal value in device judges, recognition result is finally transmitted to display end by serial ports.But In the present embodiment one, the optical signal of nominal value is converted to by electric signal by charge coupled cell technology, by analog/digital conversion Device is converted into digital signal, finally by the nominal value image transmitting to host computer, since the capacity of the host computer is big, calculates energy Power is strong, distinguishes that risk is small, therefore can promote subsequent authentication efficiency.
Preferably, in S102, start charge coupled cell camera, the nominal value of the lottery ticket is shot, obtain Shooting image is the nominal value image.
After receiving the instruction that lottery ticket printing is completed, the camera of starting deployment charge coupled cell shoots the complete of lottery ticket Optical nominal value image is converted digital signal by whole nominal value, distinguishes convenient for the transmission of next step.Wherein, Charged Couple is disposed The camera of element is pre-installed on printing device before printing starts, and specific installation site is the top of lottery ticket outlet, and And after the completion of lottery ticket printing, the scanning area of camera can completely cover lottery ticket nominal value.
In S103, the characteristic area of the nominal value image is identified, and extracts the feature letter of the characteristic area Breath.
After host computer receives nominal value image, the type according to lottery ticket is needed, selectes the characteristic area of lottery ticket.Citing comes It says, lottery ticket is contained with the region of bet number relevant information as mark region, if the mark region of lottery ticket is believed in draft bank Region is ceased, then being identified with regard to selected draft bank information area as characteristic area;If the mark region of lottery ticket in bar code area, It is so just selected as characteristic area.If there is multiple mark regions, then multiple characteristic areas are selected using the above method.Choosing After the completion of fixed, using optical character identification (Optical Character Recognition) method, selected characteristic area is extracted Characteristic information.Wherein, the optical character recognition that the optical character recognition method can be run by host computer is specifically real It is existing.
In S104, judge whether the characteristic information meets the type information.
After extracting characteristic information, judgment step is carried out.Host computer extracts nominal value figure using optical character recognition method As the characteristic information of characteristic area, and before characteristic information and printing are started, the type information for being pre-stored in host computer is compared. Since type information is to be different from the information of other bet number lottery tickets comprising individual lottery ticket, so can sentence after being compared Whether the disconnected lottery ticket printed out is consistent with expected effect.
In S105, if the characteristic information meets the type information, pass through printing verifying.
After being judged, if characteristic information and type information exist meets relationship one by one, i.e., extracted in characteristic area The contents such as number be consistent with predetermined content, then the lottery ticket nominal value printed is to meet the form of printing demand.This reality It applies in example one, lottery ticket content completes confirmation, prints verification process by lottery ticket and completes.
Through embodiment illustrated in fig. 1 one it is found that in the embodiment of the present invention one, beaten by carrying out lottery ticket according to type information Print, after the completion of printing, the nominal value image of the lottery ticket is obtained by charge coupled cell technology, to the feature of the nominal value image Region is identified, and extracts the characteristic information of the characteristic area, judges whether the characteristic information meets the printing letter If the characteristic information meets the type information, by printing verifying, the effect of printing verifying lottery ticket is effectively promoted in breath Rate enhances the applicability to different mode lottery ticket, ensure that the safety of lottery ticket printing verifying.
It is the implementation process schematic diagram of lottery ticket printing verification method provided by Embodiment 2 of the present invention, the coloured silk shown in Fig. 2 Ticket printing verification method be applicable to lottery ticket print procedure, as shown, the lottery ticket printing verification method the following steps are included:
In S201, lottery ticket printing is carried out according to type information.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
In S202, after the completion of printing, the nominal value image of the lottery ticket is obtained by charge coupled cell technology.
The step is identical as step S102, and for details, reference can be made to the associated descriptions of step S102, and details are not described herein.
In S203, draft bank region, note code information area and the two-dimension code area in the nominal value image are identified, And extract the characteristic information in the draft bank region, note the code information area and the two-dimension code area.
In the present embodiment two, determine that a seed type of lottery ticket, i.e. ticket information are broadly divided into three parts, from top to bottom It is successively draft bank region, note code information area and two-dimension code area, wherein it include a string of random draft banks in draft bank region, it can be with It is formed, can also be made of individual digital or individual letter by number and monogram;It infuses in code information area comprising note Code information, it is anti-fake for lottery ticket, it automatically generates, can be formed by number and monogram in print lottery tickets, it can also be by list Only digital or individual letter composition;And two-dimension code area includes image in 2 D code information, is looked into convenient for lottery ticket buyer's barcode scanning See lottery information.Above-mentioned zone is that lottery ticket is individually individual as one, the other part of individuation field with other same types. I.e. for each lottery ticket, after bet number determines, correspondence draft bank, note code and the two dimensional code of generation are all different from other and adopt With draft bank, code and the two dimensional code of different bet number lottery tickets.So getting the ticket of lottery ticket by charge coupled cell technology After the image of face, determine that the characteristic area of nominal value image is draft bank region, infuses code information area and two-dimension code area in host computer, Region when subsequent identification is preset, then carries out identification work.
After the completion of selected to three regions, using optical character recognition method, the characteristic information of selected characteristic area is extracted. In the present embodiment two, the optical character recognition method is in addition to the number on nominal value image and other than letter identifies, also Two dimensional code identification is carried out including the two-dimension code area to nominal value image.
In S204, the characteristic information and number, letter and two dimensional code in the type information are compared;If comparison knot Fruit is identical, then the characteristic information meets the type information;If comparing result has difference, the characteristic information is not Meet the type information.
After extracting the characteristic information comprising number, letter and two dimensional code, host computer believes it with printing is pre-saved Number, letter and two dimensional code in breath are compared, wherein and alignments are to compare in sequence to each number and letter, And each part of two dimensional code is compared, if first appearing difference in comparison process, stops comparison process, obtains feature Information does not meet the type information prestored.Only when all information all compares completion, and determine it is identical it is errorless after, just determine spy Reference breath meets prestored information.
In S205, if the characteristic information meets the type information, pass through printing verifying.
The step is identical as step S105, and for details, reference can be made to the associated descriptions of step S105, and details are not described herein.
In S206, if the characteristic information does not meet the type information, time-out printing process exports the lottery ticket For the prompt of trouble ticket.
In lottery ticket authentication process, it is possible that the case where information is not consistent, such as the draft bank that nominal value image zooming-out goes out There is missing in information, or the two dimensional code extracted is not consistent with the type information prestored, and host computer is verifying the feelings After condition, identification lottery ticket is trouble ticket.If being also in the lottery ticket of printing sequence, host computer can issue instruction instruction pause and beat Print.Meanwhile host computer can export and sales force is reminded to handle the prompt of the trouble ticket, it is specific export prompt process can be by Host computer, which will be prompted to be transmitted to printing device display end, to be shown, is also possible to some component of PC control, for example testing When card failure, issues instruction control LED light and redden, to prompt the ticket as trouble ticket.Certainly, specifically output reminding method includes But it is not limited to the above method, as long as in the reasonable scope, the method for reminding sales force's purpose can be reached, can be applied In the present embodiment two.
Through embodiment illustrated in fig. 2 two it is found that in the embodiment of the present invention two, lottery ticket printing is being carried out, nominal value figure is obtained As after, draft bank region, note code information area and the two-dimension code area in the nominal value image are identified, and extract the ticket Number region, note the code information area and the two-dimension code area characteristic information, be finally compared, it is logical according to situation is compared Printing verifying or output problem clew are crossed, is improved to the applicability containing two-dimentional code type lottery ticket, perfect lottery ticket printing Verification process.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Verification method is printed corresponding to lottery ticket described in foregoing embodiments, Fig. 3 shows the coloured silk of the offer of the embodiment of the present invention three The structural block diagram of ticket printing verifying device illustrates only part relevant to the embodiment of the present invention three for ease of description.
The lottery ticket printing verifies device and includes:
Print unit 31, for carrying out lottery ticket printing according to type information;
Acquiring unit 32 obtains the nominal value image of the lottery ticket by charge coupled cell technology after the completion of printing;
Extraction unit 33 identifies for the characteristic area to the nominal value image, and extracts the characteristic area Characteristic information;
Judging unit 34, for judging whether the characteristic information meets the type information;
Unit 35 is completed, if meeting the type information for the characteristic information, passes through printing verifying.
Optionally, the acquiring unit 32 includes:
Start unit shoots the nominal value of the lottery ticket for starting charge coupled cell camera, obtains shooting Image is the nominal value image.
Optionally, the extraction unit 33 includes:
Extract subelement, for in the nominal value image draft bank region, note code information area and two-dimension code area into Row identification, and extract the characteristic information in the draft bank region, note the code information area and the two-dimension code area.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure that the lottery ticket prints verifying device are divided into different functional unit or mould Block, to complete all or part of the functions described above.Each functional unit in embodiment, module can integrate at one It manages in unit, is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units In, above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.Separately Outside, each functional unit, module specific name be also only for convenience of distinguishing each other, the protection model being not intended to limit this application It encloses.The specific work process of unit in above system, module, can refer to corresponding processes in the foregoing method embodiment, herein It repeats no more.
Fig. 4 is the schematic diagram for the lottery ticket printing verifying equipment that the embodiment of the present invention four provides.As shown in figure 4, the embodiment Four lottery ticket printing verifying equipment 4 includes: processor 40, memory 41 and is stored in the memory 41 and can be described The computer program 42 run on processor 40.The processor 40 realizes above-mentioned each coloured silk when executing the computer program 42 Ticket prints the step in verification method embodiment, such as step S101 to S105 shown in FIG. 1.Alternatively, the processor 40 is held The function of each unit in above-mentioned each Installation practice, such as unit 31 to 35 shown in Fig. 3 are realized when the row computer program 42 Function.
Illustratively, the computer program 42 can be divided into one or more units, one or more of Unit is stored in the memory 41, and is executed by the processor 40, to complete the present invention.One or more of lists Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey Sequence 42 prints the implementation procedure in verifying equipment 4 in the lottery ticket.For example, the computer program 42 can be divided into printing Unit, extraction unit, judging unit, completes unit at acquiring unit, and each unit concrete function is as follows:
Print unit, for carrying out lottery ticket printing according to type information;
Acquiring unit obtains the nominal value image of the lottery ticket by charge coupled cell technology after the completion of printing;
Extraction unit identifies for the characteristic area to the nominal value image, and extracts the spy of the characteristic area Reference breath;
Judging unit, for judging whether the characteristic information meets the type information;
Unit is completed, if meeting the type information for the characteristic information, passes through printing verifying.
The lottery ticket printing verifying equipment may include, but be not limited only to, processor 40, memory 41.Those skilled in the art Member is appreciated that Fig. 4 is only the example of lottery ticket printing verifying equipment 4, does not constitute the limit that verifying equipment 4 is printed to lottery ticket It is fixed, it may include perhaps combining certain components or different components, such as the coloured silk than illustrating more or fewer components Ticket printing verifying equipment can also include input-output equipment, network access equipment, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 41 can be the internal storage unit of the lottery ticket printing verifying equipment 4, such as lottery ticket printing is tested Demonstrate,prove the hard disk or memory of equipment 4.The memory 41 is also possible to the External memory equipment of the lottery ticket printing verifying equipment 4, Such as the plug-in type hard disk being equipped in the lottery ticket printing verifying equipment 4, intelligent memory card (Smart Media Card, SMC), Secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 41 may be used also Both to include that lottery ticket printing verifies the internal storage unit of equipment 4 or including External memory equipment.The memory 41 is used Other programs and data needed for storing the computer program and lottery ticket printing verifying equipment 4.The memory 41 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed method, device and equipment can pass through Other modes are realized.For example, method, device and equipment embodiment described above is only schematical, for example, described The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program code Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer The content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as It does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium in certain jurisdictions.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of lottery ticket prints verification method characterized by comprising
Lottery ticket printing is carried out according to type information;
After the completion of printing, the nominal value image of the lottery ticket is obtained by charge coupled cell technology;
The characteristic area of the nominal value image is identified, and extracts the characteristic information of the characteristic area;
Judge whether the characteristic information meets the type information;
If the characteristic information meets the type information, pass through printing verifying.
2. lottery ticket as described in claim 1 prints verification method, which is characterized in that described to be obtained by charge coupled cell technology Take the nominal value image of the lottery ticket, comprising:
Start charge coupled cell camera, the nominal value of the lottery ticket is shot, obtaining shooting image is the nominal value figure Picture.
3. lottery ticket as described in claim 1 prints verification method, which is characterized in that the characteristic area to the nominal value image Domain is identified, and extracts the characteristic information of the characteristic area, comprising:
Draft bank region, note code information area and two-dimension code area in the nominal value image is identified, and extracts the ticket Number region, note the code information area and the two-dimension code area characteristic information.
4. lottery ticket as claimed in claim 3 prints verification method, which is characterized in that described to judge whether the characteristic information accords with Close the type information, comprising:
Compare the characteristic information and number, letter and two dimensional code in the type information;
If comparing result is identical, the characteristic information meets the type information;
If comparing result has difference, the characteristic information does not meet the type information.
5. lottery ticket as claimed in claim 4 prints verification method, which is characterized in that described to judge whether the characteristic information accords with After closing the type information, further includes:
If the characteristic information does not meet the type information, time-out printing process, exporting the lottery ticket is mentioning for trouble ticket Show.
6. a kind of lottery ticket printing verifying device characterized by comprising
Print unit, for carrying out lottery ticket printing according to type information;
Acquiring unit obtains the nominal value image of the lottery ticket by charge coupled cell technology after the completion of printing;
Extraction unit is identified for the characteristic area to the nominal value image, and extracts the feature letter of the characteristic area Breath;
Judging unit, for judging whether the characteristic information meets the type information;
Unit is completed, if meeting the type information for the characteristic information, passes through printing verifying.
7. lottery ticket printing verifying device as claimed in claim 6, which is characterized in that the acquiring unit, comprising:
Start unit shoots the nominal value of the lottery ticket for starting charge coupled cell camera, obtains shooting image For the nominal value image.
8. lottery ticket printing verifying device as claimed in claim 6, which is characterized in that the extraction unit, comprising:
Subelement is extracted, for knowing to draft bank region, note code information area and the two-dimension code area in the nominal value image Not, and the draft bank region, the characteristic information for infusing code information area and the two-dimension code area are extracted.
9. a kind of lottery ticket printing verifying equipment, including memory, processor and storage are in the memory and can be described The computer program run on processor, which is characterized in that the processor realizes such as right when executing the computer program It is required that the step of any one of 1 to 5 lottery ticket printing verification method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realizing the lottery ticket printing verification method as described in any one of claim 1 to 5 when the computer program is executed by processor Step.
CN201711239571.0A 2017-11-30 2017-11-30 Lottery ticket prints verification method, device and equipment Pending CN109147149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711239571.0A CN109147149A (en) 2017-11-30 2017-11-30 Lottery ticket prints verification method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711239571.0A CN109147149A (en) 2017-11-30 2017-11-30 Lottery ticket prints verification method, device and equipment

Publications (1)

Publication Number Publication Date
CN109147149A true CN109147149A (en) 2019-01-04

Family

ID=64803785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711239571.0A Pending CN109147149A (en) 2017-11-30 2017-11-30 Lottery ticket prints verification method, device and equipment

Country Status (1)

Country Link
CN (1) CN109147149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686395A (en) * 2022-11-04 2023-02-03 广州洛图终端技术有限公司 Lottery printing control method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1539101A (en) * 2001-06-01 2004-10-20 处理技术公司 Self velidating printer with ticket voiding and reprint features
DE102005032337A1 (en) * 2005-07-08 2007-01-11 Höft & Wessel Aktiengesellschaft Ticket sale appliance with barcode reader, has barcode moving transverse to the movement direction of ticket
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN202200666U (en) * 2011-09-13 2012-04-25 深圳市乐州光电技术有限公司 All-in-one machine with functions of scanning and printing
CN103761807A (en) * 2013-12-27 2014-04-30 广东金赋信息科技有限公司 Error-proof device and system for bills
CN106170394A (en) * 2014-03-12 2016-11-30 柯斯特姆股份公司 Printing equipment and the method controlling printing equipment
US9652651B2 (en) * 2008-07-16 2017-05-16 Morton Greene System and method for identifying a genuine printed document

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1539101A (en) * 2001-06-01 2004-10-20 处理技术公司 Self velidating printer with ticket voiding and reprint features
DE102005032337A1 (en) * 2005-07-08 2007-01-11 Höft & Wessel Aktiengesellschaft Ticket sale appliance with barcode reader, has barcode moving transverse to the movement direction of ticket
US9652651B2 (en) * 2008-07-16 2017-05-16 Morton Greene System and method for identifying a genuine printed document
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN202200666U (en) * 2011-09-13 2012-04-25 深圳市乐州光电技术有限公司 All-in-one machine with functions of scanning and printing
CN103761807A (en) * 2013-12-27 2014-04-30 广东金赋信息科技有限公司 Error-proof device and system for bills
CN106170394A (en) * 2014-03-12 2016-11-30 柯斯特姆股份公司 Printing equipment and the method controlling printing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国彩票年鉴编辑委员会: "《中国彩票年鉴 2003》", 30 April 2004, 中国财政经济出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686395A (en) * 2022-11-04 2023-02-03 广州洛图终端技术有限公司 Lottery printing control method and system

Similar Documents

Publication Publication Date Title
CN105074731B (en) Information code, information code generating method, information code reader and information code application system
CN110111507A (en) Multimode identification payment and printing invoice self-aided terminal and Method of printing
CN105119872A (en) Identity verification method, client, and service platform
CN101819703A (en) Terminal equipment special for online invoice verification and verification method thereof
CN207367263U (en) A kind of all-in-one machine with identification and payment function
CN102448557A (en) Game system
CN108074174A (en) A kind of quick reimbursement processing method and processing device based on lending
CN110246249A (en) Substation's business is self-service to handle method and device
CN105844481A (en) System and method for performing digital signature and anticounterfeiting verification on contract
CN106802807A (en) Application delivery method, container platform and application delivery system based on container platform
CN105959119A (en) Random encryption physical information block chain anti-counterfeiting method, system and device
CN101246548A (en) Biological information storage method and system
CN105389708A (en) Anti-counterfeiting method based on combination of digital watermark and two-dimensional code and verification method thereof
CN109147149A (en) Lottery ticket prints verification method, device and equipment
CN109119163A (en) Health detecting method and its system based on face recognition
CN107800962A (en) Image processing method, device and electronic installation
CN106600845A (en) Method and device for retrieving captured card in self-service manner
CN107369242B (en) A kind of Paper Currency Identification, device, terminal device and readable storage medium storing program for executing
CN106780936A (en) Lottery terminal ticket system and method
SE1551524A1 (en) Method and scanner for verifying an authenticity of an identity document
CN102238171B (en) Intelligent key device, and system and method for improving security of online transaction and authentication
CN201138489Y (en) Bill security authenticating terminal with digital signature, electronic label and colored image
CN208335233U (en) A kind of smart card
CN106650864A (en) System and method automatically generating two-dimensional code on basis of image
CN108597154A (en) A kind of Internet of Things communication module group secure startup system and start method and POS machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication