1. Technical Field
The present disclosure relates to a device and a method to process data. More particularly, the present disclosure relates to a method and a handheld electronic device for calibrating an input of webpage address.
2. Description of Related Art
Handheld electronic devices are essential communication tools for people in the modern life. Besides the voice communication, the network communication is becoming an indispensable function for the handheld electronic devices. The user can access a webpage in the Internet to browse and read the content through a network module in the handheld electronic device. Before accessing the webpage, the user however has to manually input the address of the desired webpage. If the user does not touch the correct key but the neighboring keys instead, he or she has to delete the inputted character and start the inputting all over again in the handheld electronic device. Such an input procedure is annoying and time-consuming.
Accordingly, there is still a need of a method and a handheld electronic device for automatically calibrating an input of webpage address to overcome the issue described above. The present disclosure addresses such a need.
An aspect of the present disclosure is to provide a method for calibrating an input of webpage address applicable to a handheld electronic device. The handheld electronic device has a touch display unit, a storage unit for storing a plurality website address data and a processing unit, in which the processing unit is electrically connected to the touch display unit and the storage unit. The method comprises the steps outlined in the sentences that follow. At least one character is received from the touch display unit, wherein each of the character has a plurality neighboring characters on a keyboard. A plurality of string combinations are generated by the processing unit according to the neighboring characters. The storage unit is searched by the processing unit according to the string combinations to generate an address suggestion list.
Another aspect of the present disclosure is to provide a handheld electronic device. The handheld electronic device comprises a storage unit, a touch display unit and a processing unit. The storage unit stores a plurality website address data. The touch display unit receives at least one character, wherein each of the at least one character has a plurality neighboring characters on a keyboard. The processing unit is electrically connected to the touch display unit and the storage unit to generate a plurality of string combinations according to the neighboring characters and to search the storage unit according to the string combinations to generate an address suggestion list.
It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the disclosure as claimed.
The disclosure can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows:
Reference will now be made in detail to the present embodiments of the disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
The processing unit 16 of the handheld electronic device 1 can access the network through a network module (not shown). Before the accessing a specific webpage of the processing unit 16, the touch display unit 10 can display an input field 20 as shown in
In an embodiment, the touch display unit 10 displays a keyboard 22 as shown in
When the size of the handheld electronic device 1 is small, the keyboard 22 shown on the touch display unit 10 is small as well. If the user fails to touch the correct key and touches the neighboring keys instead, the character inputted in the handheld electronic device needs to be deleted such that the user can input the correct character subsequently. Such a procedure is very time-consuming.
The processing unit 14 can generate a plurality of string combinations 13 according to the neighboring characters. For example, when the inputted characters are “eb” (after neglecting the characters of “www”), twenty string combinations are generated since there are four neighboring characters w, r, d and s of the character e and there are five neighboring characters g, h, j, v and n of the character b. When four characters “ebgs” are inputted as shown in FIG. 2, the neighboring characters t, y, f, h, c, v and b of the character g and the neighboring characters w, e, a, d, z and x of the character s are taken into consideration as well. Therefore, 840 (4×5×7×6) string combinations can be generated.
The processing unit 14 further searches the storage unit 12 according to the string combinations. The storage unit 12 stores a plurality website address data. In an embodiment, each of the website address data stored in the storage unit 12 is a webpage browsing history data. In another embodiment, each of the website address data stored in the storage unit 12 is a default webpage address data. In an embodiment, the storage unit 12 can update the default webpage address data in real time or combine the default webpage address data and the webpage browsing history data to expand the amount of data. The processing unit 14 further generates an address suggestion list 15 after the searching process. In an embodiment, the website address data shown on the address suggestion list 15 is sorted according to the accessing frequency of these websites to list the address that is frequently accesses by the user first. In an embodiment, after the processing unit 14 searches the storage unit 12 according to the inputted characters “ebgs”, the processing unit 14 determines that the address of “www.engadget.com” is the most possible address that the user intends to input and the address is shown on the address suggestion list 15.
As an embodiment, the touch display unit 10 is configured to further receive a selection input (not shown), wherein the selection input corresponds to a suggested URL on the address suggestion list and the processing unit 14 is able to further access a webpage corresponding to the suggested URL. For example, the user directly touches the location of the suggested URL in the address suggestion list to perform the selection.
In another embodiment, the storage unit 12 may be built in a server. The handheld electronic device 1 comprises the touch display unit 10 and the processing unit 14, and communicates to the server via a network. Thereby the embodiment may implement all functions of the aforesaid embodiment. In other words, the server is configured to implement the storage unit 12 of the aforesaid embodiment. The handheld electronic device 1 comprises the functions of the touch display unit 10 and the processing unit 14. People skilled in the art can easily understand how to implement this embodiment based on the description of the aforesaid embodiment.
In another embodiment, the storage unit 12 and the processing unit 14 may be built in a server. The handheld electronic device 1 comprises the touch display unit 10 and communicates to the server via a network. Thereby the embodiment may implement all functions of the aforesaid embodiment. In other words, the server is configured to implement the storage unit 12 and the processing unit 14 of the aforesaid embodiment. The handheld electronic device 1 comprises the functions of the touch display unit 10. People skilled in the art can easily understand how to implement this embodiment based on the description of the aforesaid embodiment.
Accordingly, by using the handheld electronic device of the present disclosure, the string combinations can be generated according to the keyboard and the data of the website address can be searched according to the string combinations to generate an address suggestion list such that the user can quickly perform the calibration by selecting the correct URL on the address suggestion list.
It is noted that in other embodiments, the calibration mechanism can be applied to physical keyboard of the handheld electronic device as well.
In step 301, at least one character is received from the touch display unit 10, wherein each of the character has a plurality neighboring characters on a keyboard.
In step 302, a plurality of string combinations are generated by the processing unit 14 according to the neighboring characters.
In step 303, the storage unit 12 is searched by the processing unit 14 according to the string combinations to generate an address suggestion list 15.
Accordingly, by using the method of the present disclosure, the string combinations can be generated according to the keyboard and the data of the website address can be searched according to the string combinations to generate an address suggestion list such that the user can quickly perform the calibration by selecting the correct URL on the address suggestion list.
It will be apparent to those ordinarily skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the present disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims.
The application claims priority to Provisional Application Ser. No. 61/481,749 filed on May 3, 2011, which is herein incorporated by reference.
Number | Date | Country | |
---|---|---|---|
61481749 | May 2011 | US |