This application is a divisional of application Ser. No. 10/413,978, filed Apr. 15, 2003, now U.S. Pat. No., which is hereby incorporated by reference.[0001]
BACKGROUND OF THE INVENTIONThe subject invention relates to secure printing of images such as postal indicia. More particularly it relates to printing images in such a manner that printer control signal cannot easily be replicated and used to print images without accounting for them.[0002]
Recently a new way of franking mailpieces to evidence payment has been developed and introduced by the assignee of the subject invention in accordance with the Information Based Indicia Program (IBIP) of the U.S. Postal Service. Unlike previous forms of proof of payment such as stamps and postage meter indicia, IBIP indicia do not rely on details of the printing process to provide security but instead incorporate encrypted information unique to each indicium which cannot be produced without knowledge of secret cryptographic keys. IBIP indicia have many advantages. For example, the information incorporated into the indicia not only provides security against counterfeit indicia, but allows the Postal Service to more closely track its operations and the needs of its customers. A particular advantage of IBIP and similar indicia is that, because they do not rely upon particular details of the printing process for security, mailers can print indicia themselves with a conventional digital printer.[0003]
However in the case of closed system postage meters, or franking machines, this advantage is not fully realized since the IBIP, as well as other International Postal Standards, require that the printer of a closed system meter be dedicated to printing postal indicia or other meter related information so that the printer cannot be used by a system attacker to print postal indicia that are not accounted for by the meter. Typically this is done by the attacker recording, or otherwise recreating, printer control data communicated to the printer, then using the data to drive the system printer after it is disconnected from the system, or to drive a similar printer.[0004]
In the past protection from such attacks has been accomplished by either physically or cryptographically securing the link between the printer and the meter accounting unit (hereinafter sometimes the Postal Security Device or PSD). Physical protection of the link is difficult to achieve, particularly for mutipass printers in which the printhead moves. Cryptographic protection requires encryption of the data; using techniques such as encrypting the printer control data, digitally signing the data, or using message authentication codes. (Note that cryptographic protection of the printer control data is distinct from and in addition to any encryption of postal data which is printed as part of the indicia.)[0005]
Thus cryptographic protection requires provision of expensive cryptographic hardware, or time consuming cryptographic software, or some combination thereof at both ends of the PSD/printer link; while physical protection is, as noted, both difficult and expensive. As a result standard off-the-shelf components cannot be used without significant modification.[0006]
Thus it is an object of the subject invention to provide a method and system for printing images such as postal indicia where printer control signals used to drive a printhead cannot be easily copied or recreated and which can be implemented using standard printer components without significant modification.[0007]
BRIEF SUMMARY OF THE INVENTIONThe above object is achieved and the disadvantages of the prior art are overcome in accordance with the subject invention by a method and system for forming a sequence of graphic data blocks, the sequence forming a bitmap representative of the image; then randomly reordering the blocks to form a new sequence; and sequentially positioning a printhead and printing the blocks in the new sequence, the printhead being positioned and the blocks being printed so as to print the image without substantial distortion.[0008]
In accordance with one aspect of the subject invention the blocks are printed in varying directions.[0009]
In accordance with another aspect of the subject invention the printhead moves are at varying rates of travel and prints at inversely proportional rates as the blocks are printed so as to print the image without substantial distortion.[0010]
In accordance with another aspect of the subject invention the printhead returns to a home position after printing the image.[0011]
In accordance with still another aspect of the present invention the system includes a motor responsive to a programmable controller and mechanically coupled to the printhead for positioning the printhead and the programmable controller and the motor are enclosed in a secure housing so that no signals for controlling the motor are available outside of the housing.[0012]
Other objects and advantages of the subject invention will be apparent to those skilled in the art from consideration of the detailed description set forth below and the attached drawings.[0013]
BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1 shows a schematic block diagram of a closed system postage meter in accordance with the present invention.[0014]
FIG. 2 shows a schematic representation of a postal indicium printed in accordance with the prior art.[0015]
FIG. 3 shows a schematic representation of a postal indicium printed in accordance with the present invention.[0016]
FIG. 4 shows a table illustrating successive printing sequences for the indicium of FIG. 3.[0017]
FIG. 5 shows a flow diagram of the operation of the meter of FIG. 1 in printing the indicium of FIG. 3 in accordance with the present invention.[0018]
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS OF THE INVENTIONIn FIG. 1 closed[0019]system postage meter10 includesaccounting unit12 andprinter14.Accounting unit12 includesPSD16,external interfaces20,machine control22,motors24, andsensors28.PSD16,interfaces20, andmachine control22 compriseprogrammable controller30 which controlsmeter10.PSD16 tracks available funds, generates digital representations of indicia in accordance with IBIP or other postal standards, accounts for postage expended, and outputs printer control data throughcable32 toprinter driver34 inprinter12 for printing the indicia.External interfaces20 provide signals representative of postage amounts as well as other information which can be incorporated in indicia such as dates, sequence numbers, advertising slogans, etc. Motors24 are responsive toPSD16 andsensors28 to driveprinthead36 inprinter12 through conventionalmechanical linkage38.Sensors28 monitor the motion ofprinthead36 in a conventional manner throughconnections40 to provide feedback tomachine control22. Except as modified in accordance with the present invention, as will be described further below, the above functions are well understood in the postage metering art and need not be described further for an understanding of the present invention.
While PSD[0020]16 andmotor controller22 have been shown as separate elements for ease of description, those skilled in the art will recognize that they can be implemented as software functions on a singleprogrammable controller30. More generally, the functions ofprogrammable controller30 can be apportioned among one or more processors using any convenient architecture and such choice of architecture forms no part of the present invention in its broadest conception.
Typically[0021]printer14 is an inkjet printer or the like whereprinthead36 is driven byprint drivers34 to print rows of print elements (i.e. dots) transverse to thedirection printhead16 travels as it is driven bymotors24 to print the indicia generated byPSD16. As noted above it is a particular advantage of the present invention thatprinter14 operates in a conventional manner and thatdrivers34 andprinthead36 can be standard off-the-shelf components.
FIG. 2 shows a schematic representation of a manner in which indicium[0022]50 (here represented by “INDICIUM”) can be printed in accordance with the prior art. The digital representation, or bitmap, ofindicium50 is output toprinter14 as two sections. Upper section U is printed asprinthead36 moves to the left, and, after the substrate (i.e. the envelope or label to be franked) is advanced, lower section L is printed asprinthead36 returns to the right. This sequence is the same for every indicium. This fact greatly simplifies the task of an attacker who wishes to record the printer control data and replay it at a later time. For example, in the absence of some cryptographic or physical mechanism for protecting the data, an attacker could record data representative of a high value indicium, set the meter for a low value indicium,disconnect cable32, and driveprinter14 directly with the recorded data.
FIG. 3 shows a schematic representation of a manner in which[0023]indicium50 is printed in accordance with the present invention. Here the bitmap is output toprinter14 as print blocks A through H, which when printed as shown produceindicium50 without substantial distortion. In accordance with the present invention In accordance with the present invention blocks A through H are printed in varying sequences and in varying directions, as will be described further below.
FIG. 4 shows a table giving the position, direction of travel, and state, printing or not printing) of[0024]printhead36 as blocks A through H are printed in each of the sequences: BAHGFEDC, HFEDCGBA, BDCHGFEA, ABCDFHGE. The position ofprinthead36 relative to the printed indicium is shown by the letter of the zone it is over. Upper case letters indicate that theprinter14 is printing; lower case indicates it is not printing. Arrows “←” “→” indicate thedirection printhead36 is traveling, and arrows “↑” “↓” indicate transverse movement ofprinthead36 between blocks A through D and E through H.
For[0025]sequence1, at time 0printhead36 is at a home position assumed to be the right hand edge of block A. Duringtime period 1printhead36 moves to the left without printing to block B. Duringtime period 2printhead36 moves to the left and prints block B. Duringtime period 3printhead36 moves to the right through block B. Duringtime period 4printhead36 moves to the right and prints block A. At the beginning oftime period 5printhead36 moves downwards to the right edge of block H and then duringtime periods 5 through 8 moves to the left and prints blocks H through E. At the beginning oftime period 9printhead36 moves upwards to the left edge of block D and then duringtime periods 9 and 10 moves to the right and prints blocks D and C. Then duringtime periods 11 and 12printhead36 moves to the right through blocks B and A without printing to return to its home position. Printing of the other sequences is substantially the same in principle; though very different in detail.
From FIG. 4 it can be seen that there is very little commonality between the various sequences. The sequences vary in length and for any particular time period, for different[0026]sequences print head36 will generally be at different locations, moving in different directions and in different print states. As described above, this significantly increases the difficulty of conducting several common attacks on closed system postage meters since the attacker must also determine the sequence of printhead movements and control a printhead appropriately to produce an indicium without substantial distortion.
In a preferred embodiment as shown in FIG. 4[0027]printhead36 returns to its home position after printing each indium. It is believed that this will simplify control of cumulative error in the position ofprinthead36. In other embodiments PSD16 can calculate a path for printing an indicium starting from whateverposition printhead36 finishes printing of the previous indicium.
Though time periods in FIG. 4 have been shown as constant for simplicity they can vary. For example additional time can be provided if[0028]printhead36 moves transversely during a time period, orprinthead36 can move faster when not printing. In other embodiments the rate of printhead travel can vary from block to block in a manner which varies from indicium to indicium. In oneembodiment printhead36 can travel the same path for each indicium, e.g. ABCDHGFE, while the rate of travel varies randomly from block to block. The print rate is varied proportionately so that the indicium resolution remains constant. (Print rate in dots per second divided by travel rate in inches per second equals resolution in dots per inch.) In other embodiments both the sequence and travel rate forprinthead36 are varied.
Returning to FIG. 1, accounting[0029]unit12 is typically enclosed insecure housing42 to protect against attacks based on tampering withPSD16. In the preferred embodiment shown in FIG. 1motors24 also are physically located withinsecure housing42 so that no signals for drivingmotors24 are available outside ofhousing42 for recording. Inother embodiments motors24 can be located inprinter14 and in these embodiments signals for drivingmotors24 must be present outside ofhousing42. These embodiments are believed to still provide a substantial degree of security since an attacker still would face substantial difficulty in synchronously recording motor control signals, which are typically analog, together with the corresponding printer control signals.
FIG. 5 shows a flow diagram of the operation of[0030]controller30 in carrying out the present invention. Conventional functions carried out bymeter10 which form no part of the present invention per se are not shown to simplify the disclosure. Atstep60controller30 inputs postal data including the postage amount and any other data necessary to define a postal indicium. Atstep62controller30 generates a bitmap representation of a postal indicium in accordance with the IBIP, or other applicable postal regulations, and partitions the bitmap into blocks A through H as shown in FIG. 3. Generation of postal indicium is well known in the postage meter art and need not be discussed further here for an understanding of the present invention.
Returning to FIG. 1, in accordance with the[0031]present invention PSD16 incorporatesrandom number generator46. Atstep64 in FIG. 5controller30 accessesrandom number generator46 to obtain a random number, and atstep66 reorders blocks A through H to form a new sequence in accordance with the random number.
At[0032]step70controller30 determines ifprinthead30 is ready to print the next block in the new sequence. If so it goes to step74. Otherwise atstep72 it computes a path and movesprinthead36 to the next block position and goes to step74.
At[0033]step74controller30 determines the printhead travel rate and proportional print rate in accordance with the random number. Preferably in such a manner that the same sequence of blocks generally will be printed using different sequences of travel rates for different indicium. In other embodiments of the present invention travel rates can be constant or can vary cyclically.
At step[0034]76controller30 determines if it is positioned at the left or right edge of the next block position and then goes to step80 or step82 to print the next block accordingly. Then atstep86controller30 determines if there is another block to be printed and if so returns to step70. Otherwise atstep90controller30 computes a path and movesprinthead36 to its home position and exits.
The embodiments described above and illustrated in the attached drawings have been given by way of example and illustration only. From the teachings of the present application those skilled in the art will readily recognize numerous other embodiments in accordance with the subject invention. Particularly though the present invention has been described with respect to a preferred embodiment relating to printing of postal indicium it is applicable to any application where it is desired to control and account for the printing of images. Accordingly, limitations on the subject invention are to be found only in the claims set forth below.[0035]