1. Technical Field
Embodiments of the present disclosure relate to user interfaces, and more particularly to a method and device for anticipating application switch.
2. Description of Related Art
Portable electronic devices, such as mobile phones, personal digital assistants (PDAs), and digital cameras are becoming increasingly compact. However, small display areas of these electronic devices can handicap user interfaces and input controls thereof may be less convenient than in personal computers having a larger display/input area. For example, users are accustomed to previewing photos immediately following image capture on a mobile phone. In such an occasion, the users need to quit the camera application, return to the main menu and go through several layers of menus to find the right photo.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the module may be integrated in firmware, such as an EPROM. It will be appreciated that module may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The units described herein may be implemented as software and/or hardware unit and may be stored in any type of computer-readable medium or other computer storage device.
The system 10 includes an initiation module 100 to initiate the system 10, a identification module 200 to determine which application of the mobile device 1 is active, an anticipation module 300 to generate a switch anticipation list from the correlation matrix 600 according to the active application, an user interface module 400 to create a selection menu from the switch anticipation list and display the menu on the display module 3 and an update module 500 to update the correlation matrix 600. One or more computerized codes of the modules are stored in the memory unit 2 and are executed by one or more processors 4.
It should be understood that the correlation matrix 600 is a data matrix comprising a list of applications of the mobile device 1 that are arranged in rows and columns of the correlation matrix 600. Applications in the rows and columns of the correlation matrix 600 can be sorted in order to find an active application of the mobile device 1. Further details of the correlation matrix 600 will be described below.
In one embodiment, the initiation module 100 can be initiated when a preset key on the mobile device 1 is pressed. The initiation module 100 is operable to trigger the identification module 200 when the preset key is pressed. The identification module 200 is operable to determine which application of the device 1 is active when the preset key is pressed and inform the anticipation module 300 of the active application. The anticipation module 300 is operable to consult the correlation matrix 600 for a column of the correlation matrix 600 having the active application and retrieve the column. The preset key may be a key on a physical or virtual keyboard of mobile device 1. Alternatively, the preset key can be a button of the mobile device 1. The anticipation module 300 is operable to sort the column from highest to lowest using a quick-sort algorithm and adapt the top three entries of the sorted column into the switch anticipation list. The anticipation module 300 is operable to send the switch anticipation list to the user interface module 400. The user interface module 400 is operable to use the received list to create a selection menu and display the menu on the display unit 3. Applications are switched by selection of a desired application from the selection menu. The user interface module 400 is operable to feed back the selection to the update module 500, which in turn updates the correlation matrix 600 with a predetermined correlation function according to the feedback.
In the embodiment, the predetermined correlation function is defined as
C
1
=C
0+α×(γ+γ×C0−C0),
where C1 is the updated correlation, C0 is the original correlation, α is a feedback coefficient, and γ is a reinforcement coefficient to control degree of reinforcement. In the embodiment, the coefficient γ is set to 0.1. The coefficient α is set to 1 for positive feedback if the application corresponding to the entry to switch is selected. Otherwise, the coefficient α is set to −1 for negative feedback. For example, in
In block S302, the initiation module 100 triggers the identification module 200 to determine which application of the mobile device 1 is active. In block S302, the identification module 200 determines which application of the mobile device 1 is active and informs the anticipation module 300 of the active application.
In block S306, the anticipation module 300 consults the correlation matrix 600 for a column of the correlation matrix 600 having the active application and retrieves the column. The anticipation module 300 sorts the column from highest to lowest using a quick-sort algorithm and adapts the top three entries of the sorted column into the switch anticipation list. The anticipation module 300 sends the switch anticipation list to the user interface module 400.
In block S308, the user interface module 400 uses the received list to create a selection menu and display the menu on the display unit 3. Applications are switched by selection of a desired application from the selection menu. The user interface module 400 feeds the selection back to the update module 500. In block S310, the update module 500 updates the correlation matrix 600 with the predetermined correlation function according to the feedback.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200910311689.9 | Dec 2009 | CN | national |