This application claims the priority benefit of Taiwan application serial No. 103138731, filed on Nov. 7, 2014. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of the Invention
The invention relates to a touch operating method and a device and, more particularly, to a touch screen operating method and an electronic device.
2. Description of the Related Art
Conventionally, in order to display more data items in a limited space of a screen, the data items of a portable device, such as a smart phone, are displayed on the screen in a list for the user to browse and check. When the data items of the data page are beyond the displaying area of the screen, the portable device only displays a part of the data items on the screen, and the user can slide on the screen to scroll the data page to search the target data rapidly.
In the scrolling of the data page, the scrolling usually stops instantly when the data page reaches an edge. At the moment, even though the user keeps the sliding operation, the data page would not be scrolled. Thus, the user may be puzzled due to no feedback. Consequently, the operating systems of many mobile devices provide various mechanisms to remind the user that the data page is already scrolled to an edge. For example, in the Android system, a translucency glow effect appears at the edge to reminder users when the data page scrolls to the edge; in the iOS system, a rubber-banding effect appears to remind that the data page is already scrolled to the edge.
A touch screen operating method applied to an electronic device with a touch screen is provided. In the method, a touch operation gesture at the touch screen is detected, and the touch screen displays at least a portion of a plurality of data items in a data page. Then, the data items are slid according to the touch operation gesture. When the data items are slid to an edge of the data page, the data items are stacked.
An electronic device is further provided, and it includes a touch screen, a storage unit and a processing unit. The storage unit includes multiple modules. The processing unit is coupled to the touch screen and the storage unit to access and execute the modules stored in the storage unit. The modules include a display module, a detecting module, a sliding module and a stacking module. The display module displays at least a portion of a plurality of data items of a data page at the touch screen. The detecting module detects a touch operation gesture on the displayed data items via the touch screen. The sliding module slides the data items according to the touch operation gesture. The stacking module stacks the data items when the sliding module determines the data items are slid to an edge of the data page.
These and other features, aspects and advantages of the present invention will become better understood with regard to the following description, appended claims, and accompanying drawings.
In a touch screen operating method applied to an electronic device, when the user slides the data items of the data page to the edge, the data items of the data page are stacked according to a touch operation gesture, so as to remind the user that the data page is already slid to the edge. In an embodiment, the staked direction of the data items of the data page and a sliding direction of the touch operation gesture are the same. In an embodiment, the staked direction of the data items of the data page is opposite to the sliding direction of the touch operation gesture. In an embodiment, the data items of the data page are stacked according to a sliding distance and a sliding speed of a finger of the touch operation gesture. The previous data item overlaps a part of the next data item, and the overlap ratio is determined by the sliding distance or the sliding speed of the touch operation gesture, which is not limited herein. Thus, the user not only knows that the data page is slid to the edge, but also can check the contents of the data items from the non-overlapping part, which provides a better using experience.
The touch screen 12 may integrate a resistive, capacitive or optical touch detecting element and a liquid crystal display (LCD), and the touch screen 12 can display images of the electronic device 10 and detect a touch operation gesture at the same time.
The storage unit 14 may be one or a combination of a fixed or portable random access memory (RAM), a read-only memory (ROM) and a flash memory in any types. In the embodiment, the storage unit 14 stores a display module 142, a detecting module 144, a sliding module 146 and a stacking module 148. The modules may be programs stored in the storage unit 14, and they can be loaded by the processing unit 16 of the electronic device 10 to achieve the functions of the touch screen.
The processing unit 16 is coupled to the touch screen 12 and the storage unit 14, respectively. the processing unit 16 may be one or a combination of a central processing unit (CPU), a programmable microprocessor for common use or specific use, a digital signal processor (DSP), a programmable controller and an application specific integrated circuit (ASIC), which is not limited herein. In the embodiment, the processing unit 16 accesses and executes the modules stored in the storage unit 14 to achieve the touch screen operating method.
In detail,
First, at least a portion of the data items of the data page are displayed at the touch screen 12 by the display module 142 (step S202). The data page may be a page of an address book, a calendar, a memorandum, an application or a file (which includes a music file, an image file, a video file and a document file), which is not limited herein. When the number of the data items of the data page is too large, and the displaying area of the touch screen 12 cannot display all of the data items, the display module 142 only displays a portion of the data items according to a listing order, and the user can slide the data page to check the other data items.
In detail, the detecting module 144 detects the touch operation gesture to the displayed data items via the touch screen 12 (step S204). The detecting module 144 may detect a dragging operation on the data items and detect a sliding direction generated by the dragging operation, or the detecting module 144 detects a tapping operation on the data items and determines to slide upwards or downwards to generate a sliding direction according to a tapping position and tapping times.
The sliding module 146 slides the data items according to the touch operation gesture detected by the detecting module 144 (step S206). The sliding speed of the data items relates to a sliding speed and a sliding distance of the touch operation gesture. For example, the sliding speed of the data items is proportional to a sliding distance of the touch operation gesture, which is not limited herein.
In sliding of the data items, the sliding module 146 determines whether the data items are slide to the edge of the data page (step S208). The sliding module 146 may determine whether the last data item at the sliding direction is at the edge of the data page, and further determines whether the data items are already slid to the edge of the data page. For example, when the user slides downwards on the touch screen, the sliding module 146 slides the data items downwards, and whether the data item at the bottom of the touch screen 12 is the last data item of the data page is further determined at the same time, so as to determine whether the data items are already slid to the edge of the data page.
When the sliding module 146 determines the data items are not slid to the edge yet, the step S206 is executed, and the data items continue sliding according to the touch operation gesture. However, when the sliding module 146 determines the data items are already slid to the edge, the stacking module 148 stacks the data items slid by the sliding module 146 (step S210). The stacking module 148 may stack all of the data items between the data item touched by the touch operation gesture and the data item of the edge, and a portion of the data items are overlapped. For example, the previous data item overlaps a part of the next data item. The stacking module 148 may also determines the overlap configuration according to the touch operation gesture.
In an embodiment, the stacking module 148 determines an order of the data items alone the sliding direction of the touch operation gesture, and makes the previous data item overlap an upper part or a bottom part of the next data item. For example, when the user slides the data items downwards, the stacking module 148 determines the order of the data items is from top to down, and then it makes the previous data item (the upper one) overlap the upper part of the next data item (the bottom one) accordingly. On the contrary, when the user slides the data items upwards, the stacking module 148 determines the order of the data items is from bottom to top, and then it makes the previous data item (the bottom one) overlap the bottom part of the next data item (the upper one) accordingly.
When the stacking module 148 stacks the data items, it may determine an overlap ratio of the data items, such as a percentage of the covered part which is covered by the previous data item on the next data item, according to a sliding distance or a sliding speed of the touch operation gesture. In an embodiment, when the sliding distance of the touch operation gesture is longer, or the sliding speed is higher, the overlap ratio of the previous data item overlapping the next data item by the stacking module 148 is larger. In the embodiment, in order to check the contents of the overlapped data items, the overlap ratio of the previous data item overlapping the next data item may be set to 50% at the most. That means, when half of the data item is covered, this data item would not be further covered. In another embodiment, the overlap ratio is not limited. That means, the data item touched by the finger stacks and overlaps all the other data items at the sliding direction.
For example,
Please refer to
When the stacking module 148 stacks the data items, the sliding module 146 determines whether the touch operation gesture is dismissed (which means whether the user finger leaves the touch screen 12), and replaces the data items stacked by the stacking module 148 with the unstacked state when it is determined that the touch operation gesture is dismissed.
As stated above, users would know that the touch operation gesture is touching the edge of the data page according to the stacked data items that demonstrated on the display. Consequently, the method and the electronic device can provide a better operating experience.
when the sliding module 146 slides the data items, besides that it determines whether the last data item at the sliding direction is at the edge of the data page and stacking the data items accordingly, the sliding module 146 also determines whether the last data item at the direction opposite to the sliding direction is at the opposite edge of the data page. If the last data item is at the opposite edge of the data page, the sliding module 146 slides the data items alone the sliding direction of the touch operation gesture, and displays a blank space between the last data item and the other edge of the data page, so as to remind the user that the data items at the direction opposite to the sliding direction are also slid to the edge of the data page.
For example,
Please refer to
Please refer to
Please refer to
In the embodiments, the stacking of the data items is executed when the touch operation gesture continues. However, in another embodiment, the stacking of the data items is executed based on the inertia of the sliding. In detail, when the user finger slides at the touch screen rapidly, the data items are also slid rapidly. Even though the finger already leaves the touch screen, the data items keeps moving, and the moving speed decreases gradually until the data items stop. Before the moving stops, if the data items are slid to the edge of the data page, the slid data items are stacked to remind the user that the sliding already reaches the edge of the data page. At the moment, the overlap ratio of the data items is based on the moving speed of the data items.
In sum, in the touch screen operating method and the electronic device, the data items of the data page are slid according to the touch operation gesture from the user, and when the data items are slid to the edge of the data page, they are stacked alone to at least one of the sliding direction and the sliding distance, the sliding direction and the sliding speed of the touch operation gesture. When the sliding distance is longer or the sliding speed is higher, the overlap ratio of the data items is larger. Consequently, the user can know that the sliding reaches the edge and stops the sliding operation.
Although the present invention has been described in considerable detail with reference to certain preferred embodiments thereof, the disclosure is not for limiting the scope. Persons having ordinary skill in the art may make various modifications and changes without departing from the scope. Therefore, the scope of the appended claims should not be limited to the description of the preferred embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
103138731 | Nov 2014 | TW | national |