CN103744629B - A kind of stamp printing print system of numeral franking machine - Google Patents

A kind of stamp printing print system of numeral franking machine Download PDF

Info

Publication number
CN103744629B
CN103744629B CN201310724861.XA CN201310724861A CN103744629B CN 103744629 B CN103744629 B CN 103744629B CN 201310724861 A CN201310724861 A CN 201310724861A CN 103744629 B CN103744629 B CN 103744629B
Authority
CN
China
Prior art keywords
module
data
remainder
print
machine
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.)
Expired - Fee Related
Application number
CN201310724861.XA
Other languages
Chinese (zh)
Other versions
CN103744629A (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.)
Zhejiang Gongdapost Technology Co ltd Hnagzhou
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang Gongdapost Technology Co ltd Hnagzhou
Zhejiang University of Technology ZJUT
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 Zhejiang Gongdapost Technology Co ltd Hnagzhou, Zhejiang University of Technology ZJUT filed Critical Zhejiang Gongdapost Technology Co ltd Hnagzhou
Priority to CN201310724861.XA priority Critical patent/CN103744629B/en
Publication of CN103744629A publication Critical patent/CN103744629A/en
Application granted granted Critical
Publication of CN103744629B publication Critical patent/CN103744629B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

A kind of stamp printing print system of numeral franking machine, including data acquisition module, data processing module, print module, data acquisition module obtains machine code, accumulative number of copies and the lot data of franking machine;Data processing module includes packet module data encrypting module, and the data of acquisition is divided into two arrays and a batch identification by wherein packet module, and data encryption module is encrypted calculating according to array and batch identification and generates verification array;The array output that data that print module is used for obtaining data module, data processing module draw after processing prints.Print system checking is simple and reliable, do not need special equipment, effectively reduction anti-counterfeiting cost.

Description

一种数字邮资机的戳印打印系统Stamp printing system of a digital postage machine

技术领域technical field

本发明涉及一种数字邮资机的打印系统,特别是数字邮资机的戳印打印系统。The invention relates to a printing system of a digital postage machine, in particular to a stamp printing system of a digital postage machine.

背景技术Background technique

随着高新技术的发展,近几年来使用数字式邮资机打印邮资戳印在许多国家的邮政部门得到很大发展和应用。相比防伪技术和印刷技术要求很高的邮票而言,数字邮资机由于采用的是普通的打印设备,打印出来的戳印图案、色彩要简单许多,防伪技术容易被掌握,因此市场上假冒的数字邮资印戳时有出现,给邮政经营者和消费者造成了较大的损失。With the development of high technology, the use of digital postage machines to print postage stamps has been greatly developed and applied in the postal departments of many countries in recent years. Compared with stamps that require high anti-counterfeiting technology and printing technology, digital postage machines use ordinary printing equipment, and the stamping patterns and colors printed out are much simpler, and anti-counterfeiting technology is easy to master. Therefore, counterfeit stamps on the market Digital postage stamps appear from time to time, causing great losses to postal operators and consumers.

目前有使用的二维条码邮戳来为邮资戳印进行防伪,但是二维条码的验证比较复杂,必须借助专用的仪器设备,无法用肉眼识别其真仿,这就提高了一线的防伪清查工作的成本。At present, there are two-dimensional barcode postmarks used for anti-counterfeiting of postage stamps, but the verification of two-dimensional barcodes is more complicated, and special equipment must be used, and the imitation cannot be identified with the naked eye, which improves the front-line anti-counterfeiting inspection. cost.

发明内容Contents of the invention

为解决已有技术中的验证手续复杂、防伪成本高的问题,为此提供一种数字邮资机的戳印打印系统,这种打印系统验证简单可靠、不需要专用设备、有效降低防伪成本。In order to solve the problems of complicated verification procedures and high anti-counterfeiting costs in the prior art, a stamp printing system for digital postage machines is provided. This printing system is simple and reliable in verification, does not require special equipment, and effectively reduces anti-counterfeiting costs.

为解决上述问题,本发明采用的技术方案包括In order to solve the above problems, the technical scheme adopted in the present invention includes

一种数字邮资机的戳印打印系统,包括数据获取模块,数据处理模块,打印模块,数据获取模块获取邮资机的机器码、累计打印数量和批次数据;数据处理模块包括数据分组模块和数据加密模块,其中数据分组模块将获取的数据分成两个数组和一个批次标识,机器码为第一数组,累计打印数量为第二数组,批次打印数据为批次标识,数据加密模块根据第一数组、第二数组及批次标识进行加密计算生成校验数组;打印模块用于将数据模块获取的数据、数据处理模块处理后得出的数组输出打印。A stamp printing system for a digital postage machine, including a data acquisition module, a data processing module, and a printing module. The data acquisition module acquires the machine code, cumulative printing quantity, and batch data of the postage machine; the data processing module includes a data grouping module and a data processing module. Encryption module, wherein the data grouping module divides the obtained data into two arrays and a batch identifier, the machine code is the first array, the accumulated printing quantity is the second array, the batch printing data is the batch identifier, and the data encryption module according to the first array The first array, the second array and the batch identification are encrypted and calculated to generate a verification array; the printing module is used to output and print the data acquired by the data module and the array obtained after processing by the data processing module.

所述机器码为六位,前3位为英文字母,后3位为数字。The machine code is six digits, the first three digits are English letters, and the last three digits are numbers.

所述累计打印数量为8位数字。The cumulative print quantity is 8 digits.

所述的校验数组为四位字符。The check array is four characters.

所述的加密计算模块按以下步骤进行处理:Described encryption calculation module is processed according to the following steps:

第一步:根据批次标识,打印该批次戳印时的第一个邮资机的累计打印数量除以常数62得到第一余数,第一余数对应第一编码表的字符为第一位校验码;Step 1: According to the batch identification, divide the accumulative printing quantity of the first postage machine when printing the stamp of the batch by a constant 62 to obtain the first remainder, and the first remainder corresponds to the character of the first coding table as the first bit check code;

第二步:累计打印数量的前四位和机器码的后三位之和,该和值对应第一编码表的字符为第二位校验码;The second step: the sum of the first four digits of the accumulated print quantity and the last three digits of the machine code, the sum value corresponds to the character of the first code list as the second check code;

第三步:累计打印数量的后四位和机器码的后三位之和,该和值对应第一编码表的字符为第三位校验码;The third step: the sum of the last four digits of the accumulated print quantity and the last three digits of the machine code, the sum value corresponds to the character of the first code list as the third check code;

第四步:打印该批次戳印时的累计打印数量除以常数62所得一个余数,将累计打印数量减去这个余数利到第二余数,将第二余数除以常数62得到第三余数,该第三余数对应第二编码表得到一个区别字符,第二余数和机器码后三位数字之和的乘积作为步进值,将第二编码表以区别字符为起始点进行循环,从区别字符开始向后推进步进值所得的字符为第四位校验码。Step 4: When printing the batch of stamps, divide the cumulative print quantity by a constant 62 to obtain a remainder, subtract the remainder from the cumulative print quantity to obtain the second remainder, divide the second remainder by the constant 62 to obtain the third Remainder, the third remainder corresponds to the second coding table to obtain a distinguishing character, the product of the second remainder and the sum of the last three digits of the machine code is used as a step value, and the second coding table is carried out with the distinguishing character as the starting point Loop, the character obtained by advancing the step value backwards from the distinguishing character is the fourth check code.

所述的第一步至第三步使用的编码表为The coding table used in the first step to the third step is

所述的第四步使用的编码表为The coding table used in the fourth step is

打印模块将数据获取模块获取的邮资机的机器码、累计打印数量、数据处理模块计算得出的校验码输出打印。The printing module outputs and prints the machine code of the postage machine acquired by the data acquisition module, the accumulated printing quantity, and the check code calculated by the data processing module.

使用数字与英文字符显示防伪编码,结合编码表,结合每台邮资机的机器码、记录每一批次打印的批次信息、以及打印的累计数据,使得每一组防伪编码都是唯一可查的,而且能够肉眼分辨,降低了校验真伪的成本。在实际使用中甚至不需要专门设备,一线的防伪检查人员可以在日常携带的手机上在安装可以进入验证计算的软件,在手机上即可进行验证戳印的真伪。采用手机安装软件的方式,验证设备无须额外投资,极大地降低了防伪成本,并且手机具有非常好的便携性。Use numbers and English characters to display the anti-counterfeiting code, combine the code table, combine the machine code of each postage machine, record the batch information printed in each batch, and the accumulated data of printing, so that each group of anti-counterfeiting codes is unique and can be checked , and can be distinguished by naked eyes, reducing the cost of authenticity verification. In actual use, no special equipment is even required. The front-line anti-counterfeiting inspectors can install the software that can enter the verification calculation on the mobile phone they carry every day, and can verify the authenticity of the stamp on the mobile phone. Using the method of installing software on the mobile phone, no additional investment is required for the verification equipment, which greatly reduces the cost of anti-counterfeiting, and the mobile phone has very good portability.

附图说明Description of drawings

图1为本发明戳印示意图。Fig. 1 is a schematic diagram of stamping according to the present invention.

图中标记为:1防伪编码字符。It is marked in the figure as: 1 anti-counterfeiting coding character.

具体实施方式detailed description

实施例一Embodiment one

当前批次打印时,第一封打印时机器总累计件数为八位数字96506506,机器码为CPU123,四位校验码按下面步骤生成:When the current batch is printed, the total cumulative number of pieces when the first letter is printed is eight digits 96506506, the machine code is CPU123, and the four-digit check code is generated according to the following steps:

将机器总累计件数除以62所得的余数为r:r=MOD(96506506,62)=34。The remainder obtained by dividing the total accumulated pieces of the machine by 62 is r: r=MOD(96506506, 62)=34.

机器码后三位数数字相加得参数w:w =(1+2+3) = 6。The parameter w is obtained by adding the last three digits of the machine code: w = (1+2+3) = 6.

将机器总累计件数的前四位数字相加得参数u:u=20=(9+6+5+0)。Add up the first four digits of the total accumulated pieces of the machine to get the parameter u: u=20=(9+6+5+0).

将w和u相加得参数x:x=u+w=20+6=26。The parameter x is obtained by adding w and u: x=u+w=20+6=26.

将机器总累计件数的后四位数字相加得参数v:v =17=(6+5+0+6)。Add up the last four digits of the total accumulated pieces of the machine to get the parameter v: v =17=(6+5+0+6).

将v和u相加得参数y:y=v+w=17+6=23。Add v and u to get the parameter y: y=v+w=17+6=23.

将r、x、y分别与第一编码表中的数值进行对应,可以得到三个校验字符,r值34对应I,x值26对应A,y值23对应x。第一编码表如下:Corresponding r, x, y with the numerical values in the first encoding table respectively, can obtain three check characters, r value 34 corresponds to I, x value 26 corresponds to A, y value 23 corresponds to x. The first coding table is as follows:

校验码第4位:The 4th digit of the check code:

机器总累计件数 96506506减去r值得到一个差96506472,将该差值96506472除以常数62所得的余数i为 0,再将该余数0除以常数26得到余数0,将该余数0与第二编码表中的数据进行对应,查到对应的字符为A,以A为0起点将第二编码表进行头尾循环,向前步进i和w的乘积0,最后得到第四位校验字符为A。The total cumulative number of machines is 96506506 minus the r value to get a difference 96506472, the remainder i obtained by dividing the difference 96506472 by the constant 62 is 0, and then dividing the remainder 0 by the constant 26 to obtain the remainder 0, the remainder 0 and the second Correspond with the data in the coding table, find the corresponding character is A, start from A as 0, loop the second coding table from head to tail, step forward the product of i and w to 0, and finally get the fourth check character for A.

第二编码表如下:The second coding table is as follows:

最终,四位校验码为:I A x A。Finally, the four-digit check code is: I A x A.

打印输出时,把邮资机的机器码、每个信封或者签条的当次累计打印数量和四位校验码打印输出为防伪编码1。When printing out, print out the machine code of the postage machine, the cumulative printing quantity of each envelope or label and the four-digit check code as the anti-counterfeiting code 1.

本例中防伪编码排列方式:左侧首列为邮资机的机器码,右上侧八位数字为打印该签条时的机器累计打印件数,右下四位是校验码。In this example, the anti-counterfeiting codes are arranged: the first column on the left is the machine code of the postage machine, the eight digits on the upper right are the cumulative number of printed pieces of the machine when printing the label, and the four digits on the lower right are the check code.

本实施例中给出的是该批次第一封打印的签条的防伪编码的过程,该批次中之后的打印输出的防伪编码中,邮资机的机器码不变,累计打印次数依次增加变化,相应的校验码也相应变化。What is given in this embodiment is the anti-counterfeiting coding process of the first printed label of this batch. In the anti-counterfeiting coding of subsequent printouts in this batch, the machine code of the postage meter remains unchanged, and the cumulative printing times increase in turn. Change, the corresponding check code also changes accordingly.

Claims (4)

1. a kind of stamp printing print system of numeral franking machine, including data acquisition module, data processing module, print module, its It is characterised by that data acquisition module obtains machine code, accumulative number of copies and the lot data of franking machine;Data processing module bag Include packet module data encrypting module, the data of acquisition is divided into two arrays and one batch by wherein packet module Secondary mark, machine code is the first array, and accumulative number of copies is the second array, and batch print data is batch identification, and data adds Close module is encrypted calculating according to the first array, the second array and batch identification and generates verification array;Print module is used for will The array output that the data of data module acquisition, data processing module draw after processing prints;
Described data encryption module is processed according to the following steps:
The first step:According to batch identification, the accumulative number of copies printing first franking machine during this batch stamp printing is divided by constant 62 obtain the first remainder, and the character of corresponding first coding schedule of the first remainder is the first bit check code;
Second step:First four of accumulative number of copies and rear three sums of machine code, the word of corresponding first coding schedule of this value preset Accord with as second check code;
3rd step:Latter four of accumulative number of copies and rear three sums of machine code, the word of corresponding first coding schedule of this value preset Accord with as the 3rd bit check code;
4th step:Print accumulative number of copies during this batch stamp printing divided by constant one remainder of 62 gained, by accumulative printing number Amount deducts this remainder profit to the second remainder, and the second remainder is obtained the 3rd remainder divided by constant 62, the 3rd remainder corresponding the Two coding schedules obtain a difference character, after the second remainder and machine code the product of three bit digital sums as step value, by the Two coding schedules are circulated with distinguishing character for starting point, and the character starting to advance backward step value gained from difference character is the Four bit check codes;
Wherein:The first coding schedule that the first step uses to the 3rd step is
4th step use the second coding schedule be
.
2. as claimed in claim 1 a kind of numeral franking machine stamp printing print system it is characterised in that described machine code be six Position, first 3 is English alphabet, and latter 3 is numeral.
3. as claimed in claim 1 a kind of stamp printing print system of numeral franking machine it is characterised in that described accumulative printing number Measure as 8 bit digital.
4. as claimed in claim 1 a kind of stamp printing print system of numeral franking machine it is characterised in that print module is by data The check code output that the machine code of franking machine of acquisition module acquisition, accumulative number of copies, data processing module calculate is beaten Print.
CN201310724861.XA 2013-12-25 2013-12-25 A kind of stamp printing print system of numeral franking machine Expired - Fee Related CN103744629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310724861.XA CN103744629B (en) 2013-12-25 2013-12-25 A kind of stamp printing print system of numeral franking machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310724861.XA CN103744629B (en) 2013-12-25 2013-12-25 A kind of stamp printing print system of numeral franking machine

Publications (2)

Publication Number Publication Date
CN103744629A CN103744629A (en) 2014-04-23
CN103744629B true CN103744629B (en) 2017-03-01

Family

ID=50501650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310724861.XA Expired - Fee Related CN103744629B (en) 2013-12-25 2013-12-25 A kind of stamp printing print system of numeral franking machine

Country Status (1)

Country Link
CN (1) CN103744629B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5970151A (en) * 1993-12-21 1999-10-19 Francotyp-Postalia Ag & Co. Method and arrangement for generating and checking a security impression
CN1290914A (en) * 1999-07-05 2001-04-11 上海邮政通用技术设备公司 Method for producing anti-fake encrpted bar code of postage label
CN1290604A (en) * 1999-07-05 2001-04-11 弗朗科泰普-波斯特利亚两合公司 Stamp and device for producing such stamp and storage medium
CN1588399A (en) * 2004-09-29 2005-03-02 薛宝河 Combined anti-fake code and its using method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1293961B1 (en) * 1997-08-08 1999-03-15 Ems Elettronica Meccanica Sist APPARATUS AND METHOD FOR PRINTING MARKINGS.

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5970151A (en) * 1993-12-21 1999-10-19 Francotyp-Postalia Ag & Co. Method and arrangement for generating and checking a security impression
CN1290914A (en) * 1999-07-05 2001-04-11 上海邮政通用技术设备公司 Method for producing anti-fake encrpted bar code of postage label
CN1290604A (en) * 1999-07-05 2001-04-11 弗朗科泰普-波斯特利亚两合公司 Stamp and device for producing such stamp and storage medium
CN1588399A (en) * 2004-09-29 2005-03-02 薛宝河 Combined anti-fake code and its using method

Also Published As

Publication number Publication date
CN103744629A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CA1273107A (en) Postage meter with coded graphic information in the indicia
CN102930317B (en) Books Quick Response Code identification generation apparatus, Quick Response Code identification recognition device and system
CN104081413B (en) Gradual bar code
CN113434674A (en) Data analysis method and device, electronic equipment and readable storage medium
US9563830B2 (en) Incremental information object with an embedded information region
US9613327B2 (en) Adapting an incremental information object
US11030282B2 (en) Method and device for securing a document, method and device for control corresponding thereto and secure document
JP7619964B2 (en) Method for protecting graphic data from counterfeiting and alteration
CN104995623A (en) Method and system for marking an item, an item so marked and a method and system for authenticating a marked item
CN102968725A (en) Method for tracing anti-fake markings for agricultural product
CN103646331A (en) A liquor false proof traceablility method based on encrypted bar code identifiers
CN108734048A (en) Various dimensions Quick Response Code based on proprietary code generates and interpretation method
CN106204058A (en) A kind of colorful digital matrix two-dimensional code and method for anti-counterfeit thereof
CN103744629B (en) A kind of stamp printing print system of numeral franking machine
CN105205676A (en) Label composed of two-dimension code and variable information, source tracing method and source tracing system
CN108891130B (en) Bar code printing system
US20140337984A1 (en) Verification of serialization codes
US20140027515A1 (en) Grayscale Incremental Information Object
CN106626845A (en) Grayscale dimensional barcode printing method
US8915450B2 (en) Dual deterent incremental information object
CN111452528A (en) Printing method and device of anti-counterfeiting two-dimensional code with printing height
JP6127899B2 (en) Image processing apparatus and image processing program
CN202916856U (en) Two-dimension code generating device
US20150136845A1 (en) Process and system for the identification and tracking of products in a production line
TWI518598B (en) A barcode tamper-proofing system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170301

Termination date: 20191225