CN112528623A - Instant billing verification method and terminal - Google Patents

Instant billing verification method and terminal Download PDF

Info

Publication number
CN112528623A
CN112528623A CN202011450439.6A CN202011450439A CN112528623A CN 112528623 A CN112528623 A CN 112528623A CN 202011450439 A CN202011450439 A CN 202011450439A CN 112528623 A CN112528623 A CN 112528623A
Authority
CN
China
Prior art keywords
file
ijpds
instant
picture
data
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.)
Granted
Application number
CN202011450439.6A
Other languages
Chinese (zh)
Other versions
CN112528623B (en
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.)
Hongbo Co ltd
Original Assignee
Hongbo 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 Hongbo Co ltd filed Critical Hongbo Co ltd
Priority to CN202011450439.6A priority Critical patent/CN112528623B/en
Publication of CN112528623A publication Critical patent/CN112528623A/en
Application granted granted Critical
Publication of CN112528623B publication Critical patent/CN112528623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/171Editing, e.g. inserting or deleting by use of digital ink

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention provides an instant billing verification method and a terminal, which are used for determining the position information of each instant billing in an IJPDS printing file, wherein the IJPDS printing file is generated according to a preset ticket face design layout file and a preset coding file; acquiring each piece of picture data of the instant draft one by one according to the position information, acquiring ticket face characters corresponding to the picture data according to the ticket face design layout file, and restoring the ticket face characters into ticket face data according to a preset game playing rule to obtain ticket face data to be printed; matching and corresponding the to-be-printed ticket face data of each instant invoice in an IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the IJPDS printing file passes verification; the game data to be printed is restored from the IJPDS printing file, and compared with the game data to be printed in the coding file, the automatic verification of the IJPDS file before the printing of the instant invoice is realized.

Description

Instant billing verification method and terminal
Technical Field
The invention relates to the field of instant billing, in particular to an instant billing verification method and a terminal.
Background
The production process of the instant invoicing comprises the steps of designing the surface layout of the ticket, programming and arranging game data of each ticket, generating an IJPDS printing file, printing on a computer, packaging and the like according to the design requirements and the production requirements of the instant invoicing game playing method, and the instant invoicing meeting the requirements is produced.
In the above production step of instant billing, after the IJPDS print file is generated, the IJPDS print file needs to be checked before printing to ensure that the file completely conforms to the programmed generated instant billing game data. However, font and graphic dot matrix information is stored in the IJPDS print file, and the font and graphic dot matrix information cannot be directly compared with generated data for verification.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the terminal for checking the instant billing are provided, and the checking of the IJPDS printing file before printing the instant billing is realized.
In order to solve the technical problems, the invention adopts a technical scheme that:
an instant billing verification method comprises the following steps:
s1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
s2, acquiring each picture data of the instant draft one by one according to the position information, acquiring the ticket face characters corresponding to the picture data according to the ticket face design layout file, and reducing the ticket face characters into ticket face data according to preset game playing rules to obtain the ticket face data to be printed;
and S3, matching and corresponding the ticket face data to be printed of each instant invoice in the IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the verification of the IJPDS printing file is passed.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
an instant ticket issuing verification terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
s1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
s2, acquiring each picture data of the instant draft one by one according to the position information, acquiring the ticket face characters corresponding to the picture data according to the ticket face design layout file, and reducing the ticket face characters into ticket face data according to preset game playing rules to obtain the ticket face data to be printed;
and S3, matching and corresponding the ticket face data to be printed of each instant invoice in the IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the verification of the IJPDS printing file is passed.
The invention has the beneficial effects that: and restoring the ticket characters from the IJPDS printed file, restoring the ticket characters into ticket data according to a preset game playing rule to obtain ticket data to be printed, comparing the ticket data with the ticket data to be printed in the encoded file, if each ticket is identical, and if the ticket data is matched, indicating that the printing data of the instant ticket corresponding to the IJPDS printed file is correct, thereby realizing the automatic verification of the IJPDS file before the printing of the instant ticket.
Drawings
FIG. 1 is a flow chart illustrating steps of a method for verifying an instant ticket according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an instant billing authentication terminal according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of an instant billing verification method applied to an actual scene according to an embodiment of the present invention;
description of reference numerals:
1. an instant billing verification terminal; 2. a processor; 3. a memory.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, an instant billing verification method includes the steps of:
s1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
s2, acquiring each picture data of the instant draft one by one according to the position information, acquiring the ticket face characters corresponding to the picture data according to the ticket face design layout file, and reducing the ticket face characters into ticket face data according to preset game playing rules to obtain the ticket face data to be printed;
and S3, matching and corresponding the ticket face data to be printed of each instant invoice in the IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the verification of the IJPDS printing file is passed.
From the above description, the beneficial effects of the present invention are: and restoring the ticket characters from the IJPDS printed file, restoring the ticket characters into ticket data according to a preset game playing rule to obtain ticket data to be printed, comparing the ticket data with the ticket data to be printed in the encoded file, if each ticket is identical, and if the ticket data is matched, indicating that the printing data of the instant ticket corresponding to the IJPDS printed file is correct, thereby realizing the automatic verification of the IJPDS file before the printing of the instant ticket.
Further, the generation of the IJPDS print file in S1 according to the preset nominal design layout file and the code file specifically includes:
reading coordinates in the ticket design layout file and a picture set corresponding to the coordinates, wherein each picture in the picture set corresponds to one character;
selecting a picture from the picture set as a target picture corresponding to the coordinates according to the coding file;
generating an IJPDS file according to the coordinates and the target picture;
the step of obtaining the ticket face characters corresponding to the picture data according to the ticket face design layout file in the step S2 is specifically:
cutting the picture data into small picture data according to the coordinates, and acquiring characters corresponding to pictures corresponding to the small picture data in the picture set;
and the characters corresponding to all the small picture data form the ticket face characters.
According to the description, the ticket design layout file stores the picture sets corresponding to different coordinates of the instant tickets, each picture in the picture set corresponds to a character, when the IJPDS printing file is generated, the picture sets are selected according to the preset game data in the coding file, the printing of the different tickets of the same type of instant tickets is realized, when the IJPDS data are restored, the IJPDS data are cut and matched with the corresponding characters, compared with the picture characters, the comparison is more convenient, and the data comparison efficiency is improved.
Further, the determining of the position information of each instant invoice in the IJPDS printed file in S1 specifically includes:
and reading the row information and the column information in the IJPDS printed file, and determining the position information of each invoice in the IJPDS printed file according to the row information and the column information.
As can be seen from the above description, usually one IJPDS print file corresponds to a plurality of printing data for instant invoices, and the printing position of each instant invoice can be accurately known by reading the row information and the column information in the IJPDS print file.
Further, the step of obtaining the image data of each instant invoice one by one according to the position information in S2 specifically includes:
determining a coordinate range corresponding to each instant invoice according to the position information of each instant invoice;
and respectively acquiring the data of each instant billing picture according to the coordinate range.
According to the description, the coordinate range is determined according to the position information, the picture data of the instant invoicing is obtained in the coordinate range, and the situation that the peripheral instant invoicing data is obtained in the process of automatically obtaining the data is avoided through accurate coordinate positioning.
Further, the image data includes a font attribute and a font coordinate.
From the above description, it can be known that the precise printing of the instant billing can be realized through the font attributes and the font coordinates.
Referring to fig. 2, an instant billing authentication terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
s1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
s2, acquiring each picture data of the instant draft one by one according to the position information, acquiring the ticket face characters corresponding to the picture data according to the ticket face design layout file, and reducing the ticket face characters into ticket face data according to preset game playing rules to obtain the ticket face data to be printed;
and S3, matching and corresponding the ticket face data to be printed of each instant invoice in the IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the verification of the IJPDS printing file is passed.
The invention has the beneficial effects that: and restoring the ticket characters from the IJPDS printed file, restoring the ticket characters into ticket data according to a preset game playing rule to obtain ticket data to be printed, comparing the ticket data with the ticket data to be printed in the encoded file, if each ticket is identical, and if the ticket data is matched, indicating that the printing data of the instant ticket corresponding to the IJPDS printed file is correct, thereby realizing the automatic verification of the IJPDS file before the printing of the instant ticket.
Further, the generation of the IJPDS print file in S1 according to the preset nominal design layout file and the code file specifically includes:
reading coordinates in the ticket design layout file and a picture set corresponding to the coordinates, wherein each picture in the picture set corresponds to one character;
selecting a picture from the picture set as a target picture corresponding to the coordinates according to the coding file;
generating an IJPDS file according to the coordinates and the target picture;
the step of obtaining the ticket face characters corresponding to the picture data according to the ticket face design layout file in the step S2 is specifically:
cutting the picture data into small picture data according to the coordinates, and acquiring characters corresponding to pictures corresponding to the small picture data in the picture set;
and the characters corresponding to all the small picture data form the ticket face characters.
According to the description, the ticket design layout file stores the picture sets corresponding to different coordinates of the instant tickets, each picture in the picture set corresponds to a character, when the IJPDS printing file is generated, the picture sets are selected according to the preset game data in the coding file, the printing of the different tickets of the same type of instant tickets is realized, when the IJPDS data are restored, the IJPDS data are cut and matched with the corresponding characters, compared with the picture characters, the comparison is more convenient, and the data comparison efficiency is improved.
Further, the determining of the position information of each instant invoice in the IJPDS printed file in S1 specifically includes:
and reading the row information and the column information in the IJPDS printed file, and determining the position information of each invoice in the IJPDS printed file according to the row information and the column information.
As can be seen from the above description, usually one IJPDS print file corresponds to a plurality of printing data for instant invoices, and the printing position of each instant invoice can be accurately known by reading the row information and the column information in the IJPDS print file.
Further, the step of obtaining the image data of each instant invoice one by one according to the position information in S2 specifically includes:
determining a coordinate range corresponding to each instant invoice according to the position information of each instant invoice;
and respectively acquiring the data of each instant billing picture according to the coordinate range.
According to the description, the coordinate range is determined according to the position information, the picture data of the instant invoicing is obtained in the coordinate range, and the situation that the peripheral instant invoicing data is obtained in the process of automatically obtaining the data is avoided through accurate coordinate positioning.
Further, the image data includes a font attribute and a font coordinate.
From the above description, it can be known that the precise printing of the instant billing can be realized through the font attributes and the font coordinates.
Referring to fig. 1, a first embodiment of the present invention is:
an instant billing verification method comprises the following steps:
s1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
the generation of the IJPDS printing file according to a preset nominal design layout file and a preset encoding file specifically comprises the following steps:
reading coordinates in the ticket design layout file and a picture set corresponding to the coordinates, wherein each picture in the picture set corresponds to one character; selecting a picture from the picture set as a target picture corresponding to the coordinates according to the coding file; generating an IJPDS file according to the coordinates and the target picture;
the method for determining the position information of each instant invoice in the IJPDS printing file specifically comprises the following steps:
reading row information and column information in the IJPDS printed file, and determining position information of each invoice in the IJPDS printed file according to the row information and the column information;
s2, acquiring each picture data of the instant draft one by one according to the position information, acquiring the ticket face characters corresponding to the picture data according to the ticket face design layout file, and reducing the ticket face characters into ticket face data according to preset game playing rules to obtain the ticket face data to be printed;
obtaining the ticket face characters corresponding to the picture data according to the ticket face design layout file specifically comprises the following steps:
cutting the picture data into small picture data according to the coordinates, and acquiring characters corresponding to pictures corresponding to the small picture data in the picture set; all characters corresponding to the small picture data form the ticket face characters;
in an alternative embodiment, the picture data includes a font property and font coordinates;
and S3, matching and corresponding the ticket face data to be printed of each instant invoice in the IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the verification of the IJPDS printing file is passed.
In an optional implementation mode, the ticket face data to be printed comprises a winning level to be printed, the winning level to be printed of each instant invoice in the IJPDS printing file is matched and corresponds to a target winning level preset in the coding file, and if each instant invoice is consistent, the IJPDS printing file passes verification.
Referring to fig. 3, the second embodiment of the present invention is:
the method for verifying the instant billing is applied to an actual scene:
the IJPDS (Inkjet Printer Data Stream) file contains all the information needed for the KODAK VERSAMARK printing system to process and print a complete job, commonly used to print variable Data, and consists of several records, each representing a different control protocol. Usually, the file header is a font library, and stores all the font contents used in the file, i.e. the dot matrix information of the fonts. The document can be divided into at least one RIP (Raster Image Processor) printing column, a printing head is arranged in the printing machine, a one-to-many corresponding relation can be set between the printing head and the printing head to form a required printing configuration, the printing heads are arranged in the direction vertical to the paper feeding direction, and a plurality of columns of contents can be printed simultaneously along with the movement of the paper; each RIP is divided into the same number of documents with the same height, the transverse documents are printed at the same time, each Document is divided into the same number of RIPs, and the relationship between the documents and the RIPs can be similar to the rows and the columns in Excel; the basic working principle is to print the required font to the specified position in each Document of each RIP.
S1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
specifically, obtaining a Record set of each instant invoice according to RIP and Document structures in an IJPDS printing file;
in an optional implementation mode, the ticket design layout file is an XML-based configuration file, and as a generation configuration when an instant ticket is generated, the width, the height and the like of each instant ticket are specified, all variable data printing contents of the ticket are arranged at each appropriate coordinate position, each variable printing content is marked as a ticket face symbol, the variable printing contents comprise a ticket number, a two-dimensional code, an automatic prize-exchanging code, a manual prize-exchanging code, a game symbol and the like, and a picture set which can be printed at the coordinate position is configured; each design file is provided with a plurality of picture sets, and each picture set corresponds to one region in the invoice; the pictures in each set are ordered, and each picture in the picture set is represented by one character in the database, so that the corresponding relation between the characters in the database and the printing ticket is specified; when the step is finished, obtaining the ticket face design configuration, the optional picture set corresponding to the coordinate position of each ticket face symbol, and the like;
s2, acquiring the picture data of each instant invoice one by one according to the position information; specifically, a Record set of each instant invoice is analyzed, and the file font library is used for drawing printing picture data corresponding to each instant invoice; the Record set of each instant ticket consists of records such as SPO, SIL and the like, wherein the SPO determines the coordinate position of the font to be printed in the ticket, and the SIL describes which fonts are to be printed at the position, so that the picture data of each ticket can be generated;
obtaining a ticket face character corresponding to the picture data according to the ticket face design layout file, specifically, cutting the picture data into small picture data according to coordinates in the ticket face design layout file, and obtaining a character corresponding to a picture corresponding to the small picture data in the picture set; all characters corresponding to the small picture data form the ticket face characters; meanwhile, a two-dimensional code area and corresponding picture information are taken out according to the coordinate position of the two-dimensional code, and text content of the two-dimensional code is identified;
connecting the ticket characters according to a preset game playing rule in a certain sequence, and restoring the ticket characters into ticket data to obtain the ticket data to be printed;
s3, repeatedly executing S2 to obtain the face data to be printed of each instant invoice, and obtaining a set to be tested;
and S4, comparing whether the ticket face characters in the set to be tested and the coded file are the same, specifically, comparing corresponding parts such as a ticket number, a two-dimensional code, a game symbol and the like, checking whether the number of the characters of each corresponding part is completely the same as the content of the characters, and if the number of the characters is completely the same, passing the verification.
Referring to fig. 2, a third embodiment of the present invention is:
an instant billing authentication terminal 1 comprises a processor 2, a memory 3 and a computer program stored on the memory 3 and capable of running on the processor 2, wherein the processor 2 implements the steps of the first embodiment or the second embodiment when executing the computer program.
In summary, the invention provides an instant ticket validation method and a terminal, a ticket face design layout file is set, a picture set corresponding to each coordinate range in the instant ticket is stored, the picture set corresponds to characters, an IJPDS file is generated according to the ticket face design layout file, and when the IJPDS file is analyzed, the corresponding characters can be found according to picture information contained in the IJPDS file, so that the ticket face game data can be restored; and the automatic verification before the IJPDS file is printed is realized by comparing the file with a preset coding file.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (10)

1. An instant billing authentication method is characterized by comprising the following steps:
s1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
s2, acquiring each picture data of the instant draft one by one according to the position information, acquiring the ticket face characters corresponding to the picture data according to the ticket face design layout file, and reducing the ticket face characters into ticket face data according to preset game playing rules to obtain the ticket face data to be printed;
and S3, matching and corresponding the ticket face data to be printed of each instant invoice in the IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the verification of the IJPDS printing file is passed.
2. The method according to claim 1, wherein the generation of the IJPDS print file in S1 according to the preset nominal design layout file and the code file specifically comprises:
reading coordinates in the ticket design layout file and a picture set corresponding to the coordinates, wherein each picture in the picture set corresponds to one character;
selecting a picture from the picture set as a target picture corresponding to the coordinates according to the coding file;
generating an IJPDS file according to the coordinates and the target picture;
the step of obtaining the ticket face characters corresponding to the picture data according to the ticket face design layout file in the step S2 is specifically:
cutting the picture data into small picture data according to the coordinates, and acquiring characters corresponding to pictures corresponding to the small picture data in the picture set;
and the characters corresponding to all the small picture data form the ticket face characters.
3. The method according to claim 1, wherein the determining the location information of each instant invoice in the IJPDS printed document in S1 specifically comprises:
and reading the row information and the column information in the IJPDS printed file, and determining the position information of each invoice in the IJPDS printed file according to the row information and the column information.
4. The method according to claim 1, wherein the step of acquiring the picture data of each instant invoice one by one according to the position information in S2 specifically includes:
determining a coordinate range corresponding to each instant invoice according to the position information of each instant invoice;
and respectively acquiring the data of each instant billing picture according to the coordinate range.
5. The method of claim 4, wherein the image data comprises font attributes and font coordinates.
6. An instant ticket proof terminal comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the following steps when executing the computer program:
s1, determining the position information of each invoice in the IJPDS printed file, wherein the IJPDS printed file is generated according to a preset ticket face design layout file and a preset coding file;
s2, acquiring each picture data of the instant draft one by one according to the position information, acquiring the ticket face characters corresponding to the picture data according to the ticket face design layout file, and reducing the ticket face characters into ticket face data according to preset game playing rules to obtain the ticket face data to be printed;
and S3, matching and corresponding the ticket face data to be printed of each instant invoice in the IJPDS printing file with preset ticket face data in the coding file, and if the instant invoice is matched and consistent, the verification of the IJPDS printing file is passed.
7. The terminal of claim 6, wherein the generation of the IJPDS print file in S1 according to the preset ticket face design layout file and the code file specifically comprises:
reading coordinates in the ticket design layout file and a picture set corresponding to the coordinates, wherein each picture in the picture set corresponds to one character;
selecting a picture from the picture set as a target picture corresponding to the coordinates according to the coding file;
generating an IJPDS file according to the coordinates and the target picture;
the step of obtaining the ticket face characters corresponding to the picture data according to the ticket face design layout file in the step S2 is specifically:
cutting the picture data into small picture data according to the coordinates, and acquiring characters corresponding to pictures corresponding to the small picture data in the picture set;
and the characters corresponding to all the small picture data form the ticket face characters.
8. The terminal according to claim 6, wherein the determining the location information of each instant invoice in the IJPDS printed document in S1 is specifically:
and reading the row information and the column information in the IJPDS printed file, and determining the position information of each invoice in the IJPDS printed file according to the row information and the column information.
9. The terminal according to claim 6, wherein the step of obtaining the picture data of each instant invoice one by one according to the position information in S2 specifically includes:
determining a coordinate range corresponding to each instant invoice according to the position information of each instant invoice;
and respectively acquiring the data of each instant billing picture according to the coordinate range.
10. The terminal of claim 9, wherein the image data includes font attributes and font coordinates.
CN202011450439.6A 2020-12-09 2020-12-09 Instant billing verification method and terminal Active CN112528623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011450439.6A CN112528623B (en) 2020-12-09 2020-12-09 Instant billing verification method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011450439.6A CN112528623B (en) 2020-12-09 2020-12-09 Instant billing verification method and terminal

Publications (2)

Publication Number Publication Date
CN112528623A true CN112528623A (en) 2021-03-19
CN112528623B CN112528623B (en) 2023-02-28

Family

ID=74998697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011450439.6A Active CN112528623B (en) 2020-12-09 2020-12-09 Instant billing verification method and terminal

Country Status (1)

Country Link
CN (1) CN112528623B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475205A (en) * 1994-06-22 1995-12-12 Scientific Games Inc. Document verification system
WO2001078856A1 (en) * 2000-04-14 2001-10-25 Gtech Rhode Island Corporation Scheme for validating instant gaming tickets
JP2007053644A (en) * 2005-08-19 2007-03-01 Oki Electric Ind Co Ltd Information embedding device, information verification device, and computer program
US20180314470A1 (en) * 2017-02-10 2018-11-01 Avision Inc. Output method and output device for cloud printing
CN109417476A (en) * 2015-10-21 2019-03-01 海德拉管理有限责任公司 Secure and non-secure digital imagery is associated with using the digital imager for lottery ticket or the production of other bills

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475205A (en) * 1994-06-22 1995-12-12 Scientific Games Inc. Document verification system
WO2001078856A1 (en) * 2000-04-14 2001-10-25 Gtech Rhode Island Corporation Scheme for validating instant gaming tickets
JP2007053644A (en) * 2005-08-19 2007-03-01 Oki Electric Ind Co Ltd Information embedding device, information verification device, and computer program
CN109417476A (en) * 2015-10-21 2019-03-01 海德拉管理有限责任公司 Secure and non-secure digital imagery is associated with using the digital imager for lottery ticket or the production of other bills
US20180314470A1 (en) * 2017-02-10 2018-11-01 Avision Inc. Output method and output device for cloud printing

Also Published As

Publication number Publication date
CN112528623B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
US7926732B2 (en) OCR sheet-inputting device, OCR sheet, program for inputting an OCR sheet and program for drawing an OCR sheet form
US6208744B1 (en) Document image processor and method for setting a document format conforming to a document image
US8146815B2 (en) Bar code generator
US9135534B2 (en) Image processing device, image processing system, and printing method
JP5374932B2 (en) Printer, printer control method and operation control program
US7753283B2 (en) On-demand printing of coding patterns
JP4562740B2 (en) On-demand printing of coding patterns
JP5094869B2 (en) How to print the coding pattern
JP2003018393A (en) Image processing system
CN112528623B (en) Instant billing verification method and terminal
CN108891130B (en) Bar code printing system
KR100329844B1 (en) Character processing method and device
JP2012103776A (en) Track information processing device, track information processing system, and program
JPS6118033A (en) Print processor
CN110196697A (en) Information processing equipment, information processing method and storage medium
JP4124851B2 (en) Information processing apparatus, information processing method, and storage medium
JP3205535B2 (en) OCR system
JP5408607B2 (en) Method for verifying print data using postscript data
JPH07122787B2 (en) Continuous character generator
JP6166976B2 (en) Data structure of barcode font data, page data generation device, raster data generation device, raster data generation method and program
JP4044294B2 (en) Newspaper production system and article importance determination method
JP2525333B2 (en) Output device
JP2951809B2 (en) Handwritten font printing method
JP2014172319A (en) Print verification device and program
JP2556476B2 (en) Identifier registration method

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
GR01 Patent grant
GR01 Patent grant