Mobile terminal operation method and system based on multi-point touch
Technical Field
The present invention relates to a multi-touch technology, and more particularly, to a method and system for operating a mobile terminal based on multi-touch.
Background
Many list interfaces exist for each application in a user's handset, such as a phonebook, email, information, etc. When a user enters a list interface, when the user wants to process a plurality of items in the list, the process is generally performed by marking a plurality of items, and other methods which are rapid and effective are not available.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a mobile terminal operation method and system based on multi-point touch control.
In order to achieve the above object, the present invention adopts a technical solution that a mobile terminal operation method based on multi-touch comprises the following steps:
step 1, detecting whether a plurality of touch points exist on a touch screen in real time, if so, executing the next step, otherwise, continuing to detect in real time until the plurality of touch points are detected, and then entering the next step;
and 2, detecting the touch action change of the plurality of touch points in real time, and carrying out corresponding operation on the mobile terminal according to the touch action change.
Furthermore, the number of the touch points in the step 1 is 2-4.
And 2, changing the touch action into that a plurality of touch points are close to the middle or touch points are pressed for a long time.
The step 2 specifically comprises the following steps:
step 2011, detecting touch action changes of a plurality of touch points in real time;
step 2012, when the positions of the multiple touch points are close to the middle, the approaching distances of the multiple touch points are obtained in real time;
and 2013, when the distance between the multiple touch points is smaller than the preset threshold value, and the distance threshold value is preset by the user, judging that the user has an operation requirement, and displaying an operation list for the user to select.
Step 2 or another implementation method specifically comprises the following steps:
step 2021, detecting the touch action change of a plurality of touch points in real time;
step 2022, acquiring the long press time, and executing the next step when the long press touch point exceeds a preset time threshold value, wherein the time threshold value is preset by a user;
step 2023, judging that the user has an operation requirement, and displaying an operation list for the user to select.
A multi-touch based mobile terminal operating system, comprising:
the first detection module is used for detecting whether a plurality of touch points exist on the touch screen in real time;
and the second detection module is used for detecting the touch action change of the touch points in real time and carrying out corresponding operation on the mobile terminal according to the touch action change.
The second detection module comprises:
the touch point change detection module is used for detecting the touch action change of a plurality of touch points in real time;
the distance acquisition module is used for acquiring the approaching distance of the touch points in real time when the positions of the touch points approach to the middle;
and the judging module is used for judging that the user has an operation requirement and an operation list appears for the user to select when the distance between the touch points is smaller than a preset threshold value.
The second detection module further comprises a distance threshold setting module for setting a distance threshold between the plurality of touch points.
Or, the second detection module comprises:
the touch point change detection module is used for detecting the touch action change of a plurality of touch points in real time;
the long press time acquisition module is used for acquiring long press time, and when the long press touch point exceeds a preset time threshold value, the time threshold value is preset by a user;
and the judging module is used for judging that the user has an operation requirement and an operation list appears for the user to select.
The second detection module further comprises a time threshold setting module for setting a time threshold for pressing a plurality of touch points for a long time.
Compared with the prior art, the invention has the beneficial effects that: the operation required by the user is called out through multi-point touch, and the method is simple, convenient and direct and provides good experience for the user.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a flow chart of example 1 of the present invention;
FIG. 3 is a flow chart of embodiment 2 of the present invention.
Detailed Description
The following detailed description is provided in conjunction with the embodiments and with reference to the accompanying drawings in order to provide a further explanation of the technical features and advantages of the present invention.
Example 1
The method flow chart of the invention is shown in fig. 1, and the mobile terminal operation method based on multi-point touch comprises the following steps:
step 1, detecting whether a plurality of touch points exist on a touch screen in real time, if so, executing the next step, otherwise, continuing to detect in real time until the plurality of touch points are detected, and then entering the next step;
and 2, detecting the touch action change of the plurality of touch points in real time, and carrying out corresponding operation on the mobile terminal according to the touch action change.
Further, the number of the touch points in the step 1 is 2-4, the touch points can be set by a user, for example, two touch points are set according to the convenient setting of the gesture of the user, the user can operate with two fingers and three touch points are set, the user can operate with three fingers and four touch points are set, and the user can operate with four fingers.
And 2, changing the touch action into a way that a plurality of touch points are close to the middle.
As shown in fig. 2, step 2 specifically includes:
step 2011, detecting touch action changes of a plurality of touch points in real time;
step 2012, when the positions of the multiple touch points are close to the middle, obtaining the close distance of the multiple touch points in real time, for example, when two touch points are set, two fingers are close or pinched together;
and 2013, when the distance between the multiple touch points is smaller than the preset threshold value, and the distance threshold value is preset by the user, judging that the user has an operation requirement, and displaying an operation list for the user to select.
A multi-touch based mobile terminal operating system, comprising:
the first detection module is used for detecting whether a plurality of touch points exist on the touch screen in real time;
and the second detection module is used for detecting the touch action change of the touch points in real time and carrying out corresponding operation (such as popping up in a phone book, sending information, deleting, joining a group and the like) on the mobile terminal according to the touch action change.
The second detection module comprises:
the touch point change detection module is used for detecting the touch action change of a plurality of touch points in real time;
the distance acquisition module is used for acquiring the approaching distance of the touch points in real time when the positions of the touch points approach to the middle;
and the judging module is used for judging that the user has an operation requirement and an operation list appears for the user to select when the distance between the touch points is smaller than a preset threshold value.
The second detection module further comprises a distance threshold setting module for setting a distance threshold between the plurality of touch points.
Example 2
The method flow chart of the invention is shown in fig. 1, and the mobile terminal operation method based on multi-point touch comprises the following steps:
step 1, detecting whether a plurality of touch points exist on a touch screen in real time, if so, executing the next step, otherwise, continuing to detect in real time until the plurality of touch points are detected, and then entering the next step;
and 2, detecting the touch action change of the plurality of touch points in real time, and carrying out corresponding operation on the mobile terminal according to the touch action change.
Furthermore, the number of the touch points in the step 1 is 2-4.
And 2, changing the touch action into long-time pressing of the touch point.
The step 2 specifically comprises the following steps:
step 2021, detecting the touch action change of a plurality of touch points in real time;
step 2022, acquiring the long press time, and executing the next step when the long press touch point exceeds a preset time threshold, wherein the time threshold is preset by a user, for example, the long press time exceeds 2 seconds;
step 2023, judging that the user has an operation requirement, and an operation list appears for the user to select (such as popping up in a phone book, sending information, deleting, joining a group, and the like).
The second detection module comprises:
the touch point change detection module is used for detecting the touch action change of a plurality of touch points in real time;
the long press time acquisition module is used for acquiring long press time, and when the long press touch point exceeds a preset time threshold value, the time threshold value is preset by a user;
and the judging module is used for judging that the user has an operation requirement and an operation list appears for the user to select.
The second detection module further comprises a time threshold setting module for setting a time threshold for pressing a plurality of touch points for a long time.
Combining the above two methods, nowadays, many list interfaces exist for each application in a mobile terminal, such as a mobile phone, such as a phone book, email, information, and so on. When a user enters a list interface, when the user wants to process a plurality of items in the list, the marking is generally carried out in a plurality of ways, and no other effective and quick method is available. The invention adopts a mode of selecting a plurality of items in batches: firstly, a mobile phone supports multi-point touch, multi-point touch judgment needs to be added into related touch monitoring events of a list class to enable the mobile phone to support multi-point touch response, then specific items selected from the list are obtained from obtained multi-point coordinates, then related processing is carried out, when a user enters a list interface, two fingers simultaneously press on a screen, one finger presses a first item to be selected, and the other finger presses a last item to be selected; if the user wants to delete the entries, the user can directly slide two fingers on the screen to pinch the two fingers together, and then the entries are completely deleted (the effect is just like the effect of reducing the browsed pictures to the minimum), and if the user wants to perform other operations (such as mass texting of a phone book, adding in collection, and the like), the user can press a pop-up option menu for a long time to perform the operation. Such an operation will give the user a very convenient and especially harsh feeling, giving the user a good experience.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and is not intended to limit the invention to the particular forms set forth herein. For the person skilled in the art, several simple deductions or substitutions can be made without departing from the inventive concept, which should be considered as being within the scope of protection determined by the claims filed with the invention.