1. Field of the Invention
The present invention relates to a display screen management unit which switches and displays a plurality of screens. More particularly, the present invention relates to a display screen management unit which can reduce a screen resource required to switch screens and simultaneously display a screen before transition and a screen after transition.
2. Description of the Related Art
The term “screen” refers to information itself which is displayed on a display, but not to a display part (display), such as an LCD, liquid crystal, or the like. In other words, the screen is a unit which indicates a set of window instances which interact with a user. The term “screen resource” refers to a resource required to display a specific screen on a display. The screen resource is generated by a screen generating process and is discarded by a screen discarding process.
There is, for example, a conventional display screen management unit for switching and displaying a plurality of screens, that generates screen resources for all possible screens which can be displayed by a system when the system is started up. Such a display screen management unit switches and displays a plurality of screens in sequence by selecting screen resources to be switched from all screen resources which are generated when the system is started up.
However, since such a display screen management unit generates all screen resources when the system is started up, there are problems, such as a long time required to start up the system, a large size of memory required to store the generated screen resources, and the like. Therefore, the conventional display screen management unit needs to have a memory (e.g., a RAM or a flash memory) which can store the generated screen resources, or needs to store screen resources which cannot be stored in a memory into an external storage device, such as a hard disk or the like. If a screen resource is stored in a hard disk, swapping occurs with high frequency between the memory and the hard disk when screens are switched, so that screen switching is disadvantageously slowed, or the like.
In order to solve such a problem, Japanese Patent Laid-Open Publication No. 9-97158 discloses a display screen management unit which reduces a screen resource required to switch screens to effectively use a memory area. The conventional display screen management unit uses a screen flow diagram (see
However, the conventional display screen management unit also discards a screen resource displayed before transition as a screen resource which is not selected as a transition destination (switching target). Therefore, the conventional display screen management unit cannot display a screen before transition (pre-transition screen) in the background of a screen after transition (post-transition screen), a display area of a display in which a post-transition screen is not displayed, or the like. In other words, the conventional display screen management unit cannot simultaneously display a pre-transition screen and a post-transition screen (i.e., a switching target screen).
Therefore, an object of the present invention is to provide a display screen management unit which can reduce a screen resource required to switch screens, and can simultaneously display a pre-transition screen and a post-transition screen.
The present invention is directed to a display screen management unit of switching and displaying a plurality of screens on a display by screen transition. To achieve the above-described object, the display screen management unit of the present invention comprises a saving section for saving screen information about the plurality of screens, an instruction section for providing an instruction to switch a currently displayed screen in response to an external request, a screen control section for controlling a display on the display in accordance with the instruction from the instruction section, and a screen discard determination section for comparing the currently displayed screen with a switching target screen indicated by the instruction section based on the screen information saved in the saving section, to determine whether or not the currently displayed screen is discarded. When the screen discard determination section determines that the currently displayed screen is to be discarded, the screen control section discards information about the currently displayed screen from the saving section.
The saving section can include a screen resource saving section of saving a screen resource for a screen to be displayed on the display. Preferably, when instructed to switch screens from the instruction section, the screen control section generates a screen resource for the switching target screen, and saves the generated screen resource into the screen resource saving section, and requests the screen discard determination section to determine whether or not the currently displayed screen is to be discarded.
The saving section can include an initial screen information saving section of saving initial screen information which prescribes initial screen information, and a screen information saving section of saving the currently displayed screen information and the switching target screen information. Preferably, when providing an instruction to switch the currently displayed screen, the instruction section reads out initial screen information about the switching target screen from the initial screen information saving section, and notifies the screen control section of the read initial screen information. The screen control section saves the notified initial screen information as the switching target screen information into the screen information saving section.
When the screen discard determination section determines that the currently displayed screen is to be discarded, the screen control section may discard a screen resource for the screen determined to be discarded, from the screen resource saving section. When the screen discard determination section determines that the currently displayed screen is to be discarded, the screen control section may discard screen information about the screen determined to be discarded, from the screen information saving section.
Preferably, when the whole or a part of the currently displayed screen is displayed simultaneously with the switching target screen, the screen discard determination section determines that the currently displayed screen is not to be discarded, and when the currently displayed screen is completely hidden by the switching target screen, the screen discard determination section determines that the currently displayed screen is to be discarded.
The screen information includes information indicating a screen size. In this case, the screen discard determination section can use the screen size indicating information included in the screen information to determine whether or not the currently displayed screen is to be discarded.
The screen information includes information indicating a screen position. In this case, the screen discard determination section can use the screen position indicating information included in the screen information to determine whether or not the currently displayed screen is to be discarded.
The screen information includes residence information indicating whether a screen is resident or non-resident. In this case, when it is determined based on the residence information included in the screen information that the currently displayed screen is resident, the screen discard determination section may determine that the currently displayed screen is not to be discarded.
The screen information includes a display time from when a screen is displayed to when the screen goes to a non-displayed state. In this case, when it is determined based on the display time that the switching target screen display time is shorter than a predetermined time, the screen discard determination section may determine that the currently displayed screen is not to be discarded.
The screen information includes mask information about a screen. In this case, the screen discard determination section can use the mask information included in the screen information to determine whether or not the currently displayed screen is discarded.
The display screen management unit may further comprise a registration section of registering initial screen information saved in the initial screen information saving section via the screen control section into the screen information saving section. In this case, the registration section notifies the screen control section of all initial screen information saved in the initial screen information saving section. The screen control section saves the initial screen information notified of by the registration section as the screen information into the screen information saving section.
The display screen management unit may further comprise a communications section of obtaining application data including screen information via an external network, and a screen information extraction section of extracting the screen information from the application data obtained by the communications section. The registration section notifies the screen control section of the screen information extracted by the screen information extraction section. The screen control section saves the notified screen information into the screen information saving section.
The present invention is also directed to a display screen management method of switching and displaying a plurality of screens on a display by screen transition. The display screen management method comprises the steps of providing an instruction to switch a currently displayed screen in response to an external request, controlling a display on the display in accordance with the instruction from the instruction step, determining whether or not the currently displayed screen is to be discarded, by comparing the currently displayed screen with the indicated switching target screen based on previously saved screen information, and discarding information about the currently displayed screen when the determining step determines that the currently displayed screen is to be discarded.
In the step of discarding the information about the currently displayed screen, a screen resource for a screen determined in the determining step to be discarded, is discarded.
In the step of determining whether or not the currently displayed screen is to be discarded, when the whole or a part of the currently displayed screen is displayed simultaneously with the switching target screen, it is determined that the currently displayed screen is not to be discarded, and when the currently displayed screen is completely hidden by the switching target screen, it is determined that the currently displayed screen is to be discarded.
The present invention is also directed to a program which is executed by a display screen management device of switching and displaying a plurality of screens on a display by screen transition. The program of the present invention causes the device to execute the steps of providing an instruction to switch a currently displayed screen in response to an external request, controlling a display on the display in accordance with the instruction from the instruction step, determining whether or not the currently displayed screen is to be discarded, by comparing the currently displayed screen with the indicated switching target screen based on previously saved screen information, and discarding information about the currently displayed screen when the determining step determines that the currently displayed screen is to be discarded.
According to the display screen management unit of the present invention, when a screen is transitioned, the display screen management unit compares the screen attributes of a currently displayed screen with the screen attributes of a switching target screen, and only when the currently displayed screen is completely covered with the switching target screen, discards a screen resource for the currently displayed screen. Thereby, the display screen management unit can reduce a screen resource required to switch screens and simultaneously display a pre-transition screen and a post-transition screen.
In addition, the display screen management unit previously saves screen information about all screens into the screen information saving section, thereby making it possible to reduce overhead for saving the screen information into the screen information saving section when a screen switching request is issued. In addition, the screen status can be set to be “not currently displayed”, so that the screen resource for a resident screen can continue to be saved. Thereby, the display screen management unit can improve the screen display speed when screens are switched.
In addition, the display screen management unit further comprises the communications section and the screen information extraction section, thereby making it possible to register screen information included in application data received via a network into the screen information saving section. Thereby, the display screen management unit can also use a screen other than those previously saved in the initial screen information saving section, as a switching target screen.
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
The initial screen information saving section 101 is an area for saving initial screen information which prescribes initial screen information. The initial screen information saving section 101 is assumed to previously save initial screen information about all possible screens which can be displayed by the display screen management unit 10.
The instruction section 102 receives a screen switching request from an input section 11. The input section 11 is, for example, a keyboard, which is operated by the user. The input section 11 may be any application which requests screen switching. When the input section 11 is a keyboard, the instruction section 102 receives a screen switching request which is directly input by the user via the keyboard. Note that the input section 11 may be provided inside the display screen management unit 10. The instruction section 102 notifies the screen control section 103 of initial screen information about a switching target screen, and provides an instruction to switch screens. As used herein, the term “screen switching” indicates that a new switching target screen is displayed over (closer to the user than) a currently displayed screen, due to a screen transition.
The screen control section 103 controls various operations relating to screen display, such as the screen resource generating process, the screen resource discarding process, and the like. For example, when receiving an instruction to switch screens from the instruction section 102, the screen control section 103 saves switching target screen information into the screen information saving section 104, and requests the screen discard determination section 105 to determine whether or not to discard a currently displayed screen.
The screen information saving section 104 is an area for saving currently displayed screen information and switching target screen information.
The screen discard determination section 105 determines whether or not a currently displayed screen is to be discarded. For example, when a currently displayed screen is completely hidden behind a switching target screen, the screen discard determination section 105 determines that the currently displayed screen is to be discarded. On the other hand, when the whole or a part of a currently displayed screen is displayed behind a switching target screen, the screen discard determination section 105 determines that the currently displayed screen is not to be discarded.
The display section 106 is a display for displaying a screen to be displayed which is requested by the screen control section 103. Note that the display section 106 may be provided outside the display screen management unit 10. The screen resource saving section 107 is an area for saving one or more screen resources. In the screen resource saving section 107, a screen resource generated in the screen generating process by the screen control section 103 is saved. The screen resource saved in the screen resource saving section 107 is discarded by the screen control section 103 executing the screen discarding process.
The screen control section 103 saves the initial screen information which is notified by the instruction section 102, as switching target screen information, into the screen information saving section 104 (step S102). Next, the screen control section 103 executes the screen generating process based on the screen information saved in the screen information saving section 104 to generate a switching target screen resource (step S103). Here, the generated screen resource is saved into the screen resource saving section 107.
The screen control section 103 extracts currently displayed screen attributes and switching target screen attributes from the screen information saved in the screen information saving section 104. Thereafter, the screen discard determination section 105 is notified of the extracted screen attributes, and is requested for determination of whether or not the currently displayed screen is to be discarded (step S104). When there are two or more currently displayed screens, the screen control section 103 notifies the screen discard determination section 105 of the screen attributes of all the currently displayed screens and the screen attributes of switching targets. The screen control section 103 may notify the screen discard determination section 105 of a plurality of screen attributes simultaneously or per pair of one currently displayed screen attribute and one switching target screen attribute (repeated a number of times corresponding to the number of pairs of the screen attributes).
The screen discard determination section 105 compares a currently displayed screen attribute with a switching target screen attribute, depending on the request from the screen control section 103, to perform a screen discard determination process (step S105). The screen control section 103 is notified of the result of the determination. Note that details of the discard determination process will be described below by way of a specific example.
When it is determined that a currently displayed screen is to be discarded, the screen control section 103 performs the screen discarding process with respect to a screen which is determined to be discarded. Thereby, the screen control section 103 discards a screen resource saved in the screen resource saving section 107 (steps S106, S107). In addition, screen information about the screen which is determined to be discarded is discarded from the screen information saving section 104 (step S108). When it is determined that a plurality of screens are to be discarded, the screen control section 103 executes the screen discarding process with respect to all the screens. On the other hand, when it is determined that a currently displayed screen is not to be discarded, the screen control section 103 does not perform the screen discarding process (step S106).
Next, the screen control section 103 uses a screen resource saved in the screen resource saving section 107 to cause the display section 106 to display a switching target screen (step S109). When there are a plurality of generated screen resources, the screen control section 103 notifies the display section 106 of the order of display of screens.
Note that, after the screen control section 103 saves the switching target screen information into the screen information saving section 104 and until the switching target screen is displayed on the display section 106 (i.e., a period from step S102 to step S109), the screen resource generating process (i.e., step S103) may be performed with any timing. For example, the screen control section 103 may perform the screen resource generating process after the screen discard determination process is performed (steps S105, S106).
Next, details of the screen discard determination process will be described with reference to
In the example of
In the example of
In the example of
In the example of
In the example of
Note that the display screen management unit 10 may add, to the screen attributes, information for determining whether a screen is resident or non-resident (hereinafter referred to as residence information) (see
In addition, the display screen management unit 10 may add, to the screen attributes, information indicating a screen display time (see
Referring to
Note that, after step S1052, the screen discard determination section 105 may determine whether or not residence information is set for the currently displayed screen (step S1052a), or may determine whether or not a display time shorter than a predetermined time is set for the switching target screen (step S1052b). When residence information is set for the currently displayed screen and/or a display time shorter than a predetermined time is set for the switching target screen, the screen discard determination section 105 determines that the currently displayed screen is not to be discarded.
As described above, when a screen is transitioned, the display screen management unit 10 of the first embodiment compares the screen attributes of a currently displayed screen with the screen attributes of a switching target screen, and only when the currently displayed screen is completely covered with the switching target screen, discards a screen resource for the currently displayed screen. Thereby, the display screen management unit 10 can reduce a screen resource required to switch screens and simultaneously display a pre-transition screen and a post-transition screen.
In
The initial screen information saving section 201 is an area for saving initial screen information as in the first embodiment.
When receiving a request for screen switching from the input section 11, the instruction section 202 instructs the screen control section 203 to switch screens as in the first embodiment. Note that the instruction section 202 does not notify the screen control section 203 of the initial screen information stored in the initial screen information saving section 201.
Although initial screen information which is notified of by the instruction section 102 is saved into the screen information saving section 104 in the first embodiment, the screen control section 203 saves initial screen information which is notified of by the registration section 208 into the screen information saving section 204 in the second embodiment.
The screen information saving section 204 is an area for saving all screen information. The screen information saving section 204 saves screen information about a screen for which a registration request is issued by the registration section 208.
The term“currently displayed” with respect to the screen status refers to a state that a screen resource is saved in the screen resource saving section 107 and a screen is currently displayed. The term “not currently displayed” with respect to the screen status refers to a state that a screen is not currently displayed, though a screen resource is saved in the screen resource saving section 107. The “not currently displayed” screen status is used to indicate a resident screen or the like. The term “not yet generated” with respect to the screen status refers to a state that a screen resource is not saved in the screen resource saving section 107, and a screen is not currently displayed on a display. When there are a plurality of currently displayed screens, the order of display can be added to the screen status. In
When the display screen management unit 20 is started up, a system is initialized, a predetermined application is started, or the like, the registration section 208 reads out all initial screen information saved in the initial screen information saving section 201 and notifies the screen control section 203 of the read screen information.
Referring to
The instruction section 202 receives a screen switching request from the input section 11 as in the first embodiment (step S101). When receiving the screen switching request, the instruction section 202 notifies the screen control section 203 of a screen switching instruction. The screen control section 203 determines whether or not the screen status of a switching target screen saved in the screen information saving section 204 has been set to be “not yet generated”, and only when the screen status is “not yet generated”, executes the screen generating process to generate a switching target screen resource (step S203).
Operations of steps S104 to S107 are similar to those of the first embodiment and will not be described. When it is determined that a currently displayed screen is discarded, the screen control section 203 executes the screen discarding process with respect to the screen which has been determined to be discarded. Specifically, the screen control section 203 does not discard the screen information saved in the screen information saving section 204, and updates the screen status into “not yet generated” (step S208). Note that, when a screen determined to be discarded is a resident screen, the screen control section 203 sets the screen status of the screen determined to be discarded to be “not currently displayed”, and does not discard the screen resource from the screen resource saving section 107.
Next, the screen control section 203 uses a screen resource saved in the screen resource saving section 107 to cause the display section 106 to display a switching target screen (step S209). In this case, the screen control section 203 sets the screen status of the screen displayed on the display section 106 to be “currently displayed”. When there are a plurality of generated screen resources, the screen control section 203 notifies the screen information saving section 204 of the saved order of display of screens.
As described above, the display screen management unit 20 of the second embodiment previously saves screen information about all screens into the screen information saving section 204, thereby making it possible to reduce overhead for saving the screen information into the screen information saving section 204 when a screen switching request is issued. In addition, the screen status can be set to be “not currently displayed”, so that the screen resource for a resident screen can continue to be saved. Thereby, the display screen management unit 20 can improve the screen display speed when screens are switched.
As described above, the display screen management unit 30 of the third embodiment further comprises the communications section 301 and the screen information extraction section 302, thereby making it possible to register screen information included in application data received via a network into the screen information saving section 204. Thereby, the display screen management unit 30 can also use a screen other than those previously saved in the initial screen information saving section 201, as a switching target screen.
Note that the process procedures performed by the display screen management units described in the first to third embodiments may be implemented by predetermined program data being interpreted and executed by a CPU, where the program data is stored in a storage device (a ROM, a RAM, a hard disk, etc.) and can execute the process procedures. In this case, the program data may be introduced via a storage medium to the storage device, or may be executed directly from the storage medium. Note that the storage medium refers to a semiconductor memory (a ROM, a RAM, a flash memory, etc.), a magnetic disk memory (a flexible disk, a hard disk, etc.), an optical disc memory (a CD-ROM, a DVD, a BD, etc.), a memory card, or the like. The storage medium has a concept including communications media, such as a telephone line, a transfer path, and the like.
The display screen management unit of the present invention is suitable for reduction of a screen resource required to switch screens, or the like, and is useful particularly for apparatuses and systems having low hardware performance, such as a mobile telephone, a PDA, and the like.
Number | Date | Country | Kind |
---|---|---|---|
2004-110780 | Apr 2004 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2005/005869 | 3/29/2005 | WO | 00 | 6/9/2006 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2005/098588 | 10/20/2005 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4484302 | Cason et al. | Nov 1984 | A |
4870397 | Soto et al. | Sep 1989 | A |
5245702 | McIntyre et al. | Sep 1993 | A |
5289574 | Sawyer | Feb 1994 | A |
5386505 | Beattie et al. | Jan 1995 | A |
5515494 | Lentz | May 1996 | A |
5561755 | Bradley | Oct 1996 | A |
5564002 | Brown | Oct 1996 | A |
5764214 | Takano | Jun 1998 | A |
5877762 | Young | Mar 1999 | A |
5900859 | Takishita et al. | May 1999 | A |
5959639 | Wada | Sep 1999 | A |
6133898 | Ludolph et al. | Oct 2000 | A |
6326969 | Helman et al. | Dec 2001 | B1 |
6573915 | Sivan et al. | Jun 2003 | B1 |
6593945 | Nason et al. | Jul 2003 | B1 |
6630943 | Nason et al. | Oct 2003 | B1 |
6639613 | Nason et al. | Oct 2003 | B1 |
6686936 | Nason et al. | Feb 2004 | B1 |
6710790 | Fagioli | Mar 2004 | B1 |
6727918 | Nason | Apr 2004 | B1 |
6828991 | Nason et al. | Dec 2004 | B2 |
6831666 | Kreis | Dec 2004 | B1 |
6892359 | Nason et al. | May 2005 | B1 |
6917362 | Pinedo et al. | Jul 2005 | B2 |
6966036 | Nason et al. | Nov 2005 | B2 |
7010755 | Anderson et al. | Mar 2006 | B2 |
7012612 | O'Neill et al. | Mar 2006 | B1 |
7043697 | Jensen et al. | May 2006 | B1 |
7103850 | Engstrom et al. | Sep 2006 | B1 |
7190883 | Yeo | Mar 2007 | B2 |
20020037753 | Shitahaku | Mar 2002 | A1 |
20030189597 | Anderson et al. | Oct 2003 | A1 |
20070180396 | Yajima et al. | Aug 2007 | A1 |
Number | Date | Country |
---|---|---|
9-97158 | Apr 1997 | JP |
2002-111805 | Apr 2002 | JP |
Number | Date | Country | |
---|---|---|---|
20070180395 A1 | Aug 2007 | US |