Patent ID: 7646714

Claim:
A computer-readable storage medium which stores a program for outputting a form by apparatus having a high-speed small-capacity queue disposed in a high-speed small-capacity medium inputting and outputting form messages at high speed and a low-speed large-capacity queue disposed in a low-speed large-capacity medium inputting and outputting form messages at a speed slower than the high-speed small-capacity medium, the form output apparatus configured to output form messages with different priorities to a predetermined device after queuing of the form messages, wherein said program allows a computer to execute: a rate detection step of detecting a residence rate of form messages in the high-speed small-capacity queue; a storage control step of, when a form message is received, storing the message into the high-speed small-capacity queue or the low-speed large-capacity queue that is determined based on the priority, the availability of the high-speed small-capacity medium and the residence rate; a dynamic location change step of transferring the form messages between the high-speed small-capacity queue and the low-speed large-capacity queue based on the availability of the high-speed small-capacity medium and the residence rate; and an output control step of outputting the form message to the predetermined device from the high-speed small-capacity queue and/or the low-speed large-capacity queue depending on the priority, wherein the rate detection step includes detecting and recording the residence number of the form messages stored in the high-speed small-capacity queue at predetermined time intervals to detect the residence rate from a difference between the residence numbers at a start time and an end time of a certain recording period, wherein the rate detection step includes, if the maximum value and the minimum value exist outside of the range between the residence numbers at the start time and the end time within the certain recording period, adding an absolute value of the difference between the maximum value and the minimum value to the residence rate.