This invention relates to a portable control device and to a method for controlling the operation of this device.
There is a device in which, when a document is displayed on a display screen, user-designated text is enlarged so as to facilitate reading of the document (Japanese Patent Application Laid-Open No. 2008-250948). Further, there is a device in which scrolling is performed automatically in accordance with the reading speed of the user (Japanese Patent Application Laid-Open No. 2001-282414). However, in a case where an imaged document is displayed on a small-size display screen as on a display screen provided on a mobile telephone, there are instances where one cannot discern which portion of the document is being read.
An object of the present invention is to arrange it so that when an imaged document is displayed on a display screen, one can discern which portion of the document is being read.
A portable display device according to the present invention is characterized by comprising: portion-of-interest decision device for deciding, from within a document image representing an imaged document, a sentence of interest or a paragraph of interest the form of display of which is to be changed from that of other sentences or paragraphs; display form changing device for changing the form of display of the sentence of interest or paragraph of interest, which has been decided by the portion-of-interest decision device, from the form of display of other sentences and paragraphs; a display device for displaying, on a display screen, a portion of the document image that includes at least a part of the sentence of interest or paragraph of interest the form of display of which has been changed by the display form changing device; scrolling device for scrolling, in response to a portion-of-interest scroll command, the portion of the document image displayed on the display screen; first determination device for determining, in response to scrolling by the scrolling device, whether the sentence of interest or paragraph of interest the form of display of which has been changed by the display form changing device has been displayed up to the end thereof on the display screen in accordance with character alignment sequence; and decision control device for controlling the portion-of-interest decision device, in response to a determination by the first determination device that the sentence of interest or paragraph of interest the form of display of which has been changed by the display form changing means has been displayed up to the end thereof on the display screen, in such a manner that a sentence or paragraph that follows the sentence of interest or paragraph of interest the form of display of which has been changed by the form changing device is decided upon as a sentence of interest or paragraph of interest.
The present invention provides also an operation control method suited to the portable display device described above. Specifically, the method comprises: portion-of-interest decision device deciding, from within a document image representing an imaged document, a sentence of interest or a paragraph of interest the form of display of which is to be changed from that of other sentences or paragraphs; display form changing device changing the form of display of the sentence of interest or paragraph of interest, which has been decided by the portion-of-interest decision device, from the form of display of other sentences and paragraphs; a display device displaying, on a display screen, a portion of the document image that includes at least a part of the sentence of interest or paragraph of interest the form of display of which has been changed by the display form changing device; scrolling device scrolling, in response to a portion-of-interest scroll command, the portion of the document image displayed on the display screen; first determination device determining, in response to scrolling by the scrolling device, whether the sentence of interest or paragraph of interest the form of display of which has been changed by the display form changing device has been displayed up to the end thereof on the display screen in accordance with character alignment sequence; and determination control device controlling the portion-of-interest decision device, in response to a determination by the first determination device that the sentence of interest or paragraph of interest the form of display of which has been changed by the display form changing device has been displayed up to the end thereof on the display screen, in such a manner that a sentence or paragraph that follows the sentence of interest or paragraph of interest the form of display of which has been changed by the form changing device is decided upon as a sentence of interest or paragraph of interest.
The present invention also provides a recording medium storing a computer-readable program for implementing the method of controlling the operation of the above-described portable display device. Furthermore, it may be arranged so that such a program is also provided.
In accordance with the present invention, a sentence of interest or a paragraph of interest the form of display of which is to be changed from that of other sentences or paragraphs is decided from within a document image representing an imaged document. The decided form of display of the sentence of interest or paragraph of interest is changed from the form of display of other sentences and paragraphs. A portion of the document image that includes at least a part of the sentence of interest or paragraph of interest the form of display of which has been changed is displayed on the display screen of a display unit. When a portion-of-interest scroll command is applied, the portion of the document image displayed on the display screen is scrolled. In response to such scrolling, it is determined whether the sentence of interest or paragraph of interest has been displayed up to the end thereof on the display screen in accordance with the alignment sequence of the characters. When the sentence of interest or paragraph of interest is displayed up to the end thereof on the display screen in accordance with the alignment sequence of the characters, a sentence or paragraph that follows the sentence of interest or paragraph of interest the form of display of which has been changed is decided upon as a new sentence of interest or paragraph of interest. The form of display of the new sentence of interest or paragraph of interest thus decided is displayed on the display screen upon being changed from the form of display of other sentences or paragraphs.
The sentence of interest or paragraph of interest is the sentence or paragraph being read by the user. Since the form of display of the sentence of interest or paragraph of interest is displayed so as to appear different from the form of display of other sentences or paragraphs, the user can easily discern the sentence or paragraph being read.
The device may further comprise a storage device for storing the position of a sentence of interest or paragraph of interest contained in a portion of the document image displayed last on the display screen; and second determination device for determining whether the position of a sentence of interest or paragraph of interest has been stored in the storage device. In this case, by way of example, the portion-of-interest decision device decides, in response to a determination by the second determination device that the position of a sentence of interest or paragraph of interest has been stored, that a sentence or paragraph that follows the position of the sentence of interest or paragraph of interest stored in the storage device is a sentence of interest or paragraph of interest, and decides, in response to a determination by the second determination device that the position of a sentence of interest or paragraph of interest has not been stored, that a first sentence or first paragraph of the document image is a sentence of interest or paragraph of interest.
The device may further comprise display control device for controlling the display device so as to display a portion of the document image on the display screen; and designation device for designating a desired sentence or desired paragraph from within the portion of the document image being displayed on the display screen under the control of the display control device. In this case, the portion-of-interest decision device decides for example that the desired sentence or desired paragraph designated by the designation device is a sentence of interest or paragraph of interest.
The document image communication system according to this embodiment includes a mobile telephone 1 and a document image server 20 capable of communicating with each other via the Internet [the network is not limited to the Internet and may just as well be an in-house LAN (Local-Area Network) or the like]. A file representing a document image is transmitted from the document image server 20 to the mobile telephone 1 in response to a request from the mobile telephone 1.
The overall operation of the mobile telephone 1 is controlled by a control unit 2.
The mobile telephone 1 is provided with a communication device 10 and antenna 11 for communicating with other mobile telephones and for accessing the Internet. A program 12 for performing an operation described later is downloaded via the antenna 11. By installing the downloaded program 12 in the mobile telephone 1, the mobile telephone 1 will operate as described later. The mobile telephone 1 is provided with a memory card reader writer 13 as well. It may be arranged so that a program stored on a memory card 14 is read using the memory card reader writer 13 so that the program is installed in the mobile telephone 1.
The mobile telephone 1 is further provided with a display unit 3 for displaying documents and images and the like on a display screen. A touch panel 4 has been formed on the display screen of the display unit 3. By touching the touch panel 4 formed on the display screen, a user can apply various commands to the mobile telephone 1.
The mobile telephone 1 includes also a memory 5 in which prescribed data is stored. The mobile telephone 1 further includes a speaker 8 and a microphone 9. A voice signal is amplified by an amplifier circuit 7 and applied to the speaker 8, whereby voice is output from the speaker 8. Further, a voice signal representing voice that has been input from the microphone 9 is amplified by the amplifier circuit 7 and input to the control unit 2.
With the mobile telephone 1 according to this embodiment, a document image can be displayed on the display screen of the display unit 3 in the manner set forth above. Since the display screen of the mobile telephone 1 is comparatively small, the entirety of one sentence cannot be displayed on the display screen when character size is enlarged in order to facilitate the reading of characters. If the document is one represented by a text file, the characters need only be re-arrayed in conformity with the display screen. In the case of a document that is a document image, however, re-arraying characters in conformity with the display screen is difficult and, for this reason, scrolling is required. When scrolling is performed, however, there are occasions where one cannot discern which sentence (paragraph) of the document (paragraph) is being read. In this embodiment, which sentence (paragraph) is being read is made easy to discern.
The overall operation of the document image server 20 is controlled by a CPU 21.
The document image server 20 includes a communication unit 22 for accessing the Internet, a memory 23 for storing prescribed data and the like, an input unit 24 such as a keyboard, a hard disk 25, a hard-disk drive 26 for accessing the hard disk 25, and a CD-ROM (Compact-Disk Read-Only Memory) drive 27. A CD-ROM 28 storing a program for controlling an operation described later is loaded into the CD-ROM drive 27 and the program is read. The read program is installed in the document image server 20. The program may just as well be received via the Internet without being stored on a recording medium such as the CD-ROM 28.
A text file representing a document has been stored on the hard disk 25. The text file is read from the hard disk 25 and is converted by the CPU 21 to a document image file representing a document image. The document image file obtained by the conversion is stored on the hard disk 25.
A document represented by a text file is imaged beforehand and converted to a document image, which is represented by an image file (document image file), in the document image server 20 (step 31 in
The document image 60 contains a number of sentences of horizontal writing. Among the sentences contained in the document image 60, a first sentence is represented by a wavy line 61A. A second sentence is represented by a series of round symbols 63A and a third sentence is represented by a dashed line 65A. Other sentences are represented by straight lines 60A. Since the sentences contained in the document image 60 are written horizontally, they are represented by horizontal straight lines 60A. Whether the alignment sequence of the characters is horizontal writing or vertical writing can be determined by detecting whether a blank space that occurs following the final sentence of a paragraph continues in the horizontal direction or in the vertical direction. Horizontal writing is determined if the blank space continues horizontally and vertical writing if the blank space continues vertically. Since the blank space in the document image 60 shown in
When horizontal writing is determined, the positions of the beginning and end of the sentence are detected. If the position of the beginning of a sentence is that of horizontal writing, the position at the upper left of the character at the beginning of the sentence is detected by its coordinates. In the case of vertical writing, the position at the upper right of the character at the beginning of the sentence is detected by its coordinates. Regardless of whether the position of the end of the sentence is that of horizontal writing or vertical writing, the position of the period at the end of the sentence is detected by its coordinates. In a case where a sentence extends over two lines or more, the position of the character at the beginning of each line (the position is at the upper left of the character if writing is horizontal writing, and the position is at the upper right of the character if writing is vertical writing) and the position of the character at the end of each line (the position is at the upper right of the character if writing is horizontal writing, and the position is at the lower right of the character if writing is vertical writing) are also detected.
The first sentence 61A of the document image 60 shown in
The layout information includes the positions of the sentences constituting the document image in addition to the data indicating the character alignment sequence (horizontal writing or vertical writing), as mentioned above. These positions are detected on a per-sentence basis in the manner described above. The layout information is generated as one set of information in association with one document image. It may be arranged so that the layout information is recorded in the header of the image file representing the document image or so that it is stored in a layout information file for accommodating the layout information. In a case where the layout information is stored in a layout information file separate from the image file, it would be necessary to place the information in the same folder or to make common use of part of the file name in such a manner that the layout information that corresponds to the image file can be identified.
Although the above-described layout analysis is carried out after the document is imaged, it may be arranged so that it is performed before the document is imaged. If considered from the standpoint of ease of layout analysis, analysis would be performed before the document is imaged. Naturally, even in a case where layout analysis is performed after the document is imaged, it may be arranged so that the layout analysis is performed utilizing the header information that has been stored in the header of the text file that represents the document prior to its imaging, as well as the text file itself.
With reference again to
In a case where the document image is to be displayed on the mobile telephone 1, document-image request data is transmitted from the mobile telephone 1 to the document image server 20 (step 41 in
When the document-image request data transmitted from the mobile telephone 1 is received at the document image server 20 (“YES” at step 34 in
When the document image and layout information (the file representing it) transmitted from the document image server 20 are received at the mobile telephone 1 (“YES” at step 42 in
When the sentence of interest is decided, the display area is positioned in such a manner that the decided sentence of interest falls within the display area (step 44 in
Assume that the first sentence 61A has been decided upon as the sentence of interest in the manner described above. The first sentence 61A extends from the first line to the second line and is enclosed by frames 81 and 82.
If the document image 60 has not been displayed even one time, then, as mentioned above, the first sentence 61A is decided as the sentence of interest and a display area 70 is positioned in such a manner that the left side of the character at the beginning of the sentence of interest becomes the left edge of the display area. If the character at the beginning of the sentence of interest is a blank space equivalent to one character owing to a paragraph change or the like, the display area 70 is positioned in such a manner that the left side of the blank space equivalent to one character becomes the left edge of the display area. Whether a blank space equivalent to one character is in front of a character at the beginning of the sentence of interest can be determined from the positions contained in the layout information as shown in
When the display area is positioned, the document image 60 within the display area 70 is displayed on the display screen of the mobile telephone 1 in such a manner that the sentence of interest is highlighted relative to other sentences (step 45 in
The portion inside the display area 70 from within the document image 60 is being displayed on the display screen 90. Also being displayed on the display screen 90 is a portion of the first sentence 61A, which is the sentence of interest decided in the manner described above. This portion of the first sentence 61A is displayed in highlighted form (indicated by the hatching) as if it were enclosed by frames 91 and 92. Since the sentence of interest is highlighted, the user of the mobile telephone 1 can identify which sentence should be read among the number of sentences being displayed on the display screen 90.
With reference to
The display area 70 is reduced in size if the command is an enlargement command and is enlarged in size if the command is a reduction command (step 47). If a quit command is not applied (“NO” at step 48), the display area 70 is reduced in case of the enlargement command and therefore a portion of the enlarged document image 60 is displayed on the display screen of the mobile telephone 1. In case of the reduction command, the display area 70 is enlarged and therefore a portion of the reduced document image 60 is displayed on the display screen of the mobile telephone 1 (step 45 in
If the command is a vertical scroll command (applied by sliding a finger or touch pen or the like upward or downward on the surface of the touch panel 4), the display area 70 is moved up or down in accordance with the amount of scrolling (step 49). If a quit command is not applied (“NO” at step 48), the portion of the document image 60 that is contained in the display area 70 after the movement thereof is displayed on the display screen 90 (step 45 in
If the command is a horizontal scroll command (applied by sliding a finger or touch pen or the like leftward or rightward on the surface of the touch panel 4), it is determined whether the entire sentence of interest has been displayed in its entirety in accordance with the character alignment sequence (step 50 in
If the entire sentence of interest has not been displayed (“NO” at step 50 in
The document image 60 inside the display area 70 in the case where the display area 70 has been moved to the position indicated at 72, as shown in
With reference again to
In a case where the display area 70 is the position indicated at 72, as illustrated in
If, when the display area 70 has attained the position indicated by 73A or 73B shown in
The document image 60 within the display area 70 is being displayed on the display screen 90 at the position indicated at 74 in
By moving the display area 70 in the manner indicated by the reference numerals 71, 72, 73A or 73B and 74 in
As to whether the entire sentence of interest has been displayed in its entirety in accordance with the character alignment sequence can be determined using the position information contained in the layout information shown in
If the entire sentence of interest is displayed in its entirety in accordance with the character alignment sequence (“YES” at step 50 in
Thus, when display of the first sentence 61A ends, the second sentence 63A is decided upon as the sentence of interest.
The second sentence 63A that has been decided is enclosed by frames 83 and 84. The position of the display area 70 is decided so as to contain a portion of the second sentence 63A decided. Since the second sentence 63A is included in the document image 60 being displayed on the display screen 90 when the display of the first sentence 61A ends, as shown in
As will be understood from a comparison with
With regard to the second sentence 63A as well, as was the case with the first sentence 61A, it is highlighted in such a manner that the user can discern the sentence being read even though scrolling is performed, as described above.
In the foregoing embodiment, the display area 70 is moved horizontally by the width of the display area 70 with regard to the horizontal scroll command. However, it may be arranged so that the display area 70 is moved by an amount that conforms to the amount of scrolling (the length traced on the surface of the touch panel 4).
In the foregoing embodiment, the mobile telephone 1 can be provided with an enlargement button, a reduction button, vertical scroll buttons (an up-arrow button and a down-arrow button) and horizontal scroll buttons (a left-arrow button and a right-arrow button) for the enlargement/reduction command, vertical scroll command and horizontal scroll command, respectively, and these scroll operations can be achieved in accordance with commands from these buttons.
In the foregoing embodiment, the document image is an image of horizontal writing. When a vertical scroll command is applied, therefore, the display area 70 moves in accordance with the amount of scrolling without execution of determination processing (the processing at step 50 in
The processing procedure shown in
If data indicating the position of the sentence of interest or the sentence number of the sentence of interest has been stored (“YES” at step 101), the sentence of interest specified by the stored data indicating the position or sentence number, or the sentence that follows this sentence, is decided upon as the sentence of interest (step 103). If the entirety of the sentence of interest specified by the stored data indicating the position or sentence number has been displayed, then it is deemed that the user has finished reading this sentence of interest and, hence, the sentence of interest that follows the sentence of interest displayed last is decided upon as the sentence of interest. If the entirety of the sentence of interest specified by the stored data indicating the position or sentence number has not been displayed, then it is deemed that the user has not finished reading this sentence of interest. The sentence of interest displayed last, therefore, is again decided upon as the sentence of interest.
If, on the other hand, data indicating the position of the sentence of interest or the sentence number of the sentence of interest has not been stored (“NO” at step 101), then the first sentence of the document image is decided upon as the sentence of interest (step 102).
A part or all of the document image 60 is displayed on the display screen of the mobile telephone 1 (step 104). A desired sentence from among the sentences displayed on the display screen is touched using a finger or touch pen, whereby the sentence is designated (step 105). The designated sentence is decided upon as the sentence of interest (step 106). It goes without saying that scroll processing is executed as needed in such a manner that the desired sentence is displayed on the display screen.
In the foregoing embodiment, the unit of highlighting is the sentence. However, it may be arranged so that highlighting is performed on a per-paragraph basis. If highlighting is performed on a per-paragraph basis, the position information in the layout information also would be stored on a per-paragraph basis. Further, the comma in a sentence may be adopted as the unit of highlighting.
Further, in the foregoing embodiment, the sentence of interest is highlighted. However, this does not impose a limitation and it will suffice if a sentence of interest (paragraph of interest) can be made distinguishable from other sentences (paragraphs). For example, the font of the sentence of interest can be made different from the font of other sentences, or the font can be italicized. In a case where the font is changed or italicized, it will suffice if character recognition processing is applied to the document image as necessary, the document represented by a text file is restored, the font in the text file is changed or italicized and then the document is again converted to an image.
Number | Date | Country | Kind |
---|---|---|---|
2010-239596 | Oct 2010 | JP | national |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2011/074085 | Oct 2011 | US |
Child | 13865861 | US |