This application claims all benefits accruing under 35 U.S.C. §119 from Taiwan Patent Application No. 102104101, filed on Feb. 1, 2013 in the Taiwan Intellectual Property Office. The contents of the Taiwan Application are hereby incorporated by reference.
1. Technical Field
The disclosure generally relates to touch-sensitive devices, and particularly relates to methods and systems for searching data in a touch-sensitive device.
2. Description of Related Art
Touch-sensitive devices enable a user to provide input to a computing device by interacting with a touch-sensitive screen or other surface of the device. However, to search data in the touch-sensitive device, the user has to perform multiple actions on the touch-sensitive device, such as finding a corresponding search box and inputting a keyword in the search box. Thus, the search method does not take advantage of the touch-sensitive functionality of the touch-sensitive device.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings, in which like reference numerals 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 can 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 Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an erasable-programmable read-only memory (EPROM). The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media are compact discs (CDs), digital versatile discs (DVDs), Blu-Ray discs, Flash memory, and hard disk drives.
The processor 101 may be implemented or performed by a general purpose processor, a content addressable memory, a digital signal processor, an application specific integrated circuit, a field programmable gate array, any suitable programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described here.
The memory 102 may be realized as RAM memory, flash memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. The memory 102 is coupled to the processor 101, such that the processor 101 can read information from, and write information to, the memory 102. The memory 102 can be used to store computer-executable instructions. The computer-executable instructions, when read and executed by the processor 101, cause the electronic device 10 to perform certain tasks, operations, functions, and processes described in more detail herein.
The touch-sensitive screen 103 may detect and recognize touch gestures input by a user of the electronic device 10. The touch-sensitive screen 103 is suitably configured to enable the electronic device 10 to render and display various screens, graphical user interfaces (GUIs), GUI control elements, drop-down menus, auto-fill fields, text entry fields, message fields, or the like. The touch-sensitive screen 103 may also be utilized for the display of other information during the operation of the electronic device 10, as is well understood.
The communication interface 105 may provide connectivity channels for receiving and transmitting information and/or for connecting to other electronic devices. The communication interface 105 may be, but is not limited to, a network interface card (NIC) or a network controller. The communication interface 105 may include a local area network (LAN) interface for connecting to a wired Ethernet-based network and/or a wireless LAN, such as an IEEE 802.11x wireless network.
The communication interface 105 also may include a wide area network (WAN) interface that permits connection to the Internet via a cellular data network, such as the Enhanced Data rates for GMS Evolution (EDGE) network or a 3G or 4G network. Further, the communication interface 105 may include a personal area network (PAN) interface for connecting to a BLUETOOTH® network, an IEE 802.15.4 (Zig-Bee) network, or an ultra-wideband network (UWB). The communication interface 105 may include any number and combination of network interfaces. The communication interface 105 can employ one or more protocols, such as the High-Speed Downlink Packet Access (HSDPA) protocol, for rapidly downloading data over an Internet Protocol (IP) network.
The data searching system 20 may be implemented using software, firmware, or other computer programming technologies.
The electronic device 10 may be realized in any common form factor including, without limitation: a desktop computer, a mobile computer (e.g., a tablet computer, a laptop computer, or a netbook computer), a smartphone, a video game device, a digital media player, or the like.
The cursor locating module 201 locates a cursor in a GUI displayed on the touch-sensitive screen 103. The cursor indicates a point on the touch-sensitive screen 103 that will respond to input from a text input or pointing device. The cursor may be a text cursor or a mouse cursor. For example,
The touch detecting module 202 detects whether a point of the touch-sensitive screen 103 corresponding to the cursor is continuously pressed for a preset time duration such as three seconds. For example,
When the touch detecting module 202 detects that the point is continuously pressed for the preset time duration, the UI generating module 203 generates a search UI and displays the search UI adjacent to the cursor in the GUI displayed on the touch-sensitive screen 103. For example,
The keyword receiving module 204 may receive a keyword input in the search UI.
The search module 205 searches data displayed in the GUI where the cursor is located according to the keyword received by the keyword receiving module 204. When one or more data items match the keyword, the search module 205 may highlight the one or more matched data items. In other embodiments, the search module 205 may display the one or more matched data items in the search UI.
In step S701, the cursor locating module 201 locates a cursor in a GUI displayed on the touch-sensitive screen 103.
In step S702, the touch detecting module 202 detects whether a point of the touch-sensitive screen 103 corresponding to the cursor is continuously pressed for a preset time duration such as three seconds. If the point is continuously pressed for the preset time duration, the procedure proceeds to step S703. Otherwise, the procedure ends.
In step S703, the UI generating module 203 generates a search UI and displays the search UI adjacent to the cursor in the GUI displayed on the touch-sensitive screen 103.
In step S704, the keyword receiving module 204 receives a keyword input in the search UI.
In step S705, the search module 205 searches data displayed in the GUI where the cursor is located according to the keyword received by the keyword receiving module 204.
In step S706, when one or more data items match the keyword, the search module 205 highlights the one or more matched data items. In other embodiments, the search module 205 displays the one or more matched data items in the search UI.
Although numerous characteristics and advantages have been set forth in the foregoing description of embodiments, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in the matters of arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
In particular, depending on the embodiment, certain steps or methods described may be removed, others may be added, and the sequence of steps may be altered. The description and the claims drawn for or in relation to a method may give some indication in reference to certain steps. However, any indication given is only to be viewed for identification purposes, and is not necessarily a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
102104101 | Feb 2013 | TW | national |