Disclosure of Invention
In view of this, the main objective of the present invention is to provide a touch screen device and a method for selecting a target object thereof, so that a user can select multiple target objects without complicated operations when operating the touch screen device, thereby saving operation time and improving user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for selecting a target object by touch screen equipment, which comprises the following steps:
when a user performs sliding operation on a target object selection interface of a touch screen device to select a target object, displaying a slidable operation area of the target object on the target object selection interface;
detecting whether the current sliding operation track is located in a slidable operation area corresponding to a target object, if so, displaying a selected mark in the slidable operation area corresponding to the target object, and continuously detecting whether the current sliding operation track is located in a slidable operation area corresponding to another target object until the sliding operation is stopped; otherwise, continuously detecting whether the current sliding operation track is located in a slidable operation area corresponding to a target object or not until the sliding operation is stopped.
Further, the slidable operation area corresponding to the target object uniquely corresponds to the target object on a target object selection interface of the touch screen device.
Further, the target object selection interface includes: a resource management program file selection interface, a multimedia program playing file selection interface and a main menu interface.
Further, the sliding operation trajectory includes: straight lines and curved lines.
Further, the target object selection interface layout comprises: a grid layout, a list layout, and a honeycomb layout.
The invention also provides touch screen equipment, which comprises a display unit and a detection unit; wherein,
the display unit is used for displaying a slidable operation area of a target object on a target object selection interface when a user performs sliding operation on the target object selection interface of the touch screen device to select the target object; when the detection unit detects that the current sliding operation track is located in a slidable operation area corresponding to a target object, displaying a selected mark in the slidable operation area corresponding to the target object;
the detection unit is used for detecting whether the current sliding operation track is located in a slidable operation area corresponding to one target object or another target object until the sliding operation is stopped.
Further, the slidable operation area corresponding to the target object uniquely corresponds to the target object on a target object selection interface of the touch screen device.
Further, the target object selection interface includes: a resource management program file selection interface, a multimedia program playing file selection interface and a main menu interface.
Further, the sliding operation trajectory includes: straight lines and curved lines.
Further, the target object selection interface layout comprises: a grid layout, a list layout, and a honeycomb layout.
According to the touch screen device and the method for selecting the target object, provided by the invention, when the sliding operation track of the user is located in the slidable operation area corresponding to the target object, the selection mark is displayed in the slidable operation area corresponding to the target object so as to mark that the target object is in the selected state, and the subsequent operation is convenient to perform. Therefore, a plurality of target objects can be selected simply and conveniently without repeated clicking operation, so that the operation time can be saved, and the user experience is improved.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of the implementation of the method of the present invention, as shown in fig. 1, including:
step 101: the method comprises the steps that a user performs sliding operation on a target object selection interface of the touch screen device to select a target object, and a slidable operation area corresponding to the target object is displayed on the target object selection interface;
here, the trajectory of the sliding operation is not limited to a straight line, and may be a curved line.
Here, the target object selection interface includes: a resource management program file selection interface, a multimedia program playing file selection interface and a main menu interface.
Here, the target object selection interface layout includes: a grid layout, a list layout, and a honeycomb layout.
Here, the slidable operation area corresponding to the target object uniquely corresponds to the target object on the target object selection interface of the touch screen device, and specifically includes:
in the target object selection interfaces with various layouts, icons corresponding to target objects and blank areas around the icons are used as slidable operation areas of the target objects, and the blank areas around the icons corresponding to the target objects are not overlapped with each other, so that a one-to-one mapping relation between the slidable operation areas and the target objects is formed.
Step 102-103: detecting whether the current sliding operation track is located in a slidable operation area corresponding to a target object, if so, displaying a selection mark in the slidable operation area corresponding to the target object, and returning to thestep 101 until the sliding operation is stopped; otherwise, continuously detecting whether the current sliding operation track is located in a slidable operation area corresponding to a target object or not until the sliding operation is stopped.
Example one
Fig. 2a to 2c are schematic operation flow diagrams of an embodiment of selecting a target object on a touch screen device according to the present invention.
As shown in fig. 2a, the user selects an operation to be performed on a target object selection interface of a touch screen device, where the operation includes: edit, copy, and delete. In this implementation, the target object interface is in a list layout;
when the user determines to operate the target object, the user enters a target object selection interface, and a slidable operation area of the target object is displayed on the target object selection interface, as shown in fig. 2b, the slidable operation area of the target object selection area is displayed in a reverse color, and a prompt is given to perform sliding operation at the slidable operation area so as to select the corresponding target object;
as shown in fig. 2C, a user performs a sliding operation in an operable sliding area corresponding to target objects B1, B2, C1, and C2, the touch screen device identifies a sliding track of the user, and sequentially identifies that the sliding track of the user is located in slidable operating areas of target objects B1, B2, C1, and C2, and then a selection mark is displayed in the slidable operating areas of target objects B1, B2, C1, and C2 to mark that the target objects are in a selected state, where the sliding track of the user is shown by a solid line in fig. 2C, and in this embodiment, the selection mark of the target object is shown by a pair of hooks, as shown in fig. 2C;
it should be noted that the sliding operation trajectory is not limited to a straight line, and a curved sliding trajectory located in the operable sliding region corresponding to the target objects B1, B2, C1 and C2 may also select the target objects.
Through the above operations, the target objects B1, B2, C1, C2 are selected, and operations may be subsequently performed on the target objects.
Example two
Fig. 3a to 3d are schematic operation flow diagrams of another embodiment of selecting a target object on a touch screen device according to the present invention.
As shown in fig. 3a, the user selects an operation to be performed on a target object selection interface of a touch screen device, where the operation includes: edit, copy, and delete. In this implementation, the target object interface is in a grid layout;
when the user determines to operate the target object, the user enters a target object selection interface, and a slidable operation area of the target object is displayed on the target object selection interface, as shown in fig. 3b, the slidable operation area of the target object selection area is displayed in a reverse color, and a prompt is given to perform sliding operation at the slidable operation area so as to select the corresponding target object;
as shown in fig. 3C, a user performs a sliding operation in an operable sliding area corresponding to target objects B1, C2, C1, B2, and the touch screen device recognizes a sliding trajectory of the user and sequentially recognizes that the sliding trajectory of the user is located in slidable operation areas of target objects B1, C2, C1, B2, and then displays a selection mark in the slidable operation areas of target objects B1, C2, C1, B2 to mark that the target objects are in a selected state, where the sliding operation trajectory of the user is shown by a solid line in fig. 3C, and in this embodiment, the selection mark of the target object is shown by a pair of hooks, as shown in fig. 3C;
as shown in fig. 3D, the user continues to perform a sliding operation in the operable sliding areas corresponding to the target objects D4, D3, D2, the touch screen device recognizes a sliding track of the user, and sequentially recognizes that the sliding track of the user is located in the slidable operation areas of the target objects D4, D3, D2, and then displays a selection mark in the slidable operation areas of the target objects D4, D3, D2 to mark that the target objects are in a selected state, wherein the sliding operation track of the user is shown by a solid arrow in fig. 3D;
through the above operations, the target objects B1, B2, C1, C2 and the target objects D4, D3, D2 are selected, and operations may be subsequently performed on the target objects.
EXAMPLE III
Fig. 4 is a schematic diagram of a composition structure of a touch screen device according to the present invention, as shown in fig. 4, the touch screen device includes; adisplay unit 41 and adetection unit 42; wherein,
thedisplay unit 41 is configured to, when a user performs a sliding operation on a target object selection interface of the touch screen device to select a target object, display a slidable operation area of the target object on the target object selection interface; when thedetection unit 42 detects that the current sliding operation track is located in the slidable operation area corresponding to a target object, displaying a selected mark in the slidable operation area corresponding to the target object;
the detectingunit 42 is configured to detect whether the current sliding operation trajectory is located in a slidable operation area corresponding to a target object or another target object until the sliding operation is stopped.
Further, the slidable operation area corresponding to the target object uniquely corresponds to the target object on a target object selection interface of the touch screen device.
Further, the target object selection interface includes: a resource management program file selection interface, a multimedia program playing file selection interface and a main menu interface.
Further, the sliding operation trajectory includes: straight lines and curved lines.
Further, the target object selection interface layout comprises: a grid layout, a list layout, and a honeycomb layout.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.