Patent ID: 8885203
Filing Date: 2014-11-11
Classification: H04N

Abstract:
1. An optical reading device comprising: an optical reading unit having optical elements disposed in a line that reads a medium; a storage unit having a ring buffer formed in the storage space; and a control unit that writes scanned data read by the optical reading unit to the ring buffer, reads the scanned data written to the ring buffer, transfers the scanned data that was read, and a configuration unit that defines a specific area on the medium; wherein the control unit reads scanned data in a defined area defined by the configuration unit, and when the scanned data between the position of the read pointer and the position of the write pointer in the ring buffer writing direction is not the scanned data from the defined area, executes a dummy reading process that advances the position of the read pointer without reading the scanned data; the control unit uses a destructive pointer denoting the position in the ring buffer of scanned data that can be deleted or overwritten and, so that the destructive pointer does not surpass the position of the write pointer, controls the write pointer and controls the destructive pointer so that the destructive pointer does not surpass the position of scanned data that has not been completely read regardless of the position of the read pointer.