The present invention relates to a display control device, a display control program and a method that control displaying of display data.
In recent years, it has become easier to access the Internet through cellular phones. Web pages that are once created for personal computers are more often viewed on cellular phones. However, many Web pages are created on the assumption that the Web pages will be viewed on the displays of personal computers. For example, the width of one Web page is about 1024 dots.
The latest cellular phones are equipped with displays that have a resolution of VGA (Video Graphics Array) or QVGA (Quad Video Graphics Array). The following techniques have been known in order to enable the above Web pages to be viewed on a smaller display than the personal computers: a technique of allowing part of a Web page to be viewed while leaving the configuration of the Web page unchanged; a technique of reducing a Web page in size before displaying the Web page; and a technique of changing the layout of a Web page so that the Web page fits into the display of a cellular phone. An operator of a Web site may create contents or Web pages for cellular phones so that the contents or Web pages are displayed in a suitable manner for the display size of the cellular phones.
The above Web page display method is realized by a configuration illustrated in
The conventional cellular phone 90 includes a communication section 901, a memory 902, a VRAM (Video RAM) 903, a graphic controller 904, an LCD (Liquid Crystal Display) 905, an operation section 906, an OS (Operating System) 910, a TCP/IP stack 911, and a browser 912.
The communication section 901 transmits and receives packet data. The memory 902 temporarily stores data. The VRAM 903 temporarily stores image information that is to be displayed as video images. The graphic controller 904 performs a process pertaining to displaying images. The LCD 905 displays information of the cellular phone 90. The operation section 906, such as a cursor key or track ball, is operated by a user to input information. The OS 910 takes control of the cellular phone 90. The TCP/IP stack 911 removes packet headers, which are information added to packet data received by the communication section 901, from the packet data before transmitting the packet data to the memory 902. The browser 912 performs rendering of Web pages written in HTML.
The following describes a process in which the conventional cellular phone 90 having the configuration illustrated in
When a user operates the operation section 906 after the Web page is displayed, the input information, i.e. information about an input direction of a cursor key or about how much the cursor key is operated, is transmitted to the browser 912 which then scrolls the Web page displayed on the LCD 905 or changes the display area depending on how much the cursor key is operated.
A known conventional technique related to the present invention is an image processing device, an image processing method, a medium, an outline extraction device and an outline extraction method that makes three-dimensional editing and the like easy for two-dimensional images (see Patent Document 1, for example).
However, there are problems with the conventional Web browsing technique of the above configuration. When a Web page is partially displayed by the partial browsing technique with the configuration of the Web page left unchanged, an area where the Web page is displayed on the LCD 905 of the cellular phone 90 is smaller than an area where the Web page is displayed on the display of a personal computer. Therefore, the problem is that it is more difficult to operate to view Web pages on the cellular phone than on the personal computer. As for the technique of reducing a Web page in size before displaying the Web page, there is another problem that the Web page could be so small that fonts and images are illegible. As for the technique of changing the layout of a Web page so that the Web page fits into the display of a cellular phone, there is the problem that since the layout of the Web page created to be viewed on personal computers is changed, the layout may significantly break down.
As for the Web pages created for cellular phones by a Web site operator, there is a limit on the total amount of contents and the number of characters per page due to a limited communication speed and processing capability of the cellular phones. Therefore, the amount of information is significantly different from a typical Web page.
According to an aspect of the invention, there is provided a display control device includes a memory that stores display data to be displayed on a display section, an operation section that specifies a display area of the display section where the display data is displayed, an address setting section that sets a setting address value with respect to a memory address of the display data stored in the memory, an address specifying section that specifies a read start address value of the display area with respect to the memory address based on a first operation amount of the operation section, and a specified address changing section that changes, when the read start address value is equal to the setting address value, the read start address value to a different address value, wherein the display area of the display data is displayed in an orthogonal coordinate system and the setting address value corresponds to a predetermined coordinate value on one axis in the display area of the display data.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
A brief overview of the present embodiment will be described with reference to
As illustrated in
As illustrated in
According to the present embodiment, as the direction key 106a is pressed in a given direction with respect to the display area D, the cylinder moves or rotates in the opposite direction, i.e. the cylinder moves in the upward or downward direction or rotates in the left or right direction, thereby causing the display area to move. When a predetermined position P1 set on a horizontal axis of the Web page mapped onto the cylinder reaches the right end of the display area D after the direction key 106a is continuously pressed in the right direction, the display area D moves to a position where the left end of the display area D is superimposed on a predetermined position P2 which is different from at least P1 of the Web page on a vertical axis. The display area D similarly moves from P3 to P4. Therefore, a user of the cellular phone 10 just presses the direction key 106a in the right direction, and the display area D moves first in the right direction and then in the downward direction. Thanks to the movement of the display area D, the user may read texts and the like on the Web page without complicated operations. The opposite of the above operation is as follows: when the left end of the display area D reaches the end of the Web page after the direction key 106a is pressed in the left direction, the display area D moves a predetermined distance in the upward direction. The predetermined distance the display area D moves in the upward or downward direction may be automatically set according to the size of a font on the Web page or may be arbitrarily set by a user.
The following describes the configuration of the cellular phone 10 of the present embodiment with reference to
The cellular phone 10 includes a communication section 101, a memory 102, a VRAM 103, a graphic controller 104, an LCD 105, the operation section 106, a coordinate conversion section 107, a display control section 108 (an address value setting section, an address specifying section, and a specified address changing section), an OS 110, a TCP/IP stack 111, and a browser 112.
The communication section 101 connects to a network and transmits and receives data. The memory 102 is a RAM and temporarily stores data that is to be processed in the cellular phone 10. The LCD 105 displays screens. The VRAM 103 acts as a buffer to buffer screen data that is to be displayed on the LCD 105. The graphic controller 104 is a processor that takes overall control of an image output process in the cellular phone 10. The operation section 106 includes the direction key 106a as described above as well as a plurality of other buttons.
The OS 110 controls the cellular phone 10. The TCP/IP stack 111 processes IP packets when data are transmitted or received through the communication section 101. The browser 112 performs rendering of HTML files (display data, or HTML data) written in HTML.
The coordinate conversion section 107 maps bitmap data of Web pages rendered by the browser 112 onto the side face of the cylinder. The display control section 108 determines a read start address for a display area described below on the basis of input from the operation section 106.
The following describes the overall operation of the present embodiment.
First the browser 112 performs rendering of the Web page data to produce bitmap data and stores the bitmap data in the memory 102 (S101). The display control section 108 makes a determination as to whether the key of the operation section 106 is operated (S102).
When the key of the operation section 106 is operated (S102, YES), the coordinate conversion section 107 and the display control section 108 each acquire a key operation amount, which is information about how much the key is operated, from the operation section 106 (S103). The coordinate conversion section 107 and the display control section 108 perform a bitmap data coordinate conversion process on the basis of the operation amount as described below (S104). The OS 110 makes the graphic controller 104 display the bitmap data stored in the memory 102 on the LCD 105 via the VRAM 103 after the coordinate conversion process (S105). The display control section 108 makes a determination again as to whether the key of the operation section 106 is operated (S106).
When the key of the operation section 106 is operated (S106, YES), the coordinate conversion section 107 and the display control section 108 each acquire a key operation amount from the operation section 106 (S103).
When it is determined at step S106 that the key of the operation section 106 is not operated (S106, NO), the display control section 108 monitors the operation section 106 and makes a determination again as to whether the key of the operation section 106 is operated (S106).
When it is determined at step S102 that the key of the operation section 106 is not operated (S102, NO), the coordinate conversion section 107 and the display control section 108 perform a bitmap data coordinate conversion process on the basis of a preset value as described below (S107). The OS 110 makes the graphic controller 104 display the bitmap data stored in the memory 102 on the LCD 105 via the VRAM 103 after the coordinate conversion process (S105).
The following provides a description of a coordinate conversion calculation process that is based on the key operation amount with reference to
First the display control section 108 sets a setting address value based on the width of the bitmap data (S201) and increments the read start address of the bitmap data stored in the memory 102 on the basis of the key operation amount (S202).
Described here are
A determination is made as to whether the incremented read start address becomes equal to the setting address value like the one illustrated in
When it is determined at step S203 that the read start address is equal to the setting address value (S203, YES), the display control section 108 changes the read start address and then transmits the read start address to the coordinate conversion section 107 (S209). According to the present embodiment, as illustrated in
The coordinate conversion section 107 then reads from the memory 102 the data inside the display area D that is based on the read start address (S204), calculates the coordinates of the bitmap data from the memory address (S205), and converts the plane coordinates into cylindrical coordinates on the basis of a radius specified by the operation amount as described below (S206). As for the conversion of plane coordinates into cylindrical coordinates, as illustrated in
r=(x0, distance between×points)/2π(=2πr/2π)
θ=(=2π(rθ/2πr))
z=h
The coordinate conversion section 107 writes out the bitmap data that is at the converted coordinates, converts the pixels to be displayed on the LCD as illustrated in
When it is determined at step S203 that the read start address is not equal to the setting address value (S203, NO), the coordinate conversion section 107 reads from the memory 102 the data inside the display area D that is based on the read start address (S204).
As described above, since the plane coordinates are converted into the cylindrical coordinates, a point becomes closer to the display area D as the point gets closer to the center of the cylinder as illustrated in
The conversion takes place on every pixel of the bitmap data B1. As for the x-axis coordinates, as illustrated in
Moreover, in the coordinate conversion process at step S107 illustrated in
Thanks to the above operation, it is possible to map the bitmap data B1 onto the cylinder B2. Since the bitmap data B1 is mapped onto the cylinder B2, the bitmap data B1 is more enlarged as the bitmap data B1 is displayed closer to the center point of the display area D on the x-axis. The bitmap data B1 is more reduced in size as the bitmap data B1 is displayed farther away from the center point of the display area D on the x-axis. Therefore, it is possible to improve the Web browsing capability of the LCD 105 having the small display area. Moreover, the setting address value is set on the bitmap data B1 mapped onto the cylinder B2 and the address data is changed when the setting address value is reached. Therefore, for example, when a text is read by a user, the user does not have to perform complicated operations because after reaching the right end, the display area returns to the left end and moves a predetermined distance in the vertical direction.
The present embodiment expects the following situation: the display of a cellular phone and a browser are used to view Web pages that are designed to be viewed on a personal computer. However, the display object is not limited to Web pages and may be image files of large sizes. Moreover, the display object may be displayed not only by the browser but also by other drawing software. The present invention allows a user to use the display of a relatively small size to view the display object of a size larger than the display without complicated operations. According to the present embodiment, the bitmap data of the display object is mapped on the surface of the cylinder. However, the object on which the bitmap data is mapped may be a polyhedron that is close in shape to the cylinder, or a sphere. If the device that displays the display objects has a less powerful processing capability, the device may not perform mapping.
Furthermore, a program for causing a computer of the display control device to execute the above steps may be provided as a display control program. The above program may be stored in a computer-readable recording medium, thereby enabling a computer of a design support device to execute the program. The above computer-readable recording media include an internal storage device such as ROM or RAM that is installed in a computer; a portable storage medium such as CD-ROM, flexible disks, DVD discs, magneto optical discs and IC cards; a database that retains computer programs; another computer and a database thereof; and a transmission medium on a line.
As described above, according to the present invention, it is possible to view display data without complicated operations.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment(s) of the present invention has(have) been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
This application is a continuation application, filed under 35 U.S.C. §111(a), of PCT Application No. PCT/JP2007/074204, filed Dec. 17, 2007, the disclosure of which is herein incorporated in its entirety by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2007/074204 | Dec 2007 | US |
Child | 12781945 | US |