Patent ID: 8239214

Claim:
An apparatus for backing up prescription data in an automatic medicine packing machine before a power failure in order to prevent the erroneous packing of medicine after a power failure, wherein the medicine packing machine comprises a plurality of tablet cassettes that contain medicine, a printing unit that prints data on packing envelopes that contain medicine and a sealing unit that seals the packing envelopes, the apparatus comprising: a) a controller for the automatic medicine packing machine, which controls the tablet cassettes, the printing unit and the sealing unit of the automatic medicine packing machine according to prescription data that are input from a server computer; b) a storage unit that is connected to the controller and stores backup files that are input into the controller; and c) a power recovery detecting unit that detects power recovery after power failure in the automatic medicine packing machine; wherein the controller creates backup files with the prescription data that are input from the server computer, stores them in the storage unit, and loads the backup files and performs packing operation according to the backup files stored in the storage unit when power recovery is reported from the power recovery detecting unit; and wherein the controller comprises a backup file creation module that arranges the prescription data input from the server computer in preparation order, classifies the prescription data for each packing machine, creates a backup file for each classified packing machine, and stores the created backup files in the storage unit, and a backup file deletion module that deletes the backup file, for which corresponding medicine has already been packed, for each packing machine; wherein the controller further comprises a backup file search module that searches whether a backup file exists in the storage unit after power recovery is reported from the power recovery detecting unit; wherein if a backup file is not found, a new prescription data is requested to the server computer, wherein if one or more backup files are found, the searched backup files are loaded promptly to the controller; wherein the controller further includes a continued packing display module that displays continued packing status on the server computer when a backup file is found by searching with the backup file search module.