The present disclosure relates to a field of terminals, and in particular, to a terminal multiselection operation method and a terminal.
At present, a touchscreen is widely applied to terminal products such as a mobile phone and a tablet. There are usually two methods when a user needs to perform an operation on multiple displayed entries on a display interface of a terminal device. One method is to select multiple displayed entries one by one by using a touchscreen until all required entries are selected. The other method is to directly select all entries when the device provides an all-select operation. For example, when a short message needs to be group-sent to contacts in a mobile phone, the contacts need to be selected one by one until one group of contacts required by the user is selected, or all contacts are directly selected.
In a process of implementing the foregoing technical solution, the inventor finds that at least the following problem exists in the prior art. A user selecting displayed entries one by one is time-consuming and is adverse to improving an operation speed and operation experience of a user. When the user does not need to select all contacts, the operation manner of directly selecting all contacts is not applicable at all.
Embodiments of the present disclosure provide a terminal multiselection operation method and a terminal, which can implement a free selection of and a batch operation on several entries of displayed entries, thereby increasing an operation speed of a user.
To achieve the foregoing purpose, the embodiments of the present disclosure adopt the following technical solution.
A terminal multiselection operation method includes receiving a first operation of a user when content currently displayed by the touchscreen is displayed entries, where the displayed entries correspond to data items stored in the terminal. The method also includes activating a selection mode of the touchscreen when the first operation is a first preset operation, and receiving a second operation of the user and carrying out a second preset operation on all entries along a track of the second operation.
A terminal including a first operation receiving unit configured to, receive a first operation of a user when content currently displayed by the touchscreen is displayed entries, wherein the displayed entries correspond to data items stored in a terminal. The terminal also includes a selection mode activating unit configured to activate a selection mode of the touchscreen when the first operation is a first preset operation. The terminal further includes a second operation receiving unit configured to receive a second operation of the user and carry out a second preset operation on all entries along the track of the second operation when a track of the second operation is a sliding track. In the terminal multiselection operation method and the terminal provided by the embodiments of the present disclosure, a selection mode of a touchscreen is activated according to an operation of a user. Under the selection mode, the user carries out a preset operation in batch on entries that need to be selected, thereby avoiding a one-by-one operation by the user on the displayed entries, implementing a free selection of and a batch operation on several entries of the displayed items, and reducing the operation time consumption of the user.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. The accompanying drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. The described embodiments are merely a part rather than all of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
This embodiment of the present disclosure provides a terminal multiselection operation method. As shown in
101: When content currently displayed by a touchscreen of the terminal is displayed entries, receive a first operation of a user. The displayed entries are data information displayed on a current interface and correspond to data items stored in a terminal. The touchscreen refers to a screen on which an operation may be performed by using a finger, a touch pen, or the like, such as a touch body. It should be noted that an operation by using a somatosensory gesture also falls within the scope defined by the embodiment of the present disclosure, which is not described in detail herein for convenience of description and will be described in detail in the following.
102: When the first operation is a first preset operation for activating a selection mode, activate the selection mode of the touchscreen. The selection mode means that, in this mode, after the terminal receives an operation of a user on the touchscreen, the terminal performs a batch operation on displayed entries along a track of the operation without sliding content currently displayed by the touchscreen.
The first preset operation, that is, an operation for activating the selection mode, may be selected by using a function menu or activated by using a specific key. The key may be a virtual key or a physical key. In a case of using a function menu, the touchscreen may be long-touched under a certain operation interface to activate the selection mode, or the function menu is opened by using a menu key to enter the selection mode. The embodiment of the present disclosure does not set any limitation thereon. In addition, when the selection mode is activated, the user may be prompted that the selection mode has been activated by using such manners as changing a font or a display ground color, or using a floating font.
103: Receive a second operation of the user and carry out a second preset operation on all entries along a track of the second operation.
Optionally, the second operation may be a tap-selection operation or a sliding operation. For a sliding operation, a sliding track may be continuous or discontinuous, and may be a track of any shape. The second preset operation is a selection operation or a deselection operation carried out on the entries.
For example, as shown in
According to the terminal multiselection operation method provided by the embodiment of the present disclosure, a selection mode of a touchscreen is activated according to an operation of a user. Under the selection mode, the user carries out a preset operation in batch on entries that need to be selected, thereby avoiding a one-by-one operation by the user on the displayed entries, implementing a free selection of and a batch operation on multiple entries of the displayed entries, and reducing operation time consumption of the user.
This embodiment of the present disclosure provides a terminal multiselection operation method. As shown in
401: When content currently displayed by the touchscreen is displayed entries, receive a first operation of a user. The displayed entries are data information displayed on a current interface and correspond to data items stored in the terminal. As shown in
402: Determine whether the first operation is a first preset operation. The first preset operation is a preset operation used to activate a selection mode. The selection mode means that, in this mode, after the terminal receives an operation of a user on the touchscreen, the terminal performs a batch operation on displayed entries along a track of the operation without sliding content currently displayed by the touchscreen.
The first preset operation, that is, an operation for activating the selection mode, may be selected by using a function menu or activated by using a specific key. The key may be a virtual key or a physical key. In a case of using a function menu, the touchscreen may be long-touched under a certain operation interface to activate the selection mode, or the function menu is opened by using a menu key to enter the selection mode. The embodiment of the present disclosure does not set any limitation thereon. In addition, when the selection mode is activated, the user may be prompted that the selection mode has been activated by using such manners as changing a font or a display ground color or using a floating font.
403: When the first operation is the first preset operation for activating the selection mode, activate the selection mode of the touchscreen.
404: Receive a second operation of the user and carry out a second preset operation on entries along a track of the second operation. Optionally, the second operation may be a tap-selection operation or a sliding operation. For a sliding operation, the sliding track may be continuous or discontinuous, and may be a track of any shape. The second preset operation is a selection operation or a deselection operation carried out on the entries.
Optionally, when multiple entries along the track of the second operation include both selected entries and unselected entries, the second preset operation may also be any one operation of a selection operation or a deselection operation uniformly executed on the multiple entries along the track of the second operation. For example, the second preset operation may be manually set so that, when multiple entries along the track of the second operation include both selected entries and unselected entries, a quantity is not detected while the entries along the track of the second operation are uniformly subjected to a selection operation.
Alternatively, when multiple entries along the track of the second operation include both selected entries and unselected entries, the second preset operation may also be different second preset operations executed correspondingly according to a difference between the quantity of the selected entries and the quantity of the unselected entries. Specifically, it may include the following steps S1 to S3.
S1: When multiple entries along the track of the second operation include both selected entries and unselected entries, detect a quantity of selected entries and a quantity of unselected entries in the multiple entries along the track of the second operation.
S2: When the quantity of selected entries in the multiple entries along the track of the second operation is not less than the quantity of unselected entries, execute a deselection operation on the multiple entries along the track of the second operation.
S3: When the quantity of selected entries in the multiple entries along the track of the second operation is less than the quantity of unselected entries, execute a selection operation on the multiple entries along the track of the second operation.
Optionally, in a process of executing the steps of the embodiment of the present disclosure, at least one of the following actions may be executed. When the track of the second operation of the user reaches an upper/lower edge of a current operation region, swipe the content currently displayed by the touchscreen up/down. When the track of the second operation of the user reaches a left/right edge of a current operation region, swipe the content currently displayed by the touchscreen left/right.
In a practical scenario, because of different models of terminals, their screen display may be in a left-right direction, or may also be in an up-down direction. With respect to different cases, when the track of the touch operation reaches an edge of an operation region, a page swiping operation needs to be carried out, and previously selected content or deselected content needs to be stored.
Determining whether the track of the second operation of the user reaches the upper/lower edge or left/right edge of the selected region may be implemented by using a method of periodically detecting a position of the track, and may also be implemented by sending a signal to a processor when an edge of the screen senses a second touch operation. The embodiment of the present disclosure does not set any limitation thereon.
In addition, optionally, a page swiping operation under the selection mode may also be implemented by using such manners as tapping the touchscreen for a preset number of times, using a function menu, triggering a sensor through shaking or overturning the terminal, or the like. The embodiment of the present disclosure does not set any limitation thereon.
405: Receive a third operation of the user.
406: When the third operation is a third preset operation for disabling the selection mode, disable the selection mode of the touchscreen.
The third preset operation is preset and used to disable the selection mode. The third preset operation may be selected by using a function menu or activated by using a specific key. The key may be a virtual key or a physical key. In a case of using a function menu, the touchscreen may be long-touched to disable the selection mode under a certain operation interface, or the function menu is opened by using a menu key to disable the selection mode. The embodiment of the present disclosure does not set any limitation thereon.
Optionally, the third preset operation may also be used to directly trigger an application when the selection mode is disabled. For example, after the user selects contacts on an information sending interface, a “send” application may be directly triggered by using a menu. After the user triggers the application, the terminal disables the selection mode and sends current information. The embodiment of the present disclosure does not set any limitation thereon.
According to the terminal multiselection operation method provided by the embodiment of the present disclosure, a selection mode of a touchscreen is activated according to an operation of a user. Under the selection mode, the user carries out a preset operation in batch on entries that need to be selected, thereby avoiding a one-by-one operation by the user on the displayed entries, implementing a free selection of and a batch operation on multiple entries of the displayed entries, and reducing operation time consumption of the user. Meanwhile, according to an optional solution provided by Embodiment 2 of the present disclosure, it may also be implemented that, when a sliding operation of a user reaches an edge of a selection region, under a condition that an already performed operation is stored, displayed content can be swiped over, thereby better facilitating a practical application.
This embodiment of the present disclosure provides a terminal, as shown in
The first operation receiving unit 51 is configured to, when content currently displayed by a touchscreen is displayed entries, receive a first operation of a user. The displayed entries correspond to data items stored in a terminal. The displayed entries are data information displayed on a current interface and correspond to data items stored in a terminal, and the touchscreen refers to a screen on which an operation may be performed by using a finger, a touch pen or the like as a touch body. It should be noted that an operation by using a somatosensory gesture also falls within the scope defined by the embodiment of the present disclosure, which is not described in detail herein for the convenience of description and will be described in detail in the following.
The selection mode activating unit 52 is configured to activate the selection mode of the touchscreen when the first operation is a first preset operation for activating a selection mode.
The selection mode means that, in this mode, after the terminal receives an operation of a user on the touchscreen, the terminal performs a batch operation on displayed entries along a track of the operation without sliding content currently displayed by the touchscreen.
The first preset operation, that is, an operation for activating the selection mode, may be selected by using a function menu or activated by using a specific key. The key may be a virtual key or a physical key. In a case of using a function menu, the touchscreen may be long-touched under a certain operation interface to activate the selection mode, or the function menu is opened by using a menu key to enter the selection mode. The embodiment of the present disclosure does not set any limitation thereon. In addition, when the selection mode is activated, the user may be prompted that the selection mode has been activated by using such manners as changing a font or a display ground color or using a floating font.
The second operation receiving unit 53 is configured to receive a second operation of the user and, when a track of the second operation is a sliding track, carry out a second preset operation on entries along the track of the second operation. Optionally, the second operation may be a tap-selection operation and may also be a sliding operation. For a sliding operation, the sliding track may be continuous or discontinuous, and may be a track of any shape. The second preset operation is a selection operation or a deselection operation carried out on the entries.
Optionally, the second operation receiving unit may include a selection subunit configured to carry out a selection operation on the entry when an entry along the track of the second operation is an unselected entry. The second operation receiving unit may also include a deselection subunit configured to carry out a deselection operation on the entry when an entry along the track of the second operation is a selected entry.
In addition, optionally, when multiple entries along the track of the second operation include both selected entries and unselected entries, the second operation receiving unit may include a first action subunit configured to execute any one operation of a selection operation or a deselection operation uniformly on the multiple entries along the track of the second operation when multiple entries along the track of the second operation include both selected entries and unselected entries.
Alternatively, the second operation receiving unit may include a detecting subunit, configured to detect a quantity of selected entries and a quantity of unselected entries in the multiple entries along the track of the second operation when multiple entries along the track of the second operation include the selected entries and the unselected entries. The second operation receiving unit may also include a second action subunit configured to execute a deselection operation on the multiple entries along the track of the second operation when the quantity of selected entries in the multiple entries along the track of the second operation is not less than the quantity of unselected entries. The second operation receiving unit may also include a third action subunit configured to execute a selection operation on the multiple entries along the track of the second operation when the quantity of selected entries in the multiple entries along the track of the second operation is less than the quantity of unselected entries.
Optionally, as shown in
In a practical scenario, because of different models of terminals, the screen display may be in a left-right direction, or may also be in an up-down direction. With respect to different cases, when the track of the touch operation reaches an edge of the operation region, a page swiping operation needs to be carried out, and previously selected content or deselected content needs to be stored.
Furthermore, optionally, the terminal may further include a third operation receiving unit 56 configured to receive a third operation of the user and a selection mode disabling unit 57 configured to disable the selection mode of the touchscreen when the third operation is a third preset operation for disabling the selection mode.
The third preset operation is preset and used to disable the selection mode. The third preset operation may be selected by using a function menu or activated by using a specific key. The key may be a virtual key or a physical key. In a case of using a function menu, the touchscreen may be long-touched to disable the selection mode under a certain operation interface, or the function menu is opened by using a menu key to disable the selection mode. The embodiment of the present disclosure does not set any limitation thereon.
Optionally, the third preset operation may also be used to directly trigger an application when the selection mode is disabled. For example, after the user selects contacts on an information sending interface, a “send” application may be directly triggered by using a menu. After the user triggers the application, the terminal disables the selection mode and sends current information. The embodiment of the present disclosure does not set any limitation thereon.
The terminal in the embodiment of the present disclosure may be an electronic device with a touchscreen, such as a mobile phone, an intelligent mobile terminal and a navigator.
According to the terminal provided by the embodiment of the present disclosure, a selection mode of a touchscreen is activated according to an operation of a user. Under the selection mode, the user carries out a preset operation in batch on entries that need to be selected, thereby avoiding a one-by-one operation by the user on the displayed entries, implementing a free selection of and a batch operation on multiple entries of the displayed entries, and reducing operation time consumption of the user. Meanwhile, according to an optional solution provided by Embodiment 2 of the present disclosure, it may also be implemented that, when a sliding operation of a user reaches an edge of a selection region, under a condition that an already performed operation is stored, displayed content can be swiped over, thereby better facilitating practical applications.
The embodiments of the present disclosure are described by using a contact list as an example, but a practical scenario is not limited thereto and there may also be other cases such as an audio list, a short message list, and a picture list. In addition, the terminal in the embodiments of the present disclosure may be an electronic device with a touchscreen, such as a mobile phone, an intelligent mobile terminal and a navigator.
In addition, it should be noted that, as described in Embodiment 1 of the present disclosure, the technical solution described in the present disclosure may be applied not only to a touchscreen, but also to other fields, such as a somatosensory operation.
When the technical solution described in the embodiments of the present disclosure is applied to the field of somatosensory operations, as shown in
701: When content currently displayed by a screen is displayed entries, receive a first operation of a user. The displayed entries correspond to data items stored in a terminal.
702: When the first operation is a first preset operation for activating a selection mode, activate the selection mode.
703: Receive a second operation of the user and carry out a second preset operation on entries along a track of the second operation. The operation of the user may be collected by using a sensor, such as a gravity sensor, an acceleration sensor, a proximity sensor, a pressure sensor and a gyroscope. The second preset operation may be a selection/deselection operation carried out on the displayed entries.
When the technical solution described in the embodiment of the present disclosure is applied to the field of somatosensory operations, as shown in
A person of ordinary skill in the art may understand that all or a part of the steps of the method embodiments may be implemented by hardware or hardware related to a program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program runs, the steps of the method embodiments are performed. The foregoing storage medium includes any medium that can store program code, such as a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disc, or the like.
The foregoing descriptions are merely specific embodiments of the present disclosure, but are not intended to limit the protection scope of the present disclosure. Any variation or replacement readily figured out by persons skilled in the art within the technical scope disclosed in the present disclosure shall fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
201210056739.5 | Mar 2012 | CN | national |
This application is a continuation of U.S. patent application Ser. No. 14/477,117, filed on Sep. 4, 2014, which is a continuation of International Application No. PCT/CN2013/072209, filed on Mar. 6, 2013. The International Application claims priority to Chinese Patent Application No. 201210056739.5, filed on Mar. 6, 2012. All of the afore-mentioned patent applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 14477117 | Sep 2014 | US |
Child | 15820888 | US | |
Parent | PCT/CN2013/072209 | Mar 2013 | US |
Child | 14477117 | US |