1. Field of the Invention
This invention relates to a message display device and a storage medium, which control the time of display of messages to be displayed.
Priority is claimed on Japanese Patent Application No. 2004-347113, filed Nov. 30, 2004, the content of which is incorporated herein by reference.
2. Description of the Related Art
The photocopy machines, printers, multifunctional machines and similar of recent years have come to incorporate a variety of functions. A message which displayed on a screen during operation has become diverse as functions have been diversified. Such a diversification of functions has led to increasing complexity of the content of messages displayed when some operation not recognized by the equipment is performed. It is necessary to optimize the timing of display and the display time.
For example, Japanese Unexamined Patent Application, First Publication No. H05-324250, an image formation device is known in which, by computing the display time for one image and displaying the image with the number of characters of each character type in the image data sent from another device and the number of active bits of the graphic data as parameters, the display time can be made reasonable in keeping with the amount of information to be grasped.
Recent image formation devices can be used with the language of displayed messages switched for example from Japanese to English. However, in message display of the prior art, despite the fact that upon switching the language used a message with the same content may become long, the display time is fixed, so that there is the problem that the display time is short and all of the message cannot be read. On the other hand, there are cases in which, despite the fact that the displayed message is short, the display time is long, and so there is a problem in that operating performance is worsened.
The present invention has been conceived in the light of the above described these circumstances, and an object of this invention is to provide a message display device and a storage medium capable of optimizing the display time of a message for display.
A message display device of this invention includes: a display unit adapted, for displaying a message, to display a character string constituted of a predetermined number of characters; a message data storage unit storing character string data for a message to be displayed expressed in a group of languages; a language selection unit selecting a designated language from the group of languages; a readout unit reading out the character string data expressed in the designated language, which has been selected by the language selection unit, from the message data storage unit when displaying of the message is required; a character counting unit determining the number of characters included in the character string data read out by the readout unit; a calculation unit calculating a display time for the character string data by multiplying the number of characters included in the character string data by one of coefficients corresponding to the designated language, the coefficients having been assigned to the group of languages; and a display control unit displaying the character string data using the display unit, and erasing the character string data having been displayed when the display time has elapsed.
A message display device of this invention includes: a display unit adapted, for displaying a message, to display a character string constituted of a predetermined number of characters, and to scroll the character string; a message data storage unit storing character string data for a message to be displayed expressed in a group of languages; a language selection unit selecting a designated language from the group of languages; a readout unit reading out the character string data expressed in the designated language, which has been selected by the language selection unit, from the message data storage unit when displaying of the message is required; a character counting unit determining the number of characters included in the character string data read out by the readout unit; a determining unit, when displaying the character string data read out by the readout unit, comparing a number of displayable characters using the display unit with the number of characters counted by the character counting unit, and determining whether scrolling the character string data using the display unit is necessary or not; a calculation unit, when scrolling the character string data using the display unit is necessary, calculating a display time for the character string data on each display line of the display unit, by obtaining the number of characters in each display line, and by multiplying the number of characters included in the character string data on the each display line by one of coefficients corresponding to the designated language, the coefficients having been assigned to the group of languages; and a display control unit displaying the character string data on the each display line using the display unit, erasing the character string data having been displayed, and scrolling the character string data when the display time has elapsed.
A storage medium of this invention, having a display control program stored therein for operating a message display device which has a display unit adapted, for displaying a message, to display a character string constituted of a predetermined number of characters, a message data storage unit which stores character string data for a message to be displayed expressed in a group of languages, and a computer which executes the display control program, includes: a language selection step of selecting a designated language from the group of languages; a readout step of reading out the character string data expressed in the designated language, which has been selected by the language selection step, from the message data storage unit when displaying of the message is required; a character counting step of determining the number of characters included in the character string data read out by the readout step; a calculation step of calculating a display time for the character string data by multiplying the number of characters included in the character string data by one of coefficients corresponding to the designated language, the coefficients having been assigned to the group of languages; and a display control step of displaying the character string data using the display unit, and erasing the character string data having been displayed when the display time has elapsed.
A storage medium of this invention, having a display control program stored therein for operating a message display device which has a display unit adapted, for displaying a message, to display a character string constituted of a predetermined number of characters, to scroll the character string, a message data storage unit which stores character string data for a message to be displayed expressed in a group of languages, and a computer which executes the display control program, includes: a language selection step of selecting a designated language from the group of languages; a readout step of reading out the character string data expressed in the designated language, which has been selected by the language selection step, from the message data storage unit when displaying of the message is required; a character counting step of determining the number of characters included in the character string data read out by the readout step; a determining step, when displaying the character string data read out by the readout step, comparing a number of displayable characters using the display unit with the number of characters counted by the character counting step, and determining whether scrolling the character string data using the display unit is necessary or not; a calculation step, when scrolling the character string data using the display unit is necessary, calculating a display time for the character string data on each display line of the display unit, by obtaining the number of characters in each display line, and by multiplying the number of characters included in the character string data on the each display line by one of coefficients corresponding to the designated language, the coefficients having been assigned to the group of languages; and a display control step of displaying the character string data on the each display line using the display unit, and erasing the character string data having been displayed, and scrolling the character string data when the display time has elapsed.
According to this invention, the display time is changed according to the number of characters, so that the content intended for the user can be conveyed easily, and after displaying the message for a helpful length of time, the message is erased, with the advantageous result that operability can be improved without continuation of a state of unnecessary message display.
Below, the message display device of one embodiment of the invention is explained, referring to the drawings.
Reference symbol 6 is image memory which stores printing data read out by the image reading portion and printing data received in the communication portion 5. Reference symbol 7 is a printing portion which performs printing to a form, based on the data stored in the image memory 6. Reference symbol 8 is a message data storage portion which stores, in each using language, character string data of a message to be displayed on the display portion 4. The explanation assumes that message data is stored in three using languages, Japanese, English, and Korean. The message data may be stored in four or more using languages.
In the image formation device, the using language is selected by the user, and an identifying name for the selected using language is stored within the image formation device.
The table structure of the message data storage portion 8 shown in
The display time parameters are values determined and stored in advance for each of the using languages. When the same number of characters is displayed, larger value of the display time parameters cause a message to be displayed for a longer time. In the example shown in
Next, operation of the control portion 1 shown in
Next, the control portion 1 obtains from the image reading portion 4 a response to the function setting just performed, and based on this response, judges whether there is a need to display a message on the display portion 4 (step S3). If as the result of this judgment there is no need for display, processing ends. On the other hand, if in the function setting an attempt is made to set the resolution setting to the maximum value during binary reading, despite the fact that the setting is a color reading setting, or in similar cases, the image reading portion 4 returns to the control portion 1 a response indicating that the setting cannot be made. Upon receiving this, the control portion 1 judges that message display is necessary, and selects a message number for display when an attempted function resolution setting is not possible (step S4).
Next, the control portion 1 reads the identifier name of the using language stored internally (step S5). The control portion 1 then reads, from the message data storage portion 8, message character string data having the selected message number, and written in the using language of the read-out identifier name (step S6).
Next, the control portion 1 counts the number of characters in the message character string data read from the message data storage portion 8 (step S7). The control portion 1 then uses the number of characters obtained by counting and the number of line-feed codes contained in the character string, as well as the number of characters which can be displayed in the display area of the display portion 3, to judge whether scrolling display is necessary (step S8). That is, a judgment is made as to whether, when a character string containing line-feed codes is displayed in the display area of the display portion 3, the number of lines of the display area (in this example, three lines) is exceeded.
If as a result of this judgment scrolling display is not necessary, the control portion 1 calculates the display time for the message (step S9). The display time is calculated by multiplying the number of characters in the message character string to be displayed by a display time parameter, stored in the message data storage portion 8. For example, when a Japanese-language message character string contains 50 characters, multiplying 50 (the number of characters of the character string data) and 0.15 (the display time parameter of Japanese), equal 7.5 (s), so that the display time is 7.5 seconds. However, when the display time obtained by calculation is shorter than 1.5 seconds, the control portion 1 replaces the calculated display time with 1.5 seconds, which is the minimum display time.
Next, the control portion 1 displays the message on the display portion 3, based on the read-out message character string data. The control portion 1 then monitors the display time using an internal timer, and when the previously calculated display time has elapsed, erases the displayed message (step S10).
On the other hand, when scrolling display is necessary, the control portion 1 calculates the display time for each line of the display area (step S11). The display time is calculated by multiplying the number of characters in the message character string to be displayed on each line by the display time parameter stored in the message data storage portion 8. For example, if the message to be displayed has 10 characters on the first line, 15 characters on the second line, 8 characters on the third line, 13 characters on the fourth line, and 20 characters on the fifth line, then when the using language is Japanese, upon multiplying the number of characters on each line by the display time parameter, the display times are found to be 1.5 seconds for the first line, 2.25 seconds for the second line, 1.2 seconds for the third line, 1.95 seconds for the fourth line, and 3 seconds for the fifth line. the display times for each line, the control portion substitutes 1.5 seconds for the display time of the line with display time shorter than 1.5 seconds. In this example, the times are then 1.5 seconds for the first line, 2.25 seconds for the second line, 1.5 seconds for the third line, 1.95 seconds for the fourth line, and 3 seconds for the fifth line.
Next, the control portion 1 performs scrolling display on the display portion 3 of the message, based on the read-out message character string data (step S10). Scrolling display operation is explained referring to
Thus, the display time is changed according to the number of characters, so that the intended content can be easily conveyed to the user, and moreover data is erased after being displayed for an appropriate time, so that operability can be improved without continuation of a state of unnecessary message display.
The control portion 1 stores the message number of the message displayed immediately before, and when the message number of a message to be newly displayed is the same as the number of that displayed immediately before, the display time parameter may be made a value smaller than the value stored in the message data storage portion 8 (for example, in the case of Japanese, 0.1) to calculate the display time. By this means, the message display time when continuously displaying a message which the user has already seen can be shortened, so that operability can be improved. However, in this case also, when the display time is shorter than 1.5 seconds, the display time is replaced with the minimum display time of 1.5 seconds.
Moreover, a configuration may be adopted in which the user can freely set the value of the display time parameter and the minimum display time (1.5 seconds).
Further, a program to realize the functions of the processing portion in
Further, the above program may be transmitted from a computer system which stores the program in a storage device or similar to another computer system, either via transmission media, or by means of transmission waves in transmission media. Here, “transmission media” to transmit the program is media having a function for transmission of information, such as the Internet or another network (communication network), or telephone circuits or other communication circuits (communication lines). Further, the above program may be intended to realize only a portion of the above-described functions. Also, the program of the above-described embodiment may be a so-called differential file (differential program) to realize the above-described functions through combination with a program already recorded in the computer system.
Number | Date | Country | Kind |
---|---|---|---|
2004-347113 | Nov 2004 | JP | national |